
:root {
    --primary-color: #d4af37; /* Oro */
    --secondary-color: #e5e5e5; /* Plata clara */
    --dark-color: #0a0a0a; /* Negro profundo */
    --light-color: #f8f8f8; /* Blanco roto */
    --accent-color: #8b7355; /* Bronce */
    --text-color: #333333; /* Texto principal */
    --text-light: #777777; /* Texto secundario */
    --overlay-color: rgba(10, 10, 10, 0.8); /* Overlay oscuro */
    --transition: all 0.4s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.logo-img {
    height: 60px;
    width: auto;
}

@media (max-width: 600px) {
    .logo-img {
        height: 70px;
    }
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700&family=Montserrat:wght@300;400;500;600&display=swap');

body {
    background-color: var(--light-color);
    color: var(--text-color);
    line-height: 1.7;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: #ddd;
    padding: 14px 32px;
    border: none;
    border-radius: 0;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.85rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: -2;
}

.btn:before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: var(--primary-color);
    transition: var(--transition);
    z-index: -1;
}

.btn:hover {
    color: #ffffff;
    transform: translateY(-3px);
}

.btn:hover:before {
    width: 100%;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    display: inline-block;
    color: var(--dark-color);
}

/* Asegura que el contenido debajo del header fijo sea visible */
body {
    padding-top: 90px; /* Debe ser igual a la altura del header (90px) */
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Header - Estilo Luxury */
header {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
    padding: 5px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    transition: var(--transition);
}

.logo h1 {
    font-size: 2rem;
    color: var(--dark-color);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.logo span {
    color: var(--primary-color);
    font-weight: 400;
}

.main-nav ul {
    display: flex;
    list-style: none;
}

.main-nav ul li {
    margin-left: 40px;
    position: relative;
}

.main-nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
    letter-spacing: 1.5px;
    font-size: 0.85rem;
    text-transform: uppercase;
    padding: 5px 0;
    position: relative;
}

.main-nav ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.main-nav ul li a:hover:after {
    width: 100%;
}

.main-nav ul li a:hover {
    color: var(--primary-color);
}

.cart-icon {
    position: relative;
    cursor: pointer;
    font-size: 1.3rem;
    color: var(--dark-color);
    transition: var(--transition);
}

.cart-icon:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.cart-count {
    position: absolute;
    top: -10px;
    right: -10px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-radius: 50%;
    width: 22px;
    height: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
    font-weight: bold;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-btn:hover {
    color: var(--primary-color);
}

/* Hero section - Estilo Galería de Lujo */
.hero {
    /* IMPORTANTE: Cambia 'img/camion-hero.jpg' por la ruta real de tu imagen de camión */
    background: linear-gradient(var(--overlay-color), var(--overlay-color)), 
                url('img/camion-hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    margin-top: 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 5px;
    letter-spacing: 3px;
    line-height: 1.2;
    text-transform: uppercase;
    font-weight: 300;
}

.hero h2 strong {
    font-weight: 600;
    color: var(--primary-color);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero .btn {
    margin-top: 20px;
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.hero .btn:before {
    background-color: var(--primary-color);
}

.hero .btn:hover {
    color: var(--dark-color);
}

/* Categories - Filtros elegantes */
.categories {
    padding: 100px 0 60px;
    text-align: center;
    background-color: var(--light-color);
}

.categories h2 {
    margin-bottom: 60px;
}

.category-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.category-btn {
    padding: 12px 30px;
    border: 1px solid var(--dark-color);
    background: transparent;
    color: var(--dark-color);
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    position: relative;
    overflow: hidden;
}

.category-btn:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dark-color);
    transform: translateY(100%);
    transition: var(--transition);
    z-index: -1;
}

.category-btn:hover {
    color: var(--primary-color);
    border-color: var(--dark-color);
}

.category-btn:hover:after {
    transform: translateY(0);
}

.category-btn.active {
    background-color: var(--dark-color);
    color: var(--primary-color);
}

/* Products Grid - Galería de productos de lujo */
.products {
    padding: 100px 0;
    background-color: var(--light-color);
}

.products h2 {
    text-align: center;
    margin-bottom: 60px;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
}

.product-card {
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
    position: relative;
}

.product-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.product-card:hover:before {
    opacity: 1;
}

.product-img {
    height: 350px;
    overflow: hidden;
    background-color: #f5f5f5;
    position: relative;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-img img {
    transform: scale(1.05);
}

.product-info {
    padding: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.product-category {
    display: inline-block;
    padding: 5px 15px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-radius: 0;
    font-size: 0.75rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.product-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 500;
    transition: var(--transition);
}

.product-card:hover .product-title {
    color: var(--primary-color);
}

.product-desc {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 20px;
    height: 40px;
    overflow: hidden;
}

.product-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    letter-spacing: 1px;
    font-family: 'Playfair Display', serif;
}

.product-actions {
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateY(0);
}

.add-to-cart {
    flex: 1;
    background-color: var(--dark-color);
    color: var(--primary-color);
    border: none;
    padding: 12px;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 0.75rem;
}

.add-to-cart:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.wishlist {
    width: 50px;
    margin-left: 10px;
    background-color: var(--light-color);
    border: 1px solid #e0e0e0;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-light);
}

.wishlist:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border-color: var(--primary-color);
}

/* About Section - Estilo elegante */
.about {
    padding: 120px 0;
    background-color: var(--dark-color);
    color: white;
    position: relative;
    overflow: hidden;
}

.about .container {
    display: flex;
    align-items: center;
    gap: 80px;
    position: relative;
    z-index: 2;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    font-size: 2.8rem;
    margin-bottom: 30px;
    color: white;
}

.about-content h2:after {
    background-color: var(--primary-color);
}

.about-content p {
    margin-bottom: 25px;
    line-height: 1.8;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
}

.about-image {
    flex: 1;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 20px 20px 0 0 var(--primary-color);
    transform: translateY(0);
    transition: var(--transition);
}

.about:hover .about-image {
    transform: translateY(-10px);
    box-shadow: 30px 30px 0 0 var(--primary-color);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about:hover .about-image img {
    transform: scale(1.02);
}

/* Features - Iconos de lujo */
.features {
    padding: 120px 0;
    background-color: var(--light-color);
}

.features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.feature-box {
    text-align: center;
    padding: 50px 30px;
    border-radius: 0;
    background-color: white;
    transition: var(--transition);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.feature-box:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.feature-box:hover:before {
    height: 100%;
    opacity: 0.1;
}

.feature-box i {
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature-box:hover i {
    transform: scale(1.2);
    color: var(--dark-color);
}

.feature-box h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

.feature-box h3:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.feature-box:hover h3:after {
    width: 80px;
    background-color: var(--dark-color);
}

.feature-box p {
    color: var(--text-light);
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* Cart Modal - Estilo minimalista */
.cart-modal {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    justify-content: flex-end;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.cart-content {
    width: 100%;
    max-width: 450px;
    height: 100%;
    background-color: white;
    overflow-y: auto;
    animation: slideIn 0.4s cubic-bezier(0.215, 0.610, 0.355, 1.000) forwards;
    position: relative;
}

@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.close-cart {
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.cart-body {
    padding: 25px;
    min-height: 60vh;
}

.empty-cart {
    text-align: center;
    color: var(--text-light);
    margin-top: 50px;
    font-size: 1.1rem;
}

.cart-item {
    display: flex;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid #eee;
    position: relative;
}

.cart-item-img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 0;
    margin-right: 20px;
    background-color: #f9f9f9;
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-size: 1rem;
    margin-bottom: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
}

.cart-item-price {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

.cart-item-actions {
    display: flex;
    align-items: center;
}

.quantity-btn {
    width: 28px;
    height: 28px;
    background-color: #f5f5f5;
    border: none;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background-color: var(--primary-color);
    color: white;
}

.quantity {
    margin: 0 12px;
    min-width: 20px;
    text-align: center;
}

.remove-item {
    margin-left: auto;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
}

.remove-item:hover {
    color: #ff6b6b;
    transform: scale(1.2);
}

.cart-footer {
    padding: 25px;
    border-top: 1px solid #eee;
    position: sticky;
    bottom: 0;
    background-color: white;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: 'Playfair Display', serif;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    font-size: 0.9rem;
    background-color: var(--dark-color);
    color: var(--primary-color);
    letter-spacing: 1.5px;
    border-radius: 0;
}

.checkout-btn:hover {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

/* Footer - Estilo sofisticado */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 100px 0 0;
    position: relative;
}

footer:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

.footer-section {
    margin-bottom: 40px;
}

.footer-section h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
}

.footer-section h3:after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
}

.footer-section i {
    margin-right: 12px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    gap: 20px;
}

.social-icons a {
    color: white;
    font-size: 1.1rem;
    transition: var(--transition);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.copyright {
    text-align: center;
    padding: 30px 0;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 60px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
}

.copyright:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, var(--primary-color) 50%, transparent 100%);
}

/* Efectos especiales */
.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -1;
    opacity: 0.15;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero h2 {
        font-size: 3.5rem;
    }
    
    .about .container {
        gap: 50px;
    }
}

@media (max-width: 992px) {
    @media (max-width: 992px) {
.main-nav {
display: none;
position: absolute;
top: 100%;
right: 0;
width: 250px;
background-color: white;
padding: 20px;
box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}
.main-nav.active {
display: block;
}
.main-nav ul {
flex-direction: column;
text-align: right;
}
.main-nav ul li {
padding: 10px 0;
}
.main-nav ul li a {
color: #333 !important;
font-size: 1rem;
}
}
    .main-nav.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .main-nav ul {
        flex-direction: column;
        text-align: center;
    }

    .main-nav ul li {
        margin: 0;
        padding: 15px 0;
    }

    .main-nav ul li a {
        color: white;
        font-size: 1.2rem;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 10000;
    }
    
    .hero {
        height: auto;
        padding: 150px 0 100px;
    }
    
    .hero h2 {
        font-size: 2.8rem;
    }
    
    .about .container {
        flex-direction: column;
    }
    
    .about-image {
        margin-top: 50px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
    
    .hero h2 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .features .container {
        grid-template-columns: 1fr;
    }
    
    .category-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 576px) {
    .hero h2 {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .product-img {
        height: 300px;
    }
    
    .cart-content {
        max-width: 100%;
    }
    
    .footer-section {
        margin-bottom: 30px;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 1s ease-in-out;
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb:hover {
    background: #c9a227;
}

/* Servicios Section - Ajuste para estilo Luxury */
.services-section { 
    background-color: var(--dark-color); 
    color: white; 
    padding: 100px 0;
}
.services-section .section-title { 
    color: var(--primary-color); 
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
    overflow: hidden;
}

.service-card:hover { border-color: var(--primary-color); }

.service-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: var(--transition);
}

.service-card:hover .service-img { filter: grayscale(0%); transform: scale(1.05); }

.service-content { padding: 25px; }
.service-content h3 { margin-bottom: 10px; color: var(--primary-color); }
.service-content p { font-size: 0.9rem; color: #ccc; }

/* --- ESTILOS DEL CATÁLOGO (Agregar al final de style.css) --- */

/* Buscador Estilo Luxury */
.search-box {
    text-align: center;
    padding: 120px 0 40px; /* Espacio para que no choque con el header fijo */
    background-color: var(--light-color);
    position: relative;
}

.search-box input {
    width: 100%;
    max-width: 600px;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
    background-color: white;
}

.search-box input:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

/* Grid de Marcas */
.catalogo-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 40px 0;
    max-width: 1400px;
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
}

.catalogo-marca-item {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    transition: var(--transition);
}

.catalogo-marca-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

/* Cabecera de cada Marca */
.marca-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: white;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
}

.marca-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-right: 15px;
}

.marca-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    flex: 1;
}

.marca-toggle {
    background: transparent;
    border: 1px solid var(--dark-color);
    color: var(--dark-color);
    padding: 5px 15px;
    font-size: 0.8rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.catalogo-marca-item:hover .marca-toggle {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
}

/* Contenido de la Marca (Lista de Repuestos) */
.marca-content {
    display: none; /* Oculto por defecto, JS lo mostrará */
    background-color: #fafafa;
    border-top: 2px solid var(--primary-color);
}

.marca-content.active {
    display: block;
    animation: fadeIn 0.5s;
}

/* Items de Repuestos (Acordeón) */
.repuesto-item {
    border-bottom: 1px solid #eee;
}

.repuesto-btn {
    width: 100%;
    text-align: left;
    padding: 15px 20px;
    background: white;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.repuesto-btn:hover {
    color: var(--primary-color);
    background-color: #fffdf5;
}

.repuesto-detalle {
    display: none;
    padding: 20px;
    background-color: white;
    border-top: 1px solid #f0f0f0;
}

.repuesto-detalle.active {
    display: block;
}

.repuesto-ficha {
    display: flex;
    gap: 20px;
    align-items: center;
}

.repuesto-ficha img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 1px solid #eee;
}

.repuesto-info h4 {
    color: var(--dark-color);
    margin-bottom: 5px;
}

.whatsapp-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 20px;
    background-color: #25D366; /* Verde WhatsApp */
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    border-radius: 0;
    text-transform: uppercase;
    transition: var(--transition);
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .repuesto-ficha {
        flex-direction: column;
        text-align: center;
    }
}

/* --- ESTILOS PARA LA PÁGINA DE CONTACTO (Agregar al final de style.css) --- */

.contact-section {
    padding: 100px 0;
    background-color: white;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Columna de Información */
.contact-info h3 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--dark-color);
}

.info-item {
    display: flex;
    margin-bottom: 30px;
    align-items: flex-start;
}

.info-icon {
    width: 50px;
    height: 50px;
    background-color: var(--dark-color);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark-color);
}

.info-content p, .info-content a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.6;
}

.info-content a:hover {
    color: var(--primary-color);
}

/* Formulario */
.contact-form {
    background-color: var(--light-color);
    padding: 50px;
    border: 1px solid #eee;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #bbb8b8;
    background-color: rgb(224, 221, 221);
    font-family: 'Montserrat', sans-serif;
    border-radius: 0; /* Cuadrado estilo Luxury */
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

textarea.form-control {
    resize: vertical;
    min-height: 150px;
}

/* Mapa */
.map-section {
    height: 450px;
    width: 100%;
    filter: grayscale(100%); /* Hace el mapa gris para que combine con el estilo */
    transition: var(--transition);
}

.map-section:hover {
    filter: grayscale(0%); /* Vuelve a color al pasar el mouse */
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }
    .contact-form {
        padding: 30px;
    }
}

/* --- ESTILOS SOBRE NOSOTROS (Agregar al final de style.css) --- */

/* Filas alternas de contenido (Texto - Imagen) */
.about-section-row {
    padding: 100px 0;
    background-color: white;
}

.about-section-row:nth-child(even) {
    background-color: var(--light-color); /* Fondo gris claro alternado */
}

.about-row-container {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Clase para invertir el orden (Imagen a la izquierda) */
.about-row-container.reverse {
    flex-direction: row-reverse;
}

.about-text {
    flex: 1;
}

.about-text h3 {
    font-size: 2.2rem;
    color: var(--dark-color);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
}

.about-text h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.about-text p {
    margin-bottom: 20px;
    color: #555;
    font-size: 1rem;
    line-height: 1.8;
}

.about-img-box {
    flex: 1;
    position: relative;
}

.about-img-box img {
    width: 100%;
    border-radius: 0;
    box-shadow: 20px 20px 0 0 var(--primary-color); /* Sombra dorada */
    transition: var(--transition);
}

.about-img-box:hover img {
    transform: translateY(-5px);
    box-shadow: 30px 30px 0 0 var(--dark-color);
}

/* Sección de Valores (Grid) */
.values-section {
    padding: 100px 0;
    background-color: var(--dark-color);
    color: white;
    text-align: center;
}

.values-section h2 {
    color: var(--primary-color);
    margin-bottom: 60px;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.value-card {
    background: rgba(255,255,255,0.05);
    padding: 40px 20px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.value-card:hover {
    background: var(--primary-color);
    transform: translateY(-10px);
}

.value-card:hover h4, .value-card:hover p, .value-card:hover i {
    color: var(--dark-color);
}

.value-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    transition: var(--transition);
}

.value-card h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: white;
}

.value-card p {
    font-size: 0.95rem;
    color: #ccc;
}

/* Responsive */
@media (max-width: 992px) {
    .about-row-container, .about-row-container.reverse {
        flex-direction: column;
        text-align: center;
    }
    
    .about-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-img-box {
        width: 100%;
        margin-top: 30px;
    }
}

/* --- ESTILOS PREGUNTAS FRECUENTES (Agregar al final de style.css) --- */

.faq-section {
    padding: 100px 0;
    background-color: var(--light-color);
    min-height: 60vh;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid rgba(0,0,0,0.05);
    background: white;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    background-color: white;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    transition: var(--transition);
    position: relative;
}

.faq-question::after {
    content: '\f078'; /* Icono chevron-down de FontAwesome */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    color: var(--primary-color);
    font-size: 0.9rem;
    transition: transform 0.4s ease;
}

.faq-question:hover {
    color: var(--primary-color);
    background-color: #fafafa;
}

.faq-question.active {
    background-color: var(--dark-color);
    color: var(--primary-color);
}

.faq-question.active::after {
    transform: rotate(180deg); /* Gira el icono */
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: white;
    border-top: 1px solid transparent;
}

.faq-answer p {
    padding: 25px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

.faq-question.active + .faq-answer {
    border-top-color: var(--primary-color);
}

/* Estilo para el Logo de Imagen */
.logo-img {
    max-height: 60px; /* Controla la altura del logo */
    width: auto;      /* Mantiene la proporción para que no se estire */
    display: block;   /* Elimina espacios extraños debajo de la imagen */
    transition: var(--transition);
}

/* Opcional: Si quieres que el logo crezca un poco al pasar el mouse */
.logo-img:hover {
    transform: scale(1.05);
}

/* Ajuste para móviles (para que no ocupe mucho espacio en pantallas pequeñas) */
@media (max-width: 576px) {
    .logo-img {
        max-height: 45px; /* Un poco más pequeño en celulares */
    }
}

/* --- ESTILOS UBICACIÓN LUXURY --- */
.location-section-luxury {
    background-color: var(--dark-color); /* Fondo negro */
    padding: 100px 0;
    position: relative;
    border-top: 3px solid var(--primary-color); /* Línea dorada superior */
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.location-info h2.section-title::after {
    background-color: var(--primary-color); /* Línea debajo del título */
}

.location-desc {
    color: #ccc;
    margin-bottom: 40px;
    font-size: 1rem;
    line-height: 1.8;
}

.loc-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.loc-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-right: 20px;
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.loc-item h4 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.loc-item p {
    color: #999;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Botón dorado especial */
.btn-gold {
    background-color: var(--primary-color);
    color: #ffffff;
    margin-top: 20px;
    border: 1px solid var(--primary-color);
}

.btn-gold:hover {
    background-color: transparent;
    color: var(--primary-color);
}

/* Marco del mapa */
.location-map-wrapper {
    height: 450px;
    width: 100%;
    border: 1px solid rgba(212, 175, 55, 0.3); /* Borde dorado sutil */
    padding: 10px; /* Espacio entre borde y mapa */
    background: rgba(255,255,255,0.05);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.location-map-wrapper iframe {
    width: 100%;
    height: 100%;
    filter: grayscale(100%) invert(92%) contrast(83%); /* Mapa estilo oscuro/gris */
    transition: var(--transition);
}

/* Al pasar el mouse, el mapa recupera su color */
.location-map-wrapper:hover iframe {
    filter: none;
}

/* Responsive */
@media (max-width: 992px) {
    .location-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .location-map-wrapper {
        height: 350px;
    }
}

/* --- ESTILOS SERVICIOS LUXURY --- */
.services-luxury-section {
    padding: 100px 0;
    background-color: #fcfcfc; /* Blanco muy suave */
}

.services-header-luxury {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.services-header-luxury p {
    color: #666;
    font-size: 1.1rem;
}

.services-grid-luxury {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card-luxury {
    background: white;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Efecto Hover Elegante */
.service-card-luxury:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-bottom: 3px solid var(--primary-color); /* Línea dorada abajo */
}

.icon-box {
    font-size: 2.5rem;
    color: var(--primary-color); /* Ícono Dorado */
    margin-bottom: 25px;
    display: inline-block;
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    background-color: #fffbf0; /* Fondo crema muy suave detrás del ícono */
    transition: var(--transition);
}

.service-card-luxury:hover .icon-box {
    background-color: var(--primary-color);
    color: white; /* Ícono se vuelve blanco y fondo dorado */
}

.service-card-luxury h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-family: 'Playfair Display', serif;
}

.service-card-luxury p {
    font-size: 0.95rem;
    color: #777;
    line-height: 1.6;
}

/* Ajuste Responsive */
@media (max-width: 768px) {
    .services-grid-luxury {
        grid-template-columns: 1fr; /* Una columna en celular */
        padding: 0 20px;
    }
}

/* --- SECCIÓN EXPERTOS (DARK LUXURY) --- */
.experts-section {
    background-color: var(--dark-color); /* Fondo Negro Profundo */
    padding: 100px 0;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Decoración de fondo sutil (opcional) */
.experts-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.05));
    pointer-events: none;
}

.experts-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 70px;
}

.subtitle-gold {
    color: var(--primary-color);
    letter-spacing: 3px;
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.section-title.white-text {
    color: white;
}

/* Línea dorada debajo del título */
.section-title.white-text::after {
    background-color: var(--primary-color);
}

.experts-desc {
    color: rgba(255, 255, 255, 0.7); /* Gris claro */
    font-size: 1.1rem;
    font-weight: 300;
}

/* Grid de Expertos */
.experts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 columnas */
    gap: 40px;
}

.expert-box {
    display: flex;
    align-items: flex-start;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borde muy sutil */
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.02); /* Fondo apenas visible */
}

.expert-box:hover {
    border-color: var(--primary-color); /* Se pone dorado al pasar el mouse */
    background: rgba(212, 175, 55, 0.05);
    transform: translateX(10px);
}

/* Estilo para el número grande (17+) */
.expert-number {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-right: 25px;
    min-width: 80px;
}

/* Estilo para los íconos */
.expert-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-right: 25px;
    min-width: 60px;
    text-align: center;
}

.expert-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: white;
    font-family: 'Playfair Display', serif;
}

.expert-content p {
    color: #aaa;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .experts-grid {
        grid-template-columns: 1fr; /* 1 columna en móvil */
        gap: 20px;
    }
    
    .expert-box {
        flex-direction: column; /* Icono arriba, texto abajo en móvil */
        text-align: center;
        align-items: center;
    }

    .expert-number, .expert-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .expert-box:hover {
        transform: translateY(-5px); /* Movimiento vertical en móvil */
    }
}

/* --- ESTILOS CATEGORÍAS LUXURY --- */
.categories-luxury {
    padding: 100px 0;
    background-color: white;
}

.section-header-center {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.gold-overline {
    display: block;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.section-desc {
    color: #666;
    margin-top: 15px;
}

/* Grid de Tarjetas */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Se adapta a pantallas */
    gap: 30px;
}

.category-card {
    position: relative;
    height: 400px; /* Altura fija para que todas se vean iguales */
    overflow: hidden;
    cursor: pointer;
    border: 1px solid #eee;
}

.category-img {
    width: 100%;
    height: 100%;
    transition: transform 0.6s ease;
}

.category-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la foto cubra todo sin deformarse */
}

/* El Overlay (Fondo oscuro degradado sobre la imagen) */
.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 60%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Texto abajo */
    padding: 30px;
    transition: all 0.4s ease;
    border-bottom: 5px solid var(--primary-color); /* Línea dorada inferior */
}

.category-content {
    color: white;
    transform: translateY(20px); /* Texto un poco abajo inicialmente */
    transition: transform 0.4s ease;
}

.category-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: white;
}

.category-content p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
    opacity: 0.9;
    line-height: 1.5;
}

.btn-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    opacity: 0; /* Oculto hasta pasar el mouse */
    transform: translateY(10px);
    transition: all 0.4s ease;
}

/* --- ANIMACIONES HOVER --- */
.category-card:hover .category-img {
    transform: scale(1.1); /* Zoom suave a la imagen */
}

.category-card:hover .category-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 100%); /* Más oscuro al pasar mouse */
}

.category-card:hover .category-content {
    transform: translateY(0); /* Texto sube */
}

.category-card:hover .btn-link {
    opacity: 1; /* Botón aparece */
    transform: translateY(0);
}

/* ============================
   BASE GENERAL DEL SITIO
============================ */
body {
  font-family: 'Montserrat', sans-serif;
  background: #f4f4f4;
  margin: 0;
  color: #222;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================
   ENCABEZADO
============================ */
.site-header {
  background: #0f1d2e;
  padding: 15px 25px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-container {
  max-width: 1300px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  height: 60px;
  border-radius: 6px;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  transition: 0.25s;
}

.nav-list a:hover {
  color: #d4af37;
}

/* ============================
   BUSCADOR SUPERIOR
============================ */
.search-box {
  background: linear-gradient(135deg, #0f1d2e, #152b42);
  padding: 45px 20px;
  text-align: center;
}

.search-box input {
  width: 90%;
  max-width: 450px;
  padding: 12px 14px;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
}

.search-box button {
  background: none;
  border: none;
  cursor: pointer;
}

.search-icon path {
  fill: #fff;
}

/* ============================
   TITULO
============================ */
h1 {
  text-align: center;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  margin-top: 35px;
  color: #0f1d2e;
}

/* ============================
   GRID DEL CATÁLOGO
============================ */
.catalogo-marcas-grid {
  max-width: 1300px;
  margin: 40px auto;
  display: grid;
  gap: 30px;
  padding: 0 20px;
}

/* ============================
   TARJETAS DE MARCAS
============================ */
.catalogo-marca-item {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.catalogo-marca-item:hover {
  transform: translateY(-3px);
}

/* ============================
   CABECERA DE CADA MARCA
============================ */
.marca-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.marca-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #153b6b;
}

.marca-logo {
  height: 60px;
  width: 60px;
  object-fit: contain;
  border-radius: 6px;
}

.marca-toggle {
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  color: #153b6b;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.marca-toggle i {
  transition: transform 0.3s ease;
}

/* ROTACIÓN AUTOCONTROLADA */
.marca-header.active .marca-toggle i {
  transform: rotate(180deg);
}

/* ============================
   CONTENEDOR OCULTO DE REPUESTOS
============================ */
.marca-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s ease;
  margin-top: 10px;
}

.marca-content.open {
  max-height: 2000px;
}

/* ============================
   REPUESTOS INDIVIDUALES
============================ */
.repuesto-item {
  background: #f8f8f8;
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.repuesto-btn {
  width: 100%;
  background: #fff;
  border: none;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 600;
  color: #0f1d2e;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: 0.25s;
}

.repuesto-btn:hover {
  background: #f0f0f0;
}

/* ICONO "+" */
.repuesto-btn i {
  transition: transform 0.3s ease;
}

.repuesto-item.active .repuesto-btn i {
  transform: rotate(180deg);
}

/* DETALLE OCULTO */
.repuesto-detalle {
  max-height: 0;
  overflow: hidden;
  padding: 0 18px;
  transition: all 0.35s ease;
  font-size: 0.95rem;
  color: #444;
}

.repuesto-item.active .repuesto-detalle {
  padding: 15px 18px 20px;
  max-height: 500px;
}

/* ============================
   WHATSAPP BOTÓN
============================ */
.whatsapp-btn {
  display: inline-block;
  margin-top: 10px;
  background: #25d366;
  color: #fff;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.25s;
}

.whatsapp-btn:hover {
  background: #1eb14f;
}


/* =========================================
   ESTILOS ESPECÍFICOS DEL CATÁLOGO (LUXURY)
   ========================================= */

/* --- 1. Buscador Superior --- */
.search-box {
    background-color: #fff;
    padding: 30px 0;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 80px; /* Ajustar según la altura de tu header fijo */
    z-index: 90;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.search-box input {
    width: 100%;
    padding: 15px 50px 15px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 0; /* Estilo cuadrado luxury */
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
    background-color: #fff;
}

.search-box button {
    transition: color 0.3s;
}

.search-box button:hover i {
    color: var(--primary-color) !important;
}

/* --- 2. Grid del Catálogo --- */
.catalogo-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 60px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tarjeta de Marca */
.catalogo-marca-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: fit-content; /* Importante para que no se estire raro */
}

.catalogo-marca-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

/* Cabecera de Marca */
.marca-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    background: #fff;
    cursor: pointer;
    border-bottom: 1px solid transparent;
    transition: background 0.3s;
}

.marca-header:hover {
    background: #fafafa;
}

.catalogo-marca-item:hover .marca-header {
    border-bottom-color: #f0f0f0;
}

.marca-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-right: 15px;
}

.marca-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--dark-color);
    flex: 1;
    letter-spacing: 1px;
}

.marca-toggle {
    background: transparent;
    border: 1px solid #ddd;
    color: #777;
    padding: 6px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 0;
}

.marca-toggle:hover,
.catalogo-marca-item.active .marca-toggle {
    background: var(--dark-color);
    color: var(--primary-color);
    border-color: var(--dark-color);
}

/* Contenido de Marca (Oculto por defecto) */
.marca-content {
    display: none;
    background-color: #fff;
    border-top: 2px solid var(--primary-color);
    animation: fadeIn 0.4s ease-in-out;
}

.marca-content.open {
    display: block;
}

/* --- 3. Items de Repuestos (Acordeón anidado) --- */
.repuesto-item {
    border-bottom: 1px solid #f5f5f5;
}

.repuesto-item:last-child {
    border-bottom: none;
}

/* Botón del Repuesto */
.repuesto-btn {
    width: 100%;
    text-align: left;
    padding: 15px 25px;
    background: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
}

.repuesto-btn:hover {
    color: var(--primary-color);
    background-color: #fffdf5; /* Fondo crema muy suave */
    padding-left: 30px; /* Pequeño desplazamiento */
}

.repuesto-btn .icon {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--primary-color);
    transition: transform 0.3s;
}

/* Estado Abierto del botón */
.repuesto-btn[aria-expanded="true"] {
    color: var(--dark-color);
    background-color: #f9f9f9;
    font-weight: 600;
}

.repuesto-btn[aria-expanded="true"] .icon {
    transform: rotate(45deg); /* Convierte el + en x */
    color: #ff4444;
}

/* Detalle del Repuesto (Ficha) */
.repuesto-detalle {
    display: none;
    padding: 20px 25px;
    background-color: #fcfcfc;
    border-top: 1px solid #f0f0f0;
    border-left: 3px solid #ddd; /* Línea lateral de énfasis */
}

.repuesto-detalle.open {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.repuesto-ficha {
    display: flex;
    gap: 20px;
    align-items: center;
}

.repuesto-ficha img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 1px solid #eee;
    padding: 3px;
    background: #fff;
}

.repuesto-info h4 {
    color: var(--dark-color);
    font-size: 1rem;
    margin-bottom: 5px;
    font-family: 'Playfair Display', serif;
}

.repuesto-info p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 10px;
    line-height: 1.4;
}

/* Botón WhatsApp */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background-color: #25D366;
    color: white;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
}

.whatsapp-btn:hover {
    background-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

/* --- 4. Animaciones y Responsive --- */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .catalogo-marcas-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
        padding: 40px 20px;
    }
    
    .repuesto-ficha {
        flex-direction: column;
        text-align: center;
    }
    
    .search-box {
        top: 60px; /* Ajuste header móvil */
    }
}
/* =========================
   BUSCADOR INTEGRADO EN HEADER
   ========================= */

/* Estilo para el contenedor general en el header */
#search-container-header {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 50px; /* Forma de píldora */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 300px; /* Ancho por defecto para escritorio */
    max-width: 100%;
    padding: 8px 15px;
    margin: 10px 0;
}

/* Icono de Lupa */
#search-container-header svg {
    min-width: 20px;
    height: 20px;
    fill: #0d5107; 
    margin-right: 10px;
}

/* Campo de entrada */
#floating-search-input {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 0;
    font-size: 1rem;
    color: #333;
}

/* Ajuste para que el input tome el 100% del ancho del contenedor en la rejilla */
.jss96 {
    display: flex;
    justify-content: flex-end; /* Alinea el buscador a la derecha del header */
    align-items: center;
}

/* Responsive para centrar y hacerlo más ancho en móvil */
@media (max-width: 768px) {
    .jss96 {
        justify-content: center; /* Centrar en pantallas pequeñas */
        order: 3; /* Asegura que aparezca debajo del logo y menú hamburguesa */
        flex-basis: 100%;
        max-width: 100%;
    }
    #search-container-header {
        width: 90vw; /* Más ancho en móvil */
        margin: 10px auto;
    }
}

/* =========================
   GRID DE MARCAS (CATÁLOGO)
   ========================= */
.catalogo-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
.catalogo-marca-item {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(16,24,40,0.06);
    border: 1px solid #eee;
    transition: box-shadow 0.3s ease;
}
.catalogo-marca-item:hover {
    box-shadow: 0 8px 25px rgba(16,24,40,0.1);
}

/* Encabezado de marca */
.marca-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: linear-gradient(90deg, #ffffff 0%, #f6f6f6 100%);
}
.marca-logo {
    width: 110px;
    max-height: 70px;
    object-fit: contain;
    background: #fff;
    padding: 6px;
    border-radius: 8px;
    border: 1px solid #f0f0f0;
}
.marca-title {
    flex: 1;
    font-weight: 700;
    font-size: 1.05rem;
}
.marca-toggle {
    background: #d2ce0c;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 700;
    transition: background 0.3s ease;
}
.marca-toggle:hover {
    background: #0a3d0a;
}

/* Contenido de la marca (Acordeón principal) */
.marca-content { 
    /* ESTO HACE QUE SE PLIEGUE Y DESPLIEGUE SIN TRANSICIÓN SUAVE */
    display: none; 
    padding: 12px 14px; 
    border-top: 1px solid #f1f1f1; 
}
.marca-content.open { 
    /* ESTADO ABIERTO */
    display: block; 
}

/* =========================
   REPUESTOS INDIVIDUALES (Acordeón secundario)
   ========================= */
.repuesto-item { 
    margin-bottom: 10px; 
    border-radius: 8px; 
    overflow: hidden; 
    background: #fbfbfb; 
    border: 1px solid #eee;
    transition: background 0.2s;
}
.repuesto-item:hover {
    background: #f2f6f2;
}

.repuesto-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 14px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    text-align: left;
    color: #333;
    font-size: 1rem;
}
.repuesto-btn span:last-child { /* Icono +/− */
    font-size: 1.2rem;
    font-weight: 900;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

/* Detalle del repuesto (ficha) */
.repuesto-detalle {
    /* ESTO HACE QUE SE PLIEGUE Y DESPLIEGUE */
    display: none; 
    padding: 12px 14px;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}
.repuesto-detalle.open { 
    /* ESTADO ABIERTO */
    display: block; 
}

.repuesto-ficha { 
    display: flex; 
    gap: 14px; 
    align-items: flex-start; 
    flex-wrap: wrap; 
}
.repuesto-ficha img { 
    width: 150px; 
    height: 110px;   
    object-fit: cover; 
    border-radius: 6px; 
    border: 1px solid #eee; 
}
  
.repuesto-info { 
    flex: 1; 
    min-width: 180px; 
}
.repuesto-info h4 { 
    font-size: 1rem; 
    margin: 0 0 6px 0; 
    color: #0d5107;
}
.repuesto-info p { 
    margin-bottom: 8px; 
    color: #444; 
    font-size: 0.95rem; 
    line-height: 1.4;
}
.whatsapp-btn {
    display: inline-flex; 
    gap: 8px; 
    align-items: center;
    text-decoration: none; 
    background: #25d366; 
    color: #fff;
    padding: 8px 12px; 
    border-radius: 8px; 
    font-weight: 700;
    transition: background 0.2s ease;
}
.whatsapp-btn:hover {
    background: #128c7e;
}


/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 640px) {
    .header-inner {
        flex-direction: column;
        text-align: center;
    }
    .header-right {
        margin-top: 10px;
    }
    .brand-logo {
        height: 50px;
    }
    .catalogo-marcas-grid {
        grid-template-columns: 1fr; /* Una columna en móvil */
    }
    .repuesto-ficha { 
        flex-direction: column; 
        align-items: center; 
    }
    .repuesto-ficha img { 
        width: 100%; 
        max-width: 250px; 
        height: auto; 
    }
 
}
/* =======================================
   FIX: FORZAR DESACTIVACIÓN DE LÍNEA VERDE EN EL MENÚ
   ======================================= */
/* * Anulamos la línea verde del elemento "activo" si la clase 'jss94' 
 * se aplicó incorrectamente a más de un elemento.
 * * Si deseas que *ningún* elemento del menú tenga la línea verde, usa este estilo.
 * Si quieres que la línea aparezca *solo* en la página actual (Catálogo),
 * debes corregir las clases en el HTML, pero esta solución la eliminará.
 */
.jss94.jss93 {
    border-bottom-color: transparent !important; /* Quita el borde inferior (línea) */
    color: #444444 !important; /* Restablece el color del texto al color normal */
}


/* ====== BUSCADOR ANIMADO ====== */
.search-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: transparent;
}

#search-toggle {
  background: #fff;
  border: none;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.search-icon {
  width: 22px;
  height: 22px;
  fill: #084c24;
  transition: transform 0.3s ease;
}

#search-toggle.active .search-icon {
  transform: rotate(90deg);
}

#search-input {
  position: absolute;
  right: 0;
  width: 0;
  opacity: 0;
  border: none;
  outline: none;
  font-size: 1rem;
  border-radius: 30px;
  padding: 0;
  height: 44px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: width 0.3s ease, opacity 0.2s ease;
}

/* Cuando está activa */
.search-box.active #search-input {
  width: 200px;
  opacity: 1;
  padding: 0 15px 0 45px;
}

/* Animación de giro cuando busca */
.search-icon.spin {
  animation: spin 1s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Adaptable en pantallas pequeñas */
@media (max-width: 600px) {
  .search-box.active #search-input {
    width: 140px;
  }
}

/* =======================================================
   ESTILO LUXURY "STRIKING" (Llamativo y Elegante)
   ======================================================= */

/* --- 1. Buscador Flotante (Hero Search) --- */
.search-box {
    background: linear-gradient(to bottom, #ffffff, #f8f8f8);
    padding: 70px 0 50px;
    text-align: center;
    position: relative;
    /* Un toque sutil de sombra para separar del header */
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    z-index: 5;
}

.search-box input {
    width: 100%;
    max-width: 650px;
    padding: 20px 30px;
    border: 2px solid transparent; /* Truco para el borde gradiente */
    background-color: #fff;
    border-radius: 0; /* Cuadrado */
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    color: var(--dark-color);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08); /* Sombra profunda */
    transition: all 0.4s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15); /* Resplandor dorado */
    transform: translateY(-2px);
}

.search-box button {
    position: absolute;
    margin-left: -50px;
    margin-top: 22px;
    background: none;
    border: none;
    cursor: pointer;
}

.search-box button .search-icon {
    width: 24px;
    fill: #bbb;
    transition: fill 0.3s ease, transform 0.3s ease;
}

.search-box input:focus + button .search-icon {
    fill: var(--primary-color);
    transform: scale(1.1);
}

/* --- 2. Grid del Catálogo Dinámico --- */
.catalogo-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 40px;
    padding: 40px 30px 100px;
    max-width: 1400px;
    margin: 0 auto;
}

/* Tarjeta de Marca (La magia ocurre aquí) */
.catalogo-marca-item {
    background: #fff;
    border: 1px solid rgba(0,0,0,0.04);
    border-top: 4px solid transparent; /* Preparamos el borde superior */
    border-radius: 0; /* Cuadrado */
    position: relative;
    overflow: visible; /* Permitir que la sombra salga */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); /* Efecto rebote suave */
}

/* Estado Normal: Sutil */
.catalogo-marca-item {
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

/* Estado Hover: Llamativo */
.catalogo-marca-item:hover {
    transform: translateY(-10px); /* Se eleva */
    border-top-color: var(--primary-color); /* Aparece la línea dorada arriba */
    box-shadow: 0 25px 50px rgba(0,0,0,0.1); /* Sombra profunda */
    z-index: 10;
}

/* --- 3. Cabecera de la Marca --- */
.marca-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 30px;
    background: #fff;
    cursor: pointer;
    transition: background 0.3s;
}

/* Cuando se abre la marca, cambiamos el fondo para destacar */
.catalogo-marca-item .marca-content.open ~ .marca-header, /* Si el contenido está antes */
.catalogo-marca-item:has(.marca-content.open) .marca-header { 
    background-color: #fffbf0; /* Un crema muy suave dorado */
}

.marca-logo {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-right: 20px;
    filter: grayscale(100%) opacity(0.6);
    transition: all 0.5s ease;
}

/* Al pasar el mouse por la tarjeta, el logo cobra vida */
.catalogo-marca-item:hover .marca-logo {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

.marca-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--dark-color);
    letter-spacing: 1px;
    flex: 1;
}

/* Botón Toggle (Ver / Ocultar) */
.marca-toggle {
    background: transparent;
    border: 1px solid var(--text-light);
    color: var(--text-light);
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.catalogo-marca-item:hover .marca-toggle {
    border-color: var(--dark-color);
    color: var(--dark-color);
    background: transparent;
}

/* Cuando la marca está abierta, el botón se invierte */
.catalogo-marca-item:has(.marca-content.open) .marca-toggle {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* --- 4. Lista de Repuestos (Acordeón) --- */
.marca-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    background-color: #fff;
}

.marca-content.open {
    max-height: 2000px; /* Permite expansión */
    border-top: 1px solid #f0f0f0;
}

.repuesto-item {
    border-bottom: 1px solid #f9f9f9;
}

/* Botón del Repuesto (La fila clickeable) */
.repuesto-btn {
    width: 100%;
    text-align: left;
    padding: 18px 30px;
    background: #fff;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: #444;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    position: relative;
}

/* Efecto Hover en la fila del repuesto */
.repuesto-btn:hover {
    color: var(--primary-color);
    background-color: #fcfcfc;
    padding-left: 35px; /* Desplazamiento sutil */
}

/* Indicador visual de hover (barra lateral izquierda) */
.repuesto-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.repuesto-btn:hover::before {
    width: 4px; /* Barra dorada aparece a la izquierda */
}

/* Icono + / X */
.repuesto-btn span:last-child {
    font-size: 1.4rem;
    font-weight: 300;
    color: #ddd;
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.repuesto-btn[aria-expanded="true"] span:last-child {
    transform: rotate(135deg); /* Efecto giro elegante */
    color: var(--primary-color);
}

.repuesto-btn[aria-expanded="true"] {
    background-color: #fffbf0; /* Fondo crema cuando está abierto */
    color: var(--dark-color);
    font-weight: 600;
}

/* --- 5. Ficha del Repuesto --- */
.repuesto-detalle {
    max-height: 0;
    overflow: hidden;
    background-color: #fcfcfc;
    transition: max-height 0.4s ease;
}

.repuesto-detalle.open {
    max-height: 500px;
    border-bottom: 3px solid var(--primary-color); /* Cierre visual dorado */
    box-shadow: inset 0 10px 15px -10px rgba(0,0,0,0.05); /* Sombra interna */
}

.repuesto-ficha {
    padding: 30px;
    display: flex;
    gap: 30px;
    align-items: center;
}

.repuesto-ficha img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: 1px solid #eee;
    padding: 5px;
    background: #fff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.repuesto-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.repuesto-info p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

/* Botón WhatsApp Estilo "Solid Gold" */
.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background-color: var(--dark-color); /* Negro de fondo */
    color: var(--primary-color); /* Texto Dorado */
    border: 1px solid var(--dark-color);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s;
    border-radius: 0;
}

.whatsapp-btn:hover {
    background-color: var(--primary-color); /* Fondo Dorado */
    color: white; /* Texto Blanco */
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.3);
}

.whatsapp-btn i {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .catalogo-marcas-grid {
        padding: 20px;
        gap: 25px;
    }
    
    .repuesto-ficha {
        flex-direction: column;
        text-align: center;
    }
    
    .catalogo-marca-item:hover {
        transform: none; /* En móvil evitamos movimientos bruscos */
    }
}




/* =========================
   HEADER Y NAVEGACIÓN
   ========================= */

/* Contenedor principal del header */
.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

/* Logo */
.logo {
  height: 60px;
  width: auto;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* Menú de navegación */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 25px; /* Espacio entre elementos */
}

.nav-list a {
  text-decoration: none;
  color: #333;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  padding-bottom: 5px;
  transition: color 0.3s ease;
}

/* Línea animada debajo del enlace */
.nav-list a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #0d5107; /* Color verde corporativo */
  transition: width 0.3s ease;
}

.nav-list a:hover {
  color: #0d5107;
}

.nav-list a:hover::after {
  width: 100%;
}

/* Estilo para la página activa */
.nav-list a.active {
  color: #0d5107;
  font-weight: 700;
}

.nav-list a.active::after {
  width: 100%;
}

/* Botón de menú para móviles (hamburguesa) */
.menu-toggle {
  display: none; /* Oculto en escritorio */
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 5px 0;
  transition: all 0.3s ease;
}


/* =========================
   ESTILOS RESPONSIVOS
   ========================= */

@media (max-width: 768px) {
  .menu-toggle {
    display: block; /* Visible en móviles */
  }

  .nav-list {
    display: none; /* Oculto por defecto en móviles */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
  }

  .nav-list.active {
    display: flex; /* Se muestra al hacer clic */
  }

  .nav-list a {
    font-size: 24px; /* Letra más grande para mejor legibilidad */
  }

  /* Animación del botón de hamburguesa a "X" */
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
  }
}

/* =========================
   SECCIÓN DE SERVICIOS MEJORADA
   ========================= */
.services-section {
  padding: 60px 20px;
  background-color: #f9f9f9; /* Un fondo ligeramente gris para destacar la sección */
}

.services-container {
  max-width: 1200px;
  margin: 0 auto;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header h2 {
  font-size: 2.5rem;
  color: #135710; /* Verde corporativo */
  margin-bottom: 10px;
}

.services-header p {
  font-size: 1.1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  /* Crea columnas flexibles que se adaptan al tamaño */
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px; /* Espacio entre las tarjetas */
}

.service-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden; /* Asegura que la imagen no se salga del borde redondeado */
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px); /* Efecto de elevación al pasar el mouse */
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover; /* Asegura que la imagen cubra el espacio sin deformarse */
}

.service-content {
  padding: 25px;
  flex-grow: 1; /* Permite que el contenido crezca y ocupe el espacio */
  display: flex;
  flex-direction: column;
}

.service-content h3 {
  font-size: 1.4rem;
  color: #333;
  margin-top: 0;
  margin-bottom: 15px;
}

.service-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  flex-grow: 1;
}

/* ================================
   CONTROL DE ESPACIO PARA MARCAS
================================ */

/* Contenedor de cada marca */
.catalogo-marca-item {
    overflow: hidden;            /* Nada se sale del cuadro */
    border-radius: 10px;
    display: flex;
    flex-direction: column;
}

/* Header de la marca */
.marca-header {
    display: flex;
    align-items: center;
    gap: 20px;
    overflow: hidden;            /* Evita desbordes */
}

/* Imagen de marca – SIEMPRE ajustada */
.marca-logo {
    width: 80px;                 /* Tamaño fijo y controlado */
    height: 80px;
    object-fit: contain;         /* Ajusta sin cortar ni deformar */
    overflow: hidden;            /* Nada se sale del borde */
    flex-shrink: 0;              /* No permite que se aplaste */
    display: flex;
}

/* Título de la marca SIEMPRE dentro */
.marca-title {
    max-width: 100%;
    overflow: hidden;            /* Evita que salga del contenedor */
    text-overflow: ellipsis;     /* Agrega “...” si el nombre es largo */
    white-space: nowrap;         /* Evita saltos de línea descontrolados */
}

/* Botón de abrir repuestos */
.marca-toggle {
    white-space: nowrap;         /* No permite que el botón se rompa */
    flex-shrink: 0;
}

/* Área interna de repuestos */
.marca-content {
    overflow: hidden;
}

/* Imágenes de repuestos perfectamente contenidas */
.repuesto-ficha img {
    width: 120px;
    height: 120px;
    object-fit: cover;           /* Se recorta suavemente sin deformación */
    border-radius: 8px;
    overflow: hidden;
}

/* Títulos de repuestos controlados */
.repuesto-info h4 {
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}



/* ===================================================================
   ESTILOS PARA EL BANNER DE COOKIES
   =================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 34, 34, 0.95); /* Gris oscuro semi-transparente */
    color: #fff;
    padding: 15px 20px;
    z-index: 2000; /* Asegura que esté por encima de todo (incluyendo el modal) */
    transform: translateY(100%); /* Oculto inicialmente (fuera de la pantalla) */
    transition: transform 0.5s ease-out; /* Transición suave para aparecer */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
    transform: translateY(0); /* Muestra el banner */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
}

.cookie-link {
    color: #aad3aa; /* Tono de verde claro */
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-link:hover {
    color: #fff;
}

.cookie-btn {
    background-color: #0d5107; /* Verde corporativo */
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    flex-shrink: 0; /* Evita que el botón se reduzca en móvil */
    transition: background-color 0.2s ease;
}

.cookie-btn:hover {
    background-color: #093b05;
}

/* Responsive para Móviles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        margin-bottom: 10px;
    }
}

/* Estilo para el botón de cierre del modal de Privacidad */
.cerrar-modal-privacidad {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.6rem;
    cursor: pointer;
    color: #222;
    font-weight: bold;
    transition: color 0.2s ease;
}

.cerrar-modal-privacidad:hover {
    color: #0d5107;
}

/* Ajuste si el contenido de la política es muy largo, para que se desplace bien */
.policy-body {
    padding: 0 5px; /* Quita padding extra para maximizar el área de desplazamiento */
}

.fade-in {
  animation: fadeInModal 0.3s ease forwards;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.catalogo-marcas-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 20px;
}

/* ============ CONTACTO OSCURO LUXURY ============ */

.contact-dark-section {
    background-color: var(--dark-color);
    padding: 120px 0;
    border-top: 3px solid var(--primary-color);
}

.contact-dark-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.white-text { color: white !important; }

.contact-dark-desc {
    margin-top: 10px;
    color: #bbb;
    line-height: 1.8;
    margin-bottom: 40px;
}

.contact-dark-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-dark-item i {
    font-size: 1.7rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-dark-item h4 {
    color: white;
    font-family: 'Playfair Display', serif;
    margin-bottom: 5px;
}

.contact-dark-item p {
    color: #bbb;
    line-height: 1.5;
}

/* FORMULARIO OSCURO */
.contact-dark-form-box {
    background-color: rgba(255,255,255,0.03);
    padding: 40px;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
}

.contact-dark-form-box h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-family: 'Playfair Display', serif;
}

.form-control-dark {
    width: 100%;
    padding: 15px;
    background-color: #111;
    border: 1px solid #333;
    color: white;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.form-control-dark:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(212,175,55,0.3);
}

textarea.form-control-dark {
    min-height: 150px;
    resize: vertical;
}

/* MAPA */
.contact-dark-map {
    width: 100%;
    height: 450px;
    filter: grayscale(100%) invert(90%) contrast(85%);
}

.contact-dark-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-dark-map:hover {
    filter: none;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .contact-dark-grid {
        grid-template-columns: 1fr;
    }
}

/* =======================
   RESPONSIVE GLOBAL FIX
   ======================= */

/* Ajustes globales */
img {
    max-width: 100%;
    height: auto;
}

section {
    padding: 60px 0;
}

@media (max-width: 992px) {

    /* HERO */
    .hero {
        height: 45vh !important;
        min-height: 380px !important;
        background-position: center !important;
    }
    .hero-content h2 {
        font-size: 1.8rem !important;
    }
    .hero-content p {
        font-size: 1rem !important;
    }

    /* GRID 1 COLUMNA */
    .contact-dark-grid,
    .categories-grid,
    .services-grid-luxury,
    .experts-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    /* FORMULARIO */
    .contact-dark-form-box {
        padding: 25px !important;
    }
    .form-control-dark {
        padding: 12px !important;
    }
    textarea.form-control-dark {
        min-height: 130px !important;
    }

    /* TEXTO */
    h1, h2, h3 {
        text-align: center;
    }

    .contact-dark-desc,
    .expert-content p,
    .service-card-luxury p {
        text-align: center;
    }

    

 

    /* NAVEGACIÓN */
    .main-nav {
        position: absolute;
        top: 75px;
        right: 0;
        width: 100%;
        background-color: var(--dark-color);
        display: none;
        padding: 20px 0;
        text-align: center;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 20px;
    }

    .mobile-menu-btn {
        display: block !important;
        cursor: pointer;
        z-index: 999;
    }
}

/* Móviles pequeños */
@media (max-width: 600px) {

    .hero {
        height: 40vh !important;
 
    }

    .hero-content h2 {
        font-size: 1.5rem !important;
    }

    .contact-dark-section {
        padding: 50px 0 !important;
    }

    .contact-dark-grid {
        gap: 20px !important;
    }

    .contact-dark-item {
        justify-content: center !important;
        text-align: center !important;
    }

    .contact-dark-item i {
        margin-right: 10px !important;
    }

    button.btn-gold {
        font-size: 1rem !important;
        padding: 12px !important;
    }
}

/* --- ESTILOS PARA EL ENCABEZADO DEL CATÁLOGO --- */

.catalogo-header {
    text-align: center;
    margin-top: 120px; /* Separación después del header fijo */
}

/* Estilo para el span (NUESTRO INVENTARIO) */
.catalogo-header span {
    color: var(--primary-color); 
    letter-spacing: 3px; 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    font-weight: 600; 
    display: block; 
    margin-bottom: 10px;
}

/* Estilo para el párrafo de descripción */
.catalogo-header p {
    color: #666; 
    max-width: 600px; 
    margin: 10px auto 30px auto; /* Añadí más margen abajo */
    font-weight: 300;
}

/* Media Query para móvil: Reducir margen superior en pantallas pequeñas */
@media (max-width: 992px) {
    .catalogo-header {
        margin-top: 90px;
    }
}

/* ============================================
   CATÁLOGO - RESPONSIVE
============================================ */

/* Grid general del catálogo */
.catalogo-marcas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 25px;
}

/* ============================================
   TABLET (hasta 900px)
============================================ */
@media (max-width: 900px) {

    .catalogo-marcas-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 20px;
    }

    .marca-header {
        flex-direction: row;
        justify-content: space-between;
    }

    .repuesto-ficha img {
        width: 80px;
        height: 80px;
    }
}

/* ============================================
   MÓVIL (hasta 600px)
============================================ */
@media (max-width: 600px) {

    .catalogo-marcas-grid {
        grid-template-columns: 1fr;     /* Una columna */
        gap: 18px;
        padding: 0 10px;
    }

    .catalogo-marca-item {
        padding: 15px;
    }

    .marca-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .marca-logo {
        width: 60px;
    }

    .marca-toggle {
        width: 100%;
        padding: 10px;
        margin-top: 5px;
        font-size: 0.9rem;
    }

    /* Botón del repuesto */
    .repuesto-btn {
        font-size: 0.9rem;
        padding: 10px;
    }

    /* Detalle del repuesto */
    .repuesto-detalle {
        padding: 10px;
    }

    .repuesto-ficha {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

    .repuesto-ficha img {
        width: 100px;
        height: 100px;
    }

    .repuesto-info h4 {
        font-size: 1rem;
    }

    .whatsapp-btn {
        width: 100%;
        text-align: center;
        padding: 10px;
        margin-top: 10px;
        font-size: 0.9rem;
    }
}

/* ============================================
   MÓVIL MUY PEQUEÑO (hasta 420px)
============================================ */
@media (max-width: 420px) {

    .marca-header {
        gap: 5px;
    }

    .catalogo-marca-item {
        padding: 12px;
    }

    .repuesto-ficha img {
        width: 80px;
        height: 80px;
    }

    .repuesto-btn {
        font-size: 0.85rem;
    }
}

/* ======================================
   MENÚ HAMBURGUESA - RESPONSIVE
====================================== */

/* Ocultar menú móvil por defecto */
@media (max-width: 900px) {

    .main-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: white;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 30px;
        transition: right 0.4s ease;
        z-index: 999;
        box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    }

    .main-nav ul.open {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
        color: var(--dark-color);
    }

    .main-nav ul li {
        margin-left: 0;
    }

    .main-nav ul li a {
        font-size: 1.2rem;
    }
}

/* Icono de hamburguesa animado */
.mobile-menu-btn.active i {
    transform: rotate(90deg);
    transition: 0.3s ease;
}

.repuesto-ficha img {
    display: none !important;
}

.marca-logo {
    width: 100px;
    height: auto;
}

.header-lupa-wrapper {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

/* ====== Buscador — animaciones y responsive ====== */

.search-panel {
  position: fixed;
  top: 90px; /* coincidente con tu header fijo */
  left: 0;
  right: 0;
  max-height: calc(100vh - 110px);
  overflow: auto;
  z-index: 9999;
  display: none; /* js controla */
  padding: 18px 12px;
  transition: transform .26s ease, opacity .22s ease;
  transform: translateY(-8px);
  opacity: 0;
  background: rgba(255,255,255,0.98);
  box-shadow: 0 10px 30px rgba(10,10,10,0.08);
  border-bottom: 3px solid var(--primary-color);
}

/* panel abierto */
.search-panel.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

/* inner layout */
.search-panel-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 8px 16px;
}

/* fila del input con botones */
.search-panel-row {
  display: flex;
  gap: 8px;
  align-items: center;
  position: relative;
}

/* input */
#lupa-input {
  flex: 1;
  padding: 12px 14px;
  font-size: 1rem;
  border: 2px solid #e8e8e8;
  border-radius: 6px;
  outline: none;
  transition: box-shadow .18s ease, border-color .18s ease;
}

#lupa-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(212,175,55,0.12);
}

/* clear & close buttons */
.clear-btn, .panel-close-btn {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px 10px;
  color: var(--dark-color);
}

.panel-close-btn { font-size: 1.1rem; }

/* suggestions list */
.suggestions-list {
  margin-top: 12px;
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: 6px;
  overflow: hidden;
  list-style: none;
  padding: 6px 6px;
  box-shadow: 0 8px 30px rgba(10,10,10,0.04);
}

.suggestions-list li {
  padding: 12px 14px;
  border-bottom: 1px solid #f6f6f6;
  cursor: pointer;
  transition: background .12s ease, transform .12s ease;
  display: flex;
  align-items: center;
  gap: 12px;
}

.suggestions-list li:last-child { border-bottom: none; }

.suggestions-list li:hover,
.suggestions-list li.selected {
  background: linear-gradient(90deg, rgba(212,175,55,0.06), rgba(255,255,255,0));
  transform: translateX(2px);
}

.sugg-type {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--primary-color);
  font-weight: 700;
}

.sugg-title { font-weight: 700; color: var(--dark-color); }

.sugg-desc { font-size: 0.9rem; color: #666; margin-top: 4px; }

/* highlight */
.search-highlight {
  background: var(--primary-color);
  color: #0a0a0a;
  padding: 0 2px;
  border-radius: 2px;
}

/* no-results */
.no-results {
  margin-top: 12px;
  padding: 14px;
  border-radius: 6px;
  border: 1px solid #f0f0f0;
  background: #fff;
  color: #666;
  text-align: center;
}

/* responsive adjustments */
@media (max-width: 768px) {
  .search-panel {
    top: 70px;
    padding: 12px;
    left: 8px;
    right: 8px;
    border-radius: 8px;
    max-height: calc(100vh - 100px);
  }
  .search-panel-inner { padding: 6px; }
  #lupa-input { font-size: 0.95rem; padding: 10px; }
  .suggestions-list li { padding: 10px; }
}

/* ======================
   BOTÓN DE LUPA EN HEADER
========================*/
.header-search-btn {
    margin-left: auto;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    color: var(--dark-color);
    font-size: 1.25rem;
    transition: color .25s, transform .2s;
}

.header-search-btn:hover {
    color: var(--primary-color);
    transform: scale(1.12);
}

/* Ajuste para el ícono */
.header-search-btn i {
    pointer-events: none;
}

/* Mobile */
@media (max-width: 768px) {
    .header-search-btn {
        margin-right: 10px;
        font-size: 1.3rem;
    }
}

.didyoumean-box {
  margin: 8px 0;
  padding: 8px 12px;
  background: #fff9f0;
  border: 1px solid rgba(212,175,55,0.12);
  border-radius: 6px;
  font-size: 0.95rem;
  color: #333;
}
.didyoumean-box .didyoumean-btn {
  background: transparent;
  border: none;
  color: var(--primary-color);
  font-weight: 700;
  cursor: pointer;
  margin-left: 6px;
}


/* ===================================================================
   ESTILOS PARA EL BANNER DE COOKIES
   =================================================================== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(34, 34, 34, 0.95); /* Gris oscuro semi-transparente */
    color: #fff;
    padding: 15px 20px;
    z-index: 2000; /* Asegura que esté por encima de todo (incluyendo el modal) */
    transform: translateY(100%); /* Oculto inicialmente (fuera de la pantalla) */
    transition: transform 0.5s ease-out; /* Transición suave para aparecer */
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner.visible {
    transform: translateY(0); /* Muestra el banner */
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-content p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    flex-grow: 1;
}

.cookie-link {
    color: #aad3aa; /* Tono de verde claro */
    text-decoration: underline;
    transition: color 0.2s;
}

.cookie-link:hover {
    color: #fff;
}

.cookie-btn {
    background-color: #0d5107; /* Verde corporativo */
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    flex-shrink: 0; /* Evita que el botón se reduzca en móvil */
    transition: background-color 0.2s ease;
}

.cookie-btn:hover {
    background-color: #093b05;
}

/* Responsive para Móviles */
@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-content p {
        margin-bottom: 10px;
    }
}

/* Estilo para el botón de cierre del modal de Privacidad */
.cerrar-modal-privacidad {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.6rem;
    cursor: pointer;
    color: #222;
    font-weight: bold;
    transition: color 0.2s ease;
}

.cerrar-modal-privacidad:hover {
    color: #0d5107;
}

/* Ajuste si el contenido de la política es muy largo, para que se desplace bien */
.policy-body {
    padding: 0 5px; /* Quita padding extra para maximizar el área de desplazamiento */
}

.fade-in {
  animation: fadeInModal 0.3s ease forwards;
}
@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}


/* Overlay de fondo */
.modal-privacidad-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none; /* Se activa con JS */
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
}

/* Placa de Metal */
.metal-plate {
    background: linear-gradient(145deg, #bdc3c7, #2c3e50); /* Degradado metálico */
    border: 3px solid #7f8c8d;
    box-shadow: inset 0 0 15px rgba(255,255,255,0.3), 0 10px 30px rgba(0,0,0,0.5);
    padding: 40px;
    max-width: 600px;
    width: 90%;
    position: relative;
    color: #f5f5f5; /* Texto claro sobre fondo oscuro */
    border-radius: 2px;
}

/* Botón de cerrar tipo tornillo/industrial */
.cerrar-modal-garantia {
    position: absolute;
    top: 10px; right: 20px;
    font-size: 35px;
    cursor: pointer;
    color: #d4af37; /* Dorado */
    transition: transform 0.3s;
}

.cerrar-modal-garantia:hover {
    transform: rotate(90deg);
}

/* Placa de Metal - Estilo Hoja de Garantía */
.metal-plate {
    background: linear-gradient(145deg, #e6e6e6, #999999);
    border: 4px solid #555;
    padding: 40px;
    position: relative;
    max-width: 650px;
    width: 90%;
    color: #1a1a1a;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.5), 0 20px 50px rgba(0,0,0,0.7);
    z-index: 10001;
}

.metal-plate h2 {
    color: #000;
    text-transform: uppercase;
    border-bottom: 3px solid #d4af37; /* Línea dorada */
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Banner Cookies Luxury */
.cookie-banner-luxury {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(200%);
    width: 90%;
    max-width: 850px;
    background: #111;
    border: 1px solid #d4af37;
    padding: 20px;
    z-index: 10000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.cookie-banner-luxury.visible { transform: translateX(-50%) translateY(0); }

.btn-metal-accept {
    background: #d4af37;
    color: #000;
    border: none;
    padding: 10px 25px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}
/* ============================
   BANNER COOKIES – LUXURY
============================ */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.96);
  border-top: 2px solid var(--primary-color);
  padding: 26px 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.45s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-inner {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
 gap: 40px;
}

.cookie-text {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.8;
}

.cookie-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  margin-left: 5px;
}

.cookie-text a:hover {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.cookie-btn {
  background: transparent;
  border: 1px solid var(--primary-color);
  color: var(--primary-color);
  padding: 10px 26px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
}

.cookie-btn:hover {
  background: var(--primary-color);
  color: var(--dark-color);
}

/* Responsive */
@media (max-width: 768px) {
  .cookie-inner {
    flex-direction: column;
    text-align: center;
  }
}

.modal-privacidad-content {
  background: #111;
  color: #ddd;
  border: 1px solid rgba(212,175,55,0.3);
}

.modal-privacidad-content h2,
.modal-privacidad-content h3 {
  color: var(--primary-color);
}

.cerrar-modal-privacidad {
  color: var(--primary-color);
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 90%;
    max-width: 650px;
    background: #1a1a1a;
    color: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--primary-color);
    z-index: 9999;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cookie-banner.visible {
    transform: translateX(-50%) translateY(0);
}

.cookie-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-btn {
    background: var(--primary-color);
    color: #000;
    padding: 10px 22px;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
}

.cookie-btn.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.cookie-btn:hover {
    opacity: 0.8;
}

.cookie-setting {
    margin-bottom: 20px;
}

.cookie-setting label {
    font-weight: bold;
}

.modal-actions {
    margin-top: 20px;
    text-align: right;
}

.cookies-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 9998;
    display: none;
    pointer-events: all;
}

/* Localiza la clase .hero y asegúrate de que tenga estas propiedades */
.hero {
    background-size: cover;
    background-position: center center; /* Centra la imagen siempre */
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -90px; /* Sube la sección para que la imagen empiece desde el borde superior de la pantalla */
    padding-top: 90px; /* Pero empuja el contenido hacia abajo para que no lo tape el header */
}

/* Ajuste específico para Celulares */
@media (max-width: 992px) {
    .hero {
        height: 60vh; /* En móviles una altura de 60% es más cómoda que el 100% */
        min-height: 400px; /* Evita que se vea muy pequeña */
        background-attachment: scroll; /* El efecto fixed falla en muchos navegadores móviles */
    }

    .hero-content h2 {
        font-size: 1.8rem; /* Tamaño de letra más legible en móvil */
    }
}