:root{
  --bg:#ffffff;
  --bg-soft:#f5f6f8;
  --card:rgba(17,20,24,0.03);
  --card-h:rgba(17,20,24,0.05);
  --border:rgba(17,20,24,0.09);
  --border-h:rgba(17,20,24,0.16);
  --txt:rgba(17,20,24,0.85);
  --txt-muted:rgba(17,20,24,0.6);
  --txt-dim:rgba(17,20,24,0.42);
  --txt-strong:#11141a;
  --nav-bg:rgba(255,255,255,0.78);
  --rojo:#E53935;
  --rojo-light:#D32F2F;
  --rojo-bg:rgba(229,57,53,0.08);
  --shadow:rgba(17,20,24,0.08);
}
[data-theme="dark"]{
  --bg:#0e1117;
  --bg-soft:#12161f;
  --card:rgba(255,255,255,0.05);
  --card-h:rgba(255,255,255,0.08);
  --border:rgba(255,255,255,0.08);
  --border-h:rgba(255,255,255,0.16);
  --txt:rgba(255,255,255,0.92);
  --txt-muted:rgba(255,255,255,0.58);
  --txt-dim:rgba(255,255,255,0.38);
  --txt-strong:#ffffff;
  --nav-bg:rgba(14,17,23,0.72);
  --rojo:#E53935;
  --rojo-light:#EF5350;
  --rojo-bg:rgba(229,57,53,0.12);
  --shadow:rgba(0,0,0,0.35);
}
body{transition:background-color .2s, color .2s;}
*{box-sizing:border-box; margin:0; padding:0;}
html{scroll-behavior:smooth;}
body{
  font-family:'Inter',-apple-system,sans-serif;
  background:var(--bg);
  color:var(--txt);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
h1,h2,h3,h4{font-family:'Outfit',sans-serif;}
a{color:inherit; text-decoration:none;}
img{max-width:100%; display:block;}
.wrap{max-width:1160px; margin:0 auto; padding:0 24px;}

/* ---------- Nav ---------- */
header{
  position:sticky; top:0; z-index:50;
  background:var(--nav-bg);
  backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--border);
  transition:background-color .2s, border-color .2s;
}
nav{display:flex; align-items:center; justify-content:space-between; padding:10px 24px; max-width:1160px; margin:0 auto;}
.brand{display:flex; align-items:center; gap:10px;}
.brand-mark{
  display:inline-block; width:72px; height:72px; flex-shrink:0;
  background-color:var(--rojo);
  -webkit-mask:url(/assets/logo-blanco.svg) no-repeat center / contain;
  mask:url(/assets/logo-blanco.svg) no-repeat center / contain;
}
.brand-mark--sm{width:52px; height:52px;}
.nav-links{display:flex; gap:26px; align-items:center;}
.nav-links a{font-size:14px; font-weight:600; color:var(--txt-muted); transition:color .2s;}
.nav-links a:hover{color:var(--txt-strong);}
.nav-links a.active{color:var(--txt-strong);}
.nav-cta{
  background:var(--rojo); color:#fff; font-size:14px; font-weight:700;
  padding:10px 20px; border-radius:10px; transition:all .2s;
}
.nav-cta:hover{background:#c62828; transform:translateY(-1px);}
.nav-toggle{display:none; background:none; border:0; color:var(--txt-strong); font-size:22px; cursor:pointer;}
header.scrolled{box-shadow:0 4px 24px var(--shadow);}

/* ---------- Hero ---------- */
.hero{
  position:relative; padding:96px 24px 88px; text-align:center; overflow:hidden;
}
.hero::before{
  content:''; position:absolute; inset:0;
  background-image:
    radial-gradient(ellipse 900px 600px at 50% -180px, rgba(229,57,53,0.22) 0%, rgba(229,57,53,0) 68%),
    radial-gradient(var(--border) 1px, transparent 1.5px);
  background-size:100% 100%, 26px 26px;
  background-repeat:no-repeat, repeat;
  pointer-events:none;
}
.hero-content{position:relative; max-width:760px; margin:0 auto;}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  background:var(--rojo-bg); border:1px solid rgba(229,57,53,0.3); color:var(--rojo-light);
  font-size:13px; font-weight:700; padding:7px 16px; border-radius:100px; margin-bottom:28px;
}
.badge .dot{width:6px; height:6px; border-radius:50%; background:var(--rojo-light);}
.hero h1{
  font-size:56px; font-weight:900; line-height:1.08; letter-spacing:-0.02em;
  color:var(--txt-strong); margin-bottom:22px;
}
.hero h1 .accent, .accent{
  background:linear-gradient(90deg, var(--rojo) 0%, #ff6f61 100%);
  -webkit-background-clip:text; background-clip:text; color:transparent;
}
.hero p.lead{
  font-size:18px; color:var(--txt-muted); max-width:560px; margin:0 auto 36px; line-height:1.7;
}
.hero-actions{display:flex; gap:14px; justify-content:center; flex-wrap:wrap; margin-bottom:56px;}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  font-size:15px; font-weight:700; padding:14px 28px; border-radius:12px;
  transition:all .2s; border:1px solid transparent;
}
.btn-primary{background:var(--rojo); color:#fff; box-shadow:0 8px 22px rgba(229,57,53,0.28);}
.btn-primary:hover{background:#c62828; transform:translateY(-2px); box-shadow:0 12px 30px rgba(198,40,40,0.38);}
.btn-ghost{background:var(--card); color:var(--txt-strong); border-color:var(--border);}
.btn-ghost:hover{background:var(--card-h); border-color:var(--border-h); transform:translateY(-2px);}

.hero-stats{display:flex; justify-content:center; gap:56px; flex-wrap:wrap;}
.hero-stat{text-align:center;}
.hero-stat .num{font-size:30px; font-weight:900; color:var(--txt-strong);}
.hero-stat .lbl{font-size:13px; color:var(--txt-dim); margin-top:4px;}

/* ---------- Hero asimétrico (Inicio) ---------- */
.hero-home .wrap{
  display:grid; grid-template-columns:1.05fr 0.95fr; gap:56px; align-items:center;
}
.hero-home .hero-content{margin:0; max-width:none; text-align:left;}
.hero-home .hero-actions{justify-content:flex-start;}
.hero-home .hero-stats{justify-content:flex-start;}
.hero-home .hero-stat{text-align:left;}
.hero-visual{position:relative; height:420px; display:flex; align-items:center; justify-content:center;}
.hero-visual-card{
  width:260px; height:260px; border-radius:44px;
  background:linear-gradient(160deg, var(--rojo-bg), transparent 65%), var(--card);
  border:1px solid var(--border);
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 34px 70px var(--shadow);
  transform:rotate(-4deg);
}
.hero-visual-mark{width:110px; height:110px;}
.floating-chip{
  position:absolute; display:flex; align-items:center; gap:8px;
  background:var(--bg); border:1px solid var(--border); border-radius:100px;
  padding:10px 16px 10px 10px; font-size:13px; font-weight:700; color:var(--txt-strong); white-space:nowrap;
  box-shadow:0 16px 34px var(--shadow);
  animation:floaty 4.6s ease-in-out infinite;
}
.floating-chip i{
  width:26px; height:26px; border-radius:50%; background:var(--rojo-bg); color:var(--rojo-light);
  display:flex; align-items:center; justify-content:center; font-size:12px;
}
.chip-1{top:4%; left:-2%; animation-delay:0s;}
.chip-2{top:68%; left:-6%; animation-delay:.8s;}
.chip-3{top:0%; right:-4%; animation-delay:1.5s;}
.chip-4{bottom:2%; right:-2%; animation-delay:2.2s;}
@keyframes floaty{ 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
@media (prefers-reduced-motion: reduce){ .floating-chip{animation:none;} }

/* ---------- Hero reducido (páginas internas) ---------- */
.hero--sub{padding:64px 24px 48px;}
.hero--sub h1{font-size:42px;}
.hero--sub .lead{margin-bottom:0;}

/* ---------- Sections ---------- */
section{padding:88px 24px;}
.section-head{max-width:600px; margin:0 auto 56px; text-align:center;}
.eyebrow{
  font-size:13px; font-weight:700; letter-spacing:0.06em; text-transform:uppercase;
  color:var(--rojo-light); margin-bottom:14px;
}
.section-head h2{font-size:36px; font-weight:900; color:var(--txt-strong); letter-spacing:-0.01em; margin-bottom:16px;}
.section-head p{color:var(--txt-muted); font-size:16px;}

/* ---------- Banda alterna (fondo suave) ---------- */
.band-soft{background:var(--bg-soft); border-top:1px solid var(--border); border-bottom:1px solid var(--border);}

/* ---------- Qué es ---------- */
.about-grid{display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; max-width:1160px; margin:0 auto;}
.about-grid h2{font-size:32px; font-weight:900; color:var(--txt-strong); margin-bottom:18px; letter-spacing:-0.01em;}
.about-grid p{color:var(--txt-muted); font-size:16px; margin-bottom:16px;}
.about-points{display:flex; flex-direction:column; gap:16px; margin-top:8px;}
.about-point{display:flex; gap:14px; align-items:flex-start;}
.about-point i{
  width:34px; height:34px; min-width:34px; border-radius:10px; background:var(--rojo-bg); color:var(--rojo-light);
  display:flex; align-items:center; justify-content:center; font-size:14px;
}
.about-point div b{color:var(--txt-strong); font-size:15px; display:block; margin-bottom:2px;}
.about-point div span{color:var(--txt-dim); font-size:14px;}
.about-card{
  background:var(--card); border:1px solid var(--border); border-radius:20px; padding:36px;
  box-shadow:0 20px 48px var(--shadow);
}
.about-card .row{display:flex; justify-content:space-between; padding:14px 0; border-bottom:1px solid var(--border); font-size:14px;}
.about-card .row:last-child{border-bottom:none;}
.about-card .row span:first-child{color:var(--txt-dim);}
.about-card .row span:last-child{color:var(--txt-strong); font-weight:600; text-align:right;}

/* ---------- Servicios / tarjetas de valor ---------- */
.services-grid{
  display:grid; grid-template-columns:repeat(3, 1fr); gap:20px; max-width:1160px; margin:0 auto;
}
.service-card{
  position:relative; overflow:hidden;
  background:var(--card); border:1px solid var(--border); border-radius:18px; padding:28px;
  transition:all .25s;
}
.service-card::before{
  content:''; position:absolute; top:0; left:0; right:0; height:3px;
  background:linear-gradient(90deg, var(--rojo), #ff6f61);
  transform:scaleX(0); transform-origin:left; transition:transform .3s;
}
.service-card:hover{background:var(--card-h); border-color:var(--border-h); transform:translateY(-4px); box-shadow:0 16px 40px var(--shadow);}
.service-card:hover::before{transform:scaleX(1);}
.service-icon{
  width:48px; height:48px; border-radius:13px; background:var(--rojo-bg); color:var(--rojo-light);
  display:flex; align-items:center; justify-content:center; font-size:20px; margin-bottom:18px;
}
.service-card h3{font-size:17px; font-weight:800; color:var(--txt-strong); margin-bottom:6px;}
.service-card p{font-size:14px; color:var(--txt-dim); line-height:1.6;}
.service-card .card-link{
  display:inline-flex; align-items:center; gap:6px; margin-top:16px;
  color:var(--rojo-light); font-weight:700; font-size:14px;
}
.service-card .card-link i{font-size:12px; transition:transform .2s;}
.service-card:hover .card-link i{transform:translateX(3px);}

/* ---------- Espacios reservados para capturas reales ---------- */
.shot-row{display:flex; justify-content:center; align-items:stretch; gap:24px; flex-wrap:wrap; margin-top:40px;}
.shot-slot{
  width:220px; aspect-ratio:9/19.5; border:2px dashed var(--border-h); border-radius:28px;
  background:var(--card); display:flex; flex-direction:column; align-items:center; justify-content:center;
  text-align:center; padding:24px 16px; gap:10px;
}
.shot-slot i{font-size:26px; color:var(--txt-dim);}
.shot-slot b{font-size:13px; color:var(--txt-muted); font-weight:700;}
.shot-slot span{font-size:12px; color:var(--txt-dim); line-height:1.5;}

/* ---------- Próximamente (banda de color sólido) ---------- */
.stores{
  max-width:900px; margin:0 auto; text-align:center; position:relative; overflow:hidden;
  background:linear-gradient(135deg, var(--rojo) 0%, #c62828 100%);
  border-radius:32px; padding:64px 32px; color:#fff;
  box-shadow:0 30px 70px var(--shadow);
}
.stores::before{
  content:''; position:absolute; inset:0;
  background-image:radial-gradient(rgba(255,255,255,0.16) 1.5px, transparent 1.5px);
  background-size:22px 22px;
  mask-image:radial-gradient(ellipse 85% 85% at 50% 25%, #000 25%, transparent 92%);
  -webkit-mask-image:radial-gradient(ellipse 85% 85% at 50% 25%, #000 25%, transparent 92%);
  pointer-events:none;
}
.stores > *{position:relative;}
.stores h2{font-size:28px; font-weight:900; color:#fff; margin-bottom:14px;}
.stores p{color:rgba(255,255,255,0.85); font-size:15px; margin-bottom:28px;}
.stores .btn-primary{background:#fff; color:var(--rojo); box-shadow:0 12px 28px rgba(0,0,0,0.25);}
.stores .btn-primary:hover{background:#f2f2f2; color:#c62828; box-shadow:0 14px 32px rgba(0,0,0,0.3);}
.store-badges{display:flex; gap:16px; justify-content:center; flex-wrap:wrap;}
.store-badge{
  display:flex; align-items:center; gap:12px; background:rgba(255,255,255,0.12);
  border:1px solid rgba(255,255,255,0.28); border-radius:14px; padding:12px 22px; min-width:190px;
}
.store-badge i{font-size:26px; color:rgba(255,255,255,0.85);}
.store-badge .txt{text-align:left;}
.store-badge .txt small{display:block; font-size:11px; color:rgba(255,255,255,0.65);}
.store-badge .txt strong{display:block; font-size:14px; color:#fff; font-weight:700;}

/* ---------- Footer ---------- */
footer{border-top:1px solid var(--border); padding:64px 24px 32px; background:var(--bg-soft);}
.footer-grid{
  display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:48px; max-width:1160px; margin:0 auto 40px;
}
.footer-brand .brand{margin-bottom:16px;}
.footer-brand p{color:var(--txt-dim); font-size:14px; max-width:320px; line-height:1.7;}
.footer-col h4{font-size:13px; font-weight:700; text-transform:uppercase; letter-spacing:0.05em; color:var(--txt-dim); margin-bottom:18px;}
.footer-col a, .footer-col p{display:block; font-size:14px; color:var(--txt-muted); margin-bottom:12px;}
.footer-col a:hover{color:var(--txt-strong);}
.footer-bottom{
  max-width:1160px; margin:0 auto; padding-top:28px; border-top:1px solid var(--border);
  display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:12px;
}
.footer-bottom span{font-size:13px; color:var(--txt-dim);}

/* ---------- Animación de aparición al hacer scroll ---------- */
.reveal{opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease;}
.reveal.is-visible{opacity:1; transform:none;}
.services-grid.reveal, .services-grid.reveal.is-visible{opacity:1; transform:none;}
.services-grid.reveal .service-card{opacity:0; transform:translateY(16px); transition:opacity .5s ease, transform .5s ease;}
.services-grid.reveal.is-visible .service-card{opacity:1; transform:none;}
.services-grid.reveal.is-visible .service-card:nth-child(1){transition-delay:.03s;}
.services-grid.reveal.is-visible .service-card:nth-child(2){transition-delay:.08s;}
.services-grid.reveal.is-visible .service-card:nth-child(3){transition-delay:.13s;}
.services-grid.reveal.is-visible .service-card:nth-child(4){transition-delay:.18s;}
.services-grid.reveal.is-visible .service-card:nth-child(5){transition-delay:.23s;}
.services-grid.reveal.is-visible .service-card:nth-child(6){transition-delay:.28s;}
.services-grid.reveal.is-visible .service-card:nth-child(7){transition-delay:.33s;}
.services-grid.reveal.is-visible .service-card:nth-child(8){transition-delay:.38s;}
.services-grid.reveal.is-visible .service-card:nth-child(9){transition-delay:.43s;}
@media (prefers-reduced-motion: reduce){
  .reveal, .services-grid.reveal .service-card{transition:none; opacity:1; transform:none;}
}

/* ---------- Selector de tema (botón flotante) ---------- */
.theme-toggle{
  position:fixed; bottom:24px; right:24px; z-index:60;
  width:52px; height:52px; border-radius:50%; border:1px solid var(--border);
  background:var(--card); backdrop-filter:blur(14px); -webkit-backdrop-filter:blur(14px);
  color:var(--txt-strong); font-size:17px; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 10px 28px var(--shadow);
  transition:all .2s;
}
.theme-toggle:hover{background:var(--card-h); border-color:var(--border-h); transform:translateY(-2px);}
.theme-toggle i{pointer-events:none;}

/* ---------- Responsive ---------- */
@media (max-width:860px){
  .nav-links{
    position:fixed; top:64px; left:0; right:0; background:var(--bg);
    flex-direction:column; align-items:flex-start; gap:0; padding:8px 24px 20px;
    border-bottom:1px solid var(--border); transform:translateY(-8px); opacity:0; pointer-events:none;
    transition:all .2s;
  }
  .nav-links.open{transform:translateY(0); opacity:1; pointer-events:auto;}
  .nav-links a{padding:12px 0; width:100%; border-bottom:1px solid var(--border);}
  .nav-cta{display:none;}
  .nav-toggle{display:block;}
  .hero h1{font-size:38px;}
  .hero p.lead{font-size:16px;}
  .hero-stats{gap:32px;}
  .hero--sub h1{font-size:32px;}
  .hero-home .wrap{grid-template-columns:1fr; text-align:center;}
  .hero-home .hero-content{margin:0 auto; max-width:640px; text-align:center;}
  .hero-home .hero-actions{justify-content:center;}
  .hero-home .hero-stats{justify-content:center;}
  .hero-home .hero-stat{text-align:center;}
  .hero-visual{display:none;}
  .about-grid{grid-template-columns:1fr; gap:36px;}
  .services-grid{grid-template-columns:1fr 1fr;}
  .footer-grid{grid-template-columns:1fr; gap:32px;}
  section{padding:64px 20px;}
}
@media (max-width:520px){
  .hero{padding:72px 20px 64px;}
  .hero h1{font-size:32px;}
  .services-grid{grid-template-columns:1fr;}
  .shot-slot{width:160px;}
  .store-badges{flex-direction:column;}
  .footer-bottom{flex-direction:column; align-items:flex-start;}
}
