/* ==========================================================================
   Holiday House Antica – stylesheet
   ========================================================================== */

/* ---------- Fonts (self-hosted, no third-party requests) ---------- */
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-400-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-500-normal.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-400-italic.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond";
  font-style: italic; font-weight: 400 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-ext-400-italic.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Jost";
  font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/jost-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Jost";
  font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("../fonts/jost-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #faf7f2;
  --surface: #ffffff;
  --sand: #f1eadf;
  --sand-deep: #e6dccb;
  --ink: #24211d;
  --muted: #6c655c;
  --line: #e2d9ca;
  --green: #2f5a46;          /* the green of the house shutters */
  --green-dark: #213f31;
  --sea: #2b5f74;
  --stone: #b9a98f;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 18px 50px -24px rgba(36, 33, 29, .35);
  --shadow-sm: 0 6px 20px -12px rgba(36, 33, 29, .3);
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.no-scroll { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
svg { flex-shrink: 0; }

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: 1.75rem; }
p { margin: 0 0 1.1em; }

:focus-visible { outline: 2px solid var(--sea); outline-offset: 3px; border-radius: 4px; }

.container { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }

.kicker {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: .9rem;
  display: flex;
  align-items: center;
  gap: .8rem;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.section { padding: clamp(4.5rem, 10vw, 7.5rem) 0; }
.section-head { max-width: 640px; margin-bottom: 2.75rem; }
.section-head p:last-child { color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 .95rem/1 var(--font-sans);
  letter-spacing: .04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; }
.btn-light { background: var(--bg); color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-outline-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-outline-light:hover { background: rgba(255,255,255,.12); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: var(--green-dark); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  color: #fff;
  transition: background-color .35s, color .35s, box-shadow .35s;
}
.site-header.is-scrolled,
.site-header.nav-open {
  background: rgba(250, 247, 242, .94);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }

.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1; }
.brand-sub { font-size: .66rem; letter-spacing: .32em; text-transform: uppercase; opacity: .85; }
.brand-name { font-family: var(--font-serif); font-size: 1.85rem; font-weight: 500; letter-spacing: .02em; margin-top: .15rem; }

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav > a {
  font-size: .92rem;
  letter-spacing: .04em;
  text-decoration: none;
  position: relative;
  padding: .3rem 0;
}
.site-nav > a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav > a:hover::after { transform: scaleX(1); }

.lang-switch { display: flex; gap: .15rem; padding-left: 1.5rem; border-left: 1px solid currentColor; border-color: rgba(127,127,127,.35); }
.lang-switch a {
  font-size: .78rem; font-weight: 500; letter-spacing: .08em;
  text-decoration: none; padding: .35rem .5rem; border-radius: 6px; opacity: .7;
  transition: opacity .2s, background-color .2s;
}
.lang-switch a:hover { opacity: 1; }
.lang-switch a[aria-current="true"] { opacity: 1; background: rgba(127,127,127,.18); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none; color: inherit; cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor;
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav-toggle span:first-child { top: 17px; }
.nav-toggle span:last-child { top: 26px; }
.nav-open .nav-toggle span:first-child { top: 21px; transform: rotate(45deg); }
.nav-open .nav-toggle span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    height: calc(100svh - var(--header-h));
    flex-direction: column;
    align-items: flex-start;
    gap: .25rem;
    padding: 1.5rem 1.25rem 2rem;
    background: var(--bg);
    color: var(--ink);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .3s, transform .3s var(--ease), visibility .3s;
    overflow-y: auto;
  }
  .nav-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .site-nav > a { font-family: var(--font-serif); font-size: 1.9rem; padding: .35rem 0; }
  .site-nav > a::after { display: none; }
  .lang-switch { border-left: 0; padding-left: 0; margin-top: 1.5rem; }
  .lang-switch a { font-size: .9rem; padding: .5rem .8rem; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero-img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
  animation: hero-zoom 18s var(--ease) both;
}
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-img { animation: none; } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20, 28, 30, .45) 0%, rgba(20, 28, 30, 0) 28%),
    linear-gradient(0deg, rgba(18, 24, 26, .72) 0%, rgba(18, 24, 26, .2) 45%, rgba(18, 24, 26, 0) 70%);
}
.hero-content { padding-bottom: clamp(7rem, 16vh, 10rem); padding-top: 8rem; max-width: 1180px; }
.eyebrow { font-size: .8rem; letter-spacing: .26em; text-transform: uppercase; opacity: .9; margin-bottom: 1rem; }
.hero h1 { font-size: clamp(3rem, 8.5vw, 6.4rem); font-weight: 400; margin-bottom: 1.25rem; max-width: 11ch; }
.hero h1 em { font-style: italic; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); font-weight: 300; max-width: 34rem; opacity: .95; margin-bottom: 2.25rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* ---------- Key facts ---------- */
.facts {
  list-style: none;
  margin: -3.75rem 0 0;
  padding: 1.6rem 1rem;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.facts li { text-align: center; padding: .25rem .75rem; }
.facts li + li { border-left: 1px solid var(--line); }
.fact-value { display: block; font-family: var(--font-serif); font-size: 2.1rem; line-height: 1.1; color: var(--green); }
.fact-label { display: block; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); line-height: 1.4; margin-top: .25rem; }

@media (max-width: 860px) {
  .facts { grid-template-columns: repeat(3, 1fr); row-gap: 1.25rem; }
  .facts li:nth-child(4) { border-left: 0; }
}
@media (max-width: 480px) {
  .facts { grid-template-columns: repeat(2, 1fr); margin-top: -2.5rem; }
  .facts li:nth-child(odd) { border-left: 0; }
  .facts li:nth-child(4) { border-left: 1px solid var(--line); }
}

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.about-text p { color: #4a443d; }
.about-figure { margin: 0; position: relative; }
.about-figure::before {
  content: "";
  position: absolute; inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  z-index: -1;
}
.about-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 440px; margin-right: 1.5rem; }
}

/* ---------- Rooms ---------- */
.rooms { background: var(--sand); }

/* All room buttons are always visible: they wrap onto new lines instead of scrolling. */
.room-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2.25rem;
}
.room-tab {
  display: flex; align-items: center; gap: .7rem;
  text-align: left;
  padding: .4rem 1.1rem .4rem .4rem;
  border: 1px solid var(--sand-deep);
  border-radius: 999px;
  background: var(--bg);
  color: var(--ink);
  font: 500 .9rem/1.2 var(--font-sans);
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.room-tab img { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }

/* Phones: a tidy two-column grid of buttons. */
@media (max-width: 600px) {
  .room-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
  .room-tab { padding: .35rem .7rem .35rem .35rem; font-size: .84rem; border-radius: 14px; }
  .room-tab img { width: 32px; height: 32px; border-radius: 10px; }
}
.room-tab:hover { border-color: var(--stone); }
.room-tab[aria-selected="true"] { background: var(--green); border-color: var(--green); color: #fff; box-shadow: var(--shadow-sm); }

.room-panel-title { display: flex; align-items: baseline; gap: .8rem; margin-bottom: 1.25rem; }
.room-panel-title h3 { margin: 0; }
.room-panel-title span { color: var(--muted); font-size: .9rem; }

.js .room-panel:not(.is-active) { display: none; }
.room-panel + .room-panel { margin-top: 3rem; }
.js .room-panel + .room-panel { margin-top: 0; }
.room-panel.is-active { animation: fade-in .45s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 210px;
  gap: .75rem;
}
.gallery-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--sand-deep);
  cursor: zoom-in;
}
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(0,0,0,.18), transparent 40%);
  opacity: 0; transition: opacity .3s;
}
.gallery-item:hover::after { opacity: 1; }

/* Few photos: let them fill the row nicely */
.gallery[data-count="1"] { grid-template-columns: 1fr; grid-auto-rows: min(62vw, 520px); }
.gallery[data-count="1"] .gallery-item:first-child { grid-column: auto; grid-row: auto; }
.gallery[data-count="2"] { grid-template-columns: 1fr 1fr; grid-auto-rows: min(40vw, 420px); }
.gallery[data-count="2"] .gallery-item:first-child { grid-column: auto; grid-row: auto; }
.gallery[data-count="3"] { grid-template-columns: 2fr 1fr; }
.gallery[data-count="4"] { grid-template-columns: 2fr 1fr; grid-auto-rows: 180px; }
.gallery[data-count="4"] .gallery-item:first-child { grid-column: auto; grid-row: span 3; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 42vw; gap: .5rem; }
  .gallery[data-count="3"] { grid-template-columns: 1fr 1fr; }
  .gallery[data-count="4"] { grid-template-columns: 1fr 1fr 1fr; grid-auto-rows: 28vw; }
  .gallery[data-count="4"] .gallery-item:first-child { grid-column: span 3; grid-row: span 2; }
  .gallery[data-count="2"] { grid-auto-rows: 56vw; }
}

/* ---------- Amenities ---------- */
.amenity-list {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
@media (max-width: 900px) { .amenity-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px) { .amenity-list { grid-template-columns: 1fr; } }
.amenity {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.6rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  line-height: 1.45;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.amenity:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.amenity-icon {
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--sand);
  color: var(--green);
}
.amenity-icon svg { width: 22px; height: 22px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--surface); }
.rv {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.rv-score { display: grid; justify-items: start; gap: .2rem; }
.rv-big {
  font-family: var(--font-serif);
  font-size: clamp(4.5rem, 10vw, 6.5rem);
  line-height: .9;
  color: var(--green);
}
.rv-word { font-family: var(--font-serif); font-size: 1.9rem; line-height: 1.2; }
.rv-based { color: var(--muted); font-size: .92rem; margin-bottom: 1rem; }
.rv-link { display: inline-flex; align-items: center; gap: .45rem; color: var(--sea); text-decoration: none; font-size: .95rem; }
.rv-link:hover { text-decoration: underline; }
.rv-link svg { width: 16px; height: 16px; }
.rv-cats { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.rv-cats li { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) 2.5rem; align-items: center; gap: 1rem; }
.rv-cat { font-size: .95rem; }
.rv-bar { height: 6px; border-radius: 99px; background: var(--sand); overflow: hidden; }
.rv-bar span { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.rv-num { font-weight: 500; text-align: right; font-variant-numeric: tabular-nums; }
.rv-quotes { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.rv-quote { margin: 0; padding: 1.5rem; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); }
.rv-quote blockquote { margin: 0 0 .75rem; font-family: var(--font-serif); font-size: 1.3rem; line-height: 1.4; }
.rv-quote figcaption { color: var(--muted); font-size: .9rem; }
@media (max-width: 760px) {
  .rv { grid-template-columns: 1fr; }
  .rv-cats li { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 2.2rem; gap: .75rem; }
}

/* ---------- Prices & calendar ---------- */

.calendar {
  max-width: 860px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}
.cal-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.cal-head h3 { display: flex; align-items: center; gap: .6rem; font-size: 1.5rem; margin: 0; }
.cal-head h3 svg { width: 22px; height: 22px; color: var(--green); }
.cal-nav { display: flex; gap: .4rem; }
.cal-arrow {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 50%; background: var(--bg); color: var(--ink); cursor: pointer;
}
.cal-arrow svg { width: 18px; height: 18px; }
.cal-arrow:hover:not(:disabled) { border-color: var(--stone); }
.cal-arrow:disabled { opacity: .35; cursor: default; }
.cal-months { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.cal-title { font-weight: 500; text-transform: capitalize; margin: 0 0 .5rem; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 2px; }
.cal-wd { font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); text-align: center; padding-bottom: .3rem; }
.cal-day {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .1rem;
  min-height: 3.1rem;
  min-width: 0;
  padding: .2rem 0;
  line-height: 1.1;
  border: 0; border-radius: 8px;
  background: transparent;
  font: inherit; font-size: .85rem; color: var(--ink);
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color .15s;
}
.cal-day:hover:not(:disabled) { background: var(--sand); }
.cal-day:disabled { cursor: default; }
.cal-price { font-size: .64rem; white-space: nowrap; color: var(--green); min-height: .75rem; letter-spacing: .02em; }
.cal-day.is-start .cal-price, .cal-day.is-end .cal-price { color: rgba(255, 255, 255, .85); }
.cal-day.is-past, .cal-day.is-closed { color: #bdb5a8; }
.cal-day.is-booked { background: #ead7cf; color: #8a5a4a; text-decoration: line-through; text-decoration-color: rgba(138, 90, 74, .45); }
.cal-day.is-booked:not(:disabled) { text-decoration: none; }
.cal-day.is-today { box-shadow: inset 0 0 0 1px var(--stone); }
.cal-day.is-range { background: #d7e4dc; border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--green); color: #fff; }
.cal-legend { list-style: none; margin: 1.1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .85rem; color: var(--muted); }
.cal-legend li { display: flex; align-items: center; gap: .45rem; }
.lg { width: 14px; height: 14px; border-radius: 4px; display: inline-block; }
.lg-free { box-shadow: inset 0 0 0 1px var(--line); }
.lg-booked { background: #ead7cf; }
.lg-selected { background: var(--green); }
.cal-status { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.cal-status p { margin: 0; font-weight: 500; }
.cal-warn { display: block; margin-top: .35rem; font-size: .88rem; font-weight: 400; color: #9a5b3c; }
.cal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin-top: .9rem; }
.cal-actions[hidden] { display: none; }
.cal-clear { border: 0; background: none; padding: 0; font: inherit; font-size: .9rem; color: var(--muted); text-decoration: underline; cursor: pointer; }
html:not(.js) .calendar { display: none; }
@media (max-width: 520px) { .cal-months { grid-template-columns: 1fr; } }

/* ---------- Location ---------- */
.location { background: var(--surface); }
.location-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; margin-bottom: 3rem; }
.location-text p { color: #4a443d; }
.distances { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.distances li {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1rem 1.2rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}
.distances .dist-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--sand); color: var(--sea); }
.distances .dist-icon svg { width: 20px; height: 20px; }
.dist-value { display: block; font-family: var(--font-serif); font-size: 1.55rem; line-height: 1.1; color: var(--ink); }
.dist-label { display: block; font-size: .9rem; color: var(--muted); line-height: 1.35; }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 21 / 9;
  background: var(--sand);
}
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.85); }
.map-link {
  display: inline-flex; align-items: center; gap: .45rem;
  margin-top: 1rem; font-size: .92rem; color: var(--sea); text-decoration: none;
}
.map-link:hover { text-decoration: underline; }
.map-link svg { width: 16px; height: 16px; }
@media (max-width: 860px) {
  .location-grid { grid-template-columns: 1fr; }
  .map { aspect-ratio: 4 / 3; }
}

/* ---------- Contact ---------- */
.contact { background: var(--green-dark); color: #f2efe8; position: relative; overflow: hidden; }
.contact .kicker { color: #c9d8c9; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact-info > p { color: rgba(242, 239, 232, .82); max-width: 30rem; }
.contact-cards { display: grid; gap: .8rem; margin-top: 2rem; }
.contact-card {
  display: flex; align-items: center; gap: 1.1rem;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  text-decoration: none;
  transition: background-color .25s, border-color .25s, transform .25s var(--ease);
}
.contact-card:hover { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .35); transform: translateX(3px); }
.cc-icon { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: #f2efe8; color: var(--green-dark); }
.cc-icon svg { width: 21px; height: 21px; }
.cc-label { display: block; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.cc-value { display: block; font-size: 1.12rem; word-break: break-word; }

.inquiry {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);
  display: grid; gap: 1rem;
}
.inquiry h3 { margin-bottom: .25rem; }
.field { display: grid; gap: .35rem; min-width: 0; }
.field > span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%;
  font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
/* Date inputs have a large intrinsic width on mobile (and iOS Safari ignores width:100%
   unless the native appearance is reset), which pushed them outside the form. */
.field input, .field select { min-width: 0; max-width: 100%; }
.field input[type="date"] {
  -webkit-appearance: none;
  appearance: none;
  display: block;
  min-height: 3.1rem;
  line-height: 1.3;
}
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(47, 90, 70, .15); }
.field-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1rem; }
.inquiry .btn { justify-self: start; margin-top: .25rem; }
.form-note { font-size: .82rem; color: var(--muted); margin: 0; }
.inquiry-alt { border-top: 1px solid var(--line); padding-top: 1rem; }
.inquiry-alt[hidden] { display: none; }
.inquiry-alt p { margin: 0 0 .75rem; font-size: .92rem; }
.inquiry-alt-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.alt-btn {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .6rem 1rem;
  border: 1px solid var(--line); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font: 500 .88rem/1 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: border-color .2s, background-color .2s;
}
.alt-btn:hover { border-color: var(--green); background: var(--bg); }
.alt-btn[hidden] { display: none; }
.alt-btn svg { width: 16px; height: 16px; color: var(--green); }

@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .inquiry .btn { justify-self: stretch; }
}

/* ---------- Footer ---------- */
.site-footer { background: #191714; color: rgba(242, 239, 232, .75); font-size: .95rem; padding: 3.5rem 0 1.5rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 2rem; }
.footer-inner p { margin: 0; }
.footer-brand { font-family: var(--font-serif); font-size: 1.6rem; color: #f2efe8; margin-bottom: .3rem !important; }
.footer-contact { display: grid; gap: .3rem; }
.footer-contact a { text-decoration: none; }
.footer-contact a:hover { color: #fff; }
.lang-switch-footer { border-left: 0; padding-left: 0; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1.5rem;
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.25rem; font-size: .82rem;
}
.footer-bottom p { margin: 0; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: #fff; text-decoration: underline; }

/* ---------- Floating quick-contact buttons ---------- */
.fab {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 40;
  display: grid; gap: .6rem;
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s;
}
.fab.is-visible { opacity: 1; visibility: visible; transform: none; }
.fab-btn {
  width: 54px; height: 54px; display: grid; place-items: center;
  border-radius: 50%;
  color: #fff;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45);
  transition: transform .2s var(--ease);
}
.fab-btn:hover { transform: scale(1.06); }
.fab-btn svg { width: 24px; height: 24px; }
.fab-wa { background: #25a35a; }
.fab-call { background: var(--green); }
@media (min-width: 921px) { .fab-call { display: none; } }
@media print { .fab { display: none; } }

/* ---------- Sub pages (privacy policy) ---------- */
.subpage .site-header { position: sticky; top: 0; }
.legal { padding-top: clamp(2.5rem, 6vw, 4rem); }
.legal-inner { max-width: 760px; }
.legal h1 { font-size: clamp(2.4rem, 6vw, 3.4rem); margin: 1.25rem 0 1.5rem; }
.legal h2 { font-size: 1.7rem; margin-top: 2.2rem; }
.legal p { color: #4a443d; }
.legal-contact { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal-contact a { color: var(--sea); }
.back-link { display: inline-flex; align-items: center; gap: .3rem; color: var(--sea); text-decoration: none; font-size: .92rem; }
.back-link svg { width: 16px; height: 16px; }
.back-link:hover { text-decoration: underline; }
.subpage .lang-switch { border-left: 0; padding-left: 0; margin-top: 0; }
.subpage .site-footer { padding-top: 0; }
.subpage .footer-bottom { margin-top: 0; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  background: rgba(14, 13, 12, .94);
  padding: 4rem 4.5rem;
  animation: fade-in .25s ease;
}
.lightbox[hidden] { display: none; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .9rem; max-width: 100%; max-height: 100%; }
.lb-figure img {
  max-width: 100%;
  max-height: calc(100svh - 9rem);
  width: auto; height: auto;
  border-radius: 6px;
  user-select: none;
}
.lb-figure figcaption { color: rgba(255,255,255,.75); font-size: .9rem; letter-spacing: .04em; }
.lb-btn {
  position: absolute;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
  cursor: pointer;
  transition: background-color .2s;
}
.lb-btn:hover { background: rgba(255,255,255,.22); }
.lb-btn svg { width: 24px; height: 24px; }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px) {
  .lightbox { padding: 4rem .5rem 5.5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; transform: none; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Language gate (root page, shown only without JavaScript) ---------- */
.lang-gate { min-height: 100svh; display: grid; place-items: center; padding: 1.5rem; color: #fff; position: relative; overflow: hidden; }
.lang-gate-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.lang-gate::before { content: ""; position: absolute; inset: 0; background: rgba(18, 24, 26, .55); z-index: -1; }
.lang-gate-card { text-align: center; }
.lang-gate-card .brand-name { font-size: 4rem; margin: .3rem 0; }
.lang-gate-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: 1.5rem; }
.lang-gate-links a { padding: .7rem 1.3rem; border: 1px solid rgba(255,255,255,.6); border-radius: 999px; text-decoration: none; }
.lang-gate-links a:hover { background: rgba(255,255,255,.15); }

/* ---------- 404 ---------- */
.notfound .lang-gate-card { max-width: 920px; }
.nf-code { font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: .3em; opacity: .8; margin: 0 0 1.5rem; }
.nf-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.5rem; text-align: center; }
.nf-msg h2 { font-size: 1.5rem; margin-bottom: .3rem; }
.nf-msg p { font-size: .92rem; opacity: .85; }
.nf-msg .btn { padding: .7rem 1.2rem; font-size: .85rem; }
