/* Terra Verde - Oia, Santorini */
:root {
  --cream: #f7f0e6;
  --sand: #ecdfcd;
  --ink: #2a1c15;
  --ink-soft: #5b4a40;
  --terra: #b4532e;
  --terra-dark: #8f3f21;
  --ochre: #c8913f;
  --verde: #4b5a3d;
  --verde-dark: #333f29;
  --line: rgba(42, 28, 21, .14);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.15; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }

.eyebrow {
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--terra); font-weight: 600; margin-bottom: 14px;
}
.section { padding: 96px 0; }
.section h2 { font-size: clamp(32px, 4.4vw, 50px); margin-bottom: 22px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 62ch; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border: 1px solid transparent; border-radius: 2px;
  font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; transition: background .2s, color .2s, border-color .2s;
}
.btn-solid { background: var(--terra); color: #fff; }
.btn-solid:hover { background: var(--terra-dark); }
.btn-ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn-ghost:hover { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.btn-light { border-color: rgba(255,255,255,.75); color: #fff; background: transparent; }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 12px; letter-spacing: .12em; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: #fff; transition: background .25s, color .25s, box-shadow .25s;
}
.site-header.solid { background: var(--cream); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { text-decoration: none; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 25px; letter-spacing: .2em; display: block; }
.brand-sub { font-size: 10px; letter-spacing: .34em; text-transform: uppercase; opacity: .85; display: block; margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav a.nav-link {
  text-decoration: none; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  padding: 6px 0; border-bottom: 1px solid transparent;
}
.nav a.nav-link:hover { border-bottom-color: currentColor; }
.lang { display: flex; gap: 2px; font-size: 12px; font-weight: 600; letter-spacing: .1em; }
.lang button { background: none; border: 0; color: inherit; padding: 6px 7px; opacity: .6; }
.lang button[aria-pressed="true"] { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.header-book { border-color: currentColor; }
.site-header:not(.solid) .header-book:hover { background: #fff; color: var(--ink); border-color: #fff; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px 0; }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; color: #fff; background: var(--ink); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,8,.55) 0%, rgba(20,12,8,.08) 32%, rgba(20,12,8,.2) 55%, rgba(20,12,8,.82) 100%);
}
.hero-content { position: relative; z-index: 1; padding: 0 0 84px; }
.hero .eyebrow { color: #f1d3a6; }
.hero h1 { font-size: clamp(54px, 10.5vw, 132px); letter-spacing: .1em; text-transform: uppercase; }
.hero-tag { line-height: 1.3; font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.6vw, 28px); margin: 14px 0 34px; max-width: 30ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* Intro */
.intro-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.intro-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.intro-photos img { width: 100%; aspect-ratio: 3/4; object-fit: cover; background: var(--sand); }
.intro-photos img:last-child { margin-top: 44px; }
.facts { list-style: none; padding: 0; margin: 38px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.facts li { padding: 22px 18px 0 0; }
.facts strong { display: block; font-family: var(--serif); font-weight: 400; font-size: 38px; line-height: 1; color: var(--terra); }
.facts span { display: block; margin-top: 8px; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* Suites */
.suites { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; margin-bottom: 44px; }
.section-head h2 { margin-bottom: 0; }
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px 26px; }
.room { background: var(--cream); display: flex; flex-direction: column; }
.room-photo { position: relative; border: 0; padding: 0; background: var(--ink); overflow: hidden; aspect-ratio: 4/3; display: block; width: 100%; }
.room-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, opacity .3s; }
.room-photo:hover img { transform: scale(1.04); opacity: .92; }
.room-count {
  position: absolute; right: 12px; bottom: 12px; background: rgba(20,12,8,.72); color: #fff;
  font-size: 12px; letter-spacing: .08em; padding: 5px 10px; border-radius: 2px;
}
.room-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.room h3 { font-size: 24px; margin-bottom: 8px; }
.room-meta { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--verde); font-weight: 600; margin-bottom: 20px; }
.room-actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; }

/* Gallery */
.gallery-grid { columns: 4 240px; column-gap: 12px; }
.gallery-grid button { display: block; width: 100%; padding: 0; border: 0; margin: 0 0 12px; background: var(--sand); break-inside: avoid; overflow: hidden; }
.gallery-grid img { width: 100%; height: auto; transition: opacity .25s; }
.gallery-grid button:hover img { opacity: .85; }
.gallery-grid.collapsed button:nth-child(n+13) { display: none; }
.center { text-align: center; margin-top: 30px; }

/* Location */
.location { background: var(--verde-dark); color: #f3ecdf; }
.location .eyebrow { color: #d9b77c; }
.location .lead { color: rgba(243,236,223,.82); }
.loc-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: stretch; }
.loc-address { font-style: normal; margin: 26px 0 28px; padding-left: 18px; border-left: 2px solid var(--ochre); }
.map { position: relative; min-height: 420px; background: #27311f; display: grid; place-items: center; overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent { text-align: center; padding: 30px; max-width: 40ch; }
.map-consent p { font-size: 15px; color: rgba(243,236,223,.8); }

/* Booking band */
.book-band { background: var(--terra); color: #fff; text-align: center; padding: 84px 0; }
.book-band h2 { font-size: clamp(30px, 4.2vw, 46px); margin-bottom: 14px; }
.book-band p { max-width: 56ch; margin: 0 auto 30px; opacity: .92; }
.book-band .btn-light:hover { color: var(--terra-dark); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 44px; }
.contact-grid h3 { font-size: 13px; font-family: var(--sans); font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--terra); margin-bottom: 14px; }
.contact-grid address { font-style: normal; }
.contact-grid a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-grid a:hover { border-bottom-color: var(--terra); color: var(--terra); }
.contact-grid ul { list-style: none; padding: 0; margin: 0; }
.contact-grid li { margin-bottom: 6px; }

/* Footer */
.site-footer { background: var(--ink); color: rgba(247,240,230,.72); padding: 34px 0; font-size: 14px; }
.footer-inner { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
.site-footer a { color: inherit; text-decoration: none; border-bottom: 1px solid rgba(247,240,230,.3); }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-links button { background: none; border: 0; padding: 0; color: inherit; border-bottom: 1px solid rgba(247,240,230,.3); }

/* Lightbox */
.lb { position: fixed; inset: 0; z-index: 100; background: rgba(16,10,7,.96); display: none; grid-template-rows: auto 1fr auto; color: #fff; }
.lb.open { display: grid; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; gap: 16px; }
.lb-title { font-family: var(--serif); font-size: 20px; }
.lb-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 64px; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; min-height: 0; }
.lb-btn { background: none; border: 0; color: #fff; font-size: 30px; line-height: 1; padding: 10px 14px; opacity: .8; }
.lb-btn:hover { opacity: 1; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 44px; }
.lb-prev { left: 8px; } .lb-next { right: 8px; }
.lb-bottom { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; gap: 16px; font-size: 14px; letter-spacing: .1em; }

/* Cookie banner */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90; max-width: 560px;
  background: var(--ink); color: var(--cream); padding: 20px 22px; border-radius: 3px;
  box-shadow: 0 12px 40px rgba(0,0,0,.3); font-size: 14px; display: none;
}
.cookie.show { display: block; }
.cookie p { margin-bottom: 14px; }
.cookie a { color: #f1d3a6; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie .btn-ghost:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }

/* Simple text page */
.page { padding: 140px 0 90px; }
.page h1 { font-size: clamp(34px, 5vw, 52px); margin-bottom: 26px; }
.page h2 { font-size: 26px; margin: 34px 0 10px; }
.page .wrap { max-width: 780px; }

@media (max-width: 980px) {
  .intro-grid, .loc-grid { grid-template-columns: 1fr; gap: 44px; }
  .room-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 16px;
    background: var(--cream); color: var(--ink); padding: 24px 20px 28px; box-shadow: 0 12px 30px rgba(0,0,0,.15);
    display: none;
  }
  .nav.open { display: flex; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .room-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
  .facts { grid-template-columns: 1fr; }
  .facts li { display: flex; align-items: baseline; gap: 14px; padding: 16px 0 0; }
  .facts span { margin: 0; }
  .hero-content { padding-bottom: 56px; }
  .lb-stage { padding: 0 8px; }
  .lb-prev, .lb-next { background: rgba(16,10,7,.5); }
  .brand-name { font-size: 21px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
