/* ========================================
   Global Styles
======================================== */

:root {
    --primary-color: #0066A1;
    --secondary-color: #0092C8;
    --accent-color: #3DD9F4;
    --cyan-light: #26D9E8;
    --dark-color: #0A1E39;
    --gray-color: #5A6C7D;
    --light-gray: #F5F5F5;
    --primary-color-light: #EAF1FE;
    --white: #ffffff;
    --font-main: "Sora", sans-serif;
}

/* ========================================
   WOW.js + Animate.css 4.x Compatibility
======================================== */

/* Map old animation classes to new Animate.css 4.x format */
.wow.fadeIn { animation-name: fadeIn; }
.wow.fadeInUp { animation-name: fadeInUp; }
.wow.fadeInDown { animation-name: fadeInDown; }
.wow.fadeInLeft { animation-name: fadeInLeft; }
.wow.fadeInRight { animation-name: fadeInRight; }
.wow.bounceIn { animation-name: bounceIn; }
.wow.zoomIn { animation-name: zoomIn; }
.wow.slideInUp { animation-name: slideInUp; }
.wow.slideInDown { animation-name: slideInDown; }
.wow.slideInLeft { animation-name: slideInLeft; }
.wow.slideInRight { animation-name: slideInRight; }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: var(--font-main) !important;
}

body {
    font-family: var(--font-main) !important;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
    padding-top: 0;
    margin-top: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
}

/* ========================================
   Header Styles - Floating White Navbar
======================================== */

.site-header {
    position: fixed;
    top: 20px;
    left: 0;
    right: 0;
    z-index: 1030;
    background-color: transparent;
    padding: 0;
    transition: top 0.3s ease, padding 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
    will-change: top, padding, background-color;
    width: 100%;
}

.site-header > .container {
    position: relative;
    transition: none;
}

.site-header.is-sticky > .container {
    overflow: visible;
}

.site-header .header-card {
    background: transparent;
    border-radius: 22px;
    overflow: visible;
    box-shadow: none;
    transition: border-radius 0.2s ease, box-shadow 0.2s ease;
}

/* Sticky State - Move to top */
.site-header.is-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    right: 0;
    width: 100%;
    background-color: transparent;
    box-shadow: none;
    padding-top: 0;
    padding-bottom: 0;
    z-index: 1030;
}

.site-header.is-sticky .header-card {
    margin: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
}

/* Menu Bar - White Background */
.menu-bar {
    background: var(--white) !important;
    border-radius: 22px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    padding-left: 0;
    padding-right: 0;
    position: relative;
    z-index: 1050;
    padding-top: 0;
    padding-bottom: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: stretch;
    overflow: visible;
    min-height: 70px;
}

.menu-bar > div {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.menu-bar .row {
    overflow: visible;
    height: 100%;
    align-items: stretch;
}

.menu-bar .row > .col,
.menu-bar .row > .col-auto {
    display: flex;
    align-items: stretch;
}

/* Navigation list */
.navbar-collapse {
    height: 100%;
    display: flex;
}

.navbar-collapse .nav {
    height: 100%;
    align-items: stretch;
}

/* Navbar Logo - Always visible */
.navbar-logo {
    display: flex;
    align-items: center;
    align-self: flex-end;
    padding-left: 1.5rem;
    padding-right: 1rem;
    padding-bottom: 0.5rem;
    height: auto;
}

.navbar-logo-img {
    height: 55px;
    width: auto;
    filter: none;
    transition: all 0.3s ease;
}

.navbar-logo:hover .navbar-logo-img {
    transform: scale(1.05);
}

/* Navigation Items */
.nav-item {
    position: relative;
    overflow: visible;
    display: flex;
    align-items: stretch;
    height: 100%;
}

.nav-link {
    font-weight: 600;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    transition: color 0.3s ease;
    position: relative;
    z-index: 2;
    color: var(--dark-color) !important;
    height: 100%;
    display: flex;
    align-items: center;
}

/* Ensure default color */
a.nav-link {
    color: var(--dark-color) !important;
}

/* Full Height Hover Effect with Skew - Like Reference */
.nav-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -10px;
    right: -10px;
    bottom: 0;
    background: var(--accent-color);
    transform: skewX(-8deg) scaleY(0);
    transform-origin: bottom;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
}

/* Hover State */
.nav-item:hover::before {
    transform: skewX(-8deg) scaleY(1);
}

/* Active State - Background always visible */
.nav-item:has(.nav-link.active)::before {
    transform: skewX(-8deg) scaleY(1);
}

/* Alternative for browsers without :has() support */
.nav-link.active {
    position: relative;
}

/* Text color for hover and active states */
.nav-item:hover .nav-link {
    color: var(--dark-color) !important;
}

.nav-link.active {
    color: var(--dark-color) !important;
}

/* Focus state for accessibility */
.nav-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.nav-item:focus-within::before {
    transform: skewX(-8deg) scaleY(1);
}

.nav-item:focus-within .nav-link {
    color: var(--dark-color) !important;
}

/* Social Icons in Nav */
.nav-item-social {
    display: flex;
    align-items: flex-end;
    padding-bottom: 0.75rem;
}

.nav-item-social::before {
    display: none !important;
}

.social-icons-nav {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    align-items: center;
}

.social-icon-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--dark-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.social-icon-nav:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Full Width Sticky Menu Bar */
.site-header.is-sticky .menu-bar {
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    width: 100vw;
    border-radius: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    background: var(--white) !important;
    transform: translateY(0);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-10px);
        opacity: 0.9;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Center content in full width sticky bar */
.site-header.is-sticky .menu-bar > div {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    width: 100%;
}

.site-header.is-sticky .menu-bar .row {
    flex-wrap: wrap !important;
    align-items: center !important;
    position: relative;
}

/* Column Layout Management */
.menu-bar .col-auto.d-lg-none {
    display: flex !important;
}

/* Compact styling when sticky */
.site-header.is-sticky .nav-link {
    padding: 0.65rem 1.1rem !important;
    font-size: 0.95rem;
}

.site-header.is-sticky .navbar-logo-img {
    height: 42px;
}

.site-header.is-sticky .navbar-toggler {
    padding: 0.4rem 0.65rem;
}

.site-header.is-sticky .menu-bar {
    padding-top: 0.4rem;
    padding-bottom: 0.4rem;
}

.site-header.is-sticky .navbar-logo {
    padding-left: 1rem;
}

/* Navbar Toggle Button */
.navbar-toggler {
    border-color: var(--dark-color);
    align-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0.75rem;
    margin-left: auto;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2826, 26, 26, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    width: 1.5rem;
    height: 1.5rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(0, 102, 161, 0.25);
}

/* Dropdown Menus */
.dropdown-menu {
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    z-index: 2000;
    margin-top: .5rem;
    background: var(--white);
    padding: 0.5rem 0;
}

.dropdown-item {
    padding: 0.6rem 1.5rem;
    color: var(--dark-color);
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: var(--accent-color);
    color: var(--white);
    padding-left: 1.8rem;
}

/* ========================================
   Hero Section
======================================== */

.hero-section {
    margin-top: 0;
    padding-top: 0;
    background: var(--light-gray);
    overflow: hidden;
    position: relative;
}

.hero-text-col {
    background-image: url('../img/pattern-hero.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    border-radius: 0px 40px 40px 0px;
    position: relative;
    min-height: 500px;
    z-index: 2;
}

.hero-text-col::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 102, 161, 0.85);
    border-radius: 0px 40px 40px 0px;
    z-index: 1;
}

.hero-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.hero-subtitle-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-title-line {
    width: 80px;
    height: 3px;
    background: var(--accent-color);
    flex-shrink: 0;
}

.hero-subtitle {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0;
    letter-spacing: 1px;
}

.hero-title {
    color: var(--white);
    font-size: 2.3rem;
    font-weight: 500;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero-description {
    color: var(--white);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 400;
    opacity: 0.95;
}

/* Botón Pre-Registro en Hero */
.btn-preregistro-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 2.25rem;
    background: var(--dark-color);
    color: var(--white) !important;
    font-weight: 400;
    font-size: 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-preregistro-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-preregistro-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    background: #2a3b4c;
}

.btn-preregistro-hero:hover::before {
    left: 0;
}

.btn-preregistro-hero .btn-text {
    position: relative;
    z-index: 2;
}

.btn-preregistro-hero i {
    font-size: 0.9rem;
    color: var(--accent-color);
    transition: transform 0.3s ease;
}

.btn-preregistro-hero:hover i {
    transform: translateX(3px);
    color: var(--accent-color);
}

.hero-image {
    position: relative;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}


/* ========================================
   Welcome Section
======================================== */

.welcome-section {
    background: var(--light-gray);
    background-image: url('../img/img-background.png');
    background-size: contain;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: 30% center;
}

.section-title {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.section-title-wrapper {
    display: flex;
    justify-content: center;
}

.section-title .title-vertical-bar {
    width: 6px;
    background: var(--accent-color);
    border-radius: 3px;
    flex-shrink: 0;
    align-self: stretch;
}

.section-title .title-text-wrapper {
    text-align: left;
    display: flex;
    flex-direction: column;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.section-sub-title {
    font-size: 3rem;
    font-weight: 900;
    color: var(--secondary-color);
    margin-bottom: 0;
    line-height: 1.2;
}

.text-primary-custom {
    color: var(--secondary-color);
    font-weight: 700;
}

/* Legacy styles for backwards compatibility */
.title-bar {
    width: 6px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 0;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.title-text {
    font-weight: 400;
    color: var(--dark-color);
    line-height: 1.3;
}

.welcome-text {
    text-align: justify;
    color: var(--gray-color);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.btn-join {
    background: var(--primary-color);
    color: var(--white);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    border: none;
    margin-top: 1rem;
    transition: all 0.3s ease;
}

.btn-join:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 161, 0.3);
}

.welcome-icon {
    font-size: 10rem;
    color: var(--accent-color);
    position: relative;
}

/* Parallax Layer Container */
.parallax-layer-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.parallax-layer {
    width: 100%;
    height: auto;
    display: block;
    will-change: transform;
}

/* The back layer is in the normal flow to define container size */
.layer-back {
    position: relative;
    z-index: 1;
}

/* Middle and front layers are absolutely positioned over the back */
.layer-middle,
.layer-front {
    position: absolute;
    top: 0;
    left: 0;
}

.layer-middle {
    z-index: 2;
}

.layer-front {
    z-index: 3;
}

.welcome-icon img {
    will-change: transform;
}

/* ========================================
   About Section - Full Width Slider
======================================== */

.about-slider-section {
    background: var(--light-gray);
    padding: 80px 0 !important;
    overflow: hidden;
}

/* About Section - Integrated Design */
.about-integrated-wrapper {
    background: var(--white);
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.about-integrated-wrapper .row {
    min-height: 550px;
}

/* Vertical Title Column */
.about-title-vertical {
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3rem 2rem;
}

.about-title-content {
    display: flex;
    align-items: stretch;
    gap: 1.5rem;
    width: 100%;
}

.about-title-content .title-vertical-bar {
    width: 6px;
    background: var(--accent-color);
    border-radius: 3px;
    flex-shrink: 0;
    align-self: stretch;
    min-height: 150px;
}

.about-title-content .title-text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.about-title-content .section-main-title {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
    line-height: 1.2;
}

.about-title-content .section-sub-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--secondary-color);
    line-height: 1.1;
}

/* Right Column - Content Card */
.about-content-col {
    background: var(--dark-color);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 4rem 3rem;
    min-height: 550px;
    height: 550px;
    overflow: hidden;
    position: relative;
    border-radius: 30px 30px 30px 30px;
}

.about-content-col::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    z-index: 1;
}

.about-content-card {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: var(--white);
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Carousel adjustments for smooth transitions */
/* Owl Carousel */
.about-owl-carousel {
    width: 100%;
    height: 550px;
}

.about-owl-carousel .owl-stage-outer {
    height: 100%;
    border-radius: 0 30px 30px 0;
    overflow: hidden;
}

.about-owl-carousel .owl-stage {
    height: 100%;
    display: flex;
}

.about-owl-carousel .owl-item {
    height: 100%;
}

.content-header {
    margin-bottom: 2rem;
}

.content-icon-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent-color);
    flex-shrink: 0;
    -webkit-text-stroke: 4px var(--dark-color);
    text-stroke: 4px var(--dark-color);
    paint-order: stroke fill;
}

.content-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-top: -70px;
    margin-bottom: 10px;
    margin-left: 3.5rem;
    letter-spacing: 3px;
    color: var(--white);
}

.content-text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    margin-left: 2rem;
}

.content-text strong {
    color: var(--accent-color);
    font-weight: 700;
}

/* Navigation Buttons */
.about-slider-navigation {
    position: relative;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
    padding-top: 2rem;
    z-index: 100;
}

.about-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: lowercase;
    display: flex;
    border-radius: 8px;
    backdrop-filter: blur(10px);
    align-items: center;
    gap: 0.5rem;
    opacity: 0.9;
}

.about-nav-btn:hover {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.3);
}

.about-nav-prev:hover {
    transform: translateY(-2px);
}

.about-nav-btn i {
    font-size: 1rem;
    transition: all 0.3s ease;
}

.about-nav-btn span {
    font-size: 1rem;
    letter-spacing: 0.5px;
}

/* Owl Carousel Custom Styles */
.about-owl-carousel {
    position: relative;
}

.about-owl-carousel .owl-stage-outer {
    overflow: visible;
    padding: 0;
}

.about-owl-carousel .owl-item {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.about-owl-carousel .owl-item.active {
    opacity: 1;
}

/* Hide default Owl nav and dots */
.about-owl-carousel .owl-nav,
.about-owl-carousel .owl-dots {
    display: none;
}

/* Smooth fade transitions */
.owl-carousel .animated {
    animation-duration: 0.8s;
}

.owl-carousel .fadeOut {
    animation-name: fadeOut;
}

.owl-carousel .fadeIn {
    animation-name: fadeIn;
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ========================================
   Mesa Directiva Section - Card Layout
======================================== */

.directiva-gallery-section {
    background: var(--light-gray);
    overflow: hidden;
}

.directiva-description {
    color: var(--gray-color);
    line-height: 1.8;
    font-size: 0.95rem;
    text-align: start;
    margin-top: 1.5rem;
}

.directiva-gallery-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.directiva-gallery {
    display: flex;
    width: 100%;
    height: 500px;
    gap: 10px;
}

/* Gallery Card Base - Hover simple con transitions CSS */
.gallery-card {
    position: relative;
    flex: 1;
    min-width: 100px;
    height: 100%;
    overflow: hidden;
    cursor: pointer;
    border-radius: 30px;
    transition: flex 0.6s ease, box-shadow 0.3s ease; /* ✅ Transición suave */
}

/* Hover state - Expansión suave */
.gallery-card:hover {
    flex: 4;
    box-shadow: 0 0 40px rgba(0, 166, 223, 0.3);
    z-index: 10;
}

/* Mobile expanded */
.gallery-card.mobile-expanded {
    flex: 4;
    box-shadow: 0 0 40px rgba(0, 166, 223, 0.3);
    z-index: 10;
}

/* Card Image Wrapper */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
}

.gallery-card:hover .card-bg-image,
.gallery-card.mobile-expanded .card-bg-image {
    transform: scale(1.05);
}

/* Card Overlay */
.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.3) 0%, 
        rgba(0, 0, 0, 0.6) 70%, 
        rgba(0, 0, 0, 0.9) 100%);
    transition: all 0.6s ease;
    border-radius: 30px;
}

.gallery-card:hover .card-overlay,
.gallery-card.mobile-expanded .card-overlay {
    background: linear-gradient(to bottom, 
        rgba(0, 102, 161, 0.4) 0%, 
        rgba(0, 102, 161, 0.7) 70%, 
        rgba(0, 102, 161, 0.95) 100%);
}

/* Card Info */
.card-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: var(--white);
    z-index: 10;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 1rem;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover .card-info,
.gallery-card.mobile-expanded .card-info {
    flex-direction: column;
    align-items: flex-start;
}

/* Role - Vertical Text by Default */
.role-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 1rem;
    transition: all 0.6s ease;
    opacity: 1;
}

/* Horizontal cuando hover */
.gallery-card:hover .role-vertical,
.gallery-card.mobile-expanded .role-vertical {
    writing-mode: horizontal-tb;
    transform: rotate(0);
    font-size: 0.9rem;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

/* Member Name - Vertical in closed state */
.member-name {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 0;
    margin-bottom: 0;
    color: var(--white);
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    transition: all 0.6s ease;
    white-space: nowrap;
}

/* Horizontal cuando hover */
.gallery-card:hover .member-name,
.gallery-card.mobile-expanded .member-name {
    writing-mode: horizontal-tb;
    transform: rotate(0);
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

/* Card Details Container */
.card-details {
    display: flex;
    flex-direction: column;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Member Credentials - Hidden by default */
.member-credentials {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.6s ease, opacity 0.6s ease;
}

/* Mostrar credenciales cuando hover */
.gallery-card:hover .member-credentials,
.gallery-card.mobile-expanded .member-credentials {
    max-height: 300px;
    opacity: 1;
}

.member-credentials li {
    margin-bottom: 0px;
    line-height: normal;
    font-size: .8rem;
}

/* Shrink Other Cards on Hover */
.directiva-gallery:has(.gallery-card:hover) .gallery-card:not(:hover) {
    flex: 0.8;
}

.directiva-gallery:has(.gallery-card:hover) .gallery-card:not(:hover) .role-vertical {
    font-size: 1rem;
    opacity: 0.7;
}

.directiva-gallery:has(.gallery-card:hover) .gallery-card:not(:hover) .card-overlay {
    background: linear-gradient(to bottom, 
        rgba(0, 0, 0, 0.5) 0%, 
        rgba(0, 0, 0, 0.8) 100%);
}

/* ========================================
   Sponsors Section
======================================== */

.sponsors-section {
    background: var(--primary-color-light);
}

.sponsor-card {
    background: var(--white);
    border-radius: 15px;
    padding: 1.5rem 0px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* .sponsor-card.featured {
    border: 3px solid var(--primary-color);
} */

.sponsor-card img {
    margin-bottom: 1rem;
    max-height: 100px;
    object-fit: contain;
}

.sponsor-social {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sponsor-social .social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-gray);
    color: var(--gray-color);
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.sponsor-social .social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* ========================================
   Contacto Page
======================================== */

.contacto-hero-section {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
}

.contacto-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.contacto-hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 166, 206, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.contacto-content {
    position: relative;
    z-index: 2;
}

.contacto-title-wrapper {
    margin-bottom: 3rem;
}

.contacto-question {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.contacto-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0;
    line-height: 0.9;
    text-decoration: underline;
    text-decoration-color: var(--accent-color);
    text-underline-offset: 10px;
    text-decoration-thickness: 4px;
}

/* Contact Info Items */
.contacto-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(10px);
}

/* Info icon - Contacto page - SIN círculo */
.contacto-hero-section .info-icon {
    background: transparent;
    color: var(--accent-color);
    width: 50px;
    height: 50px;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.contacto-hero-section .info-item:hover .info-icon {
    transform: scale(1.2);
    color: var(--cyan-light);
}

.info-content h5 {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.info-content a,
.info-content p {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
    transition: all 0.3s ease;
}

.info-content a:hover {
    color: var(--accent-color);
}

/* Contact Form Card */
.contacto-form-wrapper {
    position: relative;
    z-index: 2;
}

.contacto-form-card {
    background: var(--white);
    border-radius: 25px;
    padding: 3rem 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.form-card-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-card-subtitle {
    font-size: 1rem;
    color: var(--gray-color);
    margin-bottom: 2rem;
}

.contacto-form-card .form-group {
    margin-bottom: 1.5rem;
}

.contacto-form-card .form-group label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

/* Bootstrap 5 Floating Labels - Custom Styles */
.contacto-form-card .form-floating {
    margin-bottom: 1.5rem;
}

.contacto-form-card .form-floating > .form-control {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid var(--light-gray);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
    height: calc(3.5rem + 2px);
    color: #333 !important; /* Color del texto visible */
}

.contacto-form-card .form-floating > textarea.form-control {
    height: auto;
    min-height: 150px;
    padding-top: 1.625rem;
    color: #333 !important; /* Color del texto visible */
}

.contacto-form-card .form-floating > label {
    padding: 1rem 1.2rem;
    font-weight: 500;
    color: var(--gray-color);
    font-size: 0.95rem;
    opacity: 0.7;
}

/* Ocultar el placeholder cuando el label está visible */
.contacto-form-card .form-floating > .form-control::placeholder {
    color: transparent !important;
    opacity: 0;
}

/* Solo mostrar placeholder cuando el input tiene focus Y está vacío */
.contacto-form-card .form-floating > .form-control:focus::placeholder {
    color: #999 !important;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

/* Evitar que autocomplete cambie el color del texto */
.contacto-form-card .form-floating > .form-control:-webkit-autofill,
.contacto-form-card .form-floating > .form-control:-webkit-autofill:hover,
.contacto-form-card .form-floating > .form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #333 !important;
    -webkit-box-shadow: 0 0 0px 1000px white inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

.contacto-form-card .form-floating > .form-control:focus,
.contacto-form-card .form-floating > .form-control:not(:placeholder-shown) {
    padding-top: 1.625rem;
    padding-bottom: 0.625rem;
    color: #333 !important; /* Mantener color visible al escribir */
}

.contacto-form-card .form-floating > .form-control:focus ~ label,
.contacto-form-card .form-floating > .form-control:not(:placeholder-shown) ~ label {
    opacity: 1;
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
    color: var(--primary-color);
}

.contacto-form-card .form-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 166, 206, 0.1);
    color: #333 !important; /* Color visible al enfocar */
}

.contacto-form-card .form-control.is-invalid {
    border-color: #dc3545;
}

.contacto-form-card .form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.contacto-form-card .invalid-feedback {
    display: none;
    font-size: 0.875rem;
    color: #dc3545;
    margin-top: 0.25rem;
}

.contacto-form-card .was-validated .form-control:invalid ~ .invalid-feedback {
    display: block;
}

.contacto-form-card textarea.form-control {
    resize: vertical;
}

.btn-submit-contacto {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(0, 102, 161, 0.3);
    position: relative;
}

.btn-submit-contacto:hover:not(:disabled) {
    background: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 102, 161, 0.4);
}

.btn-submit-contacto:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-submit-contacto i {
    transition: transform 0.3s ease;
}

.btn-submit-contacto:hover:not(:disabled) i {
    transform: translateX(5px);
}

/* Alert Styles for Contact Form */
.contacto-form-card .alert {
    border-radius: 10px;
    margin-bottom: 1.5rem;
    border: none;
    padding: 1rem 1.25rem;
    font-size: 0.95rem;
}

.contacto-form-card .alert-success {
    background-color: #d4edda;
    color: #155724;
}

.contacto-form-card .alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}

.contacto-form-card .alert ul {
    padding-left: 1.5rem;
}

/* Map Section */
.map-section {
    padding: 0;
    margin: 0;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    overflow: hidden;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: grayscale(30%);
    transition: filter 0.3s ease;
}

.map-wrapper iframe:hover {
    filter: grayscale(0%);
}

/* ========================================
   Footer Styles
======================================== */

.main-footer {
    background: var(--dark-color);
    color: var(--white);
}

/* Contact Form Section */
.footer-form-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    margin-bottom: 3rem;
    backdrop-filter: blur(10px);
}

.footer-form-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-align: center;
}

.footer-form-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 300;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    color: var(--white);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 0.85rem 1.2rem;
    color: var(--white);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--accent-color);
    color: var(--white);
    outline: none;
    box-shadow: 0 0 0 0.25rem rgba(0, 188, 212, 0.25);
}

.contact-form textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.btn-submit-form {
    background: var(--accent-color);
    color: var(--white);
    border: none;
    border-radius: 50px;
    padding: 0.9rem 3rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 15px rgba(0, 188, 212, 0.3);
}

.btn-submit-form:hover {
    background: var(--cyan-light);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 188, 212, 0.4);
    color: var(--white);
}

.btn-submit-form i {
    background: rgba(255, 255, 255, 0.2);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.btn-submit-form:hover i {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(5px);
}

.form-submit-wrapper {
    text-align: center;
    margin-top: 2rem;
}

.footer-wrapper {
    padding: 4rem 0 2rem;
}

/* Footer Header */
.footer-header {
    padding-bottom: 3rem;
}

.footer-logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.footer-logo-text h5 {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Footer CTA Box */
.footer-cta-box {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.cta-question {
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.cta-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 0.5rem;
}

.cta-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: calc(100% - 45px);
    height: 3px;
    background: var(--accent-color);
    transition: all 0.3s ease;
}

.cta-link:hover::after {
    background: var(--white);
    height: 4px;
}

.cta-link:hover {
    color: var(--white);
}

.cta-link i {
    background: var(--accent-color);
    color: var(--white);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cta-link:hover i {
    background: var(--white);
    color: var(--primary-color);
    transform: translateX(5px);
}

/* Footer Content */
.footer-content {
    padding-top: 1rem;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.95);
    text-align: justify;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 8px;
    transform: translateX(5px);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.2rem;
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--accent-color) !important;
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
    width: 25px;
    text-align: center;
}

.footer-contact .fab,
.footer-contact .fas {
    color: var(--accent-color) !important;
}

.footer-contact a,
.footer-contact span {
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-contact a:hover {
    color: var(--accent-color);
    transform: translateX(3px);
}

/* Footer Social Links */
.footer-social-links,
.footer-social-icons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
}

.footer-social-icon,
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 10px;
    background: rgba(0, 204, 255, 0.15);
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-icon:hover,
.footer-social-link:hover {
    background: var(--accent-color);
    color: var(--dark-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 204, 255, 0.5);
}

.footer-social-icon i,
.footer-social-link i {
    color: inherit !important;
}

/* Footer Bottom */
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    margin: 0;
}

.copyright-text strong {
    color: var(--accent-color);
    font-weight: 600;
}

/* ========================================
   Scroll to Top Button
======================================== */

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

/* ========================================
   Responsive Styles
======================================== */

/* Large Screens - Desktop */
@media (min-width: 992px) {
    /* Hero Desktop */
    .hero-image {
        padding: 0 2rem;
        justify-content: center;
        z-index: 1;
    }
    
    .hero-image img {
        width: 100%;
        border-radius: 30px;
    }
    
    .navbar-logo {
        margin-right: 1rem;
    }
    
    .navbar-logo-img {
        height: 75px;
    }
    
    .menu-bar .col-auto.d-lg-none {
        display: none !important;
    }
    
    .site-header.is-sticky .menu-bar .row {
        flex-wrap: nowrap !important;
    }
    
    .site-header.is-sticky .menu-bar .col {
        flex: 1 1 auto;
        order: 0 !important;
    }
    
    .site-header.is-sticky .menu-bar .col-auto:first-child {
        order: 0 !important;
    }
}

/* Tablets & Mobile */
@media (max-width: 991.98px) {
    /* Header adjustments */
    .site-header {
        top: 10px;
    }
    
    .site-header.is-sticky {
        top: 0 !important;
    }
    
    /* Mobile menu layout */
    .menu-bar > .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .menu-bar .row {
        overflow: visible !important;
        flex-wrap: wrap !important;
    }
    
    .menu-bar .col-auto.d-lg-none {
        order: 2;
        margin-left: auto;
    }
    
    .menu-bar .col {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
    }
    
    .navbar-toggler {
        z-index: 1100;
        position: relative;
    }
    
    .navbar-collapse {
        background: var(--white);
        padding: 1rem;
        margin-top: 0.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        overflow: visible;
    }
    
    .navbar-collapse .nav {
        flex-direction: column !important;
        width: 100%;
        overflow: visible;
    }
    
    .nav-item {
        width: 100%;
        margin-bottom: 0.5rem;
        overflow: visible;
    }
    
    .nav-link {
        display: block !important;
        padding: 0.75rem 1rem !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        color: var(--dark-color) !important;
    }
    
    .nav-item:last-child .nav-link {
        border-bottom: none;
    }
    
    /* Mobile hover and active effects - Full height with skew */
    .nav-item::before {
        top: -3px;
        left: -8px;
        right: -8px;
        bottom: -3px;
        transform: skewX(-6deg) scaleY(0);
    }
    
    .nav-item:hover::before,
    .nav-item:has(.nav-link.active)::before {
        transform: skewX(-6deg) scaleY(1);
    }
    
    .nav-item:hover .nav-link,
    .nav-link.active {
        color: var(--dark-color) !important;
    }
    
    .nav-item:focus-within::before {
        transform: skewX(-6deg) scaleY(1);
    }
    
    /* Smaller logo on mobile */
    .navbar-logo-img {
        height: 35px;
    }
    
    .navbar-logo {
        margin-right: 0.5rem;
        padding-left: 0.5rem;
    }
    
    .site-header.is-sticky .navbar-logo-img {
        height: 30px;
    }
    
    .site-header.is-sticky .menu-bar {
        padding-top: 0.5rem;
        padding-bottom: 0.5rem;
        overflow: visible !important;
    }
    
    .site-header.is-sticky .menu-bar > div {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .site-header.is-sticky .menu-bar .row {
        overflow: visible !important;
        flex-wrap: wrap !important;
    }
    
    .site-header.is-sticky .menu-bar .col-auto:first-child {
        order: 0 !important;
    }
    
    .site-header.is-sticky .menu-bar .col-auto.d-lg-none {
        order: 1 !important;
    }
    
    .site-header.is-sticky .menu-bar .col {
        order: 2 !important;
    }
    
    .site-header.is-sticky .navbar-collapse {
        padding: 1rem !important;
        margin-top: 0.5rem;
        margin-left: 0;
        margin-right: 0;
        border-radius: 8px !important;
        background: var(--white);
    }
    
    .site-header.is-sticky .navbar-collapse .nav {
        width: 100%;
    }
    
    .site-header.is-sticky .nav-link {
        padding: 0.75rem 1rem !important;
        color: var(--dark-color) !important;
    }
    
    /* Social icons in mobile menu */
    .nav-item-social {
        margin-top: 0.5rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        justify-content: center;
    }
    
    .social-icons-nav {
        justify-content: center;
        margin-left: 0;
    }
    
    /* Content sections */
    .hero-text-col {
        border-radius: 0 0 40px 40px;
        z-index: 2;
    }
    
    .hero-text-col::before {
        border-radius: 0 0 40px 40px;
    }
    
    .hero-image {
        margin-left: 0;
        margin-top: -40px;
        padding: 0 1.5rem 1.5rem 1.5rem;
        justify-content: center;
        z-index: 1;
    }
    
    .hero-image img {
        width: 100%;
        border-radius: 30px;
    }
    
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-subtitle-wrapper {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }
    
    .hero-title-line {
        width: 60px;
        height: 2.5px;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .btn-preregistro-hero {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
    }

    .section-title .title-vertical-bar {
        width: 5px;
    }
    
    .section-main-title {
        font-size: 2rem;
    }
    
    .section-sub-title {
        font-size: 2.5rem;
    }
    
    .title-bar {
        width: 5px;
        height: 50px;
    }

    .directivo-card {
        flex-direction: column;
    }

    .directivo-image {
        flex: 1;
        max-width: 100%;
    }
    
    /* About Slider - Stack columns on mobile */
    .about-slider-section .row {
        flex-direction: column;
    }
    
    .about-content-col {
        order: 2;
    }
}

/* Tablets Landscape - Specific breakpoints */
@media (min-width: 768px) and (max-width: 991px) {
    .site-header.is-sticky .nav-link {
        padding: 0.55rem 0.65rem !important;
        font-size: 0.85rem;
    }
    
    .site-header.is-sticky .navbar-logo-img {
        height: 35px;
    }
}

@media (min-width: 992px) and (max-width: 1023px) {
    .nav-link {
        padding: 0.65rem 0.7rem !important;
        font-size: 0.88rem;
    }
    
    .site-header.is-sticky .nav-link {
        padding: 0.6rem 0.65rem !important;
        font-size: 0.88rem;
    }
    
    .site-header.is-sticky .navbar-logo-img {
        height: 38px;
    }
}

@media (min-width: 1024px) and (max-width: 1100px) {
    .nav-link {
        padding: 0.65rem 0.8rem !important;
        font-size: 0.9rem;
    }
    
    .site-header.is-sticky .nav-link {
        padding: 0.6rem 0.75rem !important;
        font-size: 0.9rem;
    }
    
    .site-header.is-sticky .navbar-logo-img {
        height: 40px;
    }
}

@media (min-width: 1100px) and (max-width: 1199px) {
    .nav-link {
        padding: 0.7rem 0.95rem !important;
        font-size: 0.92rem;
    }
    
    .site-header.is-sticky .nav-link {
        padding: 0.65rem 0.9rem !important;
        font-size: 0.92rem;
    }
    
    .site-header.is-sticky .navbar-logo-img {
        height: 40px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {
    /* Desktop Large - Gallery */
    .directiva-gallery {
        display: flex;
        flex-direction: row;
        height: 500px;
        gap: 10px;
    }
    
    .gallery-card {
        flex: 1;
        min-width: 100px;
        height: 100%;
        border-radius: 30px;
        background: transparent;
        box-shadow: none;
    }
    
    .gallery-card:hover {
        flex: 4;
        transform: none;
    }
    
    .card-image-wrapper {
        width: 100%;
        height: 100%;
        border-radius: 30px;
    }
    
    .card-bg-image,
    .card-overlay {
        border-radius: 30px;
    }
    
    .card-info {
        position: absolute;
        bottom: 0;
        padding: 1.5rem;
        background: transparent;
    }
    
    .role-vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-size: .8rem;
    }
    
    .gallery-card:hover .role-vertical {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        font-size: 0.9rem;
    }
    
    .member-name {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-size: 1rem;
    }
    
    .gallery-card:hover .member-name {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        font-size: 1.45rem;
    }
    
    .member-credentials {
        max-height: 0;
        opacity: 0;
    }
    
    .gallery-card:hover .member-credentials {
        max-height: 300px;
        opacity: 1;
    }
    
    /* Welcome Parallax - Desktop Large */
    .parallax-layer-container {
        max-width: 650px;
    }
    
    /* Afiliación Parallax - Desktop Large */
    .afiliacion-parallax.parallax-layer-container {
        max-width: 750px;
    }
    
    .nav-link {
        padding: 0.75rem 1.1rem !important;
        font-size: 0.95rem;
    }
    
    .site-header.is-sticky .nav-link {
        padding: 0.65rem 1rem !important;
        font-size: 0.95rem;
    }
    
    .site-header.is-sticky .navbar-logo-img {
        height: 42px;
    }
}

@media (min-width: 1400px) {
    /* Hero Extra Large Desktop */
    .hero-image {
        padding: 0 3rem;
    }
    
    .hero-image img {
        width: 100%;
    }
    
    /* Extra Large Desktop - Gallery */
    .directiva-gallery {
        display: flex;
        flex-direction: row;
        height: 550px;
        gap: 12px;
    }
    
    .gallery-card {
        flex: 1;
        min-width: 100px;
        height: 100%;
        border-radius: 30px;
        background: transparent;
        box-shadow: none;
    }
    
    .gallery-card:hover {
        flex: 4;
        transform: none;
    }
    
    .card-image-wrapper {
        width: 100%;
        height: 100%;
        border-radius: 30px;
    }
    
    .card-bg-image,
    .card-overlay {
        border-radius: 30px;
    }
    
    .card-info {
        position: absolute;
        bottom: 0;
        padding: 2rem;
        background: transparent;
    }
    
    .role-vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-size: 1.3rem;
    }
    
    .gallery-card:hover .role-vertical {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        font-size: 1rem;
    }
    
    .member-name {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-size: 1.8rem;
    }
    
    .gallery-card:hover .member-name {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        font-size: 2rem;
    }
    
    .member-credentials {
        max-height: 0;
        opacity: 0;
        font-size: 1rem;
    }
    
    .gallery-card:hover .member-credentials {
        max-height: 300px;
        opacity: 1;
    }
    
    /* Welcome Parallax - Extra Large */
    .parallax-layer-container {
        max-width: 750px;
    }
    
    /* Afiliación Parallax - Extra Large */
    .afiliacion-parallax.parallax-layer-container {
        max-width: 850px;
    }
    
    .nav-link {
        padding: 0.75rem 1.4rem !important;
        font-size: 1rem;
    }
    
    .site-header.is-sticky .nav-link {
        padding: 0.65rem 1.2rem !important;
        font-size: 0.98rem;
    }
    
    .navbar-logo-img {
        height: 75px;
    }
}

/* Mobile Portrait */
@media (max-width: 767px) {
    .hero-text-col {
        padding: 3rem 1.5rem;
        border-radius: 0 0 40px 40px;
        z-index: 2;
    }
    
    .hero-text-col::before {
        border-radius: 0 0 40px 40px;
    }
    
    .hero-image {
        margin-left: 0;
        margin-top: -40px;
        padding: 0 1rem 1rem 1rem;
        min-height: 400px;
        justify-content: center;
        z-index: 1;
    }
    
    .hero-image img {
        width: 100%;
        border-radius: 25px;
    }

    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-subtitle-wrapper {
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-title-line {
        width: 50px;
        height: 2px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }
    
    .btn-preregistro-hero {
        padding: 0.8rem 1.75rem;
        font-size: 0.9rem;
        gap: 0.5rem;
        width: 100%;
        justify-content: center;
    }

    .welcome-icon {
        font-size: 5rem;
    }
    
    /* Adjust parallax layers for mobile */
    .parallax-layer-container {
        max-width: 300px;
    }
    
    .section-title .title-vertical-bar {
        width: 4px;
    }
    
    .section-main-title {
        font-size: 1.8rem;
    }
    
    .section-sub-title {
        font-size: 2rem;
    }
    
    .title-bar {
        width: 4px;
        height: 45px;
    }

    .cta-title {
        font-size: 1.2rem;
    }

    /* Footer Form Responsive */
    .footer-form-section {
        padding: 2rem 1.5rem;
        margin-bottom: 2rem;
    }

    .footer-form-title {
        font-size: 1.5rem;
    }

    .footer-form-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .btn-submit-form {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }

    /* Footer Responsive */
    .footer-wrapper {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-header {
        padding-bottom: 2.5rem;
    }
    
    .footer-logo-wrapper {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-logo {
        width: 80px;
        height: 80px;
    }
    
    .footer-logo-text h5 {
        font-size: 0.9rem;
    }
    
    .footer-cta-box {
        text-align: center;
    }
    
    .cta-question {
        font-size: 1.3rem;
    }
    
    .cta-link {
        font-size: 1.5rem;
    }
    
    .cta-link i {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .footer-content {
        padding-top: 2rem;
    }
    
    .footer-title {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .footer-text,
    .footer-links a,
    .footer-contact li {
        font-size: 0.85rem;
    }
    
    .footer-social-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        margin-top: 2rem !important;
    }

    /* Mesa Directiva Gallery - Mobile */
    .directiva-description {
        font-size: 0.88rem;
        margin-bottom: 2rem;
    }
    
    /* Mobile Gallery - Card Grid Layout */
    .directiva-gallery {
        display: grid;
        grid-template-columns: 1fr;
        height: auto;
        gap: 1.5rem;
    }
    
    .gallery-card {
        min-height: unset;
        height: auto;
        flex: none !important;
        border-radius: 20px;
        display: flex;
        flex-direction: row;
        overflow: visible;
        background: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .gallery-card:hover {
        flex: none;
        box-shadow: 0 8px 30px rgba(0, 102, 161, 0.2);
    }
    
    /* Mobile Image */
    .card-image-wrapper {
        width: 120px;
        min-width: 120px;
        height: 180px;
        position: relative;
        border-radius: 20px 0 0 20px;
        overflow: hidden;
    }
    
    .card-bg-image {
        border-radius: 20px 0 0 20px;
    }
    
    .card-overlay {
        background: linear-gradient(to bottom, 
            rgba(0, 102, 161, 0.3) 0%, 
            rgba(0, 102, 161, 0.6) 100%);
        border-radius: 20px 0 0 20px;
    }
    
    /* Mobile Info Layout */
    .card-info {
        position: relative;
        width: 100%;
        padding: 1.2rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        background: var(--white);
    }
    
    .gallery-card:hover .card-info {
        flex-direction: column;
    }
    
    /* Mobile Role - Always horizontal */
    .role-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.75rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--accent-color);
        font-weight: 700;
        margin-bottom: 0.5rem;
        opacity: 1;
    }
    
    .gallery-card:hover .role-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.75rem;
    }
    
    /* Mobile Member Name - Always horizontal */
    .member-name {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.1rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 0.8rem;
        line-height: 1.3;
    }
    
    .gallery-card:hover .member-name {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.1rem;
        margin-bottom: 0.8rem;
    }
    
    /* Mobile Credentials - Always visible */
    .card-details {
        width: 100%;
    }
    
    .member-credentials {
        max-height: none;
        opacity: 1;
        font-size: 0.8rem;
        line-height: 1.5;
        color: var(--gray-color);
    }
    
    .member-credentials li {
        margin-bottom: 0.4rem;
    }
    
    .gallery-card:hover .member-credentials {
        max-height: none;
        opacity: 1;
    }
    
    /* Disable shrink effect on mobile */
    .directiva-gallery:has(.gallery-card:hover) .gallery-card:not(:hover) {
        flex: none;
    }
    
    .role-vertical {
        writing-mode: horizontal-tb !important;
        transform: rotate(0) !important;
        font-size: 0.9rem !important;
        letter-spacing: 2px;
    }
    
    .card-details {
        max-height: none !important;
        opacity: 1 !important;
    }
    
    .member-name {
        font-size: 1.5rem;
    }
    
    .member-credentials {
        font-size: 0.85rem;
    }
    
    .card-info {
        padding: 1.2rem;
    }
    
    /* About Slider Mobile */
    .about-slider-section {
        padding: 40px 0 !important;
    }
    
    .about-integrated-wrapper .row {
        min-height: auto;
    }
    
    .about-title-vertical {
        padding: 2.5rem 2rem;
        border-radius: 30px 30px 0 0;
    }
    
    .about-content-col {
        padding: 3rem 2rem;
        min-height: 450px;
        height: auto;
        border-radius: 30px 30px 30px 30px;
    }
    
    .about-owl-carousel {
        height: auto;
    }
    
    .about-owl-carousel .owl-stage-outer {
        border-radius: 0 0 30px 30px;
    }
    
    .about-title-content .title-vertical-bar {
        min-height: 120px;
    }
    
    .about-main-title {
        font-size: 1.8rem;
    }
    
    .content-header {
        margin-bottom: 1.5rem;
    }
    
    .content-icon-number {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .content-title {
        font-size: 2rem;
        margin-top: -45px;
        margin-left: 2.5rem;
    }
    
    .content-text {
        font-size: 0.95rem;
        margin-left: 1.5rem;
    }
    
    .about-slider-navigation {
        justify-content: center;
        padding-top: 2rem;
        gap: 1rem;
    }
    
    .about-nav-btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .about-nav-btn span {
        font-size: 0.9rem;
    }
    
    .about-title-vertical {
        order: -1;
    }
}

/* Tablets */
@media (min-width: 768px) and (max-width: 991px) {
    /* Footer Form Tablet */
    .footer-form-section {
        padding: 2.5rem 2rem;
    }

    .footer-form-title {
        font-size: 1.8rem;
    }

    .footer-form-subtitle {
        font-size: 1rem;
    }

    /* Footer Tablet */
    .footer-wrapper {
        padding: 3.5rem 0 2rem;
    }
    
    .footer-logo-wrapper {
        gap: 1.2rem;
    }
    
    .footer-logo {
        width: 90px;
        height: 90px;
    }
    
    .footer-logo-text h5 {
        font-size: 1rem;
    }
    
    .footer-cta-box {
        text-align: right;
    }
    
    .cta-question {
        font-size: 1.5rem;
    }
    
    .cta-link {
        font-size: 1.7rem;
    }
    
    .footer-text,
    .footer-links a,
    .footer-contact li {
        font-size: 0.88rem;
    }
    
    .footer-social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    /* About Slider */
    .about-slider-section {
        padding: 60px 0 !important;
    }
    
    .about-integrated-wrapper .row {
        min-height: 480px;
    }
    
    .about-title-vertical {
        padding: 2.5rem 1.5rem;
    }
    
    .about-content-col {
        padding: 3rem 2rem;
        min-height: 480px;
        height: 480px;
    }
    
    .about-owl-carousel {
        height: 480px;
    }
    
    .about-title-content .title-vertical-bar {
        min-height: 130px;
    }
    
    .about-title-content .section-main-title {
        font-size: 1.6rem;
    }
    
    .about-title-content .section-sub-title {
        font-size: 2.2rem;
    }
    
    .content-header {
        margin-bottom: 1.75rem;
    }
    
    .content-icon-number {
        width: 70px;
        height: 70px;
        font-size: 2.5rem;
    }
    
    .content-title {
        font-size: 2.3rem;
        margin-left: 1.75rem;
    }
    
    .content-text {
        font-size: 1rem;
        margin-left: 1.75rem;
    }
    
    .about-slider-navigation {
        padding-top: 2rem;
        gap: 1rem;
        justify-content: center;
    }
    
    .about-nav-btn {
        padding: 0.7rem 1.3rem;
        font-size: 0.9rem;
    }
    
    .about-nav-btn span {
        font-size: 0.9rem;
    }
    
    .about-title-vertical {
        order: -1;
    }
    
    /* Welcome Parallax - Tablet */
    .parallax-layer-container {
        max-width: 400px;
    }
    
    /* Mesa Directiva Gallery - Tablet */
    .directiva-description {
        font-size: 0.9rem;
    }
    
    /* Tablet Gallery - 2 Column Grid */
    .directiva-gallery {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        height: auto;
        gap: 1.5rem;
    }
    
    .gallery-card {
        min-width: unset;
        height: auto;
        flex: none !important;
        border-radius: 25px;
        display: flex;
        flex-direction: column;
        background: var(--white);
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }
    
    .gallery-card:hover {
        flex: none;
        box-shadow: 0 10px 30px rgba(0, 102, 161, 0.2);
        transform: translateY(-5px);
    }
    
    /* Tablet Image */
    .card-image-wrapper {
        width: 100%;
        height: 250px;
        position: relative;
        border-radius: 25px 25px 0 0;
        overflow: hidden;
    }
    
    .card-bg-image {
        border-radius: 25px 25px 0 0;
    }
    
    .card-overlay {
        background: linear-gradient(to bottom, 
            rgba(0, 102, 161, 0.2) 0%, 
            rgba(0, 102, 161, 0.5) 100%);
        border-radius: 25px 25px 0 0;
    }
    
    /* Tablet Info Layout */
    .card-info {
        position: relative;
        width: 100%;
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        background: var(--white);
    }
    
    .gallery-card:hover .card-info {
        flex-direction: column;
    }
    
    /* Tablet Role */
    .role-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.85rem;
        letter-spacing: 2px;
        text-transform: uppercase;
        color: var(--accent-color);
        font-weight: 700;
        margin-bottom: 0.5rem;
    }
    
    .gallery-card:hover .role-vertical {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 0.85rem;
    }
    
    /* Tablet Member Name */
    .member-name {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.4rem;
        font-weight: 700;
        color: var(--primary-color);
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    
    .gallery-card:hover .member-name {
        writing-mode: horizontal-tb;
        transform: none;
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    /* Tablet Credentials */
    .member-credentials {
        max-height: none;
        opacity: 1;
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .gallery-card:hover .member-credentials {
        max-height: none;
        opacity: 1;
    }
    
    /* Disable shrink effect on tablet */
    .directiva-gallery:has(.gallery-card:hover) .gallery-card:not(:hover) {
        flex: none;
    }
    
    .card-info {
        padding: 1.3rem;
    }
}

/* Large tablets and small desktops */
@media (min-width: 992px) and (max-width: 1199px) {
    /* Desktop - Restore horizontal gallery */
    .directiva-gallery {
        display: flex;
        flex-direction: row;
        height: 480px;
        gap: 10px;
    }
    
    .gallery-card {
        flex: 1;
        min-width: 100px;
        height: 100%;
        border-radius: 28px;
        flex-direction: column;
        box-shadow: none;
        background: transparent;
    }
    
    .gallery-card:hover {
        flex: 3.5;
        transform: none;
        box-shadow: 0 0 40px rgba(0, 166, 223, 0.3);
    }
    
    .card-image-wrapper {
        width: 100%;
        height: 100%;
        border-radius: 28px;
    }
    
    .card-bg-image,
    .card-overlay {
        border-radius: 28px;
    }
    
    .card-overlay {
        background: linear-gradient(to bottom, 
            rgba(0, 0, 0, 0.3) 0%, 
            rgba(0, 0, 0, 0.6) 100%);
    }
    
    .gallery-card:hover .card-overlay {
        background: linear-gradient(to bottom, 
            rgba(0, 102, 161, 0.4) 0%, 
            rgba(0, 102, 161, 0.7) 70%, 
            rgba(0, 102, 161, 0.95) 100%);
    }
    
    .card-info {
        position: absolute;
        bottom: 0;
        padding: 1.3rem;
        background: transparent;
    }
    
    .gallery-card:hover .card-info {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .role-vertical {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-size: 1rem;
        letter-spacing: 2px;
        margin: 0;
        opacity: 1;
    }
    
    .gallery-card:hover .role-vertical {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .member-name {
        writing-mode: vertical-rl;
        text-orientation: mixed;
        transform: rotate(180deg);
        font-size: 1.5rem;
        margin: 0;
    }
    
    .gallery-card:hover .member-name {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .member-credentials {
        max-height: 0;
        opacity: 0;
        font-size: 0.88rem;
    }
    
    .gallery-card:hover .member-credentials {
        max-height: 300px;
        opacity: 1;
    }
    
    .directiva-gallery:has(.gallery-card:hover) .gallery-card:not(:hover) {
        flex: 0.8;
    }
    
    /* Welcome Parallax - Desktop Small */
    .parallax-layer-container {
        max-width: 500px;
        margin: 0 auto;
    }
    
    /* Afiliación Parallax - Desktop Small */
    .afiliacion-parallax.parallax-layer-container {
        max-width: 600px;
    }
    
    /* About Slider */
    .about-content-col {
        padding: 3.5rem 2.5rem;
    }
    
    
    .content-icon-number {
        width: 75px;
        height: 75px;
        font-size: 2.75rem;
        -webkit-text-stroke: 4px var(--dark-color);
        text-stroke: 4px var(--dark-color);
    }
    
    .content-title {
        font-size: 2.5rem;
        margin-left: 1.85rem;
    }
    
    .content-text {
        margin-left: 1.85rem;
    }
    
    /* Mesa Directiva Gallery */
    .directiva-gallery {
        height: 480px;
        gap: 10px;
    }
    
    .gallery-card {
        border-radius: 28px;
    }
    
    .card-bg-image,
    .card-overlay {
        border-radius: 28px;
    }
    
    .gallery-card:hover {
        flex: 3.5;
    }
    
    .member-name {
        font-size: 1.6rem;
    }
    
    .card-info {
        padding: 1.5rem;
    }
}

/* Extra large screens */
@media (min-width: 1400px) {
    /* Mesa Directiva Gallery */
    .directiva-description {
        font-size: 1rem;
    }
    
    .directiva-gallery {
        height: 550px;
        gap: 12px;
    }
    
    .gallery-card {
        border-radius: 30px;
    }
    
    .card-bg-image,
    .card-overlay {
        border-radius: 30px;
    }
    
    .role-vertical {
        font-size: 1rem;
        letter-spacing: 4px;
    }
    
    .member-name {
        font-size: 1.3rem;
    }
    
    .member-credentials {
        font-size: 1rem;
    }
    
    .card-info {
        padding: 1.8rem;
    }
    
    /* Footer Extra Large */
    .footer-logo {
        width: 110px;
        height: 110px;
    }
    
    .footer-logo-text h5 {
        font-size: 1.2rem;
    }
    
    .cta-question {
        font-size: 2rem;
    }
    
    .cta-link {
        font-size: 2.2rem;
    }
    
    .cta-link i {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
}

/* ========================================
   Animations
======================================== */

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

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

.welcome-icon i {
    animation: float 3s ease-in-out infinite;
}

/* ========================================
   Afiliación Section
======================================== */

.afiliacion-hero-section {
    background: var(--light-gray);
    padding: 150px 0 80px;
    position: relative;
    overflow: hidden;
}

.afiliacion-content {
    max-width: 600px;
}

.afiliacion-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.afiliacion-title .text-accent {
    color: var(--primary-color);
}

.afiliacion-description {
    margin-bottom: 2.5rem;
}

.afiliacion-description p {
    color: var(--gray-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.afiliacion-benefits-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.afiliacion-benefits-list li {
    color: var(--gray-color);
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.afiliacion-benefits-list li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.5rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -8px
}

.btn-pre-registro {
    background: var(--dark-color);
    color: var(--white);
    padding: 0.95rem 2.25rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    text-transform: capitalize;
    letter-spacing: 0.3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-pre-registro:hover {
    background: #2a3b4c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    color: var(--white);
}

.btn-pre-registro i {
    color: var(--accent-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.btn-pre-registro:hover i {
    transform: translateX(3px);
    color: var(--accent-color);
}

/* Afiliación Image */
.afiliacion-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    overflow: hidden;
    padding: 2rem;
}

@keyframes float-dots {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Afiliación Parallax Layers */
.afiliacion-parallax.parallax-layer-container {
    max-width: 600px;
    margin: 0 auto;
}

.afiliacion-parallax .parallax-layer {
    max-width: 100%;
}

/* Rellax Parallax Enhancements */
.rellax {
    transition: transform 0.1s ease-out;
}

/* Disable parallax on mobile for performance */
@media (max-width: 768px) {
    .rellax {
        transform: translate3d(0, 0, 0) !important;
    }
}

/* Membresías Section */
.membresias-section {
    background: var(--light-gray);
    padding: 80px 0;
    overflow: hidden;
    position: relative;
}

.membresias-section::before,
.membresias-section::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    background-image: radial-gradient(circle, rgba(0, 188, 212, 0.15) 2px, transparent 2px);
    background-size: 20px 20px;
    opacity: 0.4;
    z-index: 0;
}

.membresias-section::before {
    top: 100px;
    left: 50px;
}

.membresias-section::after {
    bottom: 150px;
    right: 50px;
}

.membership-carousel-3d {
    position: relative;
    padding: 80px 0;
    overflow: visible;
    z-index: 1;
}

.membership-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: visible;
}

.membership-slider-track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    position: relative;
    min-height: 650px;
    padding: 0 100px;
}

.membership-slide {
    flex: 0 0 auto;
    width: 350px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform: scale(0.75) translateY(40px);
    opacity: 0;
    z-index: 1;
    filter: blur(2px);
    cursor: pointer;
    position: absolute;
    left: 50%;
    margin-left: -175px;
    pointer-events: none;
}

/* Slide anterior (izquierda) */
.membership-slide.prev {
    transform: scale(0.8) translateY(30px) translateX(-420px);
    opacity: 0.6;
    z-index: 2;
    filter: blur(1px);
    pointer-events: auto;
}

.membership-slide.prev:hover {
    transform: scale(0.85) translateY(25px) translateX(-420px);
    opacity: 0.8;
    filter: blur(0.5px);
}

/* Slide activo (centro) - MÁS GRANDE */
.membership-slide.active {
    transform: scale(1.03) translateY(-50px) translateX(0);
    opacity: 1;
    z-index: 10;
    filter: blur(0);
    cursor: default;
    position: relative;
    left: 0;
    margin-left: 0;
    pointer-events: auto;
}

/* Slide siguiente (derecha) */
.membership-slide.next {
    transform: scale(0.8) translateY(30px) translateX(420px);
    opacity: 0.6;
    z-index: 2;
    filter: blur(1px);
    pointer-events: auto;
}

.membership-slide.next:hover {
    transform: scale(0.85) translateY(25px) translateX(420px);
    opacity: 0.8;
    filter: blur(0.5px);
}

.membership-card {
    background: var(--white);
    border-radius: 30px;
    padding: 3rem 2.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 550px;
    position: relative;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.membership-slide.active .membership-card {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
    height: 600px;
}

/* Card Variants - Default State (Inactive) */
.card-platinum,
.card-presidium,
.card-pro {
    background: var(--white) !important;
    border: 2px solid var(--light-gray);
}

/* Ensure text colors are correct in inactive state */
.membership-slide:not(.active) .membership-type,
.membership-slide:not(.active) .membership-name,
.membership-slide:not(.active) .membership-features li {
    color: var(--dark-color) !important;
}

/* Active State - All cards get Presidium style when active */
.membership-slide.active .membership-card {
    background: var(--dark-color) !important;
    color: var(--white);
    border: none;
}

.membership-slide.active .membership-type,
.membership-slide.active .membership-name,
.membership-slide.active .membership-features li {
    color: var(--white) !important;
}

.membership-slide.active .membership-name {
    color: var(--accent-color) !important;
}

.membership-slide.active .membership-features li {
    border-bottom-color: rgba(255, 255, 255, 0.2);
}

.membership-slide.active .membership-features li i {
    color: var(--accent-color);
}

/* Membership Header */
.membership-header {
    text-align: center;
    margin-bottom: 1rem;
    transition: all 0.6s ease;
}

.membership-type {
    font-size: 1rem;
    font-weight: 400;
    color: var(--gray-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.6s ease;
}

.membership-slide.active .membership-type {
    font-size: 1.2rem;
}

.membership-name {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--dark-color);
    margin-bottom: 0;
    text-transform: uppercase;
    transition: all 0.6s ease;
}

.membership-slide.active .membership-name {
    font-size: 2.5rem;
}

/* Membership Features */
.membership-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem 0;
    flex: 1;
}

.membership-features li {
    padding: 0.8rem 0;
    font-size: 0.95rem;
    color: var(--dark-color);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.6s ease;
}

.membership-slide.active .membership-features li {
    padding: 1rem 0;
    font-size: 1.1rem;
}

.membership-features li:last-child {
    border-bottom: none;
}

.membership-features i {
    color: var(--primary-color);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: all 0.6s ease;
}

.membership-slide.active .membership-features i {
    font-size: 1.3rem;
    color: var(--accent-color);
}

/* Membership Badge & Price */
.membership-badge,
.membership-price {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%) scale(0.85);
    background: var(--accent-color);
    width: 140px;
    height: 140px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 188, 212, 0.4);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.membership-slide.active .membership-badge,
.membership-slide.active .membership-price {
    bottom: -40px;
    transform: translateX(-50%) scale(1);
    width: 160px;
    height: 160px;
    box-shadow: 0 15px 40px rgba(0, 188, 212, 0.5);
}

.badge-text,
.price-currency {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    transition: all 0.6s ease;
}

.membership-slide.active .badge-text,
.membership-slide.active .price-currency {
    font-size: 1.1rem;
}

.badge-value {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    transition: all 0.6s ease;
}

.membership-slide.active .badge-value {
    font-size: 2.5rem;
}

.price-value {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1;
    transition: all 0.6s ease;
}

.membership-slide.active .price-value {
    font-size: 2.2rem;
}

.price-currency {
    font-size: 0.9rem;
    margin-top: 0.25rem;
}

.membership-slide.active .price-currency {
    font-size: 1rem;
}

/* Carousel Controls */
.membership-control-prev,
.membership-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 70px;
    height: 70px;
    background: var(--dark-color);
    border-radius: 50%;
    border: none;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.4s ease;
    z-index: 100;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.membership-control-prev {
    left: 50px;
}

.membership-control-next {
    right: 50px;
}

.membership-control-prev:hover,
.membership-control-next:hover {
    background: var(--accent-color);
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 12px 35px rgba(0, 188, 212, 0.4);
}

.membership-control-prev:active,
.membership-control-next:active {
    transform: translateY(-50%) scale(1.05);
}

/* Ocultar dots en desktop */
.membership-dots {
    display: none;
}

/* Payment Info Card */
.payment-info-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.payment-note {
    font-size: 0.95rem;
    color: var(--gray-color);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.payment-methods {
    margin-bottom: 2rem;
}

.payment-methods p {
    font-size: 1rem;
    color: var(--dark-color);
    margin: 0;
}

.bank-info {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    margin-top: 2rem;
}

.bank-info h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bank-info p {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.account-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.detail-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 1rem;
}

.detail-label {
    font-weight: 700;
    color: var(--gray-color);
}

.detail-value {
    font-weight: 600;
    color: var(--dark-color);
}

/* Responsive - Contacto */
@media (max-width: 991px) {
    .contacto-hero-section {
        padding: 120px 0 60px;
    }
    
    .contacto-title {
        font-size: 2.5rem;
    }
    
    .contacto-question {
        font-size: 1.3rem;
    }
    
    .contacto-form-card {
        margin-top: 3rem;
        padding: 2.5rem 2rem;
    }
}

@media (max-width: 767px) {
    .contacto-hero-section {
        padding: 100px 0 40px;
    }
    
    .contacto-title {
        font-size: 2rem;
        text-decoration-thickness: 3px;
        text-underline-offset: 8px;
    }
    
    .contacto-question {
        font-size: 1.1rem;
    }
    
    .contacto-title-wrapper {
        margin-bottom: 2rem;
    }
    
    .info-item {
        padding: 1.2rem;
    }
    
    .contacto-hero-section .info-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .info-content h5 {
        font-size: 1rem;
    }
    
    .info-content a,
    .info-content p {
        font-size: 0.95rem;
    }
    
    .contacto-form-card {
        padding: 2rem 1.5rem;
    }
    
    .form-card-title {
        font-size: 1.6rem;
    }
    
    .form-card-subtitle {
        font-size: 0.95rem;
    }
    
    /* Floating Labels Mobile */
    .contacto-form-card .form-floating > .form-control {
        font-size: 0.95rem;
        padding: 0.9rem 1rem;
        color: #333 !important; /* Asegurar visibilidad en mobile */
    }
    
    .contacto-form-card .form-floating > label {
        font-size: 0.9rem;
        padding: 0.9rem 1rem;
    }
    
    .contacto-form-card .form-floating > textarea.form-control {
        min-height: 120px;
        color: #333 !important; /* Asegurar visibilidad en mobile */
    }
    
    .btn-submit-contacto {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .map-wrapper {
        height: 350px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .contacto-title {
        font-size: 2.8rem;
    }
    
    .form-card-title {
        font-size: 1.8rem;
    }
}

@media (min-width: 1400px) {
    .contacto-title {
        font-size: 4rem;
    }
    
    .info-item {
        padding: 2rem;
    }
    
    .contacto-form-card {
        padding: 3.5rem 3rem;
    }
}

/* Responsive - Afiliación */
@media (max-width: 991px) {
    .afiliacion-hero-section {
        padding: 120px 0 60px;
    }

    .afiliacion-title {
        font-size: 2.2rem;
    }

    .afiliacion-image-wrapper {
        min-height: 400px;
        margin-top: 3rem;
        padding: 1.5rem;
    }
    
    .afiliacion-parallax.parallax-layer-container {
        max-width: 450px;
    }

    .membership-slider-track {
        padding: 0 80px;
        gap: 1.5rem;
    }

    .membership-slide {
        width: 300px;
    }

    /* Ajustar posiciones para tablets */
    .membership-slide.prev {
        transform: scale(0.75) translateY(30px) translateX(-360px);
    }

    .membership-slide.active {
        transform: scale(1.15) translateY(-10px) translateX(0);
    }

    .membership-slide.next {
        transform: scale(0.75) translateY(30px) translateX(360px);
    }

    .membership-card {
        height: 500px;
        padding: 2.5rem 2rem;
    }

    .membership-slide.active .membership-card {
        height: 540px;
    }

    .membership-control-prev {
        left: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .membership-control-next {
        right: 20px;
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

@media (max-width: 767px) {
    .afiliacion-hero-section {
        padding: 100px 0 40px;
    }

    .afiliacion-title {
        font-size: 1.8rem;
    }

    .afiliacion-description p {
        font-size: 0.95rem;
    }
    
    .afiliacion-benefits-list li {
        font-size: 0.95rem;
        padding-left: 1.2rem;
    }
    
    .afiliacion-benefits-list li::before {
        font-size: 1.3rem;
    }

    .btn-pre-registro {
        padding: 0.85rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
    }

    .afiliacion-image-wrapper {
        min-height: 300px;
    }
    
    .afiliacion-parallax.parallax-layer-container {
        max-width: 350px;
    }

    .afiliacion-bg-shape {
        width: 280px;
        height: 280px;
    }

    /* Reducir padding del carousel en móvil */
    .membership-carousel-3d {
        padding: 40px 0 20px;
    }

    /* Mobile: Solo 1 tarjeta visible a la vez - Transición simple */
    .membership-slider-track {
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        padding: 0 20px;
        min-height: auto;
        position: relative;
    }

    .membership-slide {
        width: 100%;
        max-width: 100%;
        margin: 0;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    /* Ocultar slides anteriores y siguientes */
    .membership-slide.prev,
    .membership-slide.next {
        opacity: 0;
        pointer-events: none;
        display: block;
    }

    /* Solo el slide activo es visible */
    .membership-slide.active {
        opacity: 1;
        pointer-events: auto;
        position: relative;
        left: 0;
        transform: translateX(0);
    }

    /* Tarjetas más compactas y simplificadas en móvil */
    .membership-card {
        padding: 2rem 1.5rem 3rem;
        height: auto;
        min-height: auto;
        max-width: 340px;
        margin: 0 auto;
    }

    .membership-slide.active .membership-card {
        height: auto;
        min-height: auto;
    }

    /* Tamaños de fuente más pequeños y consistentes */
    .membership-header {
        margin-bottom: 1.5rem;
    }

    .membership-type,
    .membership-slide.active .membership-type {
        font-size: 0.85rem;
        margin-bottom: 0.25rem;
    }

    .membership-name,
    .membership-slide.active .membership-name {
        font-size: 1.8rem;
        margin-bottom: 0;
    }

    .membership-features {
        margin-bottom: 1rem;
    }

    .membership-features li,
    .membership-slide.active .membership-features li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }

    .membership-features i,
    .membership-slide.active .membership-features i {
        font-size: 1rem;
    }

    /* Badges y precios más compactos */
    .membership-badge,
    .membership-price,
    .membership-slide.active .membership-badge,
    .membership-slide.active .membership-price {
        width: 110px;
        height: 110px;
        bottom: -35px;
    }

    .badge-value,
    .price-value,
    .membership-slide.active .badge-value,
    .membership-slide.active .price-value {
        font-size: 1.8rem;
    }

    .badge-text,
    .price-currency,
    .membership-slide.active .badge-text,
    .membership-slide.active .price-currency {
        font-size: 0.85rem;
    }

    /* Mantener controles visibles en móvil */
    .membership-control-prev,
    .membership-control-next {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .membership-control-prev {
        left: 10px;
    }

    .membership-control-next {
        right: 10px;
    }

    /* Contenedor del slider - ajustado al contenido */
    .membership-slider-wrapper {
        min-height: auto;
        padding: 2rem 0 1rem;
    }

    /* Indicadores de navegación (dots) - Más cerca de las tarjetas */
    .membership-dots {
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 0.6rem;
        margin-top: 3rem;
        padding: 0 20px 1rem;
    }

    .membership-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(0, 102, 161, 0.2);
        border: 2px solid rgba(0, 102, 161, 0.4);
        transition: all 0.3s ease;
        cursor: pointer;
    }

    .membership-dot:hover {
        background: rgba(0, 204, 255, 0.4);
        border-color: rgba(0, 204, 255, 0.6);
    }

    .membership-dot.active {
        background: var(--accent-color);
        border-color: var(--accent-color);
        transform: scale(1.4);
        box-shadow: 0 0 8px rgba(0, 204, 255, 0.5);
    }

    .payment-info-card {
        padding: 1.5rem;
        margin-top: 3rem;
    }

    .payment-note {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .payment-methods p {
        font-size: 0.9rem;
    }

    .account-details .detail-item {
        font-size: 0.9rem;
    }

    .payment-note {
        font-size: 0.85rem;
    }

    .detail-item {
        flex-direction: column;
        gap: 0.25rem;
    }

    .bank-info {
        padding: 1.5rem;
    }
}

/* ========================================
   Utilities
======================================== */

.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.text-justify {
    text-align: justify;
}

/* ========================================
   Construction Page Styles
======================================== */

.construction-hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    position: relative;
    overflow: hidden;
    padding: 80px 0;
}

.construction-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(61, 217, 244, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(38, 217, 232, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.construction-content {
    position: relative;
    z-index: 2;
    padding: 3rem 2rem;
}

.construction-icon {
    font-size: 5rem;
    color: var(--accent-color);
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.construction-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.construction-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.construction-line {
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

.construction-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-color);
    margin: 0;
}

.construction-description {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-back-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    background: var(--white);
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-back-home:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    color: var(--primary-color);
    background: var(--accent-color);
}

/* Info Section */
.construction-info {
    background: var(--light-gray);
}

.info-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

/* Info icon - Construction page - SIN círculo */
.construction-info .info-icon,
.info-card .info-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    background: transparent;
    border-radius: 0;
}

.info-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.info-text {
    font-size: 1rem;
    color: var(--gray-color);
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .construction-hero {
        min-height: 60vh;
        padding: 60px 0;
    }
    
    .construction-icon {
        font-size: 3.5rem;
    }
    
    .construction-title {
        font-size: 2rem;
    }
    
    .construction-subtitle {
        font-size: 1.2rem;
    }
    
    .construction-description {
        font-size: 1rem;
    }
    
    .construction-line {
        width: 40px;
    }
    
    .btn-back-home {
        padding: 0.85rem 2rem;
        font-size: 1rem;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .construction-info .info-icon,
    .info-card .info-icon {
        font-size: 2.5rem;
    }
    
    .info-title {
        font-size: 1.3rem;
    }
}

/* ============================================
   OFERTA EDUCATIVA - CURSOS CARDS
============================================ */

.educativa-hero-section {
    padding: 150px 0px 0px 0px;
    background: var(--light-gray);
}

.educativa-description {
    font-size: 1.1rem;
    color: var(--gray-color);
    margin-top: 1.5rem;
    max-width: 800px;
}

.cursos-section {
    background: var(--light-gray);
}

/* Curso Card */
.curso-card {
    height: 100%;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.curso-card:hover {
    transform: translateY(-10px);
}

.curso-card-inner {
    background: var(--dark-color);
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.4s ease;
}

.curso-card:hover .curso-card-inner {
    background: linear-gradient(135deg, var(--primary-color) 0%, #003d66 100%);
    box-shadow: 0 15px 50px rgba(0, 102, 161, 0.4);
}

/* Accent Bar */
.curso-accent-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 8px;
    background: var(--accent-color);
    border-radius: 20px 0 0 20px;
}

/* Header */
.curso-header {
    margin-bottom: 1.5rem;
}

.curso-tag {
    display: inline-block;
    color: var(--accent-color);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.75rem;
}

.curso-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0;
}

/* Info */
.curso-info {
    margin-bottom: 1.5rem;
    flex: 1;
}

.curso-info p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}

.curso-info p strong {
    color: var(--white);
    font-weight: 600;
}

/* Temario */
.curso-temario {
    margin-bottom: 2rem;
}

.temario-title {
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

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

.temario-list li {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 1.25rem;
    position: relative;
}

.temario-list li::before {
    content: "•";
    color: var(--accent-color);
    font-size: 1.2rem;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: -0.1rem;
}

/* Footer Button */
.curso-footer {
    margin-top: auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ver-poster {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 0.85rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 204, 255, 0.3);
}

.btn-ver-poster:hover {
    background: var(--white);
    color: var(--dark-color);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0, 204, 255, 0.5);
}

.btn-ver-poster i {
    transition: transform 0.3s ease;
}

.btn-ver-poster:hover i {
    transform: translateX(3px);
}

/* Responsive - Tablets */
@media (max-width: 991px) {
    .educativa-hero-section {
        padding: 100px 0 40px;
    }
    
    .curso-card-inner {
        padding: 2rem;
    }
    
    .curso-title {
        font-size: 1.3rem;
    }
}

/* Responsive - Mobile */
@media (max-width: 767px) {
    .educativa-hero-section {
        padding: 80px 0 30px;
    }
    
    .educativa-description {
        font-size: 1rem;
    }
    
    .curso-card-inner {
        padding: 1.5rem;
    }
    
    .curso-title {
        font-size: 1.2rem;
    }
    
    .curso-info p {
        font-size: 0.85rem;
    }
    
    .temario-list li {
        font-size: 0.8rem;
    }
    
    .btn-ver-poster {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.5rem;
    }
}

