/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0B2B4E;
    --white: #ffffff;
    --gold: #ffc600;
    --dark: #333333;
    --light-bg: #f9f9f9;
    --transition: all 0.3s ease;
    --shadow: 0 10px 30px rgba(18, 95, 151, 0.1);
    --border-radius: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Manrope', 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    overflow-x: hidden;
    background-color: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

/* Highlight text styles */
.highlight-text {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-weight: 400;
    letter-spacing: 1px;
}

/* Top bar styles */
.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding: 8px 0;
    font-size: 12px;
    width: 100%;
    min-height: 24px;
}

.contact-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    gap: 20px;
}

.contact-info .info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.contact-info .info-item i {
    font-size: 12px;
    color: var(--white);
    background: rgba(255, 255, 255, 0.2);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-info .info-item:hover i {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .contact-info {
        display: none; /* En móvil ocultamos el top-bar para mejor experiencia */
    }
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: sticky;
    top: 0;
    z-index: 999;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    z-index: 1;
}

.logo img {
    width: 60px;
    height: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0.5rem;
}

.nav-links a:not(.cta-button)::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:not(.cta-button):hover::after {
    width: 100%;
}

.mobile-menu-button {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    padding: 0;
}

.mobile-menu-button span {
    height: 3px;
    width: 100%;
    background-color: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
    display: block;
}

/* Mobile menu styles */
@media (max-width: 992px) {
    .nav-container {
        padding:0.5rem 1.25rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 24px;
        width: 30px;
        cursor: pointer;
        z-index: 1001;
    }
    
    .mobile-menu-button span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: var(--primary);
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-button.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-button.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .nav-links {
        position: fixed;
        inset: 0;
        width:100vw;
        height:100vh;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: left 0.3s ease;
        overflow-y: auto;
        z-index:2000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        margin: 10px 0;
        padding: 10px;
        width: 80%;
        text-align: center;
    }
    
    .dropdown {
        width: 80%;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        margin-top: 10px;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .lang-switcher {
        margin: 10px 0;
    }
    
    .lang-dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    overflow: hidden;    background-color: #000;
    margin-top: -80px; /* Compensar por el navbar sticky */
    padding-top: 80px; /* Espacio para el navbar */
}

.globe-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-front-image {
    position: absolute;
    bottom: 10%;
    right: 10%;
    z-index: 2;
    width: 400px;
    animation: floating 6s ease-in-out infinite;
}

.hero-front-image img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.3));
}

.floating-image {
    transform-origin: center;
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(2deg);
    }
    50% {
        transform: translateY(0px) rotate(0deg);
    }
    75% {
        transform: translateY(15px) rotate(-2deg);
    }
    100% {
        transform: translateY(0px) rotate(0deg);
    }
}



.hero-content {
    max-width: 900px;
    padding: 2rem;
    z-index: 3;
    position: relative;
}

.hero-content h1 {    font-size: 4.5rem;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 25px rgba(0, 0, 0, 0.5);
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 15px rgba(0, 0, 0, 0.5);
    font-weight: 400;
}

.hero-tagline {
    font-size: 1.4rem;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(30px);
    color: var(--gold);
}

.destination-selector {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    max-width: 850px;
    width: 100%;
    padding: 0 1rem;
    position: relative;
    z-index: 10;
    margin-bottom: 1.5rem;
    pointer-events: auto;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.destination-btn {
    background: rgba(40, 40, 40, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 1rem 1rem;
    color: white;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-out;
    font-family: 'Manrope', 'Poppins', sans-serif;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex: 1;
    min-width: 180px;
    max-width: 250px;
    position: relative;
    z-index: 4;
}

.destination-btn:hover {
    background: rgba(60, 60, 60, 0.7);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.destination-btn.active {
    background: rgba(20, 20, 20, 0.8);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.destination-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.1);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.destination-text {
    text-align: center;
    width: 100%;
}

.destination-text h3 {
    font-size: 1.15rem;
    margin: 0 0 6px 0;
    font-weight: 700;
    color: rgba(255, 255, 255, 1);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.destination-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.85;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

@media (max-width: 992px) {
    .destination-selector {
        flex-wrap: wrap;
    }
    
    .destination-btn {
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .destination-selector {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 3rem;
    }    
    
    .destination-btn {
        width: 100%;
        max-width: 100%;
        justify-content: center;
        padding: 1rem 1.5rem;
    }

    .destination-icon {
        display: none;
    }
}

/* Hero Section Styles */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.5s ease;
}

.hero-background.current {
    opacity: 1;
    z-index: 1;
}

.hero-background.next {
    opacity: 0;
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.6),
        rgba(0, 0, 0, 0.4)
    );
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 1000px;
    padding: 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: 100%;
    margin-top: -5vh;
}

.hero-text {
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-tagline {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 500px;
}



.destination-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 1.1rem;
    opacity: 0.8;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    opacity: 0;
}

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--white);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 10px;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    animation: scroll 1.5s infinite;
}

.arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.arrow span {
    width: 20px;
    height: 2px;
    background: var(--white);
    display: block;
    animation: arrow 1.5s infinite;
}

.arrow span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.arrow span:nth-child(2) {
    transform: rotate(-45deg) translate(-5px, 5px);
}

@keyframes scroll {
    0% {
        transform: translateY(0);
        opacity: 1;
    }
    100% {
        transform: translateY(15px);
        opacity: 0;
    }
}

@keyframes arrow {
    0% {
        opacity: 0;
        transform: translateY(-5px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(5px);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.4rem;
    }
    
    .hold-to-travel-btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }
}

.whale-animation {
    position: absolute;
    bottom: -100px;
    left: 5%;
    z-index: -1;
    animation: swim 25s infinite ease-in-out;
}

.whale-animation img {
    width: 400px;
    height: auto;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

.penguin-animation {
    position: absolute;
    bottom: 50px;
    right: 10%;
    z-index: -1;
    animation: float 10s infinite ease-in-out;
}

.penguin-animation img {
    width: 100px;
    height: auto;
    opacity: 0.7;
    filter: brightness(0) invert(1);
}

@keyframes swim {
    0% {
        transform: translateX(-100%) translateY(0);
    }
    50% {
        transform: translateX(100vw) translateY(20px);
    }
    100% {
        transform: translateX(-100%) translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Buttons */
.cta-button {
    background: var(--primary);
    color: var(--white) !important;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 2px solid transparent;
    cursor: pointer;
    font-weight: 600;
    font-family: 'Manrope', 'Poppins', sans-serif;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(18, 95, 151, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.5s ease-out;
}

.cta-button:hover {
    background: #0B2B4E;
    color: white !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(18, 95, 151, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-button:hover::before {
    transform: translate(-50%, -50%) scale(1);
}

.cta-button-large {
    background: var(--primary);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    border-radius: 14px;
    text-decoration: none;
    transition: var(--transition);
    display: inline-block;
    border: 2px solid transparent;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(18, 95, 151, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,215,0,0.2), rgba(255,215,0,0));
    z-index: -1;
    transform: translateX(-100%);
    transition: var(--transition);
}

.cta-button-large:hover {
    background: #0d4e81;
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(18, 95, 151, 0.4);
}

.cta-button-large:hover::before {
    transform: translateX(0);
}

/* Excursiones Section */
.excursiones {
    padding: 6rem 2rem 3rem;
    background: var(--white);
}

.excursiones-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 3rem auto 2rem;
    padding: 0 1rem;
}

.excursion-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.excursion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(18, 95, 151, 0.15);
}

.excursion-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.excursion-card:hover img {
    transform: scale(1.05);
}

.excursion-content {
    padding: 1.5rem;
}

.excursion-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.precio {
    font-size: 1.1rem;
    color: var(--dark);
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.excursion-content p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.reservar-btn {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: 'Manrope', 'Poppins', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.reservar-btn i {
    font-size: 1.1rem;
}

.reservar-btn:hover {
    background: #0b4d7d;
    transform: translateY(-3px);
}

.ver-mas {
    text-align: center;
    margin-top: 3rem;
}

/* Programas Section */
.programas {
    padding: 8rem 2rem 6rem;
    background: var(--white);
}

.section-title {
    text-align: center;
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    width: 100%;
    display: block;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold);
    margin: 0.8rem auto 0;
    border-radius: 2px;
}

.programa-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 4rem auto 0;
}

.programa-card {
    position: relative;
    height: 320px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
}

.programa-card:hover {
    transform: translateY(-15px);
}

.parallax-card {
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.programa-card:hover .parallax-card {
    transform: scale(1.08);
}

.card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, var(--primary) 0%, transparent 100%);
    color: var(--white);
    transform: translateY(0);
    transition: transform 0.5s ease;
}

.programa-card:hover .card-content {
    transform: translateY(-10px);
}

.card-icon {
    background-color: var(--primary);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    transform: translateY(0);
    transition: transform 0.5s ease;
    box-shadow: 0 5px 15px rgba(18, 95, 151, 0.3);
}

.card-icon i {
    font-size: 1.5rem;
    color: var(--white);
}

.programa-card:hover .card-icon {
    transform: translateY(-5px) scale(1.1);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Parallax Sections */
.penguin-parallax,
.whale-parallax {
    height: 70vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    overflow: hidden;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

.penguin-parallax {
    background-image: url('../images/galeria/tombo.jpg');
}

.whale-parallax {
    background-image: url('../images/galeria/avistaje.jpg');
}

.penguin-parallax::before,
.whale-parallax::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(31, 69, 80, 0.4);
}

.parallax-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    padding: 2rem;
}

.parallax-content h2 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 15px rgba(0, 0, 0, 0.5);
}

.parallax-content p {
    font-size: 1.3rem;
    max-width: 70%;
    margin: 0 auto;
    text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.5);
}

/* Experiencias Section */
.experiencias {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.experiencia-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1400px;
    margin: 3rem auto 0;
}

.experiencia-item {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.experiencia-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--primary);
    z-index: -1;
    transition: var(--transition);
}

.experiencia-item:hover {
    transform: translateY(-10px);
}

.experiencia-item:hover::before {
    height: 100%;
    opacity: 0.05;
}

.experiencia-item i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.experiencia-item:hover i {
    transform: scale(1.2);
    color: #0d4e81;
}

.experiencia-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Nosotras Section */
.nosotras {
    padding: 7rem 2rem;
    background: var(--white);
}

.nosotras-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.subtitle {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 4rem;
    color: #555;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(250px, 300px));
    gap: 3rem;
    margin-bottom: 5rem;
    justify-content: center;
}

.team-member {
    text-align: center;
}

.team-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    background-size: cover;
    background-position: center;
    border: 4px solid var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.team-member:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(18, 95, 151, 0.2);
    border-color: rgba(18, 95, 151, 0.1);
}

.team-member h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary);
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(0,0,0,0.05);
}

.stat-item {
    padding: 2rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background-color: rgba(18, 95, 151, 0.1);
    border-radius: 50%;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.number {
    display: block;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.label {
    font-weight: 500;
    position: relative;
    z-index: 1;
}

/* Valoraciones Section */
.valoraciones {
    padding: 6rem 2rem;
    background: var(--white);
}

.valoraciones-container {
    max-width: 1200px;
    margin: 3rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Mapa arriba */
.map-container {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 1rem;
}

.map-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius);
}

.reviews-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.reviews-platforms {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.platform-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 400px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    width: 100%;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .valoraciones-container {
        gap: 2rem;
    }

    .reviews-platforms {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .map-container {
        height: 350px;
    }

    .platform-card {
        min-height: 250px;
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .valoraciones {
        padding: 4rem 1rem;
    }
    
    .valoraciones-container {
        gap: 1.5rem;
    }

    .reviews-platforms {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .map-container {
        height: 300px;
    }

    .platform-card {
        min-height: 200px;
        padding: 1.2rem;
    }
}

.footer {
    background: #0B2B4E;
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    margin-right: 1rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #ffd700;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Animations */
.fade-in {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
}

.fade-in-delay {
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.5s;
}

.fade-in-delay-2 {
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .top-bar { 
        display: none; 
    }

    .nav-container {
        flex-direction: row;
        text-align: center;
    }

    .nav-links {
        margin-top: 0rem;
    }

    .nav-links a {
        margin: 0.5rem;
        display: inline-block;
    }
    
    .hero-content {
        margin-top: 5vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
    
    /* Team section responsive */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 300px;
        margin: 0 auto 5rem;
    }
    
    .team-member h3 {
        font-size: 1.3rem;
    }
    
    .team-photo {
        width: 150px;
        height: 150px;
    }
}

/* Enhanced TripAdvisor Reviews Styles */
.tripadvisor-reviews {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow);
    border: 1px solid rgba(0,0,0,0.05);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.platform-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tripadvisor-reviews h3 {
    font-size: 1.4rem;
    color: var(--dark);
    margin: 0;
    font-weight: 600;
}

.tripadvisor-rating {
    text-align: right;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    color: #00af87;
    font-size: 1.1rem;
}

.rating-details {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    color: #00af87;
}

.rating-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: #00af87;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tripadvisor-reviews-content {
    display: grid;
    gap: 2rem;
}

.reviews-summary {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    border-left: 4px solid #00af87;
}

.rating-breakdown {
    display: grid;
    gap: 0.8rem;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.rating-label {
    min-width: 80px;
    font-weight: 500;
    color: var(--dark);
}

.bar-container {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #00af87, #34d399);
    border-radius: 4px;
    transition: width 0.8s ease;
}

.tripadvisor-highlights {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.tripadvisor-highlights h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.highlights-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.highlight-tag {
    background: linear-gradient(135deg, #00af87, #34d399);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
    box-shadow: 0 2px 4px rgba(0, 175, 135, 0.2);
    transition: transform 0.2s ease;
}

.highlight-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 175, 135, 0.3);
}

.view-more-reviews {
    text-align: center;
    padding-top: 1rem;
}

.tripadvisor-btn {
    background: linear-gradient(135deg, #00af87, #34d399);
    color: white !important;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 175, 135, 0.3);
}

.tripadvisor-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 175, 135, 0.4);
    color: white !important;
}

.tripadvisor-btn i {
    font-size: 1.2rem;
}

/* Reviews Section Styles - Optimized for vertical layout */
.platform-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    min-height: 300px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(18, 95, 151, 0.15);
}

.platform-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.platform-logo {
    height: 32px;
    width: auto;
    max-width: 120px;
}

.rating-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.3rem;
}

.rating-score {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.google-reviews .rating-score {
    color: #4285f4;
}

.tripadvisor-reviews .rating-score {
    color: #00af87;
}

.stars {
    display: flex;
    gap: 2px;
}

.google-reviews .stars .fa-star {
    color: #4285f4;
}

.tripadvisor-reviews .stars .fa-star {
    color: #00af87;
}

.review-carousel{
    position:relative;
    overflow:hidden;
    min-height:180px;
    flex:1;
    display:flex;
    flex-direction:column;
    margin:1rem 0;
}

.review-slide{
    position:absolute;
    inset:0;
    width:100%;
    opacity:0;
    transform:translateX(20px);
    transition:opacity .5s ease, transform .5s ease;
    display:none;
}

.review-slide.active{
    display:block;
    opacity:1;
    transform:translateX(0);
    z-index:1;
}

.review-text{
    font-size:1rem;
    line-height:1.6;
    color:#444;
    margin-bottom:1rem;
    font-style:italic;
    min-height:80px;
    max-height:120px;
    overflow:hidden;
    text-overflow:ellipsis;
    display:-webkit-box;
    -webkit-line-clamp:5;
            line-clamp:5;
    -webkit-box-orient:vertical;
}


.reviewer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}

.reviewer .name {
    font-weight: 600;
    color: var(--dark);
}

.reviewer .date {
    color: #666;
}

.platform-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    margin-top: auto;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.review-count {
    font-size: 0.9rem;
    color: #666;
    font-weight: 500;
}

.view-more {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    padding: 0.5rem 0;
}

.view-more:hover {
    opacity: 0.8;
}

.view-more i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.view-more:hover i {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .reviews-platforms {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .platform-card {
        height: auto;
        min-height: 250px;
    }
    
    .platform-header {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
        padding-bottom: 1rem;
    }
    
    .rating-display {
        align-items: center;
    }

    .review-carousel {
        min-height: 150px;
    }

    .review-text {
        font-size: 0.95rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        max-height: 4.8em;
    }
}

/* Gallery Section */
.galeria {
    padding: 6rem 0;
    background: var(--dark);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.galeria-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1400px;
    margin: 3rem auto 0;
    padding: 0 1rem;
}

.galeria-item {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    aspect-ratio: 1;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.galeria-item.wide {
    grid-column: span 2;
    aspect-ratio: 2/1;
}

.galeria-item.tall {
    grid-row: span 2;
    aspect-ratio: 1/2;
}

.galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0, 0.2, 1);
}

.galeria-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2));
    padding: 2.5rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.galeria-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.galeria-item:hover img {
    transform: scale(1.1);
}

.galeria-item:hover .galeria-overlay {
    opacity: 1;
    transform: translateY(0);
}

.galeria-overlay h3 {
    font-size: 1.8rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.galeria-overlay p {
    font-size: 1.1rem;
    opacity: 0.9;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.galeria .section-title {
    color: var(--white);
    margin: 0 auto 0.5rem;
    padding: 0 2rem;
    max-width: 1200px;
    text-align: center;
}

.galeria .section-title::after {
    background: var(--gold);
    margin: 1rem auto 0;
    width: 100px;
    height: 4px;
}

.galeria .subtitle {
    color: var(--white);
    opacity: 0.9;
    text-align: center;
    margin: 1.5rem auto 4rem;
    padding: 0 2rem;
    max-width: 800px;
    font-size: 1.2rem;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .galeria-item,
    .galeria-item.wide {
        grid-column: span 1;
        aspect-ratio: 1;
        height: 250px;
    }
    
    .galeria-item.tall {
        grid-row: span 1;
        aspect-ratio: 1;
        height: 250px;
    }
    
    .galeria-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 1rem;
    }
    
    .galeria-item,
    .galeria-item.wide,
    .galeria-item.tall {
        grid-column: span 1;
        grid-row: span 1;
        aspect-ratio: 1;
        width: 100%;
        height: 280px;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .galeria-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .galeria-overlay {
        padding: 1.5rem;
    }
    
    .galeria-overlay h3 {
        font-size: 1.5rem;
    }
    
    .galeria-overlay p {
        font-size: 1rem;
    }
}

/* Contact Section */
.contacto {
    padding: 6rem 2rem;
    background: var(--light-bg);
}

.contacto-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contacto-info {
    padding-right: 2rem;
}

.contacto-info p {
    font-size: 1.2rem;
    color: #666;
    margin: 1.5rem 0 3rem;
}

.info-items {
    display: grid;
    gap: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
}

.info-item i {
    font-size: 1.8rem;
    color: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(18, 95, 151, 0.1);
    border-radius: 50%;
}

.info-item h4 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.info-item p {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.contacto-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contacto-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: grid;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 500;
    color: var(--dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #f8f9fa;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(18, 95, 151, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Responsive Design for Gallery and Contact */
@media (max-width: 992px) {
    .contacto-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .contacto-info {
        padding-right: 0;
    }

    .galeria-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }

    .galeria-item.wide {
        grid-column: span 2;
    }

    .galeria-item.tall {
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .galeria-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .galeria-item,
    .galeria-item.wide,
    .galeria-item.tall {
        grid-column: span 1;
        height: 300px;
    }

    .contacto-form-container {
        padding: 2rem;
    }

    .info-items {
        gap: 1.5rem;
    }

    .info-item {
        gap: 1rem;
    }

    .info-item i {
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: inherit;
    padding: 10px;
    cursor: pointer;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    min-width: 200px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s, transform 0.2s;
}

.dropdown:hover .dropdown-content {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.2s;
}

.dropdown-content a:hover {
    background-color: #f5f5f5;
}

@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        box-shadow: none;
        display: none;
        opacity: 1;
        transform: none;
        background-color: transparent;
    }

    .dropdown:hover .dropdown-content {
        display: none;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding-left: 20px;
        color: inherit;
    }
}

/* New styles for the news page */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/peninsula.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
    margin-top: -80px;
    padding-top: 80px;
}

.page-header-content {
    max-width: 800px;
    padding: 2rem;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-header p {
    font-size: 1.2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Info Sections */
.info-section {
    padding: 80px 0;
    scroll-margin-top: 80px;
}

.info-section:nth-child(even) {
    background-color: var(--light-bg);
}

.info-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 768px) {
    .page-header {
        height: 200px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .page-header p {
        font-size: 1rem;
    }

    .info-section {
        padding: 40px 0;
    }
}

/* Language Switcher Styles */
.lang-switcher {
    margin: 0 0.5rem;
    position: relative;
}

.lang-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Manrope', 'Poppins', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
}

.lang-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.lang-btn i {
    font-size: 1rem;
}

.lang-btn .fa-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.lang-switcher:hover .fa-chevron-down {
    transform: rotate(180deg);
}

.current-lang {
    font-size: 0.9rem;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.5rem;
    list-style: none;
    min-width: 150px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
    z-index: 1000;
}

.lang-switcher.active .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

@media (max-width: 768px) {
    .lang-switcher {
        margin: 10px 0;
        width: 80%;
    }

    .lang-btn {
        width: 100%;
        justify-content: center;
        padding: 10px;
    }

    .lang-dropdown {
        position: static;
        width: 100%;
        margin-top: 0;
        height: 0;
        padding: 0;
        overflow: hidden;
        left: auto;
        transform: none;
        opacity: 0;
        transition: opacity .25s ease, height .25s ease;
    }

    .lang-switcher.active .lang-dropdown {
        height: auto;
        padding: 0.5rem;
        margin-top: 10px;
        border: 1px solid rgba(0, 0, 0, .1);
        opacity: 1;
        transform: none;
    }

    .lang-dropdown li {
        padding: 10px;
        justify-content: center;
    }

    .lang-code {
        width: 30px;
        height: 30px;
        font-size: .75rem;
    }
}

/* Vision & Mission Section */
.vision-mission {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 0 auto 4rem;
    max-width: 1200px;
}

.vm-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
    text-align: center;
    border: 1px solid rgba(18, 95, 151, 0.1);
}

.vm-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
}

.vm-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 50%, rgba(18, 95, 151, 0.03) 100%);
    z-index: 0;
    pointer-events: none;
}

.vm-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(18, 95, 151, 0.15);
}

.vm-item h3 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.vm-item h3 i {
    font-size: 2.5rem;
    color: var(--primary);
    transition: transform 0.3s ease, color 0.3s ease;
    opacity: 0.9;
}

.vm-item:hover h3 i {
    transform: scale(1.1) rotate(5deg);
    color: var(--gold);
}

.vm-item p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin: 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .vision-mission {
        grid-template-columns: 1fr;
        padding: 0 1.5rem;
        gap: 2rem;
    }
    
    .vm-item {
        padding: 2rem;
    }
    
    .vm-item h3 {
        font-size: 1.8rem;
    }
    
    .vm-item p {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Responsive Navigation Styles */
@media screen and (max-width: 992px) {
    .nav-container {
        padding: 0 20px;
    }
    
    .nav-links {
        top: 0;
        height: 100vh;
        left: -100%;
        width: 100%;
        height:100vh;
        bottom:0;
        background-color: #fff;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: left 0.3s ease;
        overflow-y:auto;
        z-index: 1000;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links a {
        margin: 6px 0;
        padding: 8px;
        width: 80%;
        text-align: center;
    }
    
    .mobile-menu-button {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 24px;
        width: 30px;
        cursor: pointer;
    }
    
    .mobile-menu-button span {
        display: block;
        height: 3px;
        width: 100%;
        background-color: #0b3b60;
        border-radius: 3px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-button.active span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }
    
    .mobile-menu-button.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-button.active span:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }
    
    .dropdown {
        width: 80%;
    }
    
    .dropdown-content {
        position: static;
        display: none;
        width: 100%;
        box-shadow: none;
        margin-top: 10px;
    }
    
    .dropdown.active .dropdown-content {
        display: block;
    }
    
    .lang-switcher {
        margin: 10px 0;
    }
    
    .lang-dropdown {
        position: static;
        width: 100%;
        margin-top: 10px;
    }
}

/* ---------------------------------
   Ítems del desplegable de idiomas
   --------------------------------- */
.lang-dropdown li{
    display:flex;                 /* código + nombre en la misma línea  */
    align-items:center;
    gap:0.75rem;                  /* espacio entre círculo y texto      */
    padding:0.6rem 1rem;
    border-radius:8px;
    cursor:pointer;
    transition:background .25s;
    font-size:.95rem;
}

.lang-dropdown li:hover{
    background:rgba(11,43,78,.06);/* sombreado al pasar el mouse        */
}

.lang-code{
    width:34px;
    height:34px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:700;
    letter-spacing:.5px;
    font-size:.8rem;
    color:#fff;
    background:var(--primary);    /* círculo azul                       */
}

.lang-name{
    color:var(--dark);
    white-space:nowrap;
}

/* Ajustes opcionales para pantallas ≤768 px --------------------------- */
@media (max-width:768px){
    .lang-code{ width:30px; height:30px; font-size:.75rem; }
}
