:root {
    --bg: #edf3f3;
    --surface: #ffffff;
    --text: #0c2a2d;
    --muted: #55696b;
    --line: #d3e0e0;
    --brand: #0e6b6f;
    --brand-2: #17a2a4;
    --accent: #ffc83d;
    --accent-ink: #231a00;
    --radius: 18px;
    --shadow: 0 1px 2px rgba(12, 42, 45, .06), 0 10px 28px rgba(12, 42, 45, .07);
}
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0a1a1c;
        --surface: #11292c;
        --text: #e6f2f2;
        --muted: #92b0b2;
        --line: #1f3d41;
        --brand: #38b8bb;
        --brand-2: #17a2a4;
        --shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 28px rgba(0, 0, 0, .35);
    }
}

body { font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
h1, h2, h3, .brand, .price { font-family: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
h1 { font-weight: 800; letter-spacing: -.025em; }
h2 { font-weight: 750; letter-spacing: -.02em; }
.prose { max-width: 70ch; }
.prose p, .prose li { line-height: 1.75; }
.prose h3 { margin-top: 1.4em; font-size: 1.05rem; }
a { color: var(--brand); }

.site-header { background: color-mix(in srgb, var(--surface) 92%, transparent); }
.brand-mark { background: var(--brand); position: relative; border-radius: 9px; }
.brand-mark::after { content: ""; position: absolute; inset: 7px 9px; border-radius: 50%; background: var(--accent); }
.header-search input { border-radius: 999px 0 0 999px; background: var(--bg); }
.header-search button { background: var(--brand); color: #fff; }
.main-nav a, .dd summary { font-weight: 600; }

.btn { border-radius: 12px; min-height: 44px; transition: background-color .15s, transform .1s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgba(0, 0, 0, .12); }
.btn-primary:hover { background: #ffd666; }
.btn-ghost { border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); }
:focus-visible { outline: 3px solid var(--brand-2); outline-offset: 3px; }

.hero { background: radial-gradient(900px 380px at 85% -20%, rgba(255, 200, 61, .28), transparent 70%), linear-gradient(150deg, #0a3a3d 0%, #0e6b6f 62%, #12898c 100%); }
.hero h1 { max-width: 18ch; font-size: clamp(2.1rem, 4.6vw + .6rem, 3.6rem); }
.eyebrow { text-transform: none; letter-spacing: 0; font-size: .95rem; opacity: .9; }
.hero-search { border-radius: 16px; padding: 7px; }
.hero-search .btn { border-radius: 11px; }
.chip { background: rgba(255, 255, 255, .12); }
.chip-sm { background: color-mix(in srgb, var(--brand) 8%, var(--surface)); color: var(--brand); }

.card { border-radius: var(--radius); transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(12, 42, 45, .08), 0 18px 38px rgba(12, 42, 45, .14); }
.card-media { overflow: hidden; background: linear-gradient(135deg, color-mix(in srgb, var(--brand) 25%, var(--surface)), color-mix(in srgb, var(--accent) 30%, var(--surface))); }
.card-media img { transition: transform .5s ease; }
.card:hover .card-media img { transform: scale(1.05); }
.card-place { text-transform: none; letter-spacing: 0; font-size: .85rem; }
.card-title { font-size: 1.08rem; font-weight: 700; }
.card .price { color: var(--brand); }
.badge-deal { background: var(--accent); color: var(--accent-ink); border-radius: 8px; }
.table th { text-transform: none; letter-spacing: 0; font-size: .85rem; }

.dest { border-radius: 16px; border: 1px solid var(--line); box-shadow: none; transition: border-color .15s, transform .15s; }
.dest:hover { background: var(--surface); border-color: var(--brand); transform: translateY(-2px); }
.steps li::before { background: var(--accent); color: var(--accent-ink); border-radius: 10px; }

.page-head { padding-top: 22px; }
.page-head h1 { margin-bottom: .25em; }
.side-card, .booking section, .filters form { border-radius: var(--radius); }

.gx { margin: 0 0 22px; }
.gx-stage { position: relative; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--brand) 14%, var(--surface)); box-shadow: var(--shadow); }
.gx-track { list-style: none; margin: 0; padding: 0; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.gx-track::-webkit-scrollbar { display: none; }
.gx-track:focus-visible { outline-offset: -3px; }
.gx-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; aspect-ratio: 16 / 9; }
.gx-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gx-open img { width: 100%; height: 100%; object-fit: cover; }
.gx-slide.is-broken .gx-open::after { content: "Photo not available"; display: grid; place-items: center; height: 100%; color: var(--muted); }
.gx-slide.is-broken img { display: none; }
.gx-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .92); color: #0c2a2d; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); cursor: pointer; transition: opacity .15s, transform .15s; }
.gx-nav:hover { transform: translateY(-50%) scale(1.07); }
.gx-nav:disabled { opacity: 0; pointer-events: none; }
.gx-prev { left: 14px; }
.gx-next { right: 14px; }
.gx-count, .gx-zoom { position: absolute; bottom: 14px; font-size: .85rem; font-weight: 600; border-radius: 999px; background: rgba(8, 28, 30, .72); color: #fff; backdrop-filter: blur(6px); }
.gx-count { left: 14px; padding: 5px 12px; font-variant-numeric: tabular-nums; }
.gx-zoom { right: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 0; cursor: pointer; font-family: inherit; }
.gx-zoom:hover { background: rgba(8, 28, 30, .9); }
.gx-thumbs { list-style: none; margin: 10px 0 0; padding: 2px; display: flex; gap: 8px; overflow-x: auto; scrollbar-width: thin; }
.gx-thumb { display: block; width: 92px; height: 62px; padding: 0; border: 0; border-radius: 12px; overflow: hidden; cursor: pointer; opacity: .6; outline: 2px solid transparent; outline-offset: 2px; transition: opacity .15s, outline-color .15s; background: var(--line); }
.gx-thumb:hover { opacity: .9; }
.gx-thumb.is-on { opacity: 1; outline-color: var(--accent); }
.gx-thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 700px) {
    .gx-stage { border-radius: 16px; }
    .gx-slide { aspect-ratio: 4 / 3; }
    .gx-nav { width: 40px; height: 40px; }
    .gx-prev { left: 8px; }
    .gx-next { right: 8px; }
    .gx-thumb { width: 72px; height: 50px; border-radius: 10px; }
}
@media (hover: none) { .gx-nav { opacity: .85; } }

.lb { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; background: rgba(4, 14, 15, .96); color: #fff; }
.lb[open] { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; }
.lb::backdrop { background: rgba(4, 14, 15, .96); }
.lb-bar { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.lb-count { font-variant-numeric: tabular-nums; font-weight: 600; opacity: .9; }
.lb-stage { position: relative; display: flex; align-items: center; justify-content: center; min-height: 0; padding: 0 64px 16px; }
.lb-img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; touch-action: pan-y; transition: opacity .2s; user-select: none; }
.lb-img.is-loading { opacity: .25; }
.lb-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; transition: background-color .15s; }
.lb-btn:hover { background: rgba(255, 255, 255, .26); }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 8px; }
.lb-next { right: 8px; }
.lb-cap { margin: 0; padding: 12px 24px 20px; text-align: center; min-height: 1.5em; opacity: .9; }
@media (max-width: 700px) {
    .lb-stage { padding: 0 0 8px; }
    .lb-prev, .lb-next { top: auto; bottom: 8px; transform: none; }
    .lb-cap { padding-bottom: 64px; }
}

.product-list { gap: 14px; }
.product-row { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: stretch; gap: 0; padding: 0; border-radius: var(--radius); overflow: visible; }
.product-row > div:first-child { padding: 18px 22px; }
.product-row h3 a { color: var(--text); }
.product-row h3 a:hover { color: var(--brand); text-decoration: none; }
.product-cta { position: relative; flex-direction: column; justify-content: center; align-items: flex-end; gap: 10px; padding: 18px 22px; min-width: 190px; border-left: 2px dashed var(--line); }
.product-cta::before, .product-cta::after { content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px transparent; }
.product-cta::before { top: -10px; }
.product-cta::after { bottom: -10px; }
.product-cta .price { color: var(--brand); font-size: 1.25rem; }
@media (max-width: 560px) {
    .product-row { grid-template-columns: 1fr; }
    .product-cta { flex-direction: row; justify-content: space-between; align-items: center; border-left: 0; border-top: 2px dashed var(--line); min-width: 0; }
    .product-cta::before, .product-cta::after { top: -11px; bottom: auto; }
    .product-cta::before { left: -10px; }
    .product-cta::after { left: auto; right: -10px; }
}

.cal-cell { border-radius: 12px; }
.cal-on { border-color: color-mix(in srgb, var(--brand) 55%, var(--line)); }
.cal-on.is-selected { background: var(--brand); border-color: var(--brand); }
.cal-on .cal-price { color: var(--brand); font-weight: 700; }
.cal-on.is-selected .cal-price { color: #fff; }
.slots label { border-radius: 12px; }
.book-bar { border-radius: var(--radius); border: 1px solid var(--line); }

.mobile-cta { display: none; }
@media (max-width: 900px) {
    .mobile-cta { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(12, 42, 45, .12); }
    .mobile-cta .price { color: var(--brand); }
    .mobile-cta small { display: block; color: var(--muted); line-height: 1.1; }
    body:has(.mobile-cta) { padding-bottom: 76px; }
    body:has(#book-bar:not([hidden])) .mobile-cta { display: none; }
}

.content, .side, .gx, .gx-stage { min-width: 0; }
@media (max-width: 900px) {
    .layout-main, .layout-sidebar { grid-template-columns: minmax(0, 1fr); }
}

.notice.info { background: color-mix(in srgb, var(--brand) 10%, var(--surface)); color: var(--text); border: 1px solid color-mix(in srgb, var(--brand) 30%, var(--line)); }
.notice-card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; margin-top: 24px; border-left: 5px solid var(--accent); }
.notice-card h2 { margin-top: 0; font-size: 1.25rem; }
.notice-card p { max-width: 62ch; }
