/* ==========================================================================
   Distri. del Pacífico — Landing premium
   Mobile-first · Dark western-luxury · Brand: azul royal + azure + gold
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Brand palette (from logo) */
  --bg:        #090D18;
  --bg-2:      #0B1020;
  --surface:   #111A30;
  --surface-2: #0E1526;
  --line:      rgba(255,255,255,.09);
  --line-2:    rgba(255,255,255,.16);

  --text:      #EAF0FA;
  --muted:     #98A6BE;
  --muted-2:   #6F7E96;

  --blue:      #3B82F6;
  --blue-deep: #1E40AF;
  --blue-soft: #6FA8FF;
  --sky:       #BFE0F5;

  --gold:      #F2A93B;
  --gold-2:    #E07B27;
  --orange:    #F0531F;
  --green:     #25D366;
  --green-d:   #1ebe5a;

  --grad-gold: linear-gradient(135deg, #F8BE53 0%, #E8732A 100%);
  --grad-blue: linear-gradient(135deg, #3B82F6 0%, #1E40AF 100%);

  --radius:    18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow:    0 18px 50px -20px rgba(0,0,0,.7);
  --shadow-gold: 0 12px 34px -10px rgba(232,115,42,.5);

  --font-display: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-num:     'Bebas Neue', 'Sora', sans-serif;

  --container: 1160px;
  --ease: cubic-bezier(.22,.61,.36,1);

  /* z-scale */
  --z-header: 50;
  --z-menu: 60;
  --z-fab: 40;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html { overflow-x: hidden; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  max-width: 100%;
  overflow-x: hidden; /* fallback */
  overflow-x: clip;   /* clip doesn't create a scroll container → fixed loader stays put on iOS */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; }
ul { list-style: none; padding: 0; }
[hidden] { display: none !important; }

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

.skip-link {
  position: absolute; left: 50%; top: -60px; transform: translateX(-50%);
  background: var(--gold); color: #1a1205; padding: .6rem 1rem; border-radius: 0 0 10px 10px;
  font-weight: 700; z-index: 100; transition: top .2s;
}
.skip-link:focus { top: 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(16px, 5vw, 40px); }
.container--narrow { max-width: 760px; }

.section { position: relative; padding-block: clamp(2.8rem, 9vw, 5.5rem); }

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.08; letter-spacing: -.02em; }
h1 { font-size: clamp(1.9rem, 7.4vw, 3.6rem); }
h2 { font-size: clamp(1.45rem, 5.4vw, 2.5rem); }
h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -.01em; }
p  { color: var(--muted); }
.grad {
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--blue-soft);
  background: rgba(59,130,246,.10); border: 1px solid rgba(59,130,246,.22);
  padding: .42rem .8rem; border-radius: 999px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242,169,59,.18); }

.ico { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Section heads ---------- */
.sec-head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.6rem; }
.sec-head--center { justify-content: center; text-align: center; }
.sec-head p { margin-top: .35rem; font-size: .95rem; max-width: 42ch; }
.sec-index {
  font-family: var(--font-num); font-size: 1.5rem; line-height: 1; color: var(--gold);
  letter-spacing: .04em; opacity: .9;
}
.sec-head--center .sec-index { display: block; margin-bottom: .3rem; }

/* ---------- Buttons ---------- */
.btn {
  --pad: .85rem 1.25rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: var(--pad); border-radius: 999px; font-weight: 700; font-size: .96rem;
  line-height: 1; min-height: 46px; white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .2s, background-color .2s, border-color .2s, color .2s;
  will-change: transform;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--gold { background: var(--grad-gold); color: #2a1605; box-shadow: var(--shadow-gold); }
.btn--gold:hover { box-shadow: 0 16px 40px -10px rgba(232,115,42,.65); }
.btn--ghost { background: rgba(255,255,255,.05); color: var(--text); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.28); }
.btn--sm { --pad: .6rem .95rem; min-height: 42px; font-size: .88rem; }
.btn--lg { --pad: 1rem 1.5rem; min-height: 52px; font-size: 1rem; }
.btn--xl { --pad: 1.1rem 2rem; min-height: 58px; font-size: 1.08rem; }
.btn--block { width: 100%; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: var(--z-header); }
.nav {
  display: flex; align-items: center; gap: 1rem; justify-content: space-between;
  padding-block: .6rem; margin-top: .5rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(10,14,26,.55); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-inline: .8rem; transition: background .25s, border-color .25s, box-shadow .25s;
  position: relative;
}
.site-header.is-scrolled .nav { background: rgba(9,13,24,.86); border-color: var(--line-2); box-shadow: var(--shadow); }
.brand { display: flex; align-items: center; gap: .6rem; }
.brand__logo { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); background: var(--sky); object-fit: cover; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: .92rem; line-height: 1.05; }
.brand__name strong { display: block; font-weight: 800; }

.nav__links { display: none; gap: 1.4rem; font-size: .92rem; font-weight: 500; }
.nav__links a { color: var(--muted); transition: color .2s; }
.nav__links a:hover { color: var(--text); }
.nav__actions { display: flex; align-items: center; gap: .6rem; }

.hamburger { width: 44px; height: 44px; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 12px; border: 1px solid var(--line); }
.hamburger span { width: 20px; height: 2px; background: var(--text); border-radius: 2px; transition: transform .25s, opacity .2s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: var(--z-menu);
  margin-inline: clamp(16px, 5vw, 40px);
  background: rgba(12,17,32,.97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--line-2); border-radius: 20px; padding: 1rem; box-shadow: var(--shadow);
  display: grid; gap: .35rem;
  transform-origin: top; animation: menuIn .22s var(--ease);
}
@keyframes menuIn { from { opacity: 0; transform: translateY(-8px) scale(.98); } to { opacity: 1; transform: none; } }
.mobile-menu nav { display: grid; }
.mobile-menu a { padding: .85rem .9rem; border-radius: 12px; font-weight: 600; color: var(--text); }
.mobile-menu nav a:hover { background: rgba(255,255,255,.06); }
.mobile-menu .btn { margin-top: .5rem; }

/* ---------- Hero (full-bleed background image + content on top) ---------- */
.hero {
  position: relative; min-height: 600px; min-height: 92svh;
  display: flex; align-items: center; isolation: isolate;
  padding-block: clamp(4.5rem, 13vh, 7rem) clamp(3rem, 9vh, 4.5rem); overflow: hidden;
}
.hero__media { position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; }
.hero__img {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 58% 46%; transform: scale(1.04);
}
/* Layered premium overlay: warm glow on the hat · readable dark gradient (bottom-weighted)
   · bottom vignette · subtle blue→warm duotone. Keeps the hat visible, text legible. */
.hero__scrim {
  position: absolute; top: 0; left: 0; width: 100%; height: 100%;
  background:
    radial-gradient(85% 46% at 60% 27%, rgba(234,142,62,.22), transparent 62%),
    linear-gradient(180deg, rgba(7,11,22,.52) 0%, rgba(7,11,22,.20) 28%, rgba(7,11,22,.54) 56%, rgba(7,11,22,.78) 78%, rgba(7,11,22,.93) 100%),
    radial-gradient(135% 70% at 50% 122%, rgba(7,11,22,.7), transparent 56%),
    linear-gradient(155deg, rgba(28,52,108,.16), transparent 45%, rgba(58,30,12,.16));
}
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; pointer-events: none; }
.glow--blue { width: 60vw; height: 60vw; max-width: 520px; max-height: 520px; background: radial-gradient(circle, rgba(59,130,246,.6), transparent 70%); top: -10%; right: -15%; }
.glow--gold { width: 50vw; height: 50vw; max-width: 420px; max-height: 420px; background: radial-gradient(circle, rgba(232,115,42,.4), transparent 70%); bottom: -12%; left: -10%; opacity: .4; }

.hero__inner { display: grid; justify-items: center; text-align: center; gap: 1.05rem; max-width: 760px; }
.hero .eyebrow { backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.hero h1 { font-size: clamp(2.1rem, 8.4vw, 4rem); text-shadow: 0 2px 34px rgba(0,0,0,.55); }
.hero__sub { font-size: clamp(1rem, 3.4vw, 1.16rem); color: #CAD5E7; max-width: 46ch; text-shadow: 0 1px 16px rgba(0,0,0,.5); }

.hero__pricepill {
  display: inline-flex; align-items: center; gap: .55rem; margin-top: .1rem;
  padding: .35rem .35rem .35rem .9rem; border-radius: 999px;
  background: rgba(10,14,26,.5); border: 1px solid var(--line-2);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero__pricepill-tag { font-size: .66rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.hero__pricepill-val { font-family: var(--font-num); font-size: 1.45rem; line-height: 1; letter-spacing: .03em; color: #2a1605; background: var(--grad-gold); padding: .28rem .75rem; border-radius: 999px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; margin-top: .3rem; width: 100%; }
.hero__cta .btn { flex: 1 1 220px; max-width: 340px; }

.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1rem; justify-content: center; margin-top: .7rem; }
.hero__trust li { display: inline-flex; align-items: center; gap: .4rem; font-size: .82rem; font-weight: 600; color: #AEBBD0; }
.hero__trust .ico { color: var(--gold); }

.hero__scroll {
  position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 2;
  width: 26px; height: 42px; border: 1.5px solid rgba(255,255,255,.32); border-radius: 999px;
  display: grid; justify-items: center; padding-top: 7px;
}
.hero__scroll-dot { width: 4px; height: 8px; border-radius: 2px; background: var(--gold); animation: scrollDot 1.8s var(--ease) infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(-3px); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(11px); } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
  border-block: 1px solid var(--line); overflow: hidden; padding-block: .8rem;
  background: linear-gradient(90deg, rgba(30,64,175,.12), rgba(232,115,42,.08));
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; align-items: center; gap: 1.4rem; width: max-content; animation: marquee 32s linear infinite; }
.marquee__track span { font-size: .82rem; font-weight: 600; color: var(--muted); white-space: nowrap; letter-spacing: .01em; }
.marquee__track .sep { color: var(--gold); font-size: .6rem; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee:hover .marquee__track { animation-play-state: paused; }

/* ---------- Productos ---------- */
.section--products { background: radial-gradient(120% 80% at 80% 0%, rgba(30,64,175,.16), transparent 60%); }
.swatches { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; margin-bottom: 1.1rem; scrollbar-width: none; }
.swatches::-webkit-scrollbar { display: none; }
.swatch {
  display: inline-flex; align-items: center; gap: .45rem; flex: none;
  padding: .5rem .85rem; border-radius: 999px; font-size: .82rem; font-weight: 600;
  border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--muted);
  transition: color .2s, border-color .2s, background .2s; min-height: 42px;
}
.swatch span { width: 14px; height: 14px; border-radius: 50%; background: var(--c); border: 1px solid rgba(255,255,255,.25); flex: none; }
.swatch.is-active { color: var(--text); border-color: var(--gold); background: rgba(242,169,59,.1); }

.carousel { position: relative; }
.carousel__track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding: 4px 0 8px; margin-inline: calc(-1 * clamp(16px,5vw,40px)); padding-inline: clamp(16px,5vw,40px);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.carousel__track::-webkit-scrollbar { display: none; }
.pcard {
  flex: 0 0 78%; max-width: 320px; scroll-snap-align: center;
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: border-color .25s, transform .25s;
}
.pcard:hover { border-color: var(--line-2); }
.pcard__media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: #0a0f1c; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 80% at 50% 120%, rgba(0,0,0,.4), transparent 60%); }
.pcard__tag {
  position: absolute; top: 10px; left: 10px; z-index: 2; font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .04em; padding: .32rem .6rem; border-radius: 999px;
  background: rgba(10,14,26,.7); border: 1px solid var(--line-2); color: var(--blue-soft);
}
.pcard__tag--gold { color: var(--gold); border-color: rgba(242,169,59,.4); background: rgba(242,169,59,.12); }
.pcard__body { padding: 1rem 1rem 1.1rem; display: grid; gap: .5rem; }
.pcard__meta { font-size: .82rem; color: var(--muted); }
.pcard__row { display: flex; align-items: baseline; gap: .55rem; margin-top: .1rem; }
.price { font-family: var(--font-num); font-size: 1.7rem; color: var(--text); letter-spacing: .02em; }
.price__tag { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--gold); background: rgba(242,169,59,.12); border: 1px solid rgba(242,169,59,.32); padding: .26rem .5rem; border-radius: 999px; }
.pcard__body .btn { margin-top: .35rem; }
.pcard--premium { border-color: rgba(242,169,59,.3); background: linear-gradient(180deg, rgba(242,169,59,.06), var(--surface-2)); }

.carousel__nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.1rem; }
.cbtn { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); display: inline-grid; place-items: center; transition: background .2s, border-color .2s; }
.cbtn:hover { background: rgba(255,255,255,.1); border-color: var(--gold); }
.cbtn svg { width: 20px; height: 20px; }
.dots { display: flex; gap: .4rem; }
.dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line-2); transition: width .25s, background .25s; }
.dots button.is-active { width: 22px; border-radius: 999px; background: var(--gold); }

/* ---------- Video ---------- */
.section--video { background: linear-gradient(180deg, transparent, rgba(232,115,42,.05), transparent); overflow: hidden; }
.video__grid { display: grid; gap: clamp(1.6rem, 5vw, 3rem); align-items: center; }
.video__copy { display: grid; gap: .9rem; }
.video__copy .sec-index { margin-bottom: -.2rem; }
.ticks { display: grid; gap: .55rem; margin-top: .2rem; }
.ticks li { display: flex; align-items: center; gap: .55rem; font-size: .92rem; color: var(--text); font-weight: 500; }
.ticks .ico { color: var(--gold); }
.video__copy .btn { justify-self: start; margin-top: .4rem; }

.video__stage { position: relative; display: grid; place-items: center; }
.phone {
  position: relative; z-index: 2; width: min(290px, 78vw); aspect-ratio: 9/16;
  background: linear-gradient(160deg, #1c2740, #0a0f1c); border-radius: 38px; padding: 9px;
  border: 1px solid var(--line-2); box-shadow: 0 30px 70px -25px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08);
}
.phone__notch { position: absolute; top: 14px; left: 50%; transform: translateX(-50%); width: 90px; height: 20px; background: #05070d; border-radius: 999px; z-index: 3; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 30px; overflow: hidden; background: #05070d; }
.phone__screen video { width: 100%; height: 100%; object-fit: cover; }
.video__play {
  position: absolute; inset: 0; margin: auto; width: 70px; height: 70px; border-radius: 50%;
  display: grid; place-items: center; background: var(--grad-gold); color: #2a1605;
  box-shadow: var(--shadow-gold); transition: transform .2s, opacity .2s; z-index: 4;
}
.video__play svg { width: 30px; height: 30px; margin-left: 3px; }
.video__play:hover { transform: scale(1.06); }
.video__play.is-hidden { opacity: 0; pointer-events: none; transform: scale(.7); }
.phone__glow { position: absolute; width: 80%; height: 80%; background: radial-gradient(circle, rgba(59,130,246,.5), transparent 70%); filter: blur(60px); z-index: 1; }

/* ---------- Beneficios ---------- */
.bgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; }
.bcard {
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1rem;
  display: grid; gap: .45rem; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.bcard:hover { border-color: var(--line-2); transform: translateY(-3px); box-shadow: var(--shadow); }
.bcard__ico {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: rgba(59,130,246,.12); border: 1px solid rgba(59,130,246,.22); color: var(--blue-soft);
}
.bcard:nth-child(2n) .bcard__ico { background: rgba(242,169,59,.12); border-color: rgba(242,169,59,.25); color: var(--gold); }
.bcard__ico svg { width: 22px; height: 22px; }
.bcard h3 { font-size: .98rem; }
.bcard p { font-size: .82rem; line-height: 1.45; }

/* ---------- Pagos ---------- */
.section--pay { background: radial-gradient(120% 80% at 10% 0%, rgba(30,64,175,.14), transparent 55%); }
.pay-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .7rem; }
.pay-chip {
  display: flex; flex-direction: column; gap: .5rem; align-items: flex-start;
  padding: 1rem; border-radius: var(--radius-sm); border: 1px solid var(--line);
  background: rgba(255,255,255,.03); font-size: .86rem; font-weight: 600; color: var(--text);
  transition: border-color .2s, background .2s;
}
.pay-chip:hover { border-color: var(--line-2); background: rgba(255,255,255,.05); }
.pay-chip svg { width: 26px; height: 26px; color: var(--blue-soft); }
.pay-pse { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--gold); letter-spacing: .02em; }
.pay-note { display: flex; gap: .5rem; align-items: flex-start; margin-top: 1rem; font-size: .82rem; color: var(--muted); }
.pay-note .ico { color: var(--gold); margin-top: .15rem; }

/* ---------- Seguridad ---------- */
.section--security { overflow: hidden; }
.security__bg { position: absolute; inset: 0; z-index: -1; }
.security__bg .glow--blue { width: 70vw; height: 70vw; max-width: 540px; max-height: 540px; top: 10%; left: 50%; transform: translateX(-50%); opacity: .3; }
.security__inner {
  display: grid; gap: 1.4rem; text-align: center; justify-items: center;
  background: linear-gradient(180deg, rgba(17,26,48,.7), rgba(14,21,38,.5));
  border: 1px solid var(--line-2); border-radius: var(--radius-lg); padding: clamp(1.8rem, 6vw, 3rem) clamp(1.2rem, 5vw, 2.5rem);
  box-shadow: var(--shadow);
}
.security__emblem { width: 78px; height: 78px; border-radius: 22px; display: grid; place-items: center; color: var(--blue-soft); background: rgba(59,130,246,.1); border: 1px solid rgba(59,130,246,.28); }
.security__emblem svg { width: 42px; height: 42px; }
.security__copy { display: grid; gap: .8rem; justify-items: center; }
.security__list { display: grid; gap: .6rem; margin-top: .4rem; text-align: left; }
.security__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .92rem; font-weight: 500; }
.security__list .ico { color: var(--green); margin-top: .15rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .7rem; margin-top: 1.2rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: rgba(255,255,255,.03); overflow: hidden; transition: border-color .2s, background .2s; }
.faq__item[open] { border-color: var(--line-2); background: rgba(255,255,255,.05); }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 1rem 1.1rem; font-weight: 600; font-size: .98rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__plus { position: relative; width: 18px; height: 18px; flex: none; }
.faq__plus::before, .faq__plus::after { content: ""; position: absolute; inset: 0; margin: auto; background: var(--gold); border-radius: 2px; transition: transform .25s var(--ease); }
.faq__plus::before { width: 14px; height: 2px; }
.faq__plus::after { width: 2px; height: 14px; }
.faq__item[open] .faq__plus::after { transform: rotate(90deg); opacity: 0; }
.faq__a { padding: 0 1.1rem 1.05rem; }
.faq__a p { font-size: .9rem; line-height: 1.6; }

/* ---------- Final CTA ---------- */
.section--final { overflow: hidden; text-align: center; }
.final__bg { position: absolute; inset: 0; z-index: -1; }
.final__bg .glow--gold { top: -10%; left: 10%; opacity: .4; }
.final__bg .glow--blue { bottom: -20%; right: 0; opacity: .35; }
.final__inner {
  display: grid; gap: 1rem; justify-items: center;
  border: 1px solid var(--line-2); border-radius: var(--radius-lg);
  padding: clamp(2rem, 7vw, 3.5rem) clamp(1.2rem, 5vw, 2.5rem);
  background: linear-gradient(180deg, rgba(17,26,48,.55), rgba(11,16,32,.3));
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.final__inner p { max-width: 44ch; }
.final__inner .btn { margin-top: .4rem; }
.final__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.2rem; justify-content: center; margin-top: .8rem; }
.final__trust li { position: relative; font-size: .82rem; font-weight: 600; color: var(--muted); padding-left: 1.1rem; }
.final__trust li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding-top: 2.4rem; }
.footer__grid { display: grid; gap: 1.6rem; }
.footer__brand { display: flex; gap: .8rem; align-items: flex-start; }
.footer__brand img { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); background: var(--sky); }
.footer__brand strong { font-family: var(--font-display); font-size: 1rem; }
.footer__brand p { font-size: .84rem; margin-top: .3rem; max-width: 40ch; }
.footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer__links a { font-size: .9rem; color: var(--muted); transition: color .2s; }
.footer__links a:hover { color: var(--text); }
.footer__contact { display: grid; gap: .7rem; }
.footer__wa { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: 1.05rem; width: max-content; }
.footer__wa .ico { color: var(--green); width: 1.4em; height: 1.4em; }
.footer__sic { font-size: .76rem; color: var(--muted-2); line-height: 1.5; max-width: 44ch; }
.footer__bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-block: 1.2rem; font-size: .78rem; color: var(--muted-2); }

/* ---------- WhatsApp FAB ---------- */
.wa-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: var(--z-fab);
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--green); color: #fff; box-shadow: 0 12px 30px -8px rgba(37,211,102,.6);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.wa-fab.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa-fab svg { width: 32px; height: 32px; }
.wa-fab__pulse { position: absolute; inset: 0; border-radius: 50%; background: var(--green); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 70%,100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Scroll reveal (re-animates on scroll up) ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(26px); filter: blur(7px);
  transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s var(--ease);
  will-change: opacity, transform, filter;
}
[data-reveal].is-in { opacity: 1; transform: none; filter: blur(0); }
[data-reveal="scale"] { transform: scale(.93); }
[data-reveal="scale"].is-in { transform: none; }
[data-reveal="left"]  { transform: translateX(-30px); }
[data-reveal="right"] { transform: translateX(30px); }
[data-reveal="left"].is-in, [data-reveal="right"].is-in { transform: none; }

/* ---------- Loading screen ---------- */
.loader {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; inset: 0;
  width: 100%; height: 100vh; height: 100dvh; min-height: 100%;
  z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 38%, #111a30, #090d18 72%);
  transition: opacity .55s var(--ease), visibility .55s;
  animation: loaderSafety 0s linear 3s forwards; /* failsafe hide if JS never runs */
}
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
@keyframes loaderSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
.loader__inner { display: grid; justify-items: center; gap: .55rem; padding: 1rem; animation: fadeIn .5s var(--ease) both; }
.loader__logo { position: relative; width: 96px; height: 96px; display: grid; place-items: center; margin-bottom: .3rem; }
.loader__logo img { width: 70px; height: 70px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.16); background: var(--sky); animation: loaderPulse 1.8s ease-in-out infinite; }
.loader__ring {
  position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0 68%, var(--gold) 92%, transparent 100%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
  animation: spin 1s linear infinite;
}
.loader__name { font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.loader__name strong { color: var(--gold); }
.loader__tag { font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.loader__bar { width: 148px; height: 3px; border-radius: 999px; background: rgba(255,255,255,.1); overflow: hidden; margin-top: .7rem; }
.loader__bar span { display: block; height: 100%; width: 42%; border-radius: inherit; background: var(--grad-gold); animation: loaderBar 1.15s var(--ease) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loaderPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes loaderBar { 0% { transform: translateX(-130%); } 100% { transform: translateX(320%); } }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Hero entrance (plays after loader; no permanent hide if JS fails) ---------- */
@keyframes heroIntro { from { opacity: 0; transform: translateY(26px); filter: blur(9px); } to { opacity: 1; transform: none; filter: blur(0); } }
.is-ready .hero__inner .hero-intro { animation: heroIntro .8s var(--ease) both; }
.is-ready .hero__inner .hero-intro:nth-child(1) { animation-delay: .05s; }
.is-ready .hero__inner .hero-intro:nth-child(2) { animation-delay: .14s; }
.is-ready .hero__inner .hero-intro:nth-child(3) { animation-delay: .23s; }
.is-ready .hero__inner .hero-intro:nth-child(4) { animation-delay: .32s; }
.is-ready .hero__inner .hero-intro:nth-child(5) { animation-delay: .41s; }
.is-ready .hero__inner .hero-intro:nth-child(6) { animation-delay: .50s; }
.is-ready .hero__scroll.hero-intro { animation: heroIntro .8s var(--ease) .7s both; }

/* ==========================================================================
   Breakpoints
   ========================================================================== */
@media (min-width: 640px) {
  .bgrid { grid-template-columns: repeat(3, 1fr); }
  .pay-grid { grid-template-columns: repeat(4, 1fr); }
  .pay-chip { aspect-ratio: 1/.9; justify-content: center; }
  .hero__cta .btn { flex: 0 1 auto; }
  .pcard { flex-basis: 56%; }
  .security__list { grid-template-columns: 1fr 1fr; column-gap: 1.4rem; }
}

@media (min-width: 860px) {
  .nav__links { display: flex; }
  .hamburger { display: none; }
  .mobile-menu { display: none !important; }
  .hero__inner { gap: 1.2rem; }
  .hero__sub { font-size: 1.18rem; }
  .video__grid { grid-template-columns: 1.1fr .9fr; }
  .phone { width: min(320px, 30vw); }
  .sec-head { margin-bottom: 2.2rem; }
  .bgrid { gap: 1rem; }
  .pcard { flex-basis: 32%; }
  .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr; }
  .wa-fab { right: 28px; bottom: 28px; width: 62px; height: 62px; }
}

@media (min-width: 1100px) {
  .hero { min-height: 90svh; }
  .hero h1 { font-size: clamp(3rem, 4vw, 4.2rem); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .marquee__track, .wa-fab__pulse, .hero__scroll-dot,
  .loader__ring, .loader__bar span, .loader__logo img { animation: none !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
  .is-ready .hero-intro, .hero-intro { animation: none !important; opacity: 1 !important; transform: none !important; filter: none !important; }
  .pcard__media img { transition: none; }
  * { scroll-behavior: auto !important; }
}
