/* ============================================================
   CORCO SEGUROS — main.css v2
   Premium redesign. Apple/Bose-level restraint.
   Deep blue + gold + cream palette.
   Mobile-first. No framework. No dependencies.
   ============================================================ */

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

/* ── Design Tokens ─────────────────────────────────────────── */
:root {
  /* Blue scale */
  --blue-950:  #06101E;
  --blue-900:  #08111F;
  --blue-800:  #0F1E35;
  --blue-700:  #1B2A4A;
  --blue-600:  #243358;
  --blue-100:  #EBF0F8;

  /* Gold */
  --gold:      #C9A96E;
  --gold-lt:   #DFC28E;
  --gold-pale: rgba(201,169,110,0.15);
  --gold-dim:  rgba(201,169,110,0.06);

  /* Cream scale */
  --cream-50:  #FAFAF8;
  --cream-100: #F6F1EA;
  --cream-200: #EFE9DF;
  --cream-300: #E5DDD0;

  /* Text */
  --ink:       #0A0F1A;
  --ink-mid:   #54504A;
  --ink-light: #FAFAF8;
  --ink-dim:   rgba(250,250,248,0.55);

  /* Borders */
  --border:    rgba(0,0,0,0.065);
  --border-cream: #DDD8CE;
  --border-gold: rgba(201,169,110,0.22);

  /* Type */
  --serif: Georgia, 'Times New Roman', serif;
  --sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --nav-h: 66px;
  --max-w: 1160px;

  /* Radius */
  --r-sm: 4px;
  --r:    8px;
  --r-lg: 14px;
  --r-xl: 20px;

  /* Shadows */
  --sh-xs: 0 1px 2px rgba(0,0,0,0.05);
  --sh-sm: 0 2px 8px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.04);
  --sh-md: 0 8px 24px rgba(0,0,0,0.09), 0 2px 6px rgba(0,0,0,0.04);
  --sh-lg: 0 20px 48px rgba(0,0,0,0.13), 0 4px 12px rgba(0,0,0,0.05);
}

/* ── Base ───────────────────────────────────────────────────── */
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--sans);
  background: var(--cream-50);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
[id] { scroll-margin-top: calc(var(--nav-h) + 1.5rem); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ── Layout ─────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

section { padding-block: clamp(4.5rem, 9vw, 7rem); }

/* ── Eyebrow ─────────────────────────────────────────────────── */
.eyebrow {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--r);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.18s, box-shadow 0.18s;
  min-height: 44px;
  border: none;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-gold {
  background: var(--gold);
  color: var(--blue-900);
}
.btn-gold:hover { background: var(--gold-lt); box-shadow: 0 4px 16px rgba(201,169,110,0.3); }

.btn-ghost {
  background: transparent;
  color: var(--ink-light);
  border: 1px solid rgba(250,250,248,0.2);
}
.btn-ghost:hover { border-color: rgba(250,250,248,0.6); background: rgba(250,250,248,0.04); }

.btn-wa {
  background: #22c55e;
  color: #fff;
}
.btn-wa:hover { background: #16a34a; box-shadow: 0 4px 14px rgba(34,197,94,0.3); }

.btn-wa-subtle {
  background: transparent;
  color: var(--cream-50);
  border: 1px solid rgba(34,197,94,0.35);
}
.btn-wa-subtle:hover { border-color: #22c55e; background: rgba(34,197,94,0.12); }

.btn-outline {
  background: transparent;
  color: var(--blue-700);
  border: 1px solid var(--border-cream);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.wa-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ── Utility ─────────────────────────────────────────────────── */
.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;
}

/* ══════════════════════════════════════════════════════════════
   NAV — v3 / Transparent · Editorial · Glass-on-scroll
══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--nav-h);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 0.5s cubic-bezier(0.22,1,0.36,1),
    border-color 0.5s ease;
}

/* Collapse header — nav is fixed, header must not create a gap */
header { height: 0; overflow: visible; }

/* No top padding on main — hero section absorbs the nav offset below */

/* Glass state — triggered by JS .nav--scrolled */
.nav.nav--scrolled {
  background: rgba(246,241,234,0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom-color: rgba(201,169,110,0.15);
}

/* Subtle gold underline that reveals on scroll */
.nav::after {
  content: '';
  position: absolute;
  bottom: 0; left: 8%; right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.3) 35%, rgba(201,169,110,0.3) 65%, transparent);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.nav.nav--scrolled::after { opacity: 1; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 2rem;
}

/* ── Dual-logo: opacity cross-fade (avoids layout double-render) ── */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  height: 28px;
}
.nav__logo img {
  height: 28px;
  width: auto;
  display: block;
  transition: opacity 0.45s ease;
}
/* Light logo: visible on transparent dark nav */
.nav__logo-light { opacity: 1; }
/* Dark logo: overlaid, hidden until scroll */
.nav__logo-dark {
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
}
.nav--scrolled .nav__logo-light { opacity: 0; }
.nav--scrolled .nav__logo-dark  { opacity: 1; pointer-events: auto; }

/* ── Editorial nav links ── */
.nav__links {
  display: none;
  align-items: center;
  gap: 3rem;
  flex: 1;
  justify-content: center;
}

.nav__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 0.32rem;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.55);
  transition: color 0.22s;
}
.nav__links a:hover { color: rgba(250,250,248,0.95); }
.nav--scrolled .nav__links a { color: rgba(10,15,26,0.42); }
.nav--scrolled .nav__links a:hover { color: var(--gold); }

/* Superscript link numbers */
.nav__link-num {
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--gold);
  opacity: 0.6;
  letter-spacing: 0.06em;
  position: relative;
  top: -0.15em;
}

/* ── Right cluster ── */
.nav__right { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

/* Ghost on dark · Green on scroll */
.nav__wa {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1.1rem;
  border-radius: var(--r);
  font-size: 0.76rem;
  font-weight: 600;
  min-height: 36px;
  letter-spacing: 0.02em;
  background: rgba(255,255,255,0.08);
  color: var(--cream-50);
  border: 1px solid rgba(255,255,255,0.16);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
}
.nav__wa:hover {
  background: rgba(255,255,255,0.16);
  border-color: rgba(255,255,255,0.28);
}
.nav--scrolled .nav__wa {
  background: #22c55e;
  color: #fff;
  border-color: transparent;
}
.nav--scrolled .nav__wa:hover { background: #16a34a; }

/* ── Hamburger — white on dark · navy on glass ── */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
  width: 44px; height: 44px;
  background: none; border: none;
  cursor: pointer; padding: 0;
}
.nav__hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(250,250,248,0.8);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.3s;
  transform-origin: center;
}
.nav--scrolled .nav__hamburger span { background: var(--blue-700); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Mobile menu — dark glass always ── */
.nav__mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: rgba(6,16,30,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom: 1px solid rgba(201,169,110,0.1);
  padding: 1.75rem clamp(1.25rem,4vw,2rem) 2.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}
.nav__mobile-menu.open { display: flex; }
.nav__mobile-menu a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.55);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: color 0.18s;
}
.nav__mobile-menu a:last-child { border-bottom: none; }
.nav__mobile-menu a:hover { color: var(--gold); }
/* Numbers are desktop-only editorial detail — hidden in mobile menu */
.nav__mobile-menu .nav__link-num { display: none; }

@media (min-width: 768px) {
  .nav__links { display: flex; }
  .nav__hamburger { display: none; }
  .nav__mobile-menu { display: none !important; }
}

/* ══════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--blue-900);
  background-image:
    radial-gradient(ellipse 60% 50% at 72% 40%, rgba(201,169,110,0.09) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(27,42,74,0.6) 0%, transparent 70%),
    radial-gradient(rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: auto, auto, 30px 30px;
  padding-block: calc(var(--nav-h) + clamp(4.5rem, 10vw, 7rem)) clamp(6rem, 14vw, 10rem);
}

/* Thin gold accent line at base */
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(201,169,110,0.35) 25%, rgba(201,169,110,0.35) 75%, transparent 100%);
}

.hero__layout {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.hero__eyebrow {
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__headline {
  font-size: clamp(3.2rem, 9vw, 7rem);
  color: var(--cream-50);
  line-height: 0.97;
  letter-spacing: -0.03em;
}

.hero__headline em {
  color: var(--gold);
  font-style: italic;
}

.hero__rule {
  width: 52px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-block: 0.25rem;
}

.hero__promise {
  font-family: var(--serif);
  font-size: clamp(1.05rem, 2.5vw, 1.35rem);
  color: rgba(250,250,248,0.9);
  font-style: italic;
  font-weight: 400;
  line-height: 1.45;
}

.hero__sub {
  font-size: 0.93rem;
  color: var(--ink-dim);
  max-width: 460px;
  line-height: 1.75;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 0.5rem;
}

/* Hero cards column — always visible, column on mobile */
.hero__guide-teaser {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 680px;
}

.hero__guide-teaser > svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  opacity: 0.95;
}

@media (min-width: 900px) {
  .hero__guide-teaser {
    flex-direction: row;
    gap: 1.25rem;
    max-width: 900px;
  }
  .hero__guide-teaser .hero-card { flex: 1; }
}

/* ══════════════════════════════════════════════════════════════
   COBERTURA CONSULTIVA
══════════════════════════════════════════════════════════════ */
.services {
  background-color: var(--blue-950);
  background-image:
    radial-gradient(ellipse 55% 55% at 85% 15%, rgba(201,169,110,0.07) 0%, transparent 65%),
    radial-gradient(rgba(201,169,110,0.03) 1px, transparent 1px);
  background-size: auto, 30px 30px;
  position: relative;
}

.services__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

.services__intro {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.services__title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--cream-50);
  line-height: 1.1;
}

.services__desc {
  font-size: 0.95rem;
  color: var(--ink-dim);
  line-height: 1.75;
  max-width: 320px;
}

.services__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ── Glass service card ── */
.service-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3rem);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), inset 0 1px 0 rgba(255,255,255,0.07);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), box-shadow 0.45s ease, border-color 0.3s ease;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-6px) rotateX(1.5deg);
  box-shadow: 0 28px 64px rgba(0,0,0,0.5), 0 0 40px rgba(201,169,110,0.08), inset 0 1px 0 rgba(255,255,255,0.12);
  border-color: rgba(201,169,110,0.25);
}

/* Corner bracket — top left */
.service-card::before {
  content: '';
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  width: 16px; height: 16px;
  border-top: 1px solid var(--gold);
  border-left: 1px solid var(--gold);
  border-radius: 2px 0 0 0;
}

/* Corner bracket — bottom right */
.service-card::after {
  content: '';
  position: absolute;
  bottom: 1.2rem; right: 1.2rem;
  width: 16px; height: 16px;
  border-bottom: 1px solid var(--gold);
  border-right: 1px solid var(--gold);
  border-radius: 0 0 2px 0;
}

.service-card__label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.service-card__num {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--gold);
}

.service-card__icon {
  width: 36px; height: 36px;
  color: var(--gold);
  flex-shrink: 0;
}

.service-card__title {
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  color: var(--cream-50);
}

.service-card__body {
  font-size: 0.95rem;
  color: rgba(250,250,248,0.65);
  line-height: 1.72;
  flex: 1;
}

@media (min-width: 900px) {
  .services__layout {
    grid-template-columns: 1fr;
  }
  .services__cards {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   OTROS SERVICIOS
══════════════════════════════════════════════════════════════ */
.other-services {
  background-color: var(--blue-800);
  background-image: radial-gradient(rgba(201,169,110,0.035) 1px, transparent 1px);
  background-size: 30px 30px;
}

.other-services__header {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 0.75rem;
}

.other-services__title {
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  color: var(--cream-50);
}

.other-services__sub {
  font-size: 0.93rem;
  color: var(--ink-dim);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.other-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.other-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--r-lg);
  padding: 1.75rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2), inset 0 1px 0 rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
}
.other-card:hover {
  border-color: rgba(201,169,110,0.28);
  box-shadow: 0 14px 40px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.09);
  transform: translateY(-4px);
}

.other-card__title {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--cream-50);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.other-card__body {
  font-size: 0.88rem;
  color: rgba(250,250,248,0.55);
  line-height: 1.65;
  flex: 1;
}

.other-card .btn {
  align-self: flex-start;
  font-size: 0.8rem;
  padding: 0.55rem 1rem;
  min-height: 36px;
}

@media (min-width: 600px) { .other-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .other-grid { grid-template-columns: repeat(4,1fr); } }

/* ══════════════════════════════════════════════════════════════
   COMPARATIVE TABLE
══════════════════════════════════════════════════════════════ */
.coverage-table { background: var(--cream-50); }

.coverage-table__header {
  max-width: 580px;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.coverage-table__title {
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  color: var(--blue-700);
}

.coverage-table__sub {
  font-size: 0.93rem;
  color: var(--ink-mid);
  line-height: 1.65;
}

.coverage-table__wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: 1px solid var(--border-cream);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}

table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: #fff;
}

thead th {
  background: var(--blue-700);
  padding: 1.1rem 1.5rem;
  text-align: left;
  font-family: var(--serif);
  font-size: 0.97rem;
  font-weight: 700;
  border-right: 1px solid rgba(250,250,248,0.05);
}
thead th:last-child { border-right: none; }
thead th:first-child {
  color: rgba(250,250,248,0.45);
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
thead th:not(:first-child) { color: var(--gold); }

tbody tr { border-bottom: 1px solid var(--border); }
tbody tr:last-child { border-bottom: none; }
tbody tr:nth-child(even) { background: #F8F5F1; }
tbody td {
  padding: 0.9rem 1.5rem;
  font-size: 0.89rem;
  color: var(--ink-mid);
}
tbody td:first-child { color: var(--ink); font-weight: 500; }

.check { color: #15803D; font-size: 0.95rem; }
.dash  { color: #C4BDB5; font-size: 0.95rem; }
.dash-opt {
  color: #C4BDB5;
  font-size: 0.95rem;
  position: relative;
}
.dash-opt sup {
  font-size: 0.55rem;
  color: var(--gold);
  font-weight: 700;
  vertical-align: super;
  line-height: 0;
  margin-left: 1px;
  opacity: 0.85;
}

.table-footnote {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--ink-mid);
  line-height: 1.6;
  padding-left: 0.25rem;
  border-left: 2px solid rgba(201,169,110,0.35);
  padding-left: 0.75rem;
}
.table-footnote sup {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.65rem;
  vertical-align: super;
  line-height: 0;
}

.table-cta-row td {
  padding: 1.5rem;
  background: var(--cream-100);
  border-radius: 0 0 var(--r-lg) var(--r-lg);
}
.table-cta-row .btn { width: 100%; justify-content: center; }

/* ══════════════════════════════════════════════════════════════
   LEAD INTAKE FORM / CONTACT
══════════════════════════════════════════════════════════════ */
.contact {
  background-color: var(--blue-800);
  background-image: radial-gradient(rgba(201,169,110,0.04) 1px, transparent 1px);
  background-size: 30px 30px;
}

.contact__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: start;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact__title {
  font-size: clamp(1.9rem, 5vw, 2.8rem);
  color: var(--cream-50);
  line-height: 1.05;
}

.contact__sub {
  font-size: 0.93rem;
  color: var(--ink-dim);
  line-height: 1.75;
  max-width: 360px;
}

/* Lead magnet frosted card */
.lead-magnet {
  position: relative;
  border: 1px solid var(--border-gold);
  border-radius: var(--r-lg);
  padding: 2rem;
  overflow: hidden;
  margin-top: 0.75rem;
}
.lead-magnet::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(8,17,31,0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 1;
}
.lead-magnet__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.lead-magnet__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--gold);
  color: var(--blue-900);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.28rem 0.65rem;
  border-radius: 50px;
  width: fit-content;
}
.lead-magnet__title {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream-50);
  opacity: 0.42;
  font-style: italic;
}
.lead-magnet__sub {
  font-size: 0.82rem;
  color: rgba(250,250,248,0.35);
  line-height: 1.55;
}

/* Form */
.intake-form {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.6);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(250,250,248,0.055);
  border: 1px solid rgba(250,250,248,0.1);
  border-radius: var(--r);
  color: var(--cream-50);
  font-size: 0.93rem;
  font-family: var(--sans);
  min-height: 48px;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input::placeholder { color: rgba(250,250,248,0.25); }
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(250,250,248,0.08);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%23C9A96E' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 11px;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-group select option { background: var(--blue-800); color: var(--cream-50); }

.intake-form .btn-gold {
  align-self: flex-start;
  margin-top: 0.5rem;
}

@media (min-width: 900px) {
  .contact__layout {
    grid-template-columns: 1fr 1fr;
    gap: 5.5rem;
  }
}

/* ══════════════════════════════════════════════════════════════
   HERITAGE / ABOUT
══════════════════════════════════════════════════════════════ */
.about { background: var(--cream-100); }

/* Full-width pull quote — editorial, leads the section */
.about__pullquote {
  max-width: 800px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1.5rem, 4vw, 3rem);
  background: #fff;
  border-radius: var(--r-xl);
  box-shadow: var(--sh-sm);
  border-top: 2px solid var(--gold);
  text-align: center;
}

.about__pullquote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--blue-700);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

.about__pullquote cite {
  display: block;
  font-style: normal;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 1rem;
}

/* Two-column layout below */
.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.about__title {
  font-size: clamp(1.8rem, 4.5vw, 2.6rem);
  color: var(--blue-700);
  line-height: 1.1;
}

.about__copy p {
  font-size: 0.97rem;
  color: var(--ink-mid);
  line-height: 1.8;
}

.about__photo img {
  width: 100%;
  max-width: 320px;
  border-radius: var(--r-xl);
  display: block;
  box-shadow: var(--sh-md);
}

@media (min-width: 768px) {
  .about__inner {
    grid-template-columns: 1fr 300px;
    gap: 5rem;
  }
  .about__photo img { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--blue-950);
  border-top: 1px solid rgba(201,169,110,0.12);
  padding-top: 3.5rem;
}

.footer__main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
}

.footer__brand img { height: 24px; margin-bottom: 0.75rem; }

.footer__brand p {
  font-size: 0.83rem;
  color: rgba(250,250,248,0.38);
  line-height: 1.65;
}

.footer__col-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
  display: block;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer__nav a {
  font-size: 0.86rem;
  color: rgba(250,250,248,0.5);
  transition: color 0.18s;
}
.footer__nav a:hover { color: var(--cream-50); }

.footer__contact { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__contact .btn { align-self: flex-start; }

.footer__privacy {
  font-size: 0.8rem;
  color: rgba(250,250,248,0.35);
  transition: color 0.18s;
}
.footer__privacy:hover { color: var(--cream-50); }

.footer__bar {
  border-top: 1px solid rgba(250,250,248,0.05);
  padding-block: 1.25rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(250,250,248,0.25);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .footer__main { grid-template-columns: 1.6fr 1fr 1fr; }

}

/* ══════════════════════════════════════════════════════════════
   CONTEMPORARY LUXURY GRAPHICS LAYER
   Ghost numerals · Diamond separators · Texture · Ambient SVG
══════════════════════════════════════════════════════════════ */

/* ── Ghost section numerals ──────────────────────────────────
   Large faint serif numbers behind section content.
   Reference: Brunello Cucinelli, Monocle editorial.
───────────────────────────────────────────────────────────── */
.ghost-num {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(7rem, 16vw, 13rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.05em;
  color: rgba(201,169,110,0.055);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

.ghost-num--top-right  { top: 1rem; right: 0; }
.ghost-num--top-left   { top: 1rem; left: 0; }
.ghost-num--dark {
  color: rgba(201,169,110,0.06);
}

/* Services section needs position:relative for ghost nums — NO overflow:hidden */
.services { position: relative; }
.other-services { position: relative; }
.about { position: relative; }

/* ── Card background numeral ─────────────────────────────────
   Faint large serif number anchored bottom-right of premium cards.
───────────────────────────────────────────────────────────── */
.card-bg-num {
  position: absolute;
  bottom: 0.75rem;
  right: 1.5rem;
  font-family: var(--serif);
  font-size: 5.5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(201,169,110,0.07);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ── Diamond section separator ───────────────────────────────
   Thin gold line + rotated diamond dot.
   Signals editorial precision and luxury.
───────────────────────────────────────────────────────────── */
.sep {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding-block: 0;
  position: relative;
}

.sep__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.25) 60%);
}

.sep__line--right {
  background: linear-gradient(90deg, rgba(201,169,110,0.25) 40%, transparent);
}

.sep__diamond {
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* ── Fine diagonal stripe texture on other-cards ─────────────
   Very faint cross-hatch on dark glass — material depth.
───────────────────────────────────────────────────────────── */
.other-card {
  background-image:
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 18px,
      rgba(201,169,110,0.03) 18px,
      rgba(201,169,110,0.03) 19px
    );
}

/* ── About: Abstract lineage SVG container ───────────────────
   Two flowing paths = two generations merging into a promise.
───────────────────────────────────────────────────────────── */
.about__ambient {
  position: absolute;
  top: 0; right: 0;
  width: 50%;
  max-width: 480px;
  height: 100%;
  pointer-events: none;
  opacity: 0.9;
  overflow: hidden;
}

.about__ambient svg {
  width: 100%;
  height: 100%;
}

/* ── Pull quote: large decorative mark ───────────────────────*/
.pullquote-mark {
  display: block;
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.7;
  color: var(--gold);
  opacity: 0.22;
  font-style: normal;
  margin-bottom: 0.25rem;
  user-select: none;
  letter-spacing: -0.05em;
}

/* ── Services: eyebrow accent line ──────────────────────────── */
.eyebrow-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.eyebrow-line {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--gold);
}

/* ── Ambient noise texture on hero (fine grain) ─────────────
   Stacked on top of the dot grid for material depth.
───────────────────────────────────────────────────────────── */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(201,169,110,0.012) 2px,
      rgba(201,169,110,0.012) 3px
    );
  pointer-events: none;
  z-index: 0;
}

/* ── Contact: ambient corner arc SVG container ───────────────*/
.contact__ambient {
  position: absolute;
  top: 0; right: 0;
  width: 320px; height: 320px;
  pointer-events: none;
  opacity: 1;
}

.contact { position: relative; overflow: hidden; }
.contact__ambient svg { width: 100%; height: 100%; }

/* ══════════════════════════════════════════════════════════════
   MOTION & GLASS DYNAMICS — v3
   Cutting-edge scroll reveals · Hero entrance · Translucent surfaces
══════════════════════════════════════════════════════════════ */

/* ── Keyframes ───────────────────────────────────────────────── */
@keyframes fadeUpIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── Scroll progress bar ─────────────────────────────────────── */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-lt) 55%, rgba(201,169,110,0.35) 100%);
  z-index: 9999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* ── Hero entrance animations ────────────────────────────────── */
.hero__eyebrow  { animation: fadeUpIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.10s both; }
.hero__headline { animation: fadeUpIn 0.9s cubic-bezier(0.22,1,0.36,1) 0.25s both; }
.hero__rule     { animation: fadeUpIn 0.7s cubic-bezier(0.22,1,0.36,1) 0.42s both; }
.hero__promise  { animation: fadeUpIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.52s both; }
.hero__sub      { animation: fadeUpIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.64s both; }
.hero__ctas     { animation: fadeUpIn 0.8s cubic-bezier(0.22,1,0.36,1) 0.80s both; }
.hero__guide-teaser { animation: fadeIn 1.4s ease 0.55s both; }

/* ── Scroll reveal utility ───────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity   0.75s cubic-bezier(0.22,1,0.36,1),
    transform 0.75s cubic-bezier(0.22,1,0.36,1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal--d1 { transition-delay: 0.08s; }
.reveal--d2 { transition-delay: 0.18s; }
.reveal--d3 { transition-delay: 0.30s; }
.reveal--d4 { transition-delay: 0.44s; }

/* ── 3D perspective container for service cards ──────────────── */
@media (min-width: 900px) {
  .services__cards { perspective: 1600px; }
  .service-card { transform-style: preserve-3d; }
}

/* ── Dark section separator bridge ──────────────────────────── */
.hero + .sep {
  background: linear-gradient(to bottom, var(--blue-900), var(--blue-950));
}
.services + .other-services {
  border-top: 1px solid rgba(255,255,255,0.04);
}

/* ══════════════════════════════════════════════════════════════
   RECURSOS — Editorial resource / guide cards
══════════════════════════════════════════════════════════════ */
.resources {
  background-color: var(--blue-950);
  background-image:
    radial-gradient(ellipse 50% 60% at 15% 80%, rgba(201,169,110,0.06) 0%, transparent 65%),
    radial-gradient(rgba(201,169,110,0.025) 1px, transparent 1px);
  background-size: auto, 30px 30px;
  position: relative;
}

.resources__header {
  max-width: 640px;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.resources__title {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  color: var(--cream-50);
  line-height: 1.1;
}

.resources__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

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

/* ── Resource card — editorial glass ── */
.resource-card {
  position: relative;
  background: rgba(255,255,255,0.045);
  border: 1px solid rgba(255,255,255,0.09);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--r-xl);
  padding: clamp(1.75rem, 4vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.35s ease, transform 0.35s cubic-bezier(0.22,1,0.36,1);
  overflow: hidden;
}
.resource-card:hover {
  border-color: rgba(201,169,110,0.25);
  box-shadow: 0 16px 44px rgba(0,0,0,0.4);
  transform: translateY(-4px);
}

/* Corner bracket */
.resource-card::before {
  content: '';
  position: absolute;
  top: 1.2rem; left: 1.2rem;
  width: 14px; height: 14px;
  border-top: 1px solid rgba(201,169,110,0.4);
  border-left: 1px solid rgba(201,169,110,0.4);
  border-radius: 2px 0 0 0;
}

.resource-card__tag {
  display: inline-flex;
  align-items: center;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}

.resource-card__title {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: var(--cream-50);
  line-height: 1.35;
  letter-spacing: -0.01em;
  flex: 1;
}

.resource-card__desc {
  font-size: 0.88rem;
  color: rgba(250,250,248,0.5);
  line-height: 1.65;
}

.resource-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.75;
  margin-top: auto;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(201,169,110,0.12);
  transition: opacity 0.2s, gap 0.2s;
}
.resource-card__link:hover { opacity: 1; gap: 0.65rem; }

/* ══════════════════════════════════════════════════════════════
   HERO CARDS — Guide hook + Webinar (right column stack)
══════════════════════════════════════════════════════════════ */

/* Base card */
.hero-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(201,169,110,0.15);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-radius: var(--r-xl);
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.28), inset 0 1px 0 rgba(255,255,255,0.07);
}
.hero-card::before {
  content: '';
  position: absolute;
  top: 0; left: 12%; right: 12%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,169,110,0.45) 50%, transparent);
}

/* Guide card — slightly more prominent */
.hero-card--guide {
  border-color: rgba(201,169,110,0.22);
}

/* Webinar card — accent border top */
.hero-card--webinar {
  border-color: rgba(255,255,255,0.08);
}
.hero-card--webinar::before {
  background: linear-gradient(90deg, transparent, rgba(250,250,248,0.2) 50%, transparent);
}

/* Eyebrow row */
.hero-card__eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.hero-card__tag {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero-card__tag--accent { color: rgba(250,250,248,0.7); }

.hero-card__badge {
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(250,250,248,0.38);
  border: 1px solid rgba(250,250,248,0.14);
  padding: 0.18em 0.55em;
  border-radius: 2em;
  white-space: nowrap;
}
.hero-card__badge--live {
  color: #4ade80;
  border-color: rgba(74,222,128,0.25);
}

/* Card title */
.hero-card__title {
  font-family: var(--serif);
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--cream-50);
  margin: 0;
}
.hero-card__title--sm {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem);
}

/* Opportunity list (guide card) */
.hero-card__opps {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.hero-card__opps li {
  font-size: 0.8rem;
  color: rgba(250,250,248,0.55);
  padding-left: 1rem;
  position: relative;
  line-height: 1.5;
}
.hero-card__opps li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--gold);
  opacity: 0.7;
  font-size: 0.7rem;
  top: 0.05em;
}

/* Webinar meta line */
.hero-card__webinar-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: rgba(250,250,248,0.42);
  margin: 0;
}
.hero-card__webinar-meta svg { flex-shrink: 0; opacity: 0.6; }

/* CTA buttons */
.hero-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(201,169,110,0.13);
  border: 1px solid rgba(201,169,110,0.3);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: var(--r-pill);
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.2s;
  width: fit-content;
}
.hero-card__cta:hover {
  background: rgba(201,169,110,0.24);
  border-color: rgba(201,169,110,0.55);
  color: var(--cream-50);
  transform: translateX(2px);
}
.hero-card__cta .wa-icon { width: 13px; height: 13px; flex-shrink: 0; }

/* Ghost variant (webinar WA) */
.hero-card__cta--ghost {
  background: transparent;
  border-color: rgba(250,250,248,0.15);
  color: rgba(250,250,248,0.6);
}
.hero-card__cta--ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(250,250,248,0.3);
  color: var(--cream-50);
}

/* Calendly CTA */
.hero-card__cta--calendly {
  background: rgba(0,100,230,0.12);
  border-color: rgba(0,100,230,0.28);
  color: #7ab4ff;
}
.hero-card__cta--calendly:hover {
  background: rgba(0,100,230,0.22);
  border-color: rgba(0,100,230,0.5);
  color: #acd0ff;
}
.hero-card__cta--calendly svg { flex-shrink: 0; }

/* Actions row for multiple CTAs */
.hero-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

/* ══════════════════════════════════════════════════════════════
   SECTION-LEVEL WA CTA — Services & Other Services
══════════════════════════════════════════════════════════════ */
.services__cta {
  margin-top: 3rem;
  display: flex;
  justify-content: flex-end;
}

.other-services__cta {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
}
