:root {
  --bg: #faf6ee;
  --bg-tint: #f1eadc;
  --surface: #ffffff;
  --ink: #1d2a2e;
  --muted: #5b6a6e;
  --sea: #0d4552;
  --sea-deep: #082e38;
  --accent: #e08a2e;
  --accent-ink: #2a1600;
  --line: rgba(29, 42, 46, .12);
  --radius: 18px;
  --shadow: 0 10px 30px rgba(8, 46, 56, .12);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #11191b;
    --bg-tint: #172225;
    --surface: #1c292c;
    --ink: #eef2f1;
    --muted: #a3b2b5;
    --line: rgba(255, 255, 255, .12);
    --shadow: 0 10px 30px rgba(0, 0, 0, .4);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { font: 400 1.0625rem/1.7 var(--sans); background: var(--bg); color: var(--ink); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: .75rem; }
.wrap { width: min(1160px, 100% - 2.5rem); margin-inline: auto; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--accent); color: var(--accent-ink); padding: .5rem 1rem; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 600; color: var(--accent); margin-bottom: .6rem; }

/* NAV */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; color: #fff; }
.nav.is-solid { background: color-mix(in srgb, var(--sea-deep) 88%, transparent); backdrop-filter: blur(14px); box-shadow: 0 2px 20px rgba(0, 0, 0, .2); }
.nav__inner { width: min(1160px, 100% - 2.5rem); margin-inline: auto; height: 68px; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font-size: 1.1rem; }
.nav__links { display: flex; gap: .25rem; margin-left: auto; }
.nav__links a { text-decoration: none; padding: .45rem .85rem; border-radius: 99px; font-weight: 500; font-size: .95rem; opacity: .92; transition: background .2s; }
.nav__links a:hover, .nav__links a.is-active { background: rgba(255, 255, 255, .16); opacity: 1; }
.nav__tools { display: flex; align-items: center; gap: .5rem; }
.lang { display: flex; gap: 2px; padding: 3px; border-radius: 99px; background: rgba(255, 255, 255, .14); }
.lang button { display: flex; align-items: center; gap: .35rem; background: none; border: 0; color: inherit; font: 600 .75rem var(--sans); padding: .35rem .6rem; border-radius: 99px; cursor: pointer; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--sea-deep); }
.lang img { border-radius: 2px; }
.burger { display: none; width: 42px; height: 42px; background: rgba(255, 255, 255, .14); border: 0; border-radius: 12px; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: #fff; border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }

/* HERO */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--sea-deep); }
.hero__slides, .hero__shade { position: absolute; inset: 0; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.02); transition: opacity 1.6s ease; }
.hero__slides img.is-on { opacity: 1; animation: kb 14s ease-out forwards; }
@keyframes kb { to { transform: scale(1.12); } }
.hero__shade { background: linear-gradient(180deg, rgba(8, 46, 56, .55) 0%, rgba(8, 46, 56, .1) 35%, rgba(8, 46, 56, .75) 100%); }
.hero__content { position: relative; width: min(1160px, 100% - 2.5rem); margin: 0 auto; padding: 8rem 0 6rem; max-width: 1160px; }
.hero h1 { font-size: clamp(2.4rem, 7vw, 5.2rem); max-width: 15ch; text-wrap: balance; }
.hero__lead { max-width: 52ch; margin: 1.2rem 0 2rem; font-size: clamp(1.05rem, 2vw, 1.3rem); opacity: .94; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero__scroll { position: absolute; bottom: 1.6rem; left: 50%; width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 14px; transform: translateX(-50%); }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 4px; animation: dot 1.8s infinite; }
@keyframes dot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 99px; border: 2px solid transparent; font: 600 1rem var(--sans); text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 8px 22px rgba(224, 138, 46, .35); }
.btn--ghost { border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .14); }
.btn--light { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn--light:hover { background: rgba(255, 255, 255, .22); }

/* FACTS */
.facts { background: var(--sea); color: #fff; }
.facts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.8rem 0; text-align: center; }
.facts strong { display: block; font: 600 clamp(1.4rem, 3vw, 2.1rem)/1.1 var(--serif); }
.facts span { font-size: .88rem; opacity: .8; }

/* SECTIONS */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section--tint { background: var(--bg-tint); }
.section__head { max-width: 62ch; margin-bottom: 2.2rem; }
.section__head p:last-child { color: var(--muted); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

.about { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about__text p:not(.eyebrow) { color: var(--muted); font-size: 1.12rem; }
.about__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px 120px 28px 28px; box-shadow: var(--shadow); }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips li { padding: .4rem .95rem; border-radius: 99px; background: var(--bg-tint); border: 1px solid var(--line); font-size: .9rem; font-weight: 500; }

/* ROOMS */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.filters button { padding: .5rem 1.05rem; border-radius: 99px; border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 500 .92rem var(--sans); cursor: pointer; transition: all .2s; }
.filters button[aria-pressed="true"] { background: var(--sea); color: #fff; border-color: var(--sea); }
.rooms { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.5rem; }
.room { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s; }
.room:hover { transform: translateY(-4px); }
.room.is-hidden { display: none; }
.room__media { position: relative; border: 0; padding: 0; cursor: zoom-in; background: var(--bg-tint); aspect-ratio: 4/4.4; overflow: hidden; }
.room__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.room:hover .room__media img { transform: scale(1.05); }
.room__count { position: absolute; right: .8rem; bottom: .8rem; background: rgba(8, 46, 56, .8); color: #fff; font-size: .78rem; font-weight: 600; padding: .25rem .65rem; border-radius: 99px; backdrop-filter: blur(6px); }
.room__body { padding: 1.2rem 1.3rem 1.4rem; display: grid; gap: .35rem; }
.room__title { font-size: 1.5rem; }
.room__type { font-weight: 500; }
.room__beds { color: var(--muted); font-size: .93rem; }
.room__tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .5rem; }
.tag { font-size: .75rem; font-weight: 600; padding: .2rem .6rem; border-radius: 99px; background: var(--bg-tint); }
.tag--accent { background: color-mix(in srgb, var(--accent) 22%, transparent); }
.room__thumbs { display: flex; gap: .4rem; padding: 0 1.3rem 1.3rem; margin-top: auto; }
.room__thumbs button { width: 52px; height: 52px; border: 2px solid transparent; border-radius: 10px; overflow: hidden; padding: 0; cursor: pointer; background: none; }
.room__thumbs button:hover { border-color: var(--accent); }
.room__thumbs img { width: 100%; height: 100%; object-fit: cover; }

.planner { margin-top: 3rem; padding: 1.6rem 1.8rem; border-radius: var(--radius); background: var(--sea); color: #fff; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 2rem; align-items: center; }
.planner h3 { font-size: 1.5rem; }
.planner p { opacity: .85; }
.planner__ctl { display: flex; align-items: center; gap: 1rem; }
.planner input[type=range] { flex: 1; accent-color: var(--accent); }
.planner output { font: 600 1.6rem var(--serif); min-width: 2.5ch; text-align: right; }
.planner__result { grid-column: 1 / -1; padding-top: .8rem; border-top: 1px solid rgba(255, 255, 255, .2); font-weight: 500; opacity: 1 !important; }

/* GALLERY */
.gallery { columns: 3; column-gap: 1rem; }
.gallery--3 { columns: 3; }
.gallery button { display: block; width: 100%; margin-bottom: 1rem; border: 0; padding: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; break-inside: avoid; background: var(--bg-tint); }
.gallery img { width: 100%; height: auto; transition: transform .5s, filter .3s; }
.gallery button:hover img { transform: scale(1.04); filter: brightness(1.05); }

/* CONTACT */
.section--sea { background: radial-gradient(1200px 500px at 90% -10%, #176275 0%, transparent 60%), var(--sea-deep); color: #fff; }
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact__info p:not(.eyebrow) { opacity: .88; }
.contact__info a { color: var(--accent); }
.contact__quick { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0; }
.contact__quick a { color: #fff; }
.contact address { font-style: normal; opacity: .85; }
.form { display: grid; gap: 1rem; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .15); padding: clamp(1.2rem, 3vw, 2rem); border-radius: 24px; backdrop-filter: blur(8px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 500; opacity: .95; }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem var(--sans); color: #fff; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .25); border-radius: 12px; padding: .75rem .9rem; }
.form select option { color: #111; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); border-color: transparent; }
.form input[aria-invalid="true"], .form textarea[aria-invalid="true"] { border-color: #ff8a80; }
.form textarea { resize: vertical; }
.form input::-webkit-calendar-picker-indicator { filter: invert(1); }
.form .btn { justify-self: start; }
.form__note { min-height: 1.4em; font-size: .92rem; }

.map__frame { position: relative; height: 380px; background: var(--bg-tint); }
.map__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__load { position: absolute; inset: 0; width: 100%; border: 0; cursor: pointer; display: grid; place-content: center; gap: .2rem; text-align: center; font: 600 1.15rem var(--sans); color: var(--ink); background: repeating-linear-gradient(45deg, var(--bg-tint), var(--bg-tint) 14px, var(--bg) 14px, var(--bg) 28px); }
.map__load small { font-weight: 400; color: var(--muted); }

.footer { background: var(--sea-deep); color: rgba(255, 255, 255, .8); font-size: .9rem; }
.footer__inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.4rem 0; }

/* LIGHTBOX */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(5, 15, 18, .94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lb[hidden] { display: none; }
.lb__fig { display: grid; justify-items: center; gap: .6rem; min-width: 0; }
.lb__fig img { max-width: 100%; max-height: 86vh; border-radius: 10px; object-fit: contain; }
.lb__fig figcaption { color: #fff; opacity: .8; font-size: .9rem; }
.lb button { background: rgba(255, 255, 255, .12); color: #fff; border: 0; cursor: pointer; border-radius: 50%; width: 46px; height: 46px; font-size: 1.8rem; line-height: 1; justify-self: center; transition: background .2s; }
.lb button:hover { background: rgba(255, 255, 255, .25); }
.lb__close { position: absolute; top: 14px; right: 14px; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .burger { display: block; }
  .nav__links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; background: var(--sea-deep); padding: .8rem 1.25rem 1.4rem; transform: translateY(-120%); transition: transform .3s; margin: 0; }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: .8rem 1rem; font-size: 1.05rem; }
  .nav__tools { margin-left: auto; }
  .nav.is-open { background: var(--sea-deep); }
  .about, .contact, .planner { grid-template-columns: 1fr; }
  .about__photo { order: -1; }
  .about__photo img { aspect-ratio: 4/3; border-radius: 28px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery, .gallery--3 { columns: 2; }
}
@media (max-width: 560px) {
  .lang span { display: none; }
  .form__row { grid-template-columns: 1fr; }
  .gallery, .gallery--3 { columns: 2; column-gap: .6rem; }
  .gallery button { margin-bottom: .6rem; }
  .lb { grid-template-columns: 1fr; }
  .lb__nav { position: absolute; top: 50%; z-index: 2; }
  .lb__nav--prev { left: 8px; } .lb__nav--next { right: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
