/* =========================================================
   Farmacias SurtiPharm - Hoja de estilos
   Paleta tomada del logo oficial: celeste, azul, rosa y violeta
   ========================================================= */
:root {
  --celeste: #00b1d9;          /* fondo del logo oficial */
  --celeste-claro: #e3f7fc;
  --azul: #2566b0;
  --azul-marino: #0b3a78;
  --azul-noche: #072a57;
  --rosa: #e6268c;
  --rosa-suave: #ff8fcb;
  --rosa-claro: #fdeaf4;
  --violeta: #8e5bd8;
  --violeta-claro: #f1eafd;
  --whatsapp: #25d366;
  --texto: #14213d;
  --texto-suave: #55607a;
  --fondo: #ffffff;
  --fondo-alt: #f4f9fc;
  --borde: #e2eaf2;
  --radio: 20px;
  --sombra: 0 12px 32px rgba(11, 58, 120, 0.08);
  --sombra-fuerte: 0 24px 48px rgba(11, 58, 120, 0.16);
  --topbar-h: 38px;
  --nav-h: 76px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  font-family: "Nunito Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--texto);
  background: var(--fondo);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--azul); }
h1, h2, h3, h4 { font-family: "Poppins", system-ui, sans-serif; line-height: 1.15; color: var(--texto); }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; letter-spacing: -0.01em; margin-bottom: .8rem; }
h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: .5rem; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.container--narrow { max-width: 820px; }
.hidden { display: none; }

/* ---------- Iconos ---------- */
.i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.i--fill { fill: currentColor; stroke: none; }
.fc--blue { background: var(--celeste-claro); color: var(--azul); }
.fc--pink { background: var(--rosa-claro); color: var(--rosa); }
.fc--violet { background: var(--violeta-claro); color: var(--violeta); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer;
  padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  background: var(--rosa); color: #fff;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--pink { background: var(--rosa); color: #fff; box-shadow: 0 10px 24px rgba(230, 38, 140, .35); }
.btn--pink:hover { box-shadow: 0 14px 30px rgba(230, 38, 140, .45); }
.btn--light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); }
.btn--light:hover { background: #fff; color: var(--azul-marino); }
.btn--white { background: #fff; color: var(--rosa); box-shadow: 0 10px 24px rgba(0,0,0,.15); }
.btn--whatsapp { background: var(--whatsapp); color: #fff; }
.btn--small { padding: .55rem 1.15rem; font-size: .92rem; }
.btn--lg { padding: 1rem 1.9rem; font-size: 1.05rem; }
.btn--full { width: 100%; }
.btn .i { width: 1.1em; height: 1.1em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  color: var(--rosa); font-weight: 700; font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: .8rem;
}
.eyebrow::before { content: ""; width: 24px; height: 3px; border-radius: 3px; background: currentColor; }

/* ---------- Cabecera fija ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: var(--celeste);
  transition: box-shadow .3s;
}
.header.scrolled { box-shadow: 0 8px 24px rgba(7, 42, 87, .2); }
.topbar { background: var(--azul-noche); color: #dbe7f5; font-size: .85rem; height: var(--topbar-h); }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 1.8rem; }
.topbar__inner span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar__social { margin-left: auto; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; }
.topbar__social:hover { color: var(--rosa-suave); }

.header__inner { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.header__logo { display: block; }
.header__logo .logo { width: 220px; height: auto; }

.nav { display: flex; align-items: center; gap: 1.7rem; }
.nav a:not(.btn) {
  color: var(--azul-noche); text-decoration: none;
  font-family: "Poppins", sans-serif; font-weight: 500; font-size: .98rem;
  position: relative; padding: .3rem 0;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: 50%; bottom: -2px; width: 0; height: 3px;
  border-radius: 3px; background: var(--rosa); transition: width .25s, left .25s;
}
.nav a:not(.btn):hover::after { width: 100%; left: 0; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--azul-noche); border-radius: 3px; margin: 5px 0; transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  padding: calc(var(--header-h) + 4.5rem) 0 8rem;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 177, 217, .55) 0, transparent 45%),
    radial-gradient(circle at 70% 90%, rgba(142, 91, 216, .45) 0, transparent 40%),
    linear-gradient(135deg, var(--azul-noche) 0%, var(--azul-marino) 45%, var(--azul) 100%);
}
.hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; position: relative; z-index: 1; }
.hero h1 { color: #fff; }
.hero h1 span { color: var(--rosa-suave); }
.pill {
  display: inline-flex; align-items: center; gap: .6rem;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  padding: .4rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem; margin-bottom: 1.4rem;
  backdrop-filter: blur(6px);
}
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--whatsapp); box-shadow: 0 0 0 4px rgba(37, 211, 102, .25); }
.lead { font-size: 1.2rem; color: #d7e6f7; margin: 1.4rem 0 2.2rem; max-width: 540px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.2rem; font-weight: 600; color: #e6f0fb; }
.hero__trust li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__trust .i { color: var(--whatsapp); stroke-width: 3; }

.hero__art { position: relative; height: 440px; }
.blob {
  position: absolute; inset: 20px 30px;
  border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%;
  background: linear-gradient(145deg, rgba(255,255,255,.22), rgba(255,255,255,.05));
  border: 1px solid rgba(255,255,255,.25);
  animation: morph 12s ease-in-out infinite;
}
.cross {
  position: absolute; left: 50%; top: 50%; width: 210px; transform: translate(-50%, -50%);
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.25));
}
.cross > svg:first-child { width: 100%; fill: #fff; }
.pulse { position: absolute; left: 10%; top: 50%; width: 80%; transform: translateY(-50%); fill: none; stroke: var(--rosa); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 3s ease-in-out infinite; }
.float-card {
  position: absolute; display: flex; align-items: center; gap: .8rem;
  background: #fff; color: var(--texto); border-radius: 16px; padding: .8rem 1.1rem;
  box-shadow: var(--sombra-fuerte); animation: float 6s ease-in-out infinite;
}
.float-card strong { display: block; font-family: "Poppins", sans-serif; font-size: .95rem; font-weight: 600; }
.float-card small { color: var(--texto-suave); font-size: .82rem; }
.float-card__icon { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; }
.float-card__icon .i { width: 22px; height: 22px; }
.float-card--1 { top: 30px; left: 0; }
.float-card--2 { top: 46%; right: -10px; animation-delay: -2s; }
.float-card--3 { bottom: 20px; left: 30px; animation-delay: -4s; }
.hero__wave { position: absolute; bottom: -1px; left: 0; width: 100%; height: 90px; fill: var(--fondo); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes morph { 0%, 100% { border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%; } 50% { border-radius: 54% 46% 44% 56% / 56% 52% 48% 44%; } }
@keyframes draw { 0% { stroke-dashoffset: 200; } 60%, 100% { stroke-dashoffset: 0; } }

/* ---------- Cifras ---------- */
.stats { position: relative; z-index: 2; margin-top: -4.5rem; }
.stats__grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #fff; border-radius: var(--radio); box-shadow: var(--sombra-fuerte);
  padding: 1.8rem 1rem;
}
.stat { text-align: center; padding: .4rem 1rem; }
.stat + .stat { border-left: 1px solid var(--borde); }
.stat strong {
  display: block; font-family: "Poppins", sans-serif; font-weight: 800; font-size: 1.9rem; line-height: 1.2;
  background: linear-gradient(90deg, var(--azul), var(--celeste)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.stat span { color: var(--texto-suave); font-size: .95rem; }

/* ---------- Secciones ---------- */
.section { padding: 6rem 0; }
.section--alt { background: var(--fondo-alt); }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 3.2rem; }
.section__head .eyebrow::before { display: none; }
.section__head p { color: var(--texto-suave); font-size: 1.08rem; }

/* ---------- Tarjetas de servicios ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--borde); border-radius: var(--radio);
  padding: 2.2rem 2rem; transition: transform .3s, box-shadow .3s, border-color .3s; overflow: hidden;
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px;
  background: linear-gradient(90deg, var(--celeste), var(--rosa)); transform: scaleX(0); transform-origin: left; transition: transform .35s;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--sombra-fuerte); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card__icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.4rem; }
.card__icon .i { width: 28px; height: 28px; }
.card p { color: var(--texto-suave); }

/* ---------- Categorías ---------- */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.2rem; }
.cat {
  background: #fff; border-radius: var(--radio); padding: 1.8rem 1rem; text-align: center;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: .98rem; color: var(--azul-noche);
  border: 1px solid var(--borde); transition: transform .25s, box-shadow .25s, background .25s;
}
.cat__icon {
  width: 68px; height: 68px; margin: 0 auto 1rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--celeste-claro); color: var(--azul); transition: background .25s, color .25s;
}
.cat__icon .i { width: 30px; height: 30px; }
.cat:hover { transform: translateY(-6px); box-shadow: var(--sombra); }
.cat:hover .cat__icon { background: var(--celeste); color: #fff; }

/* ---------- Pasos ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.steps::before {
  content: ""; position: absolute; top: 34px; left: 16%; right: 16%;
  border-top: 2px dashed #b9d7ea; z-index: 0;
}
.step { text-align: center; position: relative; z-index: 1; padding: 0 1rem; }
.step__num {
  width: 68px; height: 68px; border-radius: 50%; margin: 0 auto 1.3rem;
  display: grid; place-items: center; color: #fff;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.6rem;
  background: linear-gradient(135deg, var(--celeste), var(--azul));
  box-shadow: 0 0 0 8px #fff, 0 12px 24px rgba(37, 102, 176, .3);
}
.step:nth-child(2) .step__num { background: linear-gradient(135deg, var(--rosa-suave), var(--rosa)); box-shadow: 0 0 0 8px #fff, 0 12px 24px rgba(230, 38, 140, .3); }
.step:nth-child(3) .step__num { background: linear-gradient(135deg, #b48af0, var(--violeta)); box-shadow: 0 0 0 8px #fff, 0 12px 24px rgba(142, 91, 216, .3); }
.step p { color: var(--texto-suave); }

/* ---------- Nosotros ---------- */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: center; }
.about__visual {
  position: relative; border-radius: 28px; background: var(--celeste);
  padding: 4.5rem 2rem; box-shadow: var(--sombra-fuerte);
}
.about__visual::after {
  content: ""; position: absolute; inset: 14px; border-radius: 20px; border: 2px dashed rgba(255,255,255,.45); pointer-events: none;
}
.about__badge {
  position: absolute; top: -28px; right: -20px; width: 130px; height: 130px; border-radius: 50%;
  background: var(--rosa); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center;
  box-shadow: 0 16px 32px rgba(230, 38, 140, .4); font-size: .82rem; line-height: 1.2; text-align: center; z-index: 1;
}
.about__badge strong { font-family: "Poppins", sans-serif; font-size: 2rem; font-weight: 800; line-height: 1.1; }
.about__text > p { color: var(--texto-suave); margin-bottom: 1rem; }
.about__text > p strong { color: var(--texto); }
.values { display: grid; gap: 1rem; margin-top: 1.8rem; }
.value { display: flex; gap: 1rem; align-items: flex-start; background: #fff; border-radius: 16px; padding: 1.1rem 1.2rem; border: 1px solid var(--borde); }
.value__icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex-shrink: 0; }
.value__icon .i { width: 22px; height: 22px; }
.value strong { font-family: "Poppins", sans-serif; font-weight: 600; }
.value p { color: var(--texto-suave); font-size: .97rem; }

/* ---------- Preguntas frecuentes ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 4rem; align-items: start; }
.faq-wrap__intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.faq-wrap__intro > p { color: var(--texto-suave); }
.help-box {
  margin-top: 2rem; padding: 1.6rem; border-radius: var(--radio); color: #fff;
  background: linear-gradient(135deg, var(--azul-marino), var(--azul));
}
.help-box strong { font-family: "Poppins", sans-serif; font-size: 1.15rem; display: block; }
.help-box p { color: #d7e6f7; margin: .3rem 0 1rem; }
.faq details {
  background: #fff; border: 1px solid var(--borde); border-radius: 16px;
  margin-bottom: .9rem; transition: border-color .2s, box-shadow .2s;
}
.faq details[open] { border-color: var(--celeste); box-shadow: var(--sombra); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.2rem 3.6rem 1.2rem 1.4rem;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.02rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.1rem; top: 50%; transform: translateY(-50%);
  width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center;
  background: var(--celeste-claro); color: var(--azul); font-size: 1.3rem; font-weight: 500; transition: transform .25s, background .25s, color .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--rosa); color: #fff; }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--texto-suave); }
.disclaimer { margin-top: 1.4rem; padding: 1rem 1.2rem; background: var(--rosa-claro); border-radius: 14px; font-size: .93rem; }

/* ---------- Llamado a la acción ---------- */
.cta { padding: 0 0 6rem; }
.cta__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap;
  border-radius: 28px; padding: 3rem 3.2rem; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--rosa) 0%, #c02a9a 50%, var(--violeta) 100%);
  box-shadow: 0 24px 48px rgba(230, 38, 140, .3);
}
.cta__inner::before {
  content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%;
  background: rgba(255,255,255,.12);
}
.cta h2 { color: #fff; margin-bottom: .3rem; }
.cta p { color: #ffe3f2; font-size: 1.1rem; }
.cta .btn { position: relative; }

/* ---------- Contacto ---------- */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.contact__info > p { color: var(--texto-suave); }
.contact__list { list-style: none; margin: 2rem 0; display: grid; gap: 1.2rem; }
.contact__list li { display: flex; gap: 1rem; align-items: center; }
.contact__list strong { display: block; font-family: "Poppins", sans-serif; font-weight: 600; font-size: .95rem; color: var(--texto); }
.contact__list div { color: var(--texto-suave); }
.contact__icon { width: 50px; height: 50px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--celeste); box-shadow: var(--sombra); flex-shrink: 0; }
.contact__icon .i { width: 22px; height: 22px; }
.social {
  display: inline-flex; align-items: center; gap: .6rem;
  background: #1877f2; color: #fff; text-decoration: none; font-weight: 700;
  padding: .75rem 1.3rem; border-radius: 999px; transition: transform .2s;
}
.social:hover { transform: translateY(-2px); }

.form { background: #fff; padding: 2.4rem; border-radius: 24px; box-shadow: var(--sombra-fuerte); }
.form h3 { font-size: 1.4rem; margin-bottom: 1.4rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.field label { font-weight: 700; font-size: .92rem; margin-bottom: .4rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--texto);
  border: 1.5px solid var(--borde); border-radius: 12px; background: var(--fondo-alt);
  padding: .8rem 1rem; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--celeste); background: #fff; box-shadow: 0 0 0 4px var(--celeste-claro);
}
.optional { font-weight: 400; color: var(--texto-suave); }
.form__note { font-size: .88rem; color: var(--texto-suave); margin-bottom: 1rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; margin-bottom: 1.4rem; font-size: .95rem; }
.check input { margin-top: .3rem; accent-color: var(--rosa); width: 18px; height: 18px; }

/* ---------- Pie de página ---------- */
.footer { background: var(--azul-noche); color: #c9d8ea; padding: 4.5rem 0 1.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; }
.footer__brand .logo { width: 240px; border-radius: 14px; }
.footer__brand p { margin-top: 1rem; max-width: 300px; }
.footer h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.footer__grid > div:not(.footer__brand) { display: flex; flex-direction: column; gap: .55rem; }
.footer a { color: #c9d8ea; text-decoration: none; transition: color .2s; }
.footer a:hover { color: var(--rosa-suave); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 3rem; padding-top: 1.4rem;
  font-size: .88rem; color: #9fb3cc; display: grid; gap: .3rem;
}
.footer--simple { padding-top: 0; }
.footer--simple .footer__bottom { border-top: 0; margin-top: 0; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: var(--whatsapp);
  display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37, 211, 102, .45);
  transition: transform .2s;
}
.wa-float svg { width: 32px; height: 32px; fill: #fff; }
.wa-float:hover { transform: scale(1.08); }
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--whatsapp);
  animation: ping 2.4s ease-out infinite; z-index: -1;
}
@keyframes ping { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.7); opacity: 0; } }

/* ---------- Animación al hacer scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Páginas legales ---------- */
.legal { padding: calc(var(--nav-h) + 3rem) 0 4rem; }
.legal h1 { font-size: clamp(1.8rem, 4vw, 2.5rem); margin-bottom: .5rem; }
.legal .updated { color: var(--texto-suave); margin-bottom: 2rem; }
.legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; color: var(--azul-marino); }
.legal p, .legal li { margin-bottom: .7rem; }
.legal ul { padding-left: 1.3rem; }
.legal .note { background: var(--celeste-claro); padding: 1rem 1.2rem; border-radius: 12px; }
.legal .lead { color: var(--texto-suave); }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cats { grid-template-columns: repeat(3, 1fr); }
  .nav { gap: 1.2rem; }
}

@media (max-width: 960px) {
  .hero__inner, .about, .faq-wrap, .contact { grid-template-columns: 1fr; }
  .hero__art { height: 380px; max-width: 480px; width: 100%; margin: 0 auto; }
  .cards { grid-template-columns: 1fr 1fr; }
  .stats__grid { grid-template-columns: 1fr 1fr; row-gap: 1.2rem; }
  .stat:nth-child(3) { border-left: 0; }
  .faq-wrap__intro { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .about__visual { max-width: 560px; }
}

@media (max-width: 860px) {
  :root { --topbar-h: 0px; --nav-h: 68px; }
  .topbar { display: none; }
  .header__logo .logo { width: 180px; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: var(--celeste); flex-direction: column; align-items: stretch; gap: 0;
    padding: .5rem 16px 1.4rem; box-shadow: 0 16px 24px rgba(7, 42, 87, .2);
    transform: translateY(-130%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: .95rem 0; border-bottom: 1px solid rgba(7, 42, 87, .15); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 1rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: calc(var(--header-h) + 2.5rem) 0 6.5rem; }
  .hero__art { display: none; }
  .hero__actions .btn { width: 100%; }
  .section { padding: 4rem 0; }
  .cards, .steps, .form__row { grid-template-columns: 1fr; }
  .steps { gap: 2.5rem; }
  .steps::before { display: none; }
  .cats { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .stat strong { font-size: 1.5rem; }
  .stat { padding: .4rem .5rem; }
  .about__visual { padding: 3rem 1.2rem; }
  .about__badge { width: 104px; height: 104px; right: -6px; top: -36px; }
  .about__badge strong { font-size: 1.6rem; }
  .cta__inner { padding: 2.2rem 1.5rem; }
  .cta .btn { width: 100%; }
  .form { padding: 1.6rem; }
  .footer__grid { grid-template-columns: 1fr; }
  .wa-float { width: 54px; height: 54px; right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Entrada inmediata del contenido principal (sin esperar al scroll) */
.intro { animation: fadeUp .8s ease both; }
.intro--late { animation-delay: .15s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Sucursales en contacto */
.branch { display: block; }
.branch b { color: var(--texto); font-weight: 700; }
.contact__list li { align-items: flex-start; }
.contact__list a { color: var(--azul); text-decoration: none; font-weight: 600; }
.contact__list a:hover { text-decoration: underline; }
