/* Estilos para Vive Latino - Diseño Premium Mejorado */

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

:root {
    /* Colores Corporativos */
    --azul-ultramar: #0A497B;
    --rojo-bermellon: #E7332C;
    --naranja-vivo: #FF621F;
    
    /* Colores Primarios y Secundarios */
    --primary-color: #FF621F; /* Naranja Vivo para botones */
    --primary-dark: #E7332C; /* Rojo Bermellón para hover */
    --primary-light: #FF8C5A;
    --secondary-color: #0A497B; /* Azul Ultramar para títulos */
    --accent-color: #E7332C; /* Rojo Bermellón para resaltar */
    --success-color: #27ae60;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --border-color: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #FF621F 0%, #FF8C5A 100%);
    --gradient-header: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 73, 123, 0.3) 0%, rgba(10, 73, 123, 0.6) 100%);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    background: var(--bg-white);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Header Moderno y Limpio */
.main-header {
    background: var(--bg-white);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.main-header.scrolled {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Navbar principal */
.main-header .navbar {
    padding: 1.25rem 0;
    background: transparent;
}

.main-header .navbar .container {
    background: transparent;
}

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    border-radius: 12px;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar-brand:hover .logo-wrapper {
    transform: translateY(-2px);
}

.brand-content {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.brand-tagline {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    line-height: 1.4;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar-brand:hover .brand-tagline {
    color: var(--primary-color);
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.navbar-brand::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.1), transparent);
    transition: left 0.5s ease;
}

.navbar-brand:hover::before {
    left: 100%;
}

.navbar-brand:hover {
    transform: translateY(-2px);
    background: rgba(255, 107, 53, 0.05);
}

.logo-img {
    height: 80px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.brand-text {
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-dark);
    position: relative;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    line-height: 1.2;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.navbar-brand:hover .brand-text {
    color: var(--primary-color);
}

.brand-text::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #e55a2b);
    border-radius: 2px;
    transition: width 0.4s ease;
}

.navbar-brand:hover .brand-text::after {
    width: 100%;
}

.navbar-brand:hover .brand-text {
    background: linear-gradient(135deg, #e55a2b 0%, var(--primary-color) 50%, #ff7d4d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-toggler {
    border: 1px solid var(--border-color);
    padding: 0.4rem 0.6rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar-toggler:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--primary-color);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 107, 53, 0.25);
}

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

/* Navegación */
.navbar-nav {
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.navbar-nav .nav-item {
    position: relative;
    margin: 0.25rem 0;
}

.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.6rem 1.5rem !important;
    margin: 0 0.25rem;
    position: relative;
    transition: all 0.3s ease;
    border-radius: 8px;
    text-transform: none;
    letter-spacing: 0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 80%;
}

.navbar-nav .nav-link span {
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.08);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
    background: rgba(255, 107, 53, 0.1);
    font-weight: 700;
}

/* Header custom text */
.header-custom-text {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 107, 53, 0.02) 100%);
    padding: 0.75rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

/* Hero Slider - Limpio y Moderno */
.hero-slider {
    position: relative;
    margin-bottom: 4rem;
    overflow: hidden;
}

/* Banner Promocional - Estilo Moderno y Elegante */
.promotional-banner-section {
    background: var(--bg-white);
    position: relative;
    overflow: hidden;
    padding: 4rem 0;
}

.promotional-banner {
    background: var(--bg-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: stretch;
    gap: 0;
    position: relative;
    border: 1px solid var(--border-color);
    transition: all 0.4s ease;
    max-width: 1200px;
    margin: 0 auto;
}

.promotional-banner:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
    border-color: var(--primary-color);
}

.promotional-banner-image {
    flex: 0 0 45%;
    max-width: 45%;
    min-height: 350px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.promotional-banner-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.1) 100%);
    pointer-events: none;
}

.promotional-banner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.promotional-banner:hover .promotional-banner-image img {
    transform: scale(1.08);
}

.promotional-banner-content {
    flex: 1;
    padding: 3.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.promotional-banner-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 1.25rem;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.promotional-banner-text {
    font-size: 1.15rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    font-weight: 400;
}

.btn-promotional {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    background: var(--gradient-primary);
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    border: none;
    align-self: flex-start;
    position: relative;
    overflow: hidden;
}

.btn-promotional::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-promotional:hover::before {
    width: 400px;
    height: 400px;
}

.btn-promotional:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(135deg, #ff7d4d 0%, var(--primary-color) 100%);
    color: #ffffff;
}

.btn-promotional i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-promotional span {
    position: relative;
    z-index: 1;
}

.btn-promotional:hover i {
    transform: translateX(5px);
}

/* Responsive para Banner Promocional */
@media (max-width: 992px) {
    .promotional-banner-section {
        padding: 3rem 0;
    }
    
    .promotional-banner {
        flex-direction: column;
    }
    
    .promotional-banner-image {
        flex: 1;
        max-width: 100%;
        width: 100%;
        min-height: 250px;
        height: 250px;
    }
    
    .promotional-banner-content {
        padding: 2.5rem;
    }
    
    .promotional-banner-title {
        font-size: 1.9rem;
    }
    
    .promotional-banner-text {
        font-size: 1.05rem;
    }
}

@media (max-width: 768px) {
    .promotional-banner-section {
        padding: 2rem 0;
    }
    
    .promotional-banner-content {
        padding: 2rem;
    }
    
    .promotional-banner-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .promotional-banner-text {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        line-height: 1.7;
    }
    
    .btn-promotional {
        width: 100%;
        justify-content: center;
        padding: 0.9rem 2rem;
        align-self: stretch;
    }
    
    .promotional-banner-image {
        min-height: 200px;
        height: 200px;
    }
}

.carousel-item {
    position: relative;
}

.carousel-item img {
    height: 550px;
    object-fit: cover;
    width: 100%;
    filter: brightness(1);
    transition: transform 0.6s ease;
}

.carousel-item:hover img {
    transform: scale(1.02);
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 3rem 4rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    animation: fadeInUp 0.8s ease-out;
    max-width: 600px;
    margin: 0 auto;
}

/* Ajustar capa de fondo del hero para mejor visibilidad */
.hero-slider .carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(10, 73, 123, 0.2) 0%, rgba(10, 73, 123, 0.4) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-slider .carousel-item img {
    position: relative;
    z-index: 0;
}

.carousel-caption h2 {
    color: var(--text-dark);
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.6;
}

.carousel-caption .btn {
    padding: 0.9rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    transition: all 0.3s ease;
    border: none;
}

.carousel-caption .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* Excursiones - Diseño Premium Mejorado */
.featured-excursions {
    padding: 5rem 0;
    background: var(--bg-white);
}

.featured-excursions h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-dark);
    position: relative;
    padding-bottom: 1rem;
}

.featured-excursions h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.excursion-card {
    position: relative;
    border: none;
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    transition: all 0.4s ease;
    animation: fadeInUp 0.6s ease-out backwards;
    border: 1px solid var(--border-color);
}

.excursion-card:nth-child(1) { animation-delay: 0.1s; }
.excursion-card:nth-child(2) { animation-delay: 0.2s; }
.excursion-card:nth-child(3) { animation-delay: 0.3s; }
.excursion-card:nth-child(4) { animation-delay: 0.4s; }
.excursion-card:nth-child(5) { animation-delay: 0.5s; }
.excursion-card:nth-child(6) { animation-delay: 0.6s; }

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

.excursion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(229, 90, 43, 0.1) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

.excursion-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.excursion-card:hover::before {
    opacity: 1;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 300px;
    background: linear-gradient(135deg, #f0f0f0 0%, #e0e0e0 100%);
}

.excursion-card .card-img-top {
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-origin: center;
}

.card-img-overlay-custom {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 2;
    pointer-events: none;
}

.excursion-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95) 0%, rgba(229, 90, 43, 0.95) 100%);
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.excursion-card:hover .excursion-number {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.6);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 250, 245, 0.95) 100%);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.excursion-card .card-img-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.excursion-card:hover .card-img-top {
    transform: scale(1.15) rotate(2deg);
}

.excursion-card:hover .card-img-top::after {
    opacity: 1;
}

.excursion-card .card-body {
    position: relative;
    padding: 1.75rem;
    z-index: 2;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #ffffff 100%);
    transition: all 0.5s ease;
}

.excursion-card:hover .card-body {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 250, 245, 1) 100%);
}

.excursion-card .card-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--naranja-vivo);
    margin-bottom: 1rem;
    line-height: 1.3;
    transition: all 0.4s ease;
    position: relative;
    padding-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.excursion-card:hover .card-title {
    color: var(--rojo-bermellon);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transform: translateX(5px);
}

.excursion-card .card-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #e55a2b 100%);
    transition: width 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 2px;
}

.excursion-card:hover .card-title::after {
    width: 60px;
}

.excursion-card .card-text {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
    transition: color 0.4s ease;
}

.excursion-card:hover .card-text {
    color: #333;
}

.excursion-meta {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.excursion-meta .badge {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.excursion-meta .badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.excursion-meta .badge:hover::before {
    width: 300px;
    height: 300px;
}

.excursion-meta .badge:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.excursion-meta .badge.bg-info {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.excursion-meta .badge.bg-success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
    padding: 0.65rem 1.3rem;
}

.excursion-meta .badge i {
    margin-right: 0.4rem;
    font-size: 0.9rem;
}

.excursion-card .btn-primary {
    width: 100%;
    padding: 0.85rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0.5px;
    border-radius: 8px;
    background: var(--naranja-vivo);
    border: none;
    box-shadow: 0 4px 15px rgba(255, 98, 31, 0.25);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    z-index: 1;
    color: #fff;
}

.excursion-card .btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.excursion-card .btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.excursion-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 98, 31, 0.35);
    background: var(--rojo-bermellon);
    color: #fff;
}

/* Efecto Flip Box para tarjetas */
.flip-box {
    background-color: transparent;
    width: 100%;
    height: 100%;
    perspective: 1000px;
}

.flip-box-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-box:hover .flip-box-inner {
    transform: rotateY(180deg);
}

.flip-box-front, .flip-box-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 12px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-box-front {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--azul-ultramar);
    box-shadow: var(--shadow-md);
}

.flip-box-back {
    background: linear-gradient(135deg, var(--azul-ultramar) 0%, #0d5a8f 100%);
    color: white;
    transform: rotateY(180deg);
    box-shadow: var(--shadow-lg);
}

.flip-box-front h3,
.flip-box-back h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--azul-ultramar);
}

.flip-box-back h3 {
    color: white;
}

.flip-box-front .flip-icon {
    font-size: 3rem;
    color: var(--naranja-vivo);
    margin-bottom: 1rem;
}

.flip-box-back .flip-icon {
    font-size: 3rem;
    color: white;
    margin-bottom: 1rem;
}

.excursion-card .btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.excursion-card .btn-primary span {
    display: inline-block;
    transition: transform 0.4s ease;
}

.excursion-card .btn-primary i {
    display: inline-block;
    transition: transform 0.4s ease;
    transform: translateX(0);
}

.excursion-card .btn-primary:hover span {
    transform: translateX(-5px);
}

.excursion-card .btn-primary:hover i {
    transform: translateX(5px);
}

/* Efecto de brillo animado en las tarjetas */
.excursion-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 3;
}

.excursion-card:hover::after {
    animation: shine 1.5s ease-in-out;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

/* Responsive para tarjetas de excursiones */
@media (max-width: 992px) {
    .excursion-card {
        margin-bottom: 2rem;
    }
    
    .excursion-card .card-img-top {
        height: 250px;
    }
}

@media (max-width: 768px) {
    .excursion-card {
        border-radius: 15px;
    }
    
    .excursion-card .card-img-top {
        height: 220px;
    }
    
    .excursion-card .card-body {
        padding: 1.5rem;
    }
    
    .excursion-card .card-title {
        font-size: 1.3rem;
    }
    
    .excursion-meta .badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

/* Página de Detalle de Excursión - Diseño Vanguardista */
.excursion-detail-page {
    position: relative;
    overflow-x: hidden;
}

/* Hero Section */
.excursion-hero {
    position: relative;
    height: 50vh;
    min-height: 350px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: zoomIn 1.5s ease-out;
}

@keyframes zoomIn {
    from {
        transform: scale(1.1);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.excursion-hero:hover .hero-image {
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 2rem 0;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a2b 100%);
    color: #fff;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
    animation: slideInLeft 0.8s ease-out 0.5s backwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    animation: fadeInUp 0.8s ease-out 0.7s backwards;
}

.hero-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.9s backwards;
}

.meta-item {
    color: #fff;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-item i {
    color: var(--primary-color);
}

/* Secciones de Contenido */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, var(--primary-color) 0%, #e55a2b 100%) 1;
    display: flex;
    align-items: center;
    animation: fadeInUp 0.6s ease-out;
}

.section-title i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.excursion-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #333;
    text-align: justify;
    font-weight: 400;
    letter-spacing: 0.2px;
    word-spacing: 1px;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(250, 250, 250, 0.98) 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
    margin: 1.5rem 0;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
    font-family: 'Georgia', 'Times New Roman', serif;
}

.excursion-description::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, #e55a2b 100%);
    border-radius: 0 3px 3px 0;
}

.excursion-description::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.excursion-description p {
    margin-bottom: 1.5rem;
    text-indent: 0;
    position: relative;
    z-index: 1;
}

.excursion-description p:first-child {
    margin-top: 0;
}

.excursion-description p:last-child {
    margin-bottom: 0;
}

.excursion-description strong {
    color: #1a1a1a;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a2b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.excursion-description em {
    font-style: italic;
    color: #555;
    font-weight: 500;
}

.excursion-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.excursion-description a:hover {
    border-bottom-color: var(--primary-color);
    color: #e55a2b;
    padding-bottom: 2px;
}

/* Galería */
.gallery-section {
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 0.5rem;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 1;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    transform: scale(1);
    max-width: 180px;
    margin: 0 auto;
    border: 3px solid transparent;
    background: #fff;
}

.gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    padding: 3px;
    background: linear-gradient(135deg, var(--naranja-vivo), var(--rojo-bermellon));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.5s ease;
    filter: brightness(1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 98, 31, 0.95) 0%, rgba(231, 51, 44, 0.95) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2;
    backdrop-filter: blur(2px);
}

.gallery-overlay::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.gallery-overlay i {
    font-size: 1.5rem;
    color: #fff;
    transform: scale(0.8) rotate(-90deg);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 3;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gallery-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(255, 98, 31, 0.35);
    z-index: 10;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.9);
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-item:hover .gallery-overlay::before {
    width: 200px;
    height: 200px;
}

.gallery-item:hover .gallery-overlay i {
    transform: scale(1.2) rotate(0deg);
}

/* Modal de Galería */
.gallery-modal-content {
    background: rgba(0, 0, 0, 0.9);
    border: none;
    border-radius: 15px;
    overflow: hidden;
}

.gallery-modal-header {
    border: none;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.5);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-modal-header .modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.gallery-modal-body {
    padding: 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.8);
}

/* Ralentizar transiciones del carrusel */
.gallery-modal-body #galleryCarousel.carousel {
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gallery-modal-body #galleryCarousel .carousel-inner {
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.gallery-modal-body #galleryCarousel .carousel-item {
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.2s ease-in-out !important;
}

.gallery-modal-body .carousel-item img {
    max-height: 85vh;
    width: auto;
    margin: 0 auto;
    border-radius: 10px;
    transition: opacity 1.2s ease-in-out;
}

/* Prevenir transiciones rápidas durante el cambio - Mayor especificidad */
.gallery-modal-body .carousel-item.carousel-item-start,
.gallery-modal-body .carousel-item.carousel-item-end,
.gallery-modal-body .carousel-item.carousel-item-next,
.gallery-modal-body .carousel-item.carousel-item-prev,
.gallery-modal-body .carousel-item.active {
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 1.2s ease-in-out !important;
}

.gallery-modal-body .carousel-control-prev,
.gallery-modal-body .carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.gallery-modal-body .carousel-control-prev {
    left: 20px;
}

.gallery-modal-body .carousel-control-next {
    right: 20px;
}

.gallery-modal-body .carousel-control-prev:hover,
.gallery-modal-body .carousel-control-next:hover {
    background: rgba(255, 98, 31, 0.8);
    opacity: 1;
}

.gallery-modal-body .carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.gallery-modal-body .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    margin: 0 5px;
    transition: all 0.3s ease;
}

.gallery-modal-body .carousel-indicators button.active {
    background: var(--naranja-vivo);
    border-color: var(--naranja-vivo);
    width: 14px;
    height: 14px;
}

/* Booking Card Moderna */
.booking-card-wrapper {
    position: sticky;
    top: 20px;
    z-index: 10;
    margin-top: 0;
}

.booking-section-wrapper {
    margin-top: 2rem;
}

.booking-card {
    border: none;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    background: #fff;
    animation: fadeInRight 0.8s ease-out 0.3s backwards;
    transition: all 0.4s ease;
}

.booking-card-body-split {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 1.5rem;
    padding: 1.5rem !important;
}

.booking-form-column {
    display: flex;
    flex-direction: column;
}

.booking-summary-column {
    display: flex;
    flex-direction: column;
}

.price-summary-sticky {
    position: sticky;
    top: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 1.25rem;
    border-radius: 12px;
    border: 2px solid rgba(10, 73, 123, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.summary-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--azul-ultramar);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid rgba(10, 73, 123, 0.1);
    display: flex;
    align-items: center;
}

.summary-title i {
    color: var(--naranja-vivo);
}

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

.booking-card:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.25);
    transform: translateY(-5px);
}

.card-header-booking {
    background: linear-gradient(135deg, var(--naranja-vivo) 0%, var(--rojo-bermellon) 100%);
    padding: 1.25rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-header-booking::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.booking-title {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.booking-title i {
    font-size: 1.5rem;
}

.price-display {
    text-align: center;
    padding: 1rem 0.85rem;
    background: linear-gradient(135deg, rgba(255, 98, 31, 0.08) 0%, rgba(231, 51, 44, 0.08) 100%);
    border-radius: 10px;
    margin: 0.85rem 1rem;
    border: 2px solid rgba(255, 98, 31, 0.15);
}

.price-row-display {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
    flex-wrap: wrap;
}

.price-item {
    flex: 1;
    min-width: 100px;
}

.price-item .price-label {
    display: block;
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.price-item .price-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--naranja-vivo);
    line-height: 1.2;
}

.price-item .price-nino {
    color: var(--azul-ultramar);
    font-size: 1.3rem;
}

.price-label {
    display: block;
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.price-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--naranja-vivo);
    line-height: 1.2;
    margin-top: 0.4rem;
}

/* Formulario Moderno */
.booking-form {
    padding: 0 1rem 1rem;
}

.form-group-modern {
    margin-bottom: 1rem;
}

.form-label-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.form-label-modern i {
    color: var(--naranja-vivo);
    font-size: 0.95rem;
}

.form-control-modern {
    width: 100%;
    padding: 0.6rem 0.85rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #fff;
}

.form-control-modern:focus {
    outline: none;
    border-color: var(--naranja-vivo);
    box-shadow: 0 0 0 3px rgba(255, 98, 31, 0.1);
    transform: translateY(-1px);
}

.form-control-modern:hover {
    border-color: #ccc;
}

.price-summary {
    padding: 1.25rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    margin: 0;
    border: 2px solid rgba(255, 98, 31, 0.15);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 0;
    font-size: 0.95rem;
    color: #333;
}

.price-row.total-row {
    border-top: 2px solid rgba(255, 107, 53, 0.2);
    margin-top: 0.6rem;
    padding-top: 0.75rem;
    font-weight: 700;
    font-size: 1.1rem;
}

.price-row.total-row span:last-child {
    color: var(--naranja-vivo);
    font-size: 1.4rem;
}

.btn-booking-submit {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--naranja-vivo) 0%, var(--rojo-bermellon) 100%);
    border: none;
    color: #fff;
    box-shadow: 0 6px 20px rgba(255, 98, 31, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-booking-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-booking-submit:hover::before {
    width: 500px;
    height: 500px;
}

.btn-booking-submit:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 25px rgba(255, 98, 31, 0.5);
    background: linear-gradient(135deg, var(--rojo-bermellon) 0%, var(--naranja-vivo) 100%);
}

.btn-booking-submit:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-booking-submit span,
.btn-booking-submit i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

/* Responsive */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .booking-card-wrapper {
        position: static;
        margin-top: 3rem;
    }
    
    .booking-card-body-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .price-summary-sticky {
        position: static;
        order: -1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .excursion-hero {
        height: 50vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .excursion-description {
        font-size: 1.1rem;
        line-height: 1.9;
        padding: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Buttons - Mejorados */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-primary:hover::before {
    width: 400px;
    height: 400px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff7d4d 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
    color: #fff;
}

.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 50px;
    transition: all 0.4s ease;
}

.btn-outline-primary:hover {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
}

/* Footer - Mejorado */
.main-footer {
    background: var(--azul-ultramar);
    color: #fff;
    padding: 5rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--naranja-vivo);
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, #e55a2b 50%, var(--primary-color) 100%);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.main-footer .container {
    position: relative;
    z-index: 1;
}

.main-footer h5 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #e55a2b);
    border-radius: 2px;
}

.main-footer .col-md-4 {
    margin-bottom: 2.5rem;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e0e0e0;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.footer-contact p::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: rgba(255, 107, 53, 0.1);
    transition: width 0.3s ease;
    border-left: 3px solid var(--primary-color);
}

.footer-contact p:hover {
    color: #fff;
    transform: translateX(5px);
    background: rgba(255, 107, 53, 0.05);
}

.footer-contact p:hover::before {
    width: 100%;
}

.footer-contact p i {
    color: var(--primary-color);
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.footer-contact p:hover i {
    transform: scale(1.2);
    color: #ff7d4d;
}

.footer-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu li {
    margin: 0;
    position: relative;
}

.footer-menu a {
    color: #e0e0e0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    position: relative;
    font-size: 0.95rem;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: -10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--primary-color);
    font-weight: bold;
}

.footer-menu a:hover {
    color: #fff;
    background: rgba(255, 107, 53, 0.1);
    transform: translateX(10px);
    padding-left: 1.5rem;
}

.footer-menu a:hover::before {
    opacity: 1;
    left: 0.5rem;
}

.main-footer .social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.main-footer .social-link {
    color: #fff;
    font-size: 1.5rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.main-footer .social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: var(--primary-color);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: 0;
}

.main-footer .social-link i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.main-footer .social-link:hover {
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(255, 107, 53, 0.4);
}

.main-footer .social-link:hover::before {
    width: 100%;
    height: 100%;
}

.main-footer .social-link:hover i {
    transform: rotate(360deg) scale(1.2);
}

.main-footer .social-link:nth-child(1):hover {
    background: #1877f2;
    border-color: #1877f2;
}

.main-footer .social-link:nth-child(2):hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #e6683c;
}

.main-footer .social-link:nth-child(3):hover {
    background: #1da1f2;
    border-color: #1da1f2;
}

.main-footer hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.3), transparent);
    margin: 2.5rem 0 1.5rem;
}

.copyright {
    margin: 0;
    padding: 1.5rem 0 0;
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    position: relative;
}

.copyright::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.5), transparent);
}

.footer-additional-text {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .header-top-content {
        justify-content: center;
        text-align: center;
    }
    
    .header-contact-info {
        justify-content: center;
    }
    
    .navbar-nav {
        background: var(--bg-white);
        padding: 1rem;
        border-radius: 12px;
        margin-top: 1rem;
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-md);
        gap: 0.5rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.5rem !important;
        text-align: center;
        margin: 0.25rem 0;
        border-radius: 8px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 250px;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    
    .navbar-nav .nav-link::after {
        display: none;
    }
    
    .navbar-nav .nav-link:hover {
        background: rgba(255, 107, 53, 0.1);
        color: var(--primary-color);
    }
    
    .brand-text {
        font-size: 1.6rem;
    }
    
    .brand-tagline {
        font-size: 0.7rem;
    }
}

@media (max-width: 768px) {
    .carousel-caption {
        padding: 2rem;
        max-width: 90%;
    }
    
    .carousel-caption h2 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 0.95rem;
    }
    
    .carousel-item img {
        height: 400px;
    }
    
    .logo-img {
        max-height: 50px;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.85rem;
        padding: 0.7rem 1.2rem !important;
    }
    
    .booking-card {
        position: static;
        margin-top: 2rem;
    }
    
    .main-header .navbar {
        padding: 1rem 0;
    }
    
    .logo-wrapper {
        padding: 0.4rem;
    }
}

@media (max-width: 768px) {
    .brand-tagline {
        display: none;
    }
    
    .brand-text {
        font-size: 1.4rem;
    }
}

@media (max-width: 576px) {
    .brand-content {
        display: none;
    }
    
    .logo-img {
        height: 55px;
        max-width: 100px;
    }
    
    .navbar-brand {
        gap: 0.5rem;
        padding: 0.25rem 0.5rem;
    }
    
    .main-footer {
        padding: 3rem 0 1rem;
    }
    
    .main-footer h5 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .main-footer .social-link {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .footer-contact p {
        font-size: 0.9rem;
    }
    
    .footer-menu a {
        font-size: 0.9rem;
    }
}

/* Página de Contacto - Diseño Vanguardista */
.contact-page {
    position: relative;
    overflow-x: hidden;
}

/* Hero Section de Contacto */
.contact-hero {
    position: relative;
    padding: 6rem 0 4rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a2b 50%, #d44a1f 100%);
    overflow: hidden;
    margin-bottom: 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    animation: patternMove 20s ease-in-out infinite;
}

@keyframes patternMove {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-20px, -20px) scale(1.1); }
}

.hero-content-contact {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title-contact {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.title-line {
    position: relative;
    display: inline-block;
}

.title-line::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    animation: expandLine 1s ease-out 0.5s backwards;
}

@keyframes expandLine {
    from {
        width: 0;
    }
    to {
        width: 100px;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out 0.3s backwards;
}

/* Sección de Información de Contacto */
.contact-info-section {
    animation: fadeInLeft 0.8s ease-out;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.section-title-contact {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 3px solid;
    border-image: linear-gradient(90deg, var(--primary-color) 0%, #e55a2b 100%) 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-title-contact i {
    color: var(--primary-color);
    font-size: 1.75rem;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: #fff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out backwards;
}

.contact-card:nth-child(1) { animation-delay: 0.1s; }
.contact-card:nth-child(2) { animation-delay: 0.2s; }
.contact-card:nth-child(3) { animation-delay: 0.3s; }

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-color) 0%, #e55a2b 100%);
    transform: scaleY(0);
    transition: transform 0.4s ease;
    transform-origin: top;
}

.contact-card:hover::before {
    transform: scaleY(1);
}

.contact-card:hover {
    transform: translateX(10px) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.contact-icon-wrapper {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a2b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
}

.contact-card:hover .contact-icon-wrapper {
    transform: scale(1.15) rotate(360deg);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.contact-card-content {
    flex: 1;
}

.contact-card-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card-content p {
    color: #555;
    font-size: 1rem;
    margin: 0;
    line-height: 1.6;
}

.contact-card-content a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contact-card-content a:hover {
    color: #e55a2b;
    text-decoration: underline;
}

/* Formulario de Contacto */
.contact-form-wrapper {
    background: #fff;
    border-radius: 25px;
    padding: 3rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    animation: fadeInRight 0.8s ease-out;
}

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

.contact-form-header {
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-subtitle {
    color: #666;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

/* Alertas Modernas */
.alert-modern {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    animation: slideDown 0.5s ease-out;
}

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

.alert-success-modern {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(25, 135, 84, 0.1) 100%);
    border: 2px solid rgba(40, 167, 69, 0.3);
}

.alert-error-modern {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(185, 28, 28, 0.1) 100%);
    border: 2px solid rgba(220, 53, 69, 0.3);
}

.alert-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.alert-success-modern .alert-icon {
    background: linear-gradient(135deg, #28a745 0%, #198754 100%);
    color: #fff;
}

.alert-error-modern .alert-icon {
    background: linear-gradient(135deg, #dc3545 0%, #b91c1c 100%);
    color: #fff;
}

.alert-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.alert-content p {
    color: #555;
    margin: 0;
}

/* Formulario Moderno */
.contact-form-modern {
    margin-top: 2rem;
}

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

.form-label-contact {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.form-label-contact i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.form-control-contact {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.form-control-contact:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
    transform: translateY(-2px);
}

.form-control-contact:hover {
    border-color: #ccc;
}

.form-control-contact::placeholder {
    color: #999;
}

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

.btn-contact-submit {
    width: 100%;
    padding: 1.25rem 2rem;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 15px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #e55a2b 100%);
    border: none;
    color: #fff;
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    margin-top: 1rem;
}

.btn-contact-submit::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn-contact-submit:hover::before {
    width: 500px;
    height: 500px;
}

.btn-contact-submit:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.5);
}

.btn-contact-submit:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-contact-submit span,
.btn-contact-submit i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

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

/* Responsive para Contacto */
@media (max-width: 992px) {
    .hero-title-contact {
        font-size: 3rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-title-contact {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title-contact {
        font-size: 1.75rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

/* ============================================
   MEJORAS PREMIUM ADICIONALES
   ============================================ */

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Mejoras en el Hero Slider - Controles */
.hero-slider .carousel-control-prev,
.hero-slider .carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.4s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0.8;
}

.hero-slider .carousel-control-prev:hover,
.hero-slider .carousel-control-next:hover {
    background: rgba(255, 107, 53, 0.9);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

.hero-slider .carousel-indicators {
    margin-bottom: 2rem;
}

.hero-slider .carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease;
    margin: 0 0.5rem;
}

.hero-slider .carousel-indicators button.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

/* Mejoras en Secciones */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

section > * {
    position: relative;
    z-index: 1;
}

/* Mejoras en Badges */
.excursion-meta .badge {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Mejoras en Formularios - Focus States */
.form-control-modern:focus,
.form-control-contact:focus {
    background: #fff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}

/* Animaciones mejoradas */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.excursion-number {
    animation: pulse 2s ease-in-out infinite;
}

.excursion-card:hover .excursion-number {
    animation: none;
}

/* Efectos de Partículas en Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 107, 53, 0.015) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(255, 107, 53, 0.015) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body > * {
    position: relative;
    z-index: 1;
}

/* Mejoras en Responsive Global */
@media (max-width: 992px) {
    .featured-excursions h2 {
        font-size: 2.5rem;
    }
    
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .featured-excursions {
        padding: 3rem 0;
    }
    
    .featured-excursions h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .carousel-item img {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 1.5rem;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

/* Mejoras en Transiciones Globales */
a, button, .btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mejoras en Espaciado */
.py-5 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
}

.mb-5 {
    margin-bottom: 3.5rem !important;
}

/* Mejoras en Tipografía */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.3px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

p {
    font-weight: 400;
    color: var(--text-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    line-height: 1.8;
}

/* Mejoras en Links */
a {
    text-decoration: none;
    color: inherit;
}

a:hover {
    color: var(--primary-color);
}

/* Mejoras en el Scrollbar */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
    border: 2px solid #f1f1f1;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Mejoras en Cards - Efecto Glassmorphism */
.excursion-card,
.booking-card,
.contact-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Mejoras en Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Mejoras en el Container */
.container {
    position: relative;
    max-width: 1200px;
}

/* Mejoras en PayPal Button Container */
#paypal-button-container {
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    border: 1px solid rgba(255, 107, 53, 0.1);
}

/* Mejoras en Reserva Confirmada */
.reservation-details {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(229, 90, 43, 0.05) 100%);
    padding: 2rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.1);
    margin-top: 2rem;
}

/* Mejoras en el Footer - Animación */
.main-footer::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    animation: gradientShift 3s ease infinite;
}

/* Mejoras en el Header - Efecto Glass */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Mejoras en las Imágenes */
img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Mejoras en Focus Visible */
*:focus-visible {
    outline: 3px solid rgba(255, 107, 53, 0.5);
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mejoras en Selección de Texto */
::selection {
    background: var(--primary-color);
    color: #fff;
}

::-moz-selection {
    background: var(--primary-color);
    color: #fff;
}

/* ================================
   SECCIÓN: 3 PASOS - Inicia tu Aventura
   ================================ */
.steps-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.steps-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 800;
}

.steps-section .section-title span {
    color: var(--rojo-bermellon);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.step-card {
    background: var(--bg-white);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 98, 31, 0.1), transparent);
    transition: left 0.5s ease;
}

.step-card:hover::before {
    left: 100%;
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--naranja-vivo);
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-number {
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: var(--naranja-vivo);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    border: 3px solid var(--bg-white);
    box-shadow: 0 4px 15px rgba(255, 98, 31, 0.3);
}

.step-card h4 {
    font-size: 1.3rem;
    color: var(--azul-ultramar);
    margin-bottom: 15px;
    font-weight: 700;
}

.step-card p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.7;
}

.steps-section .btn {
    display: block;
    margin: 40px auto 0;
    max-width: 300px;
}

/* ================================
   FLIP BOX - Por qué viajar con nosotros
   ================================ */
.flipbox-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.flipbox-section .section-title {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.5rem;
    font-weight: 800;
}

.flipbox-section .section-title span {
    color: var(--rojo-bermellon);
}

.flipbox-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.flipbox {
    height: 300px;
    perspective: 1000px;
}

.flipbox-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flipbox:hover .flipbox-inner {
    transform: rotateY(180deg);
}

.flipbox-front,
.flipbox-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.flipbox-front {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
}

.flipbox-front .flipbox-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--naranja-vivo) 0%, var(--rojo-bermellon) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 98, 31, 0.3);
}

.flipbox-front .flipbox-icon i {
    font-size: 32px;
    color: var(--bg-white);
}

.flipbox-front h4 {
    font-size: 1.2rem;
    color: var(--azul-ultramar);
    font-weight: 700;
}

.flipbox-back {
    background: linear-gradient(135deg, var(--azul-ultramar) 0%, #0d5a8f 100%);
    color: var(--bg-white);
    transform: rotateY(180deg);
}

.flipbox-back h4 {
    color: var(--bg-white);
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.flipbox-back p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.95;
}

/* ================================
   SECCIÓN: TRANSPORTE
   ================================ */
.transport-section {
    padding: 100px 0;
    background: var(--bg-white);
}

.transport-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.transport-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--azul-ultramar);
}

.transport-content h2 span {
    color: var(--text-light);
    font-weight: 400;
}

.transport-content > p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
    font-size: 1.1rem;
}

.transport-features {
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.transport-features li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    color: var(--text-dark);
    font-size: 1rem;
}

.transport-features li i {
    color: var(--naranja-vivo);
    font-size: 20px;
    width: 24px;
}

.transport-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.transport-image img {
    width: 100%;
    height: auto;
    display: block;
}

.transport-image .btn {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

/* Responsive para las nuevas secciones */
@media (max-width: 992px) {
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .flipbox-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .transport-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .flipbox-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-section,
    .flipbox-section,
    .transport-section {
        padding: 60px 0;
    }
    
    .steps-section .section-title,
    .flipbox-section .section-title {
        font-size: 2rem;
    }
    
    .transport-content h2 {
        font-size: 2rem;
    }
}

/* ================================
   MEJORAS ADICIONALES FOOTER - Diseño del sitio de referencia
   ================================ */
.main-footer h5::after {
    background: var(--naranja-vivo);
}

.footer-contact p i {
    color: var(--naranja-vivo);
}

.footer-menu a::before {
    color: var(--naranja-vivo);
}

.main-footer .social-link:hover {
    background: var(--naranja-vivo);
    border-color: var(--naranja-vivo);
}

/* Sección de títulos del footer con iconos */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--azul-ultramar);
}

.section-header .section-title span {
    color: var(--rojo-bermellon);
}

/* Ajustes para tarjetas de excursiones destacadas */
.featured-excursions .card-title {
    color: var(--naranja-vivo);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.featured-excursions .card-img-wrapper {
    margin-bottom: 1rem;
    border-radius: 12px;
    overflow: hidden;
}

.featured-excursions .card-text {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

