/* ============================================
   IBR CONSULTORES — sitio agentes
   Paleta: navy / steel / mist / amber / bone / carbon
   ============================================ */

:root {
  --navy:   #1C3D5A;
  --navy-2: #15304a;
  --navy-3: #0e2336;
  --steel:  #2A7FA8;
  --steel-2:#3a96c2;
  --mist:   #F0F7FA;
  --amber:  #C8820A;
  --amber-2:#e2980f;
  --bone:   #F5F5F3;
  --carbon: #2C2C2A;
  --line:   rgba(28, 61, 90, 0.12);
  --line-2: rgba(28, 61, 90, 0.20);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans:  "Space Grotesk", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --maxw: 1240px;
  --pad-x: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--carbon);
  background: var(--bone);
  font-feature-settings: "ss01", "ss02";
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
img, svg { display: block; max-width: 100%; }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

/* ============================================
   NAV
   ============================================ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background .35s var(--ease), backdrop-filter .35s var(--ease), border-color .35s var(--ease), padding .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(245, 245, 243, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom-color: var(--line);
  padding: 12px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
}
.brand-logo {
  height: 34px;
  width: auto;
  display: block;
  transition: opacity .25s var(--ease);
}
.brand:hover .brand-logo { opacity: 0.82; }
.nav.scrolled .brand-logo { height: 30px; }
@media (max-width: 480px) {
  .brand-logo { height: 28px; }
}

.nav-links {
  display: flex;
  gap: 32px;
  font-size: 14.5px;
  color: var(--carbon);
}
.nav-links a {
  position: relative;
  padding: 4px 0;
  opacity: 0.78;
  transition: opacity .2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: var(--navy);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn .arrow {
  width: 16px; height: 16px;
  transition: transform .3s var(--ease);
}
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--navy);
  color: var(--bone);
  box-shadow: 0 1px 0 rgba(255,255,255,0.1) inset, 0 8px 24px -10px rgba(28,61,90,0.4);
}
.btn-primary:hover {
  background: var(--navy-2);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.15) inset, 0 12px 32px -10px rgba(28,61,90,0.55);
}

.btn-amber {
  background: var(--amber);
  color: #1a1208;
  box-shadow: 0 1px 0 rgba(255,255,255,0.2) inset, 0 8px 24px -10px rgba(200,130,10,0.5);
}
.btn-amber:hover {
  background: var(--amber-2);
  transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.25) inset, 0 12px 32px -10px rgba(200,130,10,0.6);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover { background: rgba(28,61,90,0.04); border-color: var(--navy); }

.btn-steel {
  background: var(--steel);
  color: white;
  box-shadow: 0 1px 0 rgba(255,255,255,0.18) inset, 0 8px 24px -10px rgba(42,127,168,0.5);
}
.btn-steel:hover {
  background: var(--steel-2);
  transform: translateY(-1px);
}

.btn-lg { padding: 18px 28px; font-size: 16px; }

/* ============================================
   HERO
   ============================================ */
.hero {
  position: relative;
  padding: 140px 0 100px;
  background: var(--bone);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 60% at 85% 30%, rgba(42, 127, 168, 0.08), transparent 60%),
    radial-gradient(40% 40% at 15% 85%, rgba(200, 130, 10, 0.05), transparent 60%);
  z-index: -1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 120px 0 60px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  padding: 6px 14px;
  border: 1px solid rgba(42, 127, 168, 0.25);
  border-radius: 999px;
  background: rgba(42, 127, 168, 0.06);
}
.eyebrow .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--amber);
  box-shadow: 0 0 0 0 rgba(200, 130, 10, 0.6);
  animation: pulse-dot 2s ease-out infinite;
}
@keyframes pulse-dot {
  0% { box-shadow: 0 0 0 0 rgba(200,130,10, 0.6); }
  100% { box-shadow: 0 0 0 12px rgba(200,130,10, 0); }
}

.hero h1 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: var(--navy);
  margin: 24px 0 24px;
}
.hero h1 .serif {
  color: var(--steel);
  font-size: 1.05em;
  display: inline-block;
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  animation: word-in .9s var(--ease-out) forwards;
}
.hero h1 .word:nth-child(1) { animation-delay: 0.05s; }
.hero h1 .word:nth-child(2) { animation-delay: 0.15s; }
.hero h1 .word:nth-child(3) { animation-delay: 0.25s; }
.hero h1 .word:nth-child(4) { animation-delay: 0.35s; }
.hero h1 .word:nth-child(5) { animation-delay: 0.45s; }
.hero h1 .word:nth-child(6) { animation-delay: 0.55s; }
@keyframes word-in {
  to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(44, 44, 42, 0.75);
  max-width: 520px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fade-up .8s var(--ease-out) 0.7s forwards;
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up .8s var(--ease-out) 0.85s forwards;
}

.hero-meta {
  display: flex;
  gap: 28px;
  margin-top: 36px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fade-up .8s var(--ease-out) 1.0s forwards;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(44, 44, 42, 0.7);
}
.hero-meta-item svg { width: 18px; height: 18px; color: var(--steel); }

/* Hero orbit illustration */
.orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 520px;
  margin: 0 auto;
}
.orbit-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
}
.orbit-ring.r2 { inset: 12%; border-color: rgba(28,61,90,0.15); }
.orbit-ring.r3 { inset: 24%; border-color: rgba(28,61,90,0.1); }
.orbit-ring.r4 { inset: 36%; border-color: rgba(28,61,90,0.07); }

.orbit-spin { animation: spin 60s linear infinite; }
.orbit-spin-rev { animation: spin 45s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

.orbit-dot {
  position: absolute;
  border-radius: 50%;
  transform-origin: center;
}
.orbit-shape {
  position: absolute;
  top: 50%; left: 50%;
  width: 100%; height: 100%;
  transform: translate(-50%, -50%);
}

.orbit-core {
  position: absolute;
  inset: 36%;
  background: linear-gradient(140deg, var(--navy), var(--steel));
  border-radius: 50%;
  box-shadow:
    0 30px 60px -20px rgba(28,61,90,0.4),
    inset 0 1px 0 rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.orbit-core::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), transparent 50%);
}
.orbit-core svg {
  width: 50%; height: 50%;
  color: var(--bone);
  position: relative;
  z-index: 2;
  animation: float 4s ease-in-out infinite;
}

/* Photo core (family hero) */
.orbit-core-photo {
  inset: 20%;
  background: var(--navy);
  border: 5px solid var(--bone);
  box-shadow:
    0 30px 70px -22px rgba(28,61,90,0.5),
    inset 0 0 0 1px rgba(28,61,90,0.08);
  animation: float 6s ease-in-out infinite;
}
.orbit-core-photo::before { display: none; }
.orbit-core-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  display: block;
}
.orbit-badge {
  position: absolute;
  bottom: 14%;
  right: 12%;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--navy), var(--steel));
  display: grid;
  place-items: center;
  box-shadow: 0 16px 32px -12px rgba(28,61,90,0.55);
  z-index: 5;
  animation: float 4.5s ease-in-out infinite;
}
.orbit-badge svg {
  width: 50%;
  height: 50%;
  color: var(--bone);
}
@media (max-width: 920px) {
  .orbit-badge { width: 54px; height: 54px; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.orbit-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.6;
}
.blob-1 { width: 200px; height: 200px; background: var(--steel); top: -40px; right: -40px; animation: drift 12s ease-in-out infinite; }
.blob-2 { width: 160px; height: 160px; background: var(--amber); bottom: 20px; left: -30px; opacity: 0.4; animation: drift 14s ease-in-out infinite reverse; }
@keyframes drift {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -20px) scale(1.1); }
}

/* ============================================
   MARQUEE — aseguradoras
   ============================================ */
.marquee-section {
  padding: 48px 0;
  background: var(--bone);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.marquee-label {
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(44,44,42,0.5);
  margin-bottom: 24px;
}
.marquee {
  display: flex;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  flex-shrink: 0;
  animation: marquee 40s linear infinite;
  padding-right: 56px;
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee-track:hover { animation-play-state: paused; }
.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  height: 88px;
  min-width: 200px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.marquee-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px -14px rgba(28,61,90,0.25);
  border-color: var(--line-2);
}

/* Official logo images */
.lg-img {
  max-height: 48px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* Wordmark layout inside each tile */
.lg {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  font-family: var(--sans);
}
.lg-mark {
  font-size: 22px;
  line-height: 1;
  white-space: nowrap;
}
.lg-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  padding-left: 8px;
  border-left: 1px solid currentColor;
  margin-left: 2px;
}
.lg-sq {
  width: 10px; height: 10px;
  display: inline-block;
  align-self: flex-end;
  margin-bottom: 2px;
}
.lg-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  display: inline-block;
}

/* AXA: white wordmark on navy block with red diagonal slash */
.lg-axa {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 14px 12px;
  background: #00008F;
  border-radius: 2px;
  overflow: hidden;
}
.lg-axa-mark {
  color: white;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1;
}
.lg-axa-slash {
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 5px;
  height: 2.5px;
  background: #FF1721;
  transform: skewX(-26deg);
}

/* ============================================
   SECTION SCAFFOLDING
   ============================================ */
.section {
  padding: 120px 0;
  position: relative;
}
.section-mist { background: var(--mist); }
.section-navy { background: var(--navy); color: var(--bone); }
.section-bone { background: var(--bone); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}
.section-title {
  font-weight: 500;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--navy);
  max-width: 720px;
}
.section-navy .section-title { color: var(--bone); }
.section-title .serif { color: var(--steel); }
.section-navy .section-title .serif { color: var(--amber); }

.section-sub {
  font-size: 16px;
  color: rgba(44,44,42,0.7);
  max-width: 380px;
  line-height: 1.55;
}
.section-navy .section-sub { color: rgba(245,245,243,0.7); }

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 16px;
}
.section-navy .tag { color: var(--amber); }
.tag::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  display: inline-block;
}

/* ============================================
   COBERTURAS
   ============================================ */
.coverage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) {
  .coverage-grid { grid-template-columns: 1fr; }
}

.coverage {
  position: relative;
  background: white;
  border-radius: 24px;
  padding: 40px;
  border: 1px solid var(--line);
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.coverage:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px -24px rgba(28,61,90,0.25);
}
.coverage::before {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(42,127,168,0.06), transparent 70%);
  border-radius: 50%;
  transform: translate(40%, -40%);
  transition: transform .5s var(--ease);
}
.coverage:hover::before { transform: translate(30%, -30%) scale(1.2); }

.coverage-amber::before {
  background: radial-gradient(circle, rgba(200,130,10,0.08), transparent 70%);
}

.coverage-illu {
  width: 92px;
  height: 92px;
  margin-bottom: 24px;
  position: relative;
}
.coverage-illu svg { width: 100%; height: 100%; }

/* Photo banner that bleeds to card edges */
.coverage-media {
  position: relative;
  margin: -40px -40px 28px;
  height: 200px;
}
.coverage-media-frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}
.coverage-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  transition: transform .6s var(--ease);
}
.coverage:hover .coverage-media img { transform: scale(1.05); }
.coverage-media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(245,245,243,0) 45%, rgba(255,255,255,0.85) 100%);
  pointer-events: none;
}
.coverage-media-illu {
  position: absolute;
  right: 40px;
  bottom: -28px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: white;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 28px -12px rgba(28,61,90,0.35);
  z-index: 3;
}
.coverage-media-illu svg { width: 78%; height: 78%; }
@media (max-width: 480px) {
  .coverage-media { margin: -28px -28px 28px; height: 170px; }
  .coverage-media-frame { border-radius: 24px 24px 0 0; }
  .coverage-media-illu { right: 28px; }
}

.coverage h3 {
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  color: var(--navy);
  margin-bottom: 8px;
}
.coverage-desc {
  font-size: 15px;
  color: rgba(44,44,42,0.7);
  margin-bottom: 24px;
  line-height: 1.55;
}
.coverage-divider {
  height: 1px;
  background: var(--line);
  margin: 24px 0;
}
.coverage-label {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(44,44,42,0.5);
  margin-bottom: 16px;
}
.coverage-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 20px;
  margin-bottom: 32px;
}
@media (max-width: 480px) {
  .coverage-list { grid-template-columns: 1fr; }
  .coverage { padding: 28px; }
}
.coverage-list li {
  font-size: 14px;
  color: var(--carbon);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.4;
}
.coverage-list li::before {
  content: "";
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--steel);
  flex-shrink: 0;
  margin-top: 7px;
}
.coverage-amber .coverage-list li::before { background: var(--amber); }

.coverage-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.coverage-foot .btn { font-size: 14px; padding: 12px 20px; }
.coverage-foot .price-note {
  font-size: 13px;
  color: rgba(44,44,42,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ============================================
   POR QUÉ — benefits grid
   ============================================ */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,245,243,0.15);
  border: 1px solid rgba(245,245,243,0.15);
  border-radius: 20px;
  overflow: hidden;
}
@media (max-width: 880px) {
  .benefits { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .benefits { grid-template-columns: 1fr; }
}
.benefit {
  background: var(--navy);
  padding: 36px 32px;
  position: relative;
  transition: background .35s var(--ease);
  overflow: hidden;
}
.benefit:hover { background: var(--navy-2); }
.benefit-num {
  font-family: var(--serif);
  font-size: 14px;
  color: var(--amber);
  margin-bottom: 28px;
  letter-spacing: 0.05em;
}
.benefit-icon {
  width: 32px; height: 32px;
  margin-bottom: 20px;
  color: var(--steel-2);
  transition: transform .4s var(--ease), color .4s var(--ease);
}
.benefit:hover .benefit-icon { transform: scale(1.1) rotate(-3deg); color: var(--amber); }
.benefit h4 {
  font-size: 19px;
  font-weight: 500;
  color: var(--bone);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
  line-height: 1.25;
}
.benefit p {
  font-size: 14.5px;
  color: rgba(245,245,243,0.65);
  line-height: 1.55;
}

/* ============================================
   PROCESO — switch (auto / GMM)
   ============================================ */
.process-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 56px;
}
@media (max-width: 720px) {
  .process-switch { grid-template-columns: 1fr; }
}
.ps-btn {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 24px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 20px;
  text-align: left;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease), background .3s var(--ease), color .3s var(--ease);
  position: relative;
  overflow: hidden;
  color: var(--navy);
}
.ps-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -20px rgba(28,61,90,0.3);
  border-color: var(--line-2);
}
.ps-btn.is-active {
  background: var(--navy);
  color: var(--bone);
  border-color: var(--navy);
  box-shadow: 0 20px 50px -22px rgba(28,61,90,0.55);
}
.ps-btn[data-target="gmm"].is-active {
  background: linear-gradient(135deg, var(--navy), #6d4a0a);
  border-color: var(--amber);
}
.ps-icon {
  width: 36px; height: 36px;
  flex-shrink: 0;
  color: var(--steel);
  transition: color .3s var(--ease), transform .3s var(--ease);
}
.ps-btn.is-active .ps-icon { color: var(--amber); }
.ps-btn[data-target="gmm"] .ps-icon { color: var(--amber); }
.ps-btn[data-target="gmm"].is-active .ps-icon { color: var(--bone); }
.ps-btn:hover .ps-icon { transform: scale(1.08); }

.ps-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.ps-title {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.ps-sub {
  font-size: 13px;
  opacity: 0.6;
  letter-spacing: 0.01em;
}
.ps-btn.is-active .ps-sub { opacity: 0.7; }
.ps-arrow {
  width: 20px; height: 20px;
  flex-shrink: 0;
  opacity: 0.5;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.ps-arrow svg { width: 100%; height: 100%; }
.ps-btn:hover .ps-arrow { transform: translateX(3px); opacity: 0.9; }
.ps-btn.is-active .ps-arrow { opacity: 1; }

.process-panel {
  animation: panel-in .55s var(--ease-out);
}
.process-panel[hidden] { display: none; }
@keyframes panel-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.process-cta {
  margin-top: 48px;
  display: flex;
  justify-content: center;
}

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
@media (max-width: 920px) {
  .process { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 540px) {
  .process { grid-template-columns: 1fr; }
}

.step {
  position: relative;
  padding-top: 32px;
}
.step::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  background: var(--line);
}
.step.is-active::before {
  background: var(--navy);
}
.step-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--steel);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.step-num-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--steel);
}
.step h4 {
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.2;
}
.step p {
  font-size: 14.5px;
  color: rgba(44,44,42,0.7);
  line-height: 1.55;
}

/* ============================================
   FAQ
   ============================================ */
.faq-wrap {
  max-width: 820px;
  margin: 0 auto;
}
.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 24px 0;
  font-size: clamp(18px, 1.7vw, 22px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  text-align: left;
  gap: 24px;
  transition: color .25s var(--ease);
}
.faq-q:hover { color: var(--steel); }
.faq-toggle {
  width: 32px; height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid;
  place-items: center;
  position: relative;
  transition: background .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.faq-toggle::before, .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--navy);
  border-radius: 1px;
  transition: transform .35s var(--ease);
}
.faq-toggle::before { width: 12px; height: 1.5px; }
.faq-toggle::after { width: 1.5px; height: 12px; }
.faq-item.open .faq-toggle {
  background: var(--navy);
  border-color: var(--navy);
}
.faq-item.open .faq-toggle::before,
.faq-item.open .faq-toggle::after {
  background: var(--bone);
}
.faq-item.open .faq-toggle::after { transform: rotate(90deg); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .45s var(--ease);
}
.faq-a-inner {
  overflow: hidden;
}
.faq-a-inner p {
  padding-bottom: 24px;
  font-size: 16px;
  color: rgba(44,44,42,0.72);
  line-height: 1.6;
  max-width: 640px;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ============================================
   FINAL CTA
   ============================================ */
.final-cta {
  padding: 120px 0;
  background: var(--navy);
  color: var(--bone);
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: "";
  position: absolute;
  bottom: -50%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,130,10,0.18), transparent 60%);
  border-radius: 50%;
  filter: blur(20px);
}
.final-cta::after {
  content: "";
  position: absolute;
  top: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(42,127,168,0.25), transparent 60%);
  border-radius: 50%;
  filter: blur(20px);
}
.final-cta .wrap { position: relative; z-index: 1; text-align: center; }
.final-cta h2 {
  font-weight: 500;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.final-cta h2 .serif { color: var(--amber); }
.final-cta p {
  font-size: clamp(16px, 1.4vw, 19px);
  color: rgba(245,245,243,0.7);
  max-width: 560px;
  margin: 0 auto 40px;
  line-height: 1.55;
}

/* ============================================
   FOOTER
   ============================================ */
.foot {
  background: var(--carbon);
  color: rgba(245,245,243,0.7);
  padding: 80px 0 32px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}
@media (max-width: 760px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
.foot-brand {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.foot-logo {
  height: 44px;
  width: auto;
  display: block;
}
.foot p { font-size: 14.5px; line-height: 1.6; max-width: 280px; }
.foot h5 {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,245,243,0.5);
  margin-bottom: 18px;
  font-weight: 500;
}
.foot ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 14.5px; }
.foot ul a { transition: color .2s; }
.foot ul a:hover { color: var(--bone); }

.foot-bottom {
  border-top: 1px solid rgba(245,245,243,0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
  color: rgba(245,245,243,0.5);
  flex-wrap: wrap;
}

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }
.reveal[data-delay="5"] { transition-delay: .40s; }
.reveal[data-delay="6"] { transition-delay: .48s; }

/* WhatsApp icon */
.wa-icon { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================
   WHATSAPP POPUP (fallback)
   ============================================ */
.wa-popup {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wa-popup.open { display: flex; animation: wa-fade .25s var(--ease-out); }
@keyframes wa-fade { from { opacity: 0; } to { opacity: 1; } }

.wa-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 35, 54, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.wa-popup-card {
  position: relative;
  background: var(--bone);
  border-radius: 24px;
  padding: 44px 36px 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: 0 40px 80px -30px rgba(14, 35, 54, 0.6);
  animation: wa-slide .35s var(--ease-out);
  border: 1px solid var(--line);
}
@keyframes wa-slide {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.wa-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--carbon);
  opacity: 0.55;
  transition: opacity .2s, background .2s;
}
.wa-popup-close:hover { opacity: 1; background: rgba(28,61,90,0.08); }
.wa-popup-close svg { width: 16px; height: 16px; }

.wa-popup-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: white;
  box-shadow: 0 10px 24px -8px rgba(37, 211, 102, 0.5);
}
.wa-popup-icon svg { width: 32px; height: 32px; }

.wa-popup-title {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 8px;
}

.wa-popup-sub {
  font-size: 14.5px;
  color: rgba(44, 44, 42, 0.7);
  line-height: 1.5;
  margin-bottom: 22px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.wa-popup-number {
  font-family: var(--sans);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--navy);
  background: white;
  border: 1px dashed var(--line-2);
  border-radius: 14px;
  padding: 18px 24px;
  margin-bottom: 22px;
  user-select: all;
}

.wa-popup-actions {
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.wa-popup-actions .btn {
  width: 100%;
  justify-content: center;
}
.wa-copy-btn span { transition: opacity .2s; }
