:root {
  --navy: #12344a;
  --navy-deep: #082433;
  --sea: #39778a;
  --foam: #eef5f3;
  --sand: #f5f0e5;
  --paper: #fffdf8;
  --rust: #a54c35;
  --ink: #24343c;
  --muted: #66757b;
  --line: rgba(18, 52, 74, .16);
  --shadow: 0 18px 55px rgba(8, 36, 51, .14);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font: 400 1rem/1.68 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 999; padding: .75rem 1rem; background: white; color: var(--navy); }
.skip-link:focus { top: 1rem; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  height: 76px; background: rgba(255,253,248,.96); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: flex; align-items: center; gap: .78rem; text-decoration: none; color: var(--navy); min-width: max-content; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 2px solid var(--navy); border-radius: 50%; font: 700 .82rem/1 Georgia, serif; letter-spacing: -.03em; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font: 700 1.12rem/1.05 Georgia, "Times New Roman", serif; }
.brand-copy small { margin-top: .25rem; color: var(--sea); font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 1.35rem; }
.nav a { color: var(--navy); text-decoration: none; font-size: .92rem; font-weight: 650; }
.nav a:hover, .nav a:focus-visible { color: var(--rust); }
.nav .nav-book { padding: .62rem .95rem; color: white; background: var(--rust); border-radius: 999px; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--navy); padding: .6rem; font-size: 1rem; font-weight: 700; }

.hero { position: relative; min-height: max(760px, 100svh); display: grid; color: white; background: var(--navy-deep); overflow: hidden; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; opacity: .72; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,24,35,.18) 16%, rgba(3,24,35,.34) 48%, rgba(3,24,35,.92) 100%); }
.hero-inner { position: relative; z-index: 1; width: min(1160px, calc(100% - 40px)); min-height: inherit; margin: 0 auto; padding: clamp(150px, 19vh, 190px) 0 64px; display: flex; flex-direction: column; justify-content: flex-end; }
.eyebrow { margin: 0 0 1rem; font-weight: 750; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: #d7eceb; }
h1, h2, h3 { color: var(--navy); font-family: Georgia, "Times New Roman", serif; line-height: 1.13; text-wrap: balance; }
h1 { max-width: 850px; margin: 0; color: white; font-size: clamp(3rem, 7vw, 6.4rem); letter-spacing: -.045em; }
.hero-lead { max-width: 650px; margin: 1.25rem 0 1.8rem; color: #f7fbfa; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: .45rem; min-height: 48px; padding: .77rem 1.15rem; border: 1px solid transparent; border-radius: 999px; text-decoration: none; font-weight: 750; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--rust); }
.button-light { color: var(--navy); background: white; }
.button-outline { color: var(--navy); border-color: var(--navy); }
.hero-facts { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; margin-top: 2rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.35); font-weight: 600; }
.hero-facts span::before { content: "•"; margin-right: .55rem; color: #b8e0df; }

section { padding: 96px 0; }
.section-sand { background: var(--sand); }
.section-sea { color: white; background: var(--navy); }
.section-head { display: grid; grid-template-columns: .72fr 1.28fr; gap: 3rem; align-items: start; margin-bottom: 2.6rem; }
.section-head h2 { margin: 0; font-size: clamp(2.25rem, 5vw, 4.3rem); letter-spacing: -.035em; }
.section-head p { margin: .35rem 0 0; max-width: 680px; color: var(--muted); font-size: 1.1rem; }
.section-sea h2, .section-sea h3 { color: white; }
.section-sea .section-head p { color: #d8e4e7; }

.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.intro-copy h2 { margin: 0 0 1.2rem; font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -.04em; }
.intro-copy p { color: var(--muted); font-size: 1.08rem; }
.detail-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin: 1.8rem 0; padding: 0; list-style: none; }
.detail-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); font-weight: 650; }
.photo-frame { position: relative; }
.photo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 48% 48% var(--radius) var(--radius); box-shadow: var(--shadow); }
.photo-frame .balcony-portrait { object-position: 72% center; }
.photo-note { position: absolute; right: -1rem; bottom: 1.5rem; padding: .9rem 1.1rem; background: var(--rust); color: white; border-radius: 12px; font: 700 1rem Georgia, serif; transform: rotate(-2deg); }

.amenities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.amenity { padding: 1.5rem; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.58); }
.amenity-number { color: var(--rust); font: 700 1.8rem Georgia, serif; }
.amenity h3 { margin: .5rem 0; font-size: 1.25rem; }
.amenity p { margin: 0; color: var(--muted); font-size: .95rem; }

.gallery { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: 210px; gap: .9rem; }
.gallery button { position: relative; padding: 0; border: 0; border-radius: 14px; background: #dce6e4; overflow: hidden; cursor: zoom-in; }
.gallery button:nth-child(1) { grid-column: span 7; grid-row: span 2; }
.gallery button:nth-child(2) { grid-column: span 5; }
.gallery button:nth-child(3) { grid-column: span 5; }
.gallery button:nth-child(4), .gallery button:nth-child(5), .gallery button:nth-child(6) { grid-column: span 4; }
.gallery button:nth-child(7) { grid-column: 3 / span 8; grid-row: span 2; background: white; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.gallery button:nth-child(7) img { object-fit: contain; padding: 1rem; }
.gallery button:hover img { transform: scale(1.025); }
.gallery-label { position: absolute; left: .7rem; bottom: .7rem; padding: .35rem .62rem; color: white; background: rgba(8,36,51,.82); border-radius: 999px; font-size: .78rem; font-weight: 700; }

.location-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; }
.location-grid h2 { margin: 0 0 1rem; font-size: clamp(2.4rem, 5vw, 4rem); }
.distance-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.2); border-radius: var(--radius); overflow: hidden; }
.distance { padding: 1.35rem; background: var(--navy); }
.distance strong { display: block; color: #bfe3e0; font: 700 1.85rem Georgia, serif; }
.distance span { color: #dbe7e9; }
.rules { display: grid; grid-template-columns: repeat(2, 1fr); gap: .8rem; margin-top: 1.4rem; }
.rule { padding: 1.25rem; border-radius: 14px; background: rgba(255,255,255,.08); }
.rule small { display: block; color: #bfe3e0; text-transform: uppercase; letter-spacing: .1em; }
.rule strong { display: block; margin-top: .25rem; color: white; }

.booking { position: relative; overflow: hidden; text-align: center; background: var(--foam); }
.booking::before, .booking::after { content: ""; position: absolute; width: 360px; height: 360px; border: 1px solid rgba(57,119,138,.24); border-radius: 50%; }
.booking::before { left: -180px; top: -210px; }
.booking::after { right: -210px; bottom: -230px; }
.booking-inner { position: relative; z-index: 1; max-width: 780px; margin: auto; }
.booking h2 { margin: 0 0 1rem; font-size: clamp(2.5rem, 5vw, 4.6rem); }
.booking p { color: var(--muted); font-size: 1.08rem; }
.booking .button { margin-top: 1rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; }
.contact-grid h2 { margin: 0 0 1rem; font-size: clamp(2.3rem, 5vw, 4rem); }
.contact-card { padding: 2rem; border: 1px solid var(--line); border-radius: var(--radius); background: white; box-shadow: var(--shadow); }
.contact-card address { font-style: normal; }
.contact-card a { color: var(--sea); font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .2em; }

.site-footer { padding: 42px 0; color: #dbe6e8; background: var(--navy-deep); }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; align-items: end; }
.footer-title { color: white; font: 700 1.25rem Georgia, serif; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: #dbe6e8; }
.footer-meta { margin-top: .5rem; font-size: .86rem; color: #9cb3ba; }

.legal-main { padding: 138px 0 80px; min-height: 75vh; }
.legal-main article { max-width: 840px; }
.legal-main h1 { color: var(--navy); font-size: clamp(2.7rem, 6vw, 5rem); }
.legal-main h2 { margin-top: 2.2rem; font-size: 1.55rem; }
.legal-main h3 { margin-top: 1.7rem; font-size: 1.15rem; }
.legal-note { padding: 1rem 1.2rem; border-left: 4px solid var(--sea); background: var(--foam); }

.lightbox { position: fixed; inset: 0; z-index: 300; display: none; align-items: center; justify-content: center; padding: 2rem; background: rgba(3,20,29,.94); }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 84vh; border-radius: 10px; object-fit: contain; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; width: 48px; height: 48px; border: 1px solid rgba(255,255,255,.5); border-radius: 50%; background: rgba(0,0,0,.25); color: white; font-size: 1.6rem; cursor: pointer; }
.lightbox-caption { position: fixed; left: 1rem; right: 1rem; bottom: .8rem; color: white; text-align: center; }

:focus-visible { outline: 3px solid #f2b14b; outline-offset: 3px; }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { position: fixed; left: 0; right: 0; top: 76px; display: none; padding: 1rem 20px 1.4rem; flex-direction: column; align-items: stretch; gap: .35rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: .7rem; }
  .nav .nav-book { text-align: center; margin-top: .35rem; }
  .hero { min-height: max(720px, 100svh); }
  .section-head, .intro-grid, .location-grid, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .section-head { margin-bottom: 2rem; }
  .intro-grid .photo-frame { max-width: 620px; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-auto-rows: 180px; }
  .gallery button:nth-child(n) { grid-column: span 6; grid-row: span 1; }
  .gallery button:nth-child(1), .gallery button:nth-child(7) { grid-column: span 12; grid-row: span 2; }
}

@media (max-width: 600px) {
  .container, .hero-inner { width: min(100% - 28px, 1160px); }
  .brand-copy small { display: none; }
  section { padding: 72px 0; }
  .hero { min-height: max(720px, 100svh); }
  .hero-inner { padding: 130px 0 52px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4.3rem); }
  .hero-actions .button { width: 100%; }
  .hero-facts { gap: .5rem 1rem; font-size: .9rem; }
  .detail-list, .amenities, .distance-grid, .rules { grid-template-columns: 1fr; }
  .photo-note { right: -.3rem; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery button:nth-child(n) { grid-column: 1; grid-row: span 1; }
  .gallery button:nth-child(1) { grid-row: span 2; }
  .footer-inner { align-items: start; flex-direction: column; }
}

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