/* ==========================================================================
   CU Consulting Group — styles
   ========================================================================== */

:root {
  --ink: #0B1626;
  --navy: #10233F;
  --navy-2: #1B3762;
  --gold: #D4A853;
  --gold-2: #E8C77F;
  --gold-deep: #A8802F;
  --cream: #FAF7F1;
  --sand: #F2EBDD;
  --white: #FFFFFF;
  --text: #1A2232;
  --muted: #5A6476;
  --line: rgba(16, 35, 63, .12);
  --line-light: rgba(255, 255, 255, .14);
  --danger: #B42318;
  --success: #1E7A4F;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(11, 22, 38, .06), 0 2px 8px rgba(11, 22, 38, .05);
  --shadow: 0 10px 30px -10px rgba(11, 22, 38, .18), 0 4px 12px rgba(11, 22, 38, .06);
  --shadow-lg: 0 30px 60px -20px rgba(11, 22, 38, .35);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; color: var(--navy); }
h1, h2 { font-family: var(--font-display); font-weight: 500; letter-spacing: -.02em; }
h1 em, h2 em, blockquote em { font-style: italic; color: var(--gold-deep); }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
ul, ol { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

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

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 1rem;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold-deep);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow-light { color: var(--gold-2); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--navy); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font: 600 .95rem/1.2 var(--font-body);
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn-lg { padding: 16px 28px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-gold { --bg: var(--gold); --fg: var(--ink); box-shadow: 0 8px 24px -8px rgba(212, 168, 83, .7); }
.btn-gold:hover { --bg: var(--gold-2); box-shadow: 0 14px 30px -10px rgba(212, 168, 83, .8); }
.btn-ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: var(--white); background: rgba(255, 255, 255, .08); }
.btn-dark { --bg: var(--ink); --fg: var(--white); box-shadow: var(--shadow); }
.btn-dark:hover { --bg: var(--navy-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--header-h);
  transition: background-color .3s, box-shadow .3s, backdrop-filter .3s;
}
.site-header.scrolled {
  background: rgba(11, 22, 38, .94);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 1px 0 var(--line-light), 0 10px 30px -15px rgba(0, 0, 0, .5);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--white); }
.brand img { width: 40px; height: 40px; }
.brand-text { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; }
.brand-text span { font-weight: 400; opacity: .85; }

.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; padding: 8px 14px;
  color: rgba(255, 255, 255, .82); text-decoration: none; font-size: .95rem; font-weight: 500;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px;
  background: var(--gold); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:not(.btn):hover, .nav a.active { color: var(--white); }
.nav a:not(.btn):hover::after, .nav a.active::after { transform: scaleX(1); }
.nav-cta { margin-left: 10px; padding: 10px 18px; }
.nav-phone { display: none; }

.header-actions { display: flex; align-items: center; gap: 10px; }
.lang-switch { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light); }
.lang-switch button {
  border: 0; background: transparent; color: rgba(255, 255, 255, .7);
  font: 600 .78rem/1 var(--font-body); letter-spacing: .06em;
  padding: 7px 10px; border-radius: 999px; cursor: pointer; transition: background-color .2s, color .2s;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }
.lang-switch button:not([aria-pressed="true"]):hover { color: var(--white); }

.menu-toggle {
  display: none; width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--line-light); border-radius: 12px; background: rgba(255, 255, 255, .06); color: var(--white); cursor: pointer;
}
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-toggle .icon-close { display: none; }
.menu-open .menu-toggle .icon-open { display: none; }
.menu-open .menu-toggle .icon-close { display: block; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + 72px) 0 96px;
  background: var(--ink); color: rgba(255, 255, 255, .82);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% 20%, rgba(212, 168, 83, .22), transparent 60%),
    radial-gradient(50% 60% at 10% 90%, rgba(43, 88, 160, .35), transparent 60%),
    linear-gradient(160deg, #0B1626 0%, #10233F 55%, #0E1E36 100%);
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 5.4vw, 4.25rem); margin-bottom: 1.5rem; }
.hero h1 em { color: var(--gold-2); }
.lead { font-size: 1.15rem; max-width: 34em; margin-bottom: 2rem; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2.25rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .93rem; }
.hero-points li { display: inline-flex; align-items: center; gap: 8px; }
.hero-points .icon { color: var(--gold); width: 18px; height: 18px; }

.hero-visual { position: relative; display: flex; justify-content: flex-end; padding: 26px 22px 72px 0; }
.hero-visual::before {
  content: ""; position: absolute; top: 0; right: 0;
  width: min(calc(100% - 22px), 420px); aspect-ratio: 4 / 5;
  border: 1.5px solid rgba(212, 168, 83, .55); border-radius: 220px 220px 32px 32px;
  pointer-events: none;
}
.portrait {
  position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5;
  border-radius: 220px 220px 32px 32px; overflow: hidden;
  background: #3A4350; box-shadow: var(--shadow-lg);
}
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(11, 22, 38, .45)); }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.dash {
  position: absolute; left: 0; bottom: 0; width: 270px;
  padding: 18px 18px 20px;
  border-radius: 20px;
  background: linear-gradient(160deg, rgba(27, 55, 98, .94), rgba(11, 22, 38, .94));
  border: 1px solid rgba(255, 255, 255, .16);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, .1);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: float 7s ease-in-out infinite; animation-delay: -2s;
}
.dash-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.dots { display: inline-flex; gap: 5px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.dots i:first-child { background: var(--gold); }
.dash-title { color: var(--white); font-weight: 600; font-size: .9rem; }
.dash-list { display: grid; gap: 9px; margin-bottom: 16px; }
.dash-list li { display: flex; align-items: center; gap: 11px; color: rgba(255, 255, 255, .9); font-size: .86rem; line-height: 1.3; }
.tick { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 8px; border: 1.5px dashed rgba(255, 255, 255, .3); }
.done .tick { border: 0; background: var(--gold); color: var(--ink); }
.tick .icon { width: 14px; height: 14px; stroke-width: 3; }
.dash-progress { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.dash-progress span { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--gold-deep), var(--gold-2)); animation: grow 1.8s .8s var(--ease) forwards; }

.chip {
  position: absolute; display: inline-flex; align-items: center; gap: 10px;
  padding: 11px 16px; border-radius: 14px;
  background: var(--white); color: var(--navy);
  font-weight: 600; font-size: .88rem; white-space: nowrap;
  box-shadow: var(--shadow-lg);
  animation: float 6s ease-in-out infinite;
}
.chip .icon { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: rgba(212, 168, 83, .18); color: var(--gold-deep); }
.chip-a { top: 74px; left: 0; }

@keyframes grow { to { width: 68%; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Industries marquee ---------- */
.industries { padding: 44px 0 40px; background: var(--white); border-bottom: 1px solid var(--line); }
.industries-title { text-align: center; color: var(--muted); font-size: .85rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee ul { display: flex; gap: 14px; padding-right: 14px; }
.marquee li {
  padding: 10px 20px; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line); background: var(--cream);
  font-family: var(--font-display); font-size: 1.05rem; color: var(--navy);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-sand { background: var(--sand); }
.section-head { max-width: 720px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3rem); }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; margin: 0; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  position: relative; display: block;
  padding: 34px 30px 30px;
  border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  text-decoration: none; overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-2));
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(212, 168, 83, .45); }
.card:hover::before { transform: scaleX(1); }
.card-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
  border-radius: 16px; background: linear-gradient(145deg, rgba(212, 168, 83, .2), rgba(212, 168, 83, .07));
  color: var(--gold-deep);
}
.card-icon .icon { width: 26px; height: 26px; stroke-width: 1.8; }
.card p { color: var(--muted); margin: 0; }
.card-cta { background: var(--navy); border-color: var(--navy); color: rgba(255, 255, 255, .8); }
.card-cta h3 { color: var(--white); }
.card-cta p { color: rgba(255, 255, 255, .72); margin-bottom: 18px; }
.card-cta .card-icon { background: rgba(212, 168, 83, .16); color: var(--gold-2); }
.card-link { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-2); font-weight: 600; }
.card-cta:hover .card-link .icon { transform: translateX(4px); }
.card-link .icon { transition: transform .25s var(--ease); }

/* Process */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 12%; right: 12%; height: 2px;
  background: repeating-linear-gradient(90deg, rgba(168, 128, 47, .45) 0 8px, transparent 8px 16px);
}
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num {
  position: relative; display: inline-grid; place-items: center;
  width: 68px; height: 68px; margin-bottom: 22px;
  border-radius: 50%; background: var(--cream); border: 2px solid var(--gold);
  font-family: var(--font-display); font-size: 1.4rem; font-weight: 500; color: var(--navy);
  box-shadow: 0 0 0 8px var(--sand);
}
.step p { color: var(--muted); margin: 0; font-size: .97rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.about-copy h2 { font-size: clamp(2rem, 4vw, 3rem); }
.about-copy > p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; margin-top: 34px; }
.values li { display: flex; gap: 14px; }
.values .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: var(--navy); color: var(--gold-2); stroke-width: 3; margin-top: 2px; }
.values strong { display: block; color: var(--navy); }
.values span { display: block; color: var(--muted); font-size: .94rem; line-height: 1.5; }

.about-visual { position: relative; padding-bottom: 130px; }
.team-photo { margin: 0; aspect-ratio: 3 / 2; border-radius: 28px; overflow: hidden; background: var(--sand); box-shadow: var(--shadow-lg); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }

.quote-card {
  position: absolute; left: -36px; bottom: 0; width: min(64%, 340px); margin: 0;
  padding: 26px 28px 24px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .08);
  background:
    radial-gradient(80% 60% at 100% 0%, rgba(212, 168, 83, .28), transparent 60%),
    linear-gradient(160deg, var(--navy-2), var(--ink));
  color: var(--white);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.quote-card::after {
  content: "CU"; position: absolute; right: -8px; bottom: -34px;
  font-family: var(--font-display); font-size: 8.5rem; font-weight: 600; line-height: 1;
  color: rgba(255, 255, 255, .04); pointer-events: none;
}
.quote-mark { width: 40px; height: 40px; margin-bottom: 16px; }
.quote-card blockquote { margin: 0 0 14px; }
.quote-card blockquote p { margin: 0; font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.55rem); line-height: 1.2; letter-spacing: -.01em; }
.quote-card blockquote em { color: var(--gold-2); }
.quote-card figcaption { color: rgba(255, 255, 255, .6); font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }

/* CTA band */
.cta-band { padding: 0 0 110px; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 56px 60px; border-radius: 28px;
  background:
    radial-gradient(70% 120% at 0% 0%, rgba(255, 255, 255, .45), transparent 60%),
    linear-gradient(120deg, var(--gold-2), var(--gold) 55%, #C99838);
  box-shadow: 0 30px 60px -30px rgba(168, 128, 47, .7);
}
.cta-inner h2 { font-family: var(--font-display); font-size: clamp(1.7rem, 3vw, 2.3rem); color: var(--ink); margin-bottom: .35em; }
.cta-inner p { margin: 0; color: rgba(11, 22, 38, .75); font-size: 1.05rem; }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; flex: none; }
.cta-phone { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 600; font-size: .95rem; text-decoration: none; }
.cta-phone:hover { text-decoration: underline; }
.cta-phone .icon { width: 16px; height: 16px; }

/* Contact */
#contact { padding-top: 0; }
.contact-grid, .cta-inner { width: calc(100% - 48px); max-width: 1132px; }
.contact-grid.container { padding: 0; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--white); }
.contact-info {
  padding: 56px 48px;
  background:
    radial-gradient(70% 50% at 0% 100%, rgba(212, 168, 83, .22), transparent 60%),
    linear-gradient(170deg, var(--navy), var(--ink));
  color: rgba(255, 255, 255, .78);
}
.contact-info h2 { color: var(--white); font-size: clamp(2rem, 4vw, 2.8rem); }
.contact-info h2 em { color: var(--gold-2); }
.contact-list { display: grid; gap: 22px; margin-top: 36px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.ci-icon { display: inline-grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: rgba(255, 255, 255, .08); border: 1px solid var(--line-light); color: var(--gold-2); }
.ci-icon .icon { width: 20px; height: 20px; }
.contact-list strong { display: block; color: var(--white); font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.contact-list a { color: rgba(255, 255, 255, .85); text-decoration: none; word-break: break-word; }
.contact-list a:hover { color: var(--gold-2); text-decoration: underline; }

.form-card { padding: 56px 48px; }
.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream); color: var(--text);
  font: 400 1rem/1.4 var(--font-body);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
  appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(16, 35, 63, .28); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 4px rgba(212, 168, 83, .2); }
.field.invalid input, .field.invalid textarea { border-color: var(--danger); background: #FFF6F5; }
.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); pointer-events: none;
}
.select-wrap select { padding-right: 42px; cursor: pointer; }

.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--muted); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; flex: none; accent-color: var(--gold-deep); cursor: pointer; }
.consent.invalid { color: var(--danger); }
.consent a { color: var(--navy); font-weight: 600; }

.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn .spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(11, 22, 38, .25); border-top-color: var(--ink); animation: spin .8s linear infinite; }
.is-sending .btn .spinner { display: inline-block; }
.is-sending .btn { pointer-events: none; opacity: .85; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { margin: 0; min-height: 1.5em; font-size: .95rem; font-weight: 500; }
.form-status.error { color: var(--danger); }
.form-status.success {
  display: flex; gap: 12px; align-items: center;
  padding: 14px 16px; border-radius: var(--radius-sm);
  background: #EAF6EF; color: var(--success); border: 1px solid rgba(30, 122, 79, .25);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .65); padding: 80px 0 0; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr 1fr; gap: 40px; padding-bottom: 56px; }
.footer-brand p { margin-top: 18px; max-width: 30em; }
.site-footer h4 { color: var(--white); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 18px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a { color: rgba(255, 255, 255, .75); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--gold-2); }
.footer-bottom { padding-top: 22px; padding-bottom: 28px; border-top: 1px solid var(--line-light); font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Legal pages ---------- */
.page-hero { padding: calc(var(--header-h) + 64px) 0 56px; background: var(--ink); color: rgba(255, 255, 255, .75); position: relative; isolation: isolate; overflow: hidden; }
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .3em; }
.legal { max-width: 800px; padding-top: 64px; padding-bottom: 96px; }
.site-footer:has(> .footer-bottom:only-child) { padding-top: 0; }
.site-footer:has(> .footer-bottom:only-child) .footer-bottom { border-top: 0; padding-top: 28px; }
.legal h2 { font-size: 1.6rem; margin-top: 2.2rem; }
.legal p, .legal li { color: var(--muted); }
.legal ul { list-style: disc; padding-left: 1.3rem; margin-bottom: 1rem; }
.legal a:not(.btn) { color: var(--navy); font-weight: 600; }
html[lang="es"] [data-lang="en"], html[lang="en"] [data-lang="es"] { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav a:not(.btn) { padding: 8px 10px; }
  .hero-grid { gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 14px 20px 24px;
    background: rgba(11, 22, 38, .97);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-light);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  .menu-open .nav { transform: none; opacity: 1; visibility: visible; }
  .menu-open .site-header { background: rgba(11, 22, 38, .97); }
  .nav a:not(.btn) { padding: 14px 6px; font-size: 1.05rem; border-bottom: 1px solid var(--line-light); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.nav-phone { display: flex; align-items: center; gap: 10px; color: var(--gold-2); font-weight: 600; }
  .nav-cta { margin: 16px 0 0; padding: 14px; }
  .header-actions { margin-left: auto; }

  .hero { padding: calc(var(--header-h) + 48px) 0 80px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; margin: 12px auto 0; width: 100%; }

  .cards { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; gap: 44px 22px; }
  .steps::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-visual { padding-bottom: 0; }
  .quote-card { position: relative; left: auto; bottom: auto; width: auto; margin: -56px 20px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; padding: 44px 36px; }
  .cta-actions { align-items: flex-start; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 16px; }
  .contact-grid, .cta-inner { width: calc(100% - 32px); }
  .brand { gap: 10px; }
  .brand-text { display: grid; font-size: 1.15rem; line-height: 1.05; }
  .brand-text span { font-family: var(--font-body); font-size: .6rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .75; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 44px; }
  .cards { grid-template-columns: 1fr; }
  .card { padding: 28px 24px; }
  .steps { grid-template-columns: 1fr; text-align: left; gap: 0; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; text-align: left; padding: 0 0 28px; }
  .step-num { grid-row: span 2; width: 56px; height: 56px; font-size: 1.15rem; margin: 0; box-shadow: 0 0 0 6px var(--sand); }
  .step h3 { margin: 4px 0 4px; }
  .values { grid-template-columns: 1fr; }
  .team-photo { border-radius: 22px; }
  .quote-card { margin: -44px 12px 0; padding: 24px 22px 22px; }
  .cta-band { padding-bottom: 80px; }
  .cta-inner { padding: 36px 24px; border-radius: 22px; }
  .cta-actions { width: 100%; align-items: stretch; }
  .cta-phone { justify-content: center; }
  .contact-grid { border-radius: 22px; }
  .contact-info, .form-card { padding: 40px 22px; }
  .field-row { grid-template-columns: 1fr; }
  .hero-ctas .btn { width: 100%; }
  .chip { font-size: .8rem; padding: 9px 12px; }
  .chip .icon { width: 26px; height: 26px; }
  .chip-a { top: 48px; }
  .hero-visual { padding: 20px 16px 112px 0; }
  .hero-visual::before { width: min(calc(100% - 16px), 420px); }
  .dash { width: 216px; padding: 14px 14px 16px; }
  .dash-list li { font-size: .8rem; }
  .site-footer { padding-top: 60px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee-track { animation: none; }
  .dash-progress span { width: 68%; }
  .js .reveal { opacity: 1; transform: none; }
}
