/* =====================================================
   WECHSTAGREA LTD — Company Website Styles
   ===================================================== */

:root {
  --navy: #0f2440;
  --navy-2: #16304f;
  --navy-3: #1d3d63;
  --gold: #e8a33d;
  --gold-2: #d18a1f;
  --text: #33465c;
  --text-muted: #6b7c92;
  --light: #f5f7fa;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 10px 30px rgba(15, 36, 64, 0.10);
  --shadow-lg: 0 20px 50px rgba(15, 36, 64, 0.16);
  --radius: 12px;
  --container: 1180px;
  --font-head: "Sora", "Inter", -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
  --font-body: "Inter", -apple-system, system-ui, Segoe UI, Roboto, Arial, sans-serif;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Top Bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.86rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 22px; flex-wrap: wrap; }
.topbar a { transition: color 0.25s ease; }
.topbar a:hover { color: var(--gold); }
.topbar-right { letter-spacing: 0.02em; padding: 2px 10px; border: 1px solid rgba(232, 163, 61, 0.5); border-radius: 20px; color: var(--gold); font-weight: 500; }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 76px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--navy), var(--navy-3));
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: 1.12rem; letter-spacing: 0.03em; }
.brand-sub { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.06em; text-transform: uppercase; }

.nav-list { display: flex; gap: 6px; }
.nav-link {
  display: block;
  padding: 8px 14px;
  font-weight: 500;
  color: var(--text);
  border-radius: 8px;
  transition: color 0.25s ease, background 0.25s ease;
}
.nav-link:hover, .nav-link.active { color: var(--navy); background: var(--light); }

.header-actions { display: flex; align-items: center; gap: 14px; }

.nav-toggle { display: none; background: none; border: none; width: 36px; height: 36px; position: relative; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--navy); border-radius: 2px; margin: 5px auto; transition: transform 0.3s ease, opacity 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  padding: 13px 28px;
  border-radius: 8px;
  border: 2px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-solid { background: var(--gold); color: var(--navy); box-shadow: 0 8px 20px rgba(232, 163, 61, 0.35); }
.btn-solid:hover { background: var(--gold-2); box-shadow: 0 10px 26px rgba(232, 163, 61, 0.5); }
.btn-outline { border-color: rgba(255, 255, 255, 0.9); color: var(--white); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }
.btn-sm { padding: 9px 20px; font-size: 0.88rem; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  background: rgba(232, 163, 61, 0.55);
  border-radius: 50%;
  filter: blur(80px);
}
.hero::before { width: 420px; height: 420px; top: -120px; right: -120px; }
.hero::after { width: 340px; height: 340px; bottom: -110px; left: -90px; background: rgba(29, 61, 99, 0.7); }

/* Slideshow backgrounds */
.hero-slides { position: absolute; inset: 0; z-index: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s ease, transform 7s ease;
}
.hero-slide.active { opacity: 1; animation: heroZoom 8s ease-out forwards; }
@keyframes heroZoom {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(105deg, rgba(9, 22, 41, 0.88) 30%, rgba(9, 22, 41, 0.55)),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 18px, transparent 18px 36px);
}

.hero-inner { position: relative; z-index: 2; padding: 80px 24px; max-width: var(--container); margin: 0 auto; width: 100%; }

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.hero-tag span {
  display: inline-block;
  background: rgba(232, 163, 61, 0.16);
  border: 1px solid rgba(240, 178, 83, 0.6);
  color: var(--gold);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 30px;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.hero-tag span.switching { opacity: 0; transform: translateY(-6px); }

/* Slideshow indicators */
.hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 32px;
  z-index: 3;
  display: flex;
  gap: 10px;
  justify-content: center;
}
.dot {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  transition: background 0.3s ease, transform 0.3s ease;
}
.dot:hover { transform: scale(1.25); }
.dot.active { background: var(--gold); border-color: var(--gold); }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 16px;
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}
.eyebrow.dark { color: var(--gold-2); border-left-color: var(--gold-2); }

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.3rem, 5.2vw, 4rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--white);
  max-width: 760px;
  margin-bottom: 20px;
}
.hero-title span { color: var(--gold); }

.hero-sub {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
  max-width: 640px;
  margin-bottom: 34px;
}

.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  padding-top: 28px;
}
.stat { display: flex; flex-direction: column; }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: 2.2rem; color: var(--gold); }
.stat-label { color: rgba(255, 255, 255, 0.85); font-size: 0.9rem; letter-spacing: 0.03em; }

/* ---------- Sections ---------- */
.section { padding: 90px 0; }
.section-alt { background: var(--light); }

.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .eyebrow { border-left: none; border-bottom: 3px solid var(--gold-2); padding-left: 0; padding-bottom: 8px; }
.section-head p:not(.eyebrow) { color: var(--text-muted); margin-top: 6px; }

.section-title { font-family: var(--font-head); font-weight: 800; color: var(--navy); font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.2; margin-bottom: 14px; }
.section-title.light { color: var(--white); }

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-imgs { display: grid; gap: 18px; max-width: 520px; }
.about-main {
  width: 100%;
  height: auto;
  min-height: 300px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.cac-card {
  position: static;
  width: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 14px;
}
.cac-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.cac-seal {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: var(--gold);
  color: var(--navy);
  border-radius: 6px;
  font-size: 0.9rem;
  flex: none;
}
.cac-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cac-card img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border);
}
.cac-card figcaption {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}
.about-content p { color: var(--text-muted); margin-bottom: 14px; }
.about-list { margin: 22px 0 30px; display: grid; gap: 12px; }
.about-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 500;
  color: var(--navy);
}
.about-list li::before {
  content: "\2713";
  position: absolute;
  left: 0; top: 2px;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--gold);
  color: var(--navy);
  font-size: 0.75rem;
  border-radius: 50%;
}

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card:hover::after { transform: scaleX(1); }

.card-media { overflow: hidden; height: 180px; flex: none; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.service-card:hover .card-media img { transform: scale(1.08); }

.card-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }

.service-card.accent { background: linear-gradient(150deg, var(--navy), var(--navy-3)); border-color: transparent; }
.service-card.accent h3 { color: var(--white); }
.service-card.accent p { color: rgba(255, 255, 255, 0.85); }

.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.5rem;
  background: rgba(232, 163, 61, 0.14);
  color: var(--gold-2);
  border-radius: 12px;
  margin-bottom: 18px;
}
.service-card.accent .service-icon { background: rgba(255, 255, 255, 0.14); color: var(--gold); }

.service-card h3 { font-family: var(--font-head); font-size: 1.18rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { color: var(--text-muted); font-size: 0.95rem; }

.card-link { display: inline-block; margin-top: 14px; color: var(--gold); font-weight: 600; transition: color 0.2s ease, transform 0.2s ease; }
.card-link:hover { color: var(--gold-2); transform: translateX(4px); }

/* ---------- Why Us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.why-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.why-item:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why-num { font-family: var(--font-head); font-weight: 800; font-size: 2rem; color: var(--border); margin-bottom: 12px; }
.why-item:hover .why-num { color: var(--gold); }
.why-item h3 { font-family: var(--font-head); font-size: 1.1rem; color: var(--navy); margin-bottom: 8px; }
.why-item p { color: var(--text-muted); font-size: 0.94rem; }

/* ---------- Process ---------- */
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.process-step { text-align: center; padding: 20px 12px; }
.process-circle {
  width: 62px; height: 62px;
  margin: 0 auto 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(15, 36, 64, 0.25);
}
.process-step h3 { font-family: var(--font-head); font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.process-step p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.project-card img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.5s ease; }
.project-card:hover img { transform: scale(1.06); }
.project-card figcaption {
  position: absolute;
  inset: auto 0 0 0;
  background: linear-gradient(transparent, rgba(10, 24, 44, 0.92));
  color: var(--white);
  padding: 40px 22px 20px;
}
.project-card h3 { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; }
.project-card p { font-size: 0.88rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- Contact ---------- */
.section-contact {
  background: var(--navy);
  background-image: repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 14px, transparent 14px 28px);
}
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; }
.contact-info p { color: rgba(255, 255, 255, 0.8); }
.contact-blurb { margin: 6px 0 30px; }
.contact-line { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 22px; }
.contact-icon {
  flex: none;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  background: rgba(232, 163, 61, 0.15);
  color: var(--gold);
  border-radius: 10px;
  font-size: 1.1rem;
}
.contact-line h4 { font-family: var(--font-head); font-size: 0.9rem; color: var(--white); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 2px; }
.contact-line a, .contact-line span { color: rgba(255, 255, 255, 0.85); }
.contact-line a:hover { color: var(--gold); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 36px;
}
.form-title { font-family: var(--font-head); color: var(--navy); font-size: 1.3rem; margin-bottom: 22px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--light);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.field textarea { resize: vertical; min-height: 90px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(232, 163, 61, 0.18);
}
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d64545; }
.form-status { margin-top: 14px; font-size: 0.9rem; min-height: 1.2em; }
.form-status.success { color: #1f7a3d; font-weight: 600; }
.form-status.error { color: #c03a3a; font-weight: 600; }

/* ---------- Footer ---------- */
.footer { background: #0a1626; color: rgba(255, 255, 255, 0.75); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding: 70px 24px 40px; }
.brand-footer .brand-mark { box-shadow: none; }
.brand-footer .brand-name { color: var(--white); }
.brand-footer .brand-sub { color: rgba(255, 255, 255, 0.5); }
.footer-about { font-size: 0.92rem; margin-top: 16px; max-width: 300px; color: rgba(255, 255, 255, 0.6); }
.footer-col h4 { font-family: var(--font-head); color: var(--white); font-size: 1rem; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact li { font-size: 0.92rem; }

.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); }
.footer-bottom-inner { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 24px; font-size: 0.85rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- Reveal Animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  .services-grid, .why-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(3, 1fr); grid-row-gap: 30px; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .topbar-right { display: none; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-140%);
    transition: transform 0.3s ease;
    z-index: 99;
  }
  .nav.open { transform: translateY(0); }
  .nav-list { flex-direction: column; padding: 18px 24px; gap: 4px; }
  .nav-link { padding: 12px 14px; font-size: 1.05rem; }
  .nav-toggle { display: block; }
  .header-actions .btn-sm { display: none; }
  .section { padding: 64px 0; }
  .hero { min-height: 80vh; }
  .hero-stats { gap: 24px; }
}

@media (max-width: 560px) {
  .services-grid, .why-grid, .projects-grid, .process-grid, .form-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .contact-form { padding: 26px 20px; }
  .topbar-left { justify-content: center; width: 100%; gap: 14px; }
}