/* ============================================================
   TECHNOCRATS DIGIMATE — Premium Agency Stylesheet
   Aesthetic: Editorial luxury, dark navy + gold
   ============================================================ */

/* ---------- TOKENS ---------- */
:root {
  --navy-900: #07111F;
  --navy-800: #0A1628;
  --navy-700: #0F1F38;
  --navy-600: #14294A;
  --navy-500: #1B3560;
  --gold-500: #D4A553;
  --gold-400: #E8C572;
  --gold-300: #F2D88A;
  --cream:    #F5F0E1;
  --offwhite: #FAF7F0;
  --muted:    #8B97A8;
  --line:     rgba(212, 165, 83, 0.18);
  --line-strong: rgba(212, 165, 83, 0.35);

  --font-display: "Fraunces", "Playfair Display", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 48px);
  --radius: 4px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--navy-800);
  color: var(--cream);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color 0.3s var(--ease); }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }
ul { list-style: none; }

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.1;
  color: var(--offwhite);
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
h1 { font-size: clamp(2.5rem, 6vw, 4.75rem); font-weight: 300; }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); font-weight: 300; }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 400; }
h4 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 500; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold-500);
}

.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--cream);
  max-width: 60ch;
  opacity: 0.85;
}

em.gold, .gold { color: var(--gold-500); font-style: normal; }
em.italic { color: var(--gold-300); font-family: var(--font-display); font-weight: 400; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

section { padding: clamp(80px, 10vw, 140px) 0; position: relative; }

/* ---------- BACKGROUND ATMOSPHERE ---------- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(800px circle at 15% 10%, rgba(212, 165, 83, 0.08), transparent 50%),
    radial-gradient(600px circle at 85% 80%, rgba(20, 41, 74, 0.6), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence baseFrequency='0.9'/><feColorMatrix values='0 0 0 0 0.83  0 0 0 0 0.65  0 0 0 0 0.33  0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  opacity: 0.6;
  mix-blend-mode: overlay;
  z-index: 1;
}
main, header, footer { position: relative; z-index: 2; }

/* ---------- NAVIGATION ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 22px 0;
  background: rgba(10, 22, 40, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  transition: padding 0.4s var(--ease);
}
.nav.scrolled { padding: 14px 0; background: rgba(7, 17, 31, 0.92); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--offwhite);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-mark {
  width: 36px; height: 36px;
  border: 1px solid var(--gold-500);
  display: grid; place-items: center;
  font-size: 0.95rem;
  color: var(--gold-500);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0;
  transition: all 0.4s var(--ease);
}
.logo:hover .logo-mark { background: var(--gold-500); color: var(--navy-900); }
.logo .logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  color: var(--gold-500);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  position: relative;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold-500);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-400); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border: 1px solid var(--gold-500);
  color: var(--gold-500);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.4s var(--ease);
}
.nav-cta:hover { background: var(--gold-500); color: var(--navy-900); }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.nav-toggle span { width: 24px; height: 1px; background: var(--cream); transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); background: var(--gold-500); }
.nav-toggle.open span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); background: var(--gold-500); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    padding: 32px var(--gutter);
    gap: 0;
    border-bottom: 1px solid var(--line);
    transform: translateY(-120%);
    transition: transform 0.4s var(--ease);
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a {
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1rem;
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-cta { display: none; }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.4s var(--ease);
  border: 1px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-primary:hover { background: var(--gold-400); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(212, 165, 83, 0.25); }
.btn-ghost {
  border-color: var(--gold-500);
  color: var(--gold-500);
}
.btn-ghost:hover { background: var(--gold-500); color: var(--navy-900); }
.btn-arrow { transition: transform 0.4s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- HERO ---------- */
.hero {
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(80px, 10vw, 140px);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

.hero h1 {
  margin: 28px 0 32px;
}
.hero h1 .italic {
  font-style: italic;
  color: var(--gold-400);
  font-weight: 300;
}
.hero-actions { display: flex; gap: 16px; margin-top: 40px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}
.hero-stats .stat {
  padding-right: 24px;
  border-right: 1px solid var(--line);
}
.hero-stats .stat:last-child { border-right: none; }
.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 300;
  color: var(--gold-500);
  line-height: 1;
  display: block;
  margin-bottom: 8px;
}
.hero-stats .stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(212, 165, 83, 0.06) 0%, transparent 50%),
    var(--navy-700);
  overflow: hidden;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212, 165, 83, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 165, 83, 0.06) 1px, transparent 1px);
  background-size: 40px 40px;
}
.hero-visual-content {
  position: absolute;
  inset: 0;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero-visual-tag {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--gold-500);
  text-transform: uppercase;
  font-weight: 600;
}
.hero-visual-display {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 300;
  color: var(--offwhite);
  line-height: 1.2;
}
.hero-orbit {
  position: absolute;
  width: 280px; height: 280px;
  border: 1px dashed var(--line-strong);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 60s linear infinite;
}
.hero-orbit::before {
  content: "";
  position: absolute;
  width: 8px; height: 8px;
  background: var(--gold-500);
  border-radius: 50%;
  top: -4px; left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 20px var(--gold-500);
}
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ---------- TRUST BAR ---------- */
.trust-bar {
  padding: 50px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.trust-inner {
  display: flex;
  align-items: center;
  gap: clamp(30px, 6vw, 80px);
  flex-wrap: wrap;
  justify-content: center;
}
.trust-label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.trust-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--cream);
  opacity: 0.6;
  letter-spacing: 0.05em;
  transition: opacity 0.3s;
}
.trust-logo:hover { opacity: 1; }

/* ---------- SECTION HEAD ---------- */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  margin-bottom: 80px;
  align-items: end;
}
@media (max-width: 800px) { .section-head { grid-template-columns: 1fr; gap: 24px; } }
.section-head h2 { margin-top: 24px; }

/* ---------- SERVICES ---------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service {
  background: var(--navy-800);
  padding: 48px 40px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.service:hover { background: var(--navy-700); }
.service-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--gold-500);
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  display: block;
}
.service h3 { margin-bottom: 20px; }
.service p { color: var(--muted); margin-bottom: 28px; }
.service-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.service-list li {
  font-size: 0.92rem;
  padding-left: 24px;
  position: relative;
  color: var(--cream);
}
.service-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold-500);
  font-weight: 700;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  transition: gap 0.3s var(--ease);
}
.service-link:hover { gap: 14px; color: var(--gold-300); }

/* ---------- VERTICAL FEATURE ---------- */
.vertical {
  padding: clamp(80px, 10vw, 140px) 0;
  border-top: 1px solid var(--line);
}
.vertical-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.vertical.reverse .vertical-grid { direction: rtl; }
.vertical.reverse .vertical-grid > * { direction: ltr; }
@media (max-width: 900px) {
  .vertical-grid, .vertical.reverse .vertical-grid { grid-template-columns: 1fr; direction: ltr; }
}
.vertical h2 { margin: 24px 0 24px; }
.vertical-bullets {
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.vertical-bullets li {
  display: flex;
  gap: 16px;
  font-size: 1rem;
  color: var(--cream);
}
.vertical-bullets li::before {
  content: "→";
  color: var(--gold-500);
  font-weight: 700;
  flex-shrink: 0;
}
.vertical-card {
  border: 1px solid var(--line);
  background: var(--navy-700);
  padding: 48px;
  position: relative;
  overflow: hidden;
}
.vertical-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 60px; height: 60px;
  background: var(--gold-500);
  clip-path: polygon(0 0, 100% 0, 0 100%);
}
.vertical-stat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 32px 0;
}
.vertical-stat .num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 300;
  color: var(--gold-500);
  line-height: 1;
  display: block;
}
.vertical-stat .lbl {
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 8px;
}
.vertical-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--offwhite);
  line-height: 1.5;
  padding: 24px 0;
  border-left: 2px solid var(--gold-500);
  padding-left: 20px;
}
.vertical-quote-author {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-500);
  margin-top: 16px;
  display: block;
  font-weight: 600;
}

/* ---------- PROCESS ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
@media (max-width: 900px) { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .process-grid { grid-template-columns: 1fr; } }
.step {
  position: relative;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.step-num {
  position: absolute;
  top: -1px; left: 0;
  width: 40px; height: 1px;
  background: var(--gold-500);
}
.step-num span {
  position: absolute;
  top: -28px; left: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold-500);
  font-weight: 600;
}
.step h4 { margin-bottom: 14px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- CASE STUDIES ---------- */
.case-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.case {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 1fr auto;
  gap: 32px;
  padding: 36px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
  transition: padding 0.4s var(--ease);
}
.case:hover { padding-left: 16px; padding-right: 16px; background: rgba(212, 165, 83, 0.03); }
.case-year { font-family: var(--font-display); color: var(--gold-500); font-size: 1.1rem; }
.case-title { font-family: var(--font-display); font-size: 1.5rem; color: var(--offwhite); font-weight: 400; }
.case-meta { font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--muted); }
.case-result { font-family: var(--font-display); color: var(--gold-400); font-size: 1.15rem; }
.case-arrow {
  width: 40px; height: 40px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--gold-500);
  transition: all 0.4s var(--ease);
}
.case:hover .case-arrow { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }
@media (max-width: 900px) {
  .case { grid-template-columns: 1fr; gap: 12px; }
  .case-arrow { display: none; }
}

/* ---------- TESTIMONIALS ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}
.tcard {
  padding: 40px 36px;
  border: 1px solid var(--line);
  background: var(--navy-700);
  position: relative;
}
.tcard::before {
  content: "\201C";
  position: absolute;
  top: 12px; left: 24px;
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--gold-500);
  opacity: 0.3;
  line-height: 1;
}
.tcard-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.5;
  color: var(--offwhite);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.tcard-author { display: flex; gap: 16px; align-items: center; padding-top: 24px; border-top: 1px solid var(--line); }
.tcard-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--gold-500);
  color: var(--navy-900);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
}
.tcard-name { font-weight: 600; color: var(--offwhite); }
.tcard-role { font-size: 0.82rem; color: var(--muted); }

/* ---------- CTA BAND ---------- */
.cta-band {
  background: linear-gradient(180deg, var(--navy-700) 0%, var(--navy-800) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: clamp(80px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(212, 165, 83, 0.1), transparent 70%);
  transform: translate(40%, -40%);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 800px) { .cta-inner { grid-template-columns: 1fr; gap: 32px; } }
.cta-band h2 { margin: 16px 0 24px; }

/* ---------- CONTACT FORM ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 80px);
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info h2 { margin: 24px 0 24px; }
.contact-channel {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.contact-channel:first-of-type { border-top: 1px solid var(--line); }
.contact-channel-label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-channel-value { font-family: var(--font-display); font-size: 1.15rem; color: var(--offwhite); }
.contact-channel-value:hover { color: var(--gold-400); }

.form {
  background: var(--navy-700);
  border: 1px solid var(--line);
  padding: 48px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } .form { padding: 32px 24px; } }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--line-strong);
  padding: 12px 0;
  color: var(--offwhite);
  font-size: 1rem;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus { border-bottom-color: var(--gold-500); }
.field input::placeholder, .field textarea::placeholder { color: rgba(245, 240, 225, 0.3); }
.field select { cursor: pointer; }
.field select option { background: var(--navy-800); color: var(--offwhite); }
.form-submit { margin-top: 16px; }
.form-status {
  font-size: 0.85rem;
  margin-top: 16px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  display: none;
}
.form-status.success { display: block; border-color: var(--gold-500); color: var(--gold-400); }
.form-status.error { display: block; border-color: #c87171; color: #e89898; }

/* ---------- FAQ ---------- */
.faq {
  border-top: 1px solid var(--line);
}
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 28px 0;
}
.faq summary {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  font-weight: 400;
  color: var(--offwhite);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--gold-500);
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform 0.3s;
  flex-shrink: 0;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p {
  margin-top: 16px;
  color: var(--muted);
  max-width: 75ch;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-900);
  padding: 80px 0 32px;
  border-top: 1px solid var(--line);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand { max-width: 320px; }
.footer-brand p { color: var(--muted); margin-top: 24px; font-size: 0.92rem; }
.footer h5 {
  font-family: var(--font-body);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 600;
  margin-bottom: 24px;
}
.footer ul { display: flex; flex-direction: column; gap: 12px; }
.footer ul a { color: var(--cream); font-size: 0.9rem; }
.footer ul a:hover { color: var(--gold-400); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 36px; height: 36px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--gold-500);
  transition: all 0.3s;
}
.footer-social a:hover { background: var(--gold-500); color: var(--navy-900); border-color: var(--gold-500); }

/* ---------- WHATSAPP STICKY ---------- */
.wa-sticky {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 90;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease);
  animation: wa-pulse 2.4s infinite;
}
.wa-sticky:hover { transform: scale(1.1); }
.wa-sticky svg { width: 30px; height: 30px; fill: white; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ---------- PAGE HERO (sub pages) ---------- */
.page-hero {
  padding: clamp(140px, 20vh, 200px) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--gold-400); }
.breadcrumb span { color: var(--gold-500); margin: 0 8px; }
.page-hero h1 { max-width: 18ch; margin-bottom: 24px; }

/* ---------- ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }

/* ---------- UTILITIES ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.divider {
  height: 1px;
  background: var(--line);
  margin: clamp(80px, 10vw, 120px) 0;
}

/* ---------- ACCESSIBILITY ---------- */
*:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .hero-orbit { animation: none; }
}
