/* =============================================================
   ACC — Alvarado Consulting Corp.
   1. Tokens   2. Reset/base   3. Utilities   4. Typography
   5. Components   6. Sections   7. Effects   8. Responsive
   9. Reduced-motion
   ============================================================= */

/* =============================================================
   1. TOKENS
   ============================================================= */
:root {
  --cream:      #F6F2EA;
  --cream-2:    #EEE8DA;
  --paper:      #FFFFFF;
  --ink:        #141C26;
  --ink-2:      #263344;
  --navy:       #122033;
  --navy-2:     #0C1A2B;
  --mute:       #59616C;
  --mute-dark:  #9AA6B4;
  --gold:       #C6A052;
  --gold-2:     #AD8636;
  --gold-soft:  rgba(198, 160, 82, 0.14);
  --line:       rgba(20, 28, 38, 0.12);
  --line-2:     rgba(20, 28, 38, 0.07);
  --line-gold:  rgba(198, 160, 82, 0.5);
  --line-dark:  rgba(246, 242, 234, 0.15);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --brand-font: "Montserrat", "Arial Black", Arial, sans-serif;

  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft:  cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container: 1180px;
  --pad: clamp(1.15rem, 5vw, 2.5rem);
  --nav-h: 76px;
}

/* =============================================================
   2. RESET & BASE
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 2;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 4px);
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  overscroll-behavior-y: none;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.08; font-weight: 600; }
::selection { background: var(--gold); color: var(--navy); }

:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 3px;
  border-radius: 3px;
}

/* =============================================================
   3. UTILITIES
   ============================================================= */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad);
}
.visually-hidden, .sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .7rem 1.1rem; background: var(--navy); color: var(--cream);
  border-radius: 8px; font-weight: 600; font-size: .9rem;
}
.skip-link:focus { top: 1rem; }

/* ---- Splash / loading screen ---- */
.splash {
  position: fixed; inset: 0; z-index: 10000;
  display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #17293e 0%, #0b1626 68%);
  opacity: 1; visibility: visible;
  transition: opacity .7s var(--ease-out), visibility 0s linear .7s;
  /* Safety net: hide automatically even if JS never runs */
  animation: splashSafety .01s linear 6.5s forwards;
}
.splash.is-hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .7s var(--ease-out), visibility 0s linear .7s;
}
@keyframes splashSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.splash-inner { display: grid; justify-items: center; gap: 1.5rem; }
.splash-coin {
  width: clamp(210px, 44vw, 296px); height: auto;
  filter: drop-shadow(0 18px 48px rgba(198, 160, 82, .4));
  animation: coinPulse 1.9s ease-in-out infinite;
}
@keyframes coinPulse {
  0%, 100% { transform: scale(1) rotate(-2.5deg); }
  50%      { transform: scale(1.06) rotate(2.5deg); }
}
.splash-bar {
  width: 132px; height: 2px; border-radius: 2px;
  background: rgba(198, 160, 82, .18); overflow: hidden;
}
.splash-bar > span {
  display: block; height: 100%; width: 42%;
  background: var(--gold);
  animation: splashBar 1.15s ease-in-out infinite;
}
@keyframes splashBar {
  0%   { transform: translateX(-115%); }
  100% { transform: translateX(305%); }
}
@media (prefers-reduced-motion: reduce) {
  .splash-coin { animation: none; }
}

/* ---- WhatsApp chooser modal ---- */
.wa-modal {
  position: fixed; inset: 0; z-index: 10001;
  display: grid; place-items: center;
  padding: 1.4rem;
  background: rgba(11, 22, 38, 0.74);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0; visibility: hidden;
  transition: opacity .3s var(--ease-out), visibility 0s linear .3s;
}
.wa-modal[aria-hidden="false"] {
  opacity: 1; visibility: visible;
  transition: opacity .3s var(--ease-out);
}
.wa-modal-box {
  position: relative;
  width: 100%; max-width: 420px;
  background: var(--paper); color: var(--ink);
  border-radius: 4px;
  padding: 2rem 1.6rem 1.6rem;
  box-shadow: 0 30px 70px -18px rgba(0, 0, 0, .55);
  transform: translateY(14px);
  transition: transform .3s var(--ease-out);
}
.wa-modal[aria-hidden="false"] .wa-modal-box { transform: none; }
.wa-modal-close {
  position: absolute; top: .5rem; right: .75rem;
  width: 2rem; height: 2rem; font-size: 1.5rem; line-height: 1;
  color: var(--mute);
}
.wa-modal-close:hover { color: var(--ink); }
.wa-modal-title { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; }
.wa-modal-sub { font-size: .85rem; color: var(--mute); margin-bottom: 1.3rem; }
.wa-modal-list { display: grid; gap: .7rem; }
.wa-contact {
  display: flex; align-items: center; gap: .9rem;
  padding: .9rem 1rem;
  border: 1px solid var(--line); border-radius: 3px;
  transition: border-color .25s, background-color .25s, transform .25s var(--ease-out);
}
.wa-contact:hover {
  border-color: #1f7a4d;
  background: rgba(31, 122, 77, .07);
  transform: translateY(-2px);
}
.wa-contact-icon {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: #1f7a4d; color: #fff;
  display: grid; place-items: center;
}
.wa-contact-icon svg { width: 21px; height: 21px; }
.wa-contact-body { display: grid; gap: .12rem; }
.wa-contact-name { font-weight: 600; font-size: .92rem; letter-spacing: -0.005em; }
.wa-contact-role { font-size: .76rem; color: var(--mute); }
.wa-contact-phone { font-size: .82rem; color: #1c6b43; font-weight: 600; letter-spacing: .02em; }

/* =============================================================
   4. TYPOGRAPHY
   ============================================================= */
.kicker {
  font-family: var(--sans);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--mute);
  display: flex; align-items: center; gap: .8rem;
  margin-bottom: 1rem;
}
.kicker::before {
  content: ""; width: 30px; height: 1px; background: var(--gold);
  flex: none;
}
.kicker-gold { color: var(--gold-2); }
.section-head-light .kicker { color: var(--gold); }

/* Kicker enlarged (2×) — used on the hero brand line and the "¿Qué es ACC?" label */
.kicker-xl {
  font-size: 1.48rem;
  letter-spacing: .12em;
  line-height: 1.25;
  gap: 1rem;
  margin-bottom: 1.15rem;
}
.kicker-xl::before { width: 46px; }
@media (max-width: 539px) {
  .kicker-xl { font-size: 1.15rem; letter-spacing: .1em; }
}

h1, .h1 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(2.35rem, 5.4vw, 4.15rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
}
h2, .h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(1.85rem, 3.6vw, 2.9rem);
  line-height: 1.12;
  letter-spacing: -0.005em;
}
h3 {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1.075rem;
  letter-spacing: -0.01em;
}
em { font-style: italic; color: var(--gold-2); }
.section-navy em, .cta-band em, .section-head-light em { color: var(--gold); }

.section-lead {
  font-size: 1.075rem;
  color: var(--mute);
  max-width: 56ch;
  margin-top: .8rem;
}
.section-navy .section-lead,
.section-head-light .section-lead { margin-top: .8rem; color: var(--mute-dark); }

/* =============================================================
   5. COMPONENTS
   ============================================================= */

/* ---- Buttons ---- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--cream);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.7rem;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  border-radius: 2px;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease-soft), box-shadow .4s var(--ease-soft), background-color .3s;
  box-shadow: 0 2px 10px rgba(18, 32, 51, 0.10);
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: var(--gold);
  transform: translateY(101%);
  transition: transform .45s var(--ease-out);
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(18, 32, 51, 0.20); }
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: var(--navy); }
.btn:active { transform: translateY(-1px); transition-duration: .12s; }

.btn-primary { --btn-bg: var(--navy); --btn-fg: var(--cream); }
.btn-dark { --btn-bg: var(--ink); --btn-fg: var(--cream); }

/* Primary button on dark surfaces → gold for contrast */
.hero .btn-primary,
.section-navy .btn-primary,
.cta-band .btn-primary,
.mobile-menu .btn-primary {
  --btn-bg: var(--gold);
  --btn-fg: var(--navy);
  box-shadow: 0 2px 16px rgba(198, 160, 82, 0.28);
}
.hero .btn-primary::after,
.section-navy .btn-primary::after,
.cta-band .btn-primary::after,
.mobile-menu .btn-primary::after { background: var(--cream); }
.hero .btn-primary:hover,
.section-navy .btn-primary:hover,
.cta-band .btn-primary:hover,
.mobile-menu .btn-primary:hover { color: var(--navy); box-shadow: 0 16px 34px rgba(198,160,82,0.4); }
.btn-sm { padding: .7rem 1.15rem; font-size: .82rem; }
.btn-block { display: flex; width: 100%; }

.btn-ghost, .btn-ghost-dark {
  background: transparent; box-shadow: none;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost-dark {
  border-color: rgba(246,242,234,0.4);
  color: var(--cream);
}
.btn-ghost::after, .btn-ghost-dark::after { background: var(--gold); }
.btn-ghost:hover, .btn-ghost-dark:hover { color: var(--navy); border-color: var(--gold); }

.btn-whatsapp {
  --btn-bg: #1f7a4d;
  --btn-fg: #fff;
}
.btn-whatsapp::after { background: #25603f; }
.btn-whatsapp:hover { color: #fff; }

/* ---- Nav ---- */
.nav {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background-color .35s var(--ease-out), box-shadow .35s var(--ease-out), backdrop-filter .35s;
}
.nav.is-scrolled {
  background: rgba(246, 242, 234, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 6px 24px rgba(18,32,51,0.06);
}
.nav-inner {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; position: relative; }
.brand-img { width: clamp(158px, 20vw, 208px); height: auto; transition: opacity .3s var(--ease-out); }
.brand-img-dark { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.nav.is-scrolled .brand-img-light { opacity: 0; }
.nav.is-scrolled .brand-img-dark { opacity: 1; }
.nav-links { display: none; gap: 1.8rem; }
.nav-links a {
  font-size: .84rem; font-weight: 500; letter-spacing: .02em;
  color: var(--ink-2);
  position: relative; padding: .3rem 0;
  transition: color .25s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after,
.nav-links a.is-current::after { transform: scaleX(1); transform-origin: left; }

/* Links are light while the nav floats over the dark hero */
.nav:not(.is-scrolled) .nav-links a { color: rgba(246, 242, 234, 0.82); }
.nav:not(.is-scrolled) .nav-links a:hover { color: var(--cream); }

.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-actions .btn-sm { display: none; }
/* Nav CTA is gold on both states for constant contrast */
.nav .btn-sm.btn-primary { --btn-bg: var(--gold); --btn-fg: var(--navy); box-shadow: 0 2px 12px rgba(198,160,82,0.25); }
.nav .btn-sm.btn-primary::after { background: var(--navy); }
.nav .btn-sm.btn-primary:hover { color: var(--cream); }

.nav-toggle {
  width: 42px; height: 42px;
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  border: 1px solid var(--line);
  border-radius: 3px;
}
.nav-toggle span {
  width: 18px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease-out), opacity .2s;
}
.nav-toggle[aria-expanded="true"] { border-color: var(--line-dark); }
.nav-toggle[aria-expanded="true"] span { background: var(--cream); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Mobile menu ---- */
.mobile-menu {
  position: fixed; inset: 0; z-index: 95;
  background: var(--navy);
  color: var(--cream);
  padding: calc(var(--nav-h) + 2rem) var(--pad) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2rem;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .55s var(--ease-out);
  overflow-y: auto;
}
.mobile-menu[aria-hidden="false"] { clip-path: inset(0); }
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--serif); font-size: 1.5rem; font-weight: 500;
  padding: .7rem 0; border-bottom: 1px solid var(--line-dark);
}
.mobile-menu-cta { display: grid; gap: .7rem; }

/* ---- Cards row ---- */
.cards-4 { display: grid; gap: 1rem; margin-top: 1.6rem; }

.svc, .benefit, .diff article {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 2rem 1.7rem;
  border-radius: 2px;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out), border-color .45s;
  position: relative; overflow: hidden;
}
.svc::before, .benefit::before, .diff article::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold);
  transform: scaleY(0); transform-origin: top;
  transition: transform .5s var(--ease-out);
}
.svc:hover, .benefit:hover, .diff article:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 48px -20px rgba(18, 32, 51, 0.22);
  border-color: var(--line-gold);
}
.svc:hover::before, .benefit:hover::before, .diff article:hover::before { transform: scaleY(1); }

.svc-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  color: var(--gold-2);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  margin-bottom: 1.4rem;
}
.svc-icon svg { width: 24px; height: 24px; }
.svc h3, .benefit h3, .diff h3 { margin-bottom: .6rem; }
.svc p, .benefit p, .diff p { color: var(--mute); font-size: .95rem; }

.benefit-idx, .step-idx {
  font-family: var(--serif); font-size: 1.6rem; color: var(--gold-2);
  display: block; margin-bottom: .5rem; line-height: 1;
}

/* ---- Tabs ---- */
.tabs { margin-top: 1.6rem; border: 1px solid var(--line); background: var(--paper); border-radius: 2px; }
.tabs-nav {
  display: flex; flex-wrap: wrap;
  border-bottom: 1px solid var(--line);
}
.tabs-nav button {
  flex: 1 1 auto;
  padding: 1rem 1.1rem;
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--mute);
  border-bottom: 2px solid transparent;
  transition: color .25s, border-color .25s, background-color .25s;
}
.tabs-nav button:hover { color: var(--ink); }
.tabs-nav button.is-active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  background: var(--gold-soft);
}
.tabs-panels { padding: 2rem clamp(1.2rem, 4vw, 2.4rem); }
.tabs-panels [role="tabpanel"] { display: none; }
.tabs-panels [role="tabpanel"].is-active { display: block; animation: fadeUp .45s var(--ease-out); }
.tab-list { list-style: none; display: grid; gap: .9rem; }
.tab-list li {
  padding-left: 1.6rem; position: relative;
  color: var(--ink-2); font-size: .98rem;
}
.tab-list li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 7px; height: 7px; border: 1px solid var(--gold-2); transform: rotate(45deg);
}

/* ---- Lists ---- */
.split-list, .alianzas-grid, .chips {
  list-style: none;
}
.split-list { display: grid; gap: 0; align-self: start; border-top: 1px solid var(--line); }
.split-list li {
  padding: 1.15rem 0 1.15rem 1.8rem;
  border-bottom: 1px solid var(--line);
  position: relative;
  color: var(--ink-2);
}
.split-list li::before {
  content: ""; position: absolute; left: 0; top: 1.55rem;
  width: 16px; height: 1px; background: var(--gold);
}

.alianzas-grid { display: grid; gap: 0; border-top: 1px solid var(--line); align-self: start; }
.alianzas-grid li {
  padding: .95rem 0; border-bottom: 1px solid var(--line);
  color: var(--ink-2); font-size: .97rem;
}

.chips { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.4rem 0; }
.chips li {
  font-size: .78rem; font-weight: 500;
  padding: .4rem .85rem;
  border: 1px solid var(--line-dark);
  border-radius: 2px;
  color: var(--mute-dark);
}

/* ---- Forms ---- */
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 1.5rem 1rem .55rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
  color: var(--ink);
  font-family: var(--sans); font-size: .95rem;
  transition: border-color .25s, box-shadow .25s;
}
.field textarea { padding-top: 1.1rem; resize: vertical; min-height: 110px; }
.field select {
  appearance: none; -webkit-appearance: none;
  padding: 1.65rem 2.4rem .6rem 1rem;
  min-height: 3.5rem; line-height: 1.2;
  background-image: linear-gradient(45deg, transparent 50%, var(--mute) 50%),
                    linear-gradient(135deg, var(--mute) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(50% + 4px), calc(100% - 14px) calc(50% + 4px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}
.field input[type="date"] { padding-top: 1.65rem; padding-bottom: .5rem; min-height: 3.5rem; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold-2);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
.field label {
  position: absolute; left: 1rem; top: 1rem;
  font-size: .95rem; color: var(--mute);
  pointer-events: none;
  transition: transform .2s var(--ease-out), font-size .2s, color .2s;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label {
  transform: translateY(-0.72rem);
  font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2);
}
.field .label-static {
  position: absolute; left: 1rem; top: .5rem; z-index: 1;
  font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-2);
  background: var(--paper); padding-right: .4rem;
}
.field select { color: var(--ink); }
.field select:required:invalid { color: var(--mute); }

/* =============================================================
   6. SECTIONS
   ============================================================= */
.section { padding-block: clamp(2.25rem, 4.5vw, 3.75rem); }
.section-cream { background: var(--cream-2); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-navy p { color: var(--mute-dark); }

.section-head { max-width: 62ch; margin-bottom: .6rem; }
.section-head h2 { margin-top: .2rem; }
.section-head-light h2 { color: var(--cream); }

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + 2rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
  background: var(--navy);
  color: var(--cream);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 0%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 30% 30%, #000 0%, transparent 78%);
  opacity: .6;
}
.hero-glow {
  position: absolute; right: -12%; top: -18%;
  width: 60vw; height: 60vw; max-width: 780px; max-height: 780px;
  background: radial-gradient(circle at center, rgba(198,160,82,0.28), transparent 62%);
  filter: blur(30px);
}
.hero-arc {
  position: absolute; right: -6%; bottom: -22%;
  width: 46vw; height: 46vw; max-width: 620px; max-height: 620px;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  transform: rotate(-38deg);
}
.hero-inner { position: relative; z-index: 1; max-width: 60rem; }
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.5rem, 5.8vw, 4.35rem);
  line-height: 1.05; letter-spacing: -0.012em;
  margin-bottom: 1.6rem;
}
.hero-sub {
  font-size: clamp(1.02rem, 1.7vw, 1.2rem);
  color: var(--mute-dark);
  max-width: 44ch;
  margin-bottom: 1.5rem;
}
.hero-motto {
  font-family: var(--serif); font-style: italic;
  font-size: 1.35rem; color: var(--gold);
  margin-bottom: 2.2rem;
  position: relative; padding-left: 1.2rem;
}
.hero-motto::before {
  content: ""; position: absolute; left: 0; top: .3em; bottom: .3em;
  width: 2px; background: var(--gold);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-meta {
  list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem;
  margin-top: 2.6rem; padding-top: 1.6rem;
  border-top: 1px solid var(--line-dark);
}
.hero-meta li {
  font-size: .8rem; letter-spacing: .04em; color: var(--mute-dark);
  position: relative; padding-left: 1rem;
}
.hero-meta li::before {
  content: ""; position: absolute; left: 0; top: .5em;
  width: 5px; height: 5px; background: var(--gold); transform: rotate(45deg);
}

/* ---- Stats ---- */
.stats {
  background: var(--cream);
  padding-block: clamp(2rem, 3.8vw, 3rem);
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid; gap: 1.6rem 1rem;
  grid-template-columns: 1fr 1fr;
  margin-top: 1.9rem;
}
.stat { text-align: left; }
.stat-num {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.35rem, 5.4vw, 3.4rem);
  line-height: 1; color: var(--navy);
  display: block;
  white-space: nowrap;
}
.stat-affix {
  font-size: .42em;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--gold-2);
  vertical-align: .35em;
}
.stat-affix:first-child { margin-right: .35em; }
.stat-affix:last-child { margin-left: .15em; }
.stat-rule { display: block; width: 44px; height: 2px; background: var(--gold); margin: .95rem 0; }
.stat-label { font-size: .88rem; color: var(--mute); display: block; max-width: 24ch; }

/* ---- Split layout ---- */
.split { display: grid; gap: 2rem; }
.split-text > p { color: var(--mute); margin-top: 1.1rem; max-width: 54ch; }
.split-text > .kicker { margin-top: 0; }
.split-text > h2 + p { margin-top: 1.1rem; }
.section-navy .split-text > p { color: var(--mute-dark); }

/* ---- Consultor ---- */
.consultor { display: grid; gap: 2rem; align-items: start; }
.consultor-media { }
.portrait-frame {
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line-dark);
  background:
    repeating-linear-gradient(135deg, rgba(246,242,234,0.03) 0 12px, transparent 12px 24px),
    var(--navy-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem;
  padding: 2rem; text-align: center;
  position: relative;
}
.portrait-frame::after {
  content: ""; position: absolute; inset: 12px; border: 1px solid var(--line-gold);
  pointer-events: none;
}
.portrait-photo { display: none; }
.portrait-frame.has-photo {
  background: none; padding: 0; display: block; aspect-ratio: 4 / 5;
}
.portrait-frame.has-photo .portrait-photo {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.15) contrast(1.02);
}
.portrait-frame.has-photo .portrait-mono,
.portrait-frame.has-photo .portrait-note { display: none; }
.portrait-mono {
  font-family: var(--brand-font); font-weight: 800; font-size: 3rem;
  color: var(--gold); letter-spacing: .05em;
}
.portrait-note { font-size: .74rem; letter-spacing: .06em; color: var(--mute-dark); max-width: 22ch; }
.consultor-role { color: var(--gold); font-weight: 500; margin: .5rem 0 1.2rem; }
.consultor-text > p { color: var(--mute-dark); margin-top: 1rem; max-width: 52ch; }
.consultor-team {
  border-left: 2px solid var(--gold);
  padding-left: 1.1rem; margin-top: 1.6rem !important;
  font-size: .95rem;
}
.consultor-name {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(1.6rem, 3vw, 2.15rem); line-height: 1.1;
  color: var(--cream);
}
.consultor-reverse { align-items: start; }

/* ---- Marketing area (photo aligned near the headline) ---- */
.mkt-top { display: grid; gap: 1.8rem; }
.mkt-photo { align-self: start; }
.mkt-bio { margin-top: .4rem; }

/* ---- Marketing services ---- */
.mkt-services { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line-dark); }
.mkt-grid {
  list-style: none; display: grid; gap: 0;
  grid-template-columns: 1fr;
  margin-top: 1.4rem;
}
.mkt-grid li {
  padding: 1rem 0 1rem 1.7rem;
  border-bottom: 1px solid var(--line-dark);
  position: relative; color: var(--cream); font-size: .97rem;
}
.mkt-grid li:first-child { border-top: 1px solid var(--line-dark); }
.mkt-grid li::before {
  content: ""; position: absolute; left: 0; top: 1.4rem;
  width: 8px; height: 8px; border: 1px solid var(--gold); transform: rotate(45deg);
}

/* ---- Client logos ---- */
.logos-grid {
  list-style: none;
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 1.6rem;
}
.logos-grid li {
  background: var(--paper);
  display: grid; place-items: center;
  padding: 1.9rem 1.4rem;
  min-height: 120px;
  transition: background-color .3s var(--ease-out);
}
.logos-grid li:hover { background: var(--cream); }
.logos-grid img {
  max-height: 58px; width: auto; max-width: 100%;
  object-fit: contain;
  filter: saturate(.85);
  transition: filter .3s var(--ease-out), transform .3s var(--ease-out);
}
.logos-grid li:hover img { filter: saturate(1.05); transform: scale(1.04); }

/* Logos that ship with their own dark background sit on a matching dark card */
.logos-grid li.logo-dark { background: #262445; }
.logos-grid li.logo-dark:hover { background: #2e2b52; }
.logos-grid li.logo-dark img { max-height: 92px; filter: none; mix-blend-mode: normal; }

/* Logos that read small at the default size — give them more room */
.logos-grid li.logo-lg { padding: 1.35rem .5rem; }
.logos-grid li.logo-lg img { max-height: 112px; }

/* Client & project list (no logos) */
.client-list-wrap { margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.client-list {
  list-style: none;
  display: grid; gap: 0;
  grid-template-columns: 1fr;
  margin-top: 1.6rem;
  border-top: 1px solid var(--line);
}
.client-list li {
  padding: 1.05rem 0 1.05rem 1.7rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.client-list li::before {
  content: ""; position: absolute; left: 0; top: 1.5rem;
  width: 8px; height: 8px; border: 1px solid var(--gold-2); transform: rotate(45deg);
}
.cl-name { display: block; font-weight: 600; font-size: .95rem; color: var(--ink); letter-spacing: -0.005em; }
.cl-proj { display: block; font-size: .86rem; color: var(--mute); margin-top: .15rem; }

/* ---- Cases ---- */
.cases { display: grid; gap: 1rem; margin-top: 1.6rem; }
.case {
  border: 1px solid var(--line-dark);
  padding: 2.2rem 1.8rem;
  border-radius: 2px;
  background: linear-gradient(180deg, rgba(246,242,234,0.04), transparent);
  transition: border-color .4s, transform .4s var(--ease-out);
}
.case:hover { border-color: var(--line-gold); transform: translateY(-4px); }
.case-num {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.2rem, 4.4vw, 2.95rem); line-height: 1.02;
  color: var(--gold); display: block; margin-bottom: 1rem;
  white-space: nowrap;
}
.case:nth-child(2) .case-num { font-size: clamp(1.85rem, 3.6vw, 2.5rem); }
.case-num-text { font-size: clamp(1.6rem, 3vw, 2rem); white-space: normal; }
.case h3 { color: var(--cream); margin-bottom: .55rem; }
.case p { color: var(--mute-dark); font-size: .93rem; }
.disclaimer {
  margin-top: 2.4rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: .8rem; color: var(--mute-dark); max-width: 70ch;
  font-style: italic;
}

/* ---- Sectors ---- */
.sectors {
  display: grid; gap: 0;
  margin-top: 1.6rem;
  border: 1px solid var(--line);
  background: var(--paper);
}
.sectors-list { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.sectors-list button {
  flex: 1 0 auto;
  padding: .85rem 1rem;
  font-size: .82rem; font-weight: 600; color: var(--mute);
  border-right: 1px solid var(--line);
  border-bottom: 2px solid transparent;
  transition: color .25s, background-color .25s, border-color .25s;
}
.sectors-list button:hover { color: var(--ink); }
.sectors-list button.is-active {
  color: var(--navy); background: var(--gold-soft); border-bottom-color: var(--gold);
}
.sectors-detail { padding: 2.2rem clamp(1.3rem, 4vw, 2.6rem); }
.sectors-detail-count {
  font-family: var(--serif); color: var(--gold-2);
  font-size: 1.05rem; margin-bottom: .3rem;
}
.sectors-detail-count span[data-sector-count] { font-size: 2.4rem; font-weight: 600; margin-right: .3rem; }
.sectors-detail h3 { font-size: 1.3rem; font-family: var(--serif); font-weight: 600; margin-bottom: .5rem; }
.sectors-detail p { color: var(--mute); max-width: 52ch; }

/* ---- Chart ---- */
.chart { margin-top: 2.5rem; }
.chart figcaption {
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--mute); margin-bottom: 1.4rem;
}
.chart-bars { display: grid; gap: .7rem; }
.chart-row { display: grid; grid-template-columns: 92px 1fr 34px; align-items: center; gap: .8rem; }
.chart-row span:first-child { font-size: .82rem; color: var(--ink-2); }
.chart-track { height: 12px; background: var(--line-2); position: relative; overflow: hidden; }
.chart-fill {
  position: absolute; inset: 0 100% 0 0;
  background: linear-gradient(90deg, var(--navy), var(--gold-2));
  transition: right 1s var(--ease-out);
}
.chart-row span:last-child { font-size: .8rem; color: var(--mute); text-align: right; font-variant-numeric: tabular-nums; }

/* ---- Steps ---- */
.steps { list-style: none; counter-reset: none; display: grid; gap: 0; margin-top: 1.6rem; border-top: 1px solid var(--line); }
.steps li {
  display: grid; gap: .3rem 1.6rem;
  grid-template-columns: auto 1fr;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.steps .step-idx { grid-row: span 2; margin: 0; }
.steps h3 { align-self: center; }
.steps p { color: var(--mute); font-size: .95rem; grid-column: 2; }

/* ---- CTA band ---- */
.cta-band {
  background:
    radial-gradient(ellipse 60% 100% at 80% 0%, rgba(198,160,82,0.16), transparent 60%),
    var(--navy-2);
  color: var(--cream);
  padding-block: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
}
.cta-inner { max-width: 44rem; margin-inline: auto; }
.cta-inner .kicker { justify-content: center; }
.cta-inner h2 { color: var(--cream); font-size: clamp(2rem, 4.4vw, 3.2rem); }
.cta-quote {
  font-family: var(--serif); font-style: italic; font-size: 1.25rem;
  color: var(--gold); margin: 1.2rem 0 2rem;
}
.cta-band .hero-actions { justify-content: center; }

/* ---- Contact ---- */
.contact { display: grid; gap: 2.25rem; }
.contact-info > p { color: var(--mute); margin-top: 1rem; max-width: 42ch; }
.contact-list { margin-top: 2rem; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact-list > div {
  padding: 1.3rem 0 1.3rem 1.5rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.contact-list > div::before {
  content: ""; position: absolute; left: 0; top: 1.75rem;
  width: 14px; height: 1px; background: var(--gold);
}
.contact-list dt {
  font-weight: 600; font-size: .96rem; color: var(--ink);
  letter-spacing: -0.005em; margin-bottom: .35rem;
}
.contact-list dd { font-size: .9rem; color: var(--ink-2); line-height: 1.95; }
.contact-list dd span { color: var(--mute); font-size: .82rem; }
.contact-list dd a { color: var(--gold-2); }
.contact-list dd a:hover { text-decoration: underline; text-underline-offset: 2px; }

.contact-form-wrap { position: relative; }
.contact-form { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.field-full { grid-column: 1 / -1; }
.form-actions { display: grid; gap: .8rem; }
.form-note { font-size: .82rem; color: var(--mute); }
.form-note a, .form-success a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }
.btn .btn-spinner {
  width: 16px; height: 16px; border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff; border-radius: 50%;
  display: none;
}
.contact-form.is-sending .btn-label { opacity: .5; }
.contact-form.is-sending .btn-spinner { display: block; animation: spin .8s linear infinite; }

.form-success {
  border: 1px solid var(--line-gold);
  background: var(--gold-soft);
  padding: 2rem 1.8rem; border-radius: 2px;
  margin-top: 1.5rem;
}
.form-success h3 { color: var(--navy); margin-bottom: .5rem; font-size: 1.15rem; }
.form-success p { color: var(--ink-2); font-size: .92rem; margin-top: .4rem; }

/* ---- Agenda ---- */
.agenda { display: grid; gap: 2rem; }
.agenda-text > p { color: var(--mute); margin-top: 1rem; max-width: 54ch; }
.agenda-form { display: grid; gap: 1rem; align-content: start; }
.agenda-form .btn { margin-top: .4rem; }

/* ---- FAQ ---- */
.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.faq details {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  list-style: none; cursor: pointer;
  padding: 1.4rem 2.5rem 1.4rem 0;
  font-weight: 600; font-size: 1rem; color: var(--ink);
  position: relative;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .2rem; top: 1.75rem;
  width: 11px; height: 11px;
  border-right: 1.5px solid var(--gold-2); border-bottom: 1.5px solid var(--gold-2);
  transform: rotate(45deg);
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq summary:hover { color: var(--gold-2); }
.faq-body { padding: 0 2.5rem 1.5rem 0; }
.faq-body p { color: var(--mute); font-size: .95rem; }

/* ---- Footer ---- */
.footer {
  background: var(--navy-2); color: var(--mute-dark);
  padding-top: clamp(3.5rem, 7vw, 5rem);
}
.footer-inner {
  display: grid; gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
.footer-brand img { width: 210px; margin-bottom: 1.2rem; }
.footer-motto {
  font-family: var(--serif); font-style: italic; font-size: 1.2rem;
  color: var(--gold); margin-bottom: .8rem;
}
.footer-scope { font-size: .85rem; }
.footer-nav h2, .footer-contact h2 {
  font-family: var(--sans); font-size: .72rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--cream);
  margin-bottom: 1.1rem;
}
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a, .footer-contact a { font-size: .88rem; transition: color .2s; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--gold); }
.footer-contact p { font-size: .88rem; margin-bottom: .4rem; }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  padding-block: 1.8rem 2.2rem;
  font-size: .78rem;
}
.footer-bottom nav { display: flex; gap: 1.5rem; }
.footer-bottom a:hover { color: var(--gold); }

/* ---- Floating WhatsApp ---- */
.wa-float {
  position: fixed; right: clamp(1rem, 3vw, 1.8rem); bottom: clamp(1rem, 3vw, 1.8rem);
  z-index: 90;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: #1f7a4d; color: #fff;
  border-radius: 50%;
  box-shadow: 0 12px 30px rgba(31, 122, 77, 0.4);
  transition: transform .3s var(--ease-out), box-shadow .3s;
}
.wa-float svg { width: 28px; height: 28px; }
.wa-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 18px 40px rgba(31, 122, 77, 0.5); }

/* ---- Legal pages ---- */
.legal-body h2 {
  font-family: var(--sans); font-size: 1rem; font-weight: 600;
  margin: 2.2rem 0 .6rem;
}
.legal-body p { color: var(--mute); margin-bottom: .8rem; }
.legal-body a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 2px; }

/* =============================================================
   7. EFFECTS
   ============================================================= */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s var(--ease-soft), transform .8s var(--ease-soft);
  /* Ultimate safety net: if JS never runs, content still appears */
  animation: revealSafety .01s linear 4.5s forwards;
}
.reveal.is-revealed { opacity: 1; transform: none; animation: none; }
.reveal[data-split] { opacity: 1; transform: none; animation: none; }
@keyframes revealSafety { to { opacity: 1; transform: none; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes spin { to { transform: rotate(360deg); } }

body.menu-open { overflow: hidden; }

/* =============================================================
   8. RESPONSIVE
   ============================================================= */
@media (max-width: 719px) {
  .tabs-nav, .sectors-list {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .tabs-nav::-webkit-scrollbar, .sectors-list::-webkit-scrollbar { display: none; }
  .tabs-nav button, .sectors-list button { flex: 0 0 auto; white-space: nowrap; }
  .contact-form { grid-template-columns: 1fr; }
}

@media (min-width: 460px) {
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 540px) {
  .cases { grid-template-columns: repeat(3, 1fr); }
  .agenda-form { grid-template-columns: 1fr 1fr; }
  .agenda-form .btn, .agenda-form .form-note { grid-column: 1 / -1; }
}

@media (min-width: 720px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .cards-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1.1fr .9fr; gap: 3.5rem; align-items: start; }
  .consultor { grid-template-columns: .8fr 1.2fr; gap: 3.5rem; }
  .consultor-reverse { grid-template-columns: 1.15fr .85fr; }
  .mkt-top {
    grid-template-columns: 1.12fr .88fr;
    gap: 0 3rem;
    align-items: start;
  }
  .mkt-head { grid-column: 1; grid-row: 1; }
  .mkt-bio  { grid-column: 1; grid-row: 2; margin-top: 1.5rem; }
  .mkt-photo {
    grid-column: 2; grid-row: 1 / span 2;
    margin-top: 1.15rem;
  }
  .contact { grid-template-columns: .95fr 1.05fr; gap: 3.25rem; }
  .agenda { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
  .footer-inner { grid-template-columns: 1.6fr 1fr 1.2fr; }
  .chart-row { grid-template-columns: 110px 1fr 40px; }
  .mkt-grid { grid-template-columns: 1fr 1fr; column-gap: 2.5rem; }
  .mkt-grid li:nth-child(2) { border-top: 1px solid var(--line-dark); }
  .client-list { grid-template-columns: 1fr 1fr; column-gap: 3rem; }
  .client-list li:nth-child(2) { border-top: 1px solid var(--line); }
}

@media (min-width: 1280px) {
  .client-list { grid-template-columns: repeat(3, 1fr); }
  .client-list li:nth-child(3) { border-top: 1px solid var(--line); }
}

@media (min-width: 960px) {
  .cards-4 { grid-template-columns: repeat(4, 1fr); }
  .contact-form { gap: 1.1rem; }
  .logos-grid { grid-template-columns: repeat(3, 1fr); }
  .logos-grid li { min-height: 138px; }
}

/* Full horizontal nav — needs room for the longest label */
@media (min-width: 1100px) {
  .nav-links { display: flex; gap: clamp(.85rem, 1.4vw, 1.6rem); }
  .nav-links a { font-size: .8rem; white-space: nowrap; }
  .nav .btn-sm { white-space: nowrap; }
  .nav-actions .btn-sm { display: inline-flex; }
  .nav-toggle { display: none; }
  .mobile-menu { display: none; }
}
@media (min-width: 1280px) {
  .nav-links { gap: 1.7rem; }
  .nav-links a { font-size: .82rem; }
}

@media (min-width: 1280px) {
  .steps li { grid-template-columns: 90px 260px 1fr; align-items: center; }
  .steps .step-idx { grid-row: auto; }
  .steps p { grid-column: 3; }
  .nav-links { gap: 1.9rem; }
}

/* =============================================================
   9. REDUCED MOTION  (only intrusive effects)
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-arc { animation: none; }
}
