/**
 * Detalle destino — design-tokens.css, site-public.css (chrome).
 */

.destination-detail-page {
    font-family: var(--font-body), var(--font-ui), system-ui, sans-serif;
    background: var(--light);
    color: var(--dark);
    margin: 0;
}

        /* Hero */
        .hero {
            height: 70vh;
            background: linear-gradient(rgba(10, 37, 64, 0.4), rgba(10, 37, 64, 0.6)), var(--detail-hero-bg);
            background-size: cover;
            background-position: center;
            display: flex;
            flex-direction: column;
            justify-content: flex-end;
            padding: 4rem;
            color: white;
        }

        /* Puerto Ordaz: encuadre en confluencia y saltos de agua */
        .hero.hero-puerto-ordaz {
            background-position: center 38%;
        }

        .hero-content {
            max-width: 800px;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            font-weight: 800;
        }

        .hero-meta {
            display: flex;
            gap: 2rem;
            flex-wrap: wrap;
            font-size: 1.1rem;
            opacity: 0.9;
        }

        .hero-meta span {
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        /* Content */
        .content {
            max-width: 1200px;
            margin: 0 auto;
            padding: 4rem 2rem;
        }

        .content-grid {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 4rem;
        }

        @media (max-width: 900px) {
            .content-grid {
                grid-template-columns: 1fr;
            }

            .cta-section__inner {
                padding: 2.5rem 1.5rem;
            }

            .cta-section .btn-outline {
                margin-left: 0;
                margin-top: 1rem;
            }
        }

        .main-content h2 {
            font-size: 2rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
        }

        .main-content p {
            color: var(--gray);
            line-height: 1.8;
            margin-bottom: 1.5rem;
            font-size: 1.1rem;
            white-space: pre-line;
        }

        /* Sidebar */
        .sidebar {
            display: flex;
            flex-direction: column;
            gap: 2rem;
        }

        .info-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }

        .info-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .info-list {
            list-style: none;
        }

        .info-list li {
            padding: 0.8rem 0;
            border-bottom: 1px solid #eee;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--gray);
        }

        .info-list li:last-child {
            border-bottom: none;
        }

        .info-list .icon {
            font-size: 1.2rem;
        }

        /* Highlights */
        .highlights-grid {
            display: flex;
            flex-wrap: wrap;
            gap: 0.8rem;
        }

        .highlight-tag {
            background: linear-gradient(135deg, #00D9D9 0%, #1DE9B6 100%);
            color: white;
            padding: 0.5rem 1rem;
            border-radius: 50px;
            font-size: 0.9rem;
            font-weight: 500;
        }

        /* CTA */
        .cta-section {
            position: relative;
            overflow: hidden;
            padding: 0;
            border-radius: 30px;
            text-align: center;
            color: white;
            margin-top: 3rem;
            background: linear-gradient(135deg, var(--dark) 0%, #1a4a6e 100%);
            isolation: isolate;
        }

        /* Capa de vídeo + velo: siempre detrás del contenido (evita bugs de z-index con <video>) */
        .cta-section__backdrop {
            position: absolute;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            border-radius: inherit;
            overflow: hidden;
        }

        .cta-section__inner {
            position: relative;
            z-index: 1;
            padding: 4rem;
        }

        .cta-section--video {
            background: var(--dark);
        }

        .cta-section__video {
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: 0;
        }

        /* Barinas: recortar zona inferior del clip (texto/rótulos) subiendo el encuadre */
        .cta-section--video-crop-bottom .cta-section__video {
            inset: auto;
            top: -11%;
            left: 0;
            width: 100%;
            height: 122%;
            object-fit: cover;
            object-position: center 34%;
        }

        .cta-section__scrim {
            position: absolute;
            inset: 0;
            z-index: 1;
            background: linear-gradient(
                135deg,
                rgba(10, 37, 64, 0.38),
                rgba(26, 74, 110, 0.32)
            );
        }

        @media (prefers-reduced-motion: reduce) {
            .cta-section--video .cta-section__backdrop {
                display: none;
            }

            .cta-section--video {
                background: linear-gradient(135deg, var(--dark) 0%, #1a4a6e 100%);
            }
        }

        .cta-section h2 {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            text-shadow:
                0 1px 2px rgba(0, 0, 0, 0.45),
                0 2px 28px rgba(0, 0, 0, 0.5);
        }

        .cta-section p {
            opacity: 0.95;
            font-size: 1.2rem;
            margin-bottom: 2rem;
            text-shadow:
                0 1px 2px rgba(0, 0, 0, 0.4),
                0 1px 16px rgba(0, 0, 0, 0.45);
        }

        .btn {
            display: inline-block;
            padding: 1rem 2.5rem;
            background: var(--primary);
            color: white;
            text-decoration: none;
            border-radius: 50px;
            font-weight: 700;
            transition: all 0.3s;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 20px rgba(0, 217, 217, 0.4);
        }

        .btn-outline {
            background: transparent;
            border: 2px solid white;
            margin-left: 1rem;
        }

        .btn-outline:hover {
            background: white;
            color: var(--dark);
        }

        /* Back Link */
        .back-link {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            color: var(--primary);
            text-decoration: none;
            font-weight: 600;
            margin-bottom: 2rem;
        }

        .back-link:hover {
            text-decoration: underline;
        }

        /* Weather widget - same visual style as info-card */
        .weather-card {
            background: white;
            border-radius: 20px;
            padding: 2rem;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
        }
        .weather-card h3 {
            font-size: 1.3rem;
            margin-bottom: 1rem;
            color: var(--dark);
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .weather-icon {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .weather-icon svg {
            width: 24px;
            height: 24px;
            stroke: var(--primary);
            stroke-width: 2;
            fill: none;
        }
        .weather-current {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1rem;
        }
        .weather-temp {
            font-size: 2rem;
            font-weight: 700;
            color: var(--dark);
        }
        .weather-condition {
            color: var(--gray);
            font-size: 0.95rem;
        }
        .weather-details {
            list-style: none;
            margin: 1rem 0;
        }
        .weather-details li {
            padding: 0.4rem 0;
            color: var(--gray);
            font-size: 0.9rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }
        .weather-forecast-preview {
            display: flex;
            gap: 0.75rem;
            margin-top: 1rem;
            flex-wrap: wrap;
        }
        .weather-day-mini {
            text-align: center;
            min-width: 3rem;
        }
        .weather-day-mini .weather-icon {
            width: 32px;
            height: 32px;
            margin: 0 auto;
        }
        .weather-day-mini .weather-icon svg {
            width: 20px;
            height: 20px;
        }
        .weather-day-mini .temp {
            font-size: 0.85rem;
            font-weight: 600;
            color: var(--dark);
        }
        .weather-day-mini .date {
            font-size: 0.75rem;
            color: var(--gray);
        }
        .btn-forecast {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-top: 1rem;
            padding: 0.6rem 1.2rem;
            background: linear-gradient(135deg, #00D9D9 0%, #1DE9B6 100%);
            color: white;
            border: none;
            border-radius: 50px;
            font-weight: 600;
            font-size: 0.9rem;
            cursor: pointer;
            font-family: 'Outfit', sans-serif;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        .btn-forecast:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 16px rgba(0, 217, 217, 0.4);
        }
        .btn-forecast svg {
            width: 18px;
            height: 18px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }
        .weather-loading, .weather-error {
            color: var(--gray);
            font-size: 0.95rem;
            padding: 0.5rem 0;
        }
        .weather-error { color: #b91c1c; }

        /* Modal pronóstico completo */
        .weather-modal-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(10, 37, 64, 0.5);
            z-index: 2000;
            align-items: center;
            justify-content: center;
            padding: 2rem;
            box-sizing: border-box;
        }
        .weather-modal-overlay.is-open {
            display: flex;
        }
        .weather-modal {
            background: white;
            border-radius: 20px;
            max-width: 560px;
            width: 100%;
            max-height: 90vh;
            overflow: auto;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
        }
        .weather-modal-header {
            padding: 1.5rem 2rem;
            border-bottom: 1px solid #eee;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .weather-modal-header h3 {
            margin: 0;
            font-size: 1.4rem;
            color: var(--dark);
        }
        .weather-modal-close {
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--gray);
        }
        .weather-modal-close:hover { color: var(--dark); }
        .weather-modal-close svg {
            width: 24px;
            height: 24px;
            stroke: currentColor;
            stroke-width: 2;
            fill: none;
        }
        .weather-modal-body {
            padding: 1.5rem 2rem 2rem;
        }
        .weather-full-day {
            display: flex;
            align-items: center;
            gap: 1rem;
            padding: 0.9rem 0;
            border-bottom: 1px solid #eee;
        }
        .weather-full-day:last-child { border-bottom: none; }
        .weather-full-day .weather-icon { width: 40px; height: 40px; }
        .weather-full-day .weather-icon svg { width: 22px; height: 22px; }
        .weather-full-day .day-date { flex: 1; font-weight: 500; color: var(--dark); }
        .weather-full-day .day-condition { flex: 1; color: var(--gray); font-size: 0.9rem; }
        .weather-full-day .day-temps { font-weight: 600; color: var(--dark); white-space: nowrap; }