:root{
  --mustard:#E3BE0E;
  --mustard-deep:#A6800A;
  --mustard-pale:#FBEEBE;
  --ink:#15161A;
  --ink-soft:#1D1F24;
  --blue:#0B5F92;
  --blue-deep:#083C5E;
  --blue-pale:#DCEAF4;
  --teal:#0B93A8;
  --teal-deep:#075E6D;
  --orange:#FF6A1A;
  --wine:#7A1F35;
  --wine-deep:#4E1120;
  --scarlet:#FF2400;
  --scarlet-deep:#C41E00;
  --page:#FFFFFF;
  --page-alt:#F5F6F8;
  --text:#14171C;
  --text-soft:#515866;
  --line:rgba(16,24,40,0.10);
  --radius:18px;
  --shadow-card:0 1px 2px rgba(16,24,40,0.05), 0 12px 28px -14px rgba(16,24,40,0.22);
  --line-on-dark:rgba(255,255,255,0.14);
  --header-h:120px;          /* alto del header expandido (espaciador bajo el header fijo) */
  --header-h-compact:72px;   /* alto del header al hacer scroll */
  --band-h:0px;              /* sin franja bajo el header */
  box-sizing:border-box;
  -webkit-text-size-adjust:100%;
  text-size-adjust:100%;
}
@media (max-width:860px){
  :root{--header-h:60px;--header-h-compact:60px;}
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --page:#111111;
    --page-alt:#181818;
    --text:#F3F1EA;
    --text-soft:#B9B6AC;
    --line:rgba(255,255,255,0.14);
  }
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)){
  --page:#111111;
  --page-alt:#181818;
  --text:#F3F1EA;
  --text-soft:#B9B6AC;
  --line:rgba(255,255,255,0.14);
}
html{scroll-padding-top:calc(var(--header-h-compact) + var(--band-h) + 8px); scroll-behavior:smooth;}
*{margin:0;padding:0;box-sizing:border-box;}
html{background:var(--page);}
body{
  background:var(--page);
  color:var(--text);
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  text-rendering:optimizeLegibility;
  line-height:1.6;
  overflow-x:hidden;
}
@supports (overflow:clip){ body{overflow-x:clip;} }
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
h1,h2,h3{
  font-family:'Sora',system-ui,-apple-system,sans-serif;
  font-weight:700;
  letter-spacing:-0.01em;
  line-height:1.05;
}
.wrap{
  max-width:1180px;
  margin:0 auto;
  padding:0 clamp(20px,5vw,48px);
}
.overflow-guard{overflow-x:hidden;}

/* ---------- HEADER ---------- */
/* Header flotante: logo y pestañas permanecen visibles hasta el final de la página */
header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:100;
  background:var(--mustard);
  transition:box-shadow .25s ease;
  -webkit-transform:translateZ(0);
  transform:translateZ(0);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding:20px clamp(20px,5vw,48px);
  max-width:1360px;
  margin:0 auto;
  transition:padding .25s ease;
}
header.is-compact .header-inner{padding-top:9px;padding-bottom:9px;}
.brand{
  display:flex;align-items:center;
  flex:none;
  line-height:0;
}
.brand img{height:80px;width:auto;filter:none;transition:height .25s ease;}
header.is-compact .brand img{height:54px;}
@media (max-width:860px){
  .header-inner,
  header.is-compact .header-inner{padding-top:9px;padding-bottom:9px;transition:none;}
  .brand img,
  header.is-compact .brand img{height:42px;transition:none;}
}
nav.primary-nav{display:flex;gap:clamp(14px,1.6vw,26px);}
nav.primary-nav a{
  position:relative;
  color:var(--ink);
  line-height:1.15;
  font-size:clamp(1.05rem,1.65vw,1.5rem);
  white-space:nowrap;
  font-weight:800;
  padding:8px 12px;
  border-radius:999px;
  border-bottom:2px solid transparent;
  transition:color .18s ease, background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
nav.primary-nav a:hover, nav.primary-nav a:focus-visible{
  color:#000000;
  background:rgba(0,0,0,0.10);
  transform:translateY(-2px);
  box-shadow:0 6px 14px -8px rgba(0,0,0,0.35);
  font-weight:900;
}
nav.primary-nav a[data-target="sorteos"]{color:var(--scarlet-deep);}
nav.primary-nav a[data-target="sorteos"]:hover, nav.primary-nav a[data-target="sorteos"]:focus-visible{
  color:#000000;
  background:var(--scarlet);
  box-shadow:0 8px 16px -8px rgba(255,36,0,0.6);
}
.header-cta{
  background:var(--ink);
  color:#ffffff;
  font-weight:800;
  font-size:1rem;
  padding:12px 20px;
  border-radius:999px;
  white-space:nowrap;
  box-shadow:0 10px 18px -8px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.15);
}
.header-cta:hover{background:#2a2c33;}
.menu-btn{
  display:none;
  background:none;border:none;color:var(--ink);
  width:44px;height:44px;
  margin-right:-8px;
  align-items:center;justify-content:center;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  border-radius:10px;
}
.menu-btn:active{background:rgba(0,0,0,0.10);}
.menu-btn svg{width:26px;height:26px;pointer-events:none;}
.menu-btn .ico-close{display:none;}
.nav-toggle{position:absolute;opacity:0;width:1px;height:1px;pointer-events:none;}
.nav-toggle:checked ~ .header-inner .menu-btn .ico-open{display:none;}
.nav-toggle:checked ~ .header-inner .menu-btn .ico-close{display:block;}

@media (min-width:861px) and (max-width:1279px){
  :root{--header-h:104px;}
  .brand img{height:64px;}
}
@media (max-width:1240px){
  nav.primary-nav{display:none;}
  .header-cta{display:none;}
  .menu-btn{display:flex;}
}

/* mobile drawer */
#mobile-nav{
  display:none;
  max-height:calc(100vh - var(--header-h-compact));
  max-height:calc(100dvh - var(--header-h-compact));
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  background:var(--mustard);
  border-top:1px solid rgba(10,10,10,0.15);
}
#mobile-nav.open,
.nav-toggle:checked ~ #mobile-nav{display:block;}
@media (min-width:1241px){ #mobile-nav, .nav-toggle:checked ~ #mobile-nav{display:none;} }
#mobile-nav a{
  display:block;
  padding:14px clamp(20px,5vw,48px);
  color:var(--ink);
  border-bottom:1px solid rgba(10,10,10,0.15);
  font-weight:800;
  font-size:1.3rem;
  touch-action:manipulation;
  transition:background-color .18s ease, color .18s ease, padding-left .18s ease;
}
#mobile-nav a:hover, #mobile-nav a:active{
  color:#000000;
  background:rgba(0,0,0,0.08);
  padding-left:calc(clamp(20px,5vw,48px) + 8px);
  font-weight:900;
}
#mobile-nav a[data-target="sorteos"]{color:var(--scarlet-deep);}
#mobile-nav a[data-target="sorteos"]:hover, #mobile-nav a[data-target="sorteos"]:active{
  color:#000000;
  background:var(--scarlet);
}
#mobile-nav .header-cta{
  color:#ffffff;
  border-bottom:none;
  display:inline-block;
  margin:16px clamp(20px,5vw,48px) 20px;
}

/* ---------- HERO ---------- */
.hero{
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,0.10) 0%, rgba(255,255,255,0.10) 1%, transparent 9%),
    radial-gradient(circle at 88% 12%, rgba(227,190,14,0.16) 0%, transparent 22%),
    radial-gradient(circle at 92% 78%, rgba(11,95,146,0.35) 0%, transparent 30%),
    radial-gradient(circle at 8% 82%, rgba(255,255,255,0.06) 0%, transparent 24%),
    radial-gradient(circle at 55% 45%, rgba(255,255,255,0.04) 0%, transparent 40%),
    linear-gradient(165deg, var(--ink) 0%, #10171e 55%, #0b1319 100%);
  color:#fff;
  position:relative;
  /* el hero empieza bajo el header flotante (fixed) */
  padding:calc(var(--header-h) + var(--band-h) + clamp(28px,8vw,96px)) 0 clamp(56px,9vw,110px);
  overflow:hidden;
}
.hero .wrap{
  display:grid;
  grid-template-columns:1.05fr 0.95fr;
  gap:clamp(28px,5vw,60px);
  align-items:center;
  position:relative;
  z-index:2;
}
.hero-eyebrow-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:rgba(255,255,255,0.10);
  border:1px solid rgba(255,255,255,0.4);
  color:#ffffff;
  font-size:0.82rem;
  font-weight:700;
  padding:7px 14px;
  border-radius:999px;
  margin-bottom:22px;
}
.hero-eyebrow-badge svg{width:14px;height:14px;color:#ffffff;}
.hero h1{
  font-size:clamp(1.5rem,3vw,2.15rem);
  color:#fff;
}
.hero h1 span{color:var(--mustard);}
.hero p.lede{
  margin-top:20px;
  max-width:46ch;
  font-size:1.1rem;
  line-height:1.6;
  color:#C9C6BC;
}
.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:32px;
}
.store-btn{display:inline-flex;align-items:center;gap:10px;}
.store-btn svg{width:26px;height:26px;flex:none;}
.store-btn-text{display:flex;flex-direction:column;line-height:1.15;text-align:left;}
.store-btn-text small{font-size:0.66rem;font-weight:500;opacity:0.75;}
.store-btn-text strong{font-size:0.98rem;font-weight:700;}
.btn.store-btn{
  background:#F5F5F3;
  color:#111111;
  border:1px solid rgba(0,0,0,0.08);
  box-shadow:0 8px 20px -10px rgba(0,0,0,0.45);
}
.btn.store-btn:hover{background:#ffffff;}
.btn.store-btn svg{color:#111111;}
.btn{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  font-size:0.98rem;
  padding:14px 24px;
  border-radius:10px;
  border:1px solid transparent;
  transition:transform .15s ease, background .15s ease;
}
.btn:active{transform:scale(0.98);}
.btn-primary{background:var(--mustard);color:var(--ink);box-shadow:0 8px 20px -8px rgba(227,190,14,0.55);}
.btn-primary:hover{background:#F0C42B;}
.btn-outline{border-color:rgba(255,255,255,0.3);color:#fff;}
.btn-outline:hover{border-color:#fff;background:rgba(255,255,255,0.06);}
.btn-blue{background:var(--blue);color:#fff;}
.btn-blue:hover{background:#12719C;}

.hero-stats{
  display:flex;
  gap:clamp(20px,4vw,40px);
  margin-top:44px;
  flex-wrap:wrap;
}
.hero-stats div{border-left:2px solid var(--mustard);padding-left:12px;}
.hero-stats strong{display:block;font-family:'Sora',sans-serif;font-size:1.5rem;}
.hero-stats span{font-size:0.85rem;color:#A9A69C;}

/* Hero: flota de vehículos (fotos recortadas sin fondo blanco) */
.hero-art{
  position:relative;
  max-width:560px;
  margin:0 auto;
  width:100%;
}
.fleet-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(10px,2vw,16px);
}
.fleet-item{
  position:relative;
  margin:0;
  padding:clamp(14px,2.4vw,20px) clamp(10px,2vw,16px) 12px;
  border-radius:20px;
  background:
    radial-gradient(circle at 50% 55%, rgba(227,190,14,0.16) 0%, transparent 62%),
    rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  box-shadow:0 18px 34px -20px rgba(0,0,0,0.7), inset 0 1px 0 rgba(255,255,255,0.06);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  transition:transform .2s ease, border-color .2s ease;
}
.fleet-item:hover{transform:translateY(-3px);border-color:rgba(227,190,14,0.45);}
.fleet-stage{
  position:relative;
  width:100%;
  aspect-ratio:2/1;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.fleet-stage::after{           /* sombra de suelo */
  content:"";
  position:absolute;
  left:12%;right:12%;bottom:-3px;
  height:10px;
  background:rgba(0,0,0,0.55);
  border-radius:50%;
  filter:blur(6px);
}
.fleet-stage img{
  position:relative;
  z-index:1;
  height:auto;
  filter:drop-shadow(0 6px 10px rgba(0,0,0,0.45));
}
.fleet-stage img.f-auto{width:84%;}
.fleet-stage img.f-pick{width:100%;}
.fleet-stage img.f-camioncito{width:72%;}
.fleet-stage img.f-camion{width:98%;}
.fleet-stage img.f-moto{width:80%;}
.fleet-stage img.f-torito{width:66%;}
.fleet-stage img.f-taxi{width:92%;}
.fleet-stage img.f-minivan{width:90%;}
/* Flota en 2 páginas que se alternan (con JS); sin JS se ven las 8 */
[data-js] .fleet-grid{transition:opacity .35s ease;}
[data-js] .fleet-grid.fleet-sale{opacity:0;}
[data-js] .fleet-grid[data-pag="1"] .fleet-item[data-p="2"],
[data-js] .fleet-grid[data-pag="2"] .fleet-item[data-p="1"]{display:none;}
.fleet-dots{display:flex;justify-content:center;gap:4px;margin-top:6px;}
.fleet-dots[hidden]{display:none;}
.fleet-dots button{width:44px;height:44px;border:0;background:none;padding:0;cursor:pointer;display:grid;place-items:center;}
.fleet-dots button::before{content:"";width:10px;height:10px;border-radius:999px;background:rgba(140,140,140,0.55);transition:width .25s ease,background .25s ease;}
.fleet-dots button[aria-pressed="true"]::before{width:28px;background:#FACC15;}
.fleet-dots button:focus-visible{outline:2px solid #FACC15;outline-offset:-6px;border-radius:12px;}
.fleet-label{
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:0.9rem;
  color:#EDEAE0;
  text-align:center;
}
@media (max-width:860px){
  .hero .wrap{grid-template-columns:1fr;}
  .hero-art{order:-1;max-width:400px;}
}

/* ---------- SECTION HEADS ---------- */
.section{
  padding:clamp(56px,9vw,108px) 0;
  position:relative;
  background:
    linear-gradient(rgba(255,255,255,0.93),rgba(255,255,255,0.93)),
    url("../img/fondo-secciones.webp") center 38%/cover no-repeat;
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .section{
  background:
    linear-gradient(rgba(17,17,17,0.93),rgba(17,17,17,0.93)),
    url("../img/fondo-secciones.webp") center 38%/cover no-repeat;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .section{
    background:
      linear-gradient(rgba(17,17,17,0.93),rgba(17,17,17,0.93)),
      url("../img/fondo-secciones.webp") center 38%/cover no-repeat;
  }
}
.section-head{
  max-width:640px;
  margin-bottom:clamp(36px,6vw,60px);
}
.section-head h2{
  font-size:clamp(2rem,4.4vw,3.1rem);
  font-weight:800;
}
.section-head p{
  margin-top:14px;
  font-size:1.05rem;
  color:var(--text-soft);
  line-height:1.6;
}
.kicker{
  display:inline-block;
  font-family:'Sora',sans-serif;
  font-size:clamp(2rem,4.4vw,3.1rem);
  font-weight:800;
  color:var(--blue);
  margin-bottom:12px;
  letter-spacing:0.01em;
  line-height:1.05;
}

/* ---------- COMO FUNCIONA ---------- */
.steps{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:clamp(20px,3vw,32px);
}
.step{
  border-top:none;
  background:var(--page);
  border-radius:16px;
  padding:24px 22px 22px;
  box-shadow:
    0 16px 30px -16px rgba(10,10,10,0.22),
    0 2px 0 rgba(255,255,255,0.6) inset;
  border:1px solid rgba(10,10,10,0.06);
}
.step .num{
  font-family:'Sora',sans-serif;
  font-size:0.95rem;
  font-weight:700;
  color:var(--mustard-deep);
  display:block;
  margin-bottom:14px;
}
.step h3{font-size:1.2rem;margin-bottom:10px;}
.step p{color:var(--text-soft);line-height:1.55;font-size:0.98rem;}
@media (max-width:760px){.steps{grid-template-columns:1fr;}}

/* ---------- SORTEOS (signature section) ---------- */
.raffle{
  background:var(--mustard);
  color:var(--ink);
  position:relative;
}
.raffle .wrap{
  display:grid;
  grid-template-columns:0.95fr 1.05fr;
  gap:clamp(30px,5vw,56px);
  align-items:center;
}
.raffle .kicker{color:var(--blue-deep);}
.raffle-gallery{
  grid-column:1 / -1;
  margin-top:12px;
  padding-top:clamp(28px,4vw,40px);
  border-top:1px solid rgba(10,10,10,0.18);
}
.gallery-head h3{
  font-family:'Sora',sans-serif;
  font-size:clamp(2rem,4.4vw,3.1rem);
  font-weight:800;
  line-height:1.05;
  letter-spacing:0.01em;
  color:var(--blue-deep);
}
.gallery-head p{margin-top:8px;font-size:0.95rem;color:#4A3A00;max-width:60ch;}
.gallery-grid{
  margin-top:22px;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.gallery-slot{
  aspect-ratio:4/3;
  border:2px dashed rgba(10,10,10,0.32);
  border-radius:16px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#5b4600;
  background:rgba(255,255,255,0.28);
  transition:background .15s ease, border-color .15s ease, transform .15s ease;
  box-shadow:0 14px 26px -14px rgba(10,10,10,0.35), inset 0 1px 0 rgba(255,255,255,0.5);
}
.gallery-slot:hover{background:rgba(255,255,255,0.45);border-color:rgba(10,10,10,0.5);transform:translateY(-3px);}
.gallery-slot svg{width:28px;height:28px;}
.gallery-slot span{font-size:0.8rem;font-weight:600;text-align:center;padding:0 6px;}
.gallery-slot{cursor:pointer;position:relative;overflow:hidden;padding:0;}
.gallery-slot.has-photo{border-style:solid;background:#000;}
.gallery-slot.has-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.gallery-slot .remove-photo{position:absolute;top:6px;right:6px;width:24px;height:24px;border-radius:50%;background:rgba(0,0,0,0.6);color:#fff;border:none;display:flex;align-items:center;justify-content:center;font-size:14px;line-height:1;cursor:pointer;}
.gallery-slot.has-photo:hover .remove-photo{background:rgba(0,0,0,0.85);}
@media (max-width:720px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}
.raffle .kicker-raffle{
  display:block;
  font-size:clamp(2rem,4.4vw,3.1rem);
  font-weight:800;
  line-height:1.05;
  letter-spacing:0.01em;
  margin-bottom:16px;
}
.raffle h2{font-size:clamp(1.8rem,3.8vw,2.6rem);}
.raffle p.lede{
  margin-top:16px;
  font-size:1.05rem;
  line-height:1.6;
  max-width:48ch;
  color:#3A2E00;
}
.earn-list{margin-top:28px;display:grid;gap:14px;}
.earn-list li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  list-style:none;
  font-size:0.98rem;
  font-weight:500;
}
.earn-list svg{flex:none;width:22px;height:22px;margin-top:2px;stroke-width:3;}

/* Ticket */
.ticket{
  position:relative;
  background:var(--ink);
  color:#fff;
  border-radius:18px;
  display:grid;
  grid-template-columns:1fr auto;
  box-shadow:0 22px 50px -18px rgba(0,0,0,0.55);
}
.ticket-main{padding:clamp(24px,4vw,34px);}
.ticket-main .tag{
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.02em;
  color:var(--mustard);
  text-transform:uppercase;
}
.ticket-main h3{
  font-size:clamp(1.35rem,2.6vw,1.7rem);
  margin-top:10px;
  line-height:1.2;
}
.ticket-main .prize-desc{margin-top:10px;color:#C9C6BC;font-size:0.95rem;line-height:1.5;}
.ticket-meta{
  display:flex;
  gap:22px;
  margin-top:24px;
  flex-wrap:wrap;
}
.ticket-meta div strong{display:block;font-family:'Sora',sans-serif;font-size:1.1rem;}
.ticket-meta div span{font-size:0.78rem;color:#A9A69C;}
.ticket-meta div:last-child{flex:1 1 200px;max-width:260px;}
.ticket-stub{
  position:relative;
  width:120px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-left:2px dashed rgba(255,255,255,0.35);
}
.ticket-stub span{
  writing-mode:vertical-rl;
  transform:rotate(180deg);
  font-family:'Sora',sans-serif;
  font-weight:700;
  letter-spacing:0.08em;
  color:var(--mustard);
  font-size:0.85rem;
}
.ticket-stub .stub-logo{
  writing-mode:horizontal-tb;
  transform:none;
  display:inline-flex;
  background:var(--mustard);
  padding:8px 10px;
  border-radius:12px;
  line-height:0;
}
.ticket-stub .stub-logo img{width:84px;height:auto;display:block;}
.ticket-stub::before,.ticket-stub::after{
  content:"";
  position:absolute;
  left:-13px;
  width:26px;height:26px;
  background:var(--mustard);
  border-radius:50%;
}
.ticket-stub::before{top:-13px;}
.ticket-stub::after{bottom:-13px;}
@media (max-width:640px){
  .ticket{grid-template-columns:1fr;}
  .ticket-stub{
    flex-direction:row;
    width:auto;
    border-left:none;
    border-top:2px dashed rgba(255,255,255,0.35);
    padding:14px 0;
  }
  .ticket-stub span{writing-mode:horizontal-tb;transform:none;}
  .ticket-stub::before,.ticket-stub::after{top:-13px;left:auto;}
  .ticket-stub::before{right:70%;}
  .ticket-stub::after{left:70%;}
}
@media (max-width:900px){
  .raffle .wrap{grid-template-columns:1fr;}
}

/* ---------- SERVICIOS ---------- */
.services-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:22px;
  background:transparent;
  border:none;
}
.service-card{
  background:var(--page);
  padding:clamp(26px,3.5vw,36px);
  border-radius:18px;
  box-shadow:
    0 18px 34px -16px rgba(10,10,10,0.28),
    0 2px 0 rgba(255,255,255,0.6) inset;
  border:1px solid rgba(10,10,10,0.06);
  transition:transform .15s ease, box-shadow .15s ease;
}
.service-card:hover{transform:translateY(-4px);box-shadow:0 24px 44px -18px rgba(10,10,10,0.34);}
/* Siluetas de vehículos sobre fondo blanco (derivadas de las fotos) */
.service-card .vehicle-sil{
  height:84px;
  display:flex;
  align-items:flex-end;
  margin-bottom:20px;
}
.service-card .vehicle-sil img{height:auto;transition:transform .2s ease;}
.service-card:hover .vehicle-sil img{transform:translateX(6px);}
.vehicle-sil img.s-auto{width:128px;}
.vehicle-sil img.s-pick{width:172px;}
.vehicle-sil img.s-camioncito{width:118px;}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .vehicle-sil img{filter:brightness(1.9) saturate(1.15);}
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .vehicle-sil img{filter:brightness(1.9) saturate(1.15);}
.service-card h3{font-size:1.15rem;margin-bottom:10px;}
.service-card p{color:var(--text-soft);line-height:1.55;font-size:0.96rem;}
.service-card a.more{
  display:inline-block;
  margin-top:16px;
  font-weight:600;
  font-size:0.9rem;
  color:var(--blue);
  border-bottom:1px solid transparent;
}
.service-card a.more:hover{border-color:var(--blue);}
@media (max-width:760px){.services-grid{grid-template-columns:1fr;}}

/* ---------- FAQ ---------- */
.faq-list{
  max-width:820px;
  display:grid;
  gap:12px;
}
.faq-item{
  border:1px solid var(--line);
  border-radius:16px;
  padding:6px 22px;
  background:var(--page);
  box-shadow:0 12px 24px -16px rgba(10,10,10,0.25);
}
.faq-item summary{
  list-style:none;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding:16px 0;
  cursor:pointer;
  font-family:'Sora',sans-serif;
  font-weight:700;
  font-size:1.03rem;
  color:var(--text);
}
.faq-item summary::-webkit-details-marker{display:none;}
.faq-chevron{
  flex:none;
  width:26px;height:26px;
  border-radius:50%;
  background:var(--page-alt);
  display:flex;align-items:center;justify-content:center;
  font-size:1.1rem;
  font-weight:700;
  color:var(--blue);
  transition:transform .2s ease;
}
.faq-item[open] .faq-chevron{transform:rotate(45deg);}
.faq-item p{
  padding-bottom:18px;
  color:var(--text-soft);
  font-size:0.97rem;
  line-height:1.6;
  max-width:65ch;
}

/* ---------- SEGURIDAD ---------- */
.safety{
  background:
    radial-gradient(circle at 90% 15%, rgba(227,190,14,0.14) 0%, transparent 24%),
    radial-gradient(circle at 6% 85%, rgba(11,95,146,0.30) 0%, transparent 28%),
    radial-gradient(circle at 20% 10%, rgba(255,255,255,0.07) 0%, transparent 18%),
    linear-gradient(165deg, var(--ink) 0%, #10171e 55%, #0b1319 100%);
  color:#fff;
  position:relative;
}
.safety .wrap{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:clamp(30px,5vw,60px);
  align-items:center;
}
.safety h2{color:#fff;font-size:clamp(2rem,4.4vw,2.9rem);font-weight:800;}
.safety p.lede{color:#C9C6BC;margin-top:16px;line-height:1.6;max-width:42ch;}
.trust-list{margin-top:30px;display:grid;gap:20px;}
.trust-item{
  display:flex;gap:18px;align-items:flex-start;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.10);
  border-radius:16px;
  padding:16px 18px;
  box-shadow:0 14px 26px -16px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06);
}
.trust-item .icon{
  flex:none;width:46px;height:46px;
  background:linear-gradient(150deg,#1a8fd1 0%, var(--blue) 55%, var(--blue-deep) 100%);
  clip-path:polygon(50% 0%, 88% 18%, 100% 58%, 74% 100%, 26% 100%, 0% 58%, 12% 18%);
  display:flex;align-items:center;justify-content:center;
  box-shadow:
    0 10px 18px -6px rgba(11,95,146,0.6),
    inset 0 2px 3px rgba(255,255,255,0.4),
    inset 0 -3px 5px rgba(0,0,0,0.3);
}
.trust-item .icon svg{width:22px;height:22px;color:#fff;stroke-width:2.6;}
.trust-item h4{font-size:1rem;margin-bottom:4px;}
.trust-item p{font-size:0.9rem;color:#A9A69C;line-height:1.5;}
@media (max-width:800px){.safety .wrap{grid-template-columns:1fr;}}

/* ---------- DRIVER CTA BANNER ---------- */
.driver-cta{
  background:var(--blue);
  color:#fff;
}
.driver-cta .wrap{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
  padding-top:clamp(44px,6vw,60px);
  padding-bottom:clamp(44px,6vw,60px);
}
.driver-cta h2{color:#fff;font-size:clamp(1.5rem,3vw,2.1rem);max-width:20ch;}
.driver-cta p{color:var(--blue-pale);margin-top:10px;max-width:40ch;}

/* ---------- FOOTER ---------- */
footer{
  background:
    radial-gradient(circle at 85% 10%, rgba(227,190,14,0.12) 0%, transparent 22%),
    radial-gradient(circle at 8% 90%, rgba(11,95,146,0.28) 0%, transparent 26%),
    linear-gradient(180deg, var(--ink) 0%, #0b1319 100%);
  color:#C9C6BC;
  position:relative;
}
.footer-top{
  padding-top:clamp(48px,7vw,72px);
  padding-bottom:clamp(30px,5vw,44px);
  display:grid;
  grid-template-columns:1.3fr repeat(3,1fr);
  gap:32px;
}
.footer-brand .logo-chip{
  display:inline-flex;
  background:var(--mustard);
  padding:10px 20px;
  border-radius:14px;
  margin-bottom:18px;
  line-height:0;
}
.footer-brand img{height:46px;width:auto;filter:none;display:block;}
.footer-brand p{font-size:0.92rem;line-height:1.6;max-width:32ch;color:#A9A69C;}
.footer-col h5{
  color:#fff;
  font-size:0.9rem;
  font-weight:600;
  margin-bottom:16px;
}
.footer-col ul{list-style:none;display:grid;gap:11px;}
.footer-col a{font-size:0.9rem;color:#A9A69C;}
.footer-col a:hover{color:#fff;}
.footer-col .soon{
  font-size:0.85rem;
  color:#787569;
  font-style:italic;
}
.footer-col a.with-icon{display:flex;align-items:center;gap:9px;}
.footer-col a.with-icon svg{width:40px;height:40px;flex:none;color:#ffffff;}
@media (max-width:760px){
  .footer-top{grid-template-columns:1fr 1fr;}
}
@media (max-width:480px){
  .footer-top{grid-template-columns:1fr;}
}
.footer-bottom{
  border-top:1px solid var(--line-on-dark);
  padding-top:22px;
  padding-bottom:22px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  flex-wrap:wrap;
  font-size:0.9rem;
  font-weight:700;
  color:#FFFFFF;
}
.socials{display:flex;gap:14px;}
.socials a{
  width:44px;height:44px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  transition:transform .15s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow:
    0 6px 14px -4px rgba(0,0,0,0.55),
    inset 0 2px 3px rgba(255,255,255,0.55),
    inset 0 -3px 5px rgba(0,0,0,0.35);
  border:1px solid rgba(255,255,255,0.25);
  position:relative;
}
.socials svg{width:20px;height:20px;color:#fff;filter:drop-shadow(0 1px 1px rgba(0,0,0,0.35));}
.socials a:hover{transform:translateY(-3px) scale(1.06);box-shadow:
    0 10px 20px -4px rgba(0,0,0,0.6),
    inset 0 2px 3px rgba(255,255,255,0.6),
    inset 0 -3px 5px rgba(0,0,0,0.4);}
.social-fb{background:radial-gradient(circle at 30% 25%, #5b9dff 0%, #1877F2 45%, #0f52b0 100%);}
.social-ig{background:radial-gradient(circle at 30% 25%, #ffe08a 0%, #FEDA77 15%, #F58529 45%, #DD2A7B 70%, #8134AF 90%, #515BD4 100%);}
.social-tt{background:radial-gradient(circle at 30% 25%, #4a4a4a 0%, #111 55%, #000 100%);}

/* reduced motion */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:0.001ms !important;transition-duration:0.001ms !important;}
}

/* hero load-in */
.reveal{opacity:0;transform:translateY(14px);animation:rise .7s ease forwards;}
.reveal.d1{animation-delay:.05s;}
.reveal.d2{animation-delay:.18s;}
.reveal.d3{animation-delay:.3s;}
.reveal.d4{animation-delay:.42s;}
@keyframes rise{to{opacity:1;transform:translateY(0);}}

:focus-visible{outline:2px solid var(--blue);outline-offset:2px;}

/* ---------- INDEPENDENT MODALS (Sorteos / Seguridad / FAQ) ---------- */
.modal-overlay{
  display:none;
  position:fixed;
  inset:0;
  z-index:200;
  background:rgba(10,10,10,0.62);
  padding:clamp(16px,4vw,48px);
  overflow-y:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.modal-overlay.open{display:block;}
.modal-box{
  background:var(--page);
  color:var(--text);
  max-width:900px;
  margin:0 auto;
  border-radius:22px;
  position:relative;
  padding:clamp(28px,5vw,56px);
  box-shadow:0 30px 80px -20px rgba(0,0,0,0.6);
  animation:modalRise .25s ease;
}
@keyframes modalRise{from{opacity:0;transform:translateY(16px);}to{opacity:1;transform:translateY(0);}}
.modal-box .modal-close{
  position:absolute;
  top:16px;right:16px;
  width:38px;height:38px;
  border-radius:50%;
  background:var(--page-alt);
  border:none;
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;
  font-size:1.3rem;
  line-height:1;
  color:var(--text);
}
.modal-box .modal-close:hover{background:var(--mustard);color:var(--ink);}
.modal-box .section{padding:0;}
.modal-box .wrap{padding:0;max-width:none;}
body.modal-lock{overflow:hidden;}
.modal-box.driver-cta{background:var(--blue);color:#fff;}
.modal-box.driver-cta .modal-close{background:rgba(255,255,255,0.18);color:#fff;}
.modal-box.driver-cta .modal-close:hover{background:var(--mustard);color:var(--ink);}
/* ---------- PANEL DE ADMINISTRADOR (edición y descarga) ---------- */
.admin-toolbar{
  position:fixed;
  bottom:18px;right:18px;
  z-index:9999;
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:8px;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
}
.admin-toolbar button{
  border:none;
  cursor:pointer;
  font-weight:800;
  font-size:0.82rem;
  padding:11px 18px;
  border-radius:999px;
  background:var(--ink);
  color:#fff;
  box-shadow:0 10px 20px -8px rgba(0,0,0,0.5);
  white-space:nowrap;
}
.admin-toolbar button:hover{background:#2a2c33;}
.admin-toolbar button.edit-toggle.active{background:var(--orange);}
.admin-toolbar button.save-btn{background:var(--teal-deep);}
.admin-toolbar .admin-status{
  font-size:0.72rem;
  font-weight:700;
  color:#fff;
  background:rgba(15,15,15,0.75);
  padding:6px 12px;
  border-radius:8px;
  max-width:220px;
  text-align:right;
}
body.admin-edit-mode [data-editable]{
  outline:1.5px dashed rgba(255,106,26,0.55);
  outline-offset:3px;
  cursor:text;
  border-radius:3px;
}
body.admin-edit-mode [data-editable]:hover{outline-color:var(--orange);}
body.admin-edit-mode [data-editable]:focus{
  outline:2px solid var(--orange);
  background:rgba(255,106,26,0.08);
}
@media (max-width:640px){
  .admin-toolbar{bottom:10px;right:10px;}
  .admin-toolbar button{padding:9px 14px;font-size:0.75rem;}
  .admin-toolbar .admin-status{max-width:160px;}
}


/* =====================================================================
   v22 · ACABADO PROFESIONAL
   ===================================================================== */

/* --- Texto justificado (PC, Android e iOS) --- */
.hero p.lede,
.section-head p,
.step p,
.raffle p.lede,
.earn-list li,
.gallery-head p,
.service-card p,
.safety p.lede,
.trust-item p,
.faq-item p,
.driver-cta p,
.footer-brand p,
.footer-bottom > span{
  text-align:justify;
  text-justify:inter-word;
  -webkit-hyphens:auto;
  -ms-hyphens:auto;
  hyphens:auto;
  -webkit-hyphenate-limit-before:3;
  -webkit-hyphenate-limit-after:3;
  hyphenate-limit-chars:7 3 3;
  overflow-wrap:break-word;
  word-break:normal;
}
.earn-list li > svg + *{flex:1;}
/* Los títulos no se justifican: en líneas cortas crean espacios irregulares */
h1,h2,h3,h4,h5,summary{text-wrap:balance;}

/* --- Tipografía --- */
.hero h1{
  font-size:clamp(2.1rem,5.2vw,3.5rem);
  line-height:1.06;
  letter-spacing:-0.025em;
  font-weight:800;
}
.hero p.lede{color:#C4C8CF;font-size:clamp(1rem,1.4vw,1.12rem);}
.section-head h2,
.raffle h2,
.safety h2{
  font-size:clamp(1.85rem,4vw,2.75rem);
  font-weight:800;
  letter-spacing:-0.02em;
  line-height:1.1;
}
.section-head p{font-size:clamp(1rem,1.3vw,1.08rem);}

/* Etiqueta superior de sección (antes era tan grande como el título) */
.kicker,
.raffle .kicker-raffle{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:'Inter',system-ui,-apple-system,sans-serif;
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:0.14em;
  text-transform:uppercase;
  line-height:1;
  margin-bottom:16px;
  color:var(--blue);
}
.kicker::before{
  content:"";
  width:28px;height:2px;
  border-radius:2px;
  background:currentColor;
  flex:none;
}
.raffle .kicker-raffle{color:var(--blue-deep);}
.gallery-head h3{font-size:clamp(1.35rem,2.6vw,1.8rem);letter-spacing:-0.01em;}
.gallery-head p{color:#4A3B05;}

/* --- Header y navegación --- */
header.is-compact{box-shadow:0 8px 24px -16px rgba(0,0,0,0.45);}
nav.primary-nav{gap:clamp(4px,0.8vw,14px);}
nav.primary-nav a{font-weight:700;font-size:clamp(0.95rem,1.15vw,1.12rem);}
.header-cta{font-size:0.95rem;padding:11px 20px;}
.hero h1{max-width:14ch;}
nav.primary-nav a:hover, nav.primary-nav a:focus-visible{
  font-weight:700;
  transform:none;
  box-shadow:none;
  background:rgba(0,0,0,0.08);
}
nav.primary-nav a[data-target="sorteos"],
#mobile-nav a[data-target="sorteos"]{color:var(--ink);}
nav.primary-nav a[data-target="sorteos"]:hover,
nav.primary-nav a[data-target="sorteos"]:focus-visible{background:rgba(0,0,0,0.08);box-shadow:none;color:#000;}
nav.primary-nav a[data-target="sorteos"]::after,
#mobile-nav a[data-target="sorteos"]::after{
  content:"";
  display:inline-block;
  width:7px;height:7px;
  margin-left:6px;
  vertical-align:super;
  border-radius:50%;
  background:var(--scarlet);
}
#mobile-nav a{font-weight:700;font-size:1.2rem;}
#mobile-nav a:hover, #mobile-nav a:active,
#mobile-nav a[data-target="sorteos"]:hover, #mobile-nav a[data-target="sorteos"]:active{
  font-weight:700;
  color:#000;
  background:rgba(0,0,0,0.07);
}

/* --- Hero --- */
.hero-eyebrow-badge{background:rgba(227,190,14,0.12);border-color:rgba(227,190,14,0.45);}
.hero-eyebrow-badge svg{color:var(--mustard);}
.hero-stats div{border-left-color:var(--mustard);}
.hero-stats span{color:#9EA4AD;}
.fleet-item{border-radius:var(--radius);}

/* --- Pasos --- */
.step{border-radius:var(--radius);box-shadow:var(--shadow-card);border:1px solid var(--line);}
.step .num{
  display:inline-flex;
  align-items:center;justify-content:center;
  width:42px;height:42px;
  border-radius:12px;
  background:var(--mustard);
  color:var(--ink);
  font-size:0.95rem;
  font-weight:800;
  margin-bottom:18px;
}

/* --- Servicios: fondo gris suave para alternar secciones --- */
#servicios{background:var(--page-alt);}
.service-card{border-radius:var(--radius);box-shadow:var(--shadow-card);border:1px solid var(--line);}
.service-card:hover{box-shadow:0 1px 2px rgba(16,24,40,0.05), 0 22px 40px -18px rgba(16,24,40,0.30);}

/* --- FAQ --- */
.faq-item{box-shadow:var(--shadow-card);border-color:var(--line);}
.faq-item[open]{border-color:rgba(11,95,146,0.35);}

/* --- Sorteos: galería --- */
.gallery-slot .slot-admin{display:none;}
body.is-admin .gallery-slot .slot-admin{display:inline;}
body.is-admin .gallery-slot .slot-public{display:none;}
body:not(.is-admin) .gallery-slot{cursor:default;}
body:not(.is-admin) .gallery-slot:hover{transform:none;background:rgba(255,255,255,0.28);border-color:rgba(10,10,10,0.32);}
body:not(.is-admin) .gallery-slot .remove-photo{display:none;}

/* --- Footer --- */
.footer-col h5{text-transform:uppercase;letter-spacing:0.12em;font-size:0.76rem;color:#E6E8EB;}
.footer-bottom{font-weight:500;font-size:0.84rem;color:#9EA4AD;}
.footer-col a.with-icon svg{width:26px;height:26px;}

/* --- Botones --- */
.btn{border-radius:12px;}
.btn-primary:hover{background:#EFC925;}


/* =====================================================================
   v25 · PALETA SOBRIA: negro / grafito / gris + amarillo de marca
   ===================================================================== */
:root{
  --blue:#2A2E35;          /* antes azul: ahora grafito */
  --blue-deep:#16181C;
  --blue-pale:#D5D8DD;
  --black:#0D0E10;
  --graphite:#17191D;
  --graphite-2:#1F2227;
  --gray-text:#A7ACB4;
}
/* Fondos lisos (sin el mapa de banderas de fondo) */
#como-funciona, #faq, #terminos{background:var(--page);}

/* Hero: negro grafito con un toque del amarillo de marca */
.hero{
  background:
    radial-gradient(circle at 88% 10%, rgba(227,190,14,0.13) 0%, transparent 30%),
    radial-gradient(circle at 8% 92%, rgba(255,255,255,0.05) 0%, transparent 30%),
    linear-gradient(165deg, #1A1C20 0%, #111215 55%, #0B0C0E 100%);
}

/* Etiquetas de sección */
.kicker{color:var(--blue);}
.kicker::before{background:var(--mustard);height:3px;}
.raffle .kicker-raffle{color:var(--ink);}
.raffle .kicker-raffle::before{background:var(--ink);}
.gallery-head h3{color:var(--ink);}
.earn-list svg{stroke:var(--ink);}

/* Dibujos de vehículos en escala de grises */
.vehicle-sil img{filter:brightness(1.1) drop-shadow(0 6px 8px rgba(0,0,0,0.25)) !important;}

/* ---- SERVICIOS: sección negra con tarjetas grafito ---- */
#servicios,
.modal-box.theme-dark{background:var(--black);color:#F2F3F5;}
#servicios .kicker, .modal-box.theme-dark .kicker{color:var(--mustard);}
#servicios .section-head h2, .modal-box.theme-dark .section-head h2{color:#FFFFFF;}
#servicios .section-head p, .modal-box.theme-dark .section-head p{color:var(--gray-text);}
#servicios .service-card, .modal-box.theme-dark .service-card{
  background:linear-gradient(180deg, var(--graphite-2) 0%, var(--graphite) 100%);
  border:1px solid rgba(255,255,255,0.08);
  box-shadow:0 24px 44px -26px rgba(0,0,0,0.9), inset 0 1px 0 rgba(255,255,255,0.05);
}
#servicios .service-card:hover, .modal-box.theme-dark .service-card:hover{
  border-color:rgba(227,190,14,0.45);
  box-shadow:0 28px 50px -24px rgba(0,0,0,0.95), inset 0 1px 0 rgba(255,255,255,0.06);
}
#servicios .service-card h3, .modal-box.theme-dark .service-card h3{color:#FFFFFF;}
#servicios .service-card p, .modal-box.theme-dark .service-card p{color:var(--gray-text);}
#servicios .vehicle-sil img, .modal-box.theme-dark .vehicle-sil img{
  filter:brightness(1.1) drop-shadow(0 8px 12px rgba(0,0,0,0.6)) !important;
}
.modal-box.theme-dark .modal-close{background:rgba(255,255,255,0.12);color:#fff;}

/* ---- SEGURIDAD: gris claro para alternar con la sección negra ---- */
#seguridad{
  background:linear-gradient(180deg, #F4F5F7 0%, #ECEEF1 100%);
  color:var(--text);
}
#seguridad h2{color:var(--text);}
#seguridad p.lede{color:var(--text-soft);}
#seguridad .kicker{color:var(--blue) !important;}
.trust-item{
  background:#FFFFFF;
  border:1px solid var(--line);
  box-shadow:var(--shadow-card);
}
.trust-item h4{color:var(--text);}
.trust-item p{color:var(--text-soft);}
.trust-item .icon{
  background:linear-gradient(150deg, #2A2E35 0%, #16181C 100%);
  box-shadow:0 10px 18px -8px rgba(0,0,0,0.45), inset 0 1px 2px rgba(255,255,255,0.18);
}
.trust-item .icon svg{color:var(--mustard);}

/* ---- FAQ ---- */
.faq-item[open]{border-color:rgba(166,128,10,0.55);}
.faq-chevron{background:var(--mustard-pale);color:var(--ink);}

/* ---- CTA CONDUCTORES: banda amarilla de marca ---- */
.driver-cta, .modal-box.driver-cta{background:var(--mustard);color:var(--ink);}
.driver-cta h2{color:var(--ink);}
.driver-cta p{color:#3A2F00;}
.driver-cta .btn.store-btn.btn-primary{background:var(--ink);color:#FFFFFF;border-color:var(--ink);}
.driver-cta .btn.store-btn.btn-primary svg{color:#FFFFFF;}
.driver-cta .btn.store-btn.btn-primary:hover{background:#2A2C33;}
.modal-box.driver-cta .modal-close{background:rgba(0,0,0,0.10);color:var(--ink);}

/* ---- FOOTER ---- */
footer{
  background:
    radial-gradient(circle at 85% 8%, rgba(227,190,14,0.09) 0%, transparent 26%),
    linear-gradient(180deg, #121316 0%, #0B0C0E 100%);
}
:focus-visible{outline-color:var(--mustard-deep);}


/* ---------- LOGO ANIMADO AL PASAR EL MOUSE ---------- */
.brand img, .footer-brand .logo-chip img, .ticket-stub .stub-logo img, .tk-stub .stub-logo img{transform-origin:50% 60%;}
.brand:hover img, .brand:focus-visible img, .brand:active img,
.footer-brand .logo-chip:hover img, .footer-brand .logo-chip:active img,
.ticket-stub .stub-logo:hover img, .ticket-stub .stub-logo:active img,
.tk-stub .stub-logo:hover img, .tk-stub .stub-logo:active img{
  animation:logo-swing .5s ease-out both;
}
@keyframes logo-swing{
  0%  {transform:translateY(0) scale(1);}
  50% {transform:translateY(-1px) scale(1.015);}
  100%{transform:translateY(0) scale(1);}
}

/* ---------- BOTÓN MODO CLARO / OSCURO ---------- */
.header-actions{display:flex;align-items:center;gap:12px;flex:none;}
.theme-btn{
  width:42px;height:42px;
  border-radius:50%;
  border:1px solid rgba(0,0,0,0.18);
  background:rgba(255,255,255,0.35);
  color:var(--ink);
  display:inline-flex;align-items:center;justify-content:center;
  cursor:pointer;
  touch-action:manipulation;
  -webkit-tap-highlight-color:transparent;
  transition:background .2s ease, transform .2s ease;
}
.theme-btn:hover{background:rgba(255,255,255,0.6);}
.theme-btn:active{transform:scale(.94);}
.theme-btn svg{width:20px;height:20px;}
.theme-btn .ico-sun{display:none;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .theme-btn{background:var(--ink);color:var(--mustard);border-color:var(--ink);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .theme-btn .ico-sun{display:block;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .theme-btn .ico-moon{display:none;}
@media (max-width:860px){ .theme-btn{width:38px;height:38px;} .header-actions{gap:6px;} }

/* ---------- MODO OSCURO ---------- */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)){
  color-scheme:dark;
  --page:#111214;
  --page-alt:#17181B;
  --text:#ECEDEF;
  --text-soft:#A9AEB6;
  --line:rgba(255,255,255,0.09);
  --card:#18191C;
  --shadow-card:0 1px 0 rgba(255,255,255,0.03) inset, 0 14px 30px -16px rgba(0,0,0,0.8);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .kicker{color:var(--mustard);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #seguridad .kicker{color:var(--mustard) !important;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .step,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .faq-item,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .trust-item{background:var(--card);border-color:var(--line);box-shadow:var(--shadow-card);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .faq-item[open]{border-color:rgba(227,190,14,0.45);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #seguridad{background:linear-gradient(180deg,#141518 0%,#101113 100%);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .trust-item .icon{background:linear-gradient(150deg,#2E3239 0%,#1B1D21 100%);}

/* Sorteos: el amarillo intenso se reemplaza por grafito con acentos amarillos */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle{background:#16171A;color:var(--text);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle p.lede{color:var(--text-soft);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle .kicker-raffle{color:var(--mustard);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle .kicker-raffle::before{background:var(--mustard);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .earn-list svg{stroke:var(--mustard);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket{background:#0D0E10;border:1px solid rgba(255,255,255,0.08);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket-stub::before,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket-stub::after{background:#16171A;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle-gallery{border-top-color:rgba(255,255,255,0.10);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .gallery-head h3{color:var(--text);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .gallery-head p{color:var(--text-soft);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .gallery-slot,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) body:not(.is-admin) .gallery-slot:hover{
  background:rgba(255,255,255,0.04);
  border-color:rgba(255,255,255,0.18);
  color:var(--text-soft);
  box-shadow:none;
}

/* Banda de conductores */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box.driver-cta{background:#16171A;color:var(--text);border-top:1px solid rgba(227,190,14,0.25);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta h2{color:#FFFFFF;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta p{color:var(--text-soft);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta .btn.store-btn.btn-primary{background:var(--mustard);color:var(--ink);border-color:var(--mustard);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta .btn.store-btn.btn-primary svg{color:var(--ink);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box.driver-cta .modal-close{background:rgba(255,255,255,0.12);color:#fff;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) mark.fill{background:rgba(227,190,14,0.22);color:#fff;}


/* ---------- INSIGNIAS DE DESCARGA (App Store / Google Play) ---------- */
.store-badge{
  display:inline-flex;
  border-radius:12px;
  line-height:0;
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 10px 22px -12px rgba(0,0,0,0.6);
  -webkit-tap-highlight-color:transparent;
}
.store-badge img{height:54px;width:auto;display:block;}
.store-badge:hover{transform:translateY(-2px);box-shadow:0 16px 28px -14px rgba(0,0,0,0.7);}
.store-badge:active{transform:scale(.97);}
@media (max-width:640px){ .store-badge img{height:48px;} }
@media (max-width:360px){ .store-badge img{height:42px;} }
.hero-actions{align-items:center;}
/* v5.3.63 · Mientras la tienda no tenga enlace: cinta "Próximamente" sobre la insignia */
.store-badge{position:relative;}
.hero-actions{padding-top:12px;}
.store-soon{position:absolute;top:-24px;right:8px;line-height:1;padding:5px 9px;border-radius:999px;background:#FACC15;color:#0A0A0A;font:700 12px/1 Inter,system-ui,sans-serif;letter-spacing:.02em;box-shadow:0 4px 10px -4px rgba(0,0,0,.5);}
.store-badge.is-live .store-soon{display:none;}
.store-try{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin-top:8px;font:600 15px/1.2 Inter,system-ui,sans-serif;color:#FACC15;text-decoration:underline;text-underline-offset:4px;}
.store-try:hover{color:#fff;}
/* v5.3.64 · Pantalla de bienvenida (negra, logo y frase; 2.5 s una vez por sesión) */
.splash{display:none;}
html.con-splash .splash{
  display:flex;position:fixed;inset:0;z-index:9999;flex-direction:column;align-items:center;justify-content:center;gap:16px;
  padding:max(24px,env(safe-area-inset-top)) max(24px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(24px,env(safe-area-inset-left));
  background:#000;color:#fff;text-align:center;opacity:1;transition:opacity .5s ease;
}
html.con-splash body{overflow:hidden;}
.splash-logo{width:min(72vw,320px);height:auto;animation:splashEntra .7s ease both;}
.splash-frase{margin:8px 0 0;max-width:22ch;font:600 clamp(18px,5vw,26px)/1.3 Sora,Inter,system-ui,sans-serif;color:#fff;animation:splashEntra .7s .15s ease both;}
.splash-frase strong{display:block;color:#FACC15;font-weight:800;letter-spacing:.02em;}
.splash-sub{margin:0;font:500 clamp(16px,4.2vw,20px)/1.4 Inter,system-ui,sans-serif;color:#E4E4E7;animation:splashEntra .7s .3s ease both;}
.splash.splash-sale{opacity:0;}
@keyframes splashEntra{from{opacity:0;transform:translateY(8px);}to{opacity:1;transform:none;}}
@media (prefers-reduced-motion:reduce){.splash-logo,.splash-frase,.splash-sub{animation:none;}html.con-splash .splash{transition:none;}}
/* Imágenes nítidas */
.fleet-stage img, .vehicle-sil img{image-rendering:auto;-webkit-backface-visibility:hidden;}


/* ---------- VIAJE EN TIEMPO REAL (mapa animado) ---------- */
:root{
  --map-land:#E9ECF0; --map-block:#DFE3E8; --map-park:#C9E8C4; --map-sea:#B9DDF1;
  --map-road:#FFFFFF; --map-road-case:#CDD3DA; --map-ave:#FFE9A3; --map-ave-case:#E2C55E;
  --map-label:#6B7280; --map-route:#27B4F5; --map-route-case:#0B77B8; --map-done:#A3ABB6;
  --map-traffic:#9AA3AE;
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)){
  --map-land:#1A1D22; --map-block:#20242A; --map-park:#1C3325; --map-sea:#0E2A3D;
  --map-road:#2C3139; --map-road-case:#121418; --map-ave:#4A4431; --map-ave-case:#1A1812;
  --map-label:#8C939D; --map-route:#35C0FF; --map-route-case:#0A4E7A; --map-done:#4A515B;
  --map-traffic:#59616C;
}
#en-vivo{background:var(--page-alt);}
.live-wrap{display:grid;grid-template-columns:0.85fr 1.15fr;gap:clamp(28px,5vw,64px);align-items:center;}
.live-copy h2{font-size:clamp(1.85rem,4vw,2.75rem);font-weight:800;letter-spacing:-0.02em;line-height:1.1;}
.live-lede{margin-top:14px;color:var(--text-soft);line-height:1.6;text-align:justify;-webkit-hyphens:auto;hyphens:auto;}
.live-list{margin-top:22px;}
.live-list svg{color:var(--mustard-deep);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .live-list svg{color:var(--mustard);stroke:var(--mustard);}
.earn-list.live-list svg{stroke:currentColor;}

.map-frame{
  position:relative;
  border-radius:24px;
  overflow:hidden;
  aspect-ratio:16/10;
  background:var(--map-land);
  border:1px solid var(--line);
  box-shadow:0 30px 60px -30px rgba(16,24,40,0.45), 0 2px 6px rgba(16,24,40,0.06);
  isolation:isolate;
}
.map-svg{position:absolute;inset:0;width:100%;height:100%;display:block;}
.m-land{fill:var(--map-land);}
.m-blocks rect{fill:var(--map-block);}
.m-park{fill:var(--map-park);}
.m-sea{fill:var(--map-sea);}
.m-road-case path{fill:none;stroke:var(--map-road-case);stroke-width:16;stroke-linecap:round;}
.m-road path{fill:none;stroke:var(--map-road);stroke-width:12;stroke-linecap:round;}
.m-ave-case{fill:none;stroke:var(--map-ave-case);stroke-width:22;}
.m-ave{fill:none;stroke:var(--map-ave);stroke-width:17;}
.m-label{font:600 11px 'Inter',system-ui,sans-serif;fill:var(--map-label);letter-spacing:.02em;}
.m-sea-label{font-style:italic;font-weight:500;}
.m-park-label{font-size:10px;}
.m-traffic .m-mini rect{fill:var(--map-traffic);}
.m-traffic .m-mini .m-mini-roof{fill:var(--map-road-case);}
.m-route-case{fill:none;stroke:var(--map-route-case);stroke-width:12;stroke-linecap:round;stroke-linejoin:round;}
.m-route{fill:none;stroke:var(--map-route);stroke-width:7;stroke-linecap:round;stroke-linejoin:round;}
.m-route-done{fill:none;stroke:var(--map-done);stroke-width:7.5;stroke-linecap:round;stroke-linejoin:round;}
.m-pulse{fill:var(--map-route);}
.m-start-dot{fill:var(--map-route-case);stroke:#fff;stroke-width:3;}
.m-end-pin{fill:var(--mustard);stroke:var(--ink);stroke-width:2;}
.m-end-flag{fill:var(--ink);stroke:var(--ink);stroke-width:1.6;stroke-linejoin:round;}
.m-car-glow{fill:rgba(227,190,14,0.28);}
.m-car-body{fill:#FFFFFF;stroke:var(--ink);stroke-width:1.6;}
.m-car-roof{fill:var(--mustard);stroke:var(--ink);stroke-width:1.2;}
.m-car-glass{fill:#2B3440;}
.m-car-light{fill:#FFE27A;}

.map-card{
  position:absolute;
  z-index:2;
  display:flex;
  align-items:center;
  gap:12px;
  background:rgba(255,255,255,0.94);
  color:#14171C;
  border-radius:16px;
  box-shadow:0 12px 26px -12px rgba(16,24,40,0.45);
  -webkit-backdrop-filter:blur(6px);
  backdrop-filter:blur(6px);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .map-card{background:rgba(24,26,30,0.94);color:#ECEDEF;border:1px solid rgba(255,255,255,0.08);}
.map-card strong{display:block;font-family:'Sora',system-ui,sans-serif;font-size:0.92rem;line-height:1.25;}
.map-card span{display:block;font-size:0.8rem;color:#5E6572;line-height:1.35;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .map-card span{color:#A9AEB6;}
.map-card-top{top:14px;left:14px;padding:10px 14px;max-width:calc(100% - 28px);}
.map-card-bottom{left:14px;right:14px;bottom:14px;padding:10px 14px;}
.live-dot{
  width:10px;height:10px;border-radius:50%;flex:none;
  background:#22C55E;
  box-shadow:0 0 0 0 rgba(34,197,94,0.6);
  animation:live-pulse 1.8s ease-out infinite;
}
@keyframes live-pulse{
  0%{box-shadow:0 0 0 0 rgba(34,197,94,0.55);}
  100%{box-shadow:0 0 0 10px rgba(34,197,94,0);}
}
.map-avatar{
  width:38px;height:38px;border-radius:50%;flex:none;
  background:var(--mustard);color:var(--ink);
  display:flex;align-items:center;justify-content:center;
  font:800 1rem 'Sora',system-ui,sans-serif;
}
.map-driver{flex:1;min-width:0;}
.map-fare{text-align:right;flex:none;}
.map-fare strong{font-size:1.05rem;}
.map-note{
  position:absolute;z-index:2;top:16px;right:16px;
  font-size:0.68rem;font-weight:600;letter-spacing:.04em;
  color:var(--map-label);
  background:rgba(255,255,255,0.7);
  padding:3px 8px;border-radius:999px;
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .map-note{background:rgba(0,0,0,0.45);}
@media (max-width:860px){
  .live-wrap{grid-template-columns:1fr;}
}
@media (max-width:640px){
  /* En celular las tarjetas van arriba y abajo del mapa para no taparlo */
  .map-frame{aspect-ratio:auto;display:flex;flex-direction:column;padding:10px;gap:10px;}
  .map-svg{position:relative;inset:auto;height:auto;aspect-ratio:8/5;border-radius:14px;}
  .map-card{position:relative;top:auto;left:auto;right:auto;bottom:auto;max-width:none;box-shadow:none;border:1px solid var(--line);}
  .map-card-top{order:-1;}
}
@media (max-width:480px){
  .map-card strong{font-size:0.85rem;}
  .map-card span{font-size:0.74rem;}
  .map-note{display:none;}
}
@media (prefers-reduced-motion: reduce){ .live-dot{animation:none;} }


/* =====================================================================
   v31 · MODO OSCURO PROFESIONAL: degradados azul marino
   ===================================================================== */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)){
  --page:#0B1220;
  --page-alt:#0F172A;
  --card:#131D33;
  --text:#E7ECF3;
  --text-soft:#9DA9BD;
  --line:rgba(148,163,184,0.14);
  --shadow-card:0 1px 0 rgba(255,255,255,0.04) inset, 0 18px 36px -20px rgba(2,6,23,0.9);
  --navy-glow:rgba(59,130,246,0.20);
  /* mapa */
  --map-land:#0F1A2E; --map-block:#14213A; --map-park:#11342B; --map-sea:#0A2A4B;
  --map-road:#1E2C47; --map-road-case:#0A1222; --map-ave:#2F4470; --map-ave-case:#0A1222;
  --map-label:#8494AE; --map-route:#38BDF8; --map-route-case:#0369A1; --map-done:#3B4A66;
  --map-traffic:#4A5D82;
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) body,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) html{background:#0B1220;}

/* Portada */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .hero{
  background:
    radial-gradient(circle at 85% 8%, rgba(59,130,246,0.30) 0%, transparent 40%),
    radial-gradient(circle at 8% 92%, rgba(227,190,14,0.08) 0%, transparent 34%),
    linear-gradient(160deg, #0B1220 0%, #0D1B36 55%, #0A1428 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .fleet-item{
  background:
    radial-gradient(circle at 50% 55%, rgba(59,130,246,0.16) 0%, transparent 65%),
    rgba(148,163,184,0.06);
  border-color:rgba(148,163,184,0.16);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .fleet-item:hover{border-color:rgba(227,190,14,0.45);}

/* Secciones con transición continua de azules */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #como-funciona{
  background:
    radial-gradient(circle at 90% 0%, var(--navy-glow) 0%, transparent 38%),
    linear-gradient(180deg, #0A1428 0%, #0C1629 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #en-vivo{
  background:
    radial-gradient(circle at 0% 50%, rgba(56,189,248,0.12) 0%, transparent 40%),
    linear-gradient(180deg, #0C1629 0%, #0F1E3A 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle{
  background:
    radial-gradient(circle at 85% 20%, rgba(227,190,14,0.12) 0%, transparent 38%),
    radial-gradient(circle at 10% 90%, var(--navy-glow) 0%, transparent 40%),
    linear-gradient(180deg, #0F1E3A 0%, #0C1629 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket{background:linear-gradient(160deg,#101B31 0%,#0A1224 100%);border:1px solid rgba(148,163,184,0.16);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket-stub::before,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket-stub::after{background:#0E1A32;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #servicios{
  background:
    radial-gradient(circle at 15% 0%, var(--navy-glow) 0%, transparent 40%),
    linear-gradient(180deg, #0B1220 0%, #0D1A33 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #servicios .service-card{
  background:linear-gradient(180deg, #16223B 0%, #111B30 100%);
  border-color:rgba(148,163,184,0.14);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #seguridad{
  background:
    radial-gradient(circle at 95% 50%, rgba(59,130,246,0.14) 0%, transparent 40%),
    linear-gradient(180deg, #0D1A33 0%, #0B1427 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #faq{
  background:linear-gradient(180deg, #0B1427 0%, #0C1830 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #terminos{background:#0B1220;}

/* Tarjetas */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .step,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .faq-item,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .trust-item{
  background:linear-gradient(180deg, #15213A 0%, #111A2F 100%);
  border-color:var(--line);
  box-shadow:var(--shadow-card);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .trust-item .icon{background:linear-gradient(150deg,#1E3A6B 0%,#12264A 100%);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .faq-chevron{background:rgba(227,190,14,0.15);color:var(--mustard);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .gallery-slot,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) body:not(.is-admin) .gallery-slot:hover{
  background:rgba(148,163,184,0.06);
  border-color:rgba(148,163,184,0.22);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle-gallery{border-top-color:rgba(148,163,184,0.16);}

/* Banda de conductores y pie de página */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box.driver-cta{
  background:
    radial-gradient(circle at 90% 50%, rgba(227,190,14,0.10) 0%, transparent 40%),
    linear-gradient(135deg, #12264A 0%, #0E1B36 60%, #0B1428 100%);
  border-top:1px solid rgba(59,130,246,0.30);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) footer{
  background:
    radial-gradient(circle at 85% 8%, rgba(59,130,246,0.14) 0%, transparent 30%),
    linear-gradient(180deg, #0A1223 0%, #070D1A 100%);
}

/* Ventanas emergentes y mapa */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box{background:linear-gradient(180deg,#0F1A2F 0%,#0B1220 100%);border:1px solid var(--line);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box.theme-dark{background:linear-gradient(180deg,#0D1A33 0%,#0B1220 100%);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box .modal-close{background:rgba(148,163,184,0.14);color:#fff;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .map-frame{border-color:rgba(148,163,184,0.16);box-shadow:0 30px 60px -30px rgba(2,6,23,0.9);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .map-card{background:rgba(15,23,42,0.92);border-color:rgba(148,163,184,0.16);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .theme-btn{background:#0B1220;border-color:#0B1220;}


/* =====================================================================
   v32 · MODO OSCURO: fondo negro con matices azul noche muy sutiles
   ===================================================================== */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)){
  --page:#050608;
  --page-alt:#08090D;
  --card:#0D1017;
  --text:#E8EAEE;
  --text-soft:#9098A6;
  --line:rgba(148,163,184,0.10);
  --shadow-card:0 1px 0 rgba(255,255,255,0.03) inset, 0 20px 40px -22px rgba(0,0,0,0.95);
  --navy-glow:rgba(37,99,235,0.10);
  --map-land:#090C12; --map-block:#0E131C; --map-park:#0C2119; --map-sea:#071A2E;
  --map-road:#171E2B; --map-road-case:#040507; --map-ave:#223252; --map-ave-case:#040507;
  --map-label:#6E7889; --map-route:#38BDF8; --map-route-case:#075985; --map-done:#2A3342;
  --map-traffic:#3A465C;
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) body,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) html{background:#050608;}

:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .hero{
  background:
    radial-gradient(ellipse at 85% 0%, rgba(37,99,235,0.18) 0%, transparent 45%),
    radial-gradient(circle at 8% 95%, rgba(227,190,14,0.05) 0%, transparent 30%),
    linear-gradient(180deg, #06080C 0%, #050608 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .fleet-item{
  background:
    radial-gradient(circle at 50% 55%, rgba(37,99,235,0.10) 0%, transparent 65%),
    rgba(255,255,255,0.03);
  border-color:rgba(148,163,184,0.12);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #como-funciona{
  background:
    radial-gradient(ellipse at 90% 0%, var(--navy-glow) 0%, transparent 40%),
    #050608;
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #en-vivo{
  background:
    radial-gradient(ellipse at 0% 50%, rgba(14,165,233,0.08) 0%, transparent 42%),
    linear-gradient(180deg, #050608 0%, #070A10 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle{
  background:
    radial-gradient(ellipse at 85% 15%, rgba(227,190,14,0.07) 0%, transparent 40%),
    radial-gradient(ellipse at 10% 95%, var(--navy-glow) 0%, transparent 42%),
    linear-gradient(180deg, #070A10 0%, #050608 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket{background:linear-gradient(160deg,#0E121B 0%,#07090D 100%);border:1px solid rgba(148,163,184,0.12);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket-stub::before,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .ticket-stub::after{background:#06080B;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #servicios{
  background:
    radial-gradient(ellipse at 15% 0%, var(--navy-glow) 0%, transparent 42%),
    linear-gradient(180deg, #050608 0%, #07090E 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #servicios .service-card{
  background:linear-gradient(180deg, #10141D 0%, #0A0D13 100%);
  border-color:rgba(148,163,184,0.10);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #seguridad{
  background:
    radial-gradient(ellipse at 95% 50%, var(--navy-glow) 0%, transparent 42%),
    linear-gradient(180deg, #07090E 0%, #050608 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #faq{background:linear-gradient(180deg, #050608 0%, #07090D 100%);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) #terminos{background:#050608;}

:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .step,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .faq-item,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .trust-item{
  background:linear-gradient(180deg, #0F131B 0%, #0A0D12 100%);
  border-color:var(--line);
  box-shadow:var(--shadow-card);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .trust-item .icon{background:linear-gradient(150deg,#1A2C4F 0%,#0E1A33 100%);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .gallery-slot,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) body:not(.is-admin) .gallery-slot:hover{
  background:rgba(255,255,255,0.025);
  border-color:rgba(148,163,184,0.18);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .raffle-gallery{border-top-color:rgba(148,163,184,0.12);}

:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box.driver-cta{
  background:
    radial-gradient(ellipse at 90% 50%, rgba(227,190,14,0.07) 0%, transparent 42%),
    radial-gradient(ellipse at 5% 0%, rgba(37,99,235,0.14) 0%, transparent 45%),
    linear-gradient(135deg, #0A0E17 0%, #06080C 100%);
  border-top:1px solid rgba(148,163,184,0.12);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) footer{
  background:
    radial-gradient(ellipse at 85% 0%, rgba(37,99,235,0.08) 0%, transparent 35%),
    #030405;
  border-top:1px solid rgba(148,163,184,0.08);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box{background:linear-gradient(180deg,#0B0E14 0%,#050608 100%);border:1px solid var(--line);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .modal-box.theme-dark{background:linear-gradient(180deg,#0A0D13 0%,#050608 100%);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .map-frame{border-color:rgba(148,163,184,0.12);box-shadow:0 30px 60px -30px rgba(0,0,0,0.95);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .map-card{background:rgba(8,10,14,0.92);border-color:rgba(148,163,184,0.14);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .theme-btn{background:#050608;border-color:#050608;}


/* =====================================================================
   v33 · TICKET DE SORTEO (estilo entrada doble, inclinada)
   ===================================================================== */
.tk-stack{
  position:relative;
  --stub:132px;
  padding:18px 14px 26px 6px;
  max-width:600px;
  width:100%;
  justify-self:center;
}
.tk{
  position:relative;
  display:grid;
  grid-template-columns:1fr var(--stub);
  border-radius:20px;
  /* muescas circulares en la línea de corte (sin composición de máscaras: compatible con Safari/Chrome/Edge) */
  -webkit-mask:
    radial-gradient(circle 13px at calc(100% - var(--stub)) 0, transparent 97%, #000 100%) top / 100% 51% no-repeat,
    radial-gradient(circle 13px at calc(100% - var(--stub)) 100%, transparent 97%, #000 100%) bottom / 100% 51% no-repeat;
  mask:
    radial-gradient(circle 13px at calc(100% - var(--stub)) 0, transparent 97%, #000 100%) top / 100% 51% no-repeat,
    radial-gradient(circle 13px at calc(100% - var(--stub)) 100%, transparent 97%, #000 100%) bottom / 100% 51% no-repeat;
}
.tk-back{
  position:absolute;
  inset:18px 14px 26px 6px;
  background:linear-gradient(135deg,#3A3D45 0%,#1C1E23 100%);
  transform:rotate(4.5deg) translate(12px,10px);
  opacity:.9;
  box-shadow:0 20px 40px -20px rgba(0,0,0,.6);
}
.tk-front{
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 14px),
    radial-gradient(circle at 18% 0%, rgba(227,190,14,0.16) 0%, transparent 45%),
    linear-gradient(135deg,#25282F 0%,#15171B 55%,#0C0D10 100%);
  color:#fff;
  transform:rotate(-2.5deg);
  box-shadow:0 26px 50px -22px rgba(0,0,0,.7);
  transition:transform .35s ease;
}
@media (hover:hover) and (pointer:fine){
  .tk-stack:hover .tk-front{transform:rotate(-1deg) translateY(-3px);}
}
.tk-main{padding:26px 22px 22px 28px;min-width:0;}
.tk-word{
  display:block;
  font-family:'Sora',system-ui,sans-serif;
  font-weight:800;
  font-size:clamp(2.3rem,6vw,3.3rem);
  line-height:.9;
  letter-spacing:.04em;
  color:var(--mustard);
  text-shadow:0 3px 0 rgba(0,0,0,.35);
}
.tk-title{
  margin-top:10px;
  font-size:clamp(1.05rem,2vw,1.28rem);
  line-height:1.25;
  color:#FFFFFF;
  max-width:24ch;
}
.tk-dots{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:12px;
  margin-top:18px;
}
.tk-dot{display:flex;flex-direction:column;align-items:center;text-align:center;gap:5px;min-width:0;}
.tk-dot small{
  font-size:.6rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  color:#A7ACB4;
}
.tk-dot i{
  width:46px;height:46px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:var(--mustard);
  color:var(--ink);
  box-shadow:inset 0 -3px 0 rgba(0,0,0,.18), 0 6px 14px -6px rgba(227,190,14,.6);
}
.tk-dot i svg{width:22px;height:22px;}
.tk-dot strong{font-family:'Sora',system-ui,sans-serif;font-size:.92rem;color:#fff;margin-top:2px;}
.tk-dot span{font-size:.72rem;line-height:1.35;color:#A7ACB4;}
.tk-pill{
  display:inline-block;
  margin-top:16px;
  padding:6px 14px;
  border-radius:999px;
  border:1.5px solid var(--mustard);
  color:var(--mustard);
  font-family:'Sora',system-ui,sans-serif;
  font-weight:700;
  font-size:.82rem;
}
.tk-stub{
  border-left:2px dashed rgba(255,255,255,0.28);
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:12px;
  padding:18px 10px;
}
.tk-stub .stub-logo{
  display:inline-flex;
  background:var(--mustard);
  padding:7px 9px;
  border-radius:10px;
  line-height:0;
}
.tk-stub .stub-logo img{width:84px;height:auto;display:block;}
.tk-barcode{
  width:84px;height:74px;
  border-radius:6px;
  background:
    repeating-linear-gradient(90deg,
      #111 0 2px, transparent 2px 4px, #111 4px 5px, transparent 5px 7px,
      #111 7px 10px, transparent 10px 11px, #111 11px 12px, transparent 12px 15px,
      #111 15px 16px, transparent 16px 18px) 6px 6px / calc(100% - 12px) calc(100% - 12px) no-repeat,
    #F4F4F2;
}
.tk-serial{font:600 .66rem/1 'Inter',system-ui,sans-serif;letter-spacing:.14em;color:#A7ACB4;}

/* modo oscuro */
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .tk-front{
  background:
    repeating-linear-gradient(135deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 14px),
    radial-gradient(circle at 18% 0%, rgba(227,190,14,0.12) 0%, transparent 45%),
    radial-gradient(circle at 100% 100%, rgba(37,99,235,0.12) 0%, transparent 50%),
    linear-gradient(135deg,#141821 0%,#0B0E14 60%,#07090C 100%);
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .tk-back{background:linear-gradient(135deg,#1A1F2A 0%,#0C0F15 100%);}

/* celular: el talón pasa abajo y las muescas a los costados */
@media (max-width:640px){
  .tk-stack{--stubh:112px;padding:14px 8px 20px 4px;}
  .tk{
    grid-template-columns:1fr;
    -webkit-mask:
      radial-gradient(circle 12px at 0 calc(100% - var(--stubh)), transparent 97%, #000 100%) left / 51% 100% no-repeat,
      radial-gradient(circle 12px at 100% calc(100% - var(--stubh)), transparent 97%, #000 100%) right / 51% 100% no-repeat;
    mask:
      radial-gradient(circle 12px at 0 calc(100% - var(--stubh)), transparent 97%, #000 100%) left / 51% 100% no-repeat,
      radial-gradient(circle 12px at 100% calc(100% - var(--stubh)), transparent 97%, #000 100%) right / 51% 100% no-repeat;
  }
  .tk-back{inset:14px 8px 20px 4px;transform:rotate(3deg) translate(6px,8px);}
  .tk-front{transform:rotate(-1.5deg);}
  .tk-main{padding:22px 18px 18px;}
  .tk-dots{gap:8px;}
  .tk-dot i{width:42px;height:42px;}
  .tk-stub{
    height:var(--stubh);
    flex-direction:row;
    justify-content:space-between;
    border-left:none;
    border-top:2px dashed rgba(255,255,255,0.28);
    padding:14px 20px;
  }
  .tk-barcode{width:96px;height:56px;}
  .tk-stub{justify-content:space-around;}
  .tk-barcode{height:48px;}
}
@media (max-width:360px){
  .tk-dot span{display:none;}
  .tk-stub .stub-logo img{width:70px;}
}

/* ---------- "Foto referencial" en todas las imágenes ---------- */
.fleet-item::after,
.service-card::before,
.gallery-slot.has-photo::after{
  content:"Foto referencial";
  position:absolute;
  z-index:3;
  font:600 9px/1 'Inter',system-ui,sans-serif;
  letter-spacing:.04em;
  color:rgba(255,255,255,0.78);
  background:rgba(0,0,0,0.38);
  padding:3px 6px;
  border-radius:999px;
  pointer-events:none;
}
.fleet-item::after{top:8px;right:9px;}
.service-card{position:relative;}
.service-card::before{top:14px;right:14px;}
.gallery-slot.has-photo::after{left:8px;bottom:8px;}
:root:not([data-theme="dark"]) .modal-box .service-card::before{color:#4B5563;background:rgba(0,0,0,0.06);}

/* =====================================================================
   v33 · COMPATIBILIDAD ANDROID · iOS · WINDOWS
   ===================================================================== */
button, input, select, textarea{font:inherit;color:inherit;}
a, button, label{-webkit-tap-highlight-color:transparent;}
img, svg{max-width:100%;}
/* En pantallas táctiles no se "pegan" los efectos hover */
@media (hover:none){
  .service-card:hover, .fleet-item:hover, .store-badge:hover,
  .gallery-slot:hover, .socials a:hover, nav.primary-nav a:hover{transform:none;}
}
/* Windows con alto contraste */
@media (forced-colors: active){
  .tk, .tk-back{-webkit-mask:none;mask:none;border:1px solid CanvasText;}
  .store-badge, .theme-btn, .menu-btn{border:1px solid ButtonText;}
}
/* Barras de desplazamiento discretas en Windows */
html{scrollbar-width:thin;scrollbar-color:rgba(128,128,128,.45) transparent;}
::-webkit-scrollbar{width:10px;height:10px;}
::-webkit-scrollbar-thumb{background:rgba(128,128,128,.45);border-radius:10px;border:2px solid transparent;background-clip:padding-box;}
::-webkit-scrollbar-track{background:transparent;}


/* =====================================================================
   v34 · MAPA PROFESIONAL + VEHÍCULOS QUE ROTAN
   ===================================================================== */
:root{
  --map-land:#F1F3F4; --map-block:#E8EAED; --map-bld:#DADCE0; --map-bld2:#D2D5DA;
  --map-park:#CDEBC5; --map-tree:#B3DDA8; --map-path:#E4F2DF;
  --map-sea-deep:#8CC8F0; --map-sea-shore:#AADAFF; --map-coast:#9FCBEA;
  --map-road:#FFFFFF; --map-road-case:#D5D8DC; --map-ave:#FDE293; --map-ave-case:#F0C24B; --map-ave-center:#F6D36B;
  --map-label:#5F6368; --map-halo:#FFFFFF;
  --map-route:#4285F4; --map-route-case:#1A5CC8; --map-done:#A8B1BD;
  --map-slow:#F59E0B; --map-heavy:#E53935;
  --map-traffic:#B6BCC5; --map-traffic-roof:#DDE1E6;
  --map-tag:#FFFFFF; --map-tag-text:#202124;
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)){
  --map-land:#0B0E13; --map-block:#10141B; --map-bld:#161B24; --map-bld2:#1A2029;
  --map-park:#0E2419; --map-tree:#123223; --map-path:#133020;
  --map-sea-deep:#06182A; --map-sea-shore:#0A2440; --map-coast:#0E3050;
  --map-road:#1E2531; --map-road-case:#05070A; --map-ave:#3A3526; --map-ave-case:#05070A; --map-ave-center:#4E4630;
  --map-label:#8B94A3; --map-halo:#0B0E13;
  --map-route:#4C8DFF; --map-route-case:#1E3F86; --map-done:#343C49;
  --map-slow:#D98A0B; --map-heavy:#C23532;
  --map-traffic:#4A5566; --map-traffic-roof:#5E6A7C;
  --map-tag:#161B24; --map-tag-text:#E8EAEE;
}
.m-land{fill:var(--map-land);}
.m-block{fill:var(--map-block);}
.m-bld{fill:var(--map-bld);}
.m-bld2{fill:var(--map-bld2);}
.m-park{fill:var(--map-park);}
.m-tree{fill:var(--map-tree);}
.m-path{fill:none;stroke:var(--map-path);stroke-width:3;stroke-linecap:round;}
.m-sea-deep{stop-color:var(--map-sea-deep);}
.m-sea-shore{stop-color:var(--map-sea-shore);}
.m-coastline{fill:none;stroke:var(--map-coast);stroke-width:2;}
.m-case,.m-case-ave,.m-fill,.m-fill-ave,.m-ave-center{fill:none;stroke-linecap:round;stroke-linejoin:round;}
.m-case{stroke:var(--map-road-case);}
.m-w-local{stroke-width:14;}
.m-fill{stroke:var(--map-road);}
.m-w-local-in{stroke-width:11;}
.m-case-ave{stroke:var(--map-ave-case);}
.m-w-ave{stroke-width:22;}
.m-fill-ave{stroke:var(--map-ave);}
.m-w-ave-in{stroke-width:19;}
.m-ave-center{stroke:var(--map-ave-center);stroke-width:1;stroke-dasharray:8 8;}
.m-traffic-slow,.m-traffic-heavy{fill:none;stroke-width:4;stroke-linecap:round;opacity:.9;}
.m-traffic-slow{stroke:var(--map-slow);}
.m-traffic-heavy{stroke:var(--map-heavy);}
.m-label{
  font:600 10.5px 'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  fill:var(--map-label);
  paint-order:stroke;
  stroke:var(--map-halo);
  stroke-width:3px;
  stroke-linejoin:round;
  letter-spacing:.02em;
}
.m-label-ave{font-weight:700;}
.m-label-sm{font-size:9.5px;}
.m-label-park{fill:#3E7B3A;font-size:9.5px;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .m-label-park{fill:#5FA566;}
.m-label-sea{fill:#3B78A8;stroke:none;font-style:italic;font-weight:500;letter-spacing:.12em;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .m-label-sea{fill:#4E7EA8;}
.m-traffic-cars .m-mini rect{fill:var(--map-traffic);}
.m-traffic-cars .m-mini .m-mini-roof{fill:var(--map-traffic-roof);}
.m-route-case{fill:none;stroke:var(--map-route-case);stroke-width:11;stroke-linecap:round;stroke-linejoin:round;}
.m-route{fill:none;stroke:var(--map-route);stroke-width:7;stroke-linecap:round;stroke-linejoin:round;}
.m-route-done{fill:none;stroke:var(--map-done);stroke-width:11.5;stroke-linecap:round;stroke-linejoin:round;}
.m-pulse{fill:var(--map-route);}
.m-start-ring{fill:#FFFFFF;stroke:var(--map-route);stroke-width:3;}
.m-start-core{fill:var(--map-route);}
.m-pin-shadow{fill:rgba(0,0,0,.25);}
.m-end-pin{fill:#EA4335;stroke:#B3261E;stroke-width:1.2;}
.m-end-dot{fill:#FFFFFF;}
.m-tag{fill:var(--map-tag);filter:drop-shadow(0 2px 3px rgba(0,0,0,.22));}
.m-tag-text{font:700 10px 'Inter',system-ui,sans-serif;fill:var(--map-tag-text);}
.map-frame{background:var(--map-land);}

.map-ctrl{
  position:absolute;z-index:2;right:14px;top:50%;
  transform:translateY(-50%);
  display:flex;flex-direction:column;gap:8px;
}
.map-ctrl span{
  width:34px;height:34px;border-radius:10px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.95);color:#3C4043;
  font:600 18px/1 'Inter',system-ui,sans-serif;
  box-shadow:0 4px 12px -4px rgba(16,24,40,.35);
}
.map-ctrl span svg{width:18px;height:18px;}
.map-ctrl .map-ctrl-loc{color:var(--map-route);margin-top:6px;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .map-ctrl span{background:rgba(16,20,27,.95);color:#C9CED6;border:1px solid rgba(148,163,184,.14);}

/* textos que rotan con cada vehículo (4 × 14 s) */
.rot{display:inline-grid;}
.rot > span{grid-area:1/1;animation:rot4 56s linear infinite;opacity:0;visibility:hidden;}
.rot > span:nth-child(1){animation-delay:0s;}
.rot > span:nth-child(2){animation-delay:-42s;}
.rot > span:nth-child(3){animation-delay:-28s;}
.rot > span:nth-child(4){animation-delay:-14s;}
@keyframes rot4{
  0%,24.8%{opacity:1;visibility:visible;}
  25%,100%{opacity:0;visibility:hidden;}
}
.map-card .rot{display:grid;}
.map-card .rot > span{display:block;font:inherit;color:inherit;line-height:inherit;letter-spacing:inherit;}
.map-avatar .rot{display:grid;}
.map-avatar .rot{font:inherit;}
@media (prefers-reduced-motion: reduce){
  .rot > span{animation:none;}
  .rot > span:first-child{opacity:1;visibility:visible;}
}
@media (max-width:640px){ .map-ctrl{display:none;} }

.tk-code{display:flex;flex-direction:column;align-items:center;gap:8px;}
.tk-serial{display:inline-flex;align-items:flex-end;gap:5px;color:#C9CDD3;font-size:.72rem;letter-spacing:.06em;}
.tk-blank{display:inline-block;width:58px;height:1px;border-bottom:1.5px dashed rgba(255,255,255,.55);margin-bottom:2px;}

/* ---------- ASISTENTE WHATSAPP: sugerencias de preguntas ---------- */
.wa-tip{
  position:absolute;
  right:calc(100% + 12px);
  bottom:18px;
  width:min(270px, calc(100vw - 120px));
  background:#FFFFFF;
  color:#14171C;
  border-radius:16px 16px 4px 16px;
  padding:12px 14px 12px;
  box-shadow:0 18px 40px -16px rgba(0,0,0,.45), 0 0 0 1px rgba(0,0,0,.05);
  font-family:'Inter',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  opacity:0;
  transform:translate3d(8px,6px,0) scale(.96);
  transform-origin:100% 100%;
  transition:opacity .3s ease, transform .3s ease;
  pointer-events:none;
}
.wa-tip[hidden]{display:block;visibility:hidden;}
.wa-tip.show{opacity:1;transform:translate3d(0,0,0) scale(1);pointer-events:auto;visibility:visible;}
.wa-tip-head{display:flex;align-items:center;gap:6px;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#1FAF57;margin-bottom:4px;padding-right:20px;}
.wa-tip-dot{width:7px;height:7px;border-radius:50%;background:#1FAF57;animation:live-pulse 1.8s ease-out infinite;}
.wa-tip-q{display:block;color:inherit;}
.wa-tip-q > span:first-child{display:block;font-family:'Sora',system-ui,sans-serif;font-weight:700;font-size:.92rem;line-height:1.3;}
.wa-tip-cta{display:block;margin-top:6px;font-size:.75rem;font-weight:600;color:#1FAF57;}
.wa-tip-q:hover .wa-tip-cta{text-decoration:underline;}
.wa-tip-close{
  position:absolute;top:6px;right:6px;
  width:24px;height:24px;border-radius:50%;
  border:none;background:transparent;color:#6B7280;
  font-size:16px;line-height:1;cursor:pointer;
}
.wa-tip-close:hover{background:#F1F3F5;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .wa-tip{background:#10141B;color:#E8EAEE;box-shadow:0 18px 40px -16px rgba(0,0,0,.9), 0 0 0 1px rgba(148,163,184,.16);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .wa-tip-close:hover{background:rgba(255,255,255,.08);}
/* aviso en el botón verde */
#wa-widget .wa-btn::after{
  content:"1";
  position:absolute;top:-4px;right:-4px;
  min-width:16px;height:16px;border-radius:999px;
  background:#E53935;color:#fff;
  font:700 10px/16px 'Inter',system-ui,sans-serif;text-align:center;
  box-shadow:0 0 0 2px #fff;
  transform:scale(0);transition:transform .25s ease;
}
#wa-widget.has-tip .wa-btn::after{transform:scale(1);}
#wa-widget.has-tip .wa-character{animation:wa-nudge 1.6s ease-in-out 2;}
@keyframes wa-nudge{
  0%,100%{transform:translate3d(0,0,0);}
  30%{transform:translate3d(0,-4px,0);}
  60%{transform:translate3d(0,0,0);}
}
@media (max-width:640px){
  .wa-tip{bottom:6px;right:calc(100% + 8px);width:min(230px, calc(100vw - 104px));padding:10px 12px;}
  .wa-tip-q > span:first-child{font-size:.84rem;}
}
body.modal-lock .wa-tip, body.admin-edit-mode .wa-tip{display:none;}


/* =====================================================================
   v35 · LIBRO DE RECLAMACIONES
   ===================================================================== */
.lr-section{background:var(--page);}
.lr-box{max-width:860px;margin:0 auto;}
.lr-head{border:2px solid var(--text);border-radius:16px;overflow:hidden;margin-bottom:22px;}
.lr-head-title{display:flex;gap:14px;align-items:center;padding:16px 18px;background:var(--ink);color:#fff;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .lr-head-title{background:#0D1017;}
.lr-head-title > svg{width:40px;height:40px;flex:none;color:var(--mustard);}
.lr-head-title h2{font-size:clamp(1.3rem,3vw,1.7rem);color:#fff;text-transform:uppercase;letter-spacing:.02em;}
.lr-head-title p{font-size:.8rem;color:#C9CDD3;margin-top:4px;line-height:1.4;}
.lr-provider{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));margin:0;}
.lr-provider div{padding:10px 18px;border-top:1px solid var(--line);}
.lr-provider div:nth-child(odd){border-right:1px solid var(--line);}
.lr-provider dt{font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--text-soft);}
.lr-provider dd{margin:3px 0 0;font-weight:600;font-size:.92rem;color:var(--text);}
.lr-form fieldset{border:1px solid var(--line);border-radius:16px;padding:16px 18px 18px;margin:0 0 16px;background:var(--page);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .lr-form fieldset{background:linear-gradient(180deg,#0F131B 0%,#0A0D12 100%);}
.lr-form legend{display:flex;align-items:center;gap:8px;font-family:'Sora',system-ui,sans-serif;font-weight:700;font-size:.98rem;color:var(--text);padding:0 6px;}
.lr-form legend span{width:24px;height:24px;border-radius:50%;background:var(--mustard);color:var(--ink);display:inline-flex;align-items:center;justify-content:center;font-size:.8rem;}
.lr-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 14px;}
.lr-span2{grid-column:1 / -1;}
.lr-form label{display:flex;flex-direction:column;gap:6px;font-size:.84rem;font-weight:600;color:var(--text);}
.lr-form label b{color:#D93025;font-weight:700;}
.lr-form label:not(.lr-check){display:block;}
.lr-form label:not(.lr-check) > input,
.lr-form label:not(.lr-check) > select,
.lr-form label:not(.lr-check) > textarea{display:block;margin-top:6px;}
.lr-form input:not([type="checkbox"]):not([type="radio"]),
.lr-form select,
.lr-form textarea{
  width:100%;
  font-size:16px; /* evita el zoom automático en iPhone */
  font-weight:400;
  padding:11px 12px;
  border:1px solid rgba(16,24,40,.22);
  border-radius:10px;
  background:#FFFFFF;
  color:#14171C;
  -webkit-appearance:none;
  appearance:none;
  min-height:44px;
}
.lr-form select{
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 10px center;background-size:18px;padding-right:36px;
}
.lr-form textarea{resize:vertical;min-height:90px;line-height:1.5;}
.lr-form input:focus,.lr-form select:focus,.lr-form textarea:focus{outline:2px solid var(--mustard);outline-offset:1px;border-color:var(--mustard-deep);}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .lr-form input:not([type="checkbox"]):not([type="radio"]),
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .lr-form select,
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .lr-form textarea{background:#07090D;color:#E8EAEE;border-color:rgba(148,163,184,.25);}
.lr-form .lr-invalid{border-color:#D93025 !important;box-shadow:0 0 0 1px #D93025;}
.lr-check{flex-direction:row !important;align-items:flex-start;gap:9px !important;font-weight:500 !important;line-height:1.45;cursor:pointer;}
.lr-check input{width:20px;height:20px;margin:0;flex:none;accent-color:var(--mustard-deep);}
.lr-radios{display:flex;flex-wrap:wrap;gap:10px 24px;margin-bottom:6px;}
.lr-def{font-size:.8rem;color:var(--text-soft);background:var(--page-alt);border-radius:10px;padding:10px 12px;margin:8px 0 14px;line-height:1.5;text-align:justify;}
.lr-provider-use p{font-size:.84rem;color:var(--text-soft);}
.lr-legal{display:grid;gap:10px;margin:6px 0 16px;}
.lr-legal ul{margin:6px 0 0 1.1em;display:grid;gap:6px;}
.lr-legal li{font-size:.8rem;color:var(--text-soft);line-height:1.5;text-align:justify;}
.lr-error{color:#D93025;font-weight:600;font-size:.88rem;margin-bottom:10px;}
.lr-submit{
  width:100%;min-height:52px;border:none;border-radius:12px;cursor:pointer;
  background:var(--ink);color:#fff;font:700 1rem 'Sora',system-ui,sans-serif;
  box-shadow:0 12px 24px -12px rgba(0,0,0,.5);
}
.lr-submit:hover{background:#2A2C33;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .lr-submit{background:var(--mustard);color:var(--ink);}
@media (max-width:640px){
  .lr-grid,.lr-provider{grid-template-columns:1fr;}
  .lr-provider div:nth-child(odd){border-right:none;}
  .lr-form fieldset{padding:14px 12px 16px;}
}
/* Constancia */
.lr-receipt{border:2px solid var(--text);border-radius:16px;padding:20px;background:var(--page);}
.lr-receipt h3{font-size:1.2rem;margin-bottom:4px;}
.lr-receipt .lr-ok{display:flex;gap:10px;align-items:center;color:#1E8E3E;font-weight:700;margin-bottom:12px;}
.lr-receipt table{width:100%;border-collapse:collapse;margin:12px 0;font-size:.86rem;}
.lr-receipt th,.lr-receipt td{text-align:left;vertical-align:top;padding:7px 8px;border-bottom:1px solid var(--line);}
.lr-receipt th{width:38%;color:var(--text-soft);font-weight:600;}
.lr-receipt td{white-space:pre-wrap;word-break:break-word;}
.lr-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px;}
.lr-actions a,.lr-actions button{
  flex:1 1 180px;min-height:46px;border-radius:12px;border:1px solid var(--line);
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  font:700 .9rem 'Sora',system-ui,sans-serif;cursor:pointer;background:var(--page-alt);color:var(--text);
}
.lr-actions .lr-primary{background:var(--mustard);color:var(--ink);border-color:var(--mustard);}
.lr-note{font-size:.78rem;color:var(--text-soft);margin-top:12px;line-height:1.5;}
@media print{
  body.print-lr *{visibility:hidden !important;}
  body.print-lr .lr-receipt, body.print-lr .lr-receipt *{visibility:visible !important;}
  body.print-lr .lr-receipt{position:absolute;left:0;top:0;width:100%;border:1px solid #000;color:#000;background:#fff;}
  body.print-lr .lr-actions{display:none !important;}
}


/* ---------- v36 · Mapa alineado con el texto (de "Sigue tu viaje…" a "…confianza") ---------- */
@media (min-width:861px){
  .live-wrap{
    grid-template-columns:0.85fr 1.15fr;
    grid-template-rows:auto auto auto auto;
    row-gap:0;
    align-items:start;
  }
  .live-copy{display:contents;}
  .live-copy > *{grid-column:1;}
  .live-copy > .kicker{grid-row:1;justify-self:start;}
  .live-copy > h2{grid-row:2;}
  .live-copy > .live-lede{grid-row:3;}
  .live-copy > .live-list{grid-row:4;}
  .live-wrap > .map-frame{
    grid-column:2;
    grid-row:2 / 5;
    align-self:stretch;
    aspect-ratio:auto;
    min-height:340px;
    height:100%;
  }
}

/* nota "Foto referencial" sin tapar el destino */
.map-note{top:auto;bottom:84px;right:16px;}
@media (max-width:640px){ .map-note{display:none;} }

/* ---------- v37 · Términos: partes ---------- */
.legal-part{
  margin:38px 0 4px !important;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-family:'Sora',system-ui,sans-serif;
  font-size:.78rem !important;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--mustard-deep) !important;
  text-align:left !important;
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .legal-part{color:var(--mustard) !important;}
.legal-body .legal-part:first-child{margin-top:0 !important;border-top:none;padding-top:0;}
.legal-part + h3{margin-top:10px !important;}
.legal-intro{margin-top:10px;color:var(--text-soft);text-align:justify;}


/* ---------- v38 · Interruptor de tema accesible y sin JavaScript ---------- */
.theme-sw{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;margin:0;}
.theme-btn{user-select:none;-webkit-user-select:none;}
.theme-sw:focus-visible + .theme-btn{outline:2px solid var(--ink);outline-offset:2px;}
html{background:var(--page);}

body.modal-lock #wa-widget{display:none;}
/* --- Términos y Condiciones --- */
.legal{display:none;background:var(--page);}
.legal:target{display:block;}
.modal-box .legal-body{margin-top:-12px;}
.legal-date{font-size:0.9rem !important;color:var(--text-soft);}
.legal-body{max-width:820px;}
.legal-body h3{
  font-size:1.12rem;
  margin:32px 0 10px;
  color:var(--text);
  letter-spacing:-0.01em;
  line-height:1.3;
}
.legal-body h3:first-child{margin-top:0;}
.legal-body p,
.legal-body li{
  font-size:0.97rem;
  line-height:1.7;
  color:var(--text-soft);
  text-align:justify;
  text-justify:inter-word;
  -webkit-hyphens:auto;
  hyphens:auto;
  overflow-wrap:break-word;
}
.legal-body p + p, .legal-body ul + p, .legal-body p + ul{margin-top:10px;}
.legal-body ul{padding-left:1.2em;display:grid;gap:8px;}
.legal-body li::marker{color:var(--mustard-deep);}
.legal-body strong{color:var(--text);font-weight:600;}
mark.fill{background:var(--mustard-pale);color:var(--ink);padding:0 4px;border-radius:4px;font-weight:600;}

/* ---------- WHATSAPP FLOTANTE + PERSONAJE ANIMADO ---------- */
#wa-widget{
  position:fixed;
  right:clamp(14px,3vw,32px);
  bottom:clamp(20px,3vw,32px);
  z-index:220;
  display:block;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
  -webkit-transform:translate3d(0,0,0);
  transform:translate3d(0,0,0);
  -webkit-backface-visibility:hidden;
  backface-visibility:hidden;
}
#wa-widget .wa-link{display:block;position:relative;}
#wa-widget .wa-character{
  width:clamp(72px,9vw,112px);
  height:clamp(72px,9vw,112px);
  border-radius:50%;
  overflow:hidden;
  background:radial-gradient(circle at 50% 35%, #eaf7f5 0%, #cfeceb 60%, #b7e2e0 100%);
  box-shadow:0 12px 22px -10px rgba(11,95,146,0.45), 0 0 0 4px rgba(255,255,255,0.9), 0 0 0 6px rgba(11,147,168,0.25);
  position:relative;
  display:block;
  -webkit-transform:translate3d(0,0,0);
  transform:translate3d(0,0,0);
  transition:transform .3s ease;
}
#wa-widget .wa-character img{
  width:112%;
  height:112%;
  max-width:none;
  object-fit:cover;
  object-position:center 18%;
  display:block;
  margin:-4% 0 0 -6%;
}
/* Movimiento suave: un leve balanceo cada pocos segundos */
#wa-widget .wa-character{animation:wa-soft 6s ease-in-out infinite;}
@keyframes wa-soft{
  0%,80%,100%{transform:translate3d(0,0,0);}
  86%{transform:translate3d(0,-4px,0);}
  92%{transform:translate3d(0,0,0);}
}
#wa-widget:active .wa-character{transform:translate3d(0,0,0) scale(.96);}
@media (hover:hover) and (pointer:fine){
  #wa-widget:hover .wa-character{transform:translate3d(0,-3px,0);animation:none;}
}
#wa-widget .wa-bubble{
  position:absolute;
  top:-6px;
  right:calc(100% + 10px);
  background:#ffffff;
  color:var(--ink);
  font-family:'Sora',system-ui,sans-serif;
  font-weight:700;
  font-size:0.78rem;
  padding:7px 12px;
  border-radius:14px 14px 2px 14px;
  box-shadow:0 8px 18px -6px rgba(0,0,0,0.35);
  white-space:nowrap;
  opacity:0;
  transform:translate3d(6px,0,0);
  pointer-events:none;
  transition:opacity .25s ease, transform .25s ease;
}
@media (hover:hover) and (pointer:fine){
  #wa-widget:hover .wa-bubble{opacity:1;transform:translate3d(0,0,0);}
}
#wa-widget .wa-btn{
  position:absolute;
  top:-6px;
  right:-6px;
  width:clamp(34px,4.4vw,46px);
  height:clamp(34px,4.4vw,46px);
  border-radius:50%;
  background:linear-gradient(145deg,#3FE07A,#1FAF57 55%,#0E8C42);
  display:flex;align-items:center;justify-content:center;
  box-shadow:
    0 8px 16px -6px rgba(14,140,66,0.65),
    inset 0 3px 6px rgba(255,255,255,0.5),
    inset 0 -4px 7px rgba(0,0,0,0.22),
    0 0 0 3px rgba(255,255,255,0.95);
  z-index:2;
}
#wa-widget .wa-btn svg{width:58%;height:58%;position:relative;z-index:1;}
#wa-widget .wa-btn .wa-ping{
  position:absolute;inset:0;
  border-radius:50%;
  background:rgba(63,224,122,0.5);
  animation:wa-ping 3s ease-out infinite;
  will-change:transform,opacity;
}
@keyframes wa-ping{
  0%{transform:scale(1);opacity:.5;}
  60%,100%{transform:scale(1.6);opacity:0;}
}
@media (max-width:640px){
  /* más arriba para no tapar el botón de compartir de iOS */
  #wa-widget{right:14px;bottom:88px;}
  #wa-widget .wa-character{width:64px;height:64px;}
  #wa-widget .wa-btn{width:30px;height:30px;top:-6px;right:-8px;}
}
@media (prefers-reduced-motion: reduce){
  #wa-widget .wa-character, #wa-widget .wa-btn .wa-ping{animation:none !important;}
}

/* =====================================================================
   v39 · ADAPTACIÓN A PANTALLAS GRANDES (15", 17", 21", 24", 27" y más)
   El contenido crece con la pantalla para no dejar franjas vacías a los lados.
   ===================================================================== */
:root{--wrap-max:1180px;}
.wrap{max-width:var(--wrap-max);}
.header-inner{max-width:max(1360px, var(--wrap-max));}

/* 15" – 17" (1440 – 1599 px) */
@media (min-width:1440px){
  :root{--wrap-max:1300px;}
}
/* 17" – 21" (1600 – 1919 px) */
@media (min-width:1600px){
  html{font-size:17px;}
  :root{--wrap-max:min(88vw,1500px);}
  .hero-art{max-width:640px;}
  .modal-box{max-width:1000px;}
}
/* 21" – 24" Full HD (1920 px +) */
@media (min-width:1900px){
  html{font-size:18px;}
  :root{--wrap-max:min(86vw,1680px);}
  .hero .wrap{grid-template-columns:1fr 1fr;}
  .hero p.lede{max-width:54ch;}
  .hero h1{max-width:16ch;}
  .hero-art{max-width:760px;}
  .brand img{height:92px;}
  header.is-compact .brand img{height:62px;}
  .header-cta{font-size:1.02rem;padding:13px 24px;}
  .modal-box{max-width:1100px;}
  .store-badge img{height:60px;}
}
/* 27" QHD (2400 px +) */
@media (min-width:2400px){
  html{font-size:20px;}
  :root{--wrap-max:min(84vw,2080px);}
  .hero-art{max-width:960px;}
  .brand img{height:108px;}
  header.is-compact .brand img{height:70px;}
  .modal-box{max-width:1300px;}
  .store-badge img{height:72px;}
}
/* 4K sin escalado (3200 px +) */
@media (min-width:3200px){
  html{font-size:24px;}
  :root{--wrap-max:min(82vw,2700px);}
  .hero-art{max-width:1240px;}
  .brand img{height:130px;}
  header.is-compact .brand img{height:84px;}
  .modal-box{max-width:1600px;}
  .store-badge img{height:90px;}
}

/* =====================================================================
   v39 · PÁGINA INDEPENDIENTE DEL LIBRO DE RECLAMACIONES
   ===================================================================== */
.lr-page{min-height:100vh;}
.lr-topbar{background:var(--mustard);box-shadow:0 8px 24px -16px rgba(0,0,0,0.45);}
.lr-topbar-inner{
  max-width:calc(860px + 2 * clamp(20px,5vw,48px));margin:0 auto;
  padding:10px clamp(20px,5vw,48px);
  display:flex;align-items:center;justify-content:space-between;gap:16px;
}
.lr-topbar-brand img{height:56px;width:auto;}
.lr-topbar-title{font-family:'Sora',system-ui,sans-serif;font-weight:800;color:var(--ink);font-size:clamp(.95rem,2vw,1.1rem);text-align:right;}
.lr-page-section{display:block;padding:clamp(28px,5vw,56px) 0 clamp(48px,7vw,80px);}
.lr-page-section .wrap{max-width:calc(860px + 2 * clamp(20px,5vw,48px));}
.lr-provider dd a{color:var(--blue);text-decoration:underline;word-break:break-all;}
:is(:root[data-theme="dark"]) .lr-provider dd a{color:var(--mustard);}
.lr-hp{position:absolute !important;left:-9999px;width:1px;height:1px;overflow:hidden;}
.lr-submit[disabled]{opacity:.65;cursor:progress;}
.lr-sent{display:flex;gap:10px;align-items:flex-start;background:rgba(30,142,62,.10);border:1px solid rgba(30,142,62,.35);border-radius:12px;padding:12px 14px;font-size:.9rem;line-height:1.5;color:var(--text);margin:8px 0 4px;}
.lr-sent.lr-warn{background:rgba(217,48,37,.08);border-color:rgba(217,48,37,.35);}
@media (max-width:640px){
  .lr-topbar-brand img{height:44px;}
}
@media print{
  .lr-topbar{display:none !important;}
}

/* =====================================================================
   v40 · PÁGINAS INDEPENDIENTES (Servicios, Conductores, Sorteos,
   Seguridad, Preguntas frecuentes, Términos)
   ===================================================================== */
.pg-page{min-height:100vh;display:flex;flex-direction:column;background:var(--page);}
.pg-main{flex:1;display:flex;flex-direction:column;}
.pg-main > .pg-section{flex:1;display:block;}
.pg-topbar-inner{max-width:max(1360px, var(--wrap-max));}
.pg-section.legal{display:block;}
.pg-section.driver-cta{display:flex;align-items:center;padding:clamp(56px,9vw,108px) 0;}
.pg-section.driver-cta > .wrap{width:100%;}
.lr-topbar{position:relative;z-index:5;border-bottom:1px solid rgba(0,0,0,0.14);}

/* v43 · páginas internas con el mismo menú fijo del inicio */
.pg-page .pg-main{padding-top:var(--header-h);}
nav.primary-nav a.is-active{background:rgba(0,0,0,0.12);color:#000;}
nav.primary-nav a.is-active::after{content:"";position:absolute;left:12px;right:12px;bottom:2px;height:3px;border-radius:3px;background:var(--ink);}
#mobile-nav a.is-active{background:rgba(0,0,0,0.12);}

/* =====================================================================
   v46 · Títulos de sección (Servicios, Conductores, Sorteos, Seguridad,
   Preguntas frecuentes) 3 veces más grandes y con animación al pasar el mouse
   ===================================================================== */
.pg-page:not(.pg-terminos) .pg-section .kicker{
  font-size:clamp(1.35rem,4.2vw,2.34rem);
  letter-spacing:0.12em;
  gap:clamp(12px,1.6vw,20px);
  margin-bottom:clamp(16px,2vw,26px);
  line-height:1.1;
  cursor:default;
  transform-origin:left center;
  transition:letter-spacing .4s cubic-bezier(.2,.8,.2,1), transform .4s cubic-bezier(.2,.8,.2,1), text-shadow .4s ease, color .3s ease;
  animation:kickerIn .8s cubic-bezier(.2,.8,.2,1) both;
}
.pg-page:not(.pg-terminos) .pg-section .kicker::before{
  width:clamp(44px,6vw,84px);
  height:clamp(4px,.5vw,6px);
  border-radius:6px;
  transition:width .45s cubic-bezier(.2,.8,.2,1), transform .45s ease;
}
.pg-page:not(.pg-terminos) .pg-section .kicker:hover,
.pg-page:not(.pg-terminos) .pg-section .kicker:active{
  letter-spacing:0.2em;
  transform:translateX(6px) scale(1.04);
  text-shadow:0 6px 18px rgba(227,190,14,0.45);
}
.pg-page:not(.pg-terminos) .pg-section .kicker:hover::before,
.pg-page:not(.pg-terminos) .pg-section .kicker:active::before{
  width:clamp(70px,10vw,140px);
  animation:kickerLine 1.2s ease-in-out infinite;
}
@keyframes kickerIn{from{opacity:0;transform:translateX(-24px);}to{opacity:1;transform:none;}}
@keyframes kickerLine{0%,100%{transform:scaleX(1);}50%{transform:scaleX(.82);}}
.driver-cta .kicker{color:var(--ink) !important;}
.driver-cta .kicker::before{background:var(--ink) !important;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta .kicker{color:var(--mustard) !important;}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .driver-cta .kicker::before{background:var(--mustard) !important;}

@media (prefers-reduced-motion: reduce){
  .pg-page .pg-section .kicker, .pg-page .pg-section .kicker::before{animation:none !important;}
}
@media (min-width:861px){ .pg-page:not(.pg-terminos) .pg-section .kicker{white-space:nowrap;} }

/* =====================================================================
   v48 · Galería de sorteos administrable (fotos en el servidor)
   ===================================================================== */
figure.gallery-slot{margin:0;}
.gallery-slot.gal-photo::after{content:none;}
.gallery-slot.gal-photo{cursor:zoom-in;}
body:not(.is-admin) .gallery-slot.gal-photo:hover{transform:translateY(-3px);}
.gallery-slot.gal-empty, body:not(.is-admin) .gallery-slot.gal-empty:hover{cursor:default;transform:none;}
button.gallery-slot.gal-add{font:inherit;color:#5b4600;cursor:pointer;width:100%;}
button.gallery-slot.gal-add:hover{transform:translateY(-3px);background:rgba(255,255,255,0.5);}
.gal-tools{position:absolute;top:8px;right:8px;display:flex;gap:6px;z-index:4;}
.gal-tools button{
  width:32px;height:32px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(0,0,0,0.65);color:#fff;font:700 18px/1 'Inter',system-ui,sans-serif;
  display:flex;align-items:center;justify-content:center;
}
.gal-tools button:hover{background:#000;}
.gal-tools .gal-del{background:rgba(196,30,0,0.85);}
.gal-photo.confirm{outline:3px solid #C41E00;outline-offset:2px;}
.gal-photo.confirm .gal-del{background:#FF2400;transform:scale(1.15);}
.gal-admin{
  margin-top:18px;padding:14px 16px;border-radius:14px;
  background:rgba(21,22,26,0.92);color:#fff;
  box-shadow:0 14px 30px -18px rgba(0,0,0,0.6);
}
.gal-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px;}
.gal-row strong{font-family:'Sora',system-ui,sans-serif;margin-right:auto;}
.gal-admin input[type="password"]{
  flex:1 1 200px;min-height:42px;padding:8px 12px;border-radius:10px;
  border:1px solid rgba(255,255,255,0.25);background:#0B0D11;color:#fff;font-size:16px;
}
.gal-btn{
  min-height:42px;padding:8px 18px;border-radius:999px;border:none;cursor:pointer;
  background:var(--mustard);color:var(--ink);font:700 .92rem 'Sora',system-ui,sans-serif;
}
.gal-btn:hover{background:#F0C42B;}
.gal-btn.gal-out{background:rgba(255,255,255,0.14);color:#fff;}
.gal-help{font-size:.82rem;color:#C9CDD3;margin-top:8px;}
.gal-msg{font-size:.86rem;margin-top:8px;color:#9BE3B0;}
.gal-msg.err{color:#FFB4A8;}
.gal-lightbox{
  position:fixed;inset:0;z-index:9000;display:none;align-items:center;justify-content:center;
  background:rgba(0,0,0,0.88);padding:clamp(12px,4vw,48px);
}
.gal-lightbox.open{display:flex;}
.gal-lightbox img{max-width:100%;max-height:100%;border-radius:12px;box-shadow:0 30px 80px -20px rgba(0,0,0,0.8);}
.gal-lightbox button{
  position:absolute;top:16px;right:16px;width:44px;height:44px;border-radius:50%;border:none;cursor:pointer;
  background:rgba(255,255,255,0.15);color:#fff;font-size:26px;line-height:1;
}

/* =====================================================================
   v49 · Hero según diseño: título en dos líneas (blanco / amarillo) + lista con checks
   ===================================================================== */
.hero h1{max-width:none !important;}
.hero h1 .h1-line{display:block;color:var(--mustard);}
.hero h1 .h1-line.h1-white{color:#fff;}
@media (min-width:600px){ .hero h1 .h1-line{white-space:nowrap;} }
.hero p.lede{font-size:1.05rem;max-width:44ch;}
.hero-checks{list-style:none;margin:22px 0 0;padding:0;display:flex;flex-direction:column;gap:12px;}
.hero-checks li{display:flex;align-items:flex-start;gap:12px;color:#E4E2DA;font-size:1rem;line-height:1.45;}
.hero-checks svg{width:20px;height:20px;flex:none;color:var(--mustard);margin-top:1px;}
/* v49 · Enlaces dentro de textos legales */
.legal .legal-body a, .legal .legal-intro a{text-decoration:underline;text-underline-offset:3px;font-weight:600;color:inherit;}
.legal .legal-body a:hover, .legal .legal-intro a:hover{color:var(--mustard);}

/* =====================================================================
   LECTURA CÓMODA (accesibilidad) — oct 2026
   Letra más grande, más contraste, texto justificado con guiones
   y foco visible. Va al final para prevalecer sobre lo anterior.
   ===================================================================== */
:root{ --text-soft:#363C47; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){ --text-soft:#D9D6CD; }
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)){ --text-soft:#D9D6CD; }

body{ font-size:1.0625rem; line-height:1.7; }

/* Texto justificado y con separación silábica para evitar huecos grandes */
main p, main li, .legal-intro, .legal-body p, .legal-body li,
.footer-brand p, .footer-bottom > span{
  text-align:justify;
  text-justify:inter-word;
  -webkit-hyphens:auto; hyphens:auto;
  overflow-wrap:break-word;
}
.legal-body li:has(a[href^="mailto"]){ text-align:left; hyphens:manual; }

/* Párrafos de secciones y tarjetas: un punto más grandes */
.step p, .service-card p, .trust-item p, .live-lede,
.section-head p, p.lede, .gallery-head p{ font-size:1.06rem; line-height:1.7; }

/* Páginas legales */
.legal-body{ max-width:860px; }
.legal-body p, .legal-body li{ font-size:1.12rem; line-height:1.8; color:var(--text); }
.legal-intro{ font-size:1.15rem; line-height:1.75; color:var(--text); }
.legal-date{ font-size:1rem !important; }
.legal-body h3{ font-size:1.3rem; line-height:1.3; }
.legal-part{ font-size:0.95rem !important; }
.legal .legal-body a, .legal .legal-intro a{ text-decoration-thickness:2px; }

/* Pie de página: más grande y más claro */
.footer-brand p{ font-size:1rem; color:#D4D6DA; }
.footer-col h5{ font-size:0.88rem; color:#FFFFFF; }
.footer-col a{ font-size:1.05rem; color:#E2E4E8; padding:4px 0; display:inline-block; }
.footer-col a.with-icon{ display:flex; }
.footer-col a:hover{ color:var(--mustard); text-decoration:underline; text-underline-offset:4px; }
.footer-col .soon{ font-size:0.95rem; color:#C3C7CD; }
.footer-bottom{ font-size:0.95rem; color:#C9CDD3; }

/* Foco visible para quien navega con teclado o lector de pantalla */
a:focus-visible, button:focus-visible, label:focus-visible,
input:focus-visible, select:focus-visible, textarea:focus-visible,
[tabindex]:focus-visible{
  outline:3px solid var(--mustard);
  outline-offset:3px;
  border-radius:6px;
}

/* Formularios del Libro de Reclamaciones: campos más legibles */
.lr-form input, .lr-form select, .lr-form textarea,
form input, form select, form textarea{ font-size:1.05rem; }

/* Respeta a quienes desactivan las animaciones en su equipo */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior:auto; }
  *, *::before, *::after{ animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

/* ---------- Información legal: tarjetas ---------- */
.lh-group{ margin-top:40px; max-width:980px; }
.lh-group:first-of-type{ margin-top:28px; }
.lh-title{ font-size:1.35rem; margin-bottom:14px; }
.lh-grid{ display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:14px; }
.lh-card{
  display:flex; gap:16px; align-items:flex-start;
  padding:20px; min-height:96px;
  background:var(--page); color:var(--text);
  border:2px solid var(--line); border-radius:var(--radius);
  box-shadow:var(--shadow-card);
  transition:border-color .15s, transform .15s;
}
.lh-card:hover{ border-color:var(--mustard); transform:translateY(-2px); }
.lh-ico{
  flex:none; width:48px; height:48px; border-radius:14px;
  display:grid; place-items:center;
  background:var(--mustard); color:var(--ink);
}
.lh-ico svg{ width:26px; height:26px; }
.lh-text{ display:grid; gap:6px; }
.lh-text strong{ font-family:'Sora',system-ui,sans-serif; font-size:1.12rem; line-height:1.3; }
.lh-text span{ font-size:1rem; line-height:1.55; color:var(--text-soft); }
.lh-card-accent{ border-color:var(--mustard); }
.lh-extra{ margin-top:56px; }
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .lh-card{ background:#1A1A1A; }
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]) .lh-card{ background:#1A1A1A; }
}
@media (max-width:600px){
  .lh-grid{ grid-template-columns:1fr; }
  .lh-card{ padding:18px 16px; }
}

/* Portada: texto principal más grande y claro */
.hero p.lede{ font-size:1.15rem; line-height:1.65; color:#E6E8EC; }
.hero-checks li{ font-size:1.08rem; color:#F2F1EC; text-align:left; }
.check-list li, .hero-checks li{ hyphens:manual; }

/* ---------- Libro de Reclamaciones: insignia 3D biselada ---------- */
.lr-badge{
  position:relative; flex:none;
  width:46px; height:46px; border-radius:13px;
  display:inline-grid; place-items:center;
  background:
    radial-gradient(120% 90% at 30% 15%, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 45%),
    linear-gradient(150deg,#FFE680 0%,#F2CC1C 38%,#D9A90A 70%,#8F6C06 100%);
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,.85),
    inset 0 -3px 2px rgba(80,55,0,.45),
    inset 2px 0 1px rgba(255,255,255,.35),
    inset -2px 0 1px rgba(80,55,0,.25),
    0 1px 0 rgba(0,0,0,.35),
    0 8px 16px -4px rgba(0,0,0,.55);
  transform:perspective(200px) rotateX(6deg);
  transition:transform .2s ease, box-shadow .2s ease;
}
.lr-badge::after{ /* brillo superior del bisel */
  content:""; position:absolute; inset:3px 3px 50% 3px; border-radius:10px 10px 6px 6px;
  background:linear-gradient(180deg,rgba(255,255,255,.45),rgba(255,255,255,0));
  pointer-events:none;
}
.lr-badge svg{ position:relative; z-index:1; width:30px !important; height:30px !important; filter:drop-shadow(0 1.5px 1px rgba(0,0,0,.35)); }
a:hover .lr-badge, a:focus-visible .lr-badge{
  transform:perspective(200px) rotateX(0deg) translateY(-2px);
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,.9),
    inset 0 -3px 2px rgba(80,55,0,.45),
    0 0 0 3px rgba(227,190,14,.35),
    0 12px 20px -6px rgba(0,0,0,.6);
}
.footer-col a.with-icon{ gap:14px; font-weight:600; color:#FFFFFF; }
.lr-badge-lg{ width:52px; height:52px; border-radius:15px; }
.lh-soon{
  display:inline-block; margin-left:8px; padding:2px 8px; border-radius:999px;
  font-style:normal; font-family:'Inter',system-ui,sans-serif; font-size:.78rem; font-weight:700;
  background:var(--mustard-pale); color:#5A4500; vertical-align:2px; white-space:nowrap;
}
@media (prefers-reduced-motion: reduce){ .lr-badge{ transform:none; } }

/* Pie: contacto de incidencias y aviso de aceptación obligatoria */
.footer-brand p.footer-contact{
  margin-top:16px; text-align:left !important; hyphens:manual;
  font-size:1rem; font-weight:600; color:#FFFFFF; max-width:none;
}
.footer-contact a{ color:var(--mustard); text-decoration:underline; text-underline-offset:4px; overflow-wrap:anywhere; }
.footer-contact a:hover{ color:#FFE680; }
.footer-bottom .footer-legal-note{
  flex-basis:100%; margin:4px 0 0; text-align:left !important; hyphens:manual;
  font-size:0.98rem; font-weight:500; color:#E2E4E8;
}
.footer-legal-note a{ color:var(--mustard); font-weight:700; text-decoration:underline; text-underline-offset:3px; }

.lh-note{ margin:-4px 0 16px; font-size:1.05rem; line-height:1.6; color:var(--text-soft); text-align:left; }

/* =====================================================================
   AJUSTES DE DISEÑO — oct 2026
   Encabezado amarillo y pie negro fijos; el contenido del medio va en
   blanco para que nunca se confunda con ninguno de los dos.
   ===================================================================== */

/* ---- Fondo del contenido: blanco en todas las páginas (modo claro) ---- */
:root{ --page:#FFFFFF; --page-alt:#FFFFFF; }
.pg-main, .pg-page main{ background:#FFFFFF; }
.raffle, .safety, #servicios,
.pg-conductores .driver-cta{ background:#FFFFFF !important; color:var(--ink); }
.pg-conductores .driver-cta{ border:none; }

/* Sorteos: textos oscuros sobre blanco */
.raffle .kicker-raffle, .raffle h2, .gallery-head h3{ color:var(--ink); }
.raffle .kicker-raffle::before{ background:var(--mustard); }
.raffle p.lede, .gallery-head p{ color:#363C47; }
.raffle-gallery{ border-top:2px solid rgba(16,24,40,0.10); }

/* Servicios: fondo blanco, títulos oscuros, tarjetas negras (combina amarillo + negro) */
.pg-servicios #servicios .kicker{ color:var(--mustard-deep); }
.pg-servicios #servicios .section-head h2{ color:var(--ink); }
.pg-servicios #servicios .section-head p{ color:#363C47; }
.pg-servicios #servicios .service-card{ background:#15161A; border:2px solid #15161A; }
.pg-servicios #servicios .service-card:hover{ border-color:var(--mustard); }
.pg-servicios #servicios .service-card p{ color:#D9DBDF; }

/* Seguridad: tarjetas con borde visible sobre blanco */
.safety h2{ color:var(--ink); }
.safety p.lede{ color:#363C47; }
.safety .trust-item{ border:2px solid rgba(16,24,40,0.10); }

/* Conductores: texto oscuro sobre blanco */
.pg-conductores .driver-cta h2{ color:var(--ink); }
.pg-conductores .driver-cta p{ color:#363C47; }

/* Modo oscuro: el medio un tono más claro que el pie negro */
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){ --page:#1C1D21; --page-alt:#1C1D21; }
  :root:not([data-theme="light"]) .pg-main,
  :root:not([data-theme="light"]) .raffle,
  :root:not([data-theme="light"]) .safety,
  :root:not([data-theme="light"]) #servicios,
  :root:not([data-theme="light"]) .pg-conductores .driver-cta{ background:#1C1D21 !important; color:var(--text); }
}
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)){ --page:#1C1D21; --page-alt:#1C1D21; }
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) :is(.pg-main,.raffle,.safety,#servicios,.pg-conductores .driver-cta){ background:#1C1D21 !important; color:var(--text); }
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) :is(.raffle h2,.gallery-head h3,.raffle .kicker-raffle,.safety h2,.pg-conductores .driver-cta h2,.pg-servicios #servicios .section-head h2){ color:#FFFFFF; }
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) :is(.raffle p.lede,.gallery-head p,.safety p.lede,.pg-conductores .driver-cta p,.pg-servicios #servicios .section-head p){ color:var(--text-soft); }
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .pg-servicios #servicios .service-card{ border-color:rgba(255,255,255,0.14); }

/* ---- Menú: "Sorteos" se distingue del resto ---- */
nav.primary-nav a.nav-sorteos,
#mobile-nav a.nav-sorteos{
  display:inline-flex; align-items:center; gap:8px;
  background:#15161A; color:var(--mustard) !important;
  padding:8px 16px; border-radius:999px;
  box-shadow:0 0 0 2px rgba(21,22,26,.15), 0 6px 14px -6px rgba(0,0,0,.5);
}
nav.primary-nav a.nav-sorteos .nav-gift,
#mobile-nav a.nav-sorteos .nav-gift{ width:18px; height:18px; flex:none; }
nav.primary-nav a.nav-sorteos:hover, nav.primary-nav a.nav-sorteos:focus-visible,
#mobile-nav a.nav-sorteos:hover{ background:#000; color:#FFE680 !important; transform:translateY(-1px); }
nav.primary-nav a.nav-sorteos::after{ display:none !important; }
nav.primary-nav a.nav-sorteos.is-active{ box-shadow:0 0 0 3px #15161A, 0 0 0 5px var(--mustard-pale); }
#mobile-nav a.nav-sorteos{ align-self:flex-start; margin:4px 0; }
@media (prefers-reduced-motion: no-preference){
  .nav-sorteos .nav-gift{ animation:giftWiggle 3.2s ease-in-out infinite; transform-origin:50% 70%; }
  @keyframes giftWiggle{ 0%,82%,100%{transform:rotate(0)} 86%{transform:rotate(-12deg)} 90%{transform:rotate(10deg)} 94%{transform:rotate(-6deg)} }
}

/* ---- Galería de sorteos: 2 fotos grandes con contorno grueso ---- */
.gallery-grid{ grid-template-columns:repeat(2,1fr) !important; gap:24px; }
.gallery-slot{
  aspect-ratio:4/3; border-radius:22px;
  border:5px dashed #15161A !important;
  background:#FFF8DD !important; color:#15161A;
}
.gallery-slot.has-photo{ border:5px solid #15161A !important; background:#000 !important; }
.gallery-slot svg{ width:44px; height:44px; }
.gallery-slot span{ font-size:1.05rem; font-weight:700; }
body:not(.is-admin) .gallery-slot:hover{ background:#FFF3C4 !important; border-color:#15161A !important; }
@media (max-width:700px){ .gallery-grid{ grid-template-columns:1fr !important; } }
:is(:root[data-theme="dark"],:root:not([data-js]):has(.theme-sw:checked)) .gallery-slot{ background:#26272C !important; border-color:var(--mustard) !important; color:#FFFFFF; }

/* ---- Libro de Reclamaciones: insignia 3D blanca biselada ---- */
.lr-badge{
  background:
    radial-gradient(120% 90% at 30% 12%, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 50%),
    linear-gradient(150deg,#FFFFFF 0%,#F2F3F5 40%,#D9DCE1 78%,#B9BDC4 100%) !important;
  box-shadow:
    inset 0 2px 1px rgba(255,255,255,1),
    inset 0 -3px 2px rgba(60,66,76,.35),
    inset 2px 0 1px rgba(255,255,255,.8),
    inset -2px 0 1px rgba(60,66,76,.18),
    0 0 0 1px rgba(0,0,0,.55),
    0 8px 18px -4px rgba(0,0,0,.7) !important;
}
.lr-badge::after{ background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,0)); }
a:hover .lr-badge, a:focus-visible .lr-badge{
  box-shadow:
    inset 0 2px 1px #fff, inset 0 -3px 2px rgba(60,66,76,.35),
    0 0 0 2px var(--mustard), 0 12px 22px -6px rgba(0,0,0,.75) !important;
}
.lh-card .lr-badge{ box-shadow: inset 0 2px 1px #fff, inset 0 -3px 2px rgba(60,66,76,.3), 0 0 0 1.5px #15161A, 0 6px 12px -4px rgba(0,0,0,.35) !important; }

/* ---- Pie: redes sociales bajo "Compañía" ---- */
.footer-socials-item{ margin-top:14px; display:grid; gap:12px; }
.footer-socials-label{ font-size:.88rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase; color:#FFFFFF; }
.footer-socials-item .socials{ display:flex; gap:14px; }
.footer-col .footer-socials-item .socials a{ display:flex; align-items:center; justify-content:center; padding:0; width:46px; height:46px; }
.footer-col .footer-socials-item .socials a:hover{ text-decoration:none; }

/* Sorteos vigentes (v5.2) */
.raffle-live-wrap{display:grid;gap:18px;margin:0 0 28px}
.raffle-live{background:#fff;border:1px solid #e7e2cf;border-left:6px solid #e6c20a;border-radius:16px;padding:20px}
.raffle-live h3{margin:0 0 10px}
.raffle-live-photos{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:12px}
.raffle-live-photos img{max-width:100%;height:180px;object-fit:cover;border-radius:12px}
.raffle-live-prizes{margin:0 0 10px;padding-left:0;list-style:none}
.raffle-live-prizes li{padding:4px 0}
.raffle-live-date{color:#6b6b6b;font-size:.9em}

/* v5.3.9 · Sorteos: tramo del ranking por premio y ranking público */
.raffle-live-tier{display:inline-block;margin-left:6px;font-size:.78rem;font-weight:700;background:#111111;color:#E5A900;border-radius:999px;padding:2px 9px}
.raffle-live-details{border-top:1px solid rgba(17,17,17,.12);margin-top:10px;padding-top:8px}
.raffle-live-details summary{cursor:pointer;font-weight:700}
.raffle-live-rank{width:100%;border-collapse:collapse;margin-top:8px;font-size:.88rem}
.raffle-live-rank th,.raffle-live-rank td{text-align:left;padding:5px 8px;border-bottom:1px solid rgba(17,17,17,.10)}
.raffle-live-rank th{background:#E5A900;color:#111111}
/* v5.3.16 */
.raffle-live-wrap[hidden]{display:none!important}

/* v5.3.65 · Rangos de conductor (conductores.html) */
.ranks-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;}
.rank-card{position:relative;display:flex;flex-direction:column;gap:12px;padding:24px 20px 20px;border-radius:var(--radius);background:var(--page);border:1px solid var(--line);box-shadow:var(--shadow-card);border-top:6px solid var(--rk);min-width:0;}
.rank-num{align-self:flex-start;font:700 0.75rem/1 Inter,system-ui,sans-serif;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:var(--rk);padding:6px 10px;border-radius:999px;}
.rank-card h3{font-size:1.35rem;margin:0;color:var(--text);display:flex;align-items:baseline;gap:8px;flex-wrap:wrap;}
.rank-card h3 small{font-size:0.9rem;font-weight:600;color:var(--text-soft);}
.rank-req{list-style:none;margin:0;padding:0;display:grid;gap:6px;}
.rank-req li{position:relative;padding-left:22px;color:var(--text);font-size:0.95rem;line-height:1.4;}
.rank-req li::before{content:"";position:absolute;left:0;top:.35em;width:12px;height:12px;border-radius:50%;background:var(--rk);opacity:.9;}
.rank-ben{text-align:left;hyphens:none;margin:auto 0 0;padding-top:12px;border-top:1px dashed var(--line);color:var(--text-soft);font-size:0.95rem;line-height:1.5;}
.rank-ben strong{color:var(--text);}
.ranks-note{margin-top:16px;color:var(--text-soft);font-size:0.9rem;text-align:center;}
@media (max-width:1024px){.ranks-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media (max-width:560px){.ranks-grid{grid-template-columns:1fr;}}