@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Poppins:wght@500;600;700;800&display=swap");

:root {
    --navy-950: #04101d;
    --navy-900: #061625;
    --navy-800: #0a2638;
    --blue-700: #0f5fd7;
    --blue-600: #1677ff;
    --turquoise-700: #008b79;
    --turquoise-600: #00a990;
    --turquoise-500: #00c2a8;
    --turquoise-400: #2bd7c1;
    --white: #ffffff;
    --background: #f4f8fb;
    --surface: #ffffff;
    --border: #dce7ee;
    --text: #172636;
    --text-soft: #66798b;
    --font-heading: "Poppins", Arial, sans-serif;
    --font-body: "Inter", Arial, sans-serif;
    --shadow: 0 18px 55px rgba(5, 25, 35, 0.1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--background);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
}

body.menu-open,
body.drawer-open {
    overflow: hidden;
}

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

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

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

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

h1,
h2,
h3 {
    font-family: var(--font-heading);
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.section {
    padding: 100px 0;
}

.section-label,
.eyebrow {
    margin-bottom: 10px;
    color: var(--turquoise-600);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}


/* DEMO */

.demo-banner {
    position: relative;
    z-index: 1200;
    display: grid;
    min-height: 42px;
    grid-template-columns: auto 1fr auto;
    gap: 20px;
    align-items: center;
    padding: 7px 22px;
    background:
        linear-gradient(
            90deg,
            var(--blue-700),
            var(--turquoise-600)
        );
    color: var(--white);
    font-size: .78rem;
}

.demo-banner strong {
    letter-spacing: .08em;
}

.demo-banner span {
    opacity: .86;
}

.demo-banner a {
    font-weight: 800;
}


/* HEADER */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255,255,255,.08);
    background: rgba(4,16,29,.95);
    backdrop-filter: blur(14px);
}

.header-inner {
    display: grid;
    min-height: 82px;
    grid-template-columns: auto 1fr auto;
    gap: 30px;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--white);
}

.brand-symbol {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--turquoise-500)
        );
    font-weight: 900;
}

.brand strong,
.brand small {
    display: block;
}

.brand strong {
    font-family: var(--font-heading);
    font-size: .95rem;
}

.brand small {
    color: #91a7b8;
    font-size: .65rem;
}

nav {
    display: flex;
    justify-content: center;
    gap: 27px;
}

nav a {
    color: #bdcbd6;
    font-size: .77rem;
    font-weight: 700;
    transition: color 180ms ease;
}

nav a:hover {
    color: var(--white);
}

.mobile-menu {
    display: none;
    width: 43px;
    height: 43px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 11px;
    background: rgba(255,255,255,.06);
    color: var(--white);
}

.cart-button,
.button {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 0;
    border-radius: 11px;
    font-weight: 800;
    transition:
        transform 220ms ease,
        box-shadow 220ms ease,
        background 220ms ease;
}

.cart-button {
    gap: 8px;
    background: var(--turquoise-600);
    color: var(--white);
    font-size: .77rem;
}

.cart-button span {
    display: inline-flex;
    min-width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border-radius: 99px;
    background: rgba(255,255,255,.18);
    font-size: .68rem;
}


/* HERO */

.hero {
    overflow: hidden;
    background:
        radial-gradient(
            circle at 78% 36%,
            rgba(34,211,189,.16),
            transparent 33%
        ),
        linear-gradient(
            90deg,
            #04101d 0%,
            #061b2d 50%,
            #0b3c53 100%
        );
}

.hero-grid {
    display: grid;
    min-height: 680px;
    grid-template-columns:
        minmax(0,.92fr)
        minmax(500px,1.08fr);
    gap: 45px;
    align-items: center;
    padding-top: 65px;
    padding-bottom: 65px;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 650px;
}

.hero .eyebrow {
    color: var(--turquoise-400);
}

.hero h1 {
    margin-bottom: 22px;
    color: var(--white);
    font-size: clamp(2.8rem,4.8vw,4.45rem);
    line-height: 1.04;
}

.hero-description {
    max-width: 610px;
    margin-bottom: 28px;
    color: #c7d5df;
    font-size: 1.03rem;
}

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

.button.primary {
    background: var(--turquoise-600);
    color: var(--white);
}

.button.primary:hover {
    box-shadow: 0 14px 30px rgba(0,169,144,.25);
    transform: translateY(-3px);
}

.button.secondary {
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: var(--white);
}

.button.secondary:hover {
    background: rgba(255,255,255,.11);
    transform: translateY(-3px);
}

.hero-points {
    display: flex;
    flex-wrap: wrap;
    gap: 17px;
    color: #a8bbc8;
    font-size: .73rem;
    font-weight: 700;
}

.hero-visual {
    position: relative;
    min-height: 540px;
}

.hero-visual img {
    position: absolute;
    top: 50%;
    left: 48%;
    width: 850px;
    max-width: none;
    transform: translate(-50%,-50%);
    filter: drop-shadow(0 28px 65px rgba(0,0,0,.24));
    animation: floatHero 6s ease-in-out infinite;
}

@keyframes floatHero {
    0%,100% { transform: translate(-50%,-50%); }
    50% { transform: translate(-50%,calc(-50% - 9px)); }
}


/* TRUST */

.trust-strip {
    border-bottom: 1px solid var(--border);
    background: var(--white);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
}

.trust-grid article {
    padding: 24px 22px;
    border-right: 1px solid var(--border);
}

.trust-grid article:last-child {
    border-right: 0;
}

.trust-grid strong,
.trust-grid span {
    display: block;
}

.trust-grid strong {
    margin-bottom: 3px;
    font-family: var(--font-heading);
    font-size: .9rem;
}

.trust-grid span {
    color: var(--text-soft);
    font-size: .72rem;
}


/* HEADINGS */

.section-heading {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(280px,.9fr);
    gap: 55px;
    align-items: end;
    margin-bottom: 44px;
}

.section-heading h2,
.process-heading h2,
.faq-grid h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem,4vw,3rem);
    line-height: 1.12;
}

.section-heading > p {
    margin-bottom: 4px;
}


/* CATALOG */

.catalog {
    background: var(--white);
}

.catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 28px;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.category-button {
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: 99px;
    background: var(--white);
    color: var(--text-soft);
    font-size: .75rem;
    font-weight: 800;
}

.category-button:hover,
.category-button.active {
    border-color: var(--turquoise-600);
    background: var(--turquoise-600);
    color: var(--white);
}

#product-search {
    width: min(300px,100%);
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--border);
    border-radius: 11px;
    outline: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 22px;
}

.product-card {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--white);
    box-shadow: 0 12px 32px rgba(5,25,35,.06);
    transition:
        transform 260ms ease,
        box-shadow 260ms ease,
        border-color 260ms ease;
}

.product-card:hover {
    border-color: rgba(0,169,144,.42);
    box-shadow: 0 25px 55px rgba(0,169,144,.12);
    transform: translateY(-8px);
}

.product-card.is-hidden {
    display: none;
}

.product-image {
    position: relative;
    height: 245px;
    overflow: hidden;
    background: #edf5f8;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 400ms ease;
}

.product-card:hover .product-image img {
    transform: scale(1.045);
}

.product-image span {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 10px;
    border-radius: 99px;
    background: rgba(4,16,29,.77);
    color: var(--white);
    font-size: .68rem;
    font-weight: 800;
    backdrop-filter: blur(8px);
}

.product-content {
    padding: 23px;
}

.product-content h3 {
    margin-bottom: 9px;
}

.product-content p {
    min-height: 70px;
    margin-bottom: 20px;
    color: var(--text-soft);
    font-size: .83rem;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.product-bottom strong {
    color: var(--turquoise-700);
    font-family: var(--font-heading);
    font-size: 1.15rem;
}

.add-button {
    min-height: 38px;
    padding: 7px 13px;
    border: 0;
    border-radius: 10px;
    background: #eaf9f6;
    color: var(--turquoise-700);
    font-size: .74rem;
    font-weight: 800;
}

.add-button:hover {
    background: var(--turquoise-600);
    color: var(--white);
}


/* PROCESS */

.process {
    background:
        radial-gradient(
            circle at 86% 16%,
            rgba(0,194,168,.14),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--navy-950),
            var(--navy-800)
        );
}

.process .section-label {
    color: var(--turquoise-400);
}

.process-heading {
    max-width: 780px;
    margin-bottom: 45px;
}

.process-heading h2 {
    color: var(--white);
}

.process-heading > p:last-child {
    color: #adc0cc;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 18px;
}

.process-grid article {
    min-height: 240px;
    padding: 26px 22px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 18px;
    background: rgba(255,255,255,.045);
    transition: transform 250ms ease, background 250ms ease;
}

.process-grid article:hover {
    background: rgba(255,255,255,.075);
    transform: translateY(-7px);
}

.process-grid span {
    display: inline-flex;
    width: 46px;
    height: 46px;
    align-items: center;
    justify-content: center;
    margin-bottom: 38px;
    border-radius: 13px;
    background:
        linear-gradient(
            135deg,
            var(--blue-600),
            var(--turquoise-500)
        );
    color: var(--white);
    font-size: .7rem;
    font-weight: 800;
}

.process-grid h3 {
    margin-bottom: 10px;
    color: var(--white);
}

.process-grid p {
    margin: 0;
    color: #adc0cc;
    font-size: .83rem;
}


/* FAQ */

.faq {
    background: var(--background);
}

.faq-grid {
    display: grid;
    grid-template-columns: minmax(0,.78fr) minmax(0,1.22fr);
    gap: 70px;
    align-items: start;
}

.faq-grid > div:first-child > p:last-child {
    color: var(--text-soft);
}

.faq-list {
    display: grid;
    gap: 10px;
}

details {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 13px;
    background: var(--white);
}

summary {
    padding: 18px 20px;
    cursor: pointer;
    font-weight: 800;
    list-style: none;
}

summary::-webkit-details-marker {
    display: none;
}

details p {
    margin: 0;
    padding: 0 20px 20px;
    color: var(--text-soft);
    font-size: .84rem;
}


/* CTA */

.final-cta {
    padding: 85px 0;
    background:
        linear-gradient(
            120deg,
            var(--blue-700),
            var(--turquoise-700) 58%,
            var(--turquoise-600)
        );
}

.final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.final-cta .section-label {
    color: rgba(255,255,255,.82);
}

.final-cta h2 {
    max-width: 720px;
    margin-bottom: 11px;
    color: var(--white);
    font-size: clamp(2rem,4vw,3rem);
}

.final-cta p {
    max-width: 650px;
    margin: 0;
    color: rgba(255,255,255,.84);
}

.button.white {
    flex-shrink: 0;
    background: var(--white);
    color: var(--turquoise-700);
}


/* FOOTER */

footer {
    padding: 55px 0 22px;
    background: var(--navy-950);
    color: #aec0cb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 35px;
}

.footer-grid > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid strong {
    margin-bottom: 12px;
    color: var(--white);
    font-family: var(--font-heading);
}

.footer-grid p,
.footer-grid a,
.footer-grid span {
    margin: 0 0 6px;
    font-size: .78rem;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: .72rem;
}

.footer-bottom a {
    color: var(--turquoise-400);
}


/* CART */

.cart-drawer {
    position: fixed;
    inset: 0;
    z-index: 1800;
    display: none;
    justify-content: flex-end;
    background: rgba(4,16,29,.66);
    backdrop-filter: blur(5px);
}

.cart-drawer.is-open {
    display: flex;
}

.cart-panel {
    display: flex;
    width: min(100%,440px);
    height: 100%;
    flex-direction: column;
    background: var(--white);
    box-shadow: -20px 0 60px rgba(0,0,0,.22);
    animation: cartIn 220ms ease;
}

@keyframes cartIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.cart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid var(--border);
}

.cart-header small {
    color: var(--turquoise-600);
    font-size: .68rem;
    font-weight: 800;
    text-transform: uppercase;
}

.cart-header h2 {
    margin: 2px 0 0;
    font-size: 1.5rem;
}

.cart-close,
.modal-close {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #eff4f6;
    color: var(--text-soft);
    font-size: 1.2rem;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
}

.cart-empty {
    display: grid;
    min-height: 290px;
    place-items: center;
    align-content: center;
    color: var(--text-soft);
    text-align: center;
}

.cart-empty span {
    margin-bottom: 10px;
    font-size: 2rem;
}

.cart-empty strong {
    color: var(--text);
}

.cart-empty p {
    margin: 5px 0 0;
    font-size: .78rem;
}

.cart-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #edf2f5;
}

.cart-item strong {
    display: block;
    margin-bottom: 3px;
    font-size: .8rem;
}

.cart-item small {
    color: var(--text-soft);
    font-size: .68rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cart-item-actions button {
    width: 28px;
    height: 28px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    color: var(--text);
}

.cart-item-actions span {
    min-width: 20px;
    text-align: center;
    font-size: .74rem;
    font-weight: 800;
}

.cart-summary {
    padding: 22px 24px;
    border-top: 1px solid var(--border);
    background: #f9fbfc;
}

.cart-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cart-total span {
    color: var(--text-soft);
    font-size: .78rem;
}

.cart-total strong {
    color: var(--turquoise-700);
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.button.full {
    width: 100%;
}

.cart-summary p {
    margin: 10px 0 0;
    color: var(--text-soft);
    font-size: .68rem;
    text-align: center;
}


/* ORDER MODAL */

.order-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    place-items: center;
    padding: 20px;
    background: rgba(4,16,29,.72);
    backdrop-filter: blur(7px);
}

.order-modal.is-open {
    display: grid;
}

.order-card {
    position: relative;
    width: min(100%,520px);
    padding: 36px;
    border-radius: 22px;
    background: var(--white);
    box-shadow: 0 30px 90px rgba(0,0,0,.28);
    text-align: center;
}

.order-icon {
    display: inline-flex;
    width: 60px;
    height: 60px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #25d366;
    color: var(--white);
    font-weight: 900;
}

.order-card h2 {
    margin-bottom: 8px;
}

.order-card > p {
    margin-bottom: 18px;
    color: var(--text-soft);
    font-size: .84rem;
}

.order-message {
    margin-bottom: 20px;
    padding: 17px;
    border-radius: 14px;
    background: #f1f8f5;
    color: var(--text);
    font-size: .78rem;
    line-height: 1.6;
    text-align: left;
    white-space: pre-line;
}


/* RESPONSIVE */

@media (max-width: 1050px) {

    nav {
        gap: 15px;
    }

    .hero-grid {
        grid-template-columns: minmax(0,.9fr) minmax(430px,1.1fr);
    }

    .hero-visual img {
        width: 760px;
    }

    .products-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

}


@media (max-width: 860px) {

    .demo-banner {
        grid-template-columns: 1fr auto;
    }

    .demo-banner span {
        display: none;
    }

    .header-inner {
        grid-template-columns: 1fr auto auto;
    }

    .mobile-menu {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    nav {
        position: fixed;
        top: 124px;
        right: 0;
        left: 0;
        display: none;
        flex-direction: column;
        gap: 0;
        padding: 20px;
        background: rgba(4,16,29,.99);
        box-shadow: 0 20px 50px rgba(0,0,0,.22);
    }

    nav.is-open {
        display: flex;
    }

    nav a {
        padding: 14px 8px;
        border-bottom: 1px solid rgba(255,255,255,.07);
    }

    .hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        padding-top: 65px;
        padding-bottom: 30px;
    }

    .hero-visual {
        min-height: 430px;
    }

    .hero-visual img {
        left: 50%;
        width: 760px;
    }

    .trust-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }

    .trust-grid article:nth-child(2) {
        border-right: 0;
    }

    .trust-grid article:nth-child(-n+2) {
        border-bottom: 1px solid var(--border);
    }

    .section-heading,
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .catalog-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    #product-search {
        width: 100%;
    }

    .final-cta-inner {
        flex-direction: column;
        align-items: flex-start;
    }

}


@media (max-width: 620px) {

    .container {
        width: min(100% - 28px,1180px);
    }

    .section {
        padding: 75px 0;
    }

    .demo-banner {
        padding-inline: 12px;
        font-size: .66rem;
    }

    .header-inner {
        gap: 9px;
    }

    .brand small {
        display: none;
    }

    .cart-button {
        padding-inline: 12px;
    }

    .hero h1 {
        font-size: clamp(2.4rem,11vw,3.4rem);
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions,
    .hero-actions .button {
        width: 100%;
    }

    .hero-visual {
        min-height: 315px;
    }

    .hero-visual img {
        width: 610px;
    }

    .trust-grid,
    .products-grid,
    .process-grid {
        grid-template-columns: 1fr;
    }

    .trust-grid article {
        border-right: 0;
        border-bottom: 1px solid var(--border);
    }

    .trust-grid article:last-child {
        border-bottom: 0;
    }

    .product-image {
        height: 230px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 27px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .final-cta {
        padding: 70px 0;
    }

    .final-cta .button {
        width: 100%;
    }

    .order-card {
        padding: 32px 22px 24px;
    }

}
/* ==========================================================
   PASO 13 · MEJORAS TÁCTILES EN MÓVIL
========================================================== */

@media (max-width: 620px) {

    .mobile-menu {
        width: 44px;
        height: 44px;
    }

    .category-button,
    #product-search,
    .add-button {
        min-height: 44px;
    }

    #product-search {
        font-size: 16px;
    }

}

@media (max-width: 390px) {

    .brand strong {
        font-size: 0.9rem;
    }

    .cart-button {
        padding-inline: 10px;
    }

    .hero h1 {
        font-size: 2.15rem;
    }

}
