/* ==========================================================================
   fast clean · Lavandería — hoja de estilos
   Paleta: azul marca (#2f6fed / #3d7bff), navy texto (#0f2540),
   fondos claros (#f5f9ff / #eef4fb). Un solo acento, un solo radio por tipo
   de elemento (pill en botones, 16-20px en tarjetas).
   ========================================================================== */

/* Plus Jakarta Sans, alojada en assets/fonts/ (sin depender de Google Fonts en producción). */
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-500-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
    font-family: "Plus Jakarta Sans";
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url("../fonts/plus-jakarta-sans-latin-800-normal.woff2") format("woff2");
}

:root {
    --blue-900: #0f2540;
    --blue-800: #16305c;
    --blue-700: #1c4fc7;
    --blue-600: #2f6fed;
    --blue-500: #3d8bff;
    --blue-300: #79a8ff;
    --blue-100: #bcd6ff;
    --blue-50:  #eef4ff;
    --bg-soft:  #f5f9ff;
    --bg-alt:   #eef4fb;
    --ink:      #16305c;
    --ink-soft: #4d6484;
    --white:    #ffffff;
    --radius-card: 18px;
    --radius-pill: 999px;
    --shadow-card: 0 18px 40px -22px rgba(15, 42, 85, .28);
    --shadow-soft: 0 10px 26px -16px rgba(15, 42, 85, .22);
    --container: 1180px;
    --header-h: 76px;
    --ease: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

.container {
    width: 100%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

h1, h2, h3, p { margin: 0; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn--pill { border-radius: var(--radius-pill); }
.btn--primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--blue-500), var(--blue-700));
    box-shadow: 0 14px 26px -12px rgba(28, 79, 199, .55);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 30px -12px rgba(28, 79, 199, .6); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--outline {
    color: var(--blue-700);
    background: var(--white);
    border: 1.5px solid var(--blue-500);
}
.btn--outline:hover { border-color: var(--blue-500); background: var(--blue-50); }
.btn--white {
    color: var(--blue-700);
    background: var(--white);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); }

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    height: var(--header-h);
    display: flex;
    align-items: center;
    /* Sólido (sin backdrop-filter): backdrop-filter crea un "containing block"
       nuevo para descendientes position:fixed y rompía el panel de menú móvil
       (.nav), que necesita posicionarse respecto al viewport completo. */
    background: var(--white);
    border-bottom: 1px solid transparent;
    transition: box-shadow .25s var(--ease), border-color .25s var(--ease);
}
.site-header.is-scrolled {
    box-shadow: 0 8px 24px -18px rgba(15, 42, 85, .35);
    border-bottom-color: rgba(15, 42, 85, .06);
}
.header__inner {
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    align-items: center;
    gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.nav { justify-self: center; }
.brand__mark { display: flex; flex: none; }
.brand__mark img {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    object-fit: cover;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name { font-weight: 800; font-size: 19px; color: var(--ink); }
.brand__tagline { font-size: 12.5px; color: var(--blue-600); font-weight: 600; }

.nav__list {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav__link {
    position: relative;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink-soft);
    padding: 6px 0;
    transition: color .2s var(--ease);
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: -2px;
    height: 2px;
    background: var(--blue-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}
.nav__link:hover { color: var(--blue-700); }
.nav__link.is-active { color: var(--blue-700); }
.nav__link.is-active::after { transform: scaleX(1); }

.header__cta { margin-left: 0; }

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: none;
    cursor: pointer;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--ink);
    margin: 0 auto;
    transition: transform .25s var(--ease), opacity .25s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Reveal on scroll ---------- */
.reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .7s var(--ease), transform .7s var(--ease);
    transition-delay: var(--d, 0ms);
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Si JavaScript no está disponible (o no llegó a ejecutarse), el contenido
   nunca debe quedar oculto: <html> nace con la clase "no-js" y main.js la
   quita en cuanto corre. Ver includes/header.php y assets/js/main.js. */
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    padding: 56px 0 48px;
    background:
        radial-gradient(ellipse 50% 60% at 85% 30%, rgba(188, 214, 255, .55), transparent 60%),
        radial-gradient(ellipse 40% 50% at 8% 80%, rgba(121, 168, 255, .22), transparent 60%),
        linear-gradient(180deg, #eef6ff 0%, #f7fbff 42%, var(--white) 100%);
    overflow: hidden;
}
.hero__inner {
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    gap: 36px;
    align-items: center;
}
.hero__title {
    font-size: clamp(36px, 4.6vw, 56px);
    line-height: 1.06;
    font-weight: 800;
    color: var(--blue-900);
    letter-spacing: -.02em;
}
.hero__subtitle { margin-top: 18px; font-size: 17px; font-weight: 700; color: var(--ink); }
.hero__text { margin-top: 10px; font-size: 15.5px; line-height: 1.6; color: var(--ink-soft); max-width: 44ch; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }

.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    list-style: none;
    margin: 30px 0 0;
    padding: 0;
}
.hero__badges li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--ink-soft);
}
.hero__badges i { color: var(--blue-600); font-size: 16px; }

.hero__visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 380px;
}
.hero__splashes {
    position: absolute;
    inset: -8% -6%;
    width: 112%;
    height: 112%;
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
}
.hero__blob {
    position: absolute;
    inset: 8% 10%;
    margin: auto;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #c5dcff, #6ea3ff 70%);
    opacity: .28;
    filter: blur(18px);
    animation: float 7s ease-in-out infinite;
}
.hero__towels {
    position: relative;
    z-index: 1;
    width: min(100%, 480px);
    height: auto;
    border-radius: 28px;
    object-fit: cover;
    box-shadow: 0 28px 50px -28px rgba(15, 42, 85, .35);
}

.hero__card {
    position: absolute;
    right: 8px;
    bottom: 18px;
    z-index: 2;
    width: 230px;
    padding: 16px 18px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 18px 40px -18px rgba(15, 42, 85, .38);
    animation: float 6s ease-in-out infinite;
    animation-delay: .4s;
}
.hero__card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: var(--blue-50);
    color: var(--blue-600);
    font-size: 18px;
    margin-bottom: 10px;
}
.hero__card-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.hero__card-text { margin-top: 4px; font-size: 12.5px; color: var(--ink-soft); }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Webapp banner ---------- */
.webapp { padding: 4px 0 64px; }
.webapp__panel {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 36px;
    align-items: center;
    background: linear-gradient(120deg, #1a45c4 0%, #2f6fed 55%, #3d8bff 100%);
    border-radius: 24px;
    padding: 42px 44px;
    color: var(--white);
    box-shadow: 0 30px 60px -30px rgba(28, 79, 199, .55);
}
.webapp__copy h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; line-height: 1.25; }
.webapp__copy p { margin-top: 14px; font-size: 14.5px; line-height: 1.6; color: rgba(255, 255, 255, .85); max-width: 42ch; }
.webapp__copy .btn { margin-top: 22px; }

.webapp__features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}
.webapp__feature {
    background: rgba(232, 241, 255, .16);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 16px;
    padding: 16px 12px 18px;
    text-align: center;
    transition: transform .25s var(--ease), background .25s var(--ease);
}
.webapp__feature:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .2); }
.webapp__feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 12px;
    border-radius: 16px;
    background: #e8f1ff;
    color: var(--blue-600);
}
.webapp__feature-icon svg { width: 52px; height: 52px; }
.webapp__feature p { font-size: 12.5px; font-weight: 600; line-height: 1.4; }

/* ---------- Section heading ---------- */
.section-title {
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 800;
    text-align: center;
    color: var(--ink);
}
.section-title--light { color: var(--white); }
.section-subtitle {
    text-align: center;
    margin: 12px auto 0;
    max-width: 46ch;
    color: var(--ink-soft);
    font-size: 15px;
}

/* ---------- Servicios ---------- */
.services { padding: 78px 0; }
.services__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.service-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--white);
    border: 1px solid rgba(15, 42, 85, .06);
    border-radius: var(--radius-card);
    padding: 26px 22px;
    box-shadow: var(--shadow-soft);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
.service-card__icon {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(90deg, #4CAAE2, #57B7E5);
    color: var(--white);
    font-size: 22px;
}
.service-card__body { min-width: 0; }
.service-card h3 { font-size: 17px; font-weight: 700; }
.service-card p { margin-top: 6px; font-size: 14px; line-height: 1.55; color: var(--ink-soft); }

/* ---------- Productos ---------- */
.products { padding: 78px 0; background: var(--white); }
.products__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
}
.product-card {
    background: var(--white);
    border-radius: var(--radius-card);
    padding: 22px 16px 20px;
    text-align: center;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(15, 42, 85, .05);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.product-card--btn {
    display: block;
    width: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}
.product-card--btn:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 3px;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }
.product-card__photo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 148px;
    margin: 0 auto;
    background: linear-gradient(180deg, #f4f8ff, #eef4fb);
    border-radius: 14px;
    overflow: hidden;
}
.product-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.product-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    background: linear-gradient(90deg, #4CAAE2, #57B7E5);
    color: var(--white);
    font-size: 26px;
}
.product-card__title { display: block; margin-top: 14px; font-size: 14px; font-weight: 700; line-height: 1.4; color: var(--ink); }
.products__cta { display: flex; justify-content: center; margin-top: 36px; }

.product-modal__panel { width: min(420px, 92vw); }
.product-modal__list {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.product-modal__list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: #f4f8ff;
    border-radius: 12px;
    font-size: 14px;
    color: var(--ink);
}
.product-modal__list strong {
    font-weight: 700;
    color: var(--blue-600);
    white-space: nowrap;
}
.product-modal__list.d-none,
.product-modal__empty.d-none { display: none; }
.product-modal__empty {
    margin: 18px 0 0;
    font-size: 14px;
    line-height: 1.5;
    color: var(--ink-soft);
    text-align: center;
}

/* ---------- Cómo funciona ---------- */
.how {
    position: relative;
    padding: 80px 0 72px;
    background: linear-gradient(165deg, #2f6fed 0%, #1c4fc7 58%, #163d9e 100%);
    color: var(--white);
    overflow: hidden;
}
.how__wave { display: none; }
.how__grid {
    margin-top: 48px;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 36px;
    align-items: stretch;
}
.how__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    list-style: none;
    margin: 0;
    padding: 0;
}
.how__step { position: relative; text-align: center; padding-top: 6px; }
.how__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 46px;
    left: calc(50% + 38px);
    width: calc(100% - 38px);
    height: 2px;
    background: rgba(255, 255, 255, .22);
}
.how__step-num {
    position: absolute;
    top: 8px;
    left: calc(50% + 18px);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--blue-900);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
}
.how__step-icon {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue-700);
    font-size: 26px;
    box-shadow: 0 12px 22px -12px rgba(0, 0, 0, .35);
}
.how__step-icon .step-icon-svg { width: 28px; height: 28px; }
.how__step-title { font-weight: 700; font-size: 15px; }
.how__step-text { margin-top: 6px; font-size: 13px; line-height: 1.5; color: rgba(255, 255, 255, .78); }

.how__zone-card {
    background: var(--white);
    color: var(--ink);
    border-radius: var(--radius-card);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-card);
}
.how__zone-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--blue-50);
    color: var(--blue-600);
    font-size: 19px;
    margin-bottom: 14px;
}
.how__zone-title { font-weight: 700; font-size: 16px; }
.how__zone-text { margin-top: 6px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.how__zone-card .btn { margin-top: 18px; width: 100%; }

/* ---------- Nosotros ---------- */
.about { padding: 86px 0; }
.about__inner {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 50px;
    align-items: center;
}
.about__copy .section-title { text-align: left; }
.about__copy p { margin-top: 16px; font-size: 15px; line-height: 1.65; color: var(--ink-soft); max-width: 56ch; }
.about__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.about__list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; color: var(--ink); }
.about__list i { color: var(--blue-600); margin-top: 2px; }

.about__stats { display: grid; gap: 18px; }
.about__stat {
    background: var(--bg-soft);
    border-radius: var(--radius-card);
    padding: 26px 24px;
    text-align: center;
}
.about__stat-num { font-size: 32px; font-weight: 800; color: var(--blue-700); }
.about__stat-label { margin-top: 4px; font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { background: var(--blue-900); color: rgba(255, 255, 255, .82); }
.footer__inner {
    /* padding-top/bottom únicamente: no usar el shorthand "padding" aquí,
       porque pisaría el padding horizontal heredado de .container y pegaría
       el contenido al borde de la pantalla en móvil. */
    padding-top: 54px;
    padding-bottom: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.footer__brand { min-width: 0; }
.brand--footer .brand__name,
.brand--footer .brand__tagline { color: var(--white); }

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    margin-left: auto;
    flex-shrink: 0;
}
.footer__whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #2ee6a6;
}
.footer__zones {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, .78);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.footer__zones:hover { color: var(--white); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 18px 0; }
.footer__bottom p { font-size: 12.5px; color: rgba(255, 255, 255, .5); text-align: center; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-fab {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 45;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #25D366;
    color: var(--white);
    font-size: 26px;
    box-shadow: 0 14px 26px -10px rgba(37, 211, 102, .6);
    transition: transform .2s var(--ease);
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* ---------- Modal: zonas de cobertura ---------- */
.modal { position: fixed; inset: 0; z-index: 60; display: none; }
.modal.is-open { display: block; }
.modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 37, 64, .55);
    opacity: 0;
    transition: opacity .25s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal__panel {
    position: absolute;
    top: 50%; left: 50%;
    width: min(640px, 92vw);
    max-height: 88vh;
    overflow-y: auto;
    background: var(--white);
    border-radius: 22px;
    padding: 26px;
    box-shadow: 0 40px 70px -20px rgba(15, 42, 85, .45);
    transform: translate(-50%, -48%) scale(.96);
    opacity: 0;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
}
.modal.is-open .modal__panel { transform: translate(-50%, -50%) scale(1); opacity: 1; }
.modal__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.modal__head h3 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 8px; color: var(--ink); }
.modal__close {
    flex: none;
    width: 34px; height: 34px;
    border-radius: 50%;
    border: none;
    background: var(--bg-alt);
    color: var(--ink);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s var(--ease);
}
.modal__close:hover { background: var(--blue-50); }
.modal__hint { margin-top: 10px; font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; }
.modal__map { margin-top: 16px; height: 320px; border-radius: 14px; overflow: hidden; background: var(--bg-alt); }
.modal__zone-list {
    margin: 16px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 14px;
}
.modal__zone-list li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); }
.modal__zone-list i { color: var(--blue-600); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .webapp__features { grid-template-columns: repeat(2, 1fr); }
    .how__grid { grid-template-columns: 1fr; }
    .products__grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}

@media (max-width: 900px) {
    .header__inner { grid-template-columns: 1fr auto auto; }
    .nav { position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0; background: var(--white);
        transform: translateX(100%); transition: transform .3s var(--ease); overflow-y: auto; justify-self: stretch; }
    .nav.is-open { transform: translateX(0); }
    .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px; }
    .nav__link { display: block; width: 100%; padding: 14px 0; font-size: 16px; border-bottom: 1px solid var(--bg-alt); }
    .nav-toggle { display: flex; }
    .header__cta { display: inline-flex; padding: 10px 16px; font-size: 14px; }

    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { order: -1; min-height: 280px; }
    .hero__towels { width: min(100%, 420px); }
    .hero__card { right: 0; bottom: 0; }

    .webapp__panel { grid-template-columns: 1fr; padding: 34px 26px; }
    .services__grid { grid-template-columns: 1fr; }
    .products__grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .how__steps { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .how__step:not(:last-child)::after { display: none; }
    .about__inner { grid-template-columns: 1fr; }
    .about__stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .products__grid { grid-template-columns: repeat(2, 1fr); }
    .webapp__features { grid-template-columns: 1fr 1fr; }
    .modal__zone-list { grid-template-columns: 1fr; }
    .hero__actions .btn { width: 100%; }
}

/* ---------- Accesibilidad: reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero__blob, .hero__card { animation: none; }
    .btn, .service-card, .product-card, .webapp__feature, .modal__backdrop, .modal__panel {
        transition: none;
    }
}
