:root {
    --primary-color: #000000;
    --secondary-color: #e3000f;
    /* Rojo estilo oferta */
    --gold-color: #bfa15f;
    --bg-light: #f8f9fa;
    --text-dark: #333333;
    --text-light: #777777;
    --border-color: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    scroll-padding-top: 110px;
}

body {
    color: var(--text-dark);
    background-color: #ffffff;
    overflow-x: hidden;
    padding-top: 110px;
}

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

ul {
    list-style: none;
}

/* ===== MOBILE DRAWER ===== */
.drawer-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 998;
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.drawer-overlay.open {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: #0a0a0a;
    z-index: 999;
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}
.mobile-drawer.open {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px;
    border-bottom: 1px solid #222;
}

.drawer-close {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    transition: background 0.2s;
}
.drawer-close:hover {
    background: #222;
}

.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 20px 0;
    flex: 1;
}
.drawer-nav a {
    color: white;
    font-size: 17px;
    font-weight: 600;
    padding: 16px 28px;
    border-bottom: 1px solid #1a1a1a;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.2s, color 0.2s;
    letter-spacing: 0.3px;
}
.drawer-nav a i {
    color: var(--gold-color);
    width: 20px;
    text-align: center;
}
.drawer-nav a:hover {
    background: #1a1a1a;
    color: var(--gold-color);
}

.drawer-social {
    padding: 25px 28px;
    display: flex;
    gap: 20px;
    border-top: 1px solid #222;
}
.drawer-social a {
    color: #999;
    font-size: 20px;
    transition: color 0.2s;
}
.drawer-social a:hover {
    color: var(--gold-color);
}


/* Main Header */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 40px;
    background-color: #ffffff;
    color: var(--primary-color);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05); /* Sombra suave para separar del contenido */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

@media (min-width: 1025px) {
    .main-header .logo-container {
        margin-left: 40px; /* Desplaza el logo hacia la derecha en pantallas grandes */
    }
}

.logo-container img {
    height: 80px;
}

.logo-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--gold-color);
    letter-spacing: -1px;
}

.search-bar {
    flex: 1;
    max-width: 500px;
    position: relative;
    margin: 0 30px;
}

.search-bar input {
    width: 100%;
    padding: 12px 20px;
    border: none;
    background-color: #333;
    color: white;
    border-radius: 4px;
    outline: none;
}

.search-bar i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.header-actions .action-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Navigation */
.main-nav {
    display: flex;
    justify-content: center;
    flex: 1;
    gap: 40px;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
}

.main-nav a:hover {
    color: var(--gold-color);
}

/* Promo Strip */
.promo-strip {
    background-color: #1a2530;
    /* Dark blue/gray */
    color: white;
    padding: 10px 0;
    font-size: 13px;
}

.promo-strip .highlight {
    color: var(--gold-color);
    font-weight: bold;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 500px;
    background: url('../img/portada.png') center/cover;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 10%;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Eliminamos el gradiente blanco para que la foto se vea 100% normal y nítida */
    background: transparent;
}

.hero-panel {
    position: relative;
    /* Fondo semitransparente con efecto cristal (glassmorphism) */
    background-color: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-color);
    padding: 60px 50px;
    max-width: 500px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.hero-panel h1 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;
    color: #333;
}

.hero-panel h1 span {
    font-family: 'Brush Script MT', cursive;
    font-size: 70px;
    font-weight: normal;
    text-transform: lowercase;
    display: block;
    margin-top: 0;
    line-height: 0.9;
    color: var(--gold-color);
    position: relative;
    z-index: 1;
}

.hero-panel p {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.5;
    color: #666;
}

.btn-hero {
    display: inline-block;
    background-color: var(--gold-color);
    color: white;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-hero:hover {
    background-color: #a4874b;
    transform: translateY(-2px);
}

/* Oculto en escritorio, visible solo en móvil via media query */
.hero-image-mobile {
    display: none;
}

.hero-bottom-strip {
    background-color: #000;
    color: white;
    padding: 15px 0;
    font-size: 14px;
}

.hero-bottom-strip img {
    height: 25px;
}

.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    width: 100%;
}

.marquee-content {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    animation: marquee 40s linear infinite;
}

.marquee-item {
    padding-right: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* ===== CATALOG & CAROUSELS ===== */
.catalog-section {
    padding: 30px 40px; /* Reducido para juntar las secciones */
    max-width: 1400px;
    margin: 0 auto;
}

.catalog-section h2 {
    text-align: center;
    font-size: 32px;
    color: var(--gold-color);
    margin-bottom: 10px;
}

.catalog-section p.subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 25px; /* Reducido para acercar el carrusel al título */
}

.carousel-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 30px;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold-color) #f0f0f0;
}

/* Utilidad para centrar cuando hay pocos elementos, de forma segura */
.carousel-centered {
    justify-content: center;
}

@media (max-width: 768px) {
    .carousel-centered {
        justify-content: flex-start; /* En móvil dejamos que fluyan normal para no romper el scroll */
    }
}

.carousel-container::-webkit-scrollbar {
    height: 8px;
}
.carousel-container::-webkit-scrollbar-track {
    background: #f0f0f0; 
    border-radius: 4px;
}
.carousel-container::-webkit-scrollbar-thumb {
    background-color: var(--gold-color); 
    border-radius: 4px;
}

@media (min-width: 769px) {
    .carousel-container.wrap-desktop {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: center;
    }
}

.carousel-item {
    flex: 0 0 calc(25% - 22.5px); /* 4 elementos por fila en pantallas grandes */
    scroll-snap-align: start;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 0; /* Quitamos el padding para que la imagen ocupe todo el ancho */
    text-align: center;
    transition: box-shadow 0.3s;
    background: white;
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Para que la imagen respete los bordes curvos */
}

.carousel-item:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.carousel-item img {
    width: 100%;
    height: auto; /* Permite que la imagen crezca verticalmente y ocupe todo el ancho */
    margin-bottom: 0;
    transition: transform 0.4s ease;
    cursor: pointer; /* Indica que se puede hacer clic */
}

.carousel-item:hover img {
    transform: scale(1.05); /* Efecto de zoom suave al pasar el mouse */
}

/* Contenedor para el texto y botón debajo de la foto */
.carousel-item-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start; /* Mantiene el texto pegado a la imagen en lugar de empujarlo al fondo */
}

.carousel-item h4 {
    font-size: 22px;
    margin-bottom: 10px;
}

/* ===== MODAL DE IMAGEN (LIGHTBOX) ===== */
.modal-overlay {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px); /* Fondo borroso */
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90vh;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

/* Modal Legal Content */
.legal-modal-content {
    background-color: white;
    width: 90%;
    max-width: 700px;
    max-height: 85vh;
    padding: 40px;
    border-radius: 12px;
    position: relative;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: modalFadeIn 0.3s ease-out;
}

.legal-modal-content h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 26px;
    border-bottom: 2px solid var(--gold-color);
    padding-bottom: 15px;
}

.legal-text-content p {
    color: #444;
    line-height: 1.7;
    margin-bottom: 15px;
    font-size: 15px;
}

.modal-close-legal {
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 35px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.modal-close-legal:hover {
    color: var(--gold-color);
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close:hover {
    color: var(--gold-color);
}

.carousel-item p.specs {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.carousel-item .price {
    font-size: 24px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

/* Original Products Section (Hide if replacing, but we keep for now just in case) */
.products-section {
    padding: 60px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 40px;
}

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

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    text-align: center;
    transition: box-shadow 0.3s;
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.badges {
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
}

.badge-discount {
    background-color: var(--secondary-color);
    color: white;
    padding: 4px 8px;
    font-size: 12px;
    font-weight: bold;
    border-radius: 4px;
}

.badge-includes {
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    color: var(--text-light);
    background: white;
}

.badge-includes strong {
    font-size: 14px;
    color: var(--primary-color);
}

.product-card img {
    width: 100%;
    height: 250px;
    object-fit: contain;
    margin: 40px 0 20px;
    transition: transform 0.3s ease;
}

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

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    height: 40px;
}

.price-old {
    color: var(--text-light);
    text-decoration: line-through;
    font-size: 14px;
    margin-bottom: 5px;
}

.price-new {
    color: var(--secondary-color);
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.btn-add-cart {
    background-color: var(--primary-color);
    color: white;
    width: 100%;
    padding: 15px;
    border: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s;
    margin-top: auto;
}

.carousel-item-content > div {
    margin-top: auto !important;
}

.btn-add-cart:hover {
    background-color: #333;
}

/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 1. BLOQUE DE VALOR Y CONFIANZA --- */
.value-trust-section {
    background-color: #faf9f6;
    padding: 60px 20px;
}

.value-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.value-card {
    background: white;
    padding: 35px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    border: 1px solid rgba(191, 161, 95, 0.1);
    transition: transform 0.3s;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card i {
    font-size: 40px;
    color: var(--gold-color);
    margin-bottom: 15px;
}

.value-card h4 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.value-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.5;
}

/* --- 2. SOBRE NUESTRA FÁBRICA --- */
.about-factory {
    padding: 80px 20px;
    background-color: white;
}

.about-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    object-fit: cover;
}

.about-text .about-subtitle {
    color: var(--gold-color);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.about-text h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.about-text p {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- 3. SELECTOR COMPARATIVO --- */
.comparison-section {
    background-color: #faf9f6;
    padding: 80px 20px;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.comparison-card {
    background: white;
    border-radius: 12px;
    padding: 30px 25px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    position: relative;
    border: 1px solid #eee;
    transition: transform 0.3s, box-shadow 0.3s;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
}

.comparison-card.premium-card {
    border: 2px solid var(--gold-color);
    transform: scale(1.05);
    z-index: 1;
}

.comparison-card.premium-card:hover {
    transform: scale(1.05) translateY(-5px);
}

.line-badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 15px;
    background: #e0e0e0;
    color: #333;
}

.line-badge.standar { background: #d0e8f2; color: #0d47a1; }
.line-badge.premium { background: var(--gold-color); color: white; }
.line-badge.pocket { background: #333; color: white; }

.comparison-card h4 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.comparison-card ul {
    list-style: none;
    padding: 0;
}

.comparison-card ul li {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.comparison-card ul li i {
    color: var(--gold-color);
    margin-top: 3px;
}

/* --- 4. SHOWCASE DE TARIMAS --- */
.tarimas-showcase {
    padding: 80px 20px;
    background-color: white;
}

.showcase-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.showcase-header h2 {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.showcase-header p {
    color: var(--text-light);
    font-size: 16px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.showcase-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    background: white;
}

.showcase-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.showcase-content {
    padding: 25px;
    text-align: center;
}

.showcase-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.showcase-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-whatsapp-outline {
    display: inline-block;
    padding: 10px 20px;
    border: 2px solid #25D366;
    color: #25D366;
    text-decoration: none;
    font-weight: 700;
    border-radius: 6px;
    transition: all 0.3s;
}

.btn-whatsapp-outline:hover {
    background-color: #25D366;
    color: white;
}

/* --- 5. FAQ & CTA BANNER --- */
.faq-cta-section {
    padding: 80px 20px 40px;
    background-color: #faf9f6;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 60px;
}

.accordion-item {
    background: white;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    overflow: hidden;
}

.accordion-header {
    width: 100%;
    text-align: left;
    padding: 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.accordion-header:hover {
    background-color: #fcfcfc;
}

.accordion-header i {
    color: var(--gold-color);
    transition: transform 0.3s;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px;
    background: white;
}

.accordion-content.active {
    padding: 20px;
}

.accordion-content p {
    color: var(--text-light);
    font-size: 15px;
    line-height: 1.6;
}

.cta-banner {
    background: linear-gradient(135deg, var(--primary-color), #222);
    padding: 60px 20px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 600;
}

.btn-whatsapp-solid {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

.btn-whatsapp-solid:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Newsletter */
.newsletter {
    background-color: var(--bg-light);
    padding: 60px 20px;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.newsletter h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.newsletter p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
    max-width: 600px;
    margin: 0 auto 15px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0 30px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #333;
}

.newsletter-terms {
    font-size: 12px;
    color: var(--text-light);
}

/* Footer Features */
.footer-features {
    display: flex;
    justify-content: space-around;
    padding: 40px;
    background: white;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-weight: 600;
}

.feature-item i {
    font-size: 24px;
}

/* Footer Main */
.main-footer {
    background-color: #000;
    color: white;
    padding: 60px 40px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr 1fr 1.5fr;
    gap: 30px;
}

.footer-logo {
    font-size: 32px;
    font-weight: 800;
    color: var(--gold-color);
    font-family: 'Brush Script MT', cursive;
}

.mobile-only {
    display: none;
}

.pay-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 4px;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 20px;
    color: #999;
}

.footer-col ul li {
    margin-bottom: 12px;
    font-size: 14px;
    color: #ccc;
}

.footer-col ul li a:hover {
    color: white;
}

.footer-bottom {
    max-width: 1200px;
    margin: 40px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #999;
}

/* WhatsApp Fixed */
.whatsapp-fixed {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    transition: transform 0.3s;
    text-decoration: none;
}

.whatsapp-fixed:hover {
    transform: scale(1.1);
}

.whatsapp-pointer {
    position: fixed;
    right: 100px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    color: var(--primary-color);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 1000;
    animation: bouncePointer 2s infinite;
    pointer-events: none;
}

.whatsapp-pointer i {
    color: #25D366;
    font-size: 18px;
}

@keyframes bouncePointer {
    0%, 20%, 50%, 80%, 100% { transform: translateX(0); }
    40% { transform: translateX(-15px); }
    60% { transform: translateX(-7px); }
}

/* Responsive */
@media (max-width: 1024px) {

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

    .comparison-card.premium-card {
        transform: none;
    }

    .comparison-card.premium-card:hover {
        transform: translateY(-5px);
    }

    .carousel-item {
        flex: 0 0 calc(50% - 15px);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 1200px) {
    .carousel-item {
        flex: 0 0 calc(33.333% - 20px); /* 3 elementos por fila en tablets grandes */
    }
}

@media (max-width: 768px) {

    .product-grid,
    .comparison-grid,
    .about-container,
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .value-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .catalog-section {
        padding: 40px 20px;
    }
    
    .carousel-item {
        flex: 0 0 85%;
    }

    /* --- HERO MOBILE: panel flotando DENTRO de la foto (arriba) --- */
    .hero {
        height: 420px;
        min-height: unset;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 18px 15px;
        background: url('../img/portada.png') center/cover no-repeat;
    }

    .hero::before {
        display: block;
        background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0));
    }

    .hero-panel {
        order: 1;
        max-width: 75%;
        width: auto;
        border-radius: 12px;
        padding: 13px 16px;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        background-color: rgba(255, 255, 255, 0.78);
        box-shadow: 0 6px 16px rgba(0,0,0,0.2);
    }

    .hero-panel h1 {
        font-size: 14px;
        margin-bottom: 2px;
        line-height: 1.1;
    }

    .hero-panel h1 span {
        font-size: 20px;
        margin-top: 0;
        line-height: 1;
    }

    .hero-panel p {
        font-size: 10px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .btn-hero {
        padding: 6px 16px;
        font-size: 12px;
    }

    /* Ocultamos el div separado de imagen, ya no hace falta */
    .hero-image-mobile {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .main-nav {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 99;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
        background-color: white;
    }

    .main-nav.active {
        display: flex;
    }

    .search-bar {
        display: none;
    }

    .footer-features {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1px;
        padding: 0;
        background-color: #e5e5e5; /* Color de las líneas divisorias */
    }

    .feature-item {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 30px 15px;
        gap: 10px;
        background-color: #faf9f6; /* Fondo clarito como en la imagen */
        font-size: 13px;
        font-weight: 500;
    }

    .feature-item i {
        font-size: 28px;
        margin-bottom: 5px;
    }

    /* Mobile Footer Custom Layout */
    .footer-content {
        display: flex;
        flex-direction: column;
        gap: 25px;
    }
    
    #col-social div {
        justify-content: flex-start;
    }

    .mobile-only {
        display: inline-block;
    }

    .accordion-col h4 {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid #333;
        padding-bottom: 15px;
        margin-bottom: 0;
        cursor: pointer;
    }

    .accordion-col .footer-list {
        display: none;
        padding-top: 15px;
    }

    .accordion-col.active .footer-list {
        display: block;
    }
    
    .accordion-col h4 i {
        transition: transform 0.3s;
    }
    
    .accordion-col.active h4 i {
        transform: rotate(45deg);
    }
}