
/* =========================================
   ZYNOVA - TECHNOLOGY STORE
   DISEÑO GENERAL
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    color: #263548;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

ul {
    list-style: none;
}

button,
input {
    font: inherit;
}

:root {
    --azul: #0756a5;
    --azul-oscuro: #073568;
    --cian: #00bce4;
    --azul-claro: #eaf8ff;
    --blanco: #ffffff;
    --gris: #f4f7fa;
    --texto: #263548;
}


/* =========================================
   ENCABEZADO
========================================= */

.header {
    background-color: var(--blanco);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0, 40, 90, 0.10);
}

.top-header {
    max-width: 1250px;
    margin: auto;
    padding: 16px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--azul-oscuro);
    font-size: 27px;
    font-weight: 900;
    letter-spacing: 2px;
}

.logo-icon {
    color: var(--cian);
    font-size: 30px;
}

.search-box {
    display: flex;
    align-items: center;
    background-color: var(--gris);
    border: 1px solid #d8e6f1;
    border-radius: 25px;
    padding: 5px 15px;
    width: 45%;
}

.search-box input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 10px;
    color: var(--texto);
}

.search-box span {
    font-size: 21px;
}

.header-icons {
    display: flex;
    gap: 20px;
    font-size: 25px;
}

.header-icons a:hover {
    color: var(--cian);
}


/* =========================================
   MENU DE NAVEGACION
========================================= */

.main-nav {
    background-color: var(--azul-oscuro);
}

.main-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 45px;
    padding: 12px;
}

.main-nav a {
    color: var(--blanco);
    font-weight: bold;
    transition: 0.3s;
}

.main-nav a:hover {
    color: var(--cian);
}


/* =========================================
   BANNER PRINCIPAL
========================================= */

.hero {
    background: linear-gradient(120deg, #073568, #0876bd, #00bce4);
    padding: 55px 6%;
    color: var(--blanco);
}

.hero-content {
    max-width: 1250px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
}

.hero-label {
    display: inline-block;
    color: #a8f1ff;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.hero-text h1 {
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 17px;
    margin-bottom: 25px;
    color: #e5f7ff;
}

.hero-image img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.btn-primary {
    display: inline-block;
    background-color: var(--cian);
    color: var(--azul-oscuro);
    padding: 13px 25px;
    border-radius: 25px;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary:hover {
    background-color: var(--blanco);
    transform: translateY(-3px);
}


/* =========================================
   BENEFICIOS RAPIDOS
========================================= */

.quick-benefits {
    max-width: 1200px;
    margin: 25px auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.quick-benefit {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: var(--azul-claro);
    padding: 18px;
    border-radius: 12px;
}

.quick-benefit span {
    font-size: 30px;
}

.quick-benefit h3 {
    color: var(--azul);
    font-size: 17px;
}

.quick-benefit p {
    font-size: 13px;
    color: #657487;
}


/* =========================================
   SECCIONES GENERALES
========================================= */

.section {
    padding: 55px 6%;
}

.section-heading {
    text-align: center;
    margin-bottom: 35px;
}

.section-heading span {
    color: var(--cian);
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 2px;
}

.section-heading h2 {
    color: var(--azul-oscuro);
    font-size: 32px;
    margin: 8px 0;
}

.section-heading p {
    color: #718096;
}


/* =========================================
   CATEGORIAS
========================================= */

.categories-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
}

.category-card {
    text-align: center;
    background-color: var(--blanco);
    border: 1px solid #e3edf5;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0, 55, 110, 0.08);
    transition: 0.3s;
}

.category-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 25px rgba(0, 90, 160, 0.15);
}

.category-image {
    background-color: var(--azul-claro);
    border-radius: 50%;
    width: 145px;
    height: 145px;
    margin: auto;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-card h3 {
    color: var(--azul-oscuro);
    margin-top: 12px;
}


/* =========================================
   OFERTAS
========================================= */

.special-offers {
    background-color: var(--gris);
}

.offers-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 22px;
}

.offer-card {
    background-color: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 50, 100, 0.10);
    transition: 0.3s;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.offer-card > img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.offer-info {
    padding: 20px;
}

.offer-badge {
    display: inline-block;
    background-color: var(--cian);
    color: var(--azul-oscuro);
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 10px;
}

.offer-info h3 {
    color: var(--azul-oscuro);
    margin-bottom: 8px;
}

.offer-info p {
    color: #718096;
    margin-bottom: 15px;
}

.offer-link {
    color: var(--azul);
    font-weight: bold;
}


/* =========================================
   ESTADISTICAS
========================================= */

.statistics {
    background: linear-gradient(100deg, #073568, #0876bd);
    padding: 35px 5%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    text-align: center;
    gap: 20px;
}

.stat-item h2 {
    color: var(--cian);
    font-size: 32px;
}

.stat-item p {
    color: var(--blanco);
    font-size: 14px;
}


/* =========================================
   PRODUCTOS DESTACADOS
========================================= */

.featured-products {
    background-color: var(--blanco);
}

.products-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 25px;
}

.product-card {
    background-color: var(--blanco);
    border: 1px solid #e0eaf3;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 18px rgba(0, 50, 100, 0.09);
    transition: 0.3s;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(0, 70, 140, 0.15);
}

.product-image {
    position: relative;
    background-color: var(--gris);
}

.product-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--cian);
    color: var(--azul-oscuro);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.product-info {
    padding: 20px;
}

.product-category {
    color: var(--cian);
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 1px;
}

.product-info h3 {
    color: var(--azul-oscuro);
    margin: 8px 0;
}

.product-info ul {
    padding-left: 18px;
    list-style: disc;
    color: #66768a;
    font-size: 13px;
    margin: 12px 0;
}

.product-price {
    color: var(--azul);
    font-size: 22px;
    font-weight: bold;
    margin: 15px 0;
}

.product-button {
    display: block;
    background-color: var(--azul);
    color: var(--blanco);
    text-align: center;
    padding: 11px;
    border-radius: 8px;
    font-weight: bold;
    transition: 0.3s;
}

.product-button:hover {
    background-color: var(--cian);
    color: var(--azul-oscuro);
}

.products-link {
    text-align: center;
    margin-top: 35px;
}


/* =========================================
   BENEFICIOS DE ZYNOVA
========================================= */

.benefits {
    background-color: var(--azul-claro);
}

.benefits-grid {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 20px;
}

.benefit-card {
    text-align: center;
    background-color: var(--blanco);
    padding: 25px 18px;
    border-radius: 14px;
    box-shadow: 0 4px 15px rgba(0, 50, 100, 0.07);
}

.benefit-card span {
    font-size: 35px;
}

.benefit-card h3 {
    color: var(--azul);
    margin: 10px 0;
}

.benefit-card p {
    color: #718096;
    font-size: 14px;
}


/* =========================================
   FORMULARIO DE SUSCRIPCION
========================================= */

.newsletter {
    background: linear-gradient(110deg, #073568, #0876bd, #00bce4);
    color: var(--blanco);
}

.newsletter-content {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 35px;
}

.newsletter-text > span {
    color: #a8f1ff;
    font-weight: bold;
    letter-spacing: 2px;
}

.newsletter-text h2 {
    font-size: 29px;
    margin: 10px 0;
}

.newsletter-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.newsletter-input {
    display: flex;
    gap: 8px;
}

.newsletter-input input {
    min-width: 0;
    flex: 1;
    padding: 13px;
    border: 2px solid transparent;
    border-radius: 8px;
    outline: none;
}

.newsletter-input input:focus {
    border-color: var(--cian);
    box-shadow: 0 0 0 3px rgba(0, 188, 228, 0.20);
}

.newsletter-input input:user-invalid {
    border-color: #e45b5b;
}

.newsletter-input button {
    background-color: var(--cian);
    color: var(--azul-oscuro);
    border: none;
    padding: 12px 18px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.newsletter-input button:hover {
    background-color: var(--blanco);
}


/* =========================================
   MENU INFERIOR PARA CELULARES
========================================= */

.mobile-nav {
    display: none;
}


/* =========================================
   PIE DE PAGINA
========================================= */

.footer {
    background-color: #061e3b;
    color: var(--blanco);
    padding: 45px 6% 0;
}

.footer-content {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
}

.footer-brand p {
    color: #c4d6e8;
    max-width: 350px;
    margin-top: 15px;
}

.footer-links h3,
.footer-contact h3 {
    color: var(--cian);
    margin-bottom: 15px;
}

.footer-links li {
    margin-bottom: 9px;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--cian);
}

.footer-contact p {
    margin-bottom: 10px;
}

.footer-bottom {
    border-top: 1px solid #28415e;
    text-align: center;
    padding: 18px;
    color: #c4d6e8;
    font-size: 13px;
}


/* =========================================
   DISEÑO RESPONSIVE - TABLETAS
========================================= */

@media (max-width: 900px) {

    .hero-content {
        grid-template-columns: 1fr 1fr;
    }

    .main-nav ul {
        gap: 25px;
    }

    .quick-benefits {
        grid-template-columns: repeat(2, 1fr);
    }

    .statistics {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

}


/* =========================================
   DISEÑO RESPONSIVE - CELULARES
========================================= */

@media (max-width: 600px) {

    .top-header {
        padding: 12px;
        gap: 10px;
        flex-wrap: wrap;
    }

    .logo {
        font-size: 21px;
    }

    .logo-icon {
        font-size: 24px;
    }

    .search-box {
        order: 3;
        width: 100%;
    }

    .header-icons {
        gap: 12px;
        font-size: 22px;
    }

    .main-nav ul {
        gap: 20px;
        overflow-x: auto;
        justify-content: flex-start;
        white-space: nowrap;
        padding: 12px 15px;
    }

    .hero {
        padding: 35px 20px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .hero-text h1 {
        font-size: 31px;
    }

    .hero-image img {
        height: 230px;
    }

    .quick-benefits {
        grid-template-columns: 1fr;
        margin: 18px auto;
    }

    .section {
        padding: 40px 16px;
    }

    .section-heading h2 {
        font-size: 25px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-image {
        width: 110px;
        height: 110px;
    }

    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .offer-card > img {
        height: 140px;
    }

    .offer-info {
        padding: 12px;
    }

    .offer-info h3 {
        font-size: 15px;
    }

    .offer-info p {
        font-size: 12px;
    }

    .statistics {
        grid-template-columns: repeat(2, 1fr);
        padding: 25px 12px;
    }

    .stat-item h2 {
        font-size: 26px;
    }

    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .product-image img {
        height: 145px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 15px;
    }

    .product-info ul {
        font-size: 11px;
        padding-left: 15px;
    }

    .product-price {
        font-size: 17px;
    }

    .product-button {
        font-size: 12px;
    }

    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .benefit-card {
        padding: 16px 10px;
    }

    .newsletter-content {
        grid-template-columns: 1fr;
    }

    .newsletter-text h2 {
        font-size: 24px;
    }

    .newsletter-input {
        flex-direction: column;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer {
        padding: 35px 20px 0;
        padding-bottom: 75px;
    }

    .mobile-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        justify-content: space-around;
        background-color: var(--blanco);
        box-shadow: 0 -3px 15px rgba(0, 40, 90, 0.12);
        padding: 9px 5px;
        z-index: 2000;
    }

    .mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
        color: var(--azul-oscuro);
    }

    .mobile-nav span {
        font-size: 23px;
    }

    .mobile-nav small {
        font-size: 11px;
    }

}

/* ==========================================
   ZYNOVA - OFERTAS DISEÑO PREMIUM
========================================== */

.offers-hero {
    max-width: 1400px;
    margin: 25px auto;
    min-height: 340px;
    padding: 65px 7%;
    border-radius: 0;
    background:
        radial-gradient(circle at 85% 20%, rgba(0, 220, 255, .35), transparent 30%),
        linear-gradient(120deg, #062b58, #0878bd 65%, #00bde0);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.offers-hero-content {
    max-width: 650px;
}

.offers-label {
    display: inline-block;
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.35);
    padding: 9px 16px;
    border-radius: 30px;
    font-size: 12px;
    letter-spacing: 2px;
}

.offers-hero h1 {
    font-size: clamp(34px, 5vw, 54px);
    font-weight: 800;
    line-height: 1.12;
    margin: 22px 0 15px;
}

.offers-hero p {
    color: #e4f7ff;
    max-width: 520px;
    font-size: 16px;
    line-height: 1.8;
}

.offers-hero-icon {
    font-size: 145px;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,.2));
}

.offers-button {
    margin-top: 12px;
    display: inline-block;
    background: white;
    color: #0756a5;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 800;
    transition: .3s ease;
}

.offers-button:hover {
    background: #00d2f0;
    color: #063568;
    transform: translateY(-3px);
}

/* TARJETAS DE PROMOCIONES */

.promo-grid {
    max-width: 1250px;
    margin: 35px auto 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 25px;
}

.promo-card {
    background: white;
    border: 1px solid #e5edf5;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(7, 54, 104, .08);
    transition: transform .3s ease, box-shadow .3s ease;
}

.promo-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 35px rgba(7, 86, 165, .16);
}

.promo-image {
    height: 235px;
    position: relative;
    overflow: hidden;
    background: #eaf8ff;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.promo-card:hover .promo-image img {
    transform: scale(1.06);
}

.promo-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: #00bce4;
    color: #063568;
    padding: 9px 14px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .5px;
    box-shadow: 0 4px 12px rgba(0,0,0,.12);
}

.promo-info {
    padding: 23px;
}

.promo-category {
    color: #009dc7;
    font-size: 11px;
    letter-spacing: 1.5px;
    font-weight: 800;
}

.promo-info h3 {
    color: #092f59;
    font-size: 21px;
    margin: 10px 0;
}

.promo-info p {
    color: #718096;
    font-size: 14px;
    line-height: 1.7;
    min-height: 70px;
}

.promo-prices {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    margin: 18px 0;
}

.promo-prices s {
    color: #9aa8b7;
    font-size: 14px;
}

.promo-prices strong {
    color: #0879bd;
    font-size: 23px;
}

.promo-info .product-button {
    border-radius: 8px;
    padding: 13px;
    background: #0756a5;
}

.promo-info .product-button:hover {
    background: #00bce4;
    color: #063568;
}

/* TABLA COMPARATIVA */

.comparison-section {
    background: #f4faff;
}

.comparison-wrap {
    max-width: 1150px;
    margin: 30px auto;
    background: white;
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: 0 8px 25px rgba(7, 54, 104, .08);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 700px;
}

.comparison-table caption {
    padding: 22px;
    color: #0756a5;
    font-size: 18px;
    font-weight: 800;
}

.comparison-table th,
.comparison-table td {
    padding: 18px 16px;
    border-bottom: 1px solid #e6eef5;
}

.comparison-table thead {
    background: #0756a5;
    color: white;
}

.comparison-table tbody th {
    color: #0756a5;
    font-weight: 700;
}

.comparison-table tbody tr:nth-child(even) {
    background: #f0faff;
}

.comparison-table tbody tr:hover {
    background: #dff7ff;
}

.comparison-note {
    text-align: center;
    color: #718096;
    font-size: 12px;
}

/* PREGUNTAS FRECUENTES */

.faq-section {
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 35px auto 0;
}

.faq-item {
    background: #f7fbff;
    border: 1px solid #e1edf6;
    border-radius: 12px;
    padding: 20px 23px;
    margin-bottom: 15px;
    transition: .3s ease;
}

.faq-item:hover {
    border-color: #00bce4;
    box-shadow: 0 5px 18px rgba(0, 120, 190, .08);
}

.faq-item summary {
    color: #073568;
    font-weight: 800;
    font-size: 15px;
    cursor: pointer;
    list-style: none;
}

.faq-item summary::after {
    content: "+";
    float: right;
    color: #00a9d2;
    font-size: 22px;
}

.faq-item[open] summary::after {
    content: "−";
}

.faq-item p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
    margin-top: 15px;
    padding-top: 13px;
    border-top: 1px solid #e1edf6;
}

/* ADAPTACIÓN A CELULARES */

@media (max-width: 850px) {
    .promo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .offers-hero {
        padding: 40px 22px;
        min-height: auto;
    }

    .offers-hero-icon {
        display: none;
    }

    .offers-hero h1 {
        font-size: 34px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
    }

    .promo-image {
        height: 240px;
    }

    .promo-info p {
        min-height: auto;
    }

    .faq-item {
        padding: 17px;
    }
}

/* =================================
   ZYNOVA - DISEÑO PROFESIONAL CONTACTO
================================= */

.contact-banner {
    background: linear-gradient(120deg, #071c46, #087fc1, #12bdd5);
    color: white;
    padding: 75px 8%;
}

.contact-banner div {
    max-width: 1100px;
    margin: auto;
}

.contact-banner span {
    color: #8af2ff;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 2px;
}

.contact-banner h1 {
    font-size: clamp(36px, 5vw, 58px);
    margin: 20px 0;
}

.contact-banner p {
    max-width: 600px;
    line-height: 1.8;
    color: #e5f7ff;
}

.contact-container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 22px;
}

.contact-heading {
    text-align: center;
    margin-bottom: 35px;
}

.contact-heading h2,
.location-heading h2 {
    color: #102d59;
    font-size: 30px;
}

.contact-heading p,
.location-heading p {
    color: #718096;
    margin-top: 10px;
}

.contact-columns {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 28px;
    align-items: stretch;
}

.contact-form,
.contact-details {
    padding: 32px;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(16,45,89,.09);
}

.contact-form {
    background: white;
    border: 1px solid #e1edf7;
}

.contact-form h2 {
    color: #102d59;
    margin-bottom: 24px;
}

.contact-form form > label:not(.check-option) {
    display: block;
    margin: 17px 0 8px;
    color: #18365e;
    font-weight: 600;
}

.contact-form input:not([type="radio"]):not([type="checkbox"]),
.contact-form select,
.contact-form textarea {
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 14px;
    border: 1px solid #d5e3f1;
    border-radius: 10px;
    background: #f8fbff;
    font: inherit;
    color: #18365e;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #08a9d1;
    box-shadow: 0 0 0 3px rgba(8,169,209,.12);
}

.contact-form fieldset {
    border: none;
    margin: 22px 0;
    padding: 0;
}

.contact-form legend {
    color: #18365e;
    font-weight: bold;
    margin-bottom: 12px;
}

.contact-form .radio-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 8px 12px 8px 0;
    color: #52647c;
}

.contact-form .check-option {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 20px 0;
    color: #52647c;
    font-size: 13px;
    line-height: 1.6;
}

.contact-form input[type="radio"],
.contact-form input[type="checkbox"] {
    accent-color: #079fce;
}

.contact-form textarea {
    resize: vertical;
}

.contact-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(110deg, #087fc1, #12bdd5);
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: .3s;
}

.contact-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(8,127,193,.25);
}

.contact-details {
    background: linear-gradient(145deg, #09234f, #0876ad);
    color: white;
}

.contact-details h2 {
    color: white;
    margin: 18px 0 12px;
}

.contact-details .details-label {
    color: #8af2ff;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 2px;
}

.details-description {
    color: #d5eafa;
    line-height: 1.7;
    margin-bottom: 20px;
}

.detail-item {
    display: flex;
    gap: 15px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255,255,255,.17);
}

.detail-item > span {
    display: grid;
    place-items: center;
    min-width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(80,220,255,.18);
    color: #8af2ff;
    font-size: 22px;
}

.detail-item h3 {
    margin-bottom: 6px;
    font-size: 15px;
}

.detail-item p {
    color: #d5eafa;
    font-size: 14px;
    line-height: 1.6;
}

.location-section {
    margin-top: 70px;
}

.location-heading {
    text-align: center;
    margin-bottom: 25px;
}

.location-heading span {
    color: #079fce;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 12px;
}

.location-card {
    text-align: center;
    padding: 45px 20px;
    border: 1px solid #dcebf6;
    border-radius: 20px;
    background: linear-gradient(135deg, #eaf7ff, #f8fcff);
    box-shadow: 0 10px 25px rgba(16,45,89,.06);
}

.location-pin {
    font-size: 42px;
}

.location-card h3 {
    color: #102d59;
    font-size: 25px;
    margin: 12px 0;
}

.location-card p {
    color: #52647c;
    margin: 8px 0;
}

.location-card a {
    display: inline-block;
    margin-top: 20px;
    padding: 13px 22px;
    border-radius: 9px;
    background: #087fc1;
    color: white;
    text-decoration: none;
}

.location-card a:hover {
    background: #075e96;
}

@media (max-width: 800px) {
    .contact-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 550px) {
    .contact-banner {
        padding: 55px 22px;
    }

    .contact-container {
        padding: 40px 15px;
    }

    .contact-form,
    .contact-details {
        padding: 22px;
    }

    .contact-form .radio-option {
        display: flex;
    }
}

/* =========================================
   RETO 1: PRODUCTO DEL MES
========================================= */

.product-month {
    grid-column: span 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    border: 2px solid #00bce4;
    background: #f0faff;
    overflow: hidden;
}

.product-month .product-image {
    height: 100%;
}

.product-month .product-image img {
    width: 100%;
    height: 100%;
    min-height: 280px;
    object-fit: cover;
}

.product-month .product-info {
    padding: 30px;
}

/* =========================================
   RETO 2: PRODUCTO AGOTADO
========================================= */

.product-sold-out .product-image {
    position: relative;
}

.product-sold-out .product-image img {
    filter: grayscale(100%);
    opacity: 0.75;
}

.sold-out-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
    background: #555;
    color: white;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
}

/* =========================================
   RETO 3: AJUSTE PARA CELULARES
========================================= */

@media (max-width: 600px) {
    .product-month {
        grid-column: 1 / -1;
        grid-template-columns: 1fr;
    }

    .product-month .product-image img {
        min-height: 200px;
        height: 200px;
    }

    .product-month .product-info {
        padding: 20px;
    }
}

/* =========================================
   RETO 4: MODO OSCURO
========================================= */

@media (prefers-color-scheme: dark) {

    body {
        background-color: #121820;
        color: #f1f5f9;
    }

    .header,
    .top-header,
    .main-nav,
    .footer {
        background-color: #17212b;
        color: #ffffff;
    }

    .section,
    .catalog-section,
    .product-card,
    .newsletter {
        background-color: #1e2935;
        color: #ffffff;
    }

    .product-month {
        background-color: #18313d;
        border-color: #00bce4;
    }

    .product-category {
        color: #a9bac9;
    }

    .product-price {
        color: #36d5f5;
    }

    .main-nav a,
    .footer a {
        color: #e2e8f0;
    }

    input,
    select,
    textarea {
        background-color: #263442;
        color: #ffffff;
        border-color: #526477;
    }

    input::placeholder,
    textarea::placeholder {
        color: #bdc9d5;
    }

    .section-heading,
    .newsletter-text,
    .footer-content {
        color: #ffffff;
    }
}

/* CORREGIR VISIBILIDAD DE LA TABLA DE OFERTAS */

table {
    background-color: #ffffff;
    color: #183b68;
}

table th {
    color: #ffffff;
}

table td {
    color: #183b68 !important;
    background-color: #ffffff;
    font-weight: 500;
}

table tbody tr:nth-child(even) td {
    background-color: #eaf8fc;
}

table tbody tr:hover td {
    color: #12345a !important;
}
