:root {
    --green-950: #123c35;
    --green-700: #2f6f5f;
    --sand-100: #f6efe6;
    --sand-300: #dfc7a3;
    --terracotta: #b96f4b;
    --blue-sea: #2e7f91;
    --ink: #26352d;
    --muted: #6d756d;
    --line: #eadfd2;
    --white: #ffffff;
    --shadow: 0 22px 55px rgba(18, 60, 53, .18);
    --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
    --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; background: var(--white); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
.shell { width: min(1160px, calc(100% - 36px)); margin-inline: auto; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 50; padding: 10px 14px; color: var(--white); background: var(--green-950); }
.skip-link:focus { top: 16px; }

.topbar { color: var(--white); background: linear-gradient(90deg, var(--green-950), var(--green-700)); font-size: .88rem; font-weight: 800; }
.topbar__inner { min-height: 36px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.nav-shell { position: sticky; top: 0; z-index: 30; padding: 14px 0; background: rgba(255,255,255,.96); box-shadow: 0 8px 24px rgba(18,60,53,.12); backdrop-filter: blur(14px); }
.nav-shell__inner { min-height: 72px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px; }
.brand, .footer-brand { display: inline-flex; align-items: center; gap: 12px; color: var(--green-950); font-family: var(--serif); font-size: 1.45rem; font-weight: 700; }
.brand img { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; }
.main-nav { justify-self: end; display: flex; align-items: center; gap: 6px; }
.main-nav a { border-radius: 999px; padding: 9px 15px; color: var(--green-950); font-size: .84rem; font-weight: 900; text-transform: uppercase; }
.main-nav a:hover, .main-nav a.is-active { color: var(--white); background: var(--green-950); }
.lang-switch { display: flex; gap: 4px; }
.lang-switch a { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; border: 2px solid transparent; background: var(--sand-100); }
.lang-switch a.is-active { border-color: var(--terracotta); background: var(--white); }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--green-950); }
.menu-toggle span { display: block; width: 19px; height: 2px; margin: 4px auto; background: var(--white); }

.hero, .page-hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(135deg, rgba(18,60,53,.96), rgba(47,111,95,.8)); }
.hero { min-height: 720px; display: grid; align-items: center; padding: 90px 0 130px; }
.hero__media { position: absolute; inset: 0; opacity: .42; background: url("../img/gallery/deck-hero.webp") center/cover; animation: drift 16s ease-in-out infinite alternate; }
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr); align-items: center; gap: 46px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--sand-300); font-size: .8rem; font-weight: 900; text-transform: uppercase; }
.eyebrow::after { content: ""; width: 42px; height: 3px; border-radius: 4px; background: currentColor; }
h1, h2 { letter-spacing: 0; }
.hero h1, .page-hero h1 { margin: 12px 0 18px; font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 5.1rem); line-height: .96; }
.hero p, .page-hero p { max-width: 90%; margin: 0; color: rgba(255,255,255,.9); font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.btn { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 0; border-radius: 999px; padding: 12px 22px; font-weight: 900; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: var(--white); background: var(--terracotta); box-shadow: 0 12px 26px rgba(185,111,75,.28); }
.btn--ghost { color: var(--white); border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.12); }
.btn--light { color: var(--green-950); background: var(--white); }
.booking-card { border-radius: 8px 80px 8px 80px; padding: 26px; background: rgba(255,255,255,.94); box-shadow: var(--shadow); color: var(--ink); }
.booking-card h2 { margin: 0 0 16px; color: var(--green-950); font-family: var(--serif); font-size: 2rem; }
.booking-mini { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
label { font-weight: 800; }
input, select, textarea { width: 100%; border: 2px solid transparent; border-radius: 8px; padding: 12px 13px; color: var(--ink); background: var(--sand-100); font: inherit; outline: none; }
input:focus, select:focus, textarea:focus { border-color: var(--terracotta); background: var(--white); }
.wave { position: absolute; right: 0; bottom: -1px; left: 0; width: 100%; height: 110px; fill: var(--white); }

.section { padding: 92px 0; }
.section--soft { background: linear-gradient(180deg, var(--sand-100), rgba(246,239,230,.5)); }
.split { display: grid; grid-template-columns: minmax(0,.95fr) minmax(320px,1.05fr); align-items: center; gap: 56px; }
.section-heading { max-width: 780px; margin: 0 auto 42px; text-align: center; }
.section-heading h2, .split h2, .suite-card h3, .booking-layout h2 { margin: 10px 0 14px; color: var(--green-950); font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.05; }
.section-heading p, .split p, .suite-card p { color: var(--muted); }
.image-panel { overflow: hidden; border-radius: 8px 80px 8px 80px; box-shadow: var(--shadow); }
.image-panel img { width: 100%; min-height: 420px; object-fit: cover; }
.suite-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 24px; }
.suite-card { border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: var(--white); box-shadow: 0 14px 40px rgba(18,60,53,.08); transition: transform .25s ease, box-shadow .25s ease; }
.suite-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.suite-card img { width: 100%; height: 300px; object-fit: cover; }
.suite-card__body { padding: 24px; }
.feature-list { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0; padding: 0; list-style: none; }
.feature-list li { border-radius: 999px; padding: 6px 10px; color: var(--green-950); background: var(--sand-100); font-weight: 800; font-size: .84rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.gallery-grid img { width: 100%; height: 210px; object-fit: cover; border-radius: 8px; cursor: zoom-in; }
.destination-band { color: var(--white); background: linear-gradient(90deg, rgba(18,60,53,.94), rgba(46,127,145,.62)), url("../img/gallery/deck-hero.webp") center/cover; }
.destination-band h2, .destination-band p { color: var(--white); }

.page-hero { padding: 105px 0 130px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero .eyebrow::after { display: none; }
.page-hero p { margin-inline: auto; text-align: center; }
.booking-layout { display: grid; grid-template-columns: minmax(0,1fr) 360px; gap: 28px; align-items: start; }
.reservation-form, .summary-box, .status-card, .admin-card { border: 1px solid var(--line); border-radius: 8px; padding: 28px; background: var(--white); box-shadow: var(--shadow); }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.reservation-form label { display: grid; gap: 7px; margin-bottom: 14px; }
.summary-box { position: sticky; top: 126px; }
.price-line { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding: 10px 0; }
.price-line strong { color: var(--green-950); }
.payment-options { display: grid; gap: 10px; margin: 18px 0; }
.payment-options span { border: 1px solid var(--line); border-radius: 8px; padding: 12px; background: var(--sand-100); font-weight: 900; }
.alert { border-radius: 8px; padding: 12px 14px; margin-bottom: 16px; font-weight: 800; }
.alert--ok { color: #0b523f; background: #d9fff3; }
.alert--error { color: #8c251b; background: #ffe5df; }

.site-footer { color: var(--white); background: linear-gradient(90deg, var(--green-950), var(--green-700)); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .9fr 1fr .8fr; gap: 32px; padding: 64px 0; }
.footer-brand { color: var(--white); margin-bottom: 14px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; }
.site-footer p, .footer-list { color: rgba(255,255,255,.8); }
.site-footer h2 { margin: 0 0 14px; color: var(--sand-300); font-size: 1rem; }
.footer-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.text-link, .footer-list a:hover { color: var(--sand-300); font-weight: 900; }
.footer-bottom { padding: 16px; background: #0b2722; text-align: center; font-weight: 800; }
.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 40; border-radius: 999px; padding: 14px 18px; color: var(--white); background: #1fb655; box-shadow: 0 14px 38px rgba(0,0,0,.24); font-weight: 900; }
.gallery-modal { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 24px; background: rgba(0,0,0,.76); }
.gallery-modal.is-open { display: grid; }
.gallery-modal img { max-height: 88vh; border-radius: 8px; box-shadow: var(--shadow); }
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes drift { from { transform: scale(1.04) translateX(-1%); } to { transform: scale(1.1) translateX(1.5%); } }

@media (max-width: 920px) {
    .topbar__inner { justify-content: center; flex-wrap: wrap; padding: 8px 0; }
    .nav-shell__inner { grid-template-columns: auto auto auto; }
    .menu-toggle { display: block; justify-self: end; }
    .main-nav { position: absolute; top: 100%; right: 0; left: 0; display: none; grid-column: 1 / -1; padding: 16px 18px 22px; background: var(--white); box-shadow: 0 18px 30px rgba(18,60,53,.14); }
    .main-nav.is-open { display: grid; }
    .main-nav a { border-radius: 8px; padding: 12px; }
    .hero, .page-hero { min-height: auto; padding: 68px 0 116px; }
    .hero__grid, .split, .booking-layout { grid-template-columns: 1fr; }
    .suite-grid, .footer-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .summary-box { position: static; }
}

@media (max-width: 560px) {
    .shell { width: min(100% - 26px, 1160px); }
    .brand span { font-size: 1.1rem; }
    .booking-mini, .form-row, .gallery-grid { grid-template-columns: 1fr; }
    .hero h1, .page-hero h1 { font-size: 2.35rem; }
    .hero__actions { flex-direction: column; }
    .btn { width: 100%; }
}
