/* Core Reset and Variables */
:root {
    --primary-color: #0b4372; /* Imbera Blue updated */
    --accent-color: #00a651; /* Green line color */
    --text-color: #333333;
    --header-bg: #ffffff;
    --nav-bg: #0b4372; /* New Navy Blue */
    --bg-light: #f4f4f4;
    --white: #ffffff;
    --shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    --border-radius: 20px;
    --transition: all 0.3s ease-in-out;
    --max-width: 90%;
}

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

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text-color);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.container-narrow {
    max-width: 80%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Sections */
#main-header {
    background: var(--header-bg);
    width: 100%;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0; /* Reduced from 10px or higher */
}

.logo img {
    height: 50px; /* Reduced to a more balanced size */
    transition: var(--transition);
}

.search-box {
    flex: 0 1 500px;
    position: relative;
}

.search-form {
    display: flex;
    background: var(--bg-light);
    border-radius: 25px;
    padding: 2px 15px; /* Reduced from 5px */
    border: 1px solid transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-form:focus-within {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(11, 67, 114, 0.12);
    background: #ffffff;
}

.search-form input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 9px 8px;
    font-size: 14px;
    outline: none;
}

.search-form button {
    background: transparent;
    border: none;
    cursor: pointer;
    color: #666;
    padding: 0 6px;
    transition: color 0.2s ease;
}

.search-form button:hover {
    color: var(--primary-color);
}

/* Floating Autocomplete Dropdown */
.search-autocomplete-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border: 1px solid #e2e8f0;
    max-height: 380px;
    overflow-y: auto;
    z-index: 2000;
    display: none;
}

.search-autocomplete-dropdown.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: #0f172a;
    transition: background-color 0.18s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background-color: #f8fafc;
}

.search-result-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 6px;
    background: #f8fafc;
    padding: 2px;
    flex-shrink: 0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-result-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-sku {
    font-size: 11.5px;
    color: #64748b;
    margin-top: 2px;
}

.search-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    font-family: 'Montserrat', sans-serif;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary-color);
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-decoration: none;
    transition: background 0.2s;
}

.search-view-all:hover {
    background: #edf2f7;
    color: #002244;
}

.search-no-results {
    padding: 18px 16px;
    text-align: center;
    font-size: 13px;
    color: #94a3b8;
}

.region-btn {
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    transition: var(--transition);
}

.region-btn:hover {
    background: var(--bg-light);
    border-color: #ccc;
}

/* Navigation Menu */
#navbar {
    background-color: var(--nav-bg);
    padding: 0;
    border-bottom: 5px solid var(--accent-color); /* Green bottom line */
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 50px; /* Increased from 30px */
}

.nav-links > li > a,
.nav-links .mobile-nav-link-row > a,
#link-productos {
    color: #ffffff !important;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 15px 0;
    font-weight: 600;
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    text-transform: none;
    text-decoration: none;
    transition: color 0.22s ease, opacity 0.22s ease;
}

.nav-links > li > a:hover,
.nav-links .mobile-nav-link-row > a:hover,
.nav-links > li.has-megamenu:hover .mobile-nav-link-row > a,
.nav-links > li.has-megamenu:hover #link-productos,
#link-productos:hover {
    color: #22c55e !important; /* Verde claro visible */
    opacity: 1 !important;
}

.nav-links .desktop-arrow {
    font-size: 11px;
    transition: transform 0.22s ease, color 0.22s ease;
    color: inherit;
}

.nav-links > li.has-megamenu:hover .desktop-arrow {
    transform: rotate(180deg);
    color: #22c55e !important;
}

.nav-links > li.active > a,
.nav-links > li.active .mobile-nav-link-row > a {
    color: #22c55e !important;
}

/* Dropdown Menu */
.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 270px; /* Wider to comfortably fit 'Sierras y rebanadoras' */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 12px 12px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 999;
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown li {
    width: 100%;
}

.dropdown li a {
    display: block;
    padding: 13px 22px;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-color);
    white-space: nowrap; /* Prevents wrapping and layout breaks */
    font-size: 14px;
    font-weight: 500;
}

.dropdown li:last-child a {
    border-bottom: none;
    border-radius: 0 0 12px 12px;
}

.dropdown li a:hover {
    background: #f8fafc;
    padding-left: 28px;
    color: var(--primary-color);
}

/* ==========================================================================
   MEGA MENU SYSTEM (Clean, Multi-Column Minimalist Hierarchy)
   Emulating reference design: bold titles, subtle underlines, clean text links
   ========================================================================== */
.has-megamenu {
    position: static !important; /* Panel aligns with the full navbar width */
}

#navbar {
    position: relative;
}

.megamenu-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #ffffff;
    border-top: 3px solid var(--primary-color);
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    padding: 35px 0 40px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease-in-out, visibility 0.22s ease-in-out;
    z-index: 9999;
}

.has-megamenu:hover .megamenu-panel {
    opacity: 1;
    visibility: visible;
}

.megamenu-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 28px;
    align-items: start;
}

.mega-col {
    display: flex;
    flex-direction: column;
}

.mega-col-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 8px;
    margin-bottom: 12px;
    transition: border-color 0.25s ease;
}

.mega-col:hover .mega-col-header {
    border-bottom-color: var(--accent-green);
}

.mega-title {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    text-decoration: none;
    line-height: 1.25;
    transition: color 0.25s ease;
}

.mega-title:hover {
    color: var(--accent-green) !important;
}

.mega-title.static-title {
    cursor: default;
}

.mega-title.static-title:hover {
    color: var(--primary-color) !important;
}

.mega-toggle-icon {
    display: none; /* Only visible on mobile/tablet accordion */
}

.mega-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.mega-list li a {
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 400 !important;
    color: #4b5563 !important;
    text-decoration: none;
    display: block;
    padding: 2px 0;
    line-height: 1.45;
    transition: color 0.2s ease;
}

.mega-list li a:hover {
    color: var(--accent-green) !important;
}

/* ==========================================================================
   CERTIFICACIONES SECTION (Pure White Background & Large Centered Display)
   ========================================================================== */
#certificaciones {
    background-color: #ffffff !important;
    padding: 70px 0 85px;
    border-top: 1px solid #f1f5f9;
}

.cert-main-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 14px 0 14px;
    line-height: 1.2;
    text-align: center;
}

.cert-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    color: #64748b;
    max-width: 760px;
    margin: 0 auto 40px;
    line-height: 1.6;
    text-align: center;
}

.certificaciones-container {
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

.certificaciones-link {
    display: block;
    width: 100%;
    text-decoration: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.certificaciones-link:hover {
    transform: translateY(-2px);
    opacity: 0.95;
}

.certificaciones-img-large {
    width: 100%;
    max-width: 1240px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
    border: none;
    box-shadow: none;
}

/* Category Sidebar Tree & Filter Styles */
.cat-tree {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cat-item {
    margin-bottom: 6px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 6px;
}

.cat-parent-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-parent-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
    padding: 6px 0;
    transition: var(--transition);
}

.cat-parent-link:hover,
.cat-parent-link.selected {
    color: var(--primary-color);
}

.btn-toggle-sub {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    font-size: 11px;
    padding: 6px;
    transition: var(--transition);
}

.btn-toggle-sub:hover {
    color: var(--primary-color);
}

.sub-cat {
    list-style: none;
    padding-left: 12px;
    margin: 6px 0 10px;
    border-left: 2px solid #e2e8f0;
}

.sub-cat li a {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    padding: 4px 0;
    display: block;
    transition: var(--transition);
}

.sub-cat li a:hover,
.sub-cat li a.selected {
    color: #00a651;
    font-weight: 600;
    padding-left: 4px;
}

.grid-capacity-badge {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
}

/* Responsive Mega Menu */
@media (max-width: 992px) {
    .megamenu-panel {
        position: static;
        box-shadow: none;
        padding: 15px;
        border-top: none;
        max-height: 400px;
        overflow-y: auto;
    }

    .megamenu-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Hero Section */
#hero {
    margin-top: 30px;
}

.carousel-container {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    height: 500px;
}

.carousel-track {
    display: block; /* Using opacity instead of horizontal sliding track */
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    width: 100%; /* Back to 100% for absolute positioning within track */
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out; /* Smooth fade animation */
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-slide picture,
.carousel-slide-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.carousel-slide-link.no-click {
    cursor: default;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Back to cover for full filling */
}

.carousel-content {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    color: var(--white);
    max-width: 500px;
    z-index: 2;
}

.carousel-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

/* Slide Overlay removed as per user request */
/* .carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
} */

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    padding: 12px 30px;
    border-radius: 30px;
    color: var(--white);
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: var(--transition);
}

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

/* Carousel Buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: none;
    color: var(--white);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

.prev { left: 20px; }
.next { right: 20px; }

/* Carousel Indicators */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.indicator.active {
    background: var(--white);
    width: 30px;
    border-radius: 10px;
}

/* Section Utilities */
.section-padding {
    padding: 80px 0;
}

.bg-white {
    background-color: var(--white);
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-accent-light {
    background-color: #eef6fc; /* Light blueish background */
}

.bg-navy {
    background-color: #0b4372; /* Darker navy */
}

.text-white { color: var(--white); }
.text-green { color: #00a651; }

.bg-green {
    background-color: #00a651;
}

.container-medium {
    max-width: 900px;
}

/* About / Intro Section Special Adjustment */
#about {
    padding: 20px 0; /* Even more compact */
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}

.section-title-large {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color); /* Navy Blue */
    line-height: 1.1;
    margin-bottom: 25px;
}

.section-description {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-outline-small {
    display: inline-block;
    padding: 8px 25px;
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

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

.about-image img {
    width: 100%;
    /* Shadow and radius removed as requested */
}

/* Benefits Section */
.section-title-center {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px; /* Tighter gap like image */
}

.benefit-card {
    border-radius: 20px;
    padding: 25px;
    color: var(--white);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 280px;
    transition: var(--transition);
}

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

.card-green {
    background-color: #00a651;
}

.card-blue {
    background-color: #1b75bb;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.benefit-icon-v2 {
    font-size: 32px;
}

.card-arrow {
    font-size: 20px;
    opacity: 0.8;
}

.benefit-card h3 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 15px;
    margin-top: auto;
}

.benefit-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* New Products Section Slider */
.product-slider-wrapper {
    overflow: hidden;
    padding: 10px 0;
    position: relative;
}

.product-slider {
    display: flex;
    gap: 22px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 4px 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.product-slider::-webkit-scrollbar {
    display: none;
}

.product-card {
    flex: 0 0 calc(25% - 17px);
    min-width: 260px;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px rgba(0, 45, 98, 0.12);
    border-color: #cbd5e1;
}

.product-image {
    padding: 24px 20px 10px;
    background: #ffffff;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-info {
    padding: 15px 20px 20px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.product-info h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: #002D62;
    line-height: 1.3;
}

.product-info .product-subtitle {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.4;
}

.product-info .product-sku {
    font-size: 12.5px;
    color: #94a3b8;
    margin: 4px 0 0;
}

.product-info .product-sku strong {
    color: #475569;
}

@media (max-width: 1100px) {
    .product-card {
        flex: 0 0 calc(33.333% - 15px);
    }
}

@media (max-width: 820px) {
    .product-card {
        flex: 0 0 calc(50% - 11px);
    }
}

@media (max-width: 540px) {
    .product-card {
        flex: 0 0 85%;
    }
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 40px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: var(--transition);
}

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

/* Responsive slider updates */
@media (max-width: 992px) {
    .product-slider {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .product-slider {
        grid-template-columns: 1fr;
    }
}

/* Unidades de Negocio Grid Section */
.unidades-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.unidad-item {
    position: relative;
    overflow: hidden;
    border-radius: 15px; /* Rounded corners */
    aspect-ratio: 2 / 1; /* Horizontal rectangle */
    width: 100%; /* Ensure it takes grid column width */
    max-height: 250px; /* Reduced max-height for better fit */
    background: var(--white);
    transition: var(--transition);
}

.unidad-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.unidad-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.unidad-item:hover img {
    transform: scale(1.1); /* Simple scale animation */
}
@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-title-large {
        font-size: 36px;
    }

    .benefits-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .unidades-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Stats Section */
#stats {
    padding: 100px 0;
    font-family: 'Montserrat', sans-serif;
}

.stats-main-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 400; /* Regular part */
    margin-bottom: 70px;
    text-align: center;
}

.stats-main-title span {
    font-weight: 700; /* Bold part of title */
}

.stats-main-title span.text-green,
.text-green {
    color: #4CAF50 !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 80px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 64px;
    font-weight: 700; /* Montserrat Bold */
    color: #4CAF50; /* Brighter green for numbers in image */
    display: block;
    margin-bottom: 20px;
}

.stat-label {
    font-size: 15px;
    font-weight: 400; /* Regular */
    opacity: 0.92;
    line-height: 1.45;
    max-width: 240px;
    margin: 0 auto;
}

.stats-footer-text {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 1.6;
    font-weight: 400; /* Regular */
}

/* Responsive stats */
@media (max-width: 992px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-number {
        font-size: 48px;
    }
}

@media (max-width: 600px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-main-title {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .benefit-card {
        min-height: auto;
    }

    .unidades-grid {
        grid-template-columns: 1fr;
    }
    
    .carousel-container {
        height: 380px;
        max-height: 92vw;
        border-radius: 14px;
    }
    
    .section-padding {
        padding: 50px 0;
    }
    
    .section-title-center {
        font-size: 24px;
        margin-bottom: 40px;
    }
    
    .container-narrow {
        max-width: 90%;
    }
}

/* CTA / Contact Form Section */
#cta-form {
    padding: 100px 0;
}

.cta-title {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 20px;
    font-family: 'Montserrat', sans-serif;
    text-align: center;
    color: var(--white);
}

.cta-desc {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 50px;
    opacity: 0.95;
    line-height: 1.6;
    text-align: center;
    color: var(--white);
}

.main-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: left;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--white);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    transition: var(--transition);
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(11, 67, 114, 0.1);
}

.btn-submit {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 18px 60px;
    border: none;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    margin-top: 20px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-submit:hover {
    background-color: #0d548f;
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* Responsive CTA */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .main-form {
        padding: 30px 20px;
    }
    
    .cta-title {
        font-size: 32px;
    }
}

/* Footer Styling */
.main-footer {
    background-color: var(--white);
    padding: 80px 0 0;
    border-top: 1px solid #efefef;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 60px;
}

.footer-col h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 25px;
    color: #1a1a1a;
}

.footer-logo {
    height: 45px;
    margin-bottom: 15px;
}

.contact-details p {
    font-size: 14px;
    color: #0b4372;
    margin-bottom: 8px;
}

.contact-details p i {
    width: 20px;
    font-size: 16px;
    color: #1b75bb;
}

.contact-details a {
    color: #1b75bb;
}

.newsletter-form {
    display: flex;
    border: 1px solid #1b75bb; /* Border as shown in image */
    border-radius: 4px;
    overflow: hidden;
    max-width: 350px;
}

.newsletter-form input {
    flex-grow: 1;
    border: none;
    padding: 10px 15px;
    font-size: 14px;
    font-family: 'Outfit', sans-serif;
    color: #666;
}

.newsletter-form button {
    background-color: #f8fbfe;
    color: #0b4372;
    border: none;
    border-left: 1px solid #1b75bb;
    padding: 0 15px;
    font-weight: 700;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: #0b4372;
    color: var(--white);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 14px;
    color: #1b75bb;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background-color: #1b75bb; /* Social icon blue */
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background-color: #f9f9f9;
    padding: 25px 0;
    border-top: 1px solid #efefef;
}

.footer-bottom p {
    font-size: 11px;
    color: #999;
    line-height: 1.8;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Responsive Footer */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-col {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .newsletter-form {
        margin: 0 auto;
    }
}

/* Category Page Styles */
.category-hero {
    padding: 40px 0;
    color: var(--white);
    background-color: var(--primary-color);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.breadcrumbs {
    font-size: 13px;
    margin-bottom: 5px;
    text-align: center;
    opacity: 0.8;
}

.category-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.1) 0%, transparent 70%);
}

.breadcrumbs {
    font-size: 14px;
    margin-bottom: 20px;
}

.breadcrumbs a {
    color: var(--white);
    opacity: 0.8;
}

.category-title {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.main-category-label {
    font-size: 48px;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0,0,0,0.1);
    margin: 0;
    text-align: center;
}

.category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
    margin-top: 0; /* Removed large gap */
}

/* Category Grid Section specific padding adjustment */
.category-section {
    padding: 30px 0 80px;
}

/* Sidebar & Filters */
.category-sidebar {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    position: sticky;
    top: 100px;
    z-index: 10;
}

.filter-group {
    margin-bottom: 35px;
}

.filter-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #333;
}

.price-range input[type="range"] {
    width: 100%;
    margin-bottom: 15px;
}

.price-labels {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.btn-clear {
    width: 100%;
    padding: 10px;
    background: #f8fbfe;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-clear:hover {
    background: var(--primary-color);
    color: #fff;
}

.cat-tree {
    list-style: none;
}

.cat-tree li {
    margin-bottom: 15px;
}

.cat-tree a {
    color: #444;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
}

.cat-tree li.active > a {
    font-weight: 700;
    color: var(--primary-color);
}

.sub-cat {
    list-style: none;
    padding-left: 15px;
    margin-top: 10px;
}

.sub-cat li {
    font-size: 14px;
    margin-bottom: 10px;
}

.sub-cat li a {
    color: #777;
}

.sub-cat li.active a {
    color: var(--accent-color);
    font-weight: 600;
}

/* Catalog Grid */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.results-count {
    font-size: 14px;
    color: #888;
}

.sort-options select {
    padding: 8px 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-family: 'Outfit', sans-serif;
    outline: none;
}

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

.catalog-item {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    text-align: center;
    border: 1px solid #f2f2f2;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.catalog-item:hover,
.catalog-item:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border-color: var(--accent-color);
    outline: none;
}

.item-img {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.item-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.item-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    color: #333;
    text-transform: uppercase;
    transition: color 0.22s ease;
}

.catalog-item:hover .item-info h3 {
    color: var(--primary-color);
}

.item-info p {
    font-size: 13px;
    color: #999;
    margin-bottom: 25px;
}

.btn-view {
    display: inline-block;
    padding: 10px 30px;
    background: #fff;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    transition: var(--transition);
    text-decoration: none;
}

.btn-view:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Category Responsive */
@media (max-width: 1200px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .category-layout {
        grid-template-columns: 1fr;
    }
    
    .category-sidebar {
        display: none; /* Hide for mobile filter button implementation */
    }
}

@media (max-width: 600px) {
    .catalog-grid {
        grid-template-columns: 1fr;
    }
    
    .category-title {
        font-size: 32px;
    }
}

/* ==========================================================================
   PRODUCT DETAIL PAGE STYLES (producto.html)
   ========================================================================== */
.product-breadcrumb-bar {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 14px 0;
}

.breadcrumb-trail {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #64748b;
    list-style: none;
    flex-wrap: wrap;
}

.breadcrumb-trail a {
    color: var(--primary-color);
    font-weight: 500;
}

.breadcrumb-trail a:hover {
    text-decoration: underline;
}

.breadcrumb-trail i {
    font-size: 10px;
    color: #94a3b8;
}

.breadcrumb-trail .current {
    color: #1e293b;
    font-weight: 600;
}

.product-detail-section {
    padding: 40px 0 80px;
}

.product-layout-grid {
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 50px;
    align-items: start;
}

/* Gallery Left Column */
.product-gallery-col {
    position: sticky;
    top: 90px;
}

.main-image-wrapper {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.main-image-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: opacity 0.25s ease-in-out;
}

.image-loader-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #f8fafc;
    border-radius: 12px;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.image-loader-placeholder.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

/* Skeleton Shimmer Loading States */
.skeleton-shimmer {
    position: relative;
    overflow: hidden;
    background: #e2e8f0 !important;
    border-radius: 6px;
    color: transparent !important;
    min-height: 1em;
    display: inline-block;
}

.skeleton-shimmer::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.45) 30%,
        rgba(255, 255, 255, 0.7) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: skeleton-shimmer-anim 1.4s infinite;
    content: '';
}

@keyframes skeleton-shimmer-anim {
    100% {
        transform: translateX(100%);
    }
}

.skeleton-bullet {
    height: 16px;
    width: 80%;
    margin-bottom: 12px;
    background: #e2e8f0;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    list-style: none !important;
}

.skeleton-bullet::before {
    display: none !important;
}

.skeleton-bullet::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    transform: translateX(-100%);
    background-image: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0,
        rgba(255, 255, 255, 0.45) 30%,
        rgba(255, 255, 255, 0.7) 60%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: skeleton-shimmer-anim 1.4s infinite;
    content: '';
}

.badge-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #00a651;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    padding: 6px 14px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 166, 81, 0.3);
}

.product-warranty-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #f0fdf4;
    border: 1.5px solid #86efac;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 18px;
    box-shadow: 0 2px 8px rgba(0, 166, 81, 0.08);
}

.product-warranty-banner .warranty-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #00a651;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.product-warranty-banner .warranty-info {
    display: flex;
    flex-direction: column;
}

.product-warranty-banner .warranty-info strong {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: #14532d;
}

.product-warranty-banner .warranty-info span {
    font-size: 12.5px;
    color: #166534;
    margin-top: 3px;
    font-weight: 500;
}

.thumbnail-strip {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.thumb-btn {
    flex: 1;
    height: 90px;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.thumb-btn img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.thumb-btn:hover,
.thumb-btn.active {
    border-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(11, 67, 114, 0.15);
}

/* Info Right Column */
.product-header-block {
    padding-bottom: 20px;
    border-bottom: 2px solid #edf2f7;
    margin-bottom: 25px;
}

/* Product Hierarchy: Commercial Name, Code & Capacity Meta */
.product-commercial-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 52px;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1.1;
    margin-bottom: 14px;
    letter-spacing: -1px;
}

@media (max-width: 768px) {
    .product-commercial-name {
        font-size: 36px;
        letter-spacing: -0.5px;
    }
}

.product-meta-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-code-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    background: #f1f5f9;
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.product-code-tag strong {
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.product-capacity-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #0369a1;
    background: #e0f2fe;
    padding: 6px 14px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.product-capacity-tag strong {
    color: #0284c7;
}

.product-technical-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* Description Block */
.block-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-desc-block {
    max-width: 580px;
    margin-bottom: 25px;
}

.product-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.product-bullets li {
    font-family: 'Montserrat', sans-serif;
    position: relative;
    padding-left: 22px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 8px;
}

.product-bullets li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #00a651;
    font-weight: 700;
    font-size: 13px;
}

/* Minimalist Technical Specs Grid */
.specs-minimal-container {
    margin-bottom: 30px;
}

.dimensions-strip {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.dim-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 14px 16px;
}

.dim-title {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dim-title i {
    color: #00a651;
    margin-right: 4px;
}

.dim-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-family: 'Montserrat', sans-serif;
}

.dim-col {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dim-lbl {
    font-size: 12px;
    color: #64748b;
    font-weight: 500;
}

.dim-val {
    font-size: 14px;
    color: #0f172a;
    font-weight: 700;
}

.specs-minimal-list {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    background: #ffffff;
}

.specs-minimal-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-bottom: 1px solid #f1f5f9;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
}

.specs-minimal-list li:last-child {
    border-bottom: none;
}

.specs-minimal-list li:nth-child(even) {
    background: #f8fafc;
}

.specs-minimal-list li span {
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.specs-minimal-list li strong {
    color: #0f172a;
    font-weight: 700;
}

/* Action Box */
.product-action-box {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-download-pdf {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #ffffff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
}

.btn-download-pdf:hover {
    background: var(--primary-color);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(11, 67, 114, 0.25);
}

.btn-quote-now {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--primary-color);
    color: #ffffff;
    padding: 14px 20px;
    border-radius: 30px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: var(--transition);
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(11, 67, 114, 0.25);
}

.btn-quote-now:hover {
    background: #00a651;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

/* Product Quote Form Section */
.section-header-compact {
    margin-bottom: 35px;
}

.badge-category {
    display: inline-block;
    background: #e0f2fe;
    color: #0369a1;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.quote-section-title {
    font-size: 32px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #0f172a;
    margin-bottom: 10px;
}

.quote-section-title span {
    color: var(--primary-color);
}

.quote-section-desc {
    font-size: 15px;
    color: #64748b;
    max-width: 680px;
    margin: 0 auto;
}

.product-quote-form {
    background: #ffffff;
    padding: 45px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    border: 1px solid #cbd5e1;
}

/* Explicit high-contrast inputs for product quote form */
.product-quote-form .form-group label {
    color: #1e293b;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 6px;
    display: block;
}

.product-quote-form .form-group input,
.product-quote-form .form-group select,
.product-quote-form .form-group textarea {
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    color: #0f172a;
    padding: 14px 16px;
    border-radius: 8px;
    font-size: 15px;
    width: 100%;
    transition: var(--transition);
}

.product-quote-form .form-group input:hover,
.product-quote-form .form-group select:hover,
.product-quote-form .form-group textarea:hover {
    border-color: #94a3b8;
}

.product-quote-form .form-group input:focus,
.product-quote-form .form-group select:focus,
.product-quote-form .form-group textarea:focus {
    background: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(11, 67, 114, 0.12);
    outline: none;
}

.product-quote-form .form-group input::placeholder,
.product-quote-form .form-group textarea::placeholder {
    color: #94a3b8;
}

/* Responsive adjustments for product detail */
@media (max-width: 992px) {
    .product-layout-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .product-gallery-col {
        position: static;
    }

    .main-image-wrapper {
        height: 380px;
    }

    .product-commercial-name {
        font-size: 28px;
    }

    .product-action-box {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .dim-grid {
        grid-template-columns: 1fr;
    }
    
    .main-image-wrapper {
        height: 300px;
        padding: 20px;
    }

    .product-quote-form {
        padding: 25px 20px;
    }
}

/* ==========================================================================
   SUCCESS MODAL COMPONENT (Replaces browser alert)
   ========================================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    padding: 20px;
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 480px;
    width: 100%;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.modal-backdrop.active .modal-card {
    transform: scale(1) translateY(0);
}

.modal-icon-circle {
    width: 80px;
    height: 80px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    margin: 0 auto 20px;
}

.modal-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 12px;
}

.modal-message {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 30px;
}

.btn-modal-close {
    background: var(--primary-color);
    color: #ffffff;
    border: none;
    padding: 14px 40px;
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.btn-modal-close:hover {
    background: #00a651;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

/* ==========================================================================
   MOBILE HEADER & FULLSCREEN NAVIGATION SYSTEM
   ========================================================================== */

/* Desktop defaults: Hide mobile drawer elements */
@media (min-width: 993px) {
    .mobile-hamburger-btn,
    .mobile-drawer-header,
    .mobile-drawer-footer,
    .mobile-accordion-toggle {
        display: none !important;
    }
    .mobile-nav-link-row {
        display: contents;
    }
}

/* Mobile & Tablet Styles (<= 992px) */
@media (max-width: 992px) {
    body.mobile-menu-active {
        overflow: hidden !important;
        touch-action: none;
    }

    #main-header {
        position: sticky;
        top: 0;
        left: 0;
        width: 100%;
        background: #ffffff;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    }

    .header-top {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 0 !important;
        gap: 8px !important;
    }

    .logo {
        flex: 0 0 auto !important;
        display: flex !important;
        align-items: center !important;
    }

    .logo img {
        height: 28px !important;
        max-width: 105px !important;
        width: auto !important;
        display: block !important;
        object-fit: contain !important;
    }

    .search-box {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        width: auto !important;
        margin-top: 0 !important;
        position: relative !important;
    }

    .search-form {
        background: #f8fafc;
        border: 1px solid #e2e8f0;
        border-radius: 20px;
        padding: 2px 10px;
        height: 38px;
        display: flex;
        align-items: center;
        gap: 4px;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    .search-form input {
        font-size: 13px;
        padding: 4px 6px;
        width: 100%;
        min-width: 0;
        border: none;
        background: transparent;
        outline: none;
    }

    .search-form button {
        padding: 0 4px;
        font-size: 14px;
        color: #64748b;
        background: transparent;
        border: none;
        cursor: pointer;
        flex-shrink: 0;
    }

    .header-right-actions {
        display: flex;
        align-items: center;
        flex: 0 0 auto !important;
        gap: 0;
        margin-left: 0;
    }

    .header-right-actions .region-selector {
        display: none !important; /* Accessible inside mobile drawer */
    }

    .mobile-hamburger-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: #f1f5f9;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        color: #002D62;
        font-size: 18px;
        cursor: pointer;
        transition: all 0.2s ease;
        flex-shrink: 0;
    }

    .mobile-hamburger-btn:active {
        background: #e2e8f0;
        transform: scale(0.94);
    }

    /* FULLSCREEN MOBILE DRAWER */
    #navbar {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        background: #002D62;
        z-index: 999999;
        display: flex;
        flex-direction: column;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding: 0;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-16px);
        transition: opacity 0.28s cubic-bezier(0.16, 1, 0.3, 1), transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.28s;
        border-bottom: none;
    }

    #navbar.mobile-active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    #navbar > .container {
        display: flex;
        flex-direction: column;
        min-height: 100%;
        padding: 20px 20px 40px;
        width: 100%;
        max-width: 100%;
    }

    .mobile-drawer-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding-bottom: 18px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
        margin-bottom: 18px;
    }

    .mobile-drawer-close {
        background: rgba(255, 255, 255, 0.12);
        border: none;
        color: #ffffff;
        width: 44px;
        height: 44px;
        border-radius: 50%;
        display: grid;
        place-items: center;
        font-size: 20px;
        cursor: pointer;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .mobile-drawer-close:active {
        transform: scale(0.92);
        background: rgba(255, 255, 255, 0.25);
    }

    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding: 0;
        margin: 0;
        width: 100%;
    }

    .nav-links > li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }

    .nav-links > li > a {
        padding: 16px 0;
        font-size: 18px;
        font-weight: 700;
        color: #ffffff;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-family: 'Montserrat', sans-serif;
    }

    .nav-links > li.active > a {
        color: #1ebb55;
    }

    .desktop-arrow {
        display: none !important;
    }

    .mobile-nav-link-row {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    .mobile-nav-link-row > a {
        padding: 16px 0;
        font-size: 18px;
        font-weight: 700;
        color: #ffffff;
        flex-grow: 1;
        font-family: 'Montserrat', sans-serif;
    }

    .mobile-accordion-toggle {
        background: rgba(255, 255, 255, 0.08);
        border: none;
        color: #ffffff;
        font-size: 16px;
        width: 44px;
        height: 44px;
        border-radius: 8px;
        display: grid;
        place-items: center;
        cursor: pointer;
        transition: all 0.25s ease;
    }

    .has-megamenu.mobile-open .mobile-accordion-toggle {
        background: #1ebb55;
        color: #ffffff;
    }

    .has-megamenu.mobile-open .mobile-accordion-toggle i {
        transform: rotate(180deg);
    }

    .megamenu-panel {
        position: static;
        width: 100%;
        background: rgba(255, 255, 255, 0.06);
        border: none;
        border-radius: 12px;
        padding: 12px 14px;
        margin: 0 0 14px;
        box-shadow: none;
        display: none;
        opacity: 1;
        visibility: visible;
    }

    .has-megamenu.mobile-open .megamenu-panel {
        display: block !important;
    }

    .megamenu-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .mega-col {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding-bottom: 6px;
    }

    .mega-col:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .mega-col-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        cursor: pointer;
        border-bottom: none;
        margin-bottom: 0;
    }

    .mega-title {
        color: #ffffff !important;
        font-size: 14.5px !important;
        font-weight: 700 !important;
    }

    .mega-toggle-icon {
        display: block !important;
        color: rgba(255, 255, 255, 0.7);
        font-size: 12px;
        transition: transform 0.25s ease;
    }

    .mega-col.open .mega-toggle-icon {
        transform: rotate(180deg);
        color: #1ebb55;
    }

    .mega-list {
        display: none;
        padding: 4px 0 8px 12px;
        gap: 6px;
    }

    .mega-col.open .mega-list {
        display: flex;
    }

    .mega-list li a {
        color: rgba(255, 255, 255, 0.8) !important;
        font-size: 13.5px !important;
        padding: 5px 0;
    }

    .mega-list li a:hover {
        color: #1ebb55 !important;
    }

    /* Mobile Drawer Footer */
    .mobile-drawer-footer {
        margin-top: 30px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        display: flex;
        flex-direction: column;
        gap: 18px;
    }

    .mobile-drawer-region {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: #ffffff;
        font-size: 14px;
        font-weight: 600;
        padding: 9px 16px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.1);
        width: fit-content;
    }

    .mobile-drawer-social {
        display: flex;
        gap: 12px;
        align-items: center;
    }

    .mobile-drawer-social a {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.12);
        color: #ffffff;
        display: grid;
        place-items: center;
        font-size: 15px;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .mobile-drawer-social a:hover {
        background: #1ebb55;
        transform: translateY(-2px);
    }
}

/* ==========================================================================
   Contacto Page Styles & Social Media Enhancements
   ========================================================================== */
.contact-page-hero {
    background: linear-gradient(135deg, #002D62 0%, #001f44 100%);
    color: #ffffff;
    padding: 60px 0 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(30, 187, 85, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.contact-page-hero .hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-green, #1ebb55);
    margin-bottom: 12px;
}

.contact-page-hero h1 {
    font-size: clamp(32px, 4.5vw, 48px);
    font-weight: 800;
    margin: 0 0 16px;
    color: #ffffff;
    letter-spacing: -0.5px;
}

.contact-page-hero p {
    font-size: 17px;
    color: #cbd5e1;
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-page-content {
    background-color: #f8fafc;
    padding: 60px 0 80px;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: start;
}

.contact-info-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-info-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.contact-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #002D62;
    margin: 0 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f1f5f9;
}

.contact-card-title i {
    color: #0f6ea8;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: #eaf3f9;
    color: #002D62;
    display: grid;
    place-items: center;
    font-size: 17px;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.contact-item-content .label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #64748b;
}

.contact-item-content .value {
    font-size: 15px;
    color: #1e293b;
    line-height: 1.45;
}

.contact-item-content a.value {
    color: #0f6ea8;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.contact-item-content a.value:hover {
    color: #002D62;
    text-decoration: underline;
}

/* Contact Social Icons (Circular like footer) */
.contact-social-icons {
    display: flex;
    gap: 14px;
    margin-top: 15px;
}

.contact-social-icons a {
    width: 44px;
    height: 44px;
    background-color: #002D62;
    color: #ffffff;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0, 45, 98, 0.12);
}

.contact-social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.contact-social-icons a.social-fb:hover { background-color: #1877f2; }
.contact-social-icons a.social-yt:hover { background-color: #ff0000; }
.contact-social-icons a.social-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.contact-social-icons a.social-li:hover { background-color: #0077b5; }

/* Map Frame Wrapper */
.contact-map-wrapper {
    margin-top: 15px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contact-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 250px;
    border: 0;
}

/* Contact Form Card */
.contact-form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 36px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.contact-form-header {
    margin-bottom: 25px;
}

.contact-form-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: #002D62;
    margin: 0 0 8px;
}

.contact-form-header p {
    font-size: 14.5px;
    color: #64748b;
    margin: 0;
}

.contact-form-card .main-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.contact-form-card .main-form .form-group.full-width {
    grid-column: span 2;
}

.contact-form-card .main-form label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.contact-form-card .main-form input,
.contact-form-card .main-form select,
.contact-form-card .main-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #1e293b;
    background-color: #ffffff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.contact-form-card .main-form input:focus,
.contact-form-card .main-form select:focus,
.contact-form-card .main-form textarea:focus {
    outline: none;
    border-color: #0f6ea8;
    box-shadow: 0 0 0 3px rgba(15, 110, 168, 0.12);
}

.contact-form-card .main-form .btn-submit {
    display: inline-block;
    width: 100%;
    padding: 14px 28px;
    background: #002D62;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 10px;
    box-shadow: 0 4px 12px rgba(0, 45, 98, 0.18);
}

.contact-form-card .main-form .btn-submit:hover {
    background: #001f44;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 45, 98, 0.28);
}

/* Social icons branded hover in footer */
.social-icons a.social-fb:hover { background-color: #1877f2; }
.social-icons a.social-yt:hover { background-color: #ff0000; }
.social-icons a.social-ig:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-icons a.social-li:hover { background-color: #0077b5; }

@media (max-width: 992px) {
    .contact-main-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .contact-form-card .main-form .form-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card .main-form .form-group.full-width {
        grid-column: span 1;
    }
    .contact-social-grid {
        grid-template-columns: 1fr;
    }
    .contact-form-card {
        padding: 24px 18px;
    }
    .contact-info-card {
        padding: 22px 18px;
    }
}

/* ==========================================================================
   Sostenibilidad Page Styles
   ========================================================================== */
.sostenibilidad-hero {
    background: linear-gradient(135deg, #002D62 0%, #001A38 100%);
    color: #ffffff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.sostenibilidad-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.sostenibilidad-hero-content .hero-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-green, #1ebb55);
    margin-bottom: 12px;
}

.sostenibilidad-hero-content h1 {
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.18;
    margin: 0 0 16px;
    color: #ffffff;
}

.sostenibilidad-hero-content p {
    font-size: 16.5px;
    color: #cbd5e1;
    line-height: 1.6;
    margin: 0;
}

.sostenibilidad-hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.sostenibilidad-hero-image img {
    max-width: 100%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.25));
}

/* Reports Section */
.sostenibilidad-reports-section {
    padding: 70px 0;
    background-color: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.section-header-centered {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 45px;
}

.section-header-centered .badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0f6ea8;
    background-color: #eaf3f9;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.section-header-centered h2 {
    font-size: clamp(26px, 3.2vw, 36px);
    font-weight: 700;
    color: #002D62;
    margin: 0 0 12px;
}

.section-header-centered p {
    font-size: 16px;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.report-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 26px 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    transition: all 0.28s ease;
    position: relative;
    overflow: hidden;
}

.report-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 24px rgba(0, 45, 98, 0.12);
    border-color: #b9cbd8;
}

.report-card.featured {
    background: linear-gradient(135deg, #107c41 0%, #0d6334 100%);
    border: 2px solid #107c41;
    color: #ffffff;
    box-shadow: 0 6px 20px rgba(16, 124, 65, 0.25);
}

.report-card.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(16, 124, 65, 0.35);
}

.report-card.featured h3 {
    color: #ffffff;
}

.report-card.featured p {
    color: #e2f4ea;
}

.report-card.featured .report-year-pill {
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
}

.report-card.featured .report-icon-box {
    background-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.report-card.featured .btn-report-download {
    background: #ffffff;
    color: #0d6334 !important;
}

.report-card.featured .btn-report-download:hover {
    background: #f0fdf4;
    color: #0a4f29 !important;
}

.report-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #eaf3f9;
    color: #002D62;
    display: grid;
    place-items: center;
    font-size: 26px;
    margin: 0 auto 16px;
    transition: transform 0.25s ease;
}

.report-card:hover .report-icon-box {
    transform: scale(1.1);
    background-color: #d8eaf6;
    color: #0f6ea8;
}

.report-year-pill {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    color: #002D62;
    background: #eaf3f9;
    padding: 3px 12px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.report-card h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 10px;
    line-height: 1.35;
}

.report-card p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 20px;
    flex-grow: 1;
}

.btn-report-download {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 7px;
    background: #002D62;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 13.5px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-report-download:hover {
    background: #001A38;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 45, 98, 0.25);
}

/* 3 Ejes Section */
.ejes-section {
    padding: 80px 0;
    background-color: #ffffff !important;
}

.ejes-grid {
    display: grid;
    grid-template-columns: 1fr 1.35fr;
    gap: 50px;
    align-items: center;
}

.ejes-wheel-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #ffffff;
}

.ejes-wheel-img {
    max-width: 100%;
    width: 440px;
    height: auto;
    object-fit: contain;
    filter: none !important;
    box-shadow: none !important;
    border: none !important;
    outline: none !important;
    background-color: #ffffff;
    transition: transform 0.3s ease;
}

.ejes-wheel-img:hover {
    transform: scale(1.02);
}

.ejes-content-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.eje-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px 26px;
    border: 1px solid #e2e8f0;
    border-left: 6px solid #94a3b8;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.04);
    transition: all 0.25s ease;
}

.eje-card:hover {
    transform: translateX(4px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.07);
}

.eje-card.eje-ambiental {
    border-left-color: #7cb342;
}

.eje-card.eje-ambiental h3 {
    color: #558b2f;
}

.eje-card.eje-personas {
    border-left-color: #f59e0b;
}

.eje-card.eje-personas h3 {
    color: #d97706;
}

.eje-card.eje-gobernanza {
    border-left-color: #0284c7;
}

.eje-card.eje-gobernanza h3 {
    color: #0f6ea8;
}

.eje-card h3 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.eje-card p {
    font-size: 14.5px;
    color: #334155;
    line-height: 1.6;
    margin: 0;
}

.eje-card p strong {
    color: #0f172a;
    font-weight: 700;
}

/* Sostenibilidad Certificaciones Section */
.sostenibilidad-cert-section {
    padding: 70px 0 80px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 992px) {
    .sostenibilidad-hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .ejes-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .ejes-wheel-img {
        max-width: 360px;
    }
}

@media (max-width: 600px) {
    .reports-grid {
        grid-template-columns: 1fr;
    }
    .eje-card {
        padding: 18px 16px;
    }
}

/* ==========================================================================
   Nosotros Page Styles (Grupo AERITEK & Cifras Imbera)
   ========================================================================== */
.nosotros-intro-section {
    padding: 70px 0;
    background-color: #ffffff;
}

.nosotros-intro-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 35px;
}

.nosotros-intro-header h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    font-weight: 800;
    color: #002D62;
    margin: 12px 0 16px;
    line-height: 1.25;
}

.nosotros-intro-lead {
    font-size: 18px !important;
    color: #1e293b !important;
    line-height: 1.7 !important;
    margin-bottom: 14px !important;
    font-weight: 500;
}

.nosotros-intro-header p {
    font-size: 16px;
    color: #475569;
    line-height: 1.65;
    margin: 0 auto 10px;
}

/* Video Corporativo Nosotros */
.nosotros-video-wrapper {
    max-width: 960px;
    margin: 0 auto 45px;
    padding: 0 10px;
}

.nosotros-video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    border-radius: 18px;
    box-shadow: 0 16px 45px rgba(0, 45, 98, 0.16);
    background-color: #001A38;
    border: 1px solid rgba(0, 45, 98, 0.08);
}

.nosotros-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 18px;
}

/* Cifras Destacadas en Tira bajo el Video */
.nosotros-stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1060px;
    margin: 0 auto;
    background: linear-gradient(135deg, #002D62 0%, #001A38 100%);
    border-radius: 16px;
    padding: 28px 30px;
    color: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 45, 98, 0.15);
}

.nosotros-stats-strip .stat-pill {
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    padding: 0 15px;
}

.nosotros-stats-strip .stat-pill:last-child {
    border-right: none;
}

.nosotros-stats-strip .stat-num {
    font-size: 34px;
    font-weight: 800;
    color: #1ebb55;
    line-height: 1.1;
    font-family: 'Montserrat', sans-serif;
}

.nosotros-stats-strip .stat-label {
    font-size: 13.5px;
    color: #cbd5e1;
    margin-top: 6px;
    line-height: 1.35;
}

@media (max-width: 860px) {
    .nosotros-stats-strip {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px;
        padding: 24px 20px;
    }
    .nosotros-stats-strip .stat-pill:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 520px) {
    .nosotros-stats-strip {
        grid-template-columns: 1fr;
    }
    .nosotros-stats-strip .stat-pill {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14);
        padding-bottom: 16px;
    }
    .nosotros-stats-strip .stat-pill:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
}

/* Grupo AERITEK Section */
.aeritek-brands-section {
    padding: 70px 0 80px;
    background-color: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.aeritek-logos-container {
    max-width: 1100px;
    margin: 0 auto 35px;
    text-align: center;
    background: #ffffff;
    padding: 10px 20px;
}

.aeritek-logos-img {
    max-width: 100%;
    width: 980px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

/* Imbera Stats & Highlights Section */
.imbera-highlights-section {
    padding: 80px 0 90px;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

/* Tarjetas Limpias Nosotros (Ícono arriba, texto abajo, sin divs anidados) */
.nosotros-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
}

.aeritek-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 25px;
}

.nosotros-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 38px 26px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.nosotros-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 45, 98, 0.09);
    border-color: #cbd5e1;
}

.nosotros-card > i {
    font-size: 32px;
    color: #107c41;
    background-color: #eaf8f0;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: transform 0.25s ease;
}

.nosotros-card:hover > i {
    transform: scale(1.08);
}

.aeritek-card > i {
    color: #002D62;
    background-color: #eaf3f9;
}

.nosotros-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #002D62;
    margin: 0 0 12px;
    line-height: 1.35;
}

.nosotros-card p {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1024px) {
    .aeritek-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .nosotros-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .nosotros-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .nosotros-cards-grid,
    .aeritek-grid {
        grid-template-columns: 1fr;
    }
    .nosotros-card {
        padding: 30px 20px;
    }
}

/* ==========================================================================
   COOKIE CONSENT BANNER & PRIVACY MODAL
   ========================================================================== */
.imbera-cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    max-width: 1080px;
    margin: 0 auto;
    background: #002D62;
    color: #ffffff;
    border-radius: 18px;
    padding: 22px 28px;
    box-shadow: 0 20px 45px rgba(0, 45, 98, 0.4);
    z-index: 9999999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 26px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    animation: cookieSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.cookie-content {
    flex: 1 1 auto;
}

.cookie-title {
    font-size: 15.5px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 6px 0;
}

.cookie-title i {
    color: #10b981;
}

.cookie-text {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
    margin: 0;
}

.cookie-text a {
    color: #38bdf8;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 600;
}

.cookie-text a:hover {
    color: #7dd3fc;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.btn-cookie-accept {
    background: #10b981;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 10px 20px;
    font-size: 13.5px;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-accept:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35);
}

.btn-cookie-essential {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 10px;
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-cookie-essential:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.4);
}

.btn-cookie-settings {
    background: transparent;
    color: #94a3b8;
    border: none;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 8px;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.btn-cookie-settings:hover {
    color: #ffffff;
}

@media (max-width: 900px) {
    .imbera-cookie-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 20px;
        gap: 14px;
        bottom: 12px;
        left: 12px;
        right: 12px;
    }
    .cookie-actions {
        width: 100%;
        justify-content: flex-start;
    }
    .btn-cookie-accept,
    .btn-cookie-essential {
        flex: 1 1 auto;
        text-align: center;
        padding: 10px 12px;
    }
}

/* Privacy & Cookie Settings Modals */
.cookie-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(4px);
    z-index: 10000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.cookie-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.cookie-modal-card {
    background: #ffffff;
    border-radius: 20px;
    max-width: 650px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    padding: 28px 30px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    transform: scale(0.96);
    transition: transform 0.25s ease;
}

.cookie-modal-backdrop.active .cookie-modal-card {
    transform: scale(1);
}

.cookie-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 18px;
}

.cookie-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #002D62;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-cookie-modal-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0;
}

.cookie-pref-group {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #f8fafc;
}

.cookie-pref-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.cookie-pref-title {
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    font-family: 'Montserrat', sans-serif;
}

.cookie-badge-required {
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    text-transform: uppercase;
}

.cookie-pref-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* ==========================================================================
   AVISOS DE PRIVACIDAD (HUB & LEGAL DOCUMENT STYLES)
   ========================================================================== */
.hero-privacidad {
    background: linear-gradient(135deg, #001f44 0%, #002D62 60%, #004b93 100%);
    color: #ffffff;
    padding: 70px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-privacidad::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-privacidad-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-privacidad .badge-corporate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #38bdf8;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-privacidad h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 16px;
    line-height: 1.2;
}

.hero-privacidad p {
    font-size: 17px;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0;
}

/* Privacy Hub Section */
.privacy-hub-section {
    padding: 70px 0 90px;
    background: #f8fafc;
}

.privacy-hub-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 50px;
}

.privacy-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 34px 28px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    position: relative;
}

.privacy-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0, 45, 98, 0.1);
    border-color: #cbd5e1;
}

.privacy-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: #eaf3f9;
    color: #002D62;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 22px;
    transition: all 0.25s ease;
}

.privacy-card:hover .privacy-card-icon {
    background: #002D62;
    color: #ffffff;
}

.privacy-card.highlight-card {
    border: 2px solid rgba(16, 124, 65, 0.4);
}

.privacy-card.highlight-card .privacy-card-icon {
    background: #eaf8f0;
    color: #107c41;
}

.privacy-card.highlight-card:hover .privacy-card-icon {
    background: #107c41;
    color: #ffffff;
}

.privacy-card h2,
.privacy-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #002D62;
    margin: 0 0 12px;
    line-height: 1.35;
}

.privacy-card p {
    font-size: 14.5px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 24px;
    flex-grow: 1;
}

.btn-privacy-read {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 12px 20px;
    border-radius: 10px;
    background: #f1f5f9;
    color: #002D62;
    font-family: 'Montserrat', sans-serif;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-privacy-read i {
    transition: transform 0.2s ease;
}

.btn-privacy-read:hover {
    background: #002D62;
    color: #ffffff;
}

.btn-privacy-read:hover i {
    transform: translateX(4px);
}

.privacy-card.highlight-card .btn-privacy-read {
    background: #eaf8f0;
    color: #107c41;
}

.privacy-card.highlight-card .btn-privacy-read:hover {
    background: #107c41;
    color: #ffffff;
}

/* Privacy ARCO Callout */
.privacy-arco-callout {
    background: linear-gradient(135deg, #002D62 0%, #0c4a6e 100%);
    border-radius: 20px;
    padding: 40px 45px;
    color: #ffffff;
    box-shadow: 0 15px 35px rgba(0, 45, 98, 0.2);
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}

.arco-info h3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 14px;
}

.arco-info p {
    font-size: 15px;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0 0 16px;
}

.arco-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arco-meta-list li {
    font-size: 14px;
    color: #e2e8f0;
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.arco-meta-list li i {
    color: #38bdf8;
    margin-top: 3px;
}

.arco-downloads {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 26px 24px;
}

.arco-downloads h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 14px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.arco-download-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: #ffffff;
    color: #002D62;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    margin-bottom: 10px;
    transition: all 0.2s ease;
}

.arco-download-btn:last-child {
    margin-bottom: 0;
}

.arco-download-btn i {
    color: #002D62;
    font-size: 18px;
}

.arco-download-btn:hover {
    background: #38bdf8;
    color: #001f44;
    transform: translateX(4px);
}

/* Individual Legal Document Template */
.privacy-doc-page {
    background: #f8fafc;
    padding: 40px 0 80px;
}

.privacy-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    color: #64748b;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.privacy-breadcrumbs a {
    color: #002D62;
    text-decoration: none;
    font-weight: 600;
}

.privacy-breadcrumbs a:hover {
    text-decoration: underline;
}

.privacy-doc-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 36px;
    align-items: flex-start;
}

.privacy-sidebar {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 28px 24px;
    position: sticky;
    top: 90px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.privacy-sidebar h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #002D62;
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e2e8f0;
}

.privacy-sidebar-meta {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.privacy-sidebar-meta li {
    font-size: 13px;
    color: #475569;
    margin-bottom: 14px;
    line-height: 1.5;
}

.privacy-sidebar-meta strong {
    display: block;
    color: #0f172a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
}

.privacy-sidebar-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.privacy-sidebar-nav li {
    margin-bottom: 8px;
}

.privacy-sidebar-nav a {
    display: block;
    font-size: 13px;
    color: #64748b;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.privacy-sidebar-nav a:hover,
.privacy-sidebar-nav a.active {
    background: #eaf3f9;
    color: #002D62;
    font-weight: 600;
}

.privacy-doc-content {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 50px 48px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.privacy-doc-header {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 26px;
    margin-bottom: 34px;
}

.privacy-doc-header .badge-pill {
    display: inline-block;
    background: #eaf8f0;
    color: #107c41;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.privacy-doc-header h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 30px;
    font-weight: 700;
    color: #002D62;
    margin: 0 0 10px;
    line-height: 1.3;
}

.privacy-doc-header .last-updated {
    font-size: 13.5px;
    color: #64748b;
}

.privacy-body {
    font-size: 15px;
    color: #334155;
    line-height: 1.75;
}

.privacy-body p {
    margin: 0 0 16px;
}

.privacy-body h2,
.privacy-body h3,
.privacy-body h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: #002D62;
    margin: 32px 0 14px;
    line-height: 1.35;
}

.privacy-body h2 {
    font-size: 20px;
    border-left: 4px solid #107c41;
    padding-left: 12px;
}

.privacy-body h3 {
    font-size: 17px;
}

.privacy-body ul,
.privacy-body ol {
    margin: 0 0 20px 22px;
    padding: 0;
}

.privacy-body li {
    margin-bottom: 8px;
}

/* Legal Tables */
.privacy-legal-table {
    width: 100%;
    border-collapse: collapse;
    margin: 24px 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.privacy-legal-table th,
.privacy-legal-table td {
    padding: 14px 18px;
    text-align: left;
    border: 1px solid #e2e8f0;
    font-size: 14px;
    line-height: 1.5;
}

.privacy-legal-table th {
    background: #f1f5f9;
    color: #002D62;
    font-weight: 700;
}

.privacy-legal-table tr:nth-child(even) td {
    background: #fafbfc;
}

.privacy-signature-box {
    margin-top: 40px;
    padding: 28px;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 12px;
}

.privacy-signature-box p {
    margin-bottom: 12px;
}

.btn-back-privacy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e2e8f0;
    color: #002D62;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 24px;
    transition: all 0.2s ease;
}

.btn-back-privacy:hover {
    background: #002D62;
    color: #ffffff;
}

/* Responsive Rules for Privacy */
@media (max-width: 1024px) {
    .privacy-hub-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .privacy-doc-layout {
        grid-template-columns: 280px 1fr;
        gap: 24px;
    }
}

@media (max-width: 860px) {
    .hero-privacidad {
        padding: 50px 0 60px;
    }
    .hero-privacidad h1 {
        font-size: 32px;
    }
    .privacy-hub-grid {
        grid-template-columns: 1fr;
    }
    .privacy-arco-callout {
        grid-template-columns: 1fr;
        padding: 30px 24px;
        gap: 28px;
    }
    .privacy-doc-layout {
        grid-template-columns: 1fr;
    }
    .privacy-sidebar {
        position: static;
        margin-bottom: 25px;
    }
    .privacy-doc-content {
        padding: 30px 20px;
    }
    .privacy-doc-header h1 {
        font-size: 24px;
    }
}






/* ==============================================================================
   404 ERROR PAGE STYLES (Externalized for CSP Compliance)
   ============================================================================== */
.error-404-container {
    min-height: calc(100vh - 420px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.error-404-card {
    max-width: 680px;
    width: 100%;
    background: #ffffff;
    border-radius: 24px;
    padding: 50px 36px;
    text-align: center;
    box-shadow: 0 20px 45px -10px rgba(11, 67, 114, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.error-404-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #0b4372 0%, #00a651 100%);
}

.error-badge-icon {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(11, 67, 114, 0.08) 0%, rgba(0, 166, 81, 0.12) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.error-badge-icon i.snowflake-icon {
    font-size: 42px;
    color: #0b4372;
    animation: pulse-slow 3s infinite ease-in-out;
}

@keyframes pulse-slow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.85; }
}

.error-404-number {
    font-size: clamp(80px, 14vw, 130px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    background: linear-gradient(135deg, #0b4372 10%, #00a651 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 10px 0;
    user-select: none;
}

.error-404-title {
    font-size: clamp(22px, 3.5vw, 28px);
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
    line-height: 1.25;
}

.error-404-desc {
    font-size: 16px;
    color: #64748b;
    line-height: 1.6;
    margin: 0 auto 32px auto;
    max-width: 520px;
}

.error-404-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 35px;
}

.btn-404-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #0b4372;
    color: #ffffff !important;
    font-weight: 600;
    font-size: 15px;
    padding: 14px 28px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 18px rgba(11, 67, 114, 0.25);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-404-primary:hover {
    background: #083053;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(11, 67, 114, 0.35);
}

.btn-404-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #0b4372 !important;
    font-weight: 600;
    font-size: 15px;
    padding: 13px 26px;
    border-radius: 30px;
    border: 2px solid #0b4372;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-404-secondary:hover {
    background: #f0f7ff;
    transform: translateY(-2px);
}

.error-suggestions-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px 24px;
    border: 1px dashed #cbd5e1;
    text-align: left;
}

.error-suggestions-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #475569;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.error-suggestions-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.suggestion-chip {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #334155 !important;
    padding: 7px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.suggestion-chip:hover {
    border-color: #00a651;
    color: #00a651 !important;
    background: #f0fdf4;
    transform: translateY(-1px);
}

@media (max-width: 640px) {
    .error-404-card {
        padding: 40px 20px;
    }
    .error-404-actions {
        flex-direction: column;
        width: 100%;
    }
    .btn-404-primary, .btn-404-secondary {
        width: 100%;
        justify-content: center;
    }
}
