    /*========== FONTS */

    /*========== Font > Fontawesome */

@import url("fonts/fontawesome/fontawesome.min.css");
@import url("fonts/fontawesome/brands.min.css");
@import url("fonts/fontawesome/regular.min.css");
@import url("fonts/fontawesome/solid.min.css");
@import url("fonts/fontawesome/light.min.css");

/*========== Font > Museo Sans */

@font-face {
    font-family: 'Museo Sans 300';
    src: url('fonts/museo-sans/museosans-300.woff2') format('woff2'),
         url('fonts/museo-sans/museosans-300.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Museo Sans 500';
    src: url('fonts/museo-sans/museosans-500.woff2') format('woff2'),
         url('fonts/museo-sans/museosans-500.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Museo Sans 700';
    src: url('fonts/museo-sans/museosans-700.woff2') format('woff2'),
         url('fonts/museo-sans/museosans-700.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Museo Sans 900';
    src: url('fonts/museo-sans/museosans-900.woff2') format('woff2'),
         url('fonts/museo-sans/museosans-900.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/*========== Font > Museo Sans */

@font-face {
    font-family: 'Ohlivey';
    src: url('fonts/ohlivey/ohlivey.eot') format('eot'),
         url('fonts/ohlivey/ohlivey.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Reset and base styles */

:root {
    --st-gradient-principal: linear-gradient(
      to bottom,
      rgba(7, 90, 215, 0.7) 0%,
      rgba(7, 90, 215, 0.1) 100%
    );
    --st-color-principal: #0266fd;
    --st-color-light: #ffffff;
    --st-color-dark: #222222;
    --st-font-principal-light: "Museo Sans 300";
    --st-font-principal-regular: "Museo Sans 500";
    --st-font-principal-bold: "Museo Sans 700";
    --st-font-principal-heavy: "Museo Sans 900";
    --st-font-titles: "Ohlivey";
    --bp-small: 480px;
    --bp-medium: 768px;
    --bp-large: 1024px;
    --bp-xlarge: 1200px;
    --bp-xxlarge: 1400px;
    --st-font-size-xs: clamp(0.75rem, 3vw, 0.875rem);
    --st-font-size-sm: clamp(0.875rem, 4vw, 1rem);
    --st-font-size-base: clamp(1rem, 5vw, 1.125rem);
    --st-font-size-lg: clamp(1.25rem, 6vw, 1.5rem);
    --st-font-size-xl: clamp(1.75rem, 8vw, 2.5rem);
    --st-font-size-2xl: clamp(2.5rem, 10vw, 4rem);
    --st-spacing-xs: 0.5rem;
    --st-spacing-sm: 1rem;
    --st-spacing-md: 1.5rem;
    --st-spacing-lg: 2rem;
    --st-spacing-xl: 3rem;
    --st-header-height-mobile: 70px;
    --st-header-height-desktop: 90px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}


body {
    background-color: #fff;
    color: var(--st-color-principal);
    font-size: 0.9rem;
    font-family: var(--st-font-principal-regular);
    max-width: 100%;
    overflow-x: hidden;
  }
  body.dark-mode {
    background-color: #181a1b;
    color: #fff;
    font-size: 0.9rem;
    font-family: var(--st-font-principal-regular);
  }
  
/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Header styles */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: transparent;
    padding: 1rem 0;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

.main-nav {
    padding: 1rem;
}

@media (max-width: 768px) {
    .main-nav {
        padding: 0rem;
        margin-top: 0.5rem;
    }
}

.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: nowrap;
}

.nav-brand a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
}

.nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: clamp(0.5rem, 1vw, 1rem);
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    transition: background-color 0.3s ease;
    font-size: 0.95rem;
}

.nav-menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    opacity: 1;
}

/* Footer styles */
.main-footer {
    background: #0266fd;
    color: #fff;
    padding: 3rem 0 0;
}

.footer-bottom {
    text-align: left;
    padding: 2rem 0;
    color: #fff;
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    margin-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-button {
    background: var(--st-color-light);
    color: var(--st-color-dark);
    padding: 0.5rem 1rem;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 3vw, 2rem);
}
.footer-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
}

.footer-section h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    color: #333;
}

.footer-logos {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.footer-logo {
    width: 250px;
    height: auto;
    max-width: 100%;
}
.footer-section-title {
    font-size: 1.5rem !important;
    color: var(--st-color-light);
    margin: 1rem 0;
    font-family: var(--st-font-principal-bold);
}

.footer-description {
    font-size: 1rem;
    color: var(--st-color-light);
    margin: 1rem 0;
}

.social-media-link {
    background: var(--st-color-light);
    color: var(--st-color-principal);
    width: 42px;
    height: 42px;
    border-radius: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    text-decoration: none !important;
    transition: all 0.25s ease-in-out;
    -webkit-transition: all 0.25s ease-in-out;
    -moz-transition: all 0.25s ease-in-out;
}

@media (max-width: 768px) {
    .footer-logos {
        justify-content: center;
    }
}

/* Split Carousel / Hero */
.split-carousel {
    position: relative;
    height: 75vh;
    min-height: 500px;
    max-height: 900px;
    background: #000;
    font-family: var(--st-font-principal-regular);
    color: white;
    display: flex;
    align-items: center;
}

.split-carousel__grid {
    height: auto;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 1fr;
    position: relative;
    z-index: 2;
    gap: 2rem;
    align-items: center;
}

.split-carousel__content {
    padding: clamp(1rem, 3vw, 2rem);
    max-width: min(600px, 90%);
    margin: 0 auto;
}

.split-carousel__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 0.5em;
    color: white;
    line-height: 1.1;
    font-family: var(--st-font-principal-heavy);
}

.split-carousel__subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

/* Debug info */
.debug-info {
    background: #f0f0f0;
    padding: 2rem;
    text-align: center;
    color: #666;
    border-radius: 8px;
}

/* Carousel Styles */
.split-carousel__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
    
}

.carousel-slide.fade-out {
    opacity: 0;
    z-index: 1;
}

.carousel-slide.fade-in {
    opacity: 1;
    z-index: 2;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Location indicator */
.carousel-location {
    position: absolute;
    bottom: 2rem;
    right: calc((100% - 1400px) / 2 + 2rem);
    color: white;
    font-size: 1.2rem;
    z-index: 3;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.carousel-location::before {
    content: '—';
    margin-right: 0.5rem;
}

/* Carousel Navigation */
.carousel-dots {
    position: absolute;
    bottom: 2rem;
    left: calc((100% - 1400px) / 2 + 2rem);
    transform: none;
    display: flex;
    gap: 0.5rem;
    z-index: 3;
    width: auto;
}

.dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: none;
    background: #ffffff80;
    cursor: pointer;
    padding: 0;
    transition: all 0.3s ease;
}

.dot.active {
    background: white;
}

/* Hide arrows for hero style */
.carousel-arrow {
    display: none;
}

/* Responsive */
@media (max-width: 1400px) {
    .container {
        margin: 0 1rem;
    }

    .nav-menu ul {
        gap: 0.75rem;
    }
    
    .nav-menu a {
        padding: 0.5rem;
    }
    
    .search-input {
        width: 200px;
    }
}

@media (max-width: 1200px) {
    .main-nav .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-brand {
        width: 100%;
        text-align: center;
        margin-bottom: 1rem;
    }

    .nav-menu {
        flex: 1;
        order: 2;
        width: auto;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-controls {
        order: 3;
        flex-shrink: 0;
    }

    /* Mobile menu styles */
    .nav-right {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .mobile-menu-panel.active {
        display: block;
    }
}

@media (max-width: 1024px) {
    .split-carousel {
        height: 70vh;
    }

    .split-carousel__grid {
        grid-template-columns: 1fr;
    }

    .split-carousel__content {
        text-align: center;
        padding: clamp(1rem, 5vw, 2rem);
    }

    .title-section__title {
        font-size: clamp(3em, 10vw, 7em);
    }
}

@media (max-width: 768px) {
    .split-carousel {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-nav {
        width: 60px;
    }
    
    .carousel-nav__icon {
        font-size: 2rem;
    }

    .carousel-dots {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }

    .footer-section:first-child {
        grid-column: 1 / -1;
    }

    .nav-controls {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .search-container {
        width: 100%;
        order: 1;
    }

    .search-input {
        width: 100%;
    }

    .accessibility-controls {
        order: 2;
    }

    .language-switcher {
        order: 3;
    }

    .title-section__subtitle {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
}

@media (max-width: 480px) {
    .split-carousel {
        height: 50vh;
        min-height: 350px;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-logos {
        justify-content: center;
    }

    .title-section {
        padding: 2rem 0;
    }
}

/* Box Width Utilities */
.full-width {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

/* Margin Utilities */
.mt-0 { margin-top: 0; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-12 { margin-top: 3rem; }

.mb-0 { margin-bottom: 0; }
.mb-4 { margin-bottom: 1rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-12 { margin-bottom: 3rem; }

/* Add these utility classes */
.header-transparent {
    background: transparent !important;
}

/* Optional: Add header background when scrolling */
.header-scrolled {
    background: #0266fd !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
    transition: all 0.3s ease;
}

/* Header styles */
.brand-logo {
    height: 54px;
    width: auto;
    display: block;
}

/* Back Button */

 .back-button {
    position: relative;
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    z-index: 3;
    transition: opacity 0.3s ease;
    width: fit-content;
}

.back-arrow {
    margin-right: 0.5rem;
    font-size: 1.5rem;
}

.back-button:hover {
    opacity: 0.8;
} 

/* Update content positioning */
.split-carousel__content {
    padding: 0 2rem;
    max-width: 600px;
}

/* Update container for better spacing */
.split-carousel .container {
    position: relative;
    z-index: 2;
    padding-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 1450px) {
    .nav-menu ul {
        gap: 0.75rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.5rem;
    }
    
    .search-input {
        width: 200px;
    }
}

@media (max-width: 1280px) {
    .main-nav .container {
        flex-wrap: wrap;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        margin: 0 !important;
    }
    
    .search-input {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    /* Container styles */
    .container {
        padding: 0 1rem;
    }
    
    /* Navigation styles */
    .main-nav .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-brand {
        width: 100%;
        text-align: center;
        margin: 0 0 1rem 0;
    }

    .nav-menu {
        flex: 1;
        order: 2;
        width: auto;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu ul {
        flex-wrap: nowrap;
        padding: 0.5rem 0;
        gap: 1rem;
    }

    .nav-controls {
        order: 3;
        flex-shrink: 0;
    }

    /* Search input styles */
    .search-input {
        width: 200px;
    }

    /* Carousel styles */
    .carousel-dots {
        left: 2rem;
    }
    
    .carousel-location {
        right: 2rem;
    }
}

@media (max-width: 1200px) {
    /* Search input styles */
    .search-input {
        width: 200px;
    }

    /* Navigation styles */
    .main-nav .container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }

    .nav-brand {
        width: 100%;
        text-align: center;
    }

    .brand-logo {
        margin: 0 auto;
    }

    .nav-menu {
        order: 3;
        width: 100%;
    }

    .nav-controls {
        order: 2;
    }
}

/* Header additions */
.main-header {
    background: transparent;
    padding: 0;
}

/* Search bar */
.search-container {
    position: relative;
    margin: 0 1rem;
}

.search-input {
    padding: 0.75rem 2.5rem 0.75rem 1.25rem;
    border-radius: 50px;
    border: none;
    width: 280px;
    font-size: 0.95rem;
    background: white;
}

.search-button {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

/* Accessibility controls */
.accessibility-controls {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.font-size-button {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0rem;
    width: 35px;
    height: 35px;
    border-radius: 0px;
    min-width: 35px;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: var(--st-font-principal-heavy);
    font-weight: 900;
    justify-content: center;
    transition: background-color 0.3s ease;
}

.font-size-button:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* Dark mode toggle */
.dark-mode-toggle {
    background: transparent;
    border: 1px solid white;
    color: white;
    padding: 0rem;
    width: 35px;
    height: 35px;
    min-width: 35px;
    border-radius: 0px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px !important;
    transition: background-color 0.3s ease;
    line-height: 1;
}

.dark-mode-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dark-mode-toggle i,
.dark-mode-toggle span,
.dark-mode-toggle * {
    font-size: 16px !important;
}

/* Language switcher */
.language-switcher {
    display: flex;
    gap: 0.5rem;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50px;
}

.language-button {
    padding: 0.25rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--st-color-dark);
    cursor: pointer;
    font-size: 0.875rem;
}

.language-button.active {
    color: var(--st-color-principal);
    font-weight: 500;
}

/* Dark mode styles */
body.dark-mode {
    background: #181a1b;
    color: white;
}

/* Update nav layout */
.main-nav .container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
    flex-wrap: nowrap;
}

.nav-controls {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .search-input {
        width: 200px;
    }
}

@media (max-width: 1280px) {
    .main-nav .container {
        flex-wrap: wrap;
    }
    
    .search-container {
        order: 3;
        width: 100%;
        margin: 1rem 0 0;
    }
    
    .search-input {
        width: 100%;
    }
}

/* Weather box styles */
#section-weather {
    margin: 3rem 0;
}

#section-weather .container {
    margin: 0 auto;
}

/* Center text in buttons */
.font-size-button,
.dark-mode-toggle,
.language-button {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 35px;
    min-width: 35px;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .nav-menu ul {
        gap: 1rem;
    }
    
    .search-input {
        width: 200px;
    }
}

@media (max-width: 1200px) {
    .main-nav .container {
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }

    .nav-brand {
        width: 100%;
        text-align: center;
    }

    .brand-logo {
        margin: 0 auto;
    }

    .nav-menu {
        order: 3;
        width: 100%;
    }

    .nav-controls {
        order: 2;
    }
}

@media (max-width: 768px) {
    .nav-menu ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-controls {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .search-container {
        width: 100%;
        order: 1;
    }

    .search-input {
        width: 100%;
    }

    .accessibility-controls {
        order: 2;
    }

    .language-switcher {
        order: 3;
    }
}

@media (max-width: 1400px) {
    .nav-menu ul {
        gap: 0.75rem;
    }
    
    .nav-menu a {
        padding: 0.5rem 0.5rem;
    }
    
    .search-input {
        width: 200px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 1rem;
    }
    
    .main-nav .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .nav-brand {
        width: 100%;
        text-align: center;
        margin: 0 0 1rem 0;
    }

    .nav-menu {
        flex: 1;
        order: 2;
        width: auto;
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .nav-menu::-webkit-scrollbar {
        display: none;
    }

    .nav-menu ul {
        flex-wrap: nowrap;
        padding: 0.5rem 0;
    }

    .nav-controls {
        order: 3;
        flex-shrink: 0;
    }
}

/* Logo positioning */
.nav-brand {
    flex-shrink: 0;
    margin-right: auto;
    text-align: left;
}

/* Combine nav menu and controls */
.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-left: auto;
}

/* Update responsive styles */
@media (max-width: 1200px) {
    .nav-right {
        flex-wrap: wrap;
        justify-content: flex-end;
    }
}

/* Font size utility classes */
.font-size-small {
    font-size: 14px;
}

.font-size-normal {
    font-size: 16px;
}

.font-size-large {
    font-size: 18px;
}

/* Base font settings */
body {
    font-size: 16px; /* Default size */
    line-height: 1.5;
    transition: font-size 0.3s ease;
}

/* Make sure elements inherit font size */
.nav-menu a,
.search-input,
.font-size-button,
.language-button,
p,
span,
div {
    font-size: inherit;
}

/* Adjust specific elements that shouldn't scale with font size */
.brand-logo {
    height: 54px;
    width: auto;
}

/* You might want to keep some headings proportional */
h1 { font-size: 2.5em; }
h2 { font-size: 2em; }
h3 { font-size: 1.75em; }
h4 { font-size: 1.5em; }

/* Title Section */
.title-section {
    padding: 4rem 0;
    text-align: center;
    background: white;
}

.title-section__title {
    font-size: 7em;
    font-family: var(--st-font-titles);
    margin-bottom: 1rem;
    font-weight: 300;
    color: var(--st-color-principal);
    transition: color 0.3s ease;
}

.title-section__subtitle {
    font-size: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
    font-family: var(--st-font-principal-light);
    color: #666;
    line-height: 1.6;
}

/* Dark mode styles */
body.dark-mode .title-section {
    background: #181a1b;
}
/* 
body.dark-mode .title-section__title {
    color: white;
} */

body.dark-mode .title-section__subtitle {
    color: #ccc;
}

/* Update carousel text to inherit font size */
.split-carousel__title {
    font-size: 4em;
}

.split-carousel__subtitle {
    font-size: 1.5em;
}

/* Fade Animation */
.carousel-slide {
    visibility: hidden;
}

.carousel-slide.active {
    visibility: visible;
}

/* Optional: Add cross-fade effect */
.carousel-slide.fade-out {
    opacity: 100;
    transition: all 0.7s ease-in;
}

.carousel-slide.fade-in {
    opacity: 100;
    transition: all 0.7s ease-in;
}

/* Update carousel and content transition styles */

.hero-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Content transitions */
.split-carousel__title,
.split-carousel__subtitle,
.carousel-location {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.carousel-slide.active ~ .container .split-carousel__title,
.carousel-slide.active ~ .container .split-carousel__subtitle,
.carousel-slide.active .carousel-location {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger the content animations */
.split-carousel__title {
    transition-delay: 0.2s;
}

.split-carousel__subtitle {
    transition-delay: 0.3s;
}

.carousel-location {
    transition-delay: 0.4s;
}

/* Ensure the gradient overlay stays consistent */
.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

/* Ensure content is above the gradient */
.split-carousel__content {
    position: relative;
    z-index: 3;
}

/* Smooth dot transitions */
.dot {
    transition: background-color 0.3s ease-in-out;
}

/* Carousel core styles */
.cards-track {
    position: relative;
    margin-left: 1rem;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
    pointer-events: none;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 2;
}

/* Content styles and transitions */
.split-carousel__content {
    position: relative;
    z-index: 3;
}

.split-carousel__title,
.split-carousel__subtitle {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
}

.split-carousel__title.active,
.split-carousel__subtitle.active {
    opacity: 1;
    transform: translateY(0);
}

/* Location indicator */
.carousel-location {
    opacity: 0;
    transition: opacity 0.7s ease-in-out;
}

.carousel-slide.active .carousel-location {
    opacity: 1;
}

/* Background image and overlay */
.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.carousel-slide::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
                linear-gradient(to bottom, #0266fda1, transparent 100%);
    z-index: 1;
}

/* Ensure next slide is ready */
.carousel-slide:not(.active) {
    visibility: visible;
    opacity: 0;
}

/* Container positioning */
.split-carousel .container {
    position: relative;
    z-index: 3;
}

/* Navigation dots */
.carousel-dots {
    z-index: 4;
}

.dot {
    transition: background-color 0.3s ease-in-out;
}

/* Carousel Navigation Buttons */
.carousel-nav {
    position: absolute;
    top: 0;
    height: 100%;
    width: 120px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, background-color 0.3s ease;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-nav:hover {
    opacity: 1;
}

.carousel-nav--prev {
    left: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.3), transparent);
}

.carousel-nav--next {
    right: 0;
    background: linear-gradient(to left, rgba(0,0,0,0.3), transparent);
}

.carousel-nav__icon {
    color: white;
    font-size: 3rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Show buttons on hover */
.split-carousel:hover .carousel-nav {
    opacity: 0.7;
}

.carousel-nav:hover {
    opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .carousel-nav {
        width: 60px;
    }
    
    .carousel-nav__icon {
        font-size: 2rem;
    }
}

.dark-mode-toggle {
    font-size: 16px !important;
}

/* Mobile menu styles */
.mobile-menu-toggle,
.mobile-menu-panel {
    display: none;
}

@media (max-width: 1200px) {
    /* Hide desktop nav elements */
    .nav-right {
        display: none;
    }

    /* Show mobile menu toggle */
    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        cursor: pointer;
        padding: 10px;
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 1001;
    }

    /* Mobile Menu Panel */
    .mobile-menu-panel {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 400px;
        height: 100vh;
        background: #2C2E41;
        z-index: 1001;
        padding: 1rem 1.5rem;
        transition: right 0.2s ease-out;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 0.5rem;
    }

    .mobile-menu-panel.active {
        right: 0;
    }

    /* Hide menu toggle when panel is active */
    .mobile-menu-panel.active + .mobile-menu-toggle {
        display: none;
    }

    /* Close button */
    .mobile-menu-close {
        position: absolute;
        top: 1.5rem;
        right: 1rem;
        background: transparent;
        border: none;
        color: var(--st-color-light);
        font-size: 1.5rem;
        cursor: pointer;
        padding: 0.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Adjust navigation spacing */
    .mobile-nav {
        flex-shrink: 0;
        width: 100%;
    }

    .mobile-nav ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .mobile-nav li {
        margin: 0.25rem 0;
        text-align: left;
    }

    .mobile-nav a {
        color: var(--st-color-light);
        text-decoration: none;
        font-size: 1.1rem;
        padding: 0.15rem 0;
        display: block;
        transition: color 0.2s ease;
    }

    /* Search container - original vertical padding */
    .mobile-search .search-container {
        width: 100%;
        background: var(--st-color-light);
        border-radius: 25px;
        padding: 0.5rem 1rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .search-input::placeholder {
        color: black;
        font-weight: 400;

    }

    .mobile-search .search-input {
        background: transparent;
        border: none;
        color: var(--st-color-dark);
        width: 100%;
        padding-left: 0;
        text-align: left;
    }

    .mobile-search .search-button {
        background: transparent;
        border: none;
        color: black;
        font-size: 1.1rem;
        cursor: pointer;
        padding: 0.25rem;
    }

    /* Dividers - original style */
    .mobile-menu-divider {
        width: 100%;
        height: 1px;
        background: rgba(255,255,255,0.1);
        margin: 0.75rem 0;
    }

    /* Controls with reduced margins */
    .mobile-controls {
        margin: 0.75rem 0;
        flex-shrink: 0;
    }

    .mobile-controls .accessibility-controls,
    .mobile-controls .language-switcher {
        justify-content: flex-start;
        width: 100%;
        gap: 0.75rem;
    }

    /* Overlay - fixed width */
    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: calc(100% - 400px);
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.2s ease-out;
    }

    @media (max-width: 500px) {
        .mobile-menu-overlay {
            width: 20%;
        }
    }

    .mobile-menu-overlay.active {
        opacity: 1;
        visibility: visible;
    }
}

/* Update mobile-specific styles */
@media (max-width: 768px) {
    /* Header spacing for mobile */
    .main-header {
        height: var(--st-header-height-mobile);
        padding: var(--st-spacing-xs) 0;
    }

    .brand-logo {
        height: 40px;
    }

    /* Carousel adjustments for mobile */
    .split-carousel {
        height: calc(100vh - var(--st-header-height-mobile));
        min-height: 500px;
    }

    .split-carousel__content {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 1rem;
        height: 100%;
    }

    /* Mobile typography scaling */
    .split-carousel__title {
        font-size: var(--st-font-size-xl);
        margin-bottom: var(--st-spacing-sm);
        line-height: 1.2;
    }

    .split-carousel__subtitle {
        font-size: var(--st-font-size-base);
        line-height: 1.4;
        max-width: 90%;
        margin: 0 auto;
    }

    /* Mobile navigation dots */
    .carousel-dots {
        bottom: 1.5rem;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

    /* Mobile location indicator */
    .carousel-location {
        font-size: clamp(0.75rem, 3vw, 1rem);
        bottom: 1.5rem;
    }

    /* Mobile menu panel adjustments */
    .mobile-menu-panel {
        padding-top: var(--st-header-height-mobile);
    }

    .mobile-nav {
        margin-top: var(--st-spacing-md);
    }

    .mobile-nav a {
        font-size: var(--st-font-size-base);
        padding: var(--st-spacing-sm) 0;
    }

    /* Mobile search adjustments */
    .mobile-search {
        padding: 0 1rem;
    }

    .mobile-search .search-input {
        height: 45px;
        font-size: var(--st-font-size-sm);
    }

    /* Mobile controls spacing */
    .mobile-controls {
        padding: var(--st-spacing-md) var(--st-spacing-sm);
    }

    .accessibility-controls,
    .language-switcher {
        gap: 0.75rem;
    }

    .font-size-button,
    .dark-mode-toggle,
    .language-button {
        height: 40px;
        width: 40px;
        font-size: var(--st-font-size-sm);
    }
}

/* Additional small screen adjustments */
@media (max-width: 480px) {
    .split-carousel__title {
        font-size: var(--st-font-size-lg);
    }

    .split-carousel__subtitle {
        font-size: var(--st-font-size-sm);
    }

    .mobile-nav a {
        font-size: var(--st-font-size-base);
    }
}

/* Height adjustments for shorter screens */
@media (max-height: 600px) {
    .split-carousel {
        min-height: 450px;
    }

    .split-carousel__title {
        font-size: var(--st-font-size-lg);
    }

    .split-carousel__subtitle {
        font-size: var(--st-font-size-sm);
    }
}

/* Cards Section */
.cards-section {
    padding: var(--st-spacing-xl) 15%;
    text-align: center;
    position: relative;
}

.cards-carousel {
    position: relative;
    padding: 0 60px;
    margin: 2rem 0;
}

.cards-track {
    display: flex;
    gap: var(--st-spacing-md);
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

@media (min-width: 1920px) {
    .cards-card--simple:first-child {
        margin-left: 7.5vw;
    }
}
/* Base card styles */
.cards-card {
    min-width: 0; /* Prevents flex items from overflowing */
}

/* Card type specific widths */
.cards-card--default {
    width: 260px; /* Ancho más reducido */
    margin: 0 0.5rem; /* Espacio más pequeño entre cards */
}

.cards-card--large {
    flex: 0 0 400px;
}

.cards-card--simple {
    flex: 0 0 280px;
}

/* Navigation arrows */
.cards-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-color-principal);
    z-index: 2;
    font-size: 2rem;
}

.cards-nav--prev {
    left: 10px;
}

.cards-nav--next {
    right: 10px;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .cards-section {
        padding: var(--st-spacing-lg) 10%;
    }

    .cards-card--default,
    .cards-card--large,
    .cards-card--simple {
        flex: 0 0 calc(50% - var(--st-spacing-md));
    }
}

@media (max-width: 768px) {
    .cards-section {
        padding: var(--st-spacing-md) 5%;
    }

    .cards-carousel {
        padding: 0 35px;
    }

    .cards-nav {
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
    }

    .cards-card--default {
        flex: 0 0 calc(100% - 20px);
    }

    @media (max-width: 768px) {
        .cards-card--large{
            flex: 0 0 calc(100% - 64px);
            margin-left: 3.6vw;
        }
    }
    
    .cards-card--simple {
        flex: 0 0 240px;
    }

    .cards-card--simple .cards-image-wrapper {
        width: 180px;
        height: 240px;
        border-radius: 90px;
    }
}

/* Iframe Search */
.iframe-search {
    width: 100%;
    height: 100vh;
    overflow: scroll;
    border: none;
    border-top: 86px solid var(--st-color-principal);
}

.search-input {
    cursor: pointer;
}

/* Hide Google Translate's default widget */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-balloon-frame,
.goog-tooltip,
.goog-tooltip:hover {
    display: none !important;
}

.goog-text-highlight {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

body {
    top: 0 !important;
}

/* Hide the Google Translate widget but keep it functional */
.goog-te-gadget {
    height: 0;
    overflow: hidden;
    visibility: hidden;
}

/* Additional fixes for Google Translate UI */
.VIpgJd-ZVi9od-l4eHX-hSRGPd,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
    display: none !important;
}

/* Right image styles */
.split-carousel__right-image {
    position: relative;
    height: 100%;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
}

.split-carousel__right-image img {
    max-width: 100%;
    height: auto;
    max-height: 48vh;
    object-fit: contain;
}

/* Update grid layout when right image is present */
.split-carousel__grid {
    height: auto;
    display: grid;
    grid-template-columns: minmax(300px, 1fr) 1fr;
    position: relative;
    z-index: 2;
    gap: 2rem;
    align-items: center;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .split-carousel__grid {
        grid-template-columns: 1fr;
    }

    .split-carousel__right-image {
        min-height: 200px;
        margin-top: 2rem;
    }

    .split-carousel__right-image img {
        max-height: 50vh;
    }
}

/* Cards Section */
.cards-section {
    padding: var(--st-spacing-xl) 15%;
    text-align: center;
    background: rgba(2,102,253,.05);
    position: relative;
}

/* Responsive padding for cards section */
@media (max-width: 768px) {
    .cards-section {
        padding: var(--st-spacing-lg) 5%;
    }
}

.cards-carousel {
    position: relative;
    padding: 0 60px;
    display: flex;
    justify-content: center;
}

.cards-track {
    display: flex;
    gap: var(--st-spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 10px 0;
}

/* Hide scrollbar */
.cards-track::-webkit-scrollbar {
    display: none;
}

.cards-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-color-dark);
    transition: all 0.3s ease;
    z-index: 2;
    font-size: 2rem;
}

/* Responsive styles */
@media (max-width: 768px) {
    .cards-carousel {
        padding: 0 25px;
    }
    
    .cards-nav {
        width: 24px;
        height: 24px;
        font-size: 1.2rem;
    }
    
    .cards-track {
        gap: 10px;
    }
    
    .cards-card {
        flex: 0 0 calc(100% - 20px);
        margin-right: 10px;
    }
}

/* Card Styles */
.cards-card {
    flex: 0 0 300px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--st-color-light);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.dark-mode .cards-card {
    background: var(--st-color-dark);
    box-shadow: 0 2px 4px rgba(255,255,255,0.1);
}

/* Default Card Style */
.cards-card--default {
    display: flex;
    flex-direction: column;
}

.cards-card--default .cards-image-link {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.cards-card--default .cards-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.cards-card--default:hover .cards-image {
    transform: scale(1.05);
}

.cards-card--default .cards-content {
    padding: 1.5rem;
}

.cards-card--default .cards-title {
    color: var(--st-color-dark);
    margin: 0 0 1rem;
    font-size: 1.2rem;
}

.dark-mode .cards-card--default .cards-title {
    color: var(--st-color-light);
}

.cards-card--default .cards-description {
    color: #666;
    margin: 0 0 1rem;
}

.dark-mode .cards-card--default .cards-description {
    color: #aaa;
}

.cards-card--default .cards-duration {
    color: var(--st-color-principal);
    font-size: 0.9rem;
}

/* Large Card Style */
.cards-card--large {
    flex: 0 0 400px;
    position: relative;
}

.cards-card--large .cards-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px !important;
}

.cards-card--large .cards-content {
    padding: 2rem;
}

.cards-card--large .cards-title {
    color: var(--st-color-dark);
    margin: 0 0 0.5rem;
}

.dark-mode .cards-card--large .cards-title {
    color: var(--st-color-light);
}

.cards-card--large .cards-subtitle {
    margin: 0.5rem 0 1.5rem;
    color: #666;
}

.dark-mode .cards-card--large .cards-subtitle {
    color: #aaa;
}

.cards-button {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: transparent;
    color: var(--st-color-dark);
    text-decoration: none;
    border: 1px solid var(--st-color-dark);
    border-radius: 40px;
    transition: all 0.3s ease;
}

.dark-mode .cards-button {
    color: var(--st-color-light);
    border-color: var(--st-color-light);
}

.cards-button:hover {
    background: var(--st-color-dark);
    color: var(--st-color-light);
}

.dark-mode .cards-button:hover {
    background: var(--st-color-light);
    color: var(--st-color-dark);
}

/* Simple Card Style */
.cards-card--simple {
    text-align: center;
    padding: 1rem;
    background: transparent;
    box-shadow: none;
    flex: 0 0 280px;
}

.cards-card--simple .cards-image-wrapper {
    width: 240px;
    height: 320px;
    margin: 0 auto 1rem;
    border-radius: 120px;
    overflow: hidden;
    position: relative;
}

.cards-card--simple .cards-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cards-card--simple .cards-title {
    font-size: 1.2rem;
    margin: 1rem 0 0;
    color: var(--st-color-dark);
}

.dark-mode .cards-card--simple .cards-title {
    color: var(--st-color-light);
}

/* Section Styles */
.cards-section {
    padding: var(--st-spacing-xl) 15%;
    text-align: center;
}

.cards-section-title {
    color: var(--st-color-dark);
    margin-bottom: 1rem;
}

.dark-mode .cards-section-title {
    color: var(--st-color-light);
}

.cards-section-subtitle {
    color: #0a0a0a;
    margin-bottom: 2rem;
}

.dark-mode .cards-section-subtitle {
    color: #aaa;
}

/* Carousel Navigation */
.cards-carousel {
    position: relative;
    padding: 0 60px;
    margin: 2rem 0;
}

.cards-track {
    display: flex;
    gap: var(--st-spacing-md);
    align-items: center;
    overflow-x: hidden;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.cards-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--st-color-dark);
    z-index: 2;
    font-size: 2rem;
    transition: opacity 0.3s ease;
}

.dark-mode .cards-nav {
    color: var(--st-color-light);
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .cards-section {
        padding: var(--st-spacing-lg) 10%;
    }
}

@media (max-width: 768px) {
    .cards-section {
        padding: var(--st-spacing-md) 5%;
    }

    .cards-carousel {
        padding: 0 35px;
    }

    .cards-nav {
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
    }

    .cards-card--default,
    .cards-card--large {
        flex: 0 0 calc(100% - 20px);
    }

    .cards-card--simple {
        flex: 0 0 240px;
    }

    .cards-card--simple .cards-image-wrapper {
        width: 180px;
        height: 240px;
        border-radius: 90px;
    }
}

/* Card content alignment */
.cards-card--default .cards-content,
.cards-card--large .cards-content {
    padding: 1.25rem;
    text-align: left;
}

/* Duration tag style */
.cards-card--default .cards-duration {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: #f5f5f5;
    color: var(--st-color-dark);
    border-radius: 20px;
    font-size: 0.875rem;
    font-family: var(--st-font-principal-regular);
}

.dark-mode .cards-card--default .cards-duration {
    background: rgba(255,255,255,0.1);
    color: var(--st-color-light);
}

/* Large card specific alignments */
.cards-card--large .cards-title,
.cards-card--large .cards-subtitle {
    text-align: left;
}

.cards-card--large .cards-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Navigation arrows */
.cards-nav {
    color: var(--st-color-principal);
}

/* Maintain left alignment in responsive */
@media (max-width: 768px) {
    .cards-card--default .cards-content,
    .cards-card--large .cards-content {
        padding: 1rem;
        text-align: left;
    }
    
    .cards-card--large .cards-title,
    .cards-card--large .cards-subtitle {
        text-align: left;
    }
}

/* Cards Section background */
.cards-section {
    padding: var(--st-spacing-xl) 15%;
    text-align: center;
    position: relative;
}

.cards-section[style*="background: #fff"] {
    background: #fff !important;
}

.dark-mode .cards-section[style*="background: #fff"] {
    background: #1a1a1a !important;
}

.cards-section[style*="background: rgba(2,102,253,.05)"] {
    background: rgba(2,102,253,.05) !important;
}

.dark-mode .cards-section[style*="background: rgba(2,102,253,.05)"] {
    background: rgba(2,102,253,.02) !important;
}
.dark-mode .cards-card.cards-card--simple {
    background: transparent;
    box-shadow: none;
}

/* Mobile Menu Panel */
.mobile-menu-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: #2C2E41;
    z-index: 1001;
    padding: 1rem 1.5rem;
    transition: right 0.2s ease-out;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.6rem;
}

/* Navigation items */
.mobile-nav li {
    margin: 0.25rem 0;
}

.mobile-nav a {
    color: var(--st-color-light);
    text-decoration: none;
    font-size: 1.1rem;
    padding: 0.15rem 0;
    display: block;
    transition: color 0.2s ease;
}

/* Search container - reduced vertical space */
.mobile-search .search-container {
    width: 100%;
    background: var(--st-color-light);
    border-radius: 25px;
    padding: 0.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.search-input::placeholder {
    color: black;
    font-weight: 400;
}

.mobile-search .search-input {
    background: transparent;
    border: none;
    color: var(--st-color-dark);
    width: 100%;
    padding-left: 0;
    text-align: left;
}

.mobile-search .search-button {
    background: transparent;
    border: none;
    color: black;
    font-size: 1.1rem;
    cursor: pointer;
    padding: 0.25rem;
}

/* Dividers - white color */
.mobile-menu-divider {
    width: 100%;
    height: 1px;
    background: white;
    margin: 0.75rem 0;
}

/* Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: calc(100% - 400px);
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease-out;
}

@media (max-width: 500px) {
    .mobile-menu-overlay {
        width: 20%;
    }
}

/* Single slide specific styles */
.carousel-container.single-slide .carousel-track {
    transform: none !important; /* Prevent any transforms */
}

.carousel-container.single-slide .carousel-slide {
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

.carousel-container.single-slide .carousel-slide img {
    opacity: 1 !important;
    visibility: visible !important;
}

.routes-section {
    padding: var(--st-spacing-xl) 0;
    margin: 0 30%;
}

.routes-section__title {
    text-align: center;
    color: var(--st-color-dark);
    margin-bottom: 1rem;
}

.routes-section__subtitle {
    text-align: center;
    color: black;
    max-width: 800px;
    margin: 0 auto 3rem;
}

.routes-section__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--st-spacing-xl);
    align-items: center;
}

.routes-section__image {
    width: 15vw;
    overflow: hidden;
    border-radius: 8px;
}

.routes-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.routes-section__list {
    padding: 2rem;
}

.routes-section__list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.routes-section__list li {
    margin: 1rem 0;
    font-size: 1.1rem;
    color: var(--st-color-dark);
}

.routes-section__list a {
    color: var(--st-color-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

.routes-section__list a:hover {
    color: var(--st-color-principal);
}

/* Dark mode support */
.dark-mode .routes-section__title,
.dark-mode .routes-section__list li,
.dark-mode .routes-section__list a {
    color: var(--st-color-light);
}

/* Responsive design */
@media (max-width: 768px) {
    .routes-section__content {
        grid-template-columns: 1fr;
        gap: var(--st-spacing-lg);
    }

    .routes-section__image {
        height: 300px;
    }

    .routes-section__list {
        padding: 1rem;
    }
}

/* Add new thin oval style */
.cards-card--thin {
    flex: 0 0 200px; /* Thinner width */
    text-align: center;
    padding: 1rem;
    margin-left: 1.6rem;
    background: transparent;
    box-shadow: none;
}

.cards-card--thin:first-child {
    margin-left: 0;
}

.cards-card--thin .cards-image-wrapper {
    width: 160px; /* Thinner width */
    height: 320px; /* Keep same height as simple oval */
    margin: 0 auto 1rem;
    overflow: hidden;
    position: relative;
}

.cards-card--thin .cards-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 80px; /* Half of width */
}

.cards-card--thin .cards-title {
    font-size: 1.2rem;
    margin: 1rem 0 0;
    color: var(--st-color-dark);
}

.dark-mode .cards-card--thin .cards-title {
    color: var(--st-color-light);
}

/* Update responsive styles */
@media (max-width: 768px) {
    .cards-section {
        padding: var(--st-spacing-md) 5%;
    }

    .cards-carousel {
        padding: 0 35px;
    }

    .cards-nav {
        width: 30px;
        height: 30px;
        font-size: 1.5rem;
    }

    /* Make oval and thin oval cards stretch on mobile */
    .cards-card--simple,
    .cards-card--thin {
        flex: 0 0 calc(100% - 20px);
        max-width: 280px; /* Maximum width for better appearance */
        margin: 0 auto;
    }

    /* Adjust image wrapper sizes for oval styles */
    .cards-card--simple .cards-image-wrapper,
    .cards-card--thin .cards-image-wrapper {
        width: 100%;
        max-width: 240px; /* Maximum width for images */
        height: 240px; /* Reduced height for mobile */
        border-radius: 120px;
        margin: 0 auto;
    }

    /* Ensure images maintain cover behavior */
    .cards-card--simple .cards-image,
    .cards-card--thin .cards-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 120px;
    }
}

/* Additional adjustments for very small screens */
@media (max-width: 480px) {
    .cards-card--simple .cards-image-wrapper,
    .cards-card--thin .cards-image-wrapper {
        max-width: 280px; /* Slightly smaller on very small screens */
        height: 200px; /* Even shorter for very small screens */
    }
}

/* Guide Navigation */
.guide-navigation {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.guide-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

.guide-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.guide-card__image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.guide-pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

/* Guide Navigation */
.guide-navigation {
    padding: var(--st-spacing-xl) 15%;
}

.guide-filters {
    margin-bottom: 2rem;
}

.guide-filters__buttons {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--st-color-principal);
    background: transparent;
    color: var(--st-color-principal);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--st-color-principal);
    color: white;
}

.guide-filters__type {
    padding: 0.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 1rem;
    width: 200px;
}

.guide-filters__count {
    color: #666;
    font-size: 0.9rem;
}

/* Guide Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.guide-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.guide-card__image {
    position: relative;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.guide-card__image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Pagination */
.guide-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
}

.page-btn.active {
    background: var(--st-color-principal);
    color: white;
    border-radius: 50%;
}

/* Dark Mode Styles */
.dark-mode .guide-filters__type {
    background: #2c2c2c;
    border-color: #444;
    color: white;
}

.dark-mode .guide-filters__count {
    color: #aaa;
}

.dark-mode .guide-card {
    background: #2c2c2c;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .guide-navigation {
        padding: var(--st-spacing-xl) 10%;
    }
}

@media (max-width: 1200px) {
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .guide-navigation {
        padding: var(--st-spacing-xl) 5%;
    }
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .guide-filters {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .guide-filters__buttons {
        width: 100%;
        justify-content: center;
    }
    
    .guide-filters__type {
        width: 100%;
        margin: 0;
    }
    
    .guide-filters__count {
        width: 100%;
        text-align: center;
        margin: 1rem 0 0;
    }

    .guide-filters__traveler {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .guide-grid {
        grid-template-columns: 1fr;
    }
}

/* Guide Navigation Container */
.guide-navigation {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Section Title */
.guide-navigation__title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 2.5rem;
    color: var(--st-color-dark);
}

/* Traveler Type Section */
.guide-filters__traveler {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.guide-filters__label {
    color: black;
    font-size: 1rem;
    font-weight: 400;
}

.guide-filters__buttons {
    display: flex;
    gap: 0.5rem;
}

/* Filter Row */
.guide-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.guide-filters__count {
    color: #666;
    font-size: 0.9rem;
}

.guide-filters__type {
    width: 180px;
    padding: 0.5rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: white;
}

/* Filter Buttons */
.filter-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    border: none;
    background: transparent;
    color: #666;
    font-size: 0.9rem;
    cursor: pointer;
}

.filter-btn.active {
    background: #212529;
    color: white;
}

/* Guide Grid */
.guide-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

/* Guide Card - Fixed size without cropping */
.guide-card {
    width: 100%;
}

.guide-card__link {
    display: block;
    width: 100%;
}

.guide-card__link img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Pagination */
.guide-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.page-numbers {
    display: flex;
    gap: 0.5rem;
}

.page-btn {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
}

.page-btn.active {
    background: #00C853;
    color: white;
    border-radius: 50%;
}

.page-btn--first,
.page-btn--last {
    font-size: 1rem;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Keep the language switcher styles */
.language-switcher {
    display: flex;
    gap: 0.5rem;
}

.language-button {
    padding: 0.25rem 0.5rem;
    border: none;
    background: transparent;
    color: #2c2c2c;
    cursor: pointer;
    font-size: 0.875rem;
}

.language-button.active {
    color: var(--st-color-principal);
    font-weight: 500;
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--st-color-principal);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Routes Details Styles */
.routes-details__content {
    display: flex;
    align-items: center;
    justify-content: center; /* Distribuir el espacio */
    position: relative; /* Para el posicionamiento del contenido */
    margin: 5rem 0;
}

.routes-details__map {
    width: 480px;
    position: sticky; /* Mantener el mapa en su lugar */
    top: 2rem;
    margin-right: 8rem;
}

.routes-details__map img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

.routes-details__info {
    flex: 1;
    max-width: 38vw;
}

/* Asegurar que los dropdowns no se sobrepongan */
.detail-content {
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.routes-details__title {
    font-size: 2.2rem;
    color: #000;
    margin-bottom: 3rem;
}

.detail-section {
    margin-bottom: 0;
}

.detail-toggle {
    width: 100%;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: 1px solid #dee2e6;
    border-top: none;
    cursor: pointer;
    transition: background-color 0.3s;
    color: #333;
    font-family: var(--st-font-principal-regular);
    font-size: 1.3rem;
    font-weight: normal;
    border-radius: 0;
}

/* Aplicar borde superior y radius al primer toggle */
.detail-section:first-child .detail-toggle {
    border-top: 1px solid #dee2e6;
    border-radius: 8px 8px 0 0;
}

/* Si es el único o último toggle */
.detail-section:last-child .detail-toggle {
    border-radius: 0 0 8px 8px;
}

/* Si es el único toggle (primer y último a la vez) */
.detail-section:first-child:last-child .detail-toggle {
    border-radius: 8px;
}

.detail-toggle.active {
    background: #DAE1EB;
    color: #333;
}

.detail-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, border-color 0.3s ease;
    background: white;
    color: #000;
    border: 1px solid transparent;
    padding: 0;
    border-top: none;
}

.detail-content.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in, border-color 0.3s ease;
    border-color: #dee2e6;
}

/* Mantener el borde inferior visible para el último elemento */
.detail-section:last-child .detail-content {
    border-radius: 0 0 8px 8px;
}

.detail-section:last-child .detail-toggle.active {
    border-radius: 0;
}

/* Si es el único elemento, asegurar bordes y radius correctos */
.detail-section:first-child:last-child .detail-content.active {
    border-radius: 0 0 8px 8px;
}

.detail-content__inner {
    font-size: 1rem;
    line-height: 1.6;
    margin: 1.5rem;
    max-width: 100%;
}

.detail-map {
    margin: 0 1.5rem 1.5rem;
width: auto;
display: block;
}

.detail-map iframe {
    width: 100%;
    height: 240px; /* Altura más reducida */
    border: 0;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Gallery style for cards carousel */
.cards-card--gallery {
    flex: 0 0 280px;
    height: 200px;
    margin: 0 0.5rem;
    overflow: hidden;
    border-radius: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.cards-card--gallery .cards-image-link {
    display: block;
    width: 100%;
    height: 100%;
}

.cards-card--gallery .cards-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Adjust carousel navigation for gallery style */
.cards-section[style*="gallery"] .cards-nav {
    top: 50%;
    transform: translateY(-50%);
}

/* Routes Details Styles - Map adjustments */
.routes-details .detail-map {
    margin: 0 1.5rem 1.5rem;
width: auto;
display: block;
}

/* Contenedor del contenido */
.routes-details .detail-content__inner {
    font-size: 1rem;
    line-height: 1.6;
    margin: 1.5rem;
    max-width: 100%;
}

.routes-details__map img {
    width: 100%;
    height: auto;
}

/* Ajustar el contenedor principal para el nuevo tamaño */
.routes-details__content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    justify-content: center; /* Ayuda a centrar cuando el contenido es más pequeño */
}

.routes-details__info {
    flex: 1;
}

.detail-toggle-icon{
    color: #2b2b2b;
    font-weight: 300;
}

/* Dark Mode Styles */
.dark-mode .routes-details__title {
    color: var(--st-color-light);
}

.dark-mode .detail-toggle {
    background: #2c2c2c;
    border-color: #444;
    color: var(--st-color-light);
}

.dark-mode .detail-toggle.active {
    background: #363636;
}

.dark-mode .detail-content {
    background: #2c2c2c;
    color: var(--st-color-light);
    border-color: transparent;
}

.dark-mode .detail-content.active {
    border-color: #444;
}

.dark-mode .detail-toggle-icon {
    color: var(--st-color-light);
}

.dark-mode .detail-section:first-child .detail-toggle {
    border-top: 1px solid #444;
}



@media (max-width: 992px) {
    .routes-details__content {
        flex-direction: column;
        align-items: center;
    }

    .routes-details__map {
        position: relative;
        top: 0;
        width: 100%;
        max-width: 500px;
        margin-bottom: 2rem;
        margin-right: 0;
    }

    .routes-details__info {
        width: 100%;
        max-width: 100%;
    }

    .detail-toggle {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .routes-details__title {
        font-size: 1.5rem;
    }

    .detail-toggle {
        padding: 0.75rem;
        font-size: 1rem;
    }

    .detail-content__inner {
        margin: 1rem;
    }

    .detail-map {
        width: 100% !important;
        margin: 1rem 0;
    }

    .detail-map iframe {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .routes-details__title {
        font-size: 1.25rem;
    }

    .detail-toggle {
        padding: 0.5rem;
    }

    .detail-map iframe {
        height: 180px;
    }
}


/* Nav Header Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 0.255em;
    vertical-align: middle;
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    min-width: 200px;
    padding: 0.5rem 0;
    background-color: white;
    border-radius: 4px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    display: flex;
    flex-direction: column;  /* Forzar alineación vertical */
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.5rem 1rem;
    color: var(--st-color-dark);  /* Color oscuro para desktop */
}

/* Desktop hover behavior */
@media (min-width: 992px) {
    .dropdown:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile styles */
@media (max-width: 991px) {
    .mobile-menu-panel .dropdown-menu {
        position: static;
        box-shadow: none;
        background: transparent;
        padding-left: 1rem;
        visibility: visible;
        opacity: 1;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .mobile-menu-panel .dropdown.active .dropdown-menu {
        max-height: 500px;
        transition: max-height 0.3s ease-in;
    }

    .mobile-menu-panel .dropdown-menu li a {
        color: white;  /* Color blanco solo para mobile */
    }
}

/* Ajustar el ancho de la card individual predeterminada */
.cards-track .cards-card--default {
    flex: 0 0 272px;
    margin: 0 0.25rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

/* Estilos para el cambio de posición de la imagen */
.routes-section__content {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.routes-section__content--reverse {
    flex-direction: row-reverse;
}

/* Dark Mode Styles */
.dark-mode .guide-navigation__title {
    color: var(--st-color-light);
}

.dark-mode .guide-filters__label {
    color: var(--st-color-light);
}

.dark-mode .filter-btn {
    color: var(--st-color-light);
    border-color: var(--st-color-light);
}

.dark-mode .filter-btn.active {
    background: var(--st-color-light);
    color: var(--st-color-dark);
}

.dark-mode .guide-filters__type {
    background: #2c2c2c;
    border-color: #444;
    color: var(--st-color-light);
}

.dark-mode .guide-filters__count {
    color: #aaa;
}

.dark-mode .guide-card {
    background: #2c2c2c;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.dark-mode .page-btn {
    color: var(--st-color-light);
}

.dark-mode .page-btn.active {
    background: var(--st-color-principal);
}

.dark-mode .page-btn:disabled {
    color: #666;
}

/* Improved Responsive Styles */
@media (max-width: 1400px) {
    .guide-navigation {
        padding: var(--st-spacing-xl) 8%;
    }
    
    .guide-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .guide-navigation {
        padding: var(--st-spacing-lg) 5%;
    }
    
    .guide-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .guide-navigation__title {
        font-size: 1.4rem;
    }
}

@media (max-width: 992px) {
    .guide-navigation {
        padding: var(--st-spacing-md) 4%;
    }
    
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }
    
    .guide-filters__traveler {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .guide-filters__buttons {
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .guide-navigation {
        padding: var(--st-spacing-sm) 3%;
    }
    
    .guide-filters {
        flex-direction: column;
        gap: 1rem;
    }
    
    .guide-filters__buttons {
        width: 100%;
        justify-content: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }
    
    .filter-btn {
        padding: 0.4rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .guide-filters__type {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .guide-card__link img {
        border-radius: 8px;
    }
    
    .guide-navigation__title {
        font-size: 1.3rem;
        margin-bottom: 2rem;
    }
    
    .page-numbers {
        gap: 0.25rem;
    }
    
    .page-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .guide-navigation {
        padding: var(--st-spacing-xs) 1rem;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .guide-filters__buttons {
        flex-direction: column;
        width: 100%;
        max-width: 200px;
        margin: 0 auto;
    }
    
    .filter-btn {
        width: 100%;
        text-align: center;
        padding: 0.5rem;
    }
    
    .guide-navigation__title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .guide-filters__label {
        font-size: 0.9rem;
    }
    
    .guide-filters__count {
        font-size: 0.8rem;
    }
    
    .page-numbers {
        display: none; /* Hide page numbers on mobile, keep only prev/next */
    }
    
    .page-btn--first,
    .page-btn--last {
        display: flex; /* Keep first/last navigation visible */
    }
}

/* Hover Effects */
@media (hover: hover) {
    .filter-btn:hover {
        background: rgba(var(--st-color-principal-rgb), 0.1);
    }
    
    .guide-card:hover {
        transform: translateY(-2px);
        transition: transform 0.3s ease;
    }
    
    .page-btn:not(.active):not(:disabled):hover {
        background: rgba(var(--st-color-principal-rgb), 0.1);
    }
}

/* Ajustes para vista móvil */
@media (max-width: 768px) {
    .guide-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
        grid-template-rows: repeat(2, 1fr);    /* 2 filas */
        gap: 1rem;
        margin: 1rem 0;
    }

    .guide-card {
        width: 100%;
        height: 100%;
    }

    .guide-card__link {
        display: block;
        width: 100%;
        height: 100%;
    }

    .guide-card__link img {
        width: 100%;
        height: auto; /* Mantener proporción original */
        object-fit: contain; /* No recortar la imagen */
        border-radius: 8px;
    }
}

@media (max-width: 480px) {
    .guide-grid {
        gap: 0.75rem;
    }
}

/* Estilos para el contenido del richeditor */
.detail-content__inner h6 {
    font-family: var(--st-font-principal-bold);
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--st-color-dark);
}

.detail-content__inner ul {
    margin: 0 0 1.5rem 1.5rem; /* Espacio izquierdo y entre secciones */
}

.detail-content__inner li {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    color: var(--st-color-text);
}

/* Dark mode */
.dark-mode .detail-content__inner h6 {
    color: var(--st-color-light);
}

.dark-mode .detail-content__inner li {
    color: var(--st-color-light);
}

/* Gallery Viewer Styles */
.gallery-viewer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-viewer.active {
    display: flex;
    opacity: 1;
}

.gallery-viewer__content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-viewer__image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
}

.gallery-viewer__close,
.gallery-viewer__prev,
.gallery-viewer__next {
    position: absolute;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    padding: 1rem;
    z-index: 2;
}

.gallery-viewer__close {
    top: 1rem;
    right: 1rem;
}

.gallery-viewer__prev {
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-viewer__next {
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive */
@media (max-width: 768px) {
    .gallery-viewer__image {
        max-width: 95%;
    }

    .gallery-viewer__close,
    .gallery-viewer__prev,
    .gallery-viewer__next {
        font-size: 1.5rem;
    }
}

/* Gallery Cards Styles */
.cards-card--gallery {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.cards-card--gallery .cards-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Hover effects */
.cards-card--gallery:hover {
    transform: none !important; /* Forzar que no haya transformación */
}

.cards-card--gallery:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

/* Añadir el icono como un elemento separado para mejor control */
.cards-card--gallery:hover .fa-magnifying-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2rem;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

/* Ajustar el posicionamiento del viewer y sus elementos */
.gallery-viewer__content {
    position: relative;
    width: 100%;
    height: 100vh; /* Usar viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-viewer__image {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.gallery-viewer__prev,
.gallery-viewer__next {
    position: fixed; /* Cambiar a fixed para mejor posicionamiento */
    top: 50%;
    transform: translateY(-50%);
    height: auto; /* Remover altura completa */
    padding: 2rem;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-viewer__prev {
    left: 0;
}

.gallery-viewer__next {
    right: 0;
}

/* Ajustar posición de flechas según tamaño de imagen */
.gallery-viewer__prev,
.gallery-viewer__next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    padding: 1.5rem;
    background: rgba(0,0,0,0.3);
    border-radius: 50%; /* Hacer botones circulares */
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajustar posición de flechas cuando la imagen es pequeña */
@media (max-width: 1200px) {
    .gallery-viewer__prev { left: max(20px, 5%); }
    .gallery-viewer__next { right: max(20px, 5%); }
}

/* Prevenir loop de hover */
.cards-card--gallery {
    pointer-events: none; /* Deshabilitar eventos en el contenedor */
}

.cards-card--gallery > * {
    pointer-events: auto; /* Rehabilitar eventos en los elementos internos */
}

/* Ajustes responsive para móvil */
@media (max-width: 768px) {
    .gallery-viewer__content {
        touch-action: pan-x; /* Habilitar deslizamiento horizontal */
    }
    
    .gallery-viewer__prev,
    .gallery-viewer__next {
        width: 2.5rem;
        height: 2.5rem;
        padding: 1rem;
    }
}

/* Solo ajustar el margen de las flechas */
.gallery-viewer__prev { 
    left: 50%;
    margin-left: -45%; /* Usar margen negativo para posicionar */
}

.gallery-viewer__next { 
    right: 50%;
    margin-right: -45%; /* Usar margen negativo para posicionar */
}

/* Asegurar que la animación solo afecte a la imagen actual */
.gallery-viewer__image {
    position: absolute;
    transition: transform 0.3s ease;
    will-change: transform;
}

/* Ajustar el hover para que solo afecte a la imagen dentro del contenedor */
.cards-card--gallery {
    overflow: hidden; /* Contener el zoom dentro del card */
}

.cards-card--gallery:hover {
    transform: none; /* Remover cualquier transformación del contenedor */
}

.cards-card--gallery .cards-image {
    transform-origin: center; /* Asegurar que el zoom sea desde el centro */
    transition: transform 0.3s ease;
}

.cards-card--gallery:hover .cards-image {
    transform: scale(1.1); /* Zoom solo en la imagen */
}


.cards-card--gallery {
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
}

.cards-card--gallery:hover {
    transform: none !important;
}

.cards-card--gallery .cards-image {
    transform-origin: center;
    transition: transform 0.3s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.cards-card--gallery:hover .cards-image {
    transform: scale(1.1) translateZ(0);
}


/* Asegurar que cada card mantenga su posición */
.cards-card--gallery {
    transform: translateZ(0);
    z-index: 1;
}

/* Mantener el tamaño del contenedor fijo */
.cards-card--gallery {
    position: relative;
    overflow: hidden;
    transform: translateZ(0);
    will-change: transform;
    width: 272px;
    flex: 0 0 272px !important;
}

.cards-card--gallery:hover {
    transform: none !important;
    width: 272px;
    flex: 0 0 272px !important;
}

.cards-card--gallery .cards-image {
    transform-origin: center;
    transition: all 0.3s ease;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cards-card--gallery:hover .cards-image {
    transform: scale(1.1) translateZ(0);
}

.cards-card--gallery:hover::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0) 0%, rgba(0,0,0,0.25) 90%);
    pointer-events: none;
}

/* Ajustes para vista móvil */
@media (max-width: 768px) {
    .guide-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* 2 columnas */
        grid-template-rows: repeat(2, 1fr);    /* 2 filas */
        gap: 1rem;
        margin: 1rem 0;
    }

    .guide-card {
        width: 100%;
        height: 100%;
    }

    .guide-card__link {
        display: block;
        width: 100%;
        height: 100%;
    }

    .guide-card__link img {
        width: 100%;
        height: auto; /* Mantener proporción original */
        object-fit: contain; /* No recortar la imagen */
        border-radius: 8px;
    }
}

.routes-details--experience {
    display: flex;
    justify-content: center;
}

.routes-details--experience .routes-details__header {
    flex: 0 0 30%;
}

.routes-details--experience .routes-details__content {
    flex: 1;
}

.routes-details--experience .routes-details__sections {
    width: 50vw;
    }

    .routes-details--experience .routes-details__title-group {
        width: 30vw;
        position: sticky;
        top: 2rem;
        align-self: flex-start;
        }

    .routes-details--experience .routes-details__text {
        max-width: 30vw;
    }

@media (min-width: 1024px) {
.routes-details--experience .routes-details__sections {
    width: 30vw;
    }
}

@media (max-width: 768px) {
    .routes-details--experience {
        flex-direction: column;
        gap: var(--st-spacing-md);
        justify-content: center;
    }
}

.routes-details--experience .routes-details__content {
    display: flex;
    gap: 4rem;
    color: var(--st-color-dark);
}

.routes-details--experience .routes-details__title {
    flex: 0 0 30%;
    position: sticky;
    top: 2rem;
    }


.routes-details--experience .routes-details__text {
    flex: 1;
    width: 50vw;
    overflow-wrap: break-word;
}

.dark-mode .routes-details__text {
    color: white;
}

.dark-mode .cards-card--thin {
    background-color: transparent;
    box-shadow: none;
}

@media (max-width: 768px) {
    .routes-details--experience .routes-details__content {
        flex-direction: column;
        gap: 2rem;
    }

    .routes-details--experience .routes-details__title {
        position: static;
        width: 100%;
    }
}

.cards-card--large.no-button {
    box-shadow: none;
    background-color: transparent;
}

.dropdown-divider {
    height: 1px;
    margin: 0.5rem 0;
    background-color: var(--st-color-border);
}

.dark-mode .dropdown-divider {
    background-color: var(--st-color-border-dark);
}

.nav-menu--todo ul {
    display: flex;
    gap: 0;
}

/* Estilos para el iframe de servicios */
.services-iframe {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.services-iframe__frame {
    width: 100%;
    height: 100%;
    border: 0;
    border-top: 9vh solid var(--st-color-principal);
}

@media (max-width: 1280px) {
    .services-iframe__frame {
        border-top: 10vh solid var(--st-color-principal);
    }
}


.cards-duration{
        text-decoration: none;
}

.cards-duration:hover {
    background-color: var(--st-color-principal);
    color: white;
    transition: all 0.2s;
    cursor:pointer;
}

.dark-mode .cards-duration:hover{
        background-color: var(--st-color-principal);
    color: white;
    transition: all 0.2s;
    cursor:pointer;
}

.cards-card--large .cards-image { 
    border-radius: 10px !important;
}
