
.social-dock {
    position: fixed;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 11px;
    pointer-events: auto;
}
.social-dock a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(15,23,42,.12);
    border: 1px solid rgba(255,255,255,.9);
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
    position: relative;
}
.social-dock a:hover {
    transform: scale(1.1);
    background: var(--primary);
    color: #fff;
    box-shadow: 0 6px 16px var(--pink-soft);
}
.social-dock a::before {
    content: attr(data-label);
    position: absolute;
    right: 56px;
    background: #333;
    color: #fff;
    font-size: .63rem;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
    white-space: nowrap;
}
.social-dock a:hover::before { opacity: 1; }
.social-dock svg { width: 21px; height: 21px; }
.social-dock a[data-social="whatsapp"] {
    background-color: #25d366;
    color: #fff;
    border: 2px solid #25d366;
    position: relative;
}
.social-dock a[data-social="whatsapp"] svg { position: relative; z-index: 2; }
.social-dock a[data-social="whatsapp"]:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 18px rgba(37,211,102,0.5);
}
[contenteditable="true"] {
    outline: 2px dashed var(--teal);
    outline-offset: 3px;
    border-radius: 6px;
    cursor: text;
    min-width: 10px;
    transition: outline .2s;
}
body.edit-mode [data-txt]:hover { background: rgba(102,178,178,.15); }


#intro-screen {
    position: fixed;
    inset: 0;
    z-index: 10050;
    transition: opacity .34s ease, visibility .34s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#intro-screen.done { opacity: 0; visibility: hidden; pointer-events: none; }
#intro-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, #f7fbfb 0%, #e9f4f2 55%, #dfeef0 100%);
    transition: opacity .3s ease;
}
.intro-content { position: relative; z-index: 2; pointer-events: none; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.intro-logo-wrap {
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.intro-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 10px 30px rgba(15,127,160,.22);
    animation: logoPop .4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.intro-tag {
    color: #0e9f6e;
    letter-spacing: 6px;
    font-size: .9rem;
    font-weight: 800;
    animation: introFadeUp .42s .08s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.intro-line {
    width: 180px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, transparent, #f77f00, #0e9f6e, transparent);
    transform-origin: center;
    animation: introLineGrow .46s .14s cubic-bezier(0.16, 1, 0.3, 1) both;
}

#map-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: var(--bg);
}
.custom-pin-inner {
    transition: transform .18s ease;
}
.custom-pin-inner:hover {
    transform: scale(1.15);
}
.leaflet-control-zoom { display: none; }
#map-container .leaflet-control-layers,
#map-container.leaflet-touch .leaflet-control-layers {
    border-radius: 999px;
    border: 1.5px solid rgba(14,159,110,.38);
    background: rgba(255,255,255,.96);
    box-shadow: 0 6px 18px rgba(15,23,42,.22);
    color: #1e293b;
}
#map-container .leaflet-control-layers-toggle,
#map-container.leaflet-retina .leaflet-control-layers-toggle,
#map-container.leaflet-touch .leaflet-control-layers-toggle {
    width: 42px;
    height: 42px;
    min-inline-size: 42px;
    min-block-size: 42px;
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e9f6e' stroke-width='2.1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 2 7 12 12 22 7 12 2' fill='%23dff7ef'/%3E%3Cpolyline points='2 17 12 22 22 17'/%3E%3Cpolyline points='2 12 12 17 22 12'/%3E%3C/svg%3E");
    background-size: 22px 22px;
    background-position: center;
    background-repeat: no-repeat;
    touch-action: manipulation;
    transition: transform .18s ease, background-color .18s ease;
}
@media (pointer: coarse) {
    #map-container .leaflet-control-layers-toggle,
    #map-container.leaflet-retina .leaflet-control-layers-toggle,
    #map-container.leaflet-touch .leaflet-control-layers-toggle {
        width: 44px;
        height: 44px;
        min-inline-size: 44px;
        min-block-size: 44px;
    }
}
#map-container .leaflet-control-layers-toggle:focus-visible,
.leaflet-layers-close:focus-visible,
#map-container .leaflet-control-layers-selector:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}
#map-container .leaflet-control-layers.leaflet-control-layers-expanded,
#map-container.leaflet-touch .leaflet-control-layers.leaflet-control-layers-expanded {
    border-radius: 16px;
    padding: 10px 12px;
    min-width: 166px;
    max-width: min(230px, calc(100vw - 84px));
    max-height: 55vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    touch-action: pan-y;
    background: rgba(255,255,255,.97);
    box-shadow: 0 12px 30px rgba(15,23,42,.28);
}
.leaflet-layers-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid rgba(15,23,42,.10);
    font-size: .74rem;
    font-weight: 800;
    color: #0b6e8f;
    letter-spacing: .3px;
}
.leaflet-layers-close {
    width: 28px;
    height: 28px;
    min-inline-size: 28px;
    min-block-size: 28px;
    border-radius: 50%;
    border: 1px solid rgba(15,23,42,.12);
    background: #f1f5f9;
    color: #334155;
    font-size: .78rem;
    font-weight: 800;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .15s ease, color .15s ease;
}
.leaflet-layers-close:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
#map-container .leaflet-control-layers label {
    display: flex;
    align-items: center;
    min-block-size: 36px;
    padding: 4px 6px;
    margin: 2px 0;
    border-radius: 8px;
    font-size: .84rem;
    font-weight: 700;
    color: #1e293b;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .15s ease;
}
#map-container .leaflet-control-layers label:hover {
    background: rgba(14,159,110,.09);
}
#map-container .leaflet-control-layers label > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
#map-container .leaflet-control-layers-selector {
    width: 17px;
    height: 17px;
    margin: 0;
    top: 0;
    accent-color: var(--teal);
    cursor: pointer;
}
#map-container .leaflet-control-layers-separator {
    margin: 6px 0;
    border-top-color: rgba(15,23,42,.10);
}
.leaflet-control-attribution {
    font-size: 9px;
    opacity: .6;
    background: rgba(255,255,255,.55);
    border-radius: 8px;
    padding: 2px 8px;
    color: #777;
}


.top-nav {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    gap: 14px;
    background: rgba(255,255,255,.96);
    box-shadow: 0 6px 20px rgba(15,23,42,.08);
    width: calc(100% - 32px);
    max-width: 940px;
    border-radius: 60px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    flex-shrink: 0;
}
.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: contain;
    box-shadow: 0 0 14px var(--pink-soft), 0 0 30px rgba(255,182,201,.3);
    border: 2px solid rgba(255,255,255,.8);
}
.logo-fallback {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #f4a261);
    color: #fff;
    font-weight: 900;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 14px var(--pink-soft);
}
.logo span {
    font-weight: 900;
    font-size: 1.15rem;
    color: var(--primary);
    display: block;
    line-height: 1;
}
.logo small {
    font-size: .68rem;
    color: #666;
    letter-spacing: 2px;
    font-weight: 600;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a {
    text-decoration: none;
    color: #555;
    margin: 0 2px;
    padding: 7px 14px;
    border-radius: 30px;
    font-weight: 700;
    font-size: .76rem;
    transition: all .3s cubic-bezier(0.2,0.8,0.2,1);
    cursor: pointer;
    letter-spacing: .4px;
    white-space: nowrap;
    border: 1px solid transparent;
}
.nav-links a:hover {
    color: var(--primary);
    background: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}
.nav-links a.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px var(--pink-soft);
    transform: scale(1.05);
}
.nav-links a.nav-map {
    color: #3d8a8a;
    border: 1.5px dashed var(--teal);
}
.nav-links a.nav-map.active {
    background: var(--teal);
    color: #fff;
    border-color: var(--teal);
    box-shadow: 0 4px 12px rgba(102,178,178,0.4);
}
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 7000;
    padding: 4px;
}
.hamburger-btn span {
    width: 26px;
    height: 3px;
    background-color: var(--primary-dark);
    border-radius: 3px;
    transition: all 0.3s ease;
}

#edit-mode-btn {
    position: fixed;
    left: 16px;
    bottom: 75px;
    z-index: 60;
    padding: 11px 18px;
    border: none;
    border-radius: 24px;
    background: var(--primary);
    color: #fff;
    font-weight: 800;
    font-size: .78rem;
    cursor: pointer;
    box-shadow: 0 0 16px var(--pink-soft);
    border: 1px solid rgba(255,255,255,.7);
    transition: .3s;
    pointer-events: auto;
}
#edit-mode-btn:hover { transform: scale(1.06); }
body.edit-mode #edit-mode-btn {
    background: #333;
    box-shadow: 0 0 16px rgba(0,0,0,0.5);
}
#btn-global-add {
    position: fixed;
    right: 16px;
    bottom: 85px;
    z-index: 60;
    padding: 12px 20px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--teal), #4a9494);
    color: #fff;
    font-weight: 800;
    font-size: .85rem;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(102,178,178,.6);
    transition: .3s;
    display: none;
    pointer-events: auto;
}
#btn-global-add:hover {
    transform: scale(1.06) translateY(-3px);
    box-shadow: 0 8px 22px rgba(102,178,178,.8);
}
body.edit-mode #btn-global-add {
    display: block;
    animation: logoPop .5s ease forwards;
}
#explore-toggle {
    position: fixed;
    left: 16px;
    bottom: 20px;
    z-index: 60;
    padding: 11px 18px;
    border: none;
    border-radius: 24px;
    background: rgba(255,255,255,.96);
    font-weight: 800;
    font-size: .78rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15,23,42,.12);
    border: 1px solid rgba(255,255,255,.9);
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
    color: #333;
    pointer-events: auto;
}
#explore-toggle:hover {
    transform: scale(1.04);
    background: var(--primary);
    color: #fff;
}
#toggle-ui-btn {
    position: fixed;
    left: 16px;
    bottom: 130px;
    z-index: 60;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.96);
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15,23,42,.12);
    border: 1px solid rgba(255,255,255,.9);
    font-size: 1.1rem;
    pointer-events: auto;
    transition: transform .2s ease;
    display: none;
}
body.edit-mode #toggle-ui-btn { display: block; }
body.hide-ui #explore-toggle,
body.hide-ui .map-cta-transfer,
body.hide-ui #edit-mode-btn,
body.hide-ui #btn-global-add,
body.hide-ui #edit-help,
body.hide-ui #toggle-ui-btn {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
}


.page-view {
    position: fixed;
    inset: 0;
    background: linear-gradient(160deg, #fdf6f0 0%, #f4ecec 100%);
    z-index: 5000;
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 84px 20px 40px;
    overflow-y: auto;
}
.page-view.active {
    display: flex;
    animation: pageInSmoother .18s cubic-bezier(0.16, 1, 0.3, 1);
}
.page-inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(229,115,115,.2);
}
.page-header h2 { font-size: 1.8rem; color: #333; }
.page-header h2 span { color: var(--primary); }
.page-header h2 .t-base { color: #333; }
.page-header p {
    font-size: .8rem;
    color: #888;
    margin-top: 4px;
    max-width: 640px;
    line-height: 1.5;
}
.filter-chips {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    justify-content: center;
}
.fchip {
    border: 1.5px solid rgba(229,115,115,.4);
    background: #fff;
    color: var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 800;
    font-size: .75rem;
    cursor: pointer;
    transition: .25s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.fchip:hover { transform: translateY(-2px); }
.fchip.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 0 12px var(--pink-soft);
}
.chip-edit, .chip-del {
    display: none;
    background: #fff;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    justify-content: center;
    align-items: center;
    font-size: 0.6rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    color: #333;
    transition: transform 0.2s;
    font-style: normal;
}
.chip-edit:hover, .chip-del:hover { transform: scale(1.2); }
body.edit-mode .chip-edit,
body.edit-mode .chip-del { display: flex; }
.section-head {
    margin: 16px 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-head h3 { font-size: 1.2rem; color: #333; white-space: nowrap; }
.section-head small { color: #999; font-weight: 600; font-size: .75rem; }
.section-head::after {
    content: " ";
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(229,115,115,.35), transparent);
}
.zone-block { margin-bottom: 40px; }
.zone-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(255,255,255,.95), rgba(255,182,201,.15));
    border: 1px solid rgba(255,255,255,.9);
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.zone-emoji { font-size: 1.8rem; }
.zone-head h3 { font-size: 1.1rem; color: #222; }
.zone-head small { display: block; color: #888; font-size: .75rem; font-weight: 600; }
.zone-count {
    margin-left: auto;
    font-size: .7rem;
    font-weight: 800;
    color: #3d8a8a;
    background: rgba(102,178,178,.12);
    padding: 4px 12px;
    border-radius: 10px;
    white-space: nowrap;
}
.pkg-card { border: 2px solid rgba(244,162,97,.55); }
.pkg-ribbon {
    position: absolute;
    top: 8px;
    left: -6px;
    background: linear-gradient(135deg, #f4a261, var(--primary));
    color: #fff;
    font-size: .6rem;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 8px;
    letter-spacing: .5px;
    box-shadow: 0 4px 10px rgba(0,0,0,.2);
    z-index: 5;
}
.pkg-places {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    margin: 6px 0 12px;
}
.pkg-places i { color: #bbb; font-style: normal; font-size: .7rem; }
.pkg-place {
    font-size: .65rem;
    font-weight: 800;
    background: rgba(102,178,178,.12);
    color: #3d8a8a;
    padding: 4px 10px;
    border-radius: 10px;
    border: 1px solid rgba(102,178,178,.25);
}
.pkg-place.big {
    cursor: pointer;
    font-size: .75rem;
    padding: 8px 14px;
    transition: .2s;
}
.pkg-place.big:hover { background: var(--teal); color: #fff; }
.pkg-old { font-size: .7rem; color: #27ae60; font-weight: 800; margin-top: 8px; }
.pkg-old s { color: #999; }
#media-pkg, .rel-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 15px;
}
.rel-label {
    font-size: .7rem;
    font-weight: 800;
    color: #666;
    width: 100%;
    margin-bottom: 6px;
}
.empty-note {
    padding: 30px;
    text-align: center;
    color: #999;
    font-size: .85rem;
    background: rgba(255,255,255,.5);
    border-radius: 14px;
    border: 1px dashed #ddd;
    margin-bottom: 20px;
    grid-column: 1 / -1;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    padding-bottom: 30px;
    width: 100%;
}
.grid-card {
    background: #fff;
    border-radius: 16px;
    overflow: visible;
    box-shadow: 0 4px 14px rgba(0,0,0,.04);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    position: relative;
}
.grid-card-img {
    height: 160px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    overflow: hidden;
    border-radius: 16px 16px 0 0;
}
.grid-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    inset: 0;
}
.grid-card-img img.missing { display: none; }
.grid-card-body {
    padding: 16px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.grid-card-body h3 { font-size: 1.05rem; color: #222; line-height: 1.2; }
.grid-card-body .subtitle {
    font-size: .65rem;
    color: #999;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 4px 0 8px;
}
.grid-card-body p {
    font-size: .75rem;
    color: #666;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin: 0;
}
.grid-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto;
}
.grid-card-footer .price { font-size: 1.1rem; }
.grid-card-footer .rate { font-size: .75rem; font-weight: 700; color: #f4a261; }


.transfer-showcase {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 20px 0 50px;
    width: 100%;
}
.transfer-block {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}
.transfer-block.reverse { flex-direction: row-reverse; }
.transfer-text {
    flex: 1;
    padding: 40px;
    border-radius: 20px;
    font-size: 1.05rem;
    color: #444;
    line-height: 1.7;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.transfer-img-wrap {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    min-height: 320px;
    background: linear-gradient(135deg, var(--teal), #bfe5e6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}
.transfer-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 2;
    transition: transform 0.6s cubic-bezier(0.2,0.8,0.2,1);
}
.transfer-block:hover .transfer-img { transform: scale(1.08); }
.transfer-img-fallback { position: relative; z-index: 1; opacity: 0.5; }
body.edit-mode .transfer-img {
    cursor: pointer;
    outline: 2px dashed var(--teal);
    outline-offset: -4px;
}


#edit-help {
    position: fixed;
    bottom: 14px;
    left: 50%;
    margin-left: -250px;
    width: 500px;
    z-index: 7500;
    background: rgba(24,24,27,0.96);
    color: #fff;
    font-size: .75rem;
    padding: 12px 18px;
    border-radius: 14px;
    display: none;
    gap: 10px;
    align-items: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.4);
    flex-wrap: wrap;
    justify-content: center;
    cursor: grab;
    border: 1px solid rgba(255,255,255,0.2);
}
#edit-help:active { cursor: grabbing; }
body.edit-mode #edit-help { display: flex; }
#edit-help b { color: #ffb6c9; pointer-events: none; }
#edit-help button {
    border: none;
    border-radius: 8px;
    padding: 8px 12px;
    font-weight: 800;
    cursor: pointer;
    font-size: .7rem;
}
#edit-reset { background: #f4a261; color: #fff; }
#edit-copy { background: #ffb6c9; color: #333; }
#edit-download { background: #66b2b2; color: #fff; }
#edit-done { background: #25d366; color: #fff; }
.btn-delete-tour, .btn-edit-tour {
    position: absolute;
    top: -8px;
    background: #ff4757;
    color: white;
    border: none;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    font-size: 13px;
    cursor: pointer;
    z-index: 20;
    display: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    transition: .2s;
}
.btn-edit-tour { right: 30px; background: #f4a261; }
.btn-delete-tour { right: -8px; }
.btn-delete-tour:hover, .btn-edit-tour:hover { transform: scale(1.2); }
body.edit-mode .btn-delete-tour,
body.edit-mode .btn-edit-tour {
    display: flex;
    align-items: center;
    justify-content: center;
}


#about-gallery-container img,
.about-gallery img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}
#about-gallery-container img:hover,
.about-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.about-intro {
    padding: 26px;
    margin-bottom: 30px;
    font-size: .95rem;
    line-height: 1.7;
    color: #555;
}
.about-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
    padding-bottom: 50px;
}


#transfer-modal .booking-stage {
    background: linear-gradient(135deg, var(--teal), #1a5f7a);
    align-items: center;
    justify-content: center;
}
#transfer-modal .booking-stage::before { background: rgba(0,0,0,0.15); }
.tf-stage-emoji { font-size: 4.5rem; position: relative; z-index: 2; }
.tf-trip-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tf-trip-row .btn-ghost { flex: 1; }
.tf-trip-row .glass-input { flex: 1; min-width: 0; }
.trip-type-btn.active { background: var(--teal); color: #fff; }
.tf-field-hint {
    display: block;
    font-size: .68rem;
    color: #999;
    margin-top: 5px;
    line-height: 1.4;
}
.tf-pax-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.tf-pax-cell {
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}
.tf-pax-cell label {
    font-size: .68rem;
    font-weight: 800;
    color: #666;
    letter-spacing: 1px;
}
.tf-quote-bar {
    margin: 20px 0 16px;
    padding: 15px 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(102,178,178,.10), rgba(191,229,230,.25));
    border: 1px dashed var(--teal);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}
.tf-quote-bar span {
    font-size: .8rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #3d8a8a;
}
.tf-quote-bar strong {
    font-size: .95rem;
    color: #3d8a8a;
    text-align: right;
    line-height: 1.3;
}
.tf-quote-note {
    font-size: .75rem;
    color: #999;
    margin: 4px 0 12px;
    line-height: 1.4;
}
.tf-quote-mini {
    font-size: .68rem;
    color: #999;
    font-weight: 600;
    line-height: 1.3;
}


.beach-section { margin: 8px 0 36px; width: 100%; }
.beach-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    padding: 0 4px;
}
.beach-head h3 { font-size: 1.25rem; color: #333; margin: 0; white-space: nowrap; }
.beach-head small { flex: 1; color: #999; font-weight: 600; font-size: .75rem; }
.beach-scroller {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 12px 4px 24px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.beach-scroller::-webkit-scrollbar { display: none; }
.beach-card {
    flex: 0 0 300px;
    width: 300px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
    cursor: pointer;
    position: relative;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    transition: transform .35s cubic-bezier(0.2,0.8,0.2,1), box-shadow .35s, border-color .35s;
}
.beach-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0,0,0,.12), 0 0 24px rgba(244,162,97,.35);
    border-color: #f4a261;
}
.beach-img { height: 160px; position: relative; overflow: hidden; }
.beach-img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform .6s;
}
.beach-card:hover .beach-img img { transform: scale(1.1); }
.beach-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}
.beach-body {
    padding: 16px 18px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.beach-body h3 { font-size: 1.05rem; color: #222; margin: 0; line-height: 1.25; }
.beach-zone, .beach-body .beach-zone {
    font-size: .68rem;
    color: #f4a261;
    font-weight: 800;
    letter-spacing: .5px;
    margin: 0;
}
.beach-body p { font-size: .78rem; color: #666; line-height: 1.5; margin: 0; flex: 1; }
.beach-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    border-top: 1px solid #f0f0f0;
    background: linear-gradient(135deg, rgba(244,162,97,.06), rgba(255,255,255,.9));
}
.beach-price { font-size: 1.15rem; font-weight: 900; color: var(--primary); }
.beach-price small { font-size: .62rem; color: #999; font-weight: 500; display: block; }
.beach-book {
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 9px 18px;
    font-size: .75rem;
    font-weight: 800;
    border-radius: 10px;
    cursor: pointer;
    transition: .3s;
    box-shadow: 0 3px 10px rgba(229,115,115,.35);
}
.beach-book:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229,115,115,.5);
}
.beach-card.beach-custom {
    border: 2px dashed rgba(229,115,115,.5);
    background: linear-gradient(160deg, rgba(229,115,115,.10), rgba(255,255,255,.95));
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px 20px;
    gap: 10px;
}
.beach-custom-emoji,
.beach-card.beach-custom .beach-custom-emoji { font-size: 3rem; line-height: 1; }
.beach-card.beach-custom h3 { font-size: 1.05rem; color: var(--primary-dark); margin: 0; }
.beach-card.beach-custom p { font-size: .8rem; color: #666; line-height: 1.5; margin: 0; }
.beach-card .btn-delete-tour { top: -8px; right: -8px; }
.beach-card .btn-edit-tour { top: -8px; right: 24px; }


.map-cta-transfer {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 55;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(229,115,115, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    pointer-events: auto;
}
.map-cta-transfer:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(229,115,115, 0.6);
}
.mcta-icon {
    font-size: 2.2rem;
    display: block;
}
.mcta-text {
    text-align: left;
    font-size: 0.8rem;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.mcta-text b { font-size: 1.15rem; font-weight: 800; }

.nav-search-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(247,127,0,.45);
    background: linear-gradient(135deg, #ffffff, #fff1e0);
    color: var(--primary);
    font-size: 1rem;
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.nav-search-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 14px var(--pink-soft);
}
.global-search-bar {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: calc(100% - 32px);
    max-width: 940px;
    z-index: 5999;
    display: flex;
    gap: 8px;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease, transform .2s cubic-bezier(0.16, 1, 0.3, 1);
}
.global-search-bar.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.global-search-bar .glass-input {
    flex: 1;
    border-radius: 30px;
    padding: 12px 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.10);
}
.gsb-close {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,.95);
    color: #888;
    font-size: .9rem;
    font-weight: 800;
    cursor: pointer;
    transition: background-color .2s ease, color .2s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.gsb-close:hover {
    background: var(--primary);
    color: #fff;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.nav-refresh-btn {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid rgba(14,159,110,.4);
    background: linear-gradient(135deg, #ffffff, #e8f8f3);
    color: var(--teal);
    cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    touch-action: manipulation;
}
.nav-refresh-btn:hover {
    background: var(--teal);
    color: #fff;
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(14,159,110,.3);
}
.nav-refresh-btn:focus-visible,
.nav-search-btn:focus-visible,
.hamburger-btn:focus-visible {
    outline: 3px solid var(--teal);
    outline-offset: 2px;
}
.nav-refresh-btn.is-reloading svg {
    animation: ptrSpin .65s linear infinite;
}
@keyframes ptrSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

html, body {
    overscroll-behavior-y: contain;
}

.ptr-indicator {
    position: fixed;
    top: 76px;
    left: 50%;
    transform: translate3d(-50%, -18px, 0);
    z-index: 6400;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.97);
    border: 1.5px solid rgba(14,159,110,.35);
    box-shadow: 0 8px 22px rgba(15,23,42,.15);
    color: #0b6e8f;
    font-size: .78rem;
    font-weight: 800;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease, transform .18s ease, background-color .18s ease, color .18s ease;
}
.ptr-indicator.visible {
    opacity: 1;
}
.ptr-indicator.ready {
    background: #0e9f6e;
    border-color: #0b875c;
    color: #fff;
}
.ptr-arrow {
    display: inline-block;
    font-size: .95rem;
    transition: transform .18s ease;
}
.ptr-indicator.ready .ptr-arrow {
    transform: rotate(180deg);
}
@media (prefers-reduced-motion: reduce) {
    .nav-refresh-btn.is-reloading svg { animation: none; }
    .ptr-indicator, .ptr-arrow { transition: none; }
}

/* Aceleración de renderizado de listas largas fuera de pantalla */
body:not(.edit-mode) .transfer-block,
body:not(.edit-mode) .review-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 320px;
}
@media (min-width: 901px) {
    body:not(.edit-mode) #tours-content .grid-card {
        content-visibility: auto;
        contain-intrinsic-size: auto 360px;
    }
}
@supports not (content-visibility: auto) {
    body:not(.edit-mode) .transfer-block,
    body:not(.edit-mode) .review-card,
    body:not(.edit-mode) #tours-content .grid-card {
        contain: layout style;
    }
}
