:root {
    /* Colores modo claro */
    --primary: #002855;
    --secondary: #1e88e5;
    --accent: #ffc107;
    --accent-darker: #ff9800;
    --light: #f8f9fa;
    --dark: #212529;
    --bg-color: #ffffff;
    --text-color: #333333;
    --card-bg: #ffffff;
    --card-border: rgba(0, 0, 0, 0.05);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.18);
    --nav-bg: rgba(255, 255, 255, 0.92);
    --dropdown-bg: rgba(255, 255, 255, 0.95);
    --dropdown-hover: rgba(0, 40, 85, 0.05);
    --dropdown-border: rgba(0, 0, 0, 0.05);
    --divider: rgba(0, 0, 0, 0.1);
    --indicator-inactive: rgba(0, 0, 0, 0.2);
    --footer-sponsor-bg: rgba(255, 255, 255, 0.08);
    /* Gradientes y efectos */
    --gradient-primary: linear-gradient(135deg, #002855 0%, #1e88e5 100%);
    --gradient-accent: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    --gradient-light: linear-gradient(135deg, rgba(0, 40, 85, 0.03) 0%, rgba(30, 136, 229, 0.05) 100%);
    --gradient-circle: linear-gradient(135deg, rgba(255, 193, 7, 0.03) 0%, rgba(255, 152, 0, 0.05) 100%);
    /* Sombras */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);
    /* Otros */
    --transition: all 0.3s ease;
    --radius: 10px;
}

/* Modo oscuro - valores */
.dark-mode {
    /* Colores modo oscuro */
    --primary: #3f98ff;
    --secondary: #64b5f6;
    --light: #f8f9fa;
    --dark: #e9ecef;
    --bg-color: #121212;
    --text-color: #e9ecef;
    --card-bg: #1e1e1e;
    --card-border: rgba(255, 255, 255, 0.05);
    --glass-bg: rgba(30, 30, 30, 0.85);
    --glass-border: rgba(255, 255, 255, 0.08);
    --nav-bg: rgba(18, 18, 18, 0.92);
    --dropdown-bg: rgba(30, 30, 30, 0.95);
    --dropdown-hover: rgba(63, 152, 255, 0.1);
    --dropdown-border: rgba(255, 255, 255, 0.05);
    --divider: rgba(255, 255, 255, 0.1);
    --indicator-inactive: rgba(255, 255, 255, 0.2);
    --footer-sponsor-bg: rgba(0, 0, 0, 0.2);
    /* Sombras en modo oscuro */
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Gradientes ajustados para modo oscuro */
    --gradient-light: linear-gradient(135deg, rgba(63, 152, 255, 0.03) 0%, rgba(100, 181, 246, 0.05) 100%);
    --gradient-circle: linear-gradient(135deg, rgba(255, 193, 7, 0.03) 0%, rgba(255, 152, 0, 0.05) 100%);
}

body {
    font-family: 'Montserrat', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
    background-color: var(--bg-color);
    color: var(--text-color);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
}

/* Títulos de sección unificados */
.section-title {
    font-size: 2.5rem;
    color: var(--dark);
    position: relative;
    display: inline-block;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Centrar el inline-block dentro de text-center */
.text-center .section-title,
.section-title.text-center {
    width: 100%;
}

@media (max-width: 992px) {
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
}

/* Estilos mejorados para la navbar */
.navbar-brand img {
    max-height: 80px;
    width: auto;
    height: auto;
    transition: var(--transition);
}

.navbar {
    background-color: var(--nav-bg);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    text-transform: uppercase;
}

.navbar.scrolled {
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link {
    position: relative;
    font-weight: 500;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    padding: 0.5rem 0;
    transition: var(--transition);
    color: var(--dark);
}

.dark-mode .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: var(--gradient-accent);
    transition: var(--transition);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 100%;
}

/* Estilos mejorados para dropdowns */
.dropdown-menu {
    border: none;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 0.5rem;
    min-width: 220px;
    margin-top: 0.5rem;
    background-color: var(--dropdown-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--dropdown-border);
    visibility: hidden;
    opacity: 0;
    display: block;
    transform: translateY(10px);
    transition: 0.25s ease;
}

.dropdown-menu.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    color: var(--dark);
    font-weight: 500;
    border-radius: calc(var(--radius) - 5px);
    transition: var(--transition);
    position: relative;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background-color: var(--dropdown-hover);
    color: var(--primary);
}

.dropdown-item:active {
    background-color: var(--primary);
    color: white;
}

.dropdown-toggle::after {
    margin-left: 0.5rem;
    vertical-align: middle;
    transition: var(--transition);
}

.dropdown-toggle:hover::after {
    transform: translateY(2px);
}

/* Submenu estilizado */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -0.5rem;
    margin-left: 0.5rem;
}

.dropdown-submenu > .dropdown-toggle::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 1rem;
    top: 1.2rem;
}

.dropdown-submenu:hover > .dropdown-toggle::after {
    transform: rotate(-90deg) translateY(2px);
}

/* Resto de estilos */
.hero {
    position: relative;
    background: url('https://www.fundacionmiguelindurain.com/files//fnindurain/Iker%20Alfonso.jpg') no-repeat center center/cover;
    color: white;
    padding: 160px 0 120px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,40,85,0.7) 0%, rgba(0,0,0,0.5) 100%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--bg-color);
    clip-path: polygon(0 100%, 100% 100%, 100% 0);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--dark);
    border: none;
    border-radius: var(--radius);
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.btn-accent:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--dark);
}

.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.glass-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.glass-card i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.testimonios {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.testimonios::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0,40,85,0.05) 0%, rgba(30,136,229,0.1) 100%);
    top: -100px;
    left: -100px;
    z-index: -1;
}

.testimonios::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,193,7,0.05) 0%, rgba(255,152,0,0.1) 100%);
    bottom: -50px;
    right: -50px;
    z-index: -1;
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.1);
    z-index: 1;
    opacity: 0;
    transition: var(--transition);
}

.video-wrapper:hover::before {
    opacity: 1;
}

.testimonios blockquote {
    font-style: italic;
    border-left: 4px solid;
    border-image: var(--gradient-accent) 1;
    padding-left: 1.5rem;
    position: relative;
}

.testimonios blockquote::before {
    content: '\201C';
    font-size: 4rem;
    font-family: 'Playfair Display', serif;
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.1;
}

.highlight {
    background: var(--gradient-light);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.highlight::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: var(--gradient-circle);
    top: -200px;
    right: -200px;
}

.card {
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    background-color: var(--card-bg);
    border: 1px solid var(--card-border);
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.card-img-top {
    height: 220px;
    object-fit: cover;
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.card-text {
    color: var(--text-color);
}

.scrolling-indicators {
    gap: 0.75rem;
}

.scrolling-indicators span {
    width: 30px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--indicator-inactive);
    transition: background-color 0.3s;
}

.scrolling-indicators span.active {
    background-color: var(--primary);
}

footer {
    background: var(--gradient-primary);
    color: white;
    padding: 40px 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
    text-decoration: underline;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-3px);
}

.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
    border: none;
    font-size: 1.2rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    transform: scale(1.1);
}

/* Dise�o para el modo de contraste (opcional) */
.high-contrast {
    --bg-color: #000000;
    --text-color: #ffffff;
    --card-bg: #000000;
    --glass-bg: rgba(0, 0, 0, 0.9);
    --nav-bg: rgba(0, 0, 0, 0.95);
    --dropdown-bg: rgba(0, 0, 0, 0.95);
    --primary: #ffff00;
    --secondary: #00ffff;
    --accent: #ffffff;
    --shadow-sm: 0 0 0 1px rgba(255, 255, 255, 0.5);
    --shadow-md: 0 0 0 2px rgba(255, 255, 255, 0.5);
    --shadow-lg: 0 0 0 3px rgba(255, 255, 255, 0.5);
}

/* Animaciones al hacer scroll */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Media queries */
@media (max-width: 992px) {
    .navbar-collapse {
        background-color: var(--dropdown-bg);
        backdrop-filter: blur(10px);
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        padding: 1rem;
        margin-top: 0.5rem;
    }

    .navbar-nav .nav-link {
        margin: 0.5rem 0;
    }

    .dropdown-menu {
        background-color: rgba(0, 0, 0, 0.03);
        box-shadow: none;
        border: none;
        padding: 0 0 0 1rem;
        margin: 0;
        transform: none;
        position: static;
        float: none;
        width: auto;
        border-radius: 0;
        visibility: visible;
        opacity: 1;
        display: none;
    }

    .dark-mode .dropdown-menu {
        background-color: rgba(255, 255, 255, 0.03);
    }

    .dropdown-item {
        padding: 0.5rem 1rem;
    }

    .dropdown-menu.show {
        display: block;
    }

    .dropdown-submenu > .dropdown-menu {
        margin-left: 1rem;
    }

    .dropdown-submenu > .dropdown-toggle::after {
        transform: rotate(0deg);
        position: static;
        margin-left: 0.5rem;
    }
}

@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 60px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .scrolling-row {
        display: flex;
        flex-wrap: nowrap;
        overflow-x: scroll;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 1rem;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
    }

    .scrolling-row .card {
        flex: 0 0 80%;
        max-width: 80%;
        scroll-snap-align: start;
    }

    .scrolling-row::-webkit-scrollbar {
        height: 0;
        width: 0;
        display: none;
    }
}


/* Estilos para el enlace de zona privada */
.zona-privada-link {
    background: linear-gradient(135deg, #002855 0%, #1e88e5 100%);
    color: white !important;
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 40, 85, 0.3);
    margin-left: 15px;
    position: relative;
    overflow: hidden;
}

    .zona-privada-link::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
        transition: all 0.4s ease;
        z-index: -1;
    }

    .zona-privada-link:hover::before {
        left: 0;
    }

    .zona-privada-link:hover {
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(0, 40, 85, 0.5);
        color: #002855 !important;
    }

    .zona-privada-link i {
        margin-right: 5px;
        transition: transform 0.3s ease;
    }

    .zona-privada-link:hover i {
        transform: rotate(10deg) scale(1.1);
    }

/* Ajuste para modo oscuro */
.dark-mode .zona-privada-link {
    background: linear-gradient(135deg, #3f98ff 0%, #64b5f6 100%);
    box-shadow: 0 2px 8px rgba(63, 152, 255, 0.3);
}

    .dark-mode .zona-privada-link:hover {
        box-shadow: 0 4px 12px rgba(63, 152, 255, 0.5);
    }

/* Responsive: en m�vil ajustar el margen */
@media (max-width: 992px) {
    .zona-privada-link {
        margin-left: 0;
        margin-top: 0.5rem;
        display: inline-block;
        text-align: center;
    }
}

/* ========================================
   SPONSORS SECTION - Dise�o moderno y limpio
   ======================================== */

.sponsors-section {
    margin-top: 3rem;
    padding: 2.5rem 0;
    position: relative;
}

.sponsors-section h5 {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 1rem;
    margin-bottom: 2.5rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.sponsors-section h5::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-accent);
    border-radius: 2px;
}

/* Contenedor de logos individual */
.sponsor-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    background: var(--footer-sponsor-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    min-height: 160px;
}

.sponsor-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.sponsor-logo {
    max-width: 100%;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    /*filter: brightness(0) invert(1) opacity(0.85);*/
    transition: var(--transition);
}

/* Excepci�n para el logo de Caja Rural */
/*.sponsor-logo[alt*="Caja Rural"] {
    filter: none;
    opacity: 0.85;
}

.sponsor-item:hover .sponsor-logo[alt*="Caja Rural"] {
    filter: none;
    opacity: 1;
}*/

.sponsor-item:hover .sponsor-logo {
    /*filter: brightness(0) invert(1) opacity(1);*/
    transform: scale(1.05);
}

/* Grid responsive mejorado */
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.75rem;
    margin-bottom: 1.5rem;
}

/* Ajustes para patronos (menos logos, m�s grandes) */
.sponsors-section:first-of-type .sponsors-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.sponsors-section:first-of-type .sponsor-item {
    min-height: 180px;
    padding: 2.5rem 2rem;
}

.sponsors-section:first-of-type .sponsor-logo {
    max-height: 140px;
}

/* Separador elegante entre secciones */
.sponsors-divider {
    border: none;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 20%,
        rgba(255, 255, 255, 0.15) 80%,
        transparent 100%
    );
    margin: 3rem 0;
}

/* Modo oscuro */
.dark-mode .sponsor-logo {
    filter: brightness(1) opacity(0.85);
}

.dark-mode .sponsor-item:hover .sponsor-logo {
    filter: brightness(1) opacity(1);
}

.dark-mode .sponsor-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.dark-mode .sponsor-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Responsive */
@media (max-width: 1200px) {
    .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .sponsors-section:first-of-type .sponsors-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .sponsor-logo {
        max-height: 110px;
    }

    .sponsors-section:first-of-type .sponsor-logo {
        max-height: 130px;
    }
}

@media (max-width: 768px) {
    .sponsors-section {
        padding: 2rem 0;
        margin-top: 2rem;
    }

    .sponsors-section h5 {
        font-size: 0.9rem;
        letter-spacing: 1.5px;
        margin-bottom: 2rem;
    }

    .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .sponsors-section:first-of-type .sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sponsor-item {
        padding: 1.5rem 1rem;
        min-height: 130px;
    }

    .sponsors-section:first-of-type .sponsor-item {
        min-height: 150px;
        padding: 1.75rem 1.25rem;
    }

    .sponsor-logo {
        max-height: 85px;
    }

    .sponsors-section:first-of-type .sponsor-logo {
        max-height: 100px;
    }

    .sponsors-divider {
        margin: 2rem 0;
    }
}

@media (max-width: 480px) {
    .sponsors-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sponsor-item {
        min-height: 120px;
        padding: 1.5rem;
    }

    .sponsors-section:first-of-type .sponsor-item {
        min-height: 140px;
    }

    .sponsor-logo {
        max-height: 80px;
    }

    .sponsors-section:first-of-type .sponsor-logo {
        max-height: 95px;
    }
}

/* HERO CAROUSEL - Custom simple implementation */
.hero-carousel-wrapper {
    position: relative;
    z-index: 0;
    padding-top: 70px;
}

.simple-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow-lg);
}

.simple-carousel-inner {
    position: relative;
    width: 100%;
    height: 50vh;
    max-height: 600px;
    min-height: 400px;
}

.simple-carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    pointer-events: none;
}

.simple-carousel-item.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

.simple-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.simple-carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.3) 100%
    );
    z-index: 1;
    pointer-events: none;
}

.simple-carousel-item .placeholder-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    padding: 3rem;
    text-align: center;
    font-size: 1.25rem;
}

.simple-carousel-caption {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    z-index: 10;
    padding: 1rem 2rem;
    max-width: 90%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    padding: 1.25rem 2rem;
}

.simple-carousel-caption h3,
.simple-carousel-caption h5,
.simple-carousel-caption p {
    color: white;
    margin-bottom: 0.75rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.simple-carousel-caption h3 {
    font-size: 1.75rem;
    font-weight: 700;
}

.simple-carousel-caption p:last-child {
    margin-bottom: 0;
}

/* Carousel CTA button */
.simple-carousel-caption .btn-accent {
    padding: 0.6rem 1.25rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

@media (max-width: 768px) {
    .simple-carousel-caption {
        padding: 0.8rem 1rem;
    }

    .simple-carousel-caption .btn-accent {
        padding: 0.5rem 0.9rem;
        font-size: 0.95rem;
    }
}

.simple-carousel-indicators {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 15;
    padding: 0.75rem 1.25rem;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 2rem;
}

.simple-carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.simple-carousel-indicators button:hover {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.2);
}

.simple-carousel-indicators button.active {
    background: white;
    border-color: white;
    width: 32px;
    border-radius: 1rem;
}

.simple-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3.5rem;
    height: 3.5rem;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(8px);
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.simple-carousel-control:hover {
    background: rgba(0, 0, 0, 0.6);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.simple-carousel-prev {
    left: 1.5rem;
}

.simple-carousel-next {
    right: 1.5rem;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 1.75rem;
    height: 1.75rem;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .simple-carousel-inner {
        height: 45vh;
        max-height: 500px;
        min-height: 350px;
    }
    
    .simple-carousel-caption {
        bottom: 2rem;
        padding: 0.75rem 1.5rem;
    }
    
    .simple-carousel-caption h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .hero-carousel-wrapper {
        padding-top: 60px;
    }
    
    .simple-carousel {
        border-radius: 0;
    }
    
    .simple-carousel-inner {
        height: 35vh;
        max-height: 400px;
        min-height: 280px;
    }
    
    .simple-carousel-caption {
        bottom: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
        max-width: 95%;
    }
    
    .simple-carousel-caption h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
    
    .simple-carousel-caption p {
        display: none;
    }
    
    .simple-carousel-caption p:last-child {
        display: block;
    }
    
    .simple-carousel-control {
        width: 2.75rem;
        height: 2.75rem;
        opacity: 0.5;
    }
    
    .simple-carousel-prev {
        left: 0.75rem;
    }
    
    .simple-carousel-next {
        right: 0.75rem;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .simple-carousel-indicators {
        bottom: 1rem;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
    }
    
    .simple-carousel-indicators button {
        width: 10px;
        height: 10px;
    }
    
    .simple-carousel-indicators button.active {
        width: 24px;
    }
}

@media (max-width: 480px) {
    .simple-carousel-inner {
        height: 30vh;
        max-height: 320px;
        min-height: 240px;
    }
    
    .simple-carousel-caption h3 {
        font-size: 1.1rem;
    }
    
    .simple-carousel-control {
        width: 2.5rem;
        height: 2.5rem;
    }
}

/* Dark mode adjustments */
.dark-mode .simple-carousel {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.dark-mode .simple-carousel-caption {
    background: rgba(0, 0, 0, 0.6);
}

.dark-mode .simple-carousel-control {
    background: rgba(255, 255, 255, 0.15);
}

.dark-mode .simple-carousel-control:hover {
    background: rgba(255, 255, 255, 0.25);
}

.dark-mode .simple-carousel-indicators {
    background: rgba(0, 0, 0, 0.4);
}

/* WhatsApp and social block layout */
.social-block {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */

.lang-switcher {
    display: flex;
    align-items: center;
}

.lang-switcher-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 2rem;
    padding: 5px 14px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--primary);
    text-transform: uppercase;
    line-height: 1;
}

.lang-switcher-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.lang-switcher-btn .lang-flag {
    font-weight: 800;
    opacity: 1;
}

.lang-switcher-btn .lang-separator {
    opacity: 0.4;
    font-weight: 300;
}

.lang-switcher-btn .lang-option {
    opacity: 0.5;
    font-weight: 600;
}

.lang-switcher-btn:hover .lang-option {
    opacity: 1;
}

.lang-switcher-btn:hover .lang-flag {
    opacity: 0.5;
}

/* Dark mode */
.dark-mode .lang-switcher-btn {
    border-color: var(--secondary);
    color: var(--secondary);
}

.dark-mode .lang-switcher-btn:hover {
    background: var(--secondary);
    color: #121212;
}

/* Responsive */
@media (max-width: 992px) {
    .lang-switcher {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
        border-top: 1px solid var(--divider);
        justify-content: center;
    }

    .lang-switcher-btn {
        padding: 8px 20px;
        font-size: 0.85rem;
    }
}

.whatsapp-block a.whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    color: rgba(255,255,255,0.95);
    background: rgba(255,255,255,0.03);
    padding: 6px 10px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .social-block {
        align-items: center;
    }
}