/* Laguna 513 shares the petrol greens, gold details and mint transport CTA. */
.pg-513 {
    --lake-surface: #123a35;
    --lake-surface-deep: #0d2925;
    --lake-line: #436257;
    --lake-gold: #e5cc98;
    --lake-text: #fffaf1;
    --lake-muted: #c7d6cd;
    --lake-mint: #a7f3d0;
    --lake-cta: linear-gradient(135deg, #b8f8dd, #6ee7b7 48%, #34d399);
    font-family: 'Montserrat', sans-serif;
    color: var(--lake-text);
    margin: 0;
    padding-top: var(--lake-top-offset, 156px);
}
.pg-513 *, .pg-513 *::before, .pg-513 *::after { box-sizing: border-box; }
.pg-container { max-width: 1248px; margin: 0 auto; padding: 26px 24px 64px; }
.pg-513 :is(#transporte513, #guia513) { scroll-margin-top: calc(var(--sticky-header-offset, 156px) + 100px); }
.pg-513 :is(button, a, [role=button]):focus-visible { outline: 3px solid var(--lake-gold); outline-offset: 4px; }
.pg-513 p { line-height: 1.75; }
.pg-513 .breadcrumb { margin-bottom: 30px; font-size: .875rem; }
.pg-513 .breadcrumb a { color: var(--lake-muted); }
.pg-513 .breadcrumb span { color: var(--lake-gold); }

/* A shorter cover keeps the transport options close to the first screen. */
.pg-hero { position: relative; min-height: 430px; height: clamp(430px, 52vh, 560px); overflow: hidden; background: var(--lake-surface-deep); }
.pg-hero-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; }
.pg-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, #051e1be8, #051e1b66 62%, #051e1b22), linear-gradient(0deg, #051e1b80, transparent 60%); }
.pg-hero-text { position: absolute; left: max(24px, calc((100% - 1200px) / 2)); bottom: 48px; max-width: 700px; width: calc(100% - 48px); color: var(--lake-text); }
.lake-eyebrow { display: block; color: var(--lake-gold); font-size: .875rem; font-weight: 800; letter-spacing: .13em; margin-bottom: 15px; }
.pg-hero-text h1 { font-size: clamp(3rem, 5.5vw, 5rem); font-weight: 900; line-height: 1.08; margin: 0 0 18px; letter-spacing: -.04em; }
.pg-hero-text p { max-width: 620px; font-size: clamp(1rem, 1.8vw, 1.25rem); font-weight: 500; line-height: 1.65; color: #e0ebe4; }
.lake-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: 26px; }
.lake-guide-link { display: inline-flex; align-items: center; min-height: 48px; color: var(--lake-text); text-underline-offset: 6px; font-weight: 650; font-size: .9rem; }
.pg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 14px 24px; border: 1px solid #6ee7b7; border-radius: 12px; background: var(--lake-cta); color: #043f35; font: 800 .95rem 'Montserrat', sans-serif; cursor: pointer; text-decoration: none; box-shadow: 0 6px 20px #0002; transition: filter .2s, box-shadow .2s; }
.pg-btn:hover { filter: brightness(1.07); box-shadow: 0 8px 24px #0003; }
.pg-btn:disabled { cursor: default; opacity: .55; }
.pg-513 .page-header { padding: 0; margin: 12px 0 28px; text-align: left; background: none; border: 0; }
.pg-513 .page-header h2 { background: none; color: var(--lake-text); font-size: clamp(1.65rem, 3vw, 2.2rem); line-height: 1.3; margin-bottom: 10px; }
.pg-513 .page-header-subtitle { color: var(--lake-muted); font-size: 1rem; max-width: 800px; text-align: left; margin: 0; }
.pg-summary-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.pg-summary-card { padding: 22px 18px; border-radius: 16px; background: #102e2be6; border: 1px solid var(--lake-line); text-align: left; }
.pg-summary-card i { color: var(--lake-gold); font-size: 1.4rem; margin-bottom: 12px; }
.pg-summary-card h4 { color: var(--lake-muted); font-size: .875rem; font-weight: 600; margin-bottom: 6px; }
.pg-summary-card p { font-size: 1.05rem; font-weight: 750; line-height: 1.4; margin: 0; }

.pg-card { background: linear-gradient(145deg, #173f39f5, #102e2af5); border: 1px solid var(--lake-line); border-radius: 24px; padding: 30px; margin-bottom: 26px; box-shadow: 0 10px 30px #0002; }
.pg-card h3 { display: flex; align-items: center; gap: 12px; color: var(--lake-text); font-size: clamp(1.2rem, 2.1vw, 1.65rem); line-height: 1.4; margin-bottom: 22px; }
.pg-card h3 i { color: var(--lake-gold); font-size: 1.3rem; flex-shrink: 0; }
.pg-premium { border-color: #9e854e; }
.lake-transport-layout { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 36px; align-items: stretch; }
.lake-transport-copy { align-self: center; }
.lake-transport-copy > p { color: #e0ebe4; font-size: 1rem; margin-bottom: 24px; }
.lake-service-list { display: grid; gap: 16px; list-style: none; padding: 0; margin: 0; }
.lake-service-list li { display: flex; align-items: flex-start; gap: 12px; line-height: 1.6; font-size: .95rem; color: var(--lake-muted); }
.lake-service-list i { margin-top: 5px; color: var(--lake-mint) !important; }
.transport-price-card { display: flex; flex-direction: column; align-items: stretch; justify-content: center; border: 1px solid #3a987f; border-radius: 20px; padding: 28px; text-align: center; background: linear-gradient(145deg, #075347, #076354); color: var(--lake-text); }
.lake-price-kicker { font-size: .8rem; font-weight: 800; letter-spacing: .1em; color: #b8f8dd; }
.lake-price { margin-top: 16px; color: #ffedba; font-size: clamp(2.5rem, 4vw, 3.4rem); line-height: 1.1; font-weight: 900; letter-spacing: -.04em; }
.transport-price-label { color: #e0f8ec; font-size: .9rem; font-weight: 600; margin: 8px 0 18px; }
.lake-minimum-note { padding: 13px; border: 1px solid #b59b63; background: #183f32; border-radius: 12px; color: #fff3ce; font-size: .875rem; font-weight: 650; line-height: 1.6; margin-bottom: 20px; }
.lake-minimum-note:empty { display: none; }
.transport-price-card .pg-btn { width: 100%; }
.transport-price-card .transport-departure { justify-content: center; align-items: flex-start; gap: 7px; margin: 16px 0 0; color: #d5f3e4; font-size: .875rem; line-height: 1.55; }
.transport-price-card .transport-departure i { color: #a7f3d0; margin-top: 4px; }

.lake-trek-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; }
.pg-trek-list { padding: 0; margin: 0; list-style: none; }
.pg-trek-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid #36574c; }
.pg-trek-list li:first-child { padding-top: 0; }
.pg-trek-list li:last-child { border-bottom: 0; }
.pg-trek-list i { color: var(--lake-gold); grid-row: 1 / span 2; margin-top: 3px; }
.pg-trek-list strong { font-size: .875rem; color: #e1e9df; }
.pg-trek-list span { grid-column: 2; font-size: 1rem; color: var(--lake-muted); line-height: 1.65; }
.lake-ticket-info { border: 1px solid #436257; border-radius: 16px; padding: 22px; background: #0a2d24; }
.lake-ticket-info p { color: var(--lake-muted); margin-bottom: 14px; }
.lake-ticket-info p:last-child { margin-bottom: 0; }
.lake-ticket-info .lake-ticket-price { color: var(--lake-gold); font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 800; }
.lake-gear-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pg-rec-box { display: flex; align-items: flex-start; gap: 12px; background: #0b2d26; border: 1px solid #36574c; border-radius: 14px; padding: 18px; font-size: .95rem; line-height: 1.65; color: var(--lake-muted); }
.pg-rec-box i { color: var(--lake-gold); margin-top: 5px; }
.lake-section-title { color: var(--lake-text); font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.4; margin-bottom: 24px; }
.lake-section-title i { color: var(--lake-gold); margin-right: 8px; }
.lake-gallery-section, .lake-related { margin-top: 48px; }
.pg-gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pg-gallery-item { height: 240px; overflow: hidden; border: 1px solid var(--lake-line); border-radius: 18px; cursor: pointer; background: var(--lake-surface); }
.pg-gallery-item img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .25s; }
.pg-gallery-item:hover img { transform: scale(1.04); }
.lake-bottom-actions { display: flex; justify-content: center; margin-top: 32px; }
.lake-catalog-link { text-align: center; margin-top: 18px; }
.lake-secondary-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 12px 18px; border: 1px solid #7e9987; border-radius: 12px; color: var(--lake-text); background: #0d2925; font-size: .9rem; font-weight: 700; text-decoration: none; }
.lake-secondary-btn:hover { background: #214c3c; border-color: var(--lake-gold); }
.lake-related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.lake-related-card { display: flex; flex-direction: column; padding: 18px; margin: 0; border-radius: 20px; }
.lake-related-photo { height: 200px; border-radius: 12px; overflow: hidden; margin-bottom: 20px; }
.lake-related-photo img { width: 100%; height: 100%; object-fit: cover; }
.lake-related-card h4 { font-size: 1.2rem; margin-bottom: 12px; color: var(--lake-text); }
.lake-related-card p { color: var(--lake-muted); font-size: .95rem; margin-bottom: 24px; }
.lake-related-card .lake-secondary-btn { align-self: center; margin-top: auto; }
.mobile-sticky-cta { display: none; }
.pg-513:has(.reserva-modal.active, .gallery-modal.active) .mobile-sticky-cta { display: none !important; }

@media (max-width: 900px) {
    .lake-transport-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
    .lake-gear-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lake-related-grid { gap: 14px; }
}
@media (max-width: 768px) {
    .pg-513 { padding-bottom: 90px; }
    .pg-container { padding: 22px 16px 48px; }
    .pg-hero { min-height: 420px; height: 420px; }
    .pg-hero-text { left: 22px; bottom: 30px; width: calc(100% - 44px); }
    .pg-hero-overlay { background: linear-gradient(0deg, #051e1bf2, #051e1b88 58%, #051e1b22); }
    .pg-hero-text h1 { font-size: 3rem; }
    .pg-hero-text p { font-size: 1rem; }
    .lake-eyebrow { font-size: .75rem; letter-spacing: .1em; }
    .lake-hero-actions { gap: 10px 18px; margin-top: 18px; }
    .lake-hero-actions .pg-btn { padding: 13px 17px; font-size: .875rem; }
    .lake-guide-link { font-size: .875rem; }
    .pg-summary-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pg-summary-card { padding: 18px 15px; }
    .pg-summary-card p { font-size: 1rem; }
    .pg-card { padding: 22px 18px; border-radius: 20px; }
    .pg-card h3 { font-size: 1.25rem; align-items: flex-start; }
    .pg-card h3 i { margin-top: 4px; }
    .lake-transport-layout, .lake-trek-layout, .lake-related-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .lake-trek-layout { gap: 0; }
    .lake-trek-layout > div + div .pg-trek-list li:first-child { padding-top: 16px; border-top: 1px solid #36574c; }
    .transport-price-card { padding: 24px 19px; }
    .lake-ticket-info { padding: 18px; }
    .lake-gear-grid { grid-template-columns: minmax(0, 1fr); }
    .pg-gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .pg-gallery-item { height: 165px; border-radius: 12px; }
    .pg-gallery-item:first-child { grid-column: 1 / -1; height: 235px; }
    .lake-related-photo { height: 220px; }
    .lake-bottom-actions .pg-btn { width: 100%; font-size: .95rem; }
    .mobile-sticky-cta { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 1200; }
    .mobile-sticky-cta .reservation-btn { width: 100%; min-height: 52px; border: 1px solid #6ee7b7; border-radius: 14px; background: var(--lake-cta); color: #043f35; font: 800 .95rem 'Montserrat', sans-serif; padding: 14px 18px; box-shadow: 0 6px 24px #0005; }
}
@media (prefers-reduced-motion: reduce) {
    .pg-btn, .pg-gallery-item img { transition: none; }
    .pg-gallery-item:hover img { transform: none; }
}
        /* Modal de reserva */
        .reserva-modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .reserva-modal.active { opacity: 1; }
        .reserva-modal-content {
            background: white;
            border-radius: 20px;
            max-width: 500px;
            width: 90%;
            max-height: 90vh;
            overflow-y: auto;
            box-shadow: 0 24px 50px rgba(15, 23, 42, 0.25);
            border: 1px solid #b59b63;
            background: linear-gradient(180deg, #fffdf7 0%, #fff7e6 100%);
        }
        .reserva-modal-header {
            background: linear-gradient(135deg, #173f39, #102e2a);
            color: white;
            padding: 16px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .reserva-modal-header h3 { margin: 0; font-size: 1.3rem; }
        .close-reserva-btn {
            background: rgba(255,255,255,0.2);
            border: none;
            color: white;
            font-size: 1.2rem;
            cursor: pointer;
            padding: 5px 10px;
            border-radius: 8px;
        }
        .reserva-modal-body { padding: 20px; }
        .form-group { margin-bottom: 18px; }
        .form-group label {
            display: block;
            font-weight: 600;
            margin-bottom: 6px;
            color: #1e293b;
        }
        .form-group input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #fbbf24;
            border-radius: 14px;
            background: #fffbea;
            color: #1e293b;
            font-size: 1rem;
            transition: all 0.3s ease;
        }
        .form-group input:focus {
            border-color: #f59e0b;
            box-shadow: 0 0 0 4px rgba(245, 158, 11, 0.18);
            outline: none;
        }
        .btn-whatsapp-submit {
            background: linear-gradient(135deg, #25D366, #128C7E);
            color: white;
            border: none;
            padding: 18px;
            border-radius: 40px;
            font-weight: 700;
            font-size: 1.2rem;
            cursor: pointer;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
            margin-top: 10px;
            transition: all 0.3s ease;
        }
        .btn-whatsapp-submit:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
        }
        .reservation-btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            border: none;
            cursor: pointer;
            transition: all 0.2s;
            font-weight: 600;
        }
        .map-picker-btn {
            background: #3b82f6;
            color: white;
            padding: 12px 20px;
            border-radius: 14px;
            font-size: 0.95rem;
        }
        #mapaContainer {
            margin-top: 15px;
            border-radius: 14px;
            overflow: hidden;
            border: 2px solid #f97316;
        }
        .time-hint {
            color: #94a3b8;
            font-size: 0.85rem;
            margin-top: 6px;
            display: flex;
            align-items: center;
            gap: 5px;
        }
        .pricing-summary {
            background: #f0fdf4;
            border: 1px solid #86efac;
            border-radius: 12px;
            padding: 12px 16px;
            margin: 10px 0 18px;
            font-weight: 600;
            color: #065f46;
        }
        .payment-simple-options { display:grid;grid-template-columns:1fr 1fr;gap:10px; }
        .payment-simple-option { position:relative;cursor:pointer;margin:0!important; }
        .payment-simple-option input { position:absolute;opacity:0;pointer-events:none;width:1px!important; }
        .payment-simple-option > span { min-height:50px;display:flex;align-items:center;justify-content:center;gap:8px;border:2px solid #e2e8f0;border-radius:13px;background:#fff;padding:10px;color:#334155;transition:.2s; }
        .payment-simple-option input:checked + span { border-color:#f59e0b;background:#fff7ed;color:#9a3412;box-shadow:0 0 0 3px rgba(245,158,11,.13); }
        .payment-simple-option input:focus-visible + span { outline:3px solid rgba(59,130,246,.25);outline-offset:2px; }
        .payment-simple-hint { margin:9px 0 0;color:#64748b;font-size:.82rem;line-height:1.45; }
        .btn-whatsapp-submit.is-online-payment { background:linear-gradient(135deg,#2563eb,#1d4ed8);box-shadow:0 8px 20px rgba(37,99,235,.22); }
        .form-cancel-button { margin-top:15px;background:#dc2626!important;color:#fff!important;min-height:52px;padding:15px 18px;border:0;border-radius:40px;width:100%;font:700 1rem 'Montserrat',sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center; }
        .form-cancel-button:hover { background:#b91c1c!important; }
        @media (max-width:768px) {
            .form-cancel-button { min-height:60px;padding:18px;font-size:1.2rem; }
        }

        /* Visor de galería */
        .gallery-modal {
            display: none;
            position: fixed;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(0, 0, 0, 0.92);
            z-index: 10000;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .gallery-modal.active { opacity: 1; }
        .gallery-modal-content {
            position: relative;
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .gallery-main {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .gallery-main-image {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 20px;
        }
        .gallery-main-image img {
            max-width: 100%;
            max-height: 90vh;
            object-fit: contain;
            border-radius: 8px;
            box-shadow: 0 8px 25px rgba(0,0,0,0.6);
        }
        .gallery-controls {
            position: absolute;
            top: 50%;
            left: 0;
            right: 0;
            transform: translateY(-50%);
            display: flex;
            justify-content: space-between;
            padding: 0 15px;
            pointer-events: none;
            z-index: 10;
            background: transparent;
            border: none;
            outline: none;
        }
        .gallery-prev, .gallery-next {
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(6px);
            border: none;
            color: white;
            font-size: 1.8rem;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            pointer-events: auto;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            line-height: 1;
            outline: none;
        }
        .gallery-prev:hover, .gallery-next:hover {
            background: rgba(255, 255, 255, 0.45);
            transform: scale(1.05);
        }
        .close-gallery-btn {
            position: absolute;
            top: 20px;
            right: 20px;
            background: rgba(255, 255, 255, 0.25);
            backdrop-filter: blur(6px);
            border: none;
            color: white;
            font-size: 1.5rem;
            width: 38px;
            height: 38px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            z-index: 20;
            box-shadow: 0 2px 10px rgba(0,0,0,0.3);
            outline: none;
        }
        .close-gallery-btn:hover {
            background: rgba(255, 255, 255, 0.45);
            transform: scale(1.05);
        }



    @media (max-width: 768px) {
        .reserva-modal {
            padding: 0;
            align-items: center;
            justify-content: center;
        }

        .reserva-modal-content {
            width: calc(100% - 16px);
            max-width: none;
            max-height: 94vh;
            margin: 0 auto;
            border-radius: 18px;
        }

        .reserva-modal-header {
            padding: 15px 16px;
        }

        .reserva-modal-body {
            padding: 16px;
        }
    }
    
