:root {
    --teal: #0f7f84;
    --teal2: #19a6a9;
    --ink: #0a2330;
    --muted: rgba(10, 35, 48, .68);
    --border: 1px solid rgba(10, 35, 48, .10);
    --shadow: 0 10px 24px rgba(10, 35, 48, .10);
    --shadow2: 0 8px 18px rgba(10, 35, 48, .08);
    --r: 14px;
    --max: 1120px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial;
    color: var(--ink);
    background: #f7fbfb;
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 18px
}

/* Fixed header */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid rgba(10, 35, 48, .10);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900
}

.logo {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--teal2), var(--teal));
    border: 1px solid rgba(255, 255, 255, .75);
    box-shadow: 0 10px 20px rgba(15, 127, 132, .16);
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.menu {
    display: flex;
    gap: 10px;
    font-weight: 850;
    color: rgba(10, 35, 48, .74)
}

.menu a {
    padding: 10px 12px;
    border-radius: 12px
}

.menu a:hover {
    background: rgba(15, 127, 132, .08)
}

.menu a.active {
    background: rgba(15, 127, 132, .12);
    color: rgba(15, 127, 132, .98)
}

.btn {
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    padding: 11px 14px;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: transform .12s ease, box-shadow .12s ease;
    white-space: nowrap;
}

.btn:active {
    transform: translateY(1px)
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--teal2), var(--teal));
    box-shadow: 0 10px 18px rgba(15, 127, 132, .18);
}

.btn-primary:hover {
    box-shadow: 0 12px 22px rgba(15, 127, 132, .22)
}

.btn-ghost {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(10, 35, 48, .10);
    color: rgba(10, 35, 48, .86);
    box-shadow: none;
}

/* Mobile nav button */
.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(10, 35, 48, .10);
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.hamburger span {
    display: block;
    width: 20px;
    height: 2px;
    background: rgba(10, 35, 48, .75);
    position: relative;
}

.hamburger span::before,
.hamburger span::after {
    content: "";
    position: absolute;
    left: 0;
    width: 20px;
    height: 2px;
    background: rgba(10, 35, 48, .75);
}

.hamburger span::before {
    top: -6px
}

.hamburger span::after {
    top: 6px
}

/* Drawer */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 35, 48, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .15s ease;
    z-index: 110;
}

.drawer {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 320px;
    max-width: 86vw;
    background: rgba(255, 255, 255, .98);
    border-left: 1px solid rgba(10, 35, 48, .10);
    transform: translateX(110%);
    transition: transform .18s ease;
    z-index: 120;
    display: flex;
    flex-direction: column;
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px 10px;
    border-bottom: 1px solid rgba(10, 35, 48, .08);
}

.drawer-links {
    padding: 12px 14px;
    display: grid;
    gap: 8px;
}

.drawer-links a {
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(10, 35, 48, .08);
    background: rgba(255, 255, 255, .88);
    font-weight: 900;
    color: rgba(10, 35, 48, .76);
}

.drawer-links a:hover {
    background: rgba(15, 127, 132, .08);
    border-color: rgba(15, 127, 132, .18)
}

.drawer-footer {
    margin-top: auto;
    padding: 14px;
    border-top: 1px solid rgba(10, 35, 48, .08);
    display: grid;
    gap: 10px;
}

.is-open .overlay {
    opacity: 1;
    pointer-events: auto
}

.is-open .drawer {
    transform: translateX(0)
}

/* Space for fixed header */
.header-spacer {
    height: 70px;
}

/* Hero */
.hero {
    padding: 22px 0 18px;
}

.hero-card {
    background: rgba(255, 255, 255, .92);
    border: var(--border);
    border-radius: calc(var(--r) + 10px);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 18px;
    padding: 22px;
    align-items: center;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 127, 132, .08);
    border: 1px solid rgba(15, 127, 132, .14);
    font-weight: 950;
    color: rgba(15, 127, 132, .95);
    width: fit-content;
    font-size: 13px;
}

h1 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 3.2vw, 44px);
    line-height: 1.08;
    letter-spacing: -.04em;
}

.sub {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 62ch;
    font-weight: 750;
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.hero-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 18px;
    border: 1px solid rgba(10, 35, 48, .10);
    box-shadow: none;
}

section {
    padding: 18px 0
}

.section-card {
    background: rgba(255, 255, 255, .92);
    border: var(--border);
    border-radius: calc(var(--r) + 10px);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.section-head {
    padding: 16px 18px 0;
    text-align: center;
}

.section-head h2 {
    margin: 6px 0 6px;
    font-size: clamp(22px, 2.6vw, 32px);
    letter-spacing: -.03em
}

/* Trust */
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    padding: 16px 18px;
}

.trust-item {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(10, 35, 48, .10);
    border-radius: var(--r);
    padding: 12px;
}

.trust-item .t {
    font-weight: 950
}

.trust-item .d {
    color: var(--muted);
    font-weight: 750;
    margin-top: 4px;
    line-height: 1.45;
    font-size: 13.5px
}

.trust-note {
    padding: 0 18px 16px;
    color: rgba(10, 35, 48, .58);
    font-weight: 750;
    font-size: 13px;
    line-height: 1.45;
}

/* Categories */
.cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    padding: 16px 18px 18px;
}

.cat {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(10, 35, 48, .10);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform .12s ease;
}

.cat:hover {
    transform: translateY(-2px)
}

.cat img {
    width: 100%;
    /* height: 160px; */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(10, 35, 48, .10)
}

.cat .body {
    padding: 12px
}

.cat .title {
    margin: 0;
    font-weight: 950;
    font-size: 16px
}

.cat .btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px
}

/* Products */
.how {
    padding: 16px 18px 18px
}

.how h2 {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.6vw, 32px);
    letter-spacing: -.03em;
    text-align: center;
}

.tabs {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 8px 0 14px
}

.tab {
    border: 1px solid rgba(10, 35, 48, .10);
    background: rgba(255, 255, 255, .92);
    padding: 10px 14px;
    border-radius: 999px;
    font-weight: 950;
    cursor: pointer;
    color: rgba(10, 35, 48, .72);
}

.tab.active {
    background: rgba(15, 127, 132, .10);
    border-color: rgba(15, 127, 132, .20);
    color: rgba(15, 127, 132, .95);
}

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 10px
}

.p {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(10, 35, 48, .10);
    border-radius: var(--r);
    overflow: hidden;
    transition: transform .12s ease;
}

.p:hover {
    transform: translateY(-2px)
}

.p img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(10, 35, 48, .10)
}

.p .pb {
    padding: 12px
}

.p .name {
    margin: 0 0 8px;
    font-weight: 950
}

.p .price {
    font-weight: 950;
    color: rgba(15, 127, 132, .95)
}

.p .btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px
}

/* FAQ + CTA */
.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 0 18px 18px;
}

details {
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(10, 35, 48, .10);
    border-radius: var(--r);
    padding: 12px 14px;
}

details+details {
    margin-top: 10px
}

summary {
    cursor: pointer;
    font-weight: 950;
    list-style: none;
    display: flex;
    justify-content: space-between;
    gap: 10px
}

summary::-webkit-details-marker {
    display: none
}

details p {
    margin: 10px 0 0;
    color: var(--muted);
    font-weight: 750;
    line-height: 1.5
}

.cta {
    margin-top: 16px;
    padding: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(10, 35, 48, .10);
    border-radius: calc(var(--r) + 10px);
    box-shadow: var(--shadow);
}

.cta h3 {
    margin: 0;
    font-size: 20px;
    letter-spacing: -.02em
}

.cta p {
    margin: 6px 0 0;
    color: var(--muted);
    font-weight: 750
}

footer {
    padding: 22px 0 40px;
    color: rgba(10, 35, 48, .62);
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    border-top: 1px solid rgba(10, 35, 48, .10);
    padding-top: 14px;
}

.foot a {
    color: rgba(10, 35, 48, .62);
    font-weight: 850
}

.foot a:hover {
    text-decoration: underline
}

.wa-float {
    position: fixed;
    right: 16px;
    bottom: 16px;
    z-index: 60;
    display: none;
}

.wa-float .btn {
    border-radius: 999px;
}


/* ===== Categorías: scroll horizontal en móvil ===== */
.cats-scroll {
    display: grid;
    gap: 14px;
    padding: 16px 18px 18px;
}

/* Desktop: normal (grid) */
@media (min-width: 981px) {
    .cats-scroll {
        grid-template-columns: repeat(4, 1fr);
    }

    .scroll-hint {
        display: none;
    }
}

/* Móvil / tablet: carrusel horizontal */
@media (max-width: 980px) {
    .cats-scroll {
        grid-auto-flow: column;
        grid-auto-columns: 78%;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 22px;
        /* espacio para que no tape la barra */
    }

    .cats-scroll::-webkit-scrollbar {
        height: 8px;
    }

    .cats-scroll::-webkit-scrollbar-track {
        background: transparent;
    }

    .cats-scroll::-webkit-scrollbar-thumb {
        background: rgba(10, 35, 48, .15);
        border-radius: 999px;
    }

    .cats-scroll .cat {
        scroll-snap-align: start;
    }

    /* que se vea que hay más tarjetas a la derecha */
    

    .scroll-hint {
        margin: -10px 18px 12px;
        color: rgba(10, 35, 48, .55);
        font-weight: 850;
        font-size: 13px;
        text-align: right;
    }
}


/* ===== Footer simple (confiable) ===== */
.footer-simple {
    padding: 22px 0 40px;
    color: rgba(10, 35, 48, .62);
}

.footer-top {
    border-top: 1px solid rgba(10, 35, 48, .10);
    padding-top: 16px;

    display: grid;
    grid-template-columns: 1.35fr 1fr 1fr;
    gap: 18px;
    align-items: start;
}

.footer-brand {
    font-weight: 950;
    letter-spacing: -.01em;
    color: rgba(10, 35, 48, .88);
    font-size: 16px;
}

.footer-title {
    font-weight: 950;
    color: rgba(10, 35, 48, .82);
    margin-bottom: 10px;
}

.footer-muted {
    margin-top: 6px;
    font-weight: 750;
    color: rgba(10, 35, 48, .56);
    line-height: 1.45;
    font-size: 13.5px;
}

.footer-meta {
    margin-top: 10px;
    display: grid;
    gap: 6px;
    font-weight: 750;
    color: rgba(10, 35, 48, .62);
}

.footer-meta a {
    font-weight: 900;
    text-decoration: underline;
    color: rgba(10, 35, 48, .70);
}

.footer-list {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 8px;
    font-weight: 750;
    color: rgba(10, 35, 48, .62);
}

.footer-links {
    display: grid;
    gap: 10px;
}

.footer-links a {
    font-weight: 850;
    color: rgba(10, 35, 48, .62);
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-wa {
    margin-top: 12px;
    padding: 10px 14px;
    border-radius: 999px;
    display: inline-flex;
    width: fit-content;
}

.footer-bottom {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid rgba(10, 35, 48, .08);

    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;

    font-size: 13px;
    font-weight: 750;
    color: rgba(10, 35, 48, .52);
}

.footer-bottom-links {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    font-weight: 900;
    color: rgba(10, 35, 48, .52);
}

.footer-bottom-links a:hover {
    text-decoration: underline;
}

@media (max-width: 980px) {
    .footer-top {
        grid-template-columns: 1fr;
    }
}

/* Pantallas muy pequeñas: ocupa un poco más */
@media (max-width: 420px) {
    .cats-scroll {
        grid-auto-columns: 86%;
    }
}



@media (max-width: 980px) {
    .menu {
        display: none
    }

    .hamburger {
        display: flex
    }

    .hero-inner {
        grid-template-columns: 1fr
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr
    }

    .cats {
        grid-template-columns: 1fr 1fr
    }

    .products {
        grid-template-columns: 1fr 1fr
    }

    .two {
        grid-template-columns: 1fr
    }

    .wa-float {
        display: block
    }
}

@media (max-width: 560px) {
    .trust-grid {
        grid-template-columns: 1fr
    }

    .cats {
        grid-template-columns: 1fr
    }

    .products {
        grid-template-columns: 1fr
    }
}