:root {
    --navy-900: #0c2151;
    --navy-700: #1c3f7c;
    --navy-500: #2f63b6;
    --navy-300: #5a86d6;
    --neutral-900: #1f2333;
    --neutral-700: #3c435c;
    --neutral-200: #e5e8f2;
    --neutral-100: #f5f7fc;
    --accent-gold: #f5b041;
    --shadow-soft: 0 24px 54px rgba(12, 33, 81, 0.16);
}

.celebracion-fab {
    position: fixed;
    right: 18px;
    bottom: 98px;
    width: 80px;
    height: 80px;
    border-radius: 12px;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 80;
    text-decoration: none;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.celebracion-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.celebracion-fab:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.celebracion-fab:focus-visible {
    outline: 3px solid rgba(12, 33, 81, 0.35);
    outline-offset: 3px;
}

.celebracion-fab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.celebracion-fab .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    z-index: 80;
    text-decoration: none;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(37, 211, 102, 0.45);
}

.whatsapp-fab:focus-visible {
    outline: 3px solid rgba(37, 211, 102, 0.35);
    outline-offset: 3px;
}

.whatsapp-fab svg {
    width: 28px;
    height: 28px;
}

.whatsapp-fab .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media (max-width: 640px) {
    .celebracion-fab {
        width: 72px;
        height: 72px;
        right: 14px;
        bottom: 94px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    }
    
    .celebracion-fab:hover {
        box-shadow: 0 5px 14px rgba(0, 0, 0, 0.2);
    }

    .whatsapp-fab {
        width: 52px;
        height: 52px;
        right: 14px;
        bottom: 14px;
    }

    .whatsapp-fab svg {
        width: 26px;
        height: 26px;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    touch-action: manipulation;
    margin: 0;
    padding: 0;
    height: 100%;
    overflow-x: hidden;
}

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

body {
    font-family: 'Montserrat', Arial, sans-serif;
    background-color: #f5f7fc;
    color: var(--neutral-900);
    touch-action: manipulation;
    -webkit-touch-callout: none;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Permitir selección de texto en elementos interactivos */
a, p, h1, h2, h3, h4, h5, h6, span, button, input, textarea, select {
    -webkit-user-select: text;
    user-select: text;
}


.page-wrapper {
    display: contents;
}

.top-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 18px 48px;
    background-color: rgba(255,255,255,0.96);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(12, 33, 81, 0.08);
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-logo {
    width: 52px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.brand-text {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--navy-900);
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: none;
    background: var(--navy-900);
    cursor: pointer;
    transition: transform 0.3s ease, background 0.3s ease;
}

.menu-toggle span {
    display: block;
    height: 3px;
    width: 24px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 999px;
}

.menu-toggle:hover {
    transform: translateY(-2px);
    background: var(--navy-700);
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    font-weight: 600;
}

.main-nav a {
    color: var(--navy-900);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    position: relative;
    padding-bottom: 6px;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--navy-500);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--navy-500);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    transform: scaleX(1);
}

.has-dropdown {
    position: relative;
}

.dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(12, 33, 81, 0.16);
    border-radius: 12px;
    padding: 14px 18px;
    display: none;
    flex-direction: column;
    gap: 10px;
    min-width: 160px;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
    display: flex;
}

.dropdown a {
    color: var(--navy-900);
    font-weight: 500;
    font-size: 0.9rem;
}

.dropdown a:hover {
    color: var(--navy-500);
}

.has-dropdown.open .dropdown {
    display: flex;
}

.language-switcher {
    position: relative;
}

.language-select {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--navy-900);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(12, 33, 81, 0.12);
    border-radius: 999px;
    padding: 6px 16px;
    cursor: pointer;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    border: none;
    outline: none;
}

.language-select:hover {
    box-shadow: 0 8px 20px rgba(12, 33, 81, 0.2);
    transform: translateY(-1px);
}

.language-flag {
    width: 24px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(12, 33, 81, 0.12);
}

.language-caret {
    font-size: 0.75rem;
    color: var(--navy-700);
}

.language-menu {
    position: absolute;
    right: 0;
    margin-top: 8px;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(12, 33, 81, 0.25);
    padding: 10px;
    list-style: none;
    display: none;
    min-width: 200px;
    z-index: 50;
}

.language-switcher.open .language-menu {
    display: block;
}

.language-option {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    padding: 8px 10px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    color: var(--navy-900);
    transition: background 0.2s ease, color 0.2s ease;
}

.language-option img {
    width: 22px;
    height: 16px;
    border-radius: 4px;
    box-shadow: 0 0 0 1px rgba(12, 33, 81, 0.12);
}

.language-option:hover,
.language-option.active {
    background: rgba(47, 99, 182, 0.12);
    color: var(--navy-700);
}

.language-select:focus-visible,
.language-option:focus-visible {
    outline: 2px solid var(--navy-500);
    outline-offset: 2px;
}

.hero-section {
    position: relative;
    min-height: 600px;
    overflow: visible;
}

.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel-slide:nth-child(2) {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* Ajuste específico para img8 en PC */
@media (min-width: 901px) {
    .hero-carousel-slide:nth-child(2) {
        background-size: 103% auto;
        background-position: center 65%;
        background-repeat: no-repeat;
    }
    
    .hero-slide-content {
        right: 220px;
        top: 40%;
        max-width: 550px;
    }
    
    .hero-history-description {
        font-size: 1.375rem;
        margin-bottom: 32px;
        text-align: left;
        padding: 20px 24px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        border-radius: 16px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
}

.hero-carousel-slide.active {
    opacity: 1;
}

.hero-slide-content {
    position: absolute;
    right: 250px;
    top: 40%;
    transform: translateY(-50%);
    z-index: 25;
    max-width: 500px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.hero-carousel-slide:nth-child(2).active .hero-slide-content {
    opacity: 1;
    pointer-events: all;
}

.hero-history-description {
    color: white;
    font-size: 1.25rem;
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: left;
    padding: 18px 22px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 400;
}

.hero-cta-button {
    position: relative;
    display: inline-block;
    background: rgba(255, 255, 255, 0.95);
    color: var(--navy-900);
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    transition: all 0.4s ease;
    border: 2px solid transparent;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    width: 100%;
    text-align: center;
}

.hero-cta-button:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    border-color: var(--navy-500);
}

.hero-cta-button:active {
    transform: translateY(-2px);
}

.hero-carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 30;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-height: 700px) {
    .hero-carousel-control {
        top: auto;
        bottom: 100px;
        transform: none;
    }
    
    .hero-carousel-control:hover {
        transform: scale(1.1);
    }
}

@media (max-height: 500px) {
    .hero-carousel-control {
        bottom: 80px;
    }
}

.hero-carousel-control:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.hero-carousel-control.prev {
    left: 24px;
}

.hero-carousel-control.next {
    right: 24px;
}

.hero-carousel-control svg {
    width: 24px;
    height: 24px;
    color: var(--navy-900);
}

.hero-carousel-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 12px;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.hero-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.2);
}

.hero-indicator.active {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(255, 255, 255, 1);
    width: 32px;
    border-radius: 6px;
}

.hero-stats {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    padding: 0 20px;
    width: min(940px, 95%);
    max-width: calc(100% - 40px);
}

.stat-card {
    background: #ffffff;
    color: var(--navy-900);
    border-radius: 18px;
    padding: 32px 12px;
    box-shadow: 0 24px 60px rgba(12, 33, 81, 0.20);
    display: grid;
    gap: 12px;
    justify-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(30px) scale(0.9);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: stat-appear 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.stat-card.visible:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 32px 70px rgba(12, 33, 81, 0.25);
}

.stat-label {
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.18em;
    font-size: 0.85rem;
}

.stat-value {
    font-weight: 800;
    font-size: 2.4rem;
    letter-spacing: 0.08em;
    display: inline-block;
}

@keyframes stat-appear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    60% {
        transform: translateY(-5px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mission-vision {
    padding: 140px 80px 80px;
    background: linear-gradient(180deg, #f5f7fc 0%, #ffffff 60%);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
}

.section-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--navy-900);
}

.mission-vision-body {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: start;
}

.mobile-heading {
    display: none;
}

@media (max-width: 1100px) {
    .section-header {
        display: none;
    }

    .mission-vision-body {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .mobile-heading {
        display: block;
        font-size: 2.2rem;
        font-weight: 800;
        letter-spacing: 0.08em;
        color: var(--navy-900);
    }
}

.mission, .vision {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    display: grid;
    gap: 24px;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--neutral-700);
}

.mission-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

.vision-gallery {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.mission-gallery img,
.vision-gallery img {
    width: 100%;
    height: auto;
    max-height: 240px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(12, 33, 81, 0.15);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: block;
}

.mission-gallery img:nth-child(2) {
    object-position: center 25%;
}

.mission-gallery img:hover,
.vision-gallery img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(12, 33, 81, 0.2);
}

.what-we-do {
    padding: 100px 80px;
    background: linear-gradient(180deg, var(--navy-900) 0%, #0a1a3a 100%);
    text-align: center;
    color: #ffffff;
    overflow: visible;
    position: relative;
}

.what-we-do::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 0%, rgba(47, 99, 182, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.what-we-do-header {
    position: relative;
    margin-bottom: 48px;
}

.script-title {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.2rem, 4vw, 3rem);
    color: var(--navy-500);
}

.what-we-do h2 {
    margin-top: -12px;
    font-size: clamp(2.6rem, 5vw, 3.4rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    color: #ffffff;
}

/* ============================================
   CARRUSEL - ESTILO DIRETORIA NACIONAL
   ============================================ */
.carousel-wrapper {
    position: relative;
    max-width: 100%;
    height: 50vh;
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 24px;
    height: 50vh;
    padding: 0 64px;
    position: relative;
}

.carousel-card {
    transition: all 700ms cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    perspective: 1200px;
}

.carousel-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
    background-color: #ffffff;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.carousel-card-front,
.carousel-card-back {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    overflow: hidden;
}

.carousel-card-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 700ms cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.carousel-card-back {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    transform: rotateY(180deg);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.ministry-image--criancas {
    object-position: 50% 25%;
}

.ministry-image--damas {
    object-position: 50% 15%;
}

.carousel-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--navy-900) 0%, transparent 100%);
    padding: 24px;
    padding-top: 80px;
    transition: opacity 700ms cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-card-inner.flipped {
    transform: rotateY(180deg);
}

.carousel-card-back h3 {
    color: var(--navy-900);
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 16px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.8;
}

.carousel-card-description {
    color: var(--neutral-700);
    font-size: 1.05rem;
    line-height: 1.8;
    font-family: 'Montserrat', Arial, sans-serif;
    text-align: justify;
    margin: 0;
}

.carousel-card-content h3 {
    color: #ffffff;
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    font-weight: 700;
    margin-bottom: 4px;
    font-family: 'Montserrat', Arial, sans-serif;
    line-height: 1.8;
}

/* Estados del carrusel */
.carousel-card.center {
    z-index: 10;
}

/* ============================================
   CONTROLES DEL CARRUSEL
   ============================================ */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--navy-900);
    z-index: 50;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3);
    pointer-events: auto;
    user-select: none;
    -webkit-user-select: none;
}

.carousel-control:hover {
    background-color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.carousel-control:active {
    background-color: #ffffff;
    transform: translateY(-50%) scale(0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.carousel-control.prev {
    left: 0;
}

.carousel-control.next {
    right: 0;
}

.carousel-control svg {
    width: 24px;
    height: 24px;
}

/* ============================================
   INDICADORES DEL CARRUSEL
   ============================================ */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 48px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicator:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.carousel-indicator.active {
    width: 32px;
    border-radius: 999px;
    background-color: #ffffff;
}

.map-section {
    padding: 80px 80px 96px;
    background: #ffffff;
    color: var(--navy-900);
    text-align: center;
}

.map-header h2 {
    font-size: clamp(2.4rem, 5vw, 3.2rem);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--navy-900);
}

.map-header p {
    font-size: 1.05rem;
    letter-spacing: 0.08em;
    color: var(--neutral-700);
}

.map-frame {
    margin-top: 42px;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    position: relative;
}

.map-frame .map-embed {
    width: 100%;
    height: 420px;
    display: block;
    border: 0;
    pointer-events: none;
}

.map-link-overlay {
    position: absolute;
    inset: 0;
    display: block;
    cursor: pointer;
    text-indent: -9999px;
}

.site-footer {
    background: var(--navy-900);
    padding: 42px 80px 32px;
    color: #ffffff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 28px;
}

.footer-contact {
    display: flex;
    align-items: center;
    gap: 18px;
    font-weight: 500;
}

.footer-contact img {
    width: 64px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}

.footer-email {
    height: 1rem;
    color: transparent;
    user-select: none;
}

.footer-contact h3,
.footer-social h3 {
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: #ffffff;
}

.footer-social {
    text-align: right;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 14px;
}

.social-icons a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    display: grid;
    place-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.3s ease;
}

.social-icons svg {
    width: 24px;
    height: 24px;
}

.social-icons a:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.3);
}

.footer-bottom {
    text-align: center;
    margin-top: 28px;
    font-size: 0.9rem;
    letter-spacing: 0.12em;
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.construction-animation {
    text-align: center;
    margin: 32px auto 16px;
}

.construction-cars {
    display: flex;
    justify-content: center;
    gap: 26px;
    margin-bottom: 12px;
}

.truck {
    font-size: 2.6rem;
    display: inline-flex;
    animation: wobble 2.5s ease-in-out infinite, drive 4s linear infinite;
}

.truck-one {
    animation-delay: 0s;
}

.truck-two {
    animation-delay: 0.3s;
}

.truck-three {
    animation-delay: 0.6s;
}

.construction-text {
    font-weight: 700;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--navy-900);
}

@keyframes drive {
    0% {
        transform: translateY(0) translateX(-4px);
    }
    50% {
        transform: translateY(-3px) translateX(4px);
    }
    100% {
        transform: translateY(0) translateX(-4px);
    }
}

@keyframes pulseBadge {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

@keyframes wiggle {
    0%, 100% {
        transform: rotate(0deg);
    }
    25% {
        transform: rotate(8deg);
    }
    75% {
        transform: rotate(-8deg);
    }
}

.announcement-banner {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #ffffff;
    color: var(--navy-900);
    border-top: 2px solid rgba(12, 33, 81, 0.15);
    border-bottom: 2px solid rgba(12, 33, 81, 0.15);
    padding: 18px 0;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

@media (max-width: 1200px) {
    .page-wrapper {
        margin: 0 16px;
    }

    .top-bar {
        padding: 16px 28px;
    }

    .hero-section {
        display: block;
        min-height: 0;
        height: auto;
        padding-bottom: 0;
        margin-bottom: 0;
        overflow: visible;
        background: none;
    }
    
    .hero-carousel {
        position: relative;
        height: 400px;
        overflow: hidden;
    }
    
    .hero-carousel-track {
        height: 100%;
    }
    
    .hero-carousel-slide {
        background-color: var(--navy-900);
    }
    
    .hero-carousel-control {
        width: 40px;
        height: 40px;
        top: auto;
        bottom: 100px;
        transform: none;
    }
    
    .hero-carousel-control:hover {
        transform: scale(1.1);
    }
    
    .hero-carousel-control.prev {
        left: 12px;
    }
    
    .hero-carousel-control.next {
        right: 12px;
    }
    
    .hero-carousel-control svg {
        width: 20px;
        height: 20px;
    }
    
    @media (max-height: 500px) {
        .hero-carousel-control {
            bottom: 70px;
        }
    }
    
    .hero-carousel-indicators {
        bottom: 8px;
    }
    
    .hero-carousel-slide:nth-child(2) {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .hero-slide-content {
        right: 30px;
        left: auto;
        max-width: 45%;
        top: 40%;
        bottom: auto;
        transform: translateY(-50%);
    }
    
    .hero-history-description {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 20px;
    }
    
    .hero-cta-button {
        padding: 14px 28px;
        font-size: 0.9rem;
        width: 100%;
    }
    
    .hero-cta-button {
        padding: 14px 32px;
        font-size: 0.95rem;
        white-space: nowrap;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 20px;
        margin-bottom: 0;
        gap: 12px;
        padding: 20px 16px;
        width: calc(100% - 96px);
        max-width: calc(100% - 96px);
        margin-left: auto;
        margin-right: auto;
    }
    
    .stat-card {
        padding: 24px 8px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }

    .mission-vision {
        padding: 80px 48px 72px;
    }
    
    .mission-vision-body {
        gap: 32px;
    }
    
    .mission, .vision {
        gap: 20px;
    }
    
    .mission-gallery,
    .vision-gallery {
        gap: 16px;
    }

    .what-we-do {
        padding: 72px 48px;
    }

    .carousel-wrapper {
        height: 45vh;
        min-height: 320px;
    }

    .carousel-container {
        height: 45vh;
        padding: 0 48px;
        gap: 16px;
    }

    .carousel-control {
        width: 48px;
        height: 48px;
    }

    .carousel-card-content {
        padding: 16px;
        padding-top: 60px;
    }

    .carousel-card-content h3 {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .carousel-indicators {
        margin-top: 32px;
        gap: 6px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-indicator.active {
        width: 28px;
    }

    .map-section {
        padding: 72px 48px 88px;
    }

    .footer-top {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 900px) {
    .menu-toggle {
        display: flex;
    }
    
    .top-bar {
        display: grid;
        grid-template-columns: auto 1fr auto;
        align-items: center;
        gap: 12px;
        position: relative;
        z-index: 100;
    }

    .menu-toggle {
        order: 3;
        justify-self: end;
        position: relative;
        z-index: 101;
    }

    .brand {
        order: 1;
        justify-self: start;
    }

    .language-switcher {
        order: 2;
        justify-self: center;
    }

    .language-select {
        padding: 6px 14px;
    }

    .main-nav {
        position: fixed;
        /* Valores iniciales - serán sobrescritos por JavaScript */
        top: 82px;
        right: 12px;
        left: auto;
        background: #ffffff;
        box-shadow: 0 24px 48px rgba(12, 33, 81, 0.18);
        padding: 24px;
        border-radius: 18px;
        display: none;
        width: clamp(260px, 70vw, 320px);
        max-width: calc(100vw - 24px);
        z-index: 100;
        margin-top: 0;
        transform: translateX(0);
    }
    
    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
    }

    .has-dropdown {
        position: relative;
        width: 100%;
    }

    .has-dropdown .dropdown {
        position: absolute;
        top: calc(100% + 6px);
        left: 0;
        background: #ffffff;
        border-radius: 18px;
        padding: 16px 18px;
        box-shadow: 0 20px 40px rgba(12, 33, 81, 0.18);
        display: none;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        z-index: 12;
    }

    .has-dropdown.open .dropdown {
        display: flex;
    }

    .has-dropdown .dropdown a {
        font-size: 1rem;
        padding: 8px 0;
    }


    .hero-section {
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: auto;
        margin-bottom: 40px;
        width: calc(100% - 96px);
        max-width: calc(100% - 96px);
        align-self: center;
    }

    .mission-vision {
        padding: 60px 48px 64px;
    }

    .mission-vision-body {
        grid-template-columns: 1fr;
    }

    .what-we-do {
        padding: 72px 48px;
    }

    .carousel-wrapper {
        height: auto;
        min-height: 400px;
    }

    .carousel-container {
        height: auto;
        min-height: 400px;
        padding: 0 32px;
        gap: 16px;
    }

    .carousel-card-content {
        padding: 16px;
        padding-top: 60px;
    }

    .carousel-card-content h3 {
        font-size: clamp(1rem, 3vw, 1.2rem);
    }

    .carousel-control {
        width: 44px;
        height: 44px;
    }

    .carousel-control svg {
        width: 20px;
        height: 20px;
    }

    .carousel-indicators {
        margin-top: 32px;
        gap: 6px;
    }

    .carousel-indicator {
        width: 10px;
        height: 10px;
    }

    .carousel-indicator.active {
        width: 28px;
    }
}

@media (max-width: 700px) {
    .top-bar {
        padding: 14px 22px;
        gap: 16px;
    }

    .brand-text {
        font-size: 0.75rem;
        letter-spacing: 0.08em;
    }

    .hero-section {
        min-height: 500px;
        display: flex;
        flex-direction: column;
        padding-bottom: 0;
    }

    .hero-slide-content {
        right: 60px;
        left: auto;
        max-width: calc(50% - 20px);
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }

    .hero-history-description {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 18px;
        text-align: left;
        padding: 12px 14px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        border-radius: 12px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }

    .hero-cta-button {
        padding: 10px 16px;
        font-size: 0.7rem;
        width: 100%;
        margin: 0;
        white-space: normal;
        line-height: 1.3;
        letter-spacing: 0.03em;
    }

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: auto;
        margin-bottom: 40px;
        grid-template-columns: 1fr;
        gap: 18px;
        width: calc(100% - 56px);
        max-width: calc(100% - 56px);
        padding: 0 20px;
        align-self: center;
    }

    .mission-vision {
        padding: 40px 28px 64px;
    }

    .what-we-do {
        padding: 64px 20px;
    }

    .what-we-do-header {
        margin-bottom: 32px;
    }

    .carousel-wrapper {
        height: auto;
        min-height: 400px;
    }

    .carousel-container {
        height: auto;
        min-height: 400px;
        padding: 0 16px;
        gap: 12px;
    }

    .carousel-card-content {
        padding: 12px 16px;
        padding-top: 50px;
    }

    .carousel-card-content h3 {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .carousel-card-back {
        padding: 16px;
    }

    .carousel-card-back h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .carousel-card-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }

    .carousel-control {
        width: 44px;
        height: 44px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
        min-width: 44px;
        min-height: 44px;
    }

    .carousel-control svg {
        width: 18px;
        height: 18px;
    }

    .carousel-control.prev {
        left: 4px;
    }

    .carousel-control.next {
        right: 4px;
    }

    .carousel-indicators {
        margin-top: 24px;
        gap: 5px;
    }

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

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

    .language-switcher {
        justify-self: center;
    }

    .language-switcher .language-menu {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .language-select {
        font-size: 0.85rem;
    }

    .map-section {
        padding: 64px 20px 72px;
    }

    .site-footer {
        padding: 32px 24px;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        margin: 0;
        border-radius: 0;
    }

    .main-nav {
        right: 12px;
        left: auto;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
    }
    
    .hero-slide-content {
        right: 60px;
        left: auto;
        max-width: calc(45% - 20px);
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
    }
    
    .hero-slide-content .hero-history-description {
        display: block !important;
        font-size: 0.75rem;
        line-height: 1.45;
        margin-bottom: 14px;
        text-align: left;
        padding: 10px 12px;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(8px);
        border-radius: 10px;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .hero-cta-button {
        padding: 8px 14px;
        font-size: 0.65rem;
        width: 100%;
        margin: 0;
        white-space: normal;
        line-height: 1.3;
        letter-spacing: 0.02em;
    }
    
    
    .hero-carousel-slide:nth-child(2) {
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }
    
    .hero-carousel {
        overflow: hidden;
    }

    .what-we-do {
        padding: 56px 16px;
    }

    .what-we-do-header {
        margin-bottom: 28px;
    }

    .language-switcher .language-menu {
        width: min(240px, 90vw);
    }

    .carousel-wrapper {
        min-height: 350px;
    }

    .carousel-container {
        min-height: 350px;
        padding: 0 12px;
        gap: 10px;
    }

    .carousel-card-back {
        padding: 16px;
    }

    .carousel-card-back h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .carousel-card-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }


    .carousel-card-content {
        padding: 10px 12px;
        padding-top: 40px;
    }

    .carousel-card-content h3 {
        font-size: 0.9rem;
    }

    .carousel-card-content p {
        font-size: 0.7rem;
    }

    .carousel-card-back {
        padding: 16px;
    }

    .carousel-card-back h3 {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    .carousel-card-back p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    .carousel-control {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .carousel-control svg {
        width: 18px;
        height: 18px;
    }

    .carousel-indicators {
        margin-top: 20px;
        gap: 4px;
    }

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

    .carousel-indicator.active {
        width: 20px;
    }
}

