/* ============================================================
   Saxcredit — sitio oficial (saxcredit.com)
   Marca: navy #05234B + verde #00D2A7 · Poppins / Inter
   ============================================================ */

:root {
  --navy:        #05234B;
  --navy-900:    #041A38;
  --navy-800:    #0A2F63;
  --navy-line:   #123C6E;
  --green:       #00B892;
  --green-bright:#00D2A7;
  --green-soft:  #E5FAF5;
  --coral:       #FF5A5F;

  --ink:         #12233B;
  --ink-soft:    #43566E;
  --muted:       #6E819A;
  --line:        #E3E9F1;
  --bg:          #FFFFFF;
  --bg-alt:      #F5F8FC;
  --bg-tint:     #EFF5FB;

  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 1px 2px rgba(9,30,66,.06), 0 12px 32px -12px rgba(9,30,66,.18);
  --shadow-lg:   0 24px 60px -20px rgba(5,35,75,.35);
  --wrap:        1140px;
  --ease:        cubic-bezier(.22,.61,.36,1);

  --font-display: "Poppins", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Compensa el header pegajoso al saltar a un ancla */
:target, section[id], [id].section { scroll-margin-top: 88px; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, iframe { max-width: 100%; }
img { height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.1rem, 5.4vw, 3.5rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.16rem; font-weight: 600; }
p  { margin: 0 0 1rem; }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { max-width: 780px; }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 200;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 12px; text-decoration: none; }

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

/* ---------- Eyebrow ---------- */
.eyebrow {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 .9rem;
}
.eyebrow-on-dark { color: var(--green-bright); }

.grad {
  background: linear-gradient(100deg, var(--green-bright), #24E1BE 60%, #7FE9D6);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-pad: 12px 22px;
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem;
  padding: var(--btn-pad); border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { --btn-pad: 9px 16px; font-size: .9rem; }
.btn-lg { --btn-pad: 15px 28px; font-size: 1.02rem; }

.btn-solid {
  background: var(--green); color: #032A22;
  box-shadow: 0 10px 24px -10px rgba(0,184,146,.7);
}
.btn-solid:hover { background: var(--green-bright); box-shadow: 0 16px 32px -12px rgba(0,210,167,.75); }

.btn-ghost {
  background: transparent; color: var(--navy); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--navy); background: var(--bg-alt); }
.section-dark .btn-ghost, .cta .btn-ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.section-dark .btn-ghost:hover, .cta .btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header[data-scrolled] {
  border-color: var(--navy-line);
  box-shadow: 0 10px 30px -18px rgba(0,0,0,.55);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: .55rem; }
.brand:hover { text-decoration: none; }
.brand-mark { border-radius: 8px; }
.brand-name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; color: #fff; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; }
.nav-menu { list-style: none; display: flex; align-items: center; gap: 1.6rem; margin: 0; padding: 0; }
.nav-menu a { font-family: var(--font-display); font-weight: 500; font-size: .95rem; color: rgba(255,255,255,.78); }
.nav-menu a:hover { color: #fff; text-decoration: none; }
.nav-menu a.is-active { color: #fff; }
.nav-cta a { color: #032A22; }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; position: relative; border-radius: 8px;
}
.nav-toggle-bar, .nav-toggle-bar::before, .nav-toggle-bar::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: #fff;
  border-radius: 2px; transition: transform .22s var(--ease), opacity .22s var(--ease);
}
.nav-toggle-bar { top: 21px; }
.nav-toggle-bar::before { top: -7px; }
.nav-toggle-bar::after  { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after  { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-menu {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy); border-bottom: 1px solid var(--navy-line);
    padding: .5rem 1.25rem 1.25rem;
    box-shadow: 0 20px 40px -20px rgba(0,0,0,.6);
    clip-path: inset(0 0 100% 0); opacity: 0; pointer-events: none;
    transition: clip-path .3s var(--ease), opacity .2s var(--ease);
  }
  .nav-menu[data-open] { clip-path: inset(0 0 0 0); opacity: 1; pointer-events: auto; }
  .nav-menu li { padding: .35rem 0; border-bottom: 1px solid var(--navy-line); }
  .nav-menu li:last-child { border-bottom: 0; }
  .nav-menu a { display: block; padding: .5rem 0; font-size: 1rem; }
  .nav-cta { margin-top: .6rem; }
  .nav-cta a { text-align: center; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(3rem, 8vw, 6rem) 0 clamp(3.5rem, 9vw, 6.5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, #F7FAFE, #FFFFFF 60%); }
.hero-glow {
  position: absolute; top: -180px; right: -160px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(0,210,167,.22), rgba(0,210,167,0) 68%);
  filter: blur(10px);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(5,35,75,.045) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(5,35,75,.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-copy { max-width: 36rem; }
.hero-lead { font-size: 1.14rem; color: var(--ink-soft); margin-bottom: 1.6rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 1.1rem; }
.hero-note {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .92rem; color: var(--muted); margin: 0;
}
.hero-note svg { color: var(--green); flex-shrink: 0; }

@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-device { order: -1; margin-inline: auto; }
}

/* ---------- Phone mock ---------- */
.hero-device { position: relative; justify-self: center; width: min(300px, 78vw); }
.phone {
  position: relative; aspect-ratio: 300 / 610; width: 100%;
  background: linear-gradient(160deg, #0A2F63, #05234B 55%, #041A38);
  border-radius: 40px; padding: 12px;
  box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06);
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 22px; background: #030F22; border-radius: 0 0 14px 14px; z-index: 3;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 30px; overflow: hidden;
  background: radial-gradient(120% 60% at 50% 0%, #0C346E, #071B3A);
  display: flex; flex-direction: column;
}
.ph-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 20px 6px; color: #A9C2DE; font-size: 12px; font-family: var(--font-display); font-weight: 600;
}
.ph-signal { display: inline-flex; align-items: flex-end; gap: 2px; height: 12px; }
.ph-signal i {
  width: 3px; background: #3C5A82; border-radius: 1px; transition: background .35s var(--ease);
}
.ph-signal i:nth-child(1) { height: 4px; }
.ph-signal i:nth-child(2) { height: 7px; }
.ph-signal i:nth-child(3) { height: 10px; }
.ph-signal i:nth-child(4) { height: 12px; }
.ph-signal[data-on] i { background: var(--green-bright); }

.ph-slide {
  position: absolute; inset: 42px 0 0; padding: 18px 20px 22px;
  display: flex; flex-direction: column; gap: 10px;
  opacity: 0; transform: translateY(14px); pointer-events: none;
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.ph-slide[data-active] { opacity: 1; transform: none; }

.ph-chip {
  align-self: flex-start; font-size: 10.5px; font-family: var(--font-display); font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: rgba(0,210,167,.16); color: var(--green-bright);
}
.ph-chip-warn { background: rgba(255,90,95,.18); color: #FF9195; }
.ph-label { color: #9FB8D6; font-size: 12px; margin: 4px 0 0; }
.ph-amount { font-family: var(--font-display); font-weight: 800; font-size: 30px; color: #fff; margin: 0; letter-spacing: -0.02em; }
.ph-row {
  display: flex; justify-content: space-between; font-size: 12.5px; color: #C6D6EA;
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 8px;
}
.ph-btn {
  margin-top: auto; border: 0; border-radius: 12px; padding: 12px;
  background: var(--green-bright); color: #032A22;
  font-family: var(--font-display); font-weight: 700; font-size: 13.5px;
}
.ph-receipt {
  margin-top: 6px; background: #F4F1E8; color: #2A2A2A; border-radius: 8px;
  padding: 14px 12px; display: flex; flex-direction: column; gap: 5px;
  font-family: "Courier New", monospace; font-size: 12px; text-align: center;
  box-shadow: 0 10px 24px -12px rgba(0,0,0,.5);
}
.ph-receipt strong { letter-spacing: .18em; font-size: 12.5px; }
.ph-receipt-thanks { margin-top: 4px; border-top: 1px dashed #B7B1A0; padding-top: 6px; }
.ph-syncring { width: 96px; height: 96px; margin: 24px auto 6px; }
.ph-syncring svg { width: 100%; height: 100%; }
.ph-syncring circle {
  fill: none; stroke: var(--green-bright); stroke-width: 4; stroke-linecap: round;
  stroke-dasharray: 126; stroke-dashoffset: 126;
  transform-origin: center;
}
.ph-slide[data-active] .ph-syncring circle { animation: syncdraw 1.1s var(--ease) forwards; }
@keyframes syncdraw {
  0%   { stroke-dashoffset: 126; transform: rotate(-90deg); }
  70%  { stroke-dashoffset: 0;   transform: rotate(270deg); }
  100% { stroke-dashoffset: 0;   transform: rotate(270deg); }
}
.ph-sub { color: #9FB8D6; font-size: 12px; text-align: center; margin: 0; }
.ph-slide[data-slide="sync"] .ph-label { text-align: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px; }

.printer {
  position: absolute; right: -30px; bottom: 66px; width: 92px; height: 58px;
  background: linear-gradient(180deg, #DCE6F2, #B9C8DC); border-radius: 10px;
  box-shadow: var(--shadow); overflow: visible;
}
.printer::before {
  content: ""; position: absolute; left: 12px; right: 12px; top: 12px; height: 5px;
  background: #05234B; border-radius: 3px;
}
.printer-paper {
  position: absolute; left: 16px; right: 16px; top: 16px; height: 0;
  background: #fff; border-radius: 2px 2px 4px 4px;
  box-shadow: 0 6px 12px -6px rgba(0,0,0,.4);
  transition: height .5s var(--ease);
}
.hero-device[data-print] .printer-paper { height: 62px; }

@media (prefers-reduced-motion: reduce) {
  .ph-slide { transition: opacity .01s; }
  .ph-slide[data-active] .ph-syncring circle { animation: none; stroke-dashoffset: 0; transform: rotate(270deg); }
}

/* ---------- Trust strip ---------- */
.strip { background: var(--navy); color: #fff; }
.strip-inner {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  padding: 2rem 0; text-align: center;
}
.strip-k {
  display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem;
  color: var(--green-bright); letter-spacing: -0.02em;
}
.strip-v { font-size: .92rem; color: #B7C8DE; }
@media (max-width: 720px) {
  .strip-inner { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 8vw, 6rem) 0; }
.section > .wrap > .eyebrow { margin-bottom: .7rem; }
.section-lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 46rem; margin-bottom: 2.2rem; }

.section-dark {
  background: linear-gradient(180deg, var(--navy), var(--navy-900));
  color: #E7EFF9;
}
.section-dark h2 { color: #fff; }
.section-dark .section-lead { color: #AFC3DD; }

.section-tint { background: var(--bg-tint); }

/* ---------- Compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; margin-top: 1.4rem; }
.compare-col { border-radius: var(--radius); padding: 1.6rem 1.6rem 1.2rem; border: 1px solid var(--line); background: #fff; }
.compare-col h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.compare-before h3 { color: var(--muted); }
.compare-after { border-color: rgba(0,184,146,.4); background: linear-gradient(180deg, var(--green-soft), #fff); }
.compare-after h3 { color: var(--green); }
.compare-col ul { margin: .8rem 0 0; padding-left: 1.1rem; }
.compare-col li { margin-bottom: .6rem; color: var(--ink-soft); }
.compare-after li { color: var(--ink); }
@media (max-width: 720px) { .compare { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.step {
  background: rgba(255,255,255,.04); border: 1px solid var(--navy-line);
  border-radius: var(--radius); padding: 1.6rem 1.5rem;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 10px;
  background: var(--green-bright); color: #032A22;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; margin-bottom: .8rem;
}
.step h3 { color: #fff; }
.step p { color: #AFC3DD; margin: 0; font-size: .96rem; }
@media (max-width: 780px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.6rem; transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: rgba(0,184,146,.45); }
.card-ic {
  width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center;
  background: var(--green-soft); color: var(--green); margin-bottom: 1rem;
}
.card-ic svg { width: 24px; height: 24px; }
.card p { color: var(--ink-soft); font-size: .97rem; margin-bottom: .6rem; }
.card-tag {
  display: inline-block; margin-top: .3rem; font-size: .82rem; font-weight: 600;
  font-family: var(--font-display); color: var(--green);
  background: var(--green-soft); padding: 4px 10px; border-radius: 999px;
}
.card-feature { border-color: rgba(0,184,146,.5); background: linear-gradient(180deg, #F1FCF9, #fff 55%); }
@media (max-width: 940px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* ---------- Split (riesgo) ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.8rem, 4vw, 3.5rem); align-items: center; }
.split-copy .section-lead { margin-bottom: 1.2rem; }
.ticklist { list-style: none; margin: 0; padding: 0; }
.ticklist li { position: relative; padding-left: 1.8rem; margin-bottom: .55rem; color: var(--ink-soft); }
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px;
  background: var(--green); border-radius: 6px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z' fill='%23fff'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.risk-card {
  background: var(--navy); color: #fff; border-radius: var(--radius);
  padding: 1.7rem 1.6rem; box-shadow: var(--shadow-lg); position: relative;
}
.risk-dot { position: absolute; top: 1.4rem; right: 1.4rem; width: 10px; height: 10px; border-radius: 50%; background: var(--coral); box-shadow: 0 0 0 6px rgba(255,90,95,.18); }
.risk-name { font-family: var(--font-display); font-weight: 700; color: #fff; margin: 0 0 .8rem; }
.risk-line { font-size: .92rem; color: #B7C8DE; margin: 0 0 .4rem; padding-top: .4rem; border-top: 1px solid var(--navy-line); }
.risk-alert { color: #FF9195; font-weight: 600; }
.risk-muted { color: #7C93B2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }

/* ---------- Plataformas ---------- */
.plat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.plat { text-align: left; padding: 1.6rem 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.plat svg { width: 30px; height: 30px; color: var(--green); margin-bottom: .8rem; }
.plat p { color: var(--ink-soft); font-size: .96rem; margin: 0; }
.plat-foot { margin-top: 1.6rem; color: var(--muted); font-size: .95rem; }
@media (max-width: 820px) { .plat-grid { grid-template-columns: 1fr; } }

/* ---------- Video ---------- */
.video-frame {
  width: 100%; max-width: 380px; margin: 0 auto;
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg); border: 1px solid var(--navy-line);
}
.video-facade {
  display: block; position: relative; width: 100%; max-width: 100%;
  padding: 0; border: 0; cursor: pointer;
  background: #000; aspect-ratio: 9 / 16; line-height: 0;
}
.video-facade img { width: 100%; height: 100%; object-fit: cover; opacity: .82; transition: opacity .2s var(--ease); }
.video-facade:hover img { opacity: 1; }
.video-play {
  position: absolute; inset: 0; margin: auto; width: 74px; height: 74px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(0,210,167,.92); color: #032A22;
  box-shadow: 0 12px 30px -8px rgba(0,0,0,.5);
  transition: transform .2s var(--ease);
}
.video-facade:hover .video-play { transform: scale(1.06); }
.video-play svg { width: 34px; height: 34px; margin-left: 3px; }
.video-frame iframe { width: 100%; aspect-ratio: 9 / 16; border: 0; display: block; }
.video-foot { text-align: center; margin: 1.3rem 0 0; color: #AFC3DD; font-size: .95rem; }
.video-foot a { color: var(--green-bright); }

/* ---------- Planes ---------- */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.2rem; }
.plan {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.7rem 1.5rem; display: flex; flex-direction: column; position: relative;
}
.plan h3 { font-family: var(--font-display); font-size: 1.05rem; text-transform: uppercase; letter-spacing: .08em; color: var(--navy); }
.plan-price { font-family: var(--font-display); font-weight: 500; color: var(--muted); margin: .2rem 0 0; }
.plan-price span { font-weight: 800; font-size: 2rem; color: var(--navy); letter-spacing: -0.02em; }
.plan-alt { font-size: .85rem; color: var(--muted); margin: .1rem 0 1rem; }
.plan ul { list-style: none; margin: 0; padding: 0; }
.plan li { position: relative; padding-left: 1.4rem; margin-bottom: .55rem; font-size: .93rem; color: var(--ink-soft); }
.plan li::before { content: ""; position: absolute; left: 0; top: .5em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.plan-pop { border-color: var(--green); box-shadow: 0 20px 44px -22px rgba(0,184,146,.55); }
.plan-badge {
  position: absolute; top: -12px; left: 1.5rem; background: var(--green); color: #032A22;
  font-family: var(--font-display); font-weight: 700; font-size: .72rem; letter-spacing: .06em;
  text-transform: uppercase; padding: 5px 12px; border-radius: 999px;
}
.plan-corp { background: linear-gradient(180deg, var(--bg-alt), #fff); }
.plans-note {
  margin-top: 1.6rem; padding: 1.3rem 1.5rem; border-radius: var(--radius);
  background: var(--bg-alt); border: 1px solid var(--line);
}
.plans-note p { margin: 0 0 .6rem; font-size: .94rem; color: var(--ink-soft); }
.plans-note p:last-child { margin-bottom: 0; }
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { margin-top: 1.6rem; }
.faq details {
  border-bottom: 1px solid var(--line); padding: .3rem 0;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 1rem 2.4rem 1rem 0; position: relative;
  font-family: var(--font-display); font-weight: 600; color: var(--navy); font-size: 1.03rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .3rem; top: 50%; width: 12px; height: 12px;
  margin-top: -6px;
  background: var(--green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 5v14M5 12h14' stroke='%23fff' stroke-width='2.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(135deg); }
.faq details p { margin: 0 0 1rem; color: var(--ink-soft); max-width: 60ch; }

/* ---------- CTA ---------- */
.cta { background: linear-gradient(120deg, var(--navy), var(--navy-800)); color: #fff; padding: clamp(3rem, 7vw, 5rem) 0; }
.cta-inner { text-align: center; max-width: 40rem; margin-inline: auto; }
.cta h2 { color: #fff; }
.cta p { color: #B7C8DE; margin-bottom: 1.6rem; }
.cta .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #9FB4CE; padding: 3.2rem 0 1.8rem; font-size: .92rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; }
.site-footer .brand-name { color: #fff; }
.footer-tag { margin: .9rem 0 .4rem; max-width: 26rem; }
.footer-parent { margin: 0; }
.footer-parent a, .site-footer a { color: #CFE0F2; }
.site-footer a:hover { color: #fff; }
.footer-col h2 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: #7C93B2; margin: 0 0 .8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: .5rem; }
.footer-legal {
  margin-top: 2.6rem; padding-top: 1.4rem; border-top: 1px solid var(--navy-line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: .4rem;
  font-size: .84rem; color: #6E85A4;
}
.footer-legal p { margin: 0; }
@media (max-width: 860px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) { .footer-inner { grid-template-columns: 1fr; } }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.cards .reveal, .steps .reveal, .plans .reveal, .plat-grid .reveal { transition-delay: calc(var(--i, 0) * 70ms); }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
