/* =========================================================
   VARIABLES
========================================================= */

:root {

    /* Colores principales */
    --dark: #292621;
    --dark-2: #38332e;
    --dark-3: #454039;

    --cream: #f5f1e9;
    --cream-2: #ebe5da;
    --white: #ffffff;

    --text: #292621;
    --text-light: #77716a;
    --border: #ded8cf;

    /* Color de acento inspirado en el logo */
    --accent: #d8d0c4;
    --accent-dark: #b9afa0;

    /* WhatsApp */
    --whatsapp: #25d366;
    --whatsapp-dark: #1da851;

    /* Instagram */
    --instagram: #c13584;

    /* Otros */
    --radius: 18px;
    --radius-small: 10px;

    --shadow:
        0 15px 45px rgba(41, 38, 33, 0.08);

    --shadow-hover:
        0 20px 55px rgba(41, 38, 33, 0.14);

    --transition:
        all 0.3s ease;

}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family: "Inter", sans-serif;

    color: var(--text);

    background: var(--white);

    line-height: 1.6;

}


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


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


button,
a {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   CONTENEDOR
========================================================= */

.container {

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

}


/* =========================================================
   HEADER
========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, 0.94);

    backdrop-filter:
        blur(12px);

    border-bottom:
        1px solid rgba(41, 38, 33, 0.08);

}


.nav-container {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

}


/* LOGO */

.brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.brand-logo {

    width: 54px;

    height: 54px;

    object-fit: cover;

    border-radius: 50%;

}


.brand-text {

    display: flex;

    flex-direction: column;

}


.brand-text span {

    font-family:
        "Playfair Display",
        serif;

    font-size: 18px;

    font-weight: 700;

    letter-spacing: 1px;

}


.brand-text small {

    font-size: 9px;

    letter-spacing: 2px;

    color: var(--text-light);

}


/* NAVEGACIÓN */

.nav {

    display: flex;

    align-items: center;

    gap: 32px;

}


.nav a {

    position: relative;

    font-size: 14px;

    font-weight: 500;

    color: #514c46;

    transition: var(--transition);

}


.nav a:hover {

    color: var(--dark);

}


.nav a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 1px;

    background: var(--dark);

    transition: var(--transition);

}


.nav a:hover::after {

    width: 100%;

}


/* BOTÓN HEADER */

.nav-whatsapp {

    padding:
        11px 18px;

    border-radius: 50px;

    color: var(--white);

    background: var(--dark);

    font-size: 13px;

    font-weight: 600;

    transition: var(--transition);

}


.nav-whatsapp:hover {

    background: var(--dark-3);

    transform: translateY(-2px);

}


/* =========================================================
   HERO
========================================================= */

.hero {

    position: relative;

    min-height: 650px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:

        linear-gradient(
            135deg,
            #2a2723 0%,
            #403b35 50%,
            #24221f 100%
        );

    color: var(--white);

}


.hero::before {

    content: "";

    position: absolute;

    width: 600px;

    height: 600px;

    border-radius: 50%;

    right: -200px;

    top: -250px;

    border:
        1px solid rgba(255,255,255,0.08);

}


.hero::after {

    content: "";

    position: absolute;

    width: 400px;

    height: 400px;

    border-radius: 50%;

    left: -180px;

    bottom: -250px;

    background:
        rgba(255,255,255,0.025);

}


.hero-overlay {

    position: absolute;

    inset: 0;

    background:

        radial-gradient(
            circle at 70% 50%,
            rgba(255,255,255,0.08),
            transparent 35%
        );

}


.hero-content {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.3fr
        0.7fr;

    align-items: center;

    gap: 80px;

}


.hero-text {

    max-width: 650px;

}


.hero-label {

    display: inline-block;

    margin-bottom: 18px;

    font-size: 12px;

    letter-spacing: 4px;

    color: var(--accent);

}


.hero h1 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(48px, 6vw, 82px);

    line-height: 1.02;

    font-weight: 600;

    margin-bottom: 25px;

}


.hero h1 span {

    display: block;

    color: var(--accent);

}


.hero p {

    max-width: 550px;

    color: #d7d1c8;

    font-size: 17px;

    margin-bottom: 35px;

}


/* BOTONES */

.hero-buttons {

    display: flex;

    gap: 14px;

    flex-wrap: wrap;

}


.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 50px;

    padding:
        0 25px;

    border-radius: 50px;

    font-size: 14px;

    font-weight: 600;

    transition: var(--transition);

}


.btn-primary {

    background: var(--white);

    color: var(--dark);

}


.btn-primary:hover {

    transform: translateY(-3px);

    box-shadow:
        0 12px 25px rgba(0,0,0,0.2);

}


.btn-secondary {

    border:
        1px solid rgba(255,255,255,0.3);

    color: var(--white);

}


.btn-secondary:hover {

    background:
        rgba(255,255,255,0.08);

}


/* CARD DEL HERO */

.hero-card {

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    padding: 40px;

    border:
        1px solid rgba(255,255,255,0.12);

    border-radius: 30px;

    background:
        rgba(255,255,255,0.04);

    backdrop-filter:
        blur(10px);

}


.hero-card img {

    width: 190px;

    height: 190px;

    border-radius: 50%;

    object-fit: cover;

    margin-bottom: 22px;

    border:
        5px solid rgba(255,255,255,0.85);

}


.hero-card p {

    margin: 0;

    text-align: center;

    font-size: 13px;

    color: #d5cec4;

}


/* =========================================================
   SECCIONES
========================================================= */

section {

    scroll-margin-top: 100px;

}


.categories {

    padding:
        110px 0;

    background:
        var(--cream);

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 40px;

    margin-bottom: 50px;

}


.section-heading.center {

    display: block;

    text-align: center;

}


.section-heading.center p {

    margin:
        10px auto 0;

}


.eyebrow {

    display: inline-block;

    margin-bottom: 12px;

    color: #847b70;

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 3px;

}


.section-heading h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(34px, 4vw, 52px);

    line-height: 1.1;

}


.section-heading p {

    max-width: 430px;

    color: var(--text-light);

    font-size: 15px;

}


/* =========================================================
   CATEGORÍAS
========================================================= */

.category-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}


.category-card {

    padding: 35px;

    background:
        var(--white);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    transition: var(--transition);

}


.category-card:hover {

    transform:
        translateY(-7px);

    box-shadow:
        var(--shadow-hover);

}


.category-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 25px;

    border-radius: 14px;

    background: var(--cream);

    font-size: 25px;

}


.category-card h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 25px;

    margin-bottom: 10px;

}


.category-card p {

    color: var(--text-light);

    font-size: 14px;

    margin-bottom: 25px;

}


.category-card > span {

    font-size: 13px;

    font-weight: 700;

}


/* =========================================================
   PRODUCTOS
========================================================= */

.products-section {

    padding:
        110px 0;

    background:
        var(--white);

}


.product-category {

    margin-bottom: 80px;

}


.category-title {

    display: flex;

    align-items: center;

    gap: 20px;

    margin-bottom: 25px;

    padding-bottom: 15px;

    border-bottom:
        1px solid var(--border);

}


.category-title h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 32px;

}


.category-title span {

    color: var(--text-light);

    font-size: 13px;

}


.product-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;

}


/* =========================================================
   TARJETA PRODUCTO
========================================================= */

.product-card {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius);

    background:
        var(--white);

    transition: var(--transition);

}


.product-card:hover {

    transform:
        translateY(-6px);

    box-shadow:
        var(--shadow-hover);

}


/* IMAGEN */

.product-image {

    position: relative;

    width: 100%;

    /* Relación 2:3 igual que tus imágenes 1024x1536 */
    aspect-ratio: 2 / 3;

    overflow: hidden;

    background: #f2efe9;

}

.product-image img {

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    padding: 0;

    transition:
        transform 0.4s ease;

}


.product-card:hover
.product-image img {

    transform: scale(1.03);

}

.product-badge {

    position: absolute;

    z-index: 2;

    top: 15px;

    left: 15px;

    padding:
        6px 10px;

    border-radius: 50px;

    background: var(--dark);

    color: var(--white);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: 1px;

}


/* CONTENIDO */

.product-content {

    padding: 25px;

}


.product-category-label {

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 2px;

    color: #8a8278;

}


.product-content h3 {

    font-family:
        "Playfair Display",
        serif;

    font-size: 24px;

    margin:
        6px 0 8px;

}


.product-description {

    color: var(--text-light);

    font-size: 13px;

    margin-bottom: 20px;

}


/* CARACTERÍSTICAS */

.specs {

    list-style: none;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    padding:
        15px 0;

    margin-bottom: 22px;

}


.specs li {

    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 5px 0;

    color: var(--text-light);

    font-size: 12px;

}


.specs strong {

    color: var(--text);

    font-weight: 600;

}


/* PRECIO */

.product-bottom {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 15px;

}


.price {

    display: flex;

    flex-direction: column;

}


.price small {

    color: var(--text-light);

    font-size: 10px;

}


.price strong {

    font-size: 22px;

    font-weight: 700;

}


/* BOTÓN PRODUCTO */

.btn-product {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 42px;

    padding:
        0 18px;

    border-radius: 50px;

    background: var(--dark);

    color: var(--white);

    font-size: 12px;

    font-weight: 600;

    transition: var(--transition);

}


.btn-product:hover {

    background:
        var(--dark-3);

    transform:
        translateY(-2px);

}


/* =========================================================
   SERVICIO TÉCNICO
========================================================= */

.service-section {

    padding:
        110px 0;

    background:
        var(--dark);

    color: var(--white);

}


.service-container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;

}


.service-text h2 {

    max-width: 550px;

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(40px, 5vw, 62px);

    line-height: 1.08;

    margin-bottom: 22px;

}


.service-text p {

    max-width: 500px;

    color: #c4bdb3;

    margin-bottom: 30px;

}


.service-list {

    border-top:
        1px solid rgba(255,255,255,0.15);

}


.service-item {

    display: grid;

    grid-template-columns:
        60px 1fr;

    gap: 20px;

    padding:
        25px 0;

    border-bottom:
        1px solid rgba(255,255,255,0.15);

}


.service-item > span {

    color: var(--accent);

    font-family:
        "Playfair Display",
        serif;

    font-size: 20px;

}


.service-item h3 {

    font-size: 17px;

    margin-bottom: 4px;

}


.service-item p {

    color: #aaa39a;

    font-size: 13px;

}


/* =========================================================
   CONTACTO
========================================================= */

.contact-section {

    padding:
        110px 0;

    background:
        var(--cream);

}


.contact-box {

    position: relative;

    overflow: hidden;

    padding:
        75px;

    border-radius:
        30px;

    background:
        var(--white);

    box-shadow:
        var(--shadow);

}


.contact-box::after {

    content: "MG";

    position: absolute;

    right: -40px;

    bottom: -80px;

    font-family:
        "Playfair Display",
        serif;

    font-size: 280px;

    line-height: 1;

    color:
        rgba(41,38,33,0.035);

}


.contact-content {

    position: relative;

    z-index: 2;

}


.contact-content h2 {

    font-family:
        "Playfair Display",
        serif;

    font-size:
        clamp(38px, 5vw, 58px);

    margin-bottom: 15px;

}


.contact-content > p {

    color: var(--text-light);

    margin-bottom: 35px;

}


/* BOTONES CONTACTO */

.contact-buttons {

    display: flex;

    gap: 15px;

    flex-wrap: wrap;

}


.contact-btn {

    display: flex;

    align-items: center;

    gap: 14px;

    min-width: 190px;

    padding:
        14px 20px;

    border-radius: 12px;

    transition: var(--transition);

}


.contact-btn:hover {

    transform:
        translateY(-3px);

}


.contact-btn > i {
    font-size: 28px;
    flex-shrink: 0;
}


.contact-btn div {

    display: flex;

    flex-direction: column;

}


.contact-btn small {

    font-size: 10px;

    opacity: 0.7;

}


.contact-btn strong {

    font-size: 14px;

}


.whatsapp {

    background:
        var(--whatsapp);

    color: var(--white);

}


.whatsapp:hover {

    background:
        var(--whatsapp-dark);

}


.instagram {

    background:
        var(--dark);

    color: var(--white);

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

    padding:
        45px 0;

    background:
        #211f1c;

    color: var(--white);

}


.footer-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    flex-wrap: wrap;

}


.footer-brand {

    display: flex;

    align-items: center;

    gap: 12px;

}


.footer-brand img {

    width: 50px;

    height: 50px;

    border-radius: 50%;

}


.footer-brand div {

    display: flex;

    flex-direction: column;

}


.footer-brand strong {

    font-family:
        "Playfair Display",
        serif;

    font-size: 16px;

}


.footer-brand span {

    color: #aaa39a;

    font-size: 10px;

    letter-spacing: 1px;

}


.footer-links {

    display: flex;

    gap: 25px;

}


.footer-links a {

    color: #aaa39a;

    font-size: 12px;

    transition: var(--transition);

}


.footer-links a:hover {

    color: var(--white);

}


.copyright {

    width: 100%;

    padding-top: 25px;

    border-top:
        1px solid rgba(255,255,255,0.1);

    color: #77716a;

    font-size: 11px;

}


/* =========================================================
   WHATSAPP FLOTANTE
========================================================= */

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #25D366;
    color: white;

    border-radius: 50%;

    font-size: 34px;
    line-height: 1;

    text-decoration: none;

    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.20);

    z-index: 9999;

    transition: transform 0.2s ease;
}

.floating-whatsapp:hover {
    transform: scale(1.08);
}

.floating-whatsapp i {
    font-size: 34px;
}


/* =========================================================
   RESPONSIVE - TABLET
========================================================= */

@media (max-width: 950px) {

    .nav {

        display: none;

    }


    .hero-content {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .hero {

        padding:
            90px 0;

    }


    .hero-card {

        display: none;

    }


    .category-grid {

          grid-template-columns:
            repeat(2, 1fr);

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .service-container {

        grid-template-columns: 1fr;

        gap: 50px;

    }

}


/* =========================================================
   RESPONSIVE - CELULAR
========================================================= */

@media (max-width: 650px) {

    .container {

        width:
            min(100% - 28px, 1180px);

    }


    .header {

        position: relative;

    }


    .nav-container {

        min-height: 70px;

    }


    .brand-text span {

        font-size: 15px;

    }


    .brand-text small {

        font-size: 7px;

    }


    .brand-logo {

        width: 45px;

        height: 45px;

    }


    .nav-whatsapp {

        padding:
            9px 13px;

        font-size: 11px;

    }


    .hero {

        min-height: 600px;

        padding:
            75px 0;

    }


    .hero h1 {

        font-size:
            clamp(42px, 13vw, 65px);

    }


    .hero p {

        font-size: 15px;

    }


    .hero-buttons {

        flex-direction: column;

        align-items: stretch;

    }


    .hero-buttons .btn {

        width: 100%;

    }


    .categories,
    .products-section,
    .service-section,
    .contact-section {

        padding:
            75px 0;

    }


    .section-heading {

        display: block;

        margin-bottom: 35px;

    }


    .section-heading p {

        margin-top: 15px;

    }


    .category-grid {

       grid-template-columns: 1fr;

    }


    .product-grid {

        grid-template-columns: 1fr;

    }


    .category-title {

        align-items: flex-start;

        flex-direction: column;

        gap: 4px;

    }


    .category-title h3 {

        font-size: 28px;

    }


    .product-image {

        height: 230px;

    }


    .product-content {

        padding: 20px;

    }


    .specs li {

        font-size: 11px;

    }


    .product-bottom {

        align-items: stretch;

        flex-direction: column;

    }


    .btn-product {

        width: 100%;

    }


    .contact-box {

        padding:
            40px 25px;

    }


    .contact-buttons {

        flex-direction: column;

    }


    .contact-btn {

        width: 100%;

    }


    .footer-container {

        flex-direction: column;

        align-items: flex-start;

    }


    .footer-links {

        flex-wrap: wrap;

        gap: 15px;

    }


    .floating-whatsapp {

        width: 53px;

        height: 53px;

        right: 18px;

        bottom: 18px;

    }

}


/* =========================================================
   CONSOLA — MISMO TAMAÑO QUE LAS DEMÁS TARJETAS
========================================================= */

#consolas .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

#consolas .product-card {
    width: 100%;
    max-width: none;
}

/* Imagen pegada a los bordes de la tarjeta */
#consolas .product-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #f2efe9;
}

#consolas .product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    padding: 0;
    margin: 0;
}

/* TABLET */
@media (max-width: 1000px) {
    #consolas .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CELULAR */
@media (max-width: 650px) {
    #consolas .product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   RESPONSIVE PLUS — AJUSTES COMPLETOS
   Mantiene el diseño de escritorio y mejora tablet/móvil.
========================================================= */

/* Evita desbordes accidentales */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

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

/* El botón móvil no existe visualmente en escritorio */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    flex-shrink: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 10px;
    background: var(--dark);
    transition: transform .25s ease, opacity .25s ease;
}

.menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Pantallas medianas */
@media (max-width: 1100px) {
    .nav-container {
        gap: 18px;
    }

    .nav {
        gap: 20px;
    }

    .nav a {
        font-size: 13px;
    }

    .hero-content {
        gap: 50px;
    }

    .category-card {
        padding: 28px;
    }

    .product-grid {
        gap: 20px;
    }

    .product-content {
        padding: 22px;
    }

    .service-container {
        gap: 60px;
    }
}

/* Tablet: navegación desplegable */
@media (max-width: 950px) {
    .nav-container {
        position: relative;
    }

    .menu-toggle {
        display: flex;
        margin-left: auto;
        position: relative;
        z-index: 1002;
    }

    .nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(14px);
        border: 1px solid rgba(41, 38, 33, 0.08);
        border-top: 0;
        border-radius: 0 0 18px 18px;
        box-shadow: 0 18px 35px rgba(41, 38, 33, 0.10);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-8px);
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease, visibility .25s ease;
        z-index: 1001;
    }

    .nav.is-open {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    .nav a {
        width: 100%;
        padding: 13px 14px;
        border-radius: 10px;
        font-size: 14px;
    }

    .nav a:hover {
        background: var(--cream);
    }

    .nav a::after {
        display: none;
    }

    .hero {
        min-height: auto;
        padding: 90px 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .hero-text {
        max-width: 760px;
    }

    .hero-card {
        display: flex;
        max-width: 360px;
        width: 100%;
        margin: 0 auto;
        padding: 30px;
    }

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

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

    .service-container {
        grid-template-columns: 1fr;
        gap: 55px;
    }

    .contact-box {
        padding: 55px;
    }
}

/* Móvil grande / tablet pequeña */
@media (max-width: 700px) {
    .container {
        width: min(100% - 32px, 1180px);
    }

    .nav-container {
        min-height: 68px;
    }

    .brand {
        min-width: 0;
    }

    .brand-logo {
        width: 44px;
        height: 44px;
    }

    .brand-text {
        min-width: 0;
    }

    .brand-text span {
        font-size: 15px;
        white-space: nowrap;
    }

    .brand-text small {
        font-size: 7px;
        letter-spacing: 1.5px;
    }

    .hero {
        padding: 72px 0 78px;
    }

    .hero h1 {
        font-size: clamp(40px, 12vw, 62px);
    }

    .hero p {
        font-size: 15px;
    }

    .hero-card {
        display: none;
    }

    .categories,
    .products-section,
    .service-section,
    .contact-section {
        padding: 78px 0;
    }

    .section-heading {
        display: block;
        margin-bottom: 36px;
    }

    .section-heading p {
        margin-top: 15px;
    }

    .category-grid,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .category-card {
        padding: 28px;
    }

    .category-title {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .product-image {
        aspect-ratio: 16 / 10;
        height: auto;
    }

    .product-image img {
        object-fit: contain;
    }

    /* La consola conserva su proporción original */
    #consolas .product-image {
        aspect-ratio: auto;
        height: auto;
    }

    .product-content {
        padding: 20px;
    }

    .product-description {
        font-size: 13px;
    }

    .specs li {
        align-items: flex-start;
        font-size: 12px;
    }

    .specs li strong {
        flex: 0 0 auto;
    }

    .product-bottom {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-product {
        width: 100%;
    }

    .contact-box {
        padding: 38px 24px;
        border-radius: 24px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .contact-btn {
        width: 100%;
        min-width: 0;
    }

    .footer-container {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 14px 20px;
    }

    .floating-whatsapp {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }

    .floating-whatsapp i {
        font-size: 30px;
    }
}

/* Móvil chico */
@media (max-width: 480px) {
    .container {
        width: calc(100% - 24px);
    }

    .nav-container {
        min-height: 64px;
    }

    .brand {
        gap: 9px;
    }

    .brand-logo {
        width: 40px;
        height: 40px;
    }

    .brand-text span {
        font-size: 13px;
        letter-spacing: .7px;
    }

    .brand-text small {
        font-size: 6px;
        letter-spacing: 1.2px;
    }

    .menu-toggle {
        width: 42px;
        height: 42px;
    }

    .hero {
        padding: 60px 0 68px;
    }

    .hero-label {
        font-size: 10px;
        letter-spacing: 3px;
    }

    .hero h1 {
        font-size: clamp(38px, 13vw, 54px);
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .categories,
    .products-section,
    .service-section,
    .contact-section {
        padding: 62px 0;
    }

    .section-heading h2 {
        font-size: clamp(30px, 9vw, 42px);
    }

    .category-card {
        padding: 24px;
    }

    .category-icon {
        margin-bottom: 18px;
    }

    .category-card h3 {
        font-size: 23px;
    }

    .category-title h3 {
        font-size: 27px;
    }

    .product-content h3 {
        font-size: 22px;
    }

    .product-image {
        aspect-ratio: 4 / 3;
    }

    .price strong {
        font-size: 21px;
        overflow-wrap: anywhere;
    }

    .service-item {
        grid-template-columns: 42px 1fr;
        gap: 14px;
    }

    .service-item > span {
        font-size: 18px;
    }

    .contact-box {
        padding: 32px 20px;
    }

    .contact-content h2 {
        font-size: clamp(32px, 10vw, 46px);
    }

    .contact-btn {
        padding: 13px 16px;
    }

    .footer {
        padding: 38px 0;
    }
}

/* Móviles extremadamente angostos */
@media (max-width: 360px) {
    .brand-text span {
        font-size: 12px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .category-card,
    .product-content {
        padding: 20px;
    }

    .specs li {
        flex-direction: column;
        gap: 1px;
    }
}

/* Respeto por usuarios que reducen animaciones */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* =========================================================
   NOTEBOOKS + PC — MISMO RESPONSIVE QUE CONSOLAS
========================================================= */

/* Misma distribución de columnas que Consolas */
#notebooks .product-grid,
#pcs .product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

#notebooks .product-card,
#pcs .product-card {
    width: 100%;
    max-width: none;
}

/* Misma gestión de imagen que Consolas:
   la imagen conserva su proporción y nunca se recorta */
#notebooks .product-image,
#pcs .product-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #f2efe9;
}

#notebooks .product-image img,
#pcs .product-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    padding: 0;
    margin: 0;
}

/* TABLET — exactamente como Consolas */
@media (max-width: 1000px) {
    #notebooks .product-grid,
    #pcs .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CELULAR — exactamente como Consolas */
@media (max-width: 650px) {
    #notebooks .product-grid,
    #pcs .product-grid {
        grid-template-columns: 1fr;
    }

    #notebooks .product-image,
    #pcs .product-image {
        height: auto;
        aspect-ratio: auto;
    }
}
