/* ============================================================
   TARIFIEL — Sistema de diseño
   Display: Sora · Cuerpo: DM Sans
   Marca 100% azul/púrpura — sin warm tones
   ============================================================ */

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

:root {
  /* Marca */
  --purple:  #6D29D5;
  --violet:  #5068F2;
  --blue:    #4BA4F2;
  /* Gradiente conmutable vía Tweaks */
  --c1: #6D29D5;
  --c2: #5068F2;
  --c3: #4BA4F2;
  --grad:     linear-gradient(90deg, var(--c1), var(--c2), var(--c3));
  --grad-135: linear-gradient(135deg, var(--c1), var(--c2), var(--c3));

  /* Superficies */
  --night:    #150D2E;
  --night-2:  #1E1240;
  --night-3:  #0D0820;
  --lavanda:  #F4F1FF;
  --white:    #FFFFFF;

  /* Texto */
  --ink:        #16112B;
  --ink-soft:   #5B5572;
  --on-dark:    rgba(255,255,255,0.92);
  --muted:      #97A3CE;   /* AA sobre night */
  --muted-soft: #7C88B5;

  /* Bordes */
  --bd-dark:  rgba(255,255,255,0.10);
  --bd-dark-2:rgba(255,255,255,0.14);
  --bd-light: rgba(109,41,213,0.14);

  /* Forma */
  --r-card: 22px;
  --r-pill: 100px;
  --shadow-soft: 0 18px 50px -20px rgba(109,41,213,0.28);

  /* Tipografía */
  --font-display: 'Sora', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --track: -0.02em;

  --maxw: 1140px;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--lavanda);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.container { max-width: var(--maxw); margin: 0 auto; width: 100%; }
section { padding: clamp(64px, 9vw, 110px) 32px; position: relative; }

/* ---------- Tipografía base ---------- */
h1, h2, h3, .display { font-family: var(--font-display); letter-spacing: var(--track); }
h1 {
  font-size: clamp(38px, 5vw, 62px);
  font-weight: 800; line-height: 1.04; letter-spacing: -0.035em; color: #fff;
}
h2 {
  font-size: clamp(30px, 3.6vw, 47px);
  font-weight: 800; line-height: 1.08; letter-spacing: -0.03em; margin-bottom: 14px;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* Firma visual: barra de degradado bajo títulos */
.bar {
  display: block; width: 54px; height: 4px; border-radius: 4px;
  background: var(--grad); margin: 16px 0 22px;
}
.bar.center { margin-left: auto; margin-right: auto; }

.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--violet); display: inline-block; margin-bottom: 12px;
}
.section-sub { font-size: 17px; color: var(--ink-soft); line-height: 1.7; max-width: 560px; }

/* ---------- Botones ---------- */
.btn {
  font-family: var(--font-body); font-weight: 600; font-size: 15px;
  border: none; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 26px; border-radius: var(--r-pill);
  transition: transform .16s ease, box-shadow .2s ease, opacity .2s, background .2s;
}
.btn svg { width: 17px; height: 17px; }
.btn-grad { background: var(--grad); color: #fff; box-shadow: 0 10px 26px -10px rgba(80,104,242,0.7); }
.btn-grad:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px rgba(80,104,242,0.85); }
.btn-ghost { background: rgba(255,255,255,0.06); color: #fff; border: 1px solid var(--bd-dark-2); }
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--purple); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(0,0,0,0.45); }
.btn-lg { padding: 16px 34px; font-size: 16px; }

/* ============================================================
   NAV
   ============================================================ */
nav.bar-nav {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: 70px; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(21,13,46,0.78);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background .3s, box-shadow .3s, border-color .3s;
}
nav.bar-nav.scrolled {
  background: rgba(21,13,46,0.95);
  border-bottom-color: var(--bd-dark);
  box-shadow: 0 8px 40px -12px rgba(109,41,213,0.45);
}
.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.nav-logo img { height: 38px; display: block; }
.nav-logo .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 20px; color: #fff; letter-spacing: -0.03em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.nav-links a:hover { color: #fff; }
.nav-cta { padding: 10px 20px; font-size: 14px; }
.nav-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; margin: 4px 0; transition: .25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: var(--night); min-height: 100vh;
  display: flex; align-items: center; position: relative; overflow: hidden;
  padding: 0;
}
.brand-bar-top { position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad); z-index: 5; }
.blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(8px); z-index: 0; }
.blob-1 { top: -140px; left: -120px; width: 540px; height: 540px;
  background: radial-gradient(circle, rgba(109,41,213,0.40) 0%, transparent 70%); }
.blob-2 { bottom: -120px; right: -60px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(75,164,242,0.26) 0%, transparent 70%); }
.grid-overlay {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative; z-index: 3;
  max-width: var(--maxw); margin: 0 auto; width: 100%;
  padding: 140px 32px 92px;
  display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 56px; align-items: center;
}

.pill-tag {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(109,41,213,0.22); border: 1px solid rgba(109,41,213,0.45);
  color: #C7B2F4; font-size: 13px; font-weight: 500;
  padding: 7px 15px; border-radius: var(--r-pill); margin-bottom: 26px;
}
.pill-tag::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--blue);
  box-shadow: 0 0 0 0 rgba(75,164,242,.6); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(75,164,242,.55);} 70%{box-shadow:0 0 0 8px rgba(75,164,242,0);} 100%{box-shadow:0 0 0 0 rgba(75,164,242,0);} }

.hero h1 { margin-bottom: 0; }
.hero-sub { font-size: 17.5px; color: var(--muted); line-height: 1.68; max-width: 480px; margin-bottom: 30px; }

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 38px; }

.hero-stats { display: flex; gap: 30px; padding-top: 26px; border-top: 1px solid var(--bd-dark); }
.stat-num { font-family: var(--font-display); font-size: 27px; font-weight: 800; letter-spacing: -0.03em; color: #fff; display: block; }
.stat-num .star { color: #FFC53D; font-size: 20px; }
.stat-label { font-size: 12.5px; color: var(--muted); font-weight: 500; }

/* Mascota global controlada por data-mascot */
.mascot {
  position: absolute; z-index: 2; pointer-events: none; user-select: none;
  transition: opacity .5s ease, transform .5s ease;
}
.mascot img { width: 100%; display: block; }
.mascot-hero { right: 3%; bottom: 0; width: calc(200px * var(--char-scale, 1)); }
.mascot-cta { left: 3%; bottom: 0; width: calc(150px * var(--char-scale, 1) * 0.6); }

/* Niveles de protagonismo */
[data-mascot="subtle"]   .mascot { opacity: .14; }
[data-mascot="present"]  .mascot-hero { opacity: .95; width: calc(250px * var(--char-scale, 1)); filter: drop-shadow(0 24px 40px rgba(0,0,0,.5)); }
[data-mascot="present"]  .mascot-cta  { opacity: .9; width: calc(190px * var(--char-scale, 1)); }
[data-mascot="hero"]     .mascot-hero { opacity: 1; width: calc(290px * var(--char-scale, 1)); filter: drop-shadow(0 26px 46px rgba(0,0,0,.55)); }
[data-mascot="hero"]     .mascot-cta  { opacity: .95; width: calc(210px * var(--char-scale, 1)); }
[data-mascot="present"] .mascot-hero, [data-mascot="hero"] .mascot-hero { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-12px); } }

/* ============================================================
   COVERAGE CHECKER — pieza estrella
   ============================================================ */
.checker {
  background: linear-gradient(180deg, rgba(255,255,255,0.085), rgba(255,255,255,0.04));
  border: 1px solid var(--bd-dark-2); border-radius: 26px;
  padding: 26px; position: relative; overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
}
.checker::before { content:''; position:absolute; inset:0 0 auto 0; height:3px; background: var(--grad); }
.checker-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.checker-avatar {
  width: 52px; height: 52px; border-radius: 15px; flex-shrink: 0; overflow: hidden;
  background: radial-gradient(circle at 50% 35%, rgba(75,164,242,.35), rgba(109,41,213,.25));
  border: 1px solid var(--bd-dark-2); display: flex; align-items: center; justify-content: center;
}
.checker-avatar img { width: 180%; max-width: none; object-fit: cover; object-position: 42% 20%; }

/* Companions: Mr. Tarifiel + Miss Tari beside the comparator */
.checker-scene { display: flex; align-items: flex-end; gap: 16px; }
.checker-scene .checker { flex: 1; min-width: 0; }
.companions { display: none; flex-shrink: 0; width: 128px; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; padding-bottom: 4px; }
.companion-mr, .companion-miss { width: 100%; display: block; filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.companion-miss { width: 82%; margin-top: -18px; }
@media (min-width: 1220px) {
  .companions { display: flex; }
}

/* Lead form */
.lead-grid { display: flex; flex-direction: column; gap: 14px; margin-bottom: 18px; }
.lead-field .field-label { margin-bottom: 7px; }
.cat-options { display: flex; gap: 8px; margin: 10px 0 18px; flex-wrap: wrap; }
.cat-chip {
  flex: 1; min-width: 108px; text-align: center; background: rgba(255,255,255,0.06);
  border: 1px solid var(--bd-dark-2); color: #fff; font-size: 13px; font-weight: 600;
  padding: 12px 10px; border-radius: 13px; cursor: pointer; transition: .2s; font-family: var(--font-body);
}
.cat-chip:hover { border-color: var(--violet); background: rgba(80,104,242,.12); }
.cat-chip.active { background: var(--grad); border-color: transparent; box-shadow: 0 10px 22px -10px rgba(80,104,242,.75); }
.field-btn.full { width: 100%; justify-content: center; margin-bottom: 12px; }

/* Tira de logos de compañías comparadas, según categoría(s) elegidas */
.cat-brands { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: -4px 0 16px; min-height: 0; transition: opacity .25s; }
.cat-brands:empty { margin: 0; }
.cat-brands .brand-logo-wrap {
  width: 34px; height: 34px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: rgba(255,255,255,0.08); border: 1px solid var(--bd-dark-2);
  display: flex; align-items: center; justify-content: center;
}
.cat-brands img { width: 100%; height: 100%; object-fit: cover; }
.cat-brands .brand-logo-more { font-size: 11px; color: var(--muted); font-weight: 600; }

/* Logos dentro de las tarjetas de oferta */
.offer-brands img.brand-logo { width: 16px; height: 16px; border-radius: 50%; object-fit: cover; vertical-align: -3px; margin-right: 3px; }
.offer-brands span.has-logo { display: inline-flex; align-items: center; }
.checker-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); }
.checker-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; line-height: 1.25; letter-spacing: -0.02em; }

.field-label { font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; display:block; }
.field-row { display: flex; gap: 9px; }
.field {
  flex: 1; background: rgba(255,255,255,0.07); border: 1px solid var(--bd-dark-2);
  border-radius: 13px; padding: 13px 15px; color: #fff; font-size: 14.5px; font-family: var(--font-body);
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
}
.field::placeholder { color: rgba(255,255,255,0.34); }
.field:focus { border-color: var(--violet); background: rgba(255,255,255,0.1); box-shadow: 0 0 0 4px rgba(80,104,242,0.18); }
.field-btn {
  background: var(--grad); color: #fff; border: none; cursor: pointer;
  border-radius: 13px; padding: 0 18px; font-weight: 600; font-size: 14px; font-family: var(--font-body);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; transition: transform .15s, opacity .2s;
}
.field-btn:hover { transform: translateY(-1px); }
.field-btn:disabled { opacity: .55; cursor: default; transform: none; }
.field-hint { font-size: 11.5px; color: var(--muted-soft); margin-top: 11px; display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.field-hint .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--muted-soft); }
.examples { margin-top: 13px; display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  background: rgba(255,255,255,0.06); border: 1px solid var(--bd-dark); color: var(--muted);
  font-size: 11.5px; padding: 5px 11px; border-radius: var(--r-pill); cursor: pointer; transition: .2s; font-family: var(--font-body);
}
.chip:hover { color: #fff; border-color: var(--violet); background: rgba(80,104,242,.16); }

/* Estados del checker */
.checker-stage { display: none; }
.checker-stage.active { display: block; animation: fadeUp .4s ease both; }
@keyframes fadeUp { from{ opacity:0; transform: translateY(10px);} to{ opacity:1; transform:none; } }

/* Loading */
.loading-wrap { text-align: center; padding: 14px 0 6px; }
.loading-mascot { width: 74px; height: 74px; margin: 0 auto 12px; border-radius: 18px; overflow: hidden; animation: bob 1s ease-in-out infinite; background: radial-gradient(circle at 50% 35%, rgba(75,164,242,.35), rgba(109,41,213,.25)); display: flex; align-items: center; justify-content: center; }
.loading-mascot img { width: 180%; max-width: none; object-fit: cover; object-position: 42% 20%; }
@keyframes bob { 0%,100%{ transform: translateY(0) rotate(-2deg);} 50%{ transform: translateY(-8px) rotate(2deg);} }
.loading-title { font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 16px; margin-bottom: 14px; }
.progress { height: 6px; background: rgba(255,255,255,.1); border-radius: 6px; overflow: hidden; }
.progress > i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: 6px; transition: width .2s linear; }
.loading-steps { font-size: 12.5px; color: var(--muted); margin-top: 12px; min-height: 18px; }

/* Result */
.result-banner {
  display: flex; align-items: center; gap: 12px; background: rgba(75,164,242,.12);
  border: 1px solid rgba(75,164,242,.3); border-radius: 14px; padding: 11px 14px; margin-bottom: 16px;
}
.result-banner .ok { width: 30px; height: 30px; border-radius: 50%; background: var(--grad); display:flex; align-items:center; justify-content:center; flex-shrink: 0; }
.result-banner .ok svg { width: 16px; height: 16px; stroke: #fff; }
.result-banner b { color: #fff; font-weight: 600; font-size: 13.5px; }
.result-banner span { color: var(--muted); font-size: 12.5px; }
.result-addr { color:#fff; font-weight:600; }

.offer { display: flex; flex-direction: column; gap: 9px; }
.offer-group-label { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin: 6px 0 -2px; }
.offer-group-label:first-child { margin-top: 0; }
.offer-card {
  background: rgba(255,255,255,0.05); border: 1px solid var(--bd-dark); border-radius: 15px;
  padding: 14px 16px; display: flex; align-items: center; gap: 14px; cursor: pointer;
  transition: border-color .2s, background .2s, transform .2s; position: relative;
}
.offer-card:hover { background: rgba(255,255,255,0.09); transform: translateX(4px); }
.offer-card.best { border-color: rgba(80,104,242,.6); background: rgba(80,104,242,.12); }
.offer-tag { position: absolute; top: -9px; right: 14px; background: var(--grad); color: #fff; font-size: 10px; font-weight: 600; padding: 3px 9px; border-radius: var(--r-pill); }
.offer-info { flex: 1; min-width: 0; }
.offer-name { font-weight: 600; color: #fff; font-size: 14px; }
.offer-detail { font-size: 12px; color: var(--muted); margin-top: 2px; }
.offer-brands { display: flex; gap: 4px; margin-top: 6px; flex-wrap: wrap; }
.offer-brands span { font-size: 9.5px; font-weight: 500; color: rgba(255,255,255,.75); background: rgba(255,255,255,.1); padding: 2px 7px; border-radius: var(--r-pill); }
.offer-price { text-align: right; flex-shrink: 0; }
.offer-price b { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.offer-price b small { font-size: 12px; font-weight: 600; color: var(--muted); }
.offer-price .y2 { font-size: 10.5px; color: var(--muted-soft); }

.result-foot { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.result-foot .btn { width: 100%; justify-content: center; }
.reset-link { background: none; border: none; color: var(--muted); font-size: 12.5px; cursor: pointer; font-family: var(--font-body); text-decoration: underline; text-underline-offset: 3px; transition: color .2s; }
.reset-link:hover { color: #fff; }
.savings-note { text-align: center; font-size: 12px; color: var(--blue); margin-top: 2px; }

/* ============================================================
   BRANDS BAR
   ============================================================ */
.brands { background: var(--night-2); padding: 30px 32px; border-top: 1px solid var(--bd-dark); border-bottom: 1px solid var(--bd-dark); }
.brands-label { font-size: 11.5px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .12em; text-align: center; margin-bottom: 18px; }
.brands-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.brand-tag { background: rgba(255,255,255,0.06); border: 1px solid var(--bd-dark); color: rgba(255,255,255,0.78);
  font-size: 13px; font-weight: 500; padding: 7px 16px; border-radius: var(--r-pill); transition: .2s; }
.brand-tag.logo-tag { display: inline-flex; align-items: center; gap: 7px; padding-left: 8px; }
.brand-tag.logo-tag img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; }
.brand-tag:hover { border-color: var(--violet); background: rgba(80,104,242,0.15); color: #fff; }
.brand-tag.energy { color: #C7B2F4; border-color: rgba(109,41,213,.4); }
.brand-tag.alarm  { color: var(--blue); border-color: rgba(75,164,242,.4); }
.brand-sep { width: 1px; height: 22px; background: rgba(255,255,255,0.12); }

/* ============================================================
   SECCIONES CLARAS / OSCURAS
   ============================================================ */
.sec-light { background: var(--white); }
.sec-lav   { background: var(--lavanda); }
.sec-dark  { background: var(--night); }
.sec-dark .eyebrow { color: var(--blue); }
.sec-dark h2 { color: #fff; }
.sec-dark .section-sub { color: var(--muted); }
.sec-light h2, .sec-lav h2 { color: var(--ink); }
.sec-light .eyebrow, .sec-lav .eyebrow { color: var(--purple); }

.head-block { margin-bottom: 52px; max-width: 620px; }

/* Pillars */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pillar {
  background: var(--lavanda); border: 1px solid var(--bd-light); border-radius: var(--r-card);
  padding: 34px 28px; position: relative; overflow: hidden; transition: transform .25s, box-shadow .25s;
}
.pillar::before { content:''; position:absolute; inset:0 0 auto 0; height:3px; background: var(--grad); }
.pillar:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.pillar-num { font-family: var(--font-display); font-size: 54px; font-weight: 800; line-height: 1; margin-bottom: 18px; opacity: .26; }
.pillar h3 { font-size: 21px; font-weight: 800; margin-bottom: 11px; color: var(--ink); line-height: 1.2; }
.pillar p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.68; }

/* Services */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.tile {
  background: rgba(255,255,255,0.05); border: 1px solid var(--bd-dark); border-radius: var(--r-card);
  padding: 28px 24px; position: relative; overflow: hidden; transition: background .25s, transform .2s;
}
.tile::before { content:''; position:absolute; inset:0 0 auto 0; height:2px; background: var(--grad); opacity:0; transition: opacity .3s; }
.tile:hover { background: rgba(255,255,255,0.09); transform: translateY(-5px); }
.tile:hover::before { opacity: 1; }
.tile-ico { width: 50px; height: 50px; border-radius: 14px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; }
.tile-ico svg { width: 24px; height: 24px; }
.tile h3 { font-size: 19px; font-weight: 700; color: #fff; margin-bottom: 9px; letter-spacing: -.025em; }
.tile p { font-size: 13px; color: var(--muted); line-height: 1.62; margin-bottom: 18px; }
.tile-brands { display: flex; flex-wrap: wrap; gap: 6px; }
.tile-brands span { background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.78); font-size: 11px; font-weight: 500; padding: 4px 10px; border-radius: var(--r-pill); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; position: relative; }
.steps-line { position: absolute; top: 33px; left: 14%; right: 14%; height: 2px; background: var(--grad); opacity: .28; z-index: 0; }
.step { position: relative; z-index: 1; padding: 0 22px; }
.step:first-child { padding-left: 0; } .step:last-child { padding-right: 0; }
.step-num { width: 66px; height: 66px; border-radius: 50%; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-size: 25px; font-weight: 800;
  margin-bottom: 26px; box-shadow: 0 14px 30px -10px rgba(80,104,242,.7); }
.step h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 11px; letter-spacing: -.025em; }
.step p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.68; }

/* Reviews */
.reviews-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; flex-wrap: wrap; margin-bottom: 44px; }
.google-badge { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,0.06); border: 1px solid var(--bd-dark-2); border-radius: var(--r-pill); padding: 11px 22px; flex-shrink: 0; }
.google-badge .stars { color: #FFC53D; letter-spacing: 2px; font-size: 15px; }
.google-badge .num { font-family: var(--font-display); font-size: 21px; font-weight: 800; color: #fff; }
.google-badge .lbl { font-size: 13px; color: var(--muted); }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: rgba(255,255,255,0.05); border: 1px solid var(--bd-dark); border-radius: 20px; padding: 26px; transition: background .2s, transform .2s; }
.review:hover { background: rgba(255,255,255,0.09); transform: translateY(-4px); }
.review .stars { color: #FFC53D; letter-spacing: 2px; font-size: 14px; margin-bottom: 14px; }
.review p { font-size: 14px; line-height: 1.72; color: rgba(255,255,255,0.85); margin-bottom: 20px; }
.review-author { display: flex; align-items: center; gap: 11px; }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; flex-shrink: 0; }
.review-name { font-size: 13.5px; font-weight: 600; color: #fff; }
.review-via { font-size: 12px; color: var(--muted); }

/* Stores */
.stores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.store {
  background: var(--lavanda); border: 1px solid var(--bd-light); border-radius: var(--r-card);
  cursor: pointer; overflow: hidden; text-decoration: none; display: block;
  transition: transform .2s, box-shadow .2s;
}
.store:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.store-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--night-2); }
.store-photo img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.store:hover .store-photo img { transform: scale(1.05); }
.store-photo .store-badge {
  position: absolute; top: 12px; left: 12px; margin-bottom: 0;
  background: rgba(21,13,46,0.72); backdrop-filter: blur(4px); color: #fff;
  border: 1px solid rgba(255,255,255,0.18);
}
.store-body { padding: 20px 22px 24px; }
.store-badge { display: inline-block; background: rgba(80,104,242,0.12); color: var(--violet); font-size: 10px; font-weight: 600; padding: 4px 10px; border-radius: var(--r-pill); margin-bottom: 16px; }
.store h3 { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 6px; letter-spacing: -.03em; }
.store-addr { font-size: 12.5px; color: var(--ink-soft); line-height: 1.55; margin-bottom: 16px; }
.store-link { font-size: 13px; font-weight: 600; text-decoration: none; display: inline-flex; align-items: center; gap: 5px; color: var(--violet); }
.store-link svg { width: 13px; height: 13px; }

/* Footer CTA */
.footer-cta { background: var(--night); text-align: center; overflow: hidden; }
.footer-cta .cta-blob { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 620px; height: 320px; border-radius: 50%; background: radial-gradient(ellipse, rgba(109,41,213,0.34) 0%, transparent 70%); pointer-events: none; z-index: 0; }
.footer-cta .container { position: relative; z-index: 2; }
.footer-cta h2 { color: #fff; }
.footer-cta p { color: var(--muted); font-size: 18px; max-width: 540px; margin: 0 auto 36px; }

/* Footer */
footer.site-foot { background: var(--night-3); padding: 40px 32px; }
.foot-inner { max-width: var(--maxw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 22px; }
.foot-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.foot-logo img { height: 30px; }
.foot-logo .wordmark { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; letter-spacing: -.03em; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 13px; color: rgba(255,255,255,0.4); text-decoration: none; transition: color .2s; }
.foot-links a:hover { color: rgba(255,255,255,0.85); }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--bd-dark); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); transition: .2s; }
.foot-social a:hover { color: #fff; border-color: var(--violet); background: rgba(80,104,242,.18); transform: translateY(-2px); }
.foot-social svg { width: 17px; height: 17px; }
.foot-copy { font-size: 12.5px; color: rgba(255,255,255,0.3); width: 100%; text-align: center; border-top: 1px solid var(--bd-dark); padding-top: 22px; margin-top: 4px; }

/* ============================================================
   ANIMACIONES
   ============================================================ */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.22,.61,.36,1); }
.reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
[data-anim="off"] .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
[data-anim="off"] .mascot-hero, [data-anim="off"] .loading-mascot, [data-anim="off"] .pill-tag::before { animation: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 940px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding: 120px 22px 80px; }
  .mascot-hero { display: none; }
  .pillars { grid-template-columns: 1fr; }
  .services { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 34px; } .steps-line { display: none; } .step { padding: 0; }
  .reviews { grid-template-columns: 1fr; }
  .stores { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-links.open { display: flex; position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; align-items: flex-start;
    gap: 4px; background: rgba(21,13,46,0.98); padding: 16px 24px; border-bottom: 1px solid var(--bd-dark); }
  .nav-links.open li { width: 100%; }
  .nav-links.open .nav-cta { margin-top: 8px; }
  .nav-burger { display: block; }
  section { padding: 64px 22px; }
}
@media (max-width: 560px) {
  .stores { grid-template-columns: 1fr; }
  .brands { padding: 24px 18px; }
  nav.bar-nav { padding: 0 18px; }
  .hero-stats { gap: 20px; }
  .field-row { flex-direction: column; }
  .field-btn { padding: 12px; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .reveal { opacity: 1; transform: none; }
}
