/* ============================================================
   WEB&WINE — STYLES.CSS
   Estructura: Variables → Reset → Utilidades → Componentes →
               Secciones → Responsive → Animaciones
============================================================ */

/* ============================================================
   0. MODO OSCURO / CLARO
   Por defecto: dark. Light se activa con data-theme="light"
============================================================ */

/* Transición suave al cambiar de tema */
html { transition: background-color .35s ease, color .35s ease; }
*, *::before, *::after { transition: background-color .35s ease, border-color .25s ease; }
/* Excluir transición en imágenes y SVG para evitar glitches */
img, svg, video { transition: none !important; }

/* Tokens de color por tema */
[data-theme="dark"] {
  --bg:          #0d1117;
  --bg-alt:      #111827;
  --surface:     #1a2234;
  --surface-2:   #1e293b;
  --border:      rgba(255,255,255,.1);
  --txt-primary: #f1f5f9;
  --txt-body:    #b8c5d6;
  --txt-muted:   #7a8fa6;
  --card-bg:     #192130;
  --card-border: rgba(255,255,255,.09);
}

[data-theme="light"] {
  --bg:          #ffffff;
  --bg-alt:      #f8fafc;
  --surface:     #ffffff;
  --surface-2:   #f1f5f9;
  --border:      #e2e8f0;
  --txt-primary: #0f172a;
  --txt-body:    #334155;
  --txt-muted:   #64748b;
  --card-bg:     #ffffff;
  --card-border: #e2e8f0;
}

/* Aplicar tokens a elementos base */
body {
  background-color: var(--bg);
  color: var(--txt-body);
}

/* Secciones alternadas */
.section--alt {
  background: var(--bg-alt) !important;
}

/* Refuerzo para texto primario en modo oscuro (asegura contraste máximo) */
[data-theme="dark"] .sobre-mi__txt strong { color: var(--txt-primary); }

/* Hero siempre oscuro independiente del tema */
.hero {
  background: #0f172a !important;
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(37,99,235,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 80%, rgba(139,26,74,.15) 0%, transparent 50%) !important;
}

/* Secciones dark también siempre oscuras */
.section--dark {
  background: #0f172a !important;
}


/* Sobre mí en modo claro */
[data-theme="light"] .sobre-mi__title,
[data-theme="light"] .sobre-mi__txt strong { color: #0f172a; }
[data-theme="light"] .sobre-mi__txt { color: #475569; }
[data-theme="light"] .sobre-mi__float { background: #f8fafc; border-color: #e2e8f0; }
[data-theme="light"] .credentials li { color: #334155; }

/* FAQ en modo claro */
[data-theme="light"] .faq-q { color: #0f172a; }
[data-theme="light"] .faq-a__inner { color: #475569; }

/* Google Maps demo en modo claro */
[data-theme="light"] .gmap-panel { background: #ffffff; border-color: #e2e8f0; box-shadow: 0 4px 24px rgba(0,0,0,.08); }
[data-theme="light"] .gmap-panel__name { color: #0f172a; }
[data-theme="light"] .gmap-panel__details li { color: #334155; }
[data-theme="light"] .gsearch-result { background: #ffffff; border-color: #e2e8f0; }
[data-theme="light"] .gsearch-meta { color: #70757a; }
[data-theme="light"] .fake-map { background: #e8f5e9; }
[data-theme="light"] .fake-map__road { background: #bdbdbd; }
[data-theme="light"] .fake-map__block { background: #c8e6c9; }

/* Stats en modo claro */
[data-theme="light"] .stats-bar { background: #ffffff; border-color: #e2e8f0; }

/* ============================================================
   1. VARIABLES DE DISEÑO
============================================================ */
:root {
  /* Colores */
  --navy:       #0f172a;
  --dark:       #1a1f2e;
  --blue:       #2563eb;
  --blue-h:     #1d4ed8;
  --blue-l:     #3b82f6;
  --wine:       #8b1a4a;
  --wine-l:     #a8204f;
  --green:      #10b981;
  --green-d:    #059669;
  --amber:      #f59e0b;
  --white:      #ffffff;

  /* Grises */
  --g50:  #f8fafc;
  --g100: #f1f5f9;
  --g200: #e2e8f0;
  --g300: #cbd5e1;
  --g400: #94a3b8;
  --g500: #64748b;
  --g600: #475569;
  --g700: #334155;
  --g800: #1e293b;

  /* Texto */
  --txt:    #0f172a;
  --muted:  #64748b;

  /* Espaciado */
  --radius:    12px;
  --radius-lg: 20px;
  --max-w:     1200px;
  --gap:       1.5rem;

  /* Sombras */
  --shadow:    0 4px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.14);

  /* Transiciones */
  --ease: all .25s ease;

  /* Fuente */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   2. RESET & BASE
============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  color: var(--txt-body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img  { max-width: 100%; height: auto; display: block; }
a    { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: var(--font); }
button { cursor: pointer; }

/* ============================================================
   3. UTILIDADES
============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section       { padding: 5rem 0; }
.section--alt  { background: var(--g50); }
.section--dark {
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(139,26,74,.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(37,99,235,.18) 0%, transparent 55%);
  position: relative;
  overflow: hidden;
}
.section--dark::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

/* Texto degradado */
.text--grad {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text--green { color: #34d399; }

/* ============================================================
   4. ENCABEZADOS DE SECCIÓN
============================================================ */
.section__header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  background: rgba(37,99,235,.08);
  color: var(--blue);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .35rem .875rem;
  border-radius: 100px;
  margin-bottom: .875rem;
}
.section__tag--light {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.65);
}

.section__title {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.18;
  color: var(--txt-primary);
  margin-bottom: .875rem;
}
.section__title span { color: var(--blue-l); }
.section__title--light { color: var(--white); }
.section__title--light span { color: #34d399; }

.section__sub {
  font-size: 1.0625rem;
  color: var(--txt-body);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}
.section__sub--light { color: rgba(255,255,255,.6); }

.section__cta {
  text-align: center;
  margin-top: 2.5rem;
}
.section__cta p {
  color: var(--txt-body);
  font-size: .9375rem;
  margin-bottom: 1.125rem;
}

/* ============================================================
   5. BOTONES
============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  transition: var(--ease);
  white-space: nowrap;
  line-height: 1;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(255,255,255,0);
  transition: background .2s;
  border-radius: inherit;
}
.btn:hover::after  { background: rgba(255,255,255,.08); }
.btn:active        { transform: scale(.97) !important; }
.btn:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 3px; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37,99,235,.35);
}
.btn--primary:hover {
  background: var(--blue-h);
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,99,235,.45);
}

.btn--ghost {
  background: rgba(255,255,255,.1);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
}
.btn--ghost:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.5);
}

.btn--lg { padding: 1.125rem 2.25rem; font-size: 1.125rem; border-radius: 14px; }

/* ============================================================
   6. BADGES
============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  font-size: .8125rem;
  font-weight: 700;
  padding: .35rem .875rem;
  border-radius: 100px;
  white-space: nowrap;
}
.badge--green { background: rgba(16,185,129,.12); color: #059669;       border: 1px solid rgba(16,185,129,.25); }
.badge--blue  { background: rgba(37,99,235,.1);   color: var(--blue);   border: 1px solid rgba(37,99,235,.2); }
.badge--amber { background: rgba(245,158,11,.1);  color: #d97706;       border: 1px solid rgba(245,158,11,.25); }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  justify-content: center;
  margin-top: 1.375rem;
}
.badge-row--sm .badge { font-size: .75rem; padding: .25rem .7rem; }

/* ============================================================
   7. PROGRESO DE LECTURA
============================================================ */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), #818cf8);
  z-index: 9999;
  transition: width .1s linear;
}

/* ============================================================
   8. BANNER SOCIAL PROOF
============================================================ */
.social-banner {
  background: linear-gradient(135deg, #0b2050 0%, var(--dark) 100%);
  border-bottom: 1px solid rgba(255,255,255,.07);
  padding: .625rem 0;
}
.social-banner__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;          /* sin wrap — siempre una sola línea */
  gap: .625rem 1.25rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  list-style: none;
  overflow: hidden;
  white-space: nowrap;
}

/* En móvil: ocultar banner completo — evita wrapping y conflictos */
@media (max-width: 767px) {
  .social-banner { display: none !important; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-weight: 700;
  font-size: .875rem;
  padding: .3rem .875rem;
  border-radius: 100px;
}
.pill--green {
  background: rgba(16,185,129,.15);
  border: 1px solid rgba(16,185,129,.3);
  color: #34d399;
  animation: pill-pulse 3s ease-in-out infinite;
}
.pill__dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #34d399;
  animation: dot-blink 2s infinite;
}
@keyframes pill-pulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
  50%      { box-shadow: 0 0 0 6px rgba(52,211,153,.14); }
}
@keyframes dot-blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:.4; transform:scale(1.6); }
}

/* ============================================================
   9. NAVBAR
============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background .35s ease, box-shadow .35s ease;
}

/* Al hacer scroll: backdrop en todo el header */
.site-header.scrolled {
  background: rgba(10,16,30,.58);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 rgba(255,255,255,.07), 0 6px 24px rgba(0,0,0,.28);
}

/* El banner se colapsa suavemente al hacer scroll */
.social-banner {
  overflow: hidden;
  max-height: 60px;
  transition: max-height .35s ease, opacity .3s ease, padding .3s ease;
}
.site-header.scrolled .social-banner {
  max-height: 0;
  opacity: 0;
  padding-top: 0;
  padding-bottom: 0;
  pointer-events: none;
}

.navbar {
  padding: .875rem 0;
  transition: padding .3s ease;
  position: relative; /* ancla el mobile-menu absoluto */
}
.site-header.scrolled .navbar { padding: .625rem 0; }

/* ── Barra interna: flex mobile-first ── */
.navbar__inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Logo */
.navbar__logo        { flex-shrink: 0; line-height: 0; }
.navbar__logo img    { height: 48px; width: auto; }

/* Links: ocultos en móvil, centrados en desktop */
.navbar__links {
  display: none;
  flex: 1;
  gap: 2rem;
  justify-content: center;
  list-style: none;
}
.navbar__links a {
  color: rgba(255,255,255,.75);
  font-size: .9375rem;
  font-weight: 500;
  transition: color .2s;
  position: relative;
}
.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-l);
  border-radius: 2px;
  transition: width .25s ease;
}
.navbar__links a:hover        { color: var(--white); }
.navbar__links a:hover::after { width: 100%; }

/* CTA oculto en móvil */
.navbar__cta { display: none; flex-shrink: 0; }

/* ── Hamburger: siempre a la derecha via margin-left:auto ── */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: .625rem;
  margin-left: auto;   /* empuja a la derecha */
  border: none;
  background: none;
  cursor: pointer;
  min-width: 44px;     /* touch target */
  min-height: 44px;
  align-items: center;
  justify-content: center;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Menú móvil: OVERLAY absoluto bajo el navbar ── */
/* Así no empuja ni toca el banner — flota sobre el contenido */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;           /* justo debajo de la barra de nav */
  left: 0; right: 0;
  background: rgba(10,16,30,.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 12px 40px rgba(0,0,0,.5);
  z-index: 999;
  max-height: calc(100vh - 80px);
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu ul      { list-style: none; width: 100%; }
.mobile-menu a {
  display: block;
  color: rgba(255,255,255,.8);
  font-size: 1.0625rem;
  font-weight: 500;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.05);
  transition: background .2s, color .2s;
  min-height: 52px;    /* touch target cómodo */
  display: flex;
  align-items: center;
}
.mobile-menu a:hover    { background: rgba(255,255,255,.05); color: var(--white); }
.mobile-menu__cta       { color: #60a5fa !important; font-weight: 700 !important; }

/* ── Desktop 768px+: mostrar links y CTA, ocultar hamburger ── */
@media (min-width: 768px) {
  .navbar__logo img   { height: 58px; }
  .navbar__links      { display: flex; }
  .navbar__cta        { display: inline-flex; }
  .hamburger          { display: none; }
  .mobile-menu        { display: none !important; }
}


/* ============================================================
   10. HERO
============================================================ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  background-image:
    radial-gradient(ellipse at 70% 20%, rgba(37,99,235,.18) 0%, transparent 60%),
    radial-gradient(ellipse at 15% 80%, rgba(139,26,74,.15) 0%, transparent 50%);
  display: flex;
  align-items: center;
  padding-top: 7rem; /* espacio navbar + banner */
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.hero__inner {
  padding: 3rem 0 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0; /* usamos margin en los hijos */
}

/* Intro personal */
.hero__intro {
  display: inline-flex;
  align-items: center;
  gap: .625rem;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 100px;
  padding: .4rem 1.125rem .4rem .5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.8);
  margin-bottom: 1.5rem;
}
.hero__intro img {
  width: 34px; height: 34px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.25);
  flex-shrink: 0;
}
.hero__intro strong { color: var(--white); }

/* Titular */
.hero__title {
  font-size: clamp(1.75rem, 6.5vw, 4.25rem);
  font-weight: 900;
  line-height: 1.12;
  color: var(--white);
  letter-spacing: -.025em;
  margin-bottom: 1.25rem;
  max-width: 820px;
}

/* Oferta */
.hero__offer {
  display: inline-block;
  text-align: center;
  background: rgba(245,158,11,.12);
  border: 1.5px solid rgba(245,158,11,.35);
  color: #fbbf24;
  font-size: clamp(.85rem, 2vw, 1.0625rem);
  font-weight: 800;
  padding: .625rem 1.375rem;
  border-radius: var(--radius);
  margin-bottom: 1.375rem;
  line-height: 1.5;
  animation: shimmer 3.5s ease-in-out infinite;
}
@keyframes shimmer {
  0%,100% { box-shadow: 0 0 0 0 rgba(251,191,36,0); }
  50%      { box-shadow: 0 0 20px 5px rgba(251,191,36,.16); }
}
/* En desktop el salto de línea del offer se oculta */
@media (min-width: 600px) { .offer-br { display: none; } }

/* Subtítulo */
.hero__sub {
  font-size: clamp(.9375rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,.68);
  max-width: 560px;
  line-height: 1.75;
  margin-bottom: 2.125rem;
}
.hero__sub strong { color: rgba(255,255,255,.92); }

/* CTAs */
.hero__ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .875rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 520px) {
  .hero__ctas { flex-direction: row; justify-content: center; }
}

/* Sin riesgo */
.hero__no-risk {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: rgba(255,255,255,.4);
  font-size: .8125rem;
  margin-top: .75rem;
}
.hero__no-risk svg { color: #34d399; flex-shrink: 0; }

/* ============================================================
   11. STATS BAR
============================================================ */
.stats-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
  text-align: center;
  list-style: none;
}
@media (min-width: 600px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

.stat__num {
  display: block;
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  letter-spacing: -.025em;
  margin-bottom: .3rem;
}
.stat__lbl { font-size: .8125rem; color: var(--txt-muted); font-weight: 500; }

/* ============================================================
   12. CÓMO FUNCIONA — STEPS
============================================================ */
.steps {
  display: grid;
  gap: var(--gap);
  list-style: none;
  counter-reset: steps;
}
@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step-card {
    position: relative;
  }
  .step-card:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1.125rem;
    top: 2.75rem;
    font-size: 1.5rem;
    color: var(--g300);
    pointer-events: none;
    z-index: 1;
  }
}

.step-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1.5px solid var(--card-border);
  box-shadow: 0 4px 24px rgba(0,0,0,.18);
  transition: var(--ease);
  transition-delay: var(--delay, 0s);
}
.step-card:hover {
  border-color: var(--blue-l);
  box-shadow: 0 8px 32px rgba(37,99,235,.18);
  transform: translateY(-4px);
}

.step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px; height: 46px;
  background: var(--blue);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  border-radius: 50%;
  margin-bottom: 1rem;
}
.step__icon  { font-size: 2rem; margin-bottom: .5rem; display: block; }
.step__title { font-size: 1.2rem; font-weight: 800; color: var(--txt-primary); margin-bottom: .5rem; }
.step__desc  { font-size: .9375rem; color: var(--txt-body); line-height: 1.7; margin-bottom: .875rem; }
.step__detail {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--blue-l);
}

/* ============================================================
   13. EJEMPLO REAL — BROWSER MOCKUP
============================================================ */
/* Tabs — soporta 6 items con scroll en móvil */
.tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
}
@media (max-width: 640px) {
  .tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding-bottom: .5rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
  }
  .tabs::-webkit-scrollbar { display: none; }
  .tab-btn { flex-shrink: 0; scroll-snap-align: start; }
}
.tab-btn {
  padding: .5rem 1.25rem;
  border-radius: 100px;
  border: 1.5px solid var(--card-border);
  background: var(--card-bg);
  color: var(--txt-body);
  font-size: .9rem;
  font-weight: 600;
  transition: var(--ease);
}
.tab-btn:hover:not(.tab-btn--active) {
  border-color: var(--blue-l);
  color: var(--blue-l);
}
.tab-btn--active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(37,99,235,.3);
}

/* Panel */
.tab-panel { display: none; }
.tab-panel--active { display: block; }

/* Wrapper con badge Google */
.browser-wrap {
  position: relative;
  max-width: 860px;
  margin: 0 auto;
}

/* Marco de browser */
.browser {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.08);
  background: var(--white);
}

.browser__bar {
  background: #ececec;
  padding: .625rem 1rem;
  display: flex;
  align-items: center;
  gap: .875rem;
  border-bottom: 1px solid #ddd;
}
.browser__dots {
  display: flex; gap: .375rem;
}
.browser__dots span {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.browser__dots span:nth-child(1) { background: #ff5f57; }
.browser__dots span:nth-child(2) { background: #febc2e; }
.browser__dots span:nth-child(3) { background: #28c840; }

.browser__url {
  flex: 1;
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: .3rem .875rem;
  font-size: .8125rem;
  color: #555;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* Sitio de demo dentro del browser */
.demo-site { font-family: var(--font); }

.demo-nav {
  background: var(--navy);
  padding: .75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.demo-nav__brand { font-size: 1rem; font-weight: 800; color: var(--white); }
.demo-nav__links { font-size: .8125rem; color: rgba(255,255,255,.6); }

.demo-hero {
  padding: 2.5rem 2rem;
  background: linear-gradient(135deg, var(--navy) 0%, #1e3a5f 100%);
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.demo-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 60% 40%, rgba(37,99,235,.2) 0%, transparent 60%);
}
.demo-hero--navy { /* default */ }

.demo-tag {
  display: inline-block;
  background: rgba(52,211,153,.15);
  border: 1px solid rgba(52,211,153,.3);
  color: #34d399;
  font-size: .75rem; font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: .75rem;
  position: relative;
}
.demo-hero h3 {
  font-size: clamp(1.125rem, 2.5vw, 1.625rem);
  font-weight: 900;
  margin-bottom: .5rem;
  position: relative;
  line-height: 1.2;
}
.demo-hero p  {
  font-size: .875rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.125rem;
  position: relative;
}

.demo-btns {
  display: flex;
  gap: .625rem;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}
.demo-btn {
  display: inline-block;
  font-size: .8125rem; font-weight: 700;
  padding: .55rem 1.125rem;
  border-radius: 8px;
}
.demo-btn--blue { background: var(--blue); color: var(--white); }
.demo-btn--wa   { background: #25d366;     color: var(--white); }

.demo-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
}
@media (max-width: 480px) {
  .demo-services { grid-template-columns: repeat(2, 1fr); }
}
.demo-service {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: 1rem;
  border-right: 1px solid var(--g100);
  border-bottom: 1px solid var(--g100);
  text-align: center;
  transition: background .2s;
}
.demo-service:hover { background: var(--g50); }
.demo-service span  { font-size: 1.5rem; }
.demo-service strong { font-size: .8125rem; font-weight: 700; color: var(--navy); }
.demo-service small  { font-size: .75rem; color: var(--muted); }

.demo-footer {
  background: var(--g800);
  padding: .625rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .5rem;
}
.demo-footer span { font-size: .75rem; color: rgba(255,255,255,.4); }
.demo-tel         { color: #34d399 !important; font-weight: 700 !important; font-size: .8125rem !important; }

/* Badge Google */
.google-badge {
  position: absolute;
  top: -1rem; right: -1rem;
  background: var(--white);
  border: 2px solid var(--g200);
  border-radius: 12px;
  padding: .75rem 1.125rem;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  display: flex;
  align-items: center;
  gap: .625rem;
  z-index: 2;
}
.google-badge__icon { font-size: 1.25rem; }
.google-badge div strong { display: block; font-size: .8125rem; color: var(--navy); font-weight: 700; }
.google-badge div small  { font-size: .75rem; color: var(--muted); }
.google-badge__pos {
  font-size: 1.375rem; font-weight: 900;
  color: var(--green-d);
  line-height: 1;
}

/* ============================================================
   13b. DEMO — ELEMENTOS EXTRA PARA DISEÑOS ÚNICOS
============================================================ */

/* Barra de estadísticas dentro del demo */
.demo-stats-row {
  display: flex;
  background: rgba(0,0,0,.28);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.demo-stat-cell {
  flex: 1;
  text-align: center;
  padding: .55rem .4rem;
  border-right: 1px solid rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
}
.demo-stat-cell:last-child { border-right: none; }
.demo-stat-cell strong { display: block; font-size: .9375rem; font-weight: 900; line-height: 1.1; }
.demo-stat-cell small   { font-size: .65rem; opacity: .55; text-transform: uppercase; letter-spacing: .05em; }

/* Barra de oferta / menú del día */
.demo-offer-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .5rem 1.5rem;
  font-size: .8125rem;
  font-weight: 700;
  flex-wrap: wrap;
}
.demo-offer-bar span { font-size: .75rem; font-weight: 400; opacity: .7; }

/* Servicios en 2 columnas (lista) */
.demo-services--2col {
  grid-template-columns: 1fr 1fr;
}
.demo-services--2col .demo-service {
  flex-direction: row;
  text-align: left;
  justify-content: flex-start;
  gap: .625rem;
  padding: .8rem 1rem;
}
.demo-services--2col .demo-service span { font-size: 1.125rem; flex-shrink: 0; }

/* Hero claro (pintores) */
.demo-hero--light {
  background: linear-gradient(160deg, #f8f4f0 0%, #fff7f3 100%) !important;
}
.demo-hero--light h3,
.demo-hero--light p  { color: #1a1a1a; }
.demo-hero--light p  { color: rgba(26,26,26,.6) !important; }
.demo-hero--light .demo-tag {
  background: rgba(232,106,58,.1) !important;
  border-color: rgba(232,106,58,.3) !important;
  color: #c0471a !important;
}

/* Franja superior de urgencias */
.demo-emergency {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  padding: .4rem 1rem;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ============================================================
   14. BENEFICIOS
============================================================ */
.benefits-grid {
  display: grid;
  gap: 1.25rem;
  list-style: none;
}
@media (min-width: 600px)  { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(3, 1fr); } }

.benefit-card {
  display: flex;
  gap: 1.125rem;
  align-items: flex-start;
  padding: 1.5rem;
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1.5px solid var(--card-border);
  transition: var(--ease);
  transition-delay: var(--delay, 0s);
}
.benefit-card:hover {
  border-color: var(--blue-l);
  background: rgba(59,130,246,.07);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.25);
}

.benefit-card__icon {
  width: 50px; height: 50px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.benefit-card__icon--blue  { background: rgba(37,99,235,.1); }
.benefit-card__icon--green { background: rgba(16,185,129,.1); }
.benefit-card__icon--wine  { background: rgba(139,26,74,.1); }
.benefit-card__icon--amber { background: rgba(245,158,11,.1); }

.benefit-card__title { font-size: 1.0625rem; font-weight: 700; color: var(--txt-primary); margin-bottom: .3rem; }
.benefit-card__desc  { font-size: .9rem; color: var(--txt-body); line-height: 1.65; }

/* ============================================================
   15. PRECIOS
============================================================ */
.pricing-grid {
  display: grid;
  gap: var(--gap);
  max-width: 860px;
  margin: 0 auto;
}
@media (min-width: 600px) {
  .pricing-grid { grid-template-columns: 1fr 1.08fr; }
}

.price-card {
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.11);
  border-radius: var(--radius-lg);
  padding: 2rem;
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: var(--ease);
  transition-delay: var(--delay, 0s);
}
.price-card--featured {
  background: var(--white);
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(37,99,235,.2);
}

.price-card__badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--blue), #818cf8);
  color: var(--white);
  font-size: .75rem; font-weight: 700;
  padding: .3rem .875rem;
  border-radius: 100px;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  align-self: flex-start;
}

.price-card__header { margin-bottom: 1rem; }

.price-card__name {
  font-size: 1.0625rem; font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: .625rem;
}
.price-card__name--dark { color: var(--navy); }

.price-card__amount {
  display: flex;
  align-items: flex-start;
  gap: .25rem;
  margin-bottom: .25rem;
}
.price-card__amount sup {
  font-size: 1.5rem; font-weight: 700;
  color: var(--white);
  margin-top: .5rem;
}
.price-card__amount span {
  font-size: 4rem; font-weight: 900;
  color: var(--white);
  line-height: 1;
  letter-spacing: -.04em;
}
.price-card__amount small {
  font-size: .875rem;
  color: rgba(255,255,255,.5);
  align-self: flex-end;
  margin-bottom: .625rem;
}
.price-card__amount--dark sup,
.price-card__amount--dark span { color: var(--navy); }
.price-card__amount--dark small { color: var(--g500); }

.price-card__period {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.125rem;
}
.price-card__period--dark { color: var(--g500); }
.price-card__period--dark strong { color: var(--navy); font-size: 1.125rem; }

.price-card__desc {
  font-size: .9rem;
  color: rgba(255,255,255,.55);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
}
.price-card__desc--dark {
  color: var(--g600);
  border-bottom-color: var(--g200);
}

.price-card__features {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  margin-bottom: 1.75rem;
  flex: 1;
  list-style: none;
}
.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .9375rem;
  color: rgba(255,255,255,.8);
}
.price-card__features li svg { color: #34d399; flex-shrink: 0; margin-top: 1px; }
.price-card__features--dark li { color: var(--g700); }
.price-card__features--dark li svg { color: var(--green-d); }

.price-card__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  transition: var(--ease);
}
.price-card__note {
  text-align: center;
  font-size: .8125rem;
  color: var(--g400);
  margin-top: 1rem;
}

/* Explicación visual de precios */
.price-card__pricing-explain {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  margin-bottom: .5rem;
}
.price-card__pricing-row {
  display: flex;
  align-items: center;
  gap: .875rem;
}
.price-card__pricing-row .price-card__amount { margin-bottom: 0; }
.price-card__pricing-divider {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--g400);
  text-align: center;
  line-height: 1;
  padding: .125rem 0;
}
.price-card__pricing-label {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}
.price-card__pricing-label strong {
  font-size: .9rem;
  font-weight: 700;
  color: var(--navy);
}
.price-card__pricing-label span {
  font-size: .75rem;
  color: var(--g500);
}

/* ============================================================
   16. TESTIMONIOS — SLIDER
============================================================ */
.testimonials-slider {
  position: relative;
  overflow: hidden;
  padding-bottom: 3.5rem;
}
.testimonials-track {
  display: flex;
  gap: 1.5rem;
  transition: transform .45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
  align-items: stretch;
}
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  position: absolute;
  bottom: 0; left: 0; right: 0;
}
.slider-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--g200);
  background: var(--white);
  color: var(--g600);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: var(--ease);
  box-shadow: var(--shadow);
  flex-shrink: 0;
}
.slider-btn:hover { border-color: var(--blue); color: var(--blue); transform: scale(1.08); }
.slider-btn:focus-visible { outline: 2px solid var(--blue-l); outline-offset: 3px; }

.slider-dots {
  display: flex;
  gap: .45rem;
  align-items: center;
}
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: none;
  background: var(--g300);
  cursor: pointer;
  transition: var(--ease);
  padding: 0;
}
.slider-dot--active {
  background: var(--blue);
  width: 22px;
  border-radius: 4px;
}

.testimonial {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  border: 1.5px solid var(--g200);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: .875rem;
  transition: var(--ease);
  transition-delay: var(--delay, 0s);
}
.testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.testimonial__stars { color: var(--amber); font-size: 1rem; letter-spacing: .05em; }

.testimonial__text {
  font-size: .9375rem;
  color: var(--txt-body);
  line-height: 1.75;
  font-style: italic;
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: .875rem;
  margin-top: auto;
}
.testimonial__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
  color: var(--white);
  flex-shrink: 0;
}
.av--blue  { background: linear-gradient(135deg, var(--blue), #818cf8); }
.av--green { background: linear-gradient(135deg, #059669, #34d399); }
.av--wine  { background: linear-gradient(135deg, var(--wine), #c084fc); }
.av--amber { background: linear-gradient(135deg, #d97706, #fbbf24); }

.testimonial__name { font-size: .9375rem; font-weight: 700; color: var(--txt-primary); }
.testimonial__role { font-size: .8125rem; color: var(--txt-muted); }

/* ============================================================
   17. SOBRE MÍ
============================================================ */
.sobre-mi__inner {
  display: grid;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 768px) {
  .sobre-mi__inner { grid-template-columns: 1fr 1.2fr; }
}

.sobre-mi__img-wrap {
  position: relative;
  max-width: 380px;
  margin: 0 auto;
}
.sobre-mi__img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--g700), var(--g800));
}
.sobre-mi__float {
  position: absolute;
  bottom: -1rem; right: -1rem;
  background: var(--surface);
  border: 2px solid var(--g200);
  border-radius: var(--radius);
  padding: .875rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: .75rem;
}
.sobre-mi__float strong {
  font-size: 1.5rem; font-weight: 900;
  color: var(--blue); line-height: 1;
}
.sobre-mi__float span {
  font-size: .8rem; color: var(--txt-muted);
  font-weight: 500; line-height: 1.35;
}

.sobre-mi__title {
  font-size: clamp(1.75rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--txt-primary);
  margin-bottom: 1rem;
  line-height: 1.2;
}
.sobre-mi__txt {
  font-size: .9875rem;
  color: var(--txt-body);
  line-height: 1.8;
  margin-bottom: .875rem;
}

.credentials {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin: 1.5rem 0 2rem;
  list-style: none;
}
.credentials li {
  display: flex;
  align-items: center;
  gap: .75rem;
  color: var(--txt-body);
  font-size: .9375rem;
  font-weight: 500;
}
.credentials li svg { color: var(--blue); flex-shrink: 0; }

/* ============================================================
   18. FAQ
============================================================ */
.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.faq-item {
  background: var(--card-bg);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color .2s;
}
.faq-item.is-open { border-color: var(--blue); }
.faq-item:focus-within { border-color: var(--blue-l); }

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  text-align: left;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--txt-primary);
  line-height: 1.4;
  transition: color .2s;
}
.faq-q:hover         { color: var(--blue); }
.faq-q:focus-visible { outline: none; color: var(--blue); }

.faq-chevron {
  width: 22px; height: 22px;
  flex-shrink: 0;
  color: var(--g400);
  transition: transform .3s ease;
}
.faq-item.is-open .faq-chevron { transform: rotate(180deg); color: var(--blue); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-a__inner {
  padding: 0 1.5rem 1.5rem;
  font-size: .9375rem;
  color: var(--txt-body);
  line-height: 1.75;
}

/* ============================================================
   19. FORMULARIO DE CONTACTO
============================================================ */
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
  background: rgba(255,255,255,.05);
  border: 1.5px solid rgba(255,255,255,.1);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.75rem;
  backdrop-filter: blur(12px);
  position: relative;
  z-index: 1;
}
@media (min-width: 540px) { .form-wrap { padding: 2.75rem 2.5rem; } }

.form-row {
  display: grid;
  gap: 1rem;
  align-items: start;
}
@media (min-width: 480px) { .form-row { grid-template-columns: 1fr 1fr; } }

/* Fuerza altura idéntica en inputs de texto dentro de form-row */
.form-row input.form-control { height: 52px; }

.form-group { margin-bottom: 1.125rem; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-bottom: .45rem;
}
.form-label__opt {
  font-weight: 400;
  color: rgba(255,255,255,.4);
  font-size: .8rem;
}

.form-control {
  width: 100%;
  padding: .875rem 1.125rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 1rem;
  transition: var(--ease);
  -webkit-appearance: none;
}
.form-control::placeholder { color: rgba(255,255,255,.3); }
.form-control:focus {
  outline: none;
  border-color: var(--blue-l);
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 3px rgba(59,130,246,.25);
  transform: translateY(-1px);
}
.form-control.is-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,.25);
}
.form-control option { background: var(--navy); color: var(--white); }
textarea.form-control { resize: vertical; min-height: 84px; }

/* File drop */
.file-drop {
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: var(--radius);
  padding: 1.375rem;
  text-align: center;
  cursor: pointer;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.file-drop:hover,
.file-drop.is-drag { border-color: var(--blue-l); background: rgba(59,130,246,.08); }
.file-drop input[type="file"] {
  position: absolute; inset: 0;
  opacity: 0; cursor: pointer;
  width: 100%; height: 100%;
}
.file-drop__icon { font-size: 1.75rem; margin-bottom: .375rem; pointer-events: none; }
.file-drop__txt  { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.5; pointer-events: none; }
.file-drop__txt strong { color: rgba(255,255,255,.8); }
.file-drop__txt span   { font-size: .75rem; }

.file-previews {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .875rem; justify-content: center;
}
.file-preview {
  width: 58px; height: 58px;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,.2);
  pointer-events: none;
}
.file-note {
  font-size: .8rem;
  color: rgba(255,255,255,.35);
  margin-top: .5rem;
  text-align: center;
}

/* Botón submit */
.form-btn {
  width: 100%;
  padding: 1.125rem;
  border-radius: var(--radius);
  border: none;
  background: linear-gradient(135deg, var(--blue), #818cf8);
  color: var(--white);
  font-size: 1.125rem;
  font-weight: 800;
  cursor: pointer;
  transition: var(--ease);
  box-shadow: 0 4px 24px rgba(37,99,235,.4);
  display: flex; align-items: center; justify-content: center; gap: .625rem;
  margin-top: .375rem;
  position: relative;
  overflow: hidden;
}
.form-btn:hover   { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(37,99,235,.5); }
.form-btn:active  { transform: scale(.97); }
.form-btn:disabled {
  opacity: .65;
  cursor: not-allowed;
  transform: none;
}

/* Radio group — logo */
.form-radio-group {
  display: flex;
  gap: .625rem;
  flex-wrap: wrap;
  margin-top: .375rem;
}
.form-radio {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem 1rem;
  border-radius: var(--radius);
  border: 1.5px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: var(--txt-body);
  font-size: .9rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
}
.form-radio:hover {
  border-color: var(--blue-l);
  background: rgba(59,130,246,.08);
}
.form-radio input[type="radio"] {
  accent-color: var(--blue);
  width: 15px; height: 15px;
  cursor: pointer;
}
.form-radio:has(input:checked) {
  border-color: var(--blue-l);
  background: rgba(59,130,246,.14);
  color: var(--txt-primary);
}

.form-privacy {
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.3);
  margin-top: .875rem;
  line-height: 1.6;
}

/* Estado éxito */
.form-success {
  text-align: center;
  padding: 1.5rem 0;
}
.form-success__icon  { font-size: 3.5rem; margin-bottom: 1rem; }
.form-success__title {
  font-size: 1.5rem; font-weight: 800;
  color: var(--white); margin-bottom: .625rem;
}
.form-success__msg {
  color: rgba(255,255,255,.6);
  font-size: .9375rem;
  line-height: 1.75;
}
.form-success__msg strong { color: #34d399; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: #25d366;
  color: var(--white);
  padding: .875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1.5rem;
  transition: var(--ease);
  box-shadow: 0 4px 16px rgba(37,211,102,.3);
}
.btn-wa:hover { background: #1db954; transform: translateY(-2px); }

/* ============================================================
   20. FLOTANTE WHATSAPP
============================================================ */
.float-wa {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 999;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: var(--ease);
  animation: wa-pop .6s 1.5s both;
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,.6); }
.float-wa svg   { width: 28px; height: 28px; fill: var(--white); }
.float-wa:focus-visible { outline: 3px solid #25d366; outline-offset: 3px; }

.float-wa::before {
  content: 'Escríbeme';
  position: absolute;
  right: calc(100% + .75rem);
  background: var(--g800);
  color: var(--white);
  font-size: .8125rem;
  font-weight: 600;
  padding: .375rem .75rem;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
  font-family: var(--font);
}
.float-wa:hover::before { opacity: 1; }

@keyframes wa-pop {
  from { opacity: 0; transform: scale(0); }
  60%  { transform: scale(1.1); }
  to   { opacity: 1; transform: scale(1); }
}

/* ============================================================
   21. FOOTER
============================================================ */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 3rem 0 2rem;
  color: rgba(255,255,255,.55);
}

.footer__grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 600px) {
  .footer__grid { grid-template-columns: 1.5fr 1fr 1fr; }
}

.footer__brand img { height: 60px; width: auto; margin-bottom: .875rem; }
.footer__brand p   { font-size: .875rem; line-height: 1.7; max-width: 280px; color: rgba(255,255,255,.4); }

.footer__col h3 {
  font-size: .8125rem;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  margin-bottom: .875rem;
  text-transform: uppercase;
  letter-spacing: .07em;
}
.footer__col ul { display: flex; flex-direction: column; gap: .5rem; list-style: none; }
.footer__col a  {
  font-size: .875rem;
  color: rgba(255,255,255,.45);
  transition: color .2s;
}
.footer__col a:hover { color: rgba(255,255,255,.9); }

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  align-items: center;
  text-align: center;
  font-size: .8125rem;
  color: rgba(255,255,255,.28);
}
@media (min-width: 600px) {
  .footer__bottom { flex-direction: row; justify-content: space-between; }
}

/* ============================================================
   22. ANIMACIONES DE ENTRADA (REVEAL)
============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity .65s ease,
    transform .65s ease;
  transition-delay: var(--delay, 0s);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   24. TRUST BADGE (+50 WEBS ACTIVAS)
============================================================ */
.trust-badge {
  position: absolute;
  bottom: -1.25rem;
  left: -1.25rem;
  background: var(--white);
  border: 2px solid var(--g200);
  border-radius: 14px;
  padding: .875rem 1.125rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.14);
  display: flex;
  align-items: center;
  gap: .75rem;
  min-width: 200px;
  animation: badge-float 4s ease-in-out infinite;
}
@keyframes badge-float {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

[data-theme="light"] .trust-badge { background: #fff; }
[data-theme="dark"]  .trust-badge { background: var(--g800); border-color: var(--g700); }
[data-theme="dark"]  .trust-badge .trust-badge__info strong { color: var(--white); }
[data-theme="dark"]  .trust-badge .trust-badge__info span   { color: var(--g400); }

.trust-badge__avatar img {
  width: 44px; height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--blue-l);
  flex-shrink: 0;
}

.trust-badge__info strong {
  display: block;
  font-size: .9375rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
}
.trust-badge__info span {
  font-size: .8125rem;
  color: var(--muted);
  font-weight: 500;
}
.trust-badge__stars {
  color: var(--amber);
  font-size: .875rem;
  letter-spacing: .05em;
  margin-left: auto;
}

/* ============================================================
   25. QUOTE EN PRIMERA PERSONA
============================================================ */
.sobre-mi__quote {
  background: rgba(37,99,235,.07);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.125rem 1.375rem;
  margin: 1.5rem 0;
}
.sobre-mi__quote svg {
  color: var(--blue);
  opacity: .5;
  margin-bottom: .5rem;
}
.sobre-mi__quote p {
  font-size: 1rem;
  font-weight: 600;
  color: var(--txt-primary);
  line-height: 1.55;
  font-style: italic;
  margin-bottom: .5rem;
}
.sobre-mi__quote footer {
  font-size: .8125rem;
  color: var(--txt-muted);
  font-weight: 500;
}

/* Botón de llamada inline */
.btn-call {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 1.375rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--g300);
  background: transparent;
  color: var(--txt);
  font-size: 1rem;
  font-weight: 700;
  transition: var(--ease);
}
.btn-call:hover { border-color: var(--blue); color: var(--blue); background: rgba(37,99,235,.05); }
[data-theme="dark"] .btn-call { color: var(--white); border-color: rgba(255,255,255,.2); }
[data-theme="dark"] .btn-call:hover { border-color: var(--blue-l); color: var(--blue-l); }

/* ============================================================
   26. GOOGLE MAPS SIMULACIÓN
============================================================ */
.maps-demo {
  display: grid;
  gap: 2rem;
  align-items: start;
}
@media (min-width: 900px) {
  .maps-demo { grid-template-columns: 1fr 380px; gap: 2.5rem; }
}

/* — Panel derecho: Knowledge Panel — */
.gmap-panel {
  background: var(--white);
  border: 1.5px solid var(--g200);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,.1);
}
[data-theme="dark"] .gmap-panel { background: var(--g800); border-color: var(--g700); }

/* Mapa falso */
.gmap-panel__map { height: 150px; position: relative; overflow: hidden; }
.fake-map {
  width: 100%; height: 100%;
  background: #e5f0e8;
  position: relative;
  overflow: hidden;
}
.fake-map__road {
  position: absolute;
  background: #bdbdbd;
}
.fake-map__road--h { height: 8px; left: 0; }
.fake-map__road--v { width: 8px;  top: 0; }
.fake-map__road--sm { height: 5px; }
.fake-map__block {
  position: absolute;
  background: #c8e6c9;
  border-radius: 3px;
}
.fake-map__pin {
  position: absolute;
  top: 50%; left: 44%;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
  animation: pin-bounce .8s 1s ease both;
}
@keyframes pin-bounce {
  0%   { transform: translate(-50%, -80%); opacity: 0; }
  60%  { transform: translate(-50%, -45%); }
  80%  { transform: translate(-50%, -55%); }
  100% { transform: translate(-50%, -50%); opacity: 1; }
}
.fake-map__zoom {
  position: absolute;
  bottom: 8px; right: 8px;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.fake-map__zoom button {
  width: 28px; height: 28px;
  background: white;
  border: 1px solid #ccc;
  font-size: 1.125rem;
  font-weight: 700;
  color: #555;
  border-radius: 3px;
  cursor: default;
  line-height: 1;
}

/* Info del panel */
.gmap-panel__info { padding: 1.125rem; }
.gmap-panel__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .875rem;
}
.gmap-panel__name {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .2rem;
}
[data-theme="dark"] .gmap-panel__name { color: var(--white); }
.gmap-panel__category {
  font-size: .8125rem;
  color: var(--muted);
}
.gmap-panel__rating {
  display: flex;
  align-items: center;
  gap: .375rem;
  margin-top: .35rem;
}
.gmap-panel__score   { font-size: .9rem; font-weight: 700; color: #e37400; }
.gmap-panel__stars   { color: #fbbc04; font-size: .9rem; }
.gmap-panel__reviews { font-size: .8rem; color: #70757a; }

/* Acciones */
.gmap-panel__actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: .875rem;
}
.gmap-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  padding: .5rem .625rem;
  border-radius: 8px;
  border: none;
  background: #f1f3f4;
  color: #1a73e8;
  font-size: .7rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s;
  min-width: 54px;
  text-decoration: none;
}
.gmap-action:hover { background: #e8f0fe; }
.gmap-action--cta  { background: #e8f0fe; }
[data-theme="dark"] .gmap-action { background: var(--g700); color: #8ab4f8; }
[data-theme="dark"] .gmap-action:hover { background: var(--g600); }

.gmap-action svg { flex-shrink: 0; }

/* Detalles */
.gmap-panel__details {
  display: flex;
  flex-direction: column;
  gap: .625rem;
  margin-bottom: .875rem;
  list-style: none;
}
.gmap-panel__details li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .875rem;
  color: var(--g700);
}
[data-theme="dark"] .gmap-panel__details li { color: var(--g300); }
.gmap-panel__details li svg { color: var(--g500); flex-shrink: 0; }
.gmap-link { color: #1a73e8; }
.gmap-link:hover { text-decoration: underline; }
.gmap-open { color: var(--green-d); }

/* Fotos */
.gmap-panel__photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .25rem;
}
.gmap-photo {
  aspect-ratio: 1;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  overflow: hidden;
}
.gmap-photo--more {
  background: rgba(0,0,0,.6);
  color: var(--white);
  font-size: .875rem;
  font-weight: 700;
  cursor: pointer;
}
[data-theme="dark"] .gmap-photo--more { background: rgba(0,0,0,.7); }

/* — Panel izquierdo: resultados de búsqueda — */
.maps-demo__search { display: flex; flex-direction: column; gap: .875rem; }

.gsearch-bar {
  display: flex;
  align-items: center;
  gap: .75rem;
  background: var(--white);
  border: 1px solid var(--g200);
  border-radius: 24px;
  padding: .75rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
  font-size: .9375rem;
  color: var(--g600);
}
[data-theme="dark"] .gsearch-bar { background: var(--g800); border-color: var(--g700); color: var(--g300); }

.gsearch-meta { font-size: .75rem; color: #70757a; padding-left: .25rem; }

.gsearch-result {
  background: var(--white);
  border: 1px solid var(--g100);
  border-radius: 12px;
  padding: .875rem 1.125rem;
}
[data-theme="dark"] .gsearch-result { background: var(--g800); border-color: var(--g700); }

.gsearch-result--ad { opacity: .6; }
.gsearch-result--featured {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37,99,235,.12);
}
.gsearch-result__ad-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  color: #188038;
  border: 1px solid #188038;
  border-radius: 3px;
  padding: .1rem .3rem;
  margin-bottom: .3rem;
}
.gsearch-result__top {
  display: flex;
  align-items: center;
  gap: .4rem;
  margin-bottom: .2rem;
}
.gsearch-favicon {
  width: 16px; height: 16px;
  border-radius: 3px;
  object-fit: cover;
}
.gsearch-result__domain { font-size: .75rem; color: #202124; }
[data-theme="dark"] .gsearch-result__domain { color: var(--g300); }

.gsearch-result__url    { font-size: .8rem; color: #202124; margin-bottom: .2rem; }
.gsearch-result__title  { font-size: 1rem; font-weight: 600; color: #1a0dab; line-height: 1.3; }
.gsearch-result__title--blue { color: #1a0dab; }
[data-theme="dark"] .gsearch-result__title { color: #8ab4f8; }

.gsearch-result__stars {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .8125rem;
  margin: .3rem 0;
}
.gsearch-result__stars span:nth-child(1) { color: #fbbc04; }
.gsearch-result__stars span:nth-child(2) { font-weight: 700; color: #e37400; }
.gsearch-result__stars span:nth-child(3) { color: #70757a; }

.gsearch-result__snippet { font-size: .875rem; color: #4d5156; line-height: 1.5; }
[data-theme="dark"] .gsearch-result__snippet { color: var(--g400); }

.gsearch-result__sitelinks {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .5rem;
}
.gsearch-result__sitelinks a {
  font-size: .8125rem;
  color: #1a0dab;
  border: 1px solid var(--g200);
  border-radius: 100px;
  padding: .2rem .625rem;
  transition: background .2s;
  pointer-events: none; /* decorativo */
}
[data-theme="dark"] .gsearch-result__sitelinks a { color: #8ab4f8; border-color: var(--g600); }

.maps-demo__caption {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8125rem;
  color: var(--green-d);
  font-weight: 600;
  padding: .625rem 1rem;
  background: rgba(16,185,129,.08);
  border-radius: var(--radius);
  border: 1px solid rgba(16,185,129,.2);
}

/* ============================================================
   23. RESPONSIVE GLOBAL — MOBILE FIRST
============================================================ */

/* ── Base (< 480px): ajustes para pantallas muy pequeñas ── */
@media (max-width: 479px) {
  /* Secciones generales */
  .section              { padding: 3rem 0; }
  .section__header      { margin-bottom: 2rem; }
  .container            { padding: 0 1rem; }
  .section__title       { font-size: 1.6rem; }
  .google-badge         { display: none; }

  /* ── Hero: reducción agresiva para que el CTA quede visible sin scroll ── */
  .hero                 { min-height: 100svh; }
  .hero__inner          { padding: 1.25rem 0 2.5rem; }
  .hero__intro          { font-size: .78rem; padding: .3rem .875rem .3rem .4rem; margin-bottom: .75rem; }
  .hero__intro img      { width: 28px; height: 28px; }
  .hero__title          { font-size: 1.5rem; line-height: 1.2; letter-spacing: -.02em; margin-bottom: .75rem; }
  .hero__offer          { font-size: .8125rem; padding: .5rem 1.125rem; margin-bottom: .75rem; max-width: 88%; }
  .hero__sub            { font-size: .875rem; line-height: 1.65; margin-bottom: 1.25rem; }
  .hero__ctas           { flex-direction: column; gap: .625rem; }
  .hero__ctas .btn      { width: 100%; justify-content: center; padding: .875rem 1.25rem; }
  .hero__no-risk        { font-size: .75rem; }

  /* Resto de secciones */
  .stats-grid           { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .pricing-grid         { grid-template-columns: 1fr; }
  .form-row             { grid-template-columns: 1fr; }
  .sobre-mi__float      { display: none; }
  .footer__grid         { gap: 2rem; }
}

/* ── Móvil medio (480px – 599px) ── */
@media (min-width: 480px) and (max-width: 599px) {
  .section              { padding: 3.5rem 0; }
  .hero__title          { font-size: 1.9rem; }
  .hero__inner          { padding: 2rem 0 3.5rem; }
  .pricing-grid         { grid-template-columns: 1fr; }
}

/* ── Tablet+ ── */
@media (min-width: 1024px) {
  .section { padding: 6rem 0; }
}
