/* Variables de Colores Principales - Senderismo */
:root {
    --color-primary: #8B4513;
    --color-secondary: #A0522D;
    --color-accent: #CD853F;
    --color-dark: #5C3317;
    --color-light: #FFF8F0;
    --color-white: #ffffff;
    --color-text: #333333;
    --color-text-light: #666666;
    --overlay-dark: rgba(92, 51, 23, 0.7);
    --color-nature: #228B22;
    --color-adventure: #DC3545;
    --color-freedom: #0DCAF0;
    --color-brown: #8B4513;
    --color-yellow: #F59E0B;
    --color-purple: #7C3AED;
    --color-teal: #14B8A6;
    --gradient-nature: linear-gradient(135deg, #228B22 0%, #2E8B57 50%, #556B2F 100%);
}

/* Modal de Bienvenida */
.modal-bienvenida {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: all 0.4s ease;
}

.modal-bienvenida.hidden {
    opacity: 0;
    visibility: hidden;
}

.modal-bienvenida-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-bienvenida-content {
    position: relative;
    background: var(--color-white);
    padding: 40px 50px;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.5s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-bienvenida-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--color-nature), #2E8B57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(34, 139, 34, 0.3);
}

.modal-bienvenida-icon i {
    font-size: 2.5rem;
    color: white;
}

.modal-bienvenida-content h3 {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.modal-bienvenida-content p {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 10px;
}

.modal-bienvenida-content p strong {
    color: var(--color-nature);
}

.modal-tip {
    background: rgba(34, 139, 34, 0.1);
    padding: 12px 18px;
    border-radius: 10px;
    font-size: 0.9rem !important;
    margin-top: 15px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.modal-tip i {
    color: var(--color-yellow);
    font-size: 1.2rem;
}

.btn-entendido {
    background: linear-gradient(135deg, var(--color-nature), #2E8B57);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 25px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.3);
}

.btn-entendido:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 139, 34, 0.4);
}

.btn-entendido:active {
    transform: translateY(0);
}

@media (max-width: 576px) {
    .modal-bienvenida-content {
        padding: 30px 25px;
    }
    
    .modal-bienvenida-content h3 {
        font-size: 1.25rem;
    }
    
    .modal-bienvenida-icon {
        width: 65px;
        height: 65px;
    }
    
    .modal-bienvenida-icon i {
        font-size: 2rem;
    }
    
    .btn-entendido {
        padding: 12px 30px;
        font-size: 1rem;
    }
}

/* Servicios Grid - Botones */
.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.servicio-btn {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    padding: 20px 22px;
    background: var(--color-white);
    border: 2px solid #e5e7eb;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.servicio-btn:hover {
    border-color: var(--color-nature);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(34, 139, 34, 0.15);
}

.servicio-btn.active {
    border-color: var(--color-nature);
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.08) 0%, rgba(46, 139, 87, 0.08) 100%);
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.2);
}

.servicio-btn.active .servicio-btn-check {
    opacity: 1;
    transform: scale(1);
}

.servicio-btn-icon {
    width: 55px;
    height: 55px;
    min-width: 55px;
    background: linear-gradient(135deg, #1a5c1a, #0d3d0d);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.servicio-btn-icon i {
    font-size: 1.5rem;
    color: white;
}

.servicio-icon-danger {
    background: linear-gradient(135deg, #1a5c1a, #0d3d0d) !important;
}

.servicio-icon-info {
    background: linear-gradient(135deg, #1a5c1a, #0d3d0d) !important;
}

.servicio-icon-brown {
    background: linear-gradient(135deg, #1a5c1a, #0d3d0d) !important;
}

.servicio-icon-yellow {
    background: linear-gradient(135deg, #1a5c1a, #0d3d0d) !important;
}

.servicio-icon-purple {
    background: linear-gradient(135deg, #1a5c1a, #0d3d0d) !important;
}

.servicio-icon-teal {
    background: linear-gradient(135deg, #1a5c1a, #0d3d0d) !important;
}

.servicio-btn-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.servicio-btn-nombre {
    font-weight: 700;
    color: var(--color-dark);
    font-size: 1rem;
    line-height: 1.3;
}

.servicio-btn-descripcion {
    font-size: 0.9rem;
    color: var(--color-nature);
    font-weight: 600;
    background: rgba(34, 139, 34, 0.1);
    padding: 6px 10px;
    border-radius: 6px;
    display: inline-block;
    margin-top: 2px;
}

.servicio-btn-tiempo {
    font-size: 0.82rem;
    color: var(--color-text-light);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 4px;
}

.servicio-btn-tiempo i {
    font-size: 0.85rem;
    color: var(--color-accent);
}

.servicio-btn-precio {
    font-size: 0.85rem;
    color: var(--color-text-light);
    font-weight: 500;
}

.servicio-btn-check {
    width: 28px;
    height: 28px;
    min-width: 28px;
    background: var(--color-nature);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.3s ease;
}

.servicio-btn-check i {
    color: white;
    font-size: 1rem;
    font-weight: bold;
}

/* Resumen de servicios seleccionados */
/* Estilos de actividades eliminados */
    min-height: 80px;
    max-height: 200px;
    overflow-y: auto;
}

.resumen-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #e5e7eb;
    animation: fadeIn 0.3s ease;
}

.resumen-item:last-child {
    border-bottom: none;
}

.resumen-item-nombre {
    font-weight: 500;
    color: var(--color-text);
}

.resumen-item-precio {
    color: var(--color-nature);
    font-weight: 600;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-10px); }
    to { opacity: 1; transform: translateX(0); }
}

.resumen-footer {
    padding: 20px 25px;
    background: linear-gradient(135deg, var(--color-light), #FFF5E6);
    border-top: 1px solid #e5e7eb;
}

.resumen-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.resumen-total span:first-child {
    color: var(--color-text-light);
}

.total-valor {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}

/* Responsive para botones de servicios */
@media (max-width: 768px) {
    .servicios-grid {
        grid-template-columns: 1fr;
    }
    
    .servicio-btn {
        padding: 15px;
    }
    
    .servicio-btn-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }
    
    .servicio-btn-icon i {
        font-size: 1.3rem;
    }
    
    .servicio-btn-nombre {
        font-size: 0.95rem;
    }
    
    .servicio-btn-descripcion {
        font-size: 0.85rem;
        padding: 5px 8px;
    }
    
    .servicio-btn-check {
        position: absolute;
        top: 12px;
        right: 12px;
    }
}

@media (max-width: 480px) {
    .servicios-grid {
        gap: 12px;
    }
    
    .servicio-btn {
        padding: 12px;
        gap: 12px;
    }
    
    .servicio-btn-icon {
        width: 42px;
        height: 42px;
        min-width: 42px;
    }
}

/* Hero Section Senderismo */
.senderismo-hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 76px;
    overflow: hidden;
}

.senderismo-hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
    z-index: 0;
    object-fit: cover;
}

.senderismo-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(34, 139, 34, 0.6) 0%, rgba(139, 69, 19, 0.6) 100%);
    z-index: 1;
}

.senderismo-hero .container {
    position: relative;
    z-index: 2;
}

.senderismo-hero h1 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease;
}

.senderismo-hero p {
    animation: fadeInUp 1s ease 0.3s both;
}

.senderismo-hero .btn {
    animation: fadeInUp 1s ease 0.5s both;
}

/* Particles Effect */
.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-particles span {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    animation: float 15s infinite;
    border-radius: 50%;
}

.hero-particles span:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-particles span:nth-child(2) { left: 30%; animation-delay: 2s; width: 30px; height: 30px; }
.hero-particles span:nth-child(3) { left: 50%; animation-delay: 4s; }
.hero-particles span:nth-child(4) { left: 70%; animation-delay: 6s; width: 15px; height: 15px; }
.hero-particles span:nth-child(5) { left: 90%; animation-delay: 8s; width: 25px; height: 25px; }

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Animaciones */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Intro Section */
.intro-image {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.intro-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: 10px;
    bottom: 10px;
    border: 3px solid var(--color-nature);
    border-radius: 20px;
    z-index: -1;
}

.intro-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.intro-image:hover img {
    transform: scale(1.05);
}

.intro-stat {
    background: var(--color-white);
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.intro-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.intro-stat i {
    font-size: 2rem;
    margin-bottom: 10px;
}

.intro-stat h4 {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.intro-stat p {
    color: var(--color-text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* Aventura Cards */
.aventura-card {
    background: var(--color-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.aventura-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.aventura-image {
    position: relative;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.aventura-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.aventura-card:hover .aventura-image img {
    transform: scale(1.1);
}

.aventura-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--color-nature);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.aventura-badge-danger {
    background: var(--color-adventure);
}

.aventura-badge-info {
    background: var(--color-freedom);
}

.aventura-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.aventura-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-nature), #2E8B57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(34, 139, 34, 0.3);
}

.aventura-icon-danger {
    background: linear-gradient(135deg, var(--color-adventure), #C82333);
    box-shadow: 0 5px 20px rgba(220, 53, 69, 0.3);
}

.aventura-icon-info {
    background: linear-gradient(135deg, var(--color-freedom), #0AA2C0);
    box-shadow: 0 5px 20px rgba(13, 202, 240, 0.3);
}

.aventura-icon i {
    font-size: 2rem;
    color: white;
}

.aventura-content h3 {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 15px;
}

.aventura-details {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
    padding: 15px;
    background: var(--color-light);
    border-radius: 10px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--color-text);
}

.detail-item i {
    color: var(--color-primary);
}

.aventura-incluye {
    margin: 20px 0;
}

.aventura-incluye h6 {
    color: var(--color-dark);
    font-weight: 600;
    margin-bottom: 10px;
}

.aventura-incluye ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.aventura-incluye li {
    font-size: 0.9rem;
    color: var(--color-text-light);
    padding-left: 20px;
    position: relative;
}

.aventura-incluye li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-nature);
    font-weight: bold;
}

.aventura-precio {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin: 20px 0;
    padding: 15px;
    background: linear-gradient(135deg, var(--color-light), #FFF5E6);
    border-radius: 10px;
    border-left: 4px solid var(--color-accent);
}

.precio-desde {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.precio-valor {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-dark);
}

.precio-persona {
    font-size: 0.85rem;
    color: var(--color-text-light);
}

/* Rutas Section */
.rutas-section {
    background: var(--gradient-nature);
    position: relative;
}

.rutas-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path d="M0 50 Q25 30 50 50 T100 50" stroke="rgba(255,255,255,0.1)" fill="none" stroke-width="2"/></svg>') repeat;
    background-size: 100px 100px;
}

.rutas-section .container {
    position: relative;
    z-index: 2;
}

.ruta-card {
    background: var(--color-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.ruta-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.ruta-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.ruta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ruta-card:hover .ruta-image img {
    transform: scale(1.1);
}

.ruta-dificultad {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.ruta-dificultad.easy {
    background: #28a745;
    color: white;
}

.ruta-dificultad.medium {
    background: #ffc107;
    color: #333;
}

.ruta-dificultad.hard {
    background: #dc3545;
    color: white;
}

.ruta-body {
    padding: 20px;
}

.ruta-body h5 {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.ruta-body p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.ruta-info {
    display: flex;
    gap: 20px;
}

.ruta-info span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--color-text);
}

.ruta-info i {
    color: var(--color-nature);
}

/* Aventura Gallery */
.aventura-gallery {
    border-radius: 15px;
    overflow: hidden;
    height: 250px;
}

.aventura-gallery.gallery-wide {
    height: 250px;
}

.aventura-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.aventura-gallery:hover img {
    transform: scale(1.1);
}

.aventura-gallery .gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(34, 139, 34, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.aventura-gallery:hover .gallery-overlay {
    opacity: 1;
}

.aventura-gallery .gallery-overlay i {
    font-size: 2.5rem;
    color: white;
}

/* Recomendaciones */
.recomendaciones-section {
    background: var(--color-light);
}

.recomendacion-card {
    background: var(--color-white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid transparent;
}

.recomendacion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    border-top-color: var(--color-nature);
}

.recomendacion-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--color-nature), #2E8B57);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.recomendacion-card:hover .recomendacion-icon {
    transform: scale(1.1) rotate(10deg);
}

.recomendacion-icon i {
    font-size: 1.8rem;
    color: white;
}

.recomendacion-card h5 {
    color: var(--color-dark);
    font-weight: 700;
    margin-bottom: 10px;
}

.recomendacion-card p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* CTA Section */
.senderismo-cta {
    background: linear-gradient(135deg, var(--color-nature) 0%, var(--color-primary) 50%, var(--color-dark) 100%);
    position: relative;
    overflow: hidden;
}

.senderismo-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

.senderismo-cta h2 {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.senderismo-cta .btn {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.senderismo-cta .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.3);
}

/* Responsive */
@media (max-width: 991px) {
    .senderismo-hero {
        height: 50vh;
        margin-top: 56px;
    }
    
    .senderismo-hero h1 {
        font-size: 2rem;
    }
    
    .aventura-image {
        min-height: 300px;
    }
    
    .aventura-content {
        padding: 30px;
    }
    
    .aventura-incluye ul {
        grid-template-columns: 1fr;
    }
    
    .intro-image img {
        height: 300px;
    }
}

@media (max-width: 767px) {
    .senderismo-hero {
        height: 45vh;
    }
    
    .senderismo-hero h1 {
        font-size: 1.75rem;
    }
    
    .aventura-content {
        padding: 20px;
    }
    
    .aventura-details {
        flex-direction: column;
        gap: 10px;
    }
    
    .precio-valor {
        font-size: 1.5rem;
    }
    
    .aventura-gallery,
    .aventura-gallery.gallery-wide {
        height: 200px;
    }
    
    .recomendacion-card {
        padding: 20px;
    }
    
    .recomendacion-icon {
        width: 60px;
        height: 60px;
    }
    
    .recomendacion-icon i {
        font-size: 1.5rem;
    }
}
