/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

/* Header Styles */
.header {
    position: relative;
    background-color: #ffffff;
    z-index: 1002;
    padding: 20px 0 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 15vh;
    max-height: 120px;
    overflow: visible;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    overflow: visible;
}

/* Logo Styles */
.logo {
    flex-shrink: 0;
}

.logo a {
    display: block;
    text-decoration: none;
}

.logo-image {
    height: 70px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

/* Responsive logo sizes */
@media (max-width: 1200px) {
    .logo-image {
        height: 70px;
        max-width: 140px;
    }
}

@media (max-width: 992px) {
    .logo-image {
        height: 65px;
        max-width: 130px;
    }
}

/* Limit header height on large screens */
@media (min-width: 1201px) {
    .header {
        height: 120px;
    }
    
    .dropdown-background {
        top: 120px !important;
        margin-top: -2px;
    }
}

/* Adjust dropdown background for medium screens */
@media (min-width: 769px) and (max-width: 1200px) {
    .dropdown-background {
        top: 15vh;
    }
}

/* Navigation Styles */
.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    overflow: visible;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 80px;
    position: relative;
    overflow: visible;
}

.nav-item {
    position: relative;
    overflow: visible;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    text-decoration: underline;
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: transparent;
    list-style: none;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1002; /* Por encima del fondo blanco (z-index: 1001) */
    padding: 15px 0;
}

/* El hover CSS está deshabilitado - el JavaScript controla el dropdown */
/* .dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
} */

/* Fondo blanco independiente para el dropdown - Mega Menu */
.dropdown-background {
    position: fixed;
    top: 15vh;
    left: 0;
    width: 100vw;
    height: 160px;
    background-color: rgba(255, 255, 255, 0.98);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1001;
    pointer-events: none;
    display: none; /* Oculto por defecto, visible solo en PC */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Mostrar fondo cuando el header tiene la clase dropdown-active - Solo en PC */
@media (min-width: 769px) {
    .dropdown-background {
        display: block; /* Visible en PC */
    }
    
    .header.dropdown-active .dropdown-background {
        opacity: 1;
        visibility: visible;
    }
    
    /* El hover CSS está deshabilitado - el JavaScript controla el dropdown */
    /* @supports selector(:has(*)) {
        .header:has(.dropdown:hover) .dropdown-background {
            opacity: 1;
            visibility: visible;
        }
    } */
}

.dropdown-content {
    display: block;
}

.dropdown-menu li {
    margin-bottom: 2px;
    text-align: left;
}

.dropdown-menu a {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: none;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 0;
}

.dropdown-menu a:hover {
    text-decoration: underline;
}

/* Language Selector */
.language-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
}

/* Hide desktop language selector on mobile, hide mobile on desktop */
.language-selector-desktop {
    display: flex;
}

.language-selector-mobile {
    display: none;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    list-style: none;
    min-width: 60px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
    padding: 10px 0;
    margin-top: 10px;
}

.language-selector:hover .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-dropdown li {
    margin: 0;
    text-align: center;
}

.language-dropdown a {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    display: block;
    padding: 8px 20px;
}

.language-dropdown a:hover {
    background-color: #f5f5f5;
}

/* Mobile Language Selector Styles */
.language-selector-inner {
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-selector-mobile {
    position: relative;
}

.language-dropdown-mobile {
    position: static;
    background-color: #f9f9f9;
    list-style: none;
    padding: 0;
    margin-top: 10px;
    display: none;
    border-radius: 5px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.language-selector-mobile.active .language-dropdown-mobile {
    display: block;
}

.language-dropdown-mobile li {
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
}

.language-dropdown-mobile li:last-child {
    border-bottom: none;
}

.language-dropdown-mobile a {
    color: #000000;
    text-decoration: none;
    font-weight: 400;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    padding: 12px 20px;
    transition: all 0.3s ease;
}

.language-dropdown-mobile a:hover {
    background-color: #f5f5f5;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
    position: relative;
}

.menu-icon, .close-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.close-icon {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

.mobile-menu-toggle.active .menu-icon {
    opacity: 0;
}

.mobile-menu-toggle.active .close-icon {
    opacity: 1;
}

.chevron {
    transition: transform 0.3s ease;
}

.language-selector:hover .chevron {
    transform: rotate(180deg);
}

/* Main Content */
.main-content {
    margin-top: 0;
    padding-top: 0;
}

/* Carousel Styles */
.carousel-section {
    position: relative;
    width: 100%;
    height: 80vh;
    overflow: hidden;
    margin-top: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Carousel Overlay Text */
.carousel-overlay-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    width: 90%;
    max-width: 900px;
}

.carousel-title {
    font-size: 3.5rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    margin-bottom: 1rem;
}

.carousel-subtitle {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
}

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 100;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: transparent;
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: #ffffff;
}

.indicator:hover {
    background-color: rgba(255, 255, 255, 0.9);
}

/* Footer Styles */
.footer {
    background-color: #ffffff;
    padding: 60px 0 40px;
    border-top: 1px solid #f0f0f0;
}

.footer-content {
    text-align: center;
}

.footer-nav {
    margin-bottom: 40px;
}

.footer-nav-list {
    display: flex;
    justify-content: center;
    list-style: none;
    gap: 40px;
    flex-wrap: wrap;
}

.footer-nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.footer-nav-link:hover {
    text-decoration: underline;
}

.footer-chevron {
    transition: transform 0.3s ease;
}

.footer-nav-item:hover .footer-chevron {
    transform: rotate(180deg);
}

.copyright {
    color: #666666;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.copyright a {
    color: #666666;
    text-decoration: underline;
    cursor: pointer;
}

.copyright a:hover {
    color: #333;
}

/* Social Media Links */
.social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    display: block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

/* Privacy Policy Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    position: relative;
}

.modal-content h2 {
    margin: 0;
    padding: 30px 30px 20px 30px;
    font-size: 24px;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.modal-body {
    padding: 20px 30px 30px 30px;
}

.modal-body p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: #555;
    font-size: 14px;
}

.modal-body ul {
    margin: 16px 0;
    padding-left: 20px;
}

.modal-body li {
    margin-bottom: 8px;
    line-height: 1.6;
    color: #555;
    font-size: 14px;
}

.modal-body a {
    color: #007bff;
    text-decoration: underline;
}

.modal-body a:hover {
    color: #0056b3;
}

.close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: none;
    border: none;
    padding: 0;
}

.close:hover,
.close:focus {
    color: #333;
    background-color: #f0f0f0;
    text-decoration: none;
}

/* Mobile Modal Styles */
@media (max-width: 768px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-content h2 {
        padding: 20px 20px 15px 20px;
        font-size: 20px;
    }
    
    .modal-body {
        padding: 15px 20px 20px 20px;
    }
    
    .modal-body p,
    .modal-body li {
        font-size: 13px;
    }
    
    .close {
        top: 10px;
        right: 15px;
        font-size: 24px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nav-list {
        gap: 50px;
    }
    
    .footer-nav-list {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 25px 0;
        height: 15vh;
    }
    
    .header-content {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100%;
    }
    
    .logo {
        flex-shrink: 0;
    }
    
    .logo-image {
        height: 65px !important;
        max-width: 130px !important;
    }
    
    .main-nav {
        display: none !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: #ffffff;
        z-index: 9998;
        padding: 80px 20px 20px;
        overflow-y: auto;
    }
    
    .nav-list {
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .dropdown-menu {
        min-width: 150px;
    }
    
    .dropdown-menu a {
        font-size: 12px;
    }
    
    .language-selector {
        font-size: 12px;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .carousel-section {
        height: 80vh;
        margin-top: 0;
    }
    
    .carousel-title {
        font-size: 2rem;
    }
    
    .carousel-subtitle {
        font-size: 1rem;
    }
    
    .footer {
        padding: 40px 0 30px;
    }
    
    .footer-nav-list {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-nav-link {
        font-size: 12px;
    }
    
    .copyright {
        font-size: 11px;
    }
    
    /* Mobile Menu Styles */
    .mobile-menu-toggle {
        display: flex !important;
        width: 35px;
        height: 35px;
        flex-shrink: 0;
        position: relative;
        z-index: 10000 !important;
    }
    
    .menu-icon, .close-icon {
        width: 100% !important;
        height: 100% !important;
    }
    
    /* Hide desktop language selector on mobile */
    .language-selector-desktop {
        display: none !important;
    }
    
    /* Show mobile language selector in the hamburger menu */
    .language-selector-mobile {
        display: block !important;
    }
    
    .language-selector-inner {
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 15px 0;
        cursor: pointer;
        font-weight: 500;
        font-size: 16px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .language-selector-inner .chevron {
        width: 12px;
        height: 8px;
    }
    
    .main-nav.active {
        display: block !important;
    }
    
    .nav-list {
        flex-direction: column !important;
        gap: 0 !important;
        width: 100% !important;
    }
    
    .nav-item {
        width: 100% !important;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .nav-link {
        display: block !important;
        padding: 15px 0 !important;
        font-size: 16px !important;
        text-align: left !important;
    }
    
    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        background-color: #f9f9f9 !important;
        padding: 0 !important;
        margin: 0 !important;
        box-shadow: none !important;
        width: 100% !important;
        left: auto !important;
        display: none !important;
    }
    
    .dropdown.active .dropdown-menu {
        display: block !important;
    }
    
    .dropdown-menu li {
        margin-bottom: 0;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .dropdown-menu a {
        padding: 12px 20px;
        font-size: 14px;
        display: block;
    }
    
    /* Hide white background on mobile */
    .dropdown-background {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .logo-image {
        height: 55px !important;
        max-width: 110px !important;
    }
    
    .main-nav {
        width: 100%;
    }
    
    /* Hide desktop language selector on mobile */
    .language-selector-desktop {
        display: none !important;
    }
    
    /* Show mobile language selector in the hamburger menu */
    .language-selector-mobile {
        display: block !important;
    }
    
    .language-selector-inner {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 12px 0;
        cursor: pointer;
        font-weight: 500;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .language-selector-inner .chevron {
        width: 10px;
        height: 7px;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    
    .nav-item {
        width: 100%;
    }
    
    .nav-link {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-background {
        display: none !important; /* Ocultar fondo blanco en móviles */
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #ffffff;
        padding: 15px 0;
        margin-top: 10px;
        border-radius: 5px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        width: 100%;
        left: auto;
        display: block;
        top: auto;
    }
    
    .dropdown-menu li {
        margin-bottom: 2px;
    }
    
    .dropdown-content {
        padding-left: 20px;
    }
    
    .dropdown-menu li {
        margin-bottom: 5px;
    }
    
    .dropdown-menu a {
        padding: 8px 15px;
        display: block;
    }
    
    .main-content {
        margin-top: 0;
    }
    
    .carousel-section {
        height: 70vh;
    }
    
    .carousel-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .carousel-subtitle {
        font-size: 0.9rem;
    }
    
    .carousel-indicators {
        bottom: 20px;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .footer-nav-list {
        gap: 15px;
    }
    
    .footer-nav-item {
        flex-direction: column;
        gap: 5px;
    }
}

/* Smooth transitions for all interactive elements */
* {
    transition: all 0.3s ease;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Focus styles for accessibility */
.nav-link:focus,
.footer-nav-link:focus,
.indicator:focus {
    outline: 2px solid #000000;
    outline-offset: 2px;
}

/* Loading animation for images */
.slide img {
    transition: opacity 0.5s ease;
}

.slide img[src=""] {
    opacity: 0;
}

/* === PÁGINAS DE PRODUCTOS === */
.product-page {
    margin-top: 15vh;
    padding: 2rem 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.product-page h1 {
    font-size: 3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
}

.product-page p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .product-page {
        margin-top: 15vh;
        padding: 1rem 0;
        min-height: 80vh;
    }
    
    .product-page h1 {
        font-size: 2rem;
    }
    
    .product-page p {
        font-size: 1rem;
        padding: 0 1rem;
    }
}

/* === PRODUCTS PAGE SPECIFIC === */
.products-page .main-content {
    margin-top: 0;
    padding-top: 1rem;
}

.products-page .breadcrumb {
    margin: 2rem 0 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .products-page .main-content {
        margin-top: 0;
        padding-top: 0;
    }
}

@media (max-width: 480px) {
    .products-page .main-content {
        margin-top: 0;
        padding-top: 0;
    }
}

/* === BREADCRUMB === */
.breadcrumb {
    margin: 2rem 0 1rem 0;
    font-size: 0.9rem;
    color: #666;
}

@media (max-width: 768px) {
    .breadcrumb {
        margin: 1rem 0 0.5rem 0;
    }
}

.breadcrumb a {
    color: #333;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

/* === PRODUCTS GRID === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    padding-top: 0.5rem;
}

.product-card {
    background: white;
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.product-card a {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.product-title {
    padding: 1rem;
    font-size: 14px;
    font-weight: 500;
    color: #000000;
    text-align: left;
    letter-spacing: 0.5px;
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-title {
        font-size: 14px;
        font-weight: 500;
        padding: 0.8rem;
        text-align: left;
        letter-spacing: 0.5px;
    }
}

/* === FORMULARIO DE CONTACTO === */

/* Contenedor principal del formulario */
.contact-form {
    max-width: 800px;
    margin: 0 auto;
    background: #F9F9F9;
    padding: 3rem 3rem;
    border: 1px solid #B0B0B0;
}

/* Contacto: bloque informativo (sin formulario) */
.contact-info-card {
    max-width: 800px;
    margin: 0 auto;
    background: #F9F9F9;
    padding: 3rem 3rem;
    border: 1px solid #B0B0B0;
    box-sizing: border-box;
}

.contact-info-card h2 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    color: #222;
    font-weight: 500;
}

.contact-info-card p {
    margin: 0.5rem 0;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
}

.contact-info-card a {
    color: #007BFF;
    text-decoration: none;
}

.contact-info-card a:hover {
    color: #0056b3;
    text-decoration: underline;
}

.contact-section--info-only {
    display: flex;
    justify-content: center;
    align-items: stretch;
}
  
  /* Sección de contacto */
  .contact-section {
    margin-top: 0;
    background-color: #F9F9F9;
    padding: 2rem 2rem;
  }
  
  /* Filas del formulario */
  .form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
  }
  
  /* Grupos de campos */
  .form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
  
  /* Etiquetas de los campos */
  .form-group label {
    font-weight: 600;
    color: #222;
    margin-bottom: 0.5rem;
    font-size: 1rem;
  }
  
  /* Campos de entrada y textarea */
  .form-group input,
  .form-group textarea {
    padding: 0.9rem 1rem;
    border: 1px solid #ccc;
    font-size: 1rem;
    font-family: 'MONTSERRAT', serif;
    font-weight: 300;
    background-color: #FAFAFA;
    transition: border-color 0.3s, box-shadow 0.3s;
  }
  
  /* Estados de foco */
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: #007BFF;
    outline: none;
  }
  
  /* Textarea redimensionable */
  textarea {
    resize: vertical;
  }
  
  /* Checkbox personalizado */
  .form-group.checkbox {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
  }
  
  .form-group.checkbox label {
    margin: 0;
    font-weight: 500;
    font-size: 0.95rem;
  }
  
  .form-group.checkbox a {
    color: #007BFF;
    text-decoration: underline;
  }
  
  .form-group.checkbox a:hover {
    color: #0056b3;
  }
  
  /* Botón de envío */
  .btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #222;
    border: 1.5px solid #222;
    padding: 0.75rem 2rem;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .btn-submit:hover {
    background-color: #222;
    color: #FAFAFA;
  }
  
  /* Fila alineada verticalmente */
  .form-row.alineado-vertical {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2rem;
  }
  
  /* Información de contacto vertical */
  .contact-info-vertical {
    padding-left: 0.3rem;
    max-width: 600px;
  }
  
  .contact-info-vertical h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #222;
    font-weight: 500;
  }
  
  .contact-info-vertical p {
    margin: 0.3rem 0;
    font-size: 1rem;
    color: #444;
    line-height: 1.6;
  }
  
  .contact-info-vertical a {
    color: #007BFF;
    text-decoration: none;
  }
  
  .contact-info-vertical a:hover {
    color: #0056b3;
  }
  
  /* Forzar alineación vertical en formularios */
  form .form-row.alineado-vertical {
    display: flex;
    flex-direction: column !important;
    align-items: flex-start;
    width: 100%;
    gap: 2rem;
  }
  
  /* === RESPONSIVE === */
  @media (max-width: 768px) {
    .contact-info-card {
      padding: 1.5rem 1rem;
      margin: 0 1rem;
    }

    .contact-form {
      padding: 0 1rem;
      margin: 0 auto;
    }
    
    .form-row.alineado-vertical {
      align-items: stretch;
    }
    
    .form-row {
      flex-direction: column;
    }
    
    .btn-submit {
      display: block !important;
      margin-left: auto !important;
      margin-right: auto !important;
      text-align: center !important;
    }
    
    .contact-info-vertical p {
      text-align: center !important;
    }
  }

/* === MANIFIESTO PAGE === */
.manifesto-hero {
    width: 100%;
    height: 55vh;
    background-size: cover;
    background-position: center;
    background-image: url('../images/foto1.webp');
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.manifesto-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    pointer-events: none;
}

.manifesto-hero .hero-title {
    font-size: 4rem;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 1;
}

.manifesto-section {
    padding: 4rem 0;
}

.manifesto-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Section 1: Text + Image (50/50) */
.manifesto-section-text-image {
    background-color: #ffffff;
}

.manifesto-section-text-image .manifesto-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
    height: 450px;
}

.manifesto-section-text-image.manifesto-section-text-image--reverse .manifesto-container {
    flex-direction: row-reverse;
}

.manifesto-text-half {
    flex: 1;
    overflow-y: auto;
    padding-right: 15px;
}

.manifesto-image-half {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.manifesto-text-half h2.manifesto-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manifesto-text-half p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.manifesto-text-half p + p {
    margin-top: 1.25rem;
}

.manifesto-image-half img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

/* Section 2: Slogan */
.manifesto-slogan {
    background-color: #f9f9f9;
    text-align: center;
}

.manifesto-slogan-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
}

/* Section 3: Photo + Text + Photo */
.manifesto-section-three-col .manifesto-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

.manifesto-image-col {
    flex: 1;
    overflow: hidden;
}

.manifesto-text-col {
    flex: 1;
}

.manifesto-image-col img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.manifesto-section-three-col .manifesto-image-col {
    min-height: 300px;
}

.manifesto-text-col h2.manifesto-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.manifesto-text-col p {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

/* Section 4: Text + Photo + Photo */
.manifesto-section-text-two-images .manifesto-container {
    display: flex;
    gap: 2rem;
    align-items: stretch;
}

/* Responsive para Manifiesto */
@media (max-width: 1024px) {
    .manifesto-hero .hero-title {
        font-size: 3rem;
    }
    
    .manifesto-section-text-image .manifesto-container,
    .manifesto-section-three-col .manifesto-container,
    .manifesto-section-text-two-images .manifesto-container {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .manifesto-hero {
        height: 50vh;
    }
    
    .manifesto-hero .hero-title {
        font-size: 2rem;
        letter-spacing: 2px;
    }
    
    .manifesto-section {
        padding: 2rem 0;
    }
    
    .manifesto-text-half h2.manifesto-title,
    .manifesto-text-col h2.manifesto-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .manifesto-text-half p,
    .manifesto-text-col p {
        font-size: 0.95rem;
    }
    
    .manifesto-slogan-text {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .manifesto-section-text-image .manifesto-container,
    .manifesto-section-three-col .manifesto-container,
    .manifesto-section-text-two-images .manifesto-container {
        flex-direction: column;
        gap: 1.5rem;
        height: auto;
    }

    .manifesto-section-text-image.manifesto-section-text-image--reverse .manifesto-container {
        flex-direction: column-reverse;
    }
    
    .manifesto-text-half {
        overflow: visible;
        padding-right: 0;
    }
    
    .manifesto-image-half {
        min-height: 300px;
        height: auto;
    }
    
    .manifesto-image-half img {
        height: auto;
        max-height: none;
    }
}

@media (max-width: 480px) {
    .manifesto-hero {
        height: 40vh;
    }
    
    .manifesto-hero .hero-title {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .manifesto-section {
        padding: 1.5rem 0;
    }
    
    .manifesto-container {
        padding: 0 15px;
    }
}

/* === BLOG ENTRY PAGE === */
.blog-entry-page {
    margin-top: 0;
    padding: 4rem 0;
    min-height: 80vh;
}

.blog-entry-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 30px;
}

.blog-entry-header {
    margin-bottom: 3rem;
    text-align: left;
}

.blog-entry-title {
    font-size: 2.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
}

.blog-entry-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
    font-weight: 400;
}

.blog-entry-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.blog-entry-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
}

.blog-entry-content h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 2.25rem 0 0.85rem;
    line-height: 1.35;
}

.blog-entry-content h2:first-of-type {
    margin-top: 0;
}

.blog-entry-content .blog-entry-image-container + h2 {
    margin-top: 2rem;
}

.blog-entry-image-container {
    margin: 2.5rem 0;
    width: 100%;
}

.blog-entry-image-full {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@media (max-width: 768px) {
    .blog-entry-page {
        padding: 2rem 0;
    }
    
    .blog-entry-container {
        padding: 0 20px;
    }
    
    .blog-entry-title {
        font-size: 2rem;
    }
    
    .blog-entry-content {
        font-size: 0.95rem;
    }
    
    .blog-entry-image-container {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .blog-entry-title {
        font-size: 1.5rem;
    }
    
    .blog-entry-content {
        font-size: 0.9rem;
    }
    
    .blog-entry-image-container {
        margin: 1.5rem 0;
    }
}

/* =========================================================
   HERO CTA BUTTONS (sobre el carrusel del index)
   ========================================================= */
.hero-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.hero-cta-button {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    background: transparent;
    border: 1px solid #ffffff;
    border-radius: 0;
    padding: 0.85rem 1.75rem;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-cta-button:hover,
.hero-cta-button:focus {
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    outline: none;
}

/* Variante oscura (mismo marco/tipografía que hero CTA) */
.hero-cta-button--dark {
    color: #111111;
    background: transparent;
    border-color: #111111;
    text-shadow: none;
}

.hero-cta-button--dark:hover,
.hero-cta-button--dark:focus {
    background-color: rgba(0, 0, 0, 0.08);
    color: #111111;
    outline: none;
}

.manifesto-text-half .manifesto-cta-wrap {
    display: flex;
    justify-content: flex-start;
    margin-top: 1.5rem;
}

@media (max-width: 600px) {
    .hero-cta-buttons {
        gap: 0.75rem;
        margin-top: 2.25rem;
    }
    .hero-cta-button {
        font-size: 0.8rem;
        padding: 0.7rem 1.25rem;
        letter-spacing: 1px;
    }
}

/* =========================================================
   SECCIÓN: REJILLA DE COLECCIONES (final del index)
   ========================================================= */
.collections-grid-section {
    background-color: #ffffff;
    padding: 4rem 0 5rem;
}

.collections-grid-section .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

.collections-grid-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 2.5rem;
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.collection-square {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    text-decoration: none;
    color: #ffffff;
    background-color: #1a1a1a;
}

.collection-square img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.45s ease;
}

.collection-square:hover img,
.collection-square:focus img {
    transform: scale(1.05);
}

.collection-square::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.65) 100%);
    pointer-events: none;
}

.collection-name {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    padding: 1.25rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.15rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    margin: 0;
}

@media (max-width: 900px) {
    .collections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    .collections-grid-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 520px) {
    .collections-grid {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }
    .collection-name {
        font-size: 1rem;
        padding: 1rem 1.1rem;
    }
}

/* =========================================================
   ENCABEZADO DE PÁGINAS DE COLECCIÓN (H1 + H2)
   ========================================================= */
.products-header {
    text-align: center;
    margin: 1.5rem auto 2.5rem;
    padding: 0 1rem;
}

.products-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 0.5rem;
}

.products-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #666;
    margin: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .products-title { font-size: 1.5rem; }
    .products-subtitle { font-size: 0.9rem; }
}

/* =========================================================
   ENCABEZADO DE LA PÁGINA DE CONTACTO
   ========================================================= */
.contact-header {
    text-align: center;
    margin: 1.5rem auto 2rem;
    padding: 0 1rem;
}

.contact-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.25rem;
    font-weight: 600;
    color: #333;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0;
}

@media (max-width: 600px) {
    .contact-title { font-size: 1.5rem; }
}