@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700&display=swap');

:root {
    --primary-green: #B0CD5E;
    --primary-blue: #0194CF;
    --accent-gold: #FFD700;
    --neutral-dark: #2D3436;
    --neutral-light: #F5F7FA;
    --neutral-white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(45, 52, 54, 0.08);
    --shadow-md: 0 4px 16px rgba(45, 52, 54, 0.12);
    --shadow-lg: 0 8px 32px rgba(45, 52, 54, 0.15);
    --shadow-xl: 0 12px 48px rgba(45, 52, 54, 0.18);
    --radius-sm: 16px;
    --radius-md: 24px;
    --radius-lg: 32px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
/* Chrome, Safari y Edge */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--neutral-light);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-blue) 100%);
    border-radius: 10px;
    border: 2px solid var(--neutral-light);
    transition: var(--transition);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-blue) 0%, var(--primary-green) 100%);
    box-shadow: inset 0 0 6px rgba(1, 148, 207, 0.3);
}

/* Firefox */
* {
    scrollbar-color: linear-gradient(180deg, var(--primary-green) 0%, var(--primary-blue) 100%) var(--neutral-light);
    scrollbar-width: thin;
}

/* ===== ANIMACIONES ===== */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

@keyframes wave-animation {
    0% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

/* Skeleton Loading - Shimmer Animation */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes skeleton-pulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.8;
    }
}

/* Glow para Focus */
@keyframes focus-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(1, 148, 207, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(1, 148, 207, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(1, 148, 207, 0);
    }
}

/* ===== SKELETON SCREEN STYLES ===== */
.skeleton {
    background: linear-gradient(
        90deg,
        var(--neutral-light) 25%,
        var(--neutral-white) 50%,
        var(--neutral-light) 75%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: var(--radius-md);
    height: 20px;
}

.skeleton-card {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-card .skeleton-image {
    width: 100%;
    height: 200px;
    margin-bottom: 16px;
    border-radius: var(--radius-md);
}

.skeleton-card .skeleton-title {
    height: 24px;
    margin-bottom: 12px;
    width: 80%;
}

.skeleton-card .skeleton-text {
    height: 16px;
    margin-bottom: 8px;
    width: 100%;
}

.skeleton-card .skeleton-text:last-of-type {
    width: 90%;
    margin-bottom: 0;
}

.skeleton-table {
    width: 100%;
    border-radius: var(--radius-lg);
}

.skeleton-table tbody tr {
    height: 56px;
    border-bottom: 1px solid var(--neutral-light);
    animation: skeleton-pulse 1.5s ease-in-out infinite;
}

.skeleton-table td {
    padding: 16px;
}

.skeleton-table .skeleton-row {
    height: 20px;
    background: linear-gradient(
        90deg,
        var(--neutral-light) 25%,
        var(--neutral-white) 50%,
        var(--neutral-light) 75%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
    border-radius: 4px;
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--neutral-light);
    min-height: 100vh;
    padding-top: 70px;
    color: var(--neutral-dark);
    line-height: 1.6;
}

/* ===== BARRA DE NAVEGACIÓN ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--primary-green);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    padding: 0 30px;
    backdrop-filter: blur(10px);
    background: rgba(176, 205, 94, 0.95);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--neutral-white);
    font-size: 1.2em;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    font-family: 'Sora', sans-serif;
    letter-spacing: 0.3px;
}

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

.nav-logo:hover .nav-logo-img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

.nav-logo-img {
    height: 52px;
    width: auto;
    max-width: min(200px, 42vw);
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.nav-logo-text {
    line-height: 1.15;
    white-space: nowrap;
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neutral-white);
    text-decoration: none;
    transition: var(--transition);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 0.95em;
    position: relative;
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20px;
    right: 20px;
    height: 2px;
    background: var(--neutral-white);
    transform: scaleX(0);
    transition: var(--transition);
    border-radius: 2px;
}

.nav-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-item:hover::after {
    transform: scaleX(1);
}

.nav-icon {
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    display: inline-block;
    transition: var(--transition);
}

.nav-item:hover .nav-icon {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

/* ===== HAMBURGUESA ===== */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
}

.hamburger span {
    width: 24px;
    height: 2.5px;
    background: var(--neutral-white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(10px, 10px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ===== ENCABEZADO ===== */
header {
    background: linear-gradient(135deg, var(--primary-green) 0%, #A3BF4F 100%);
    padding: 60px 30px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin: 15px 25px 0 25px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
}

header::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite reverse;
}

.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(10px, 3vw, 24px);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.logo-section .header-logo-img {
    height: clamp(48px, 10vw, 88px);
    width: auto;
    max-width: min(100px, 18vw);
    object-fit: contain;
    display: block;
    flex-shrink: 0;
    margin: 0;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.12));
}

header .logo-section h1 {
    color: var(--neutral-white);
    font-size: 2.8em;
    font-family: 'Sora', sans-serif;
    font-weight: 700;
    margin: 0;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
    line-height: 1.15;
    text-align: center;
    flex: 0 1 auto;
    min-width: 0;
}

.logo {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.subtitulo {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.15em;
    margin-top: 15px;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1;
}

/* ===== WAVE SEPARATOR ===== */
.wave-separator {
    position: relative;
    height: 100px;
    background: var(--neutral-light);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
}

.wave-separator svg {
    width: 100%;
    height: 100%;
    display: block;
}

.wave-separator.wave-from-white {
    background: var(--neutral-white);
}

.wave-separator.wave-from-light {
    background: var(--neutral-light);
}

/* Animación de onda fluida */
.wave-separator svg path {
    animation: wave-motion 15s linear infinite;
    fill: url(#wave-gradient);
}

@keyframes wave-motion {
    0% {
        d: path('M0,50 Q75,25 150,50 T300,50 T450,50 T600,50 T750,50 T900,50 T1050,50 T1200,50 L1200,100 L0,100 Z');
    }
    25% {
        d: path('M0,60 Q75,35 150,60 T300,60 T450,60 T600,60 T750,60 T900,60 T1050,60 T1200,60 L1200,100 L0,100 Z');
    }
    50% {
        d: path('M0,50 Q75,25 150,50 T300,50 T450,50 T600,50 T750,50 T900,50 T1050,50 T1200,50 L1200,100 L0,100 Z');
    }
    75% {
        d: path('M0,40 Q75,15 150,40 T300,40 T450,40 T600,40 T750,40 T900,40 T1050,40 T1200,40 L1200,100 L0,100 Z');
    }
    100% {
        d: path('M0,50 Q75,25 150,50 T300,50 T450,50 T600,50 T750,50 T900,50 T1050,50 T1200,50 L1200,100 L0,100 Z');
    }
}

/* ===== CARRUSEL ===== */
.carousel-container {
    max-width: 1000px;
    margin: 50px auto;
    padding: 0 30px;
}

.carousel {
    position: relative;
    width: 100%;
    padding-bottom: 66.67%;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    background: var(--neutral-white);
}

.carousel-inner {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
}

.carousel-item {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-green) 0%, #A3BF4F 100%);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
}

.carousel-item.active {
    opacity: 1;
    position: relative;
}

.carousel-item picture,
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: var(--neutral-white);
}

/* CONTROLES CARRUSEL */
.carousel-controls {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.carousel-dot.active {
    background: var(--neutral-white);
    width: 32px;
    border-radius: 8px;
    border-color: var(--neutral-white);
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.5);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    color: var(--neutral-white);
    border: 2px solid rgba(255, 255, 255, 0.4);
    width: 56px;
    height: 56px;
    border-radius: 50%;
    font-size: 1.4em;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-weight: 600;
    backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.3);
}

.carousel-btn.prev {
    left: 25px;
}

.carousel-btn.next {
    right: 25px;
}

/* ===== SECCIÓN QUIÉNES SOMOS ===== */
.about-us {
    background: var(--neutral-white);
    padding: 80px 30px;
    position: relative;
    overflow: hidden;
}

.about-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    opacity: 0.06;
    border-radius: 50%;
}

.about-us-container {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-us-container h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.4em;
    color: var(--primary-blue);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.about-us-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 3px;
}

.about-us-content {
    background: linear-gradient(135deg, #F8FAFB 0%, #F0F5FF 100%);
    padding: 50px;
    border-radius: var(--radius-lg);
    border-left: 6px solid var(--primary-green);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.about-us-content:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.about-us-content p {
    color: var(--neutral-dark);
    font-size: 1.05em;
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-us-content p:last-child {
    margin-bottom: 0;
}

.about-us-content p strong {
    color: var(--primary-blue);
    font-weight: 700;
}

.about-us-content p.highlight {
    font-size: 1.5em;
    color: var(--primary-green);
    font-weight: 700;
    text-align: center;
    margin: 30px 0;
    font-style: italic;
}

/* ===== COLLAGE DE FOTOS ===== */
.collage {
    background: var(--neutral-light);
    padding: 80px 30px;
    position: relative;
}

.collage::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -150px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    opacity: 0.04;
    border-radius: 50%;
    pointer-events: none;
}

.collage-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.collage-container h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.4em;
    color: var(--primary-blue);
    margin-bottom: 50px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.collage-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 3px;
}

.collage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 26px;
    width: 100%;
    grid-auto-rows: 210px;
}

.collage-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    background: var(--neutral-white);
    border: 2px solid transparent;
}

.collage-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(1, 148, 207, 0.12) 100%);
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-md);
}

.collage-item picture,
.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.collage-item:hover {
    transform: translateY(-14px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-green);
}

.collage-item:hover::after {
    opacity: 1;
}

.collage-item:hover picture,
.collage-item:hover img {
    transform: scale(1.1);
}

/* ===== MISIÓN Y VISIÓN ===== */
.mission-vision {
    background: var(--neutral-white);
    padding: 80px 30px;
    position: relative;
    overflow: hidden;
}

.mission-vision::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    opacity: 0.06;
    border-radius: 50%;
}

.mission-vision-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    position: relative;
    z-index: 1;
}

.mission-card,
.vision-card {
    background: linear-gradient(135deg, var(--neutral-white) 0%, #F8FAFB 100%);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 2px solid transparent;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-blue), transparent);
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-green), transparent);
}

.mission-card:hover,
.vision-card:hover {
    transform: translateY(-14px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(1, 148, 207, 0.15);
}

.mission-card h2,
.vision-card h2 {
    font-family: 'Sora', sans-serif;
    font-size: 1.9em;
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mission-card h2 {
    color: var(--primary-blue);
}

.vision-card h2 {
    color: var(--primary-green);
}

.mission-card p,
.vision-card p {
    color: var(--neutral-dark);
    font-size: 1.02em;
    line-height: 1.85;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

/* ===== HISTORIA ===== */
.history {
    background: var(--neutral-light);
    padding: 80px 30px;
    position: relative;
}

.history::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--primary-blue) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
    pointer-events: none;
}

.history-container {
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.history-container h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.4em;
    color: var(--primary-green);
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.history-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 3px;
}

.history-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    align-items: center;
}

.history-text {
    background: var(--neutral-white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border-left: 6px solid var(--primary-blue);
    transition: var(--transition);
}

.history-text:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.history-text p {
    color: var(--neutral-dark);
    font-size: 1.02em;
    line-height: 1.85;
    margin: 0;
}

.history-image {
    background: var(--neutral-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.history-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(1, 148, 207, 0.2) 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 1;
}

.history-image picture,
.history-image img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.history-image:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.history-image:hover::after {
    opacity: 1;
}

.history-image:hover picture,
.history-image:hover img {
    transform: scale(1.08);
}

/* ===== UBICACIÓN ===== */
.location {
    background: var(--neutral-white);
    padding: 80px 30px;
    position: relative;
    overflow: hidden;
}

.location::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-green) 0%, transparent 70%);
    opacity: 0.05;
    border-radius: 50%;
}

.location-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.location-container h2 {
    font-family: 'Sora', sans-serif;
    font-size: 2.4em;
    color: var(--primary-green);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
}

.location-container h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-green), var(--primary-blue));
    border-radius: 3px;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
}

.map-container:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-6px);
}

.map-container iframe {
    border-radius: var(--radius-lg);
}

/* ===== BOTÓN WHATSAPP ===== */
.whatsapp-btn {
    position: fixed;
    bottom: 35px;
    right: 35px;
    background: linear-gradient(135deg, #25D366 0%, #20BA5A 100%);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    text-decoration: none;
    cursor: pointer;
    padding: 14px 26px;
    min-width: auto;
    height: 60px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.whatsapp-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
}

.whatsapp-text {
    font-size: 0.95em;
    display: block;
    color: var(--neutral-white);
    font-weight: 600;
    white-space: nowrap;
    font-family: 'Sora', sans-serif;
}

.whatsapp-btn:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: rgba(255, 255, 255, 0.4);
}

.whatsapp-btn:active {
    transform: translateY(-2px);
}

/* ===== FOOTER ===== */
footer {
    background: var(--primary-green);
    color: var(--neutral-white);
    text-align: center;
    padding: 50px 30px;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

footer p {
    margin: 12px 0;
    font-weight: 400;
    letter-spacing: 0.2px;
    position: relative;
    z-index: 1;
}

footer p:first-child {
    font-weight: 700;
    font-size: 1.05em;
}

/* ===== ICONOS LOTTIE - TAMAÑOS UNIFORMES ===== */

/* Iconos de navegación */
.nav-lottie {
    width: 42px;
    height: 42px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 6px;
}

.nav-lottie svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nav-item:hover .nav-lottie {
    transform: scale(1.1);
}

/* Iconos de títulos de sección */
.section-lottie {
    width: 44px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 8px;
    position: relative;
    top: -1px;
}

.section-lottie svg {
    width: 100%;
    height: 100%;
    display: block;
}

h2 .section-lottie {
    width: 44px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 8px;
    position: relative;
    top: -1px;
}

h2:hover .section-lottie {
    width: 44px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 8px;
    position: relative;
    top: -1px;
}

/* Icono de WhatsApp */
.whatsapp-lottie {
    width: 42px;
    height: 42px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
}

.whatsapp-lottie svg {
    width: 100%;
    height: 100%;
    display: block;
}

.whatsapp-btn:hover .whatsapp-lottie {
    transform: scale(1.1);
}

/* ===== ACCESIBILIDAD - FOCUS STATES ===== */
button,
a,
input[type="text"],
input[type="password"],
input[type="email"],
select,
textarea,
.nav-item,
.carousel-btn,
.carousel-dot {
    position: relative;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
.nav-item:focus-visible,
.carousel-btn:focus-visible,
.carousel-dot:focus-visible {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
    animation: focus-glow 0.6s ease-out;
}

/* Glow mejorado para botones principales */
.btn:focus-visible,
button[type="submit"]:focus-visible,
.btn-primary:focus-visible,
.carousel-btn:focus-visible {
    box-shadow: 
        0 0 0 3px var(--neutral-white),
        0 0 0 6px var(--primary-blue),
        0 0 20px rgba(1, 148, 207, 0.6);
    outline: none;
}

/* Focus para links de navegación */
.nav-item:focus-visible {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    outline: 2px solid var(--neutral-white);
}

/* Focus para inputs de formulario */
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    box-shadow: 0 0 0 3px rgba(1, 148, 207, 0.2), inset 0 0 0 1px var(--primary-blue);
}

/* ===== RESPONSIVE ===== */

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    :root {
        --radius-lg: 24px;
        --radius-md: 18px;
    }

    body {
        padding-top: 60px;
    }

    .nav-container {
        height: 60px;
        padding: 0 20px;
    }

    .nav-logo-img {
        height: 44px;
    }

    .nav-logo-text {
        font-size: 0.95em;
        max-width: 42vw;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    header .logo-section h1 {
        font-size: 2em;
    }

    .logo-section .header-logo-img {
        height: clamp(40px, 11vw, 64px);
        max-width: min(72px, 16vw);
    }

    header {
        margin: 10px 16px 0 16px;
        padding: 40px 20px;
        border-radius: 24px;
    }

    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(176, 205, 94, 0.98);
        flex-direction: column;
        gap: 10px;
        padding: 20px;
        display: none;
        width: 100%;
        backdrop-filter: blur(10px);
        border-radius: 0 0 20px 20px;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-item {
        width: 100%;
        justify-content: center;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        flex-direction: column;
        gap: 5px;
    }

    .hamburger {
        display: flex;
    }

    .carousel-btn {
        width: 44px;
        height: 44px;
        font-size: 1.1em;
    }

    .carousel-container {
        margin: 40px auto;
        padding: 0 16px;
    }

    .about-us,
    .collage,
    .mission-vision,
    .history,
    .location {
        padding: 60px 20px;
    }

    h2 {
        font-size: 2em !important;
    }

    h2::after {
        width: 50px !important;
    }

    .mission-vision-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .history-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .history-text {
        padding: 30px;
    }

    .history-text p {
        font-size: 1em;
    }

    .history-image picture,
    .history-image img {
        height: 250px;
    }

    .collage-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 16px;
        grid-auto-rows: 150px;
    }

    .map-container {
        height: 300px;
    }

    .whatsapp-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .whatsapp-text {
        display: none;
    }

    .about-us-content,
    .mission-card,
    .vision-card,
    .history-text {
        padding: 35px;
    }

    footer {
        padding: 40px 20px;
    }

    /* Iconos Lottie en móvil */
    .nav-lottie {

        width: 36px;

        height: 36px;
    }

    .section-lottie {
    width: 44px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 8px;
    position: relative;
    top: -1px;
}

    .whatsapp-lottie {


        width: 36px;


        height: 36px;
    }
}

@media (max-width: 480px) {
    header .logo-section h1 {
        font-size: 1.6em;
    }

    .logo-section {
        gap: 8px;
    }

    .logo-section .header-logo-img {
        height: 36px;
        max-width: 56px;
    }

    .subtitulo {
        font-size: 0.95em;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1em;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

    .carousel-controls {
        gap: 8px;
    }

    .carousel-dot {
        width: 8px;
        height: 8px;
    }

    .carousel-dot.active {
        width: 24px;
    }

    .collage-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        grid-auto-rows: 120px;
    }

    .about-us-content,
    .mission-card,
    .vision-card,
    .history-text {
        padding: 25px;
    }

    footer {
        padding: 30px 15px;
    }

    /* Iconos Lottie en móvil pequeño */
    .nav-lottie {
    width: 42px;
    height: 42px;
    }

    .section-lottie {
    width: 44px;
    height: 44px;
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    margin-right: 8px;
    position: relative;
    top: -1px;
}

    .whatsapp-lottie {
    width: 42px;
    height: 42px;
    }
}