:root {
    --ink: #162b30;
    --muted: #617377;
    --blue: #0b7285;
    --blue-dark: #075564;
    --gold: #c79b55;
    --sand: #f5f0e8;
    --cream: #fbf8f2;
    --white: #fff;
    --shadow: 0 18px 50px rgba(21, 48, 55, .13);
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Montserrat", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 78px; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 400 1rem/1.7 var(--sans); }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.sr-only, .honeypot { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; z-index: 100; top: -100px; left: 1rem; padding: .75rem 1rem; background: #fff; }
.skip-link:focus { top: 1rem; }

.site-header { position: fixed; z-index: 50; inset: 0 0 auto; display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: .65rem clamp(1rem, 4vw, 4.5rem); color: #fff; background: rgba(9, 37, 43, .36); border-bottom: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(8, 57, 67, .97); box-shadow: 0 8px 30px rgba(0,0,0,.14); }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 48px; aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; color: var(--gold); font: 700 1.25rem/1 var(--serif); }
.brand strong, .brand small { display: block; }
.brand strong { font: 600 1.35rem/1 var(--serif); letter-spacing: .02em; }
.brand small { margin-top: .28rem; font-size: .63rem; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: clamp(.8rem, 1.8vw, 1.8rem); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-book) { position: relative; padding: .7rem 0; }
.main-nav a:not(.nav-book)::after { content: ""; position: absolute; inset: auto 0 .35rem; height: 1px; background: var(--gold); transform: scaleX(0); transition: transform .2s; }
.main-nav a:hover::after, .main-nav a:focus-visible::after { transform: scaleX(1); }
.nav-book { padding: .72rem 1.05rem; border: 1px solid var(--gold); color: #fff; }
.menu-toggle { display: none; width: 46px; height: 42px; padding: 9px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 6px 0; background: #fff; }

.hero { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 8rem 1.25rem 5rem; color: #fff; text-align: center; background: linear-gradient(135deg, #205861, #8caeb0); background-image: var(--hero, url('../images/hero-hotel.jpg')); background-size: cover; background-position: center; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,31,37,.42), rgba(6,31,37,.26) 45%, rgba(6,31,37,.72)); }
.hero-content { position: relative; z-index: 1; width: min(900px, 100%); }
.eyebrow { margin: 0 0 .75rem; color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero h1 { margin: 0; font: 600 clamp(3.4rem, 10vw, 7.7rem)/.92 var(--serif); text-shadow: 0 4px 24px rgba(0,0,0,.23); }
.hero-subtitle { width: min(700px, 100%); margin: 1.3rem auto 2.2rem; font-size: clamp(1rem, 2vw, 1.25rem); }
.hero-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .8rem 1.35rem; border: 1px solid transparent; text-decoration: none; font-size: .78rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; cursor: pointer; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-ghost { border-color: rgba(255,255,255,.8); color: #fff; background: rgba(255,255,255,.06); }
.scroll-hint { position: absolute; z-index: 2; bottom: 1.5rem; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; }

.section { width: min(1180px, calc(100% - 2rem)); margin: 0 auto; padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section-heading { max-width: 720px; margin-bottom: 3rem; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading h2, .contact-details h2, .breakfast-band h2 { margin: 0; font: 600 clamp(2.6rem, 6vw, 4.6rem)/1 var(--serif); }
.section-heading > p:last-child { color: var(--muted); }
.intro-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 7vw, 6rem); align-items: center; }
.lead { font: 500 clamp(1.5rem, 3vw, 2rem)/1.35 var(--serif); }
.intro-copy > p:not(.eyebrow) { color: #43595e; }
.opening-card { display: flex; gap: 1rem; align-items: center; margin-top: 2rem; padding: 1.2rem 1.35rem; border-left: 3px solid var(--gold); background: #fff; box-shadow: 0 8px 32px rgba(20,52,58,.08); }
.opening-card svg { flex: none; color: var(--blue); }
.opening-card strong, .opening-card span { display: block; }
.opening-card span { color: var(--muted); font-size: .83rem; }
.feature-photo { position: relative; min-height: 540px; margin: 0; box-shadow: var(--shadow); }
.feature-photo::before, .room-photo::before, .activity-photo::before, .breakfast-photo::before, .gallery-item::before, .lightbox-image::before { content: ""; position: absolute; inset: 0; background-image: var(--image); background-size: cover; background-position: center; }
.image-fallback { position: relative; overflow: hidden; background: linear-gradient(145deg, #2d6871, #d7c4a7); }

.amenities { overflow: hidden; padding: 1.3rem 1rem; color: #fff; background: var(--blue-dark); }
.amenities-track { display: flex; justify-content: center; flex-wrap: wrap; gap: .4rem clamp(1.1rem, 3vw, 3rem); width: min(1300px, 100%); margin: auto; }
.amenity { display: flex; align-items: center; gap: .55rem; min-height: 52px; font-size: .75rem; font-weight: 600; text-transform: uppercase; }
.amenity svg { width: 20px; color: var(--gold); }

.rooms-section { width: min(1280px, calc(100% - 2rem)); }
.rooms-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.room-card { display: grid; grid-template-columns: minmax(180px, .9fr) 1.1fr; min-height: 330px; overflow: hidden; background: #fff; box-shadow: 0 12px 36px rgba(25,58,64,.1); }
.room-photo { min-height: 260px; }
.room-body { padding: clamp(1.4rem, 3vw, 2.2rem); }
.room-price { color: var(--gold); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.room-card h3, .activity-card h3 { margin: .35rem 0 .7rem; font: 600 1.75rem/1.1 var(--serif); }
.room-card p:not(.room-price), .activity-card p { color: var(--muted); font-size: .9rem; }
.room-card a { display: inline-flex; align-items: center; gap: .45rem; margin-top: .5rem; color: var(--blue); font-size: .74rem; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.room-card a svg { width: 16px; }

.breakfast-band { display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; color: #fff; background: #173f48; }
.breakfast-band > div:first-child { display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 8vw, 8rem); }
.breakfast-band p:last-child { max-width: 540px; color: #d8e2e2; }
.breakfast-photo { min-height: 380px; }

.activities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.activity-card { background: #fff; box-shadow: 0 10px 30px rgba(25,58,64,.08); }
.activity-photo { min-height: 220px; }
.activity-card > div:last-child { padding: 1.3rem 1.35rem 1.6rem; }
.activity-card h3 { font-size: 1.5rem; }

.gallery-section { padding: clamp(4rem, 8vw, 7rem) max(1rem, calc((100vw - 1280px)/2)); background: #123b43; }
.section-heading.light h2 { color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: .7rem; }
.gallery-item { border: 0; cursor: zoom-in; }
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 2; }
.gallery-item:nth-child(3) { grid-row: span 2; }

.contact-section { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2.5rem, 8vw, 7rem); }
.contact-details > p:not(.eyebrow) { color: var(--muted); }
.contact-details ul { display: grid; gap: 1.1rem; padding: 0; margin: 2rem 0; list-style: none; }
.contact-details li { display: flex; gap: .8rem; align-items: flex-start; }
.contact-details li svg { width: 20px; color: var(--gold); }
.contact-details li a { text-decoration: none; }
.contact-form { padding: clamp(1.5rem, 4vw, 3rem); background: #fff; box-shadow: var(--shadow); }
.contact-form label { display: grid; gap: .4rem; margin-bottom: 1rem; color: #315057; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; border: 1px solid #ccd8da; border-radius: 0; padding: .82rem .9rem; color: var(--ink); background: #fbfcfc; text-transform: none; }
.contact-form input:focus, .contact-form textarea:focus { outline: 2px solid rgba(11,114,133,.26); border-color: var(--blue); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-message { padding: .8rem 1rem; }
.form-message.success { color: #0b5f43; background: #e6f7ef; }
.form-message.error { color: #8a2330; background: #fdecef; }
.location-map { grid-column: 1 / -1; min-height: 430px; overflow: hidden; background: #dfe8e9; box-shadow: var(--shadow); }
.location-map iframe { display: block; width: 100%; height: 430px; border: 0; }

.site-footer { padding: 3.5rem 1rem 2rem; color: #dce8e9; text-align: center; background: #092d34; }
.footer-brand { justify-content: center; width: max-content; margin: auto; color: #fff; }
.site-footer > p { margin: 1.4rem auto; }
.copyright { color: #89a4a9; font-size: .75rem; }

.lightbox { width: min(1100px, 94vw); height: min(760px, 88vh); padding: 0; border: 0; background: #081d21; }
.lightbox::backdrop { background: rgba(0,0,0,.88); }
.lightbox-image { width: 100%; height: 100%; }
.lightbox button { position: absolute; z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; color: #fff; background: rgba(0,0,0,.45); cursor: pointer; }
.lightbox-close { top: 1rem; right: 1rem; }
.lightbox-prev { top: 50%; left: 1rem; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: 1rem; transform: translateY(-50%); }

@media (max-width: 1050px) {
    .menu-toggle { display: block; }
    .main-nav { position: fixed; inset: 0; display: grid; align-content: center; justify-items: center; gap: .5rem; padding: 5rem 1.5rem; background: rgba(7,56,66,.98); transform: translateX(100%); transition: transform .25s; }
    .main-nav.open { transform: translateX(0); }
    .main-nav a { font-size: 1rem; }
    .menu-toggle { position: relative; z-index: 2; }
    .activities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 780px) {
    html { scroll-padding-top: 68px; }
    .site-header { min-height: 68px; }
    .brand-mark { width: 42px; }
    .brand strong { font-size: 1.12rem; }
    .hero { min-height: 92svh; }
    .hero h1 { font-size: clamp(3.2rem, 18vw, 5.3rem); }
    .hero-actions { align-items: stretch; flex-direction: column; width: min(340px, 100%); margin: auto; }
    .intro-grid, .breakfast-band, .contact-section { grid-template-columns: 1fr; }
    .feature-photo { min-height: 420px; }
    .rooms-grid { grid-template-columns: 1fr; }
    .room-card { grid-template-columns: 1fr; }
    .room-photo { min-height: 280px; }
    .breakfast-band > div:first-child { padding: 4rem 1.5rem; }
    .breakfast-photo { min-height: 330px; order: -1; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; }
    .gallery-item:nth-child(3) { grid-row: auto; }
    .field-grid { grid-template-columns: 1fr; gap: 0; }
    .location-map, .location-map iframe { min-height: 360px; height: 360px; }
}

@media (max-width: 520px) {
    .brand small { display: none; }
    .section { width: min(100% - 2rem, 1180px); padding: 4rem 0; }
    .section-heading { margin-bottom: 2rem; }
    .activities-grid { grid-template-columns: 1fr; }
    .activity-card { display: grid; grid-template-columns: 42% 58%; }
    .activity-photo { min-height: 210px; }
    .gallery-grid { grid-auto-rows: 140px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
