@import url("fonts.css");

/* ============================================================
   Plumbing only. Nothing here is a design decision — no colour,
   no typeface, no layout. Each site writes its own visual system
   on top; this file only carries the things that must be right
   on every site and are invisible when they are.
   ============================================================ */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* A sideways-scrollable page drags position:fixed elements out of view on
     phones. Clip rather than scroll. (clip, not hidden: hidden would make html
     a scroll container and break scroll-padding and sticky.) */
  overflow-x: clip;
}

body { margin: 0; }
/* Lock scrolling on the ROOT, not on body. html already has overflow-x:clip,
   so overflow:hidden on body turns body into its own scroll container — a
   position:sticky header then sticks to body and is thrown off-screen (with
   its close button) when the menu opens after scrolling. site.js puts
   .is-locked on <html> directly; a :has() selector was tried first and its
   style invalidation visibly lagged behind the menu opening. */
html.is-locked { overflow: hidden; }
/* [hidden] must win. A rule like `.gallery-more { display:flex }` outranks the
   browser's own `[hidden] { display:none }`, which left an empty "Show 0 more"
   button on screen whenever a gallery had nothing further to reveal. */
[hidden] { display: none !important; }

img, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; }
/* A <button> inherits the user agent's grey `buttonface` unless something says
   otherwise. An outline/ghost button that sets only border-color and color then
   renders as light-grey with (often white) text on it — invisible. Reset here;
   any variant that wants a fill sets one and wins on specificity. */
button { background: transparent; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

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

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Reveal-on-scroll. The JS failsafe shows everything if the observer
   never runs, so content can never be stranded invisible. */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease, ease), transform .7s var(--ease, ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

@media print {
  .site-header, .lightbox, .skip-link, .gallery-more, .filters, .map-consent, .callbar { display: none !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
  body { background: #fff !important; color: #000 !important; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .75em; color: #555; }
}

/* Athens BnB Happy Central House — warm and modern (2026-09-24). Logo: the Panathenaic Stadium from above.
   The old site's teal (#158d96, its Book Direct button) with the flat's own tones: cream walls, oak, and the red
   velvet armchair as the one warm accent. Gabarito (headings) + DM Sans (text). */
:root {
  --teal: #158d96;
  --teal-d: #0f6d74;
  --teal-l: #dff0ef;
  --cream: #f6f1ea;
  --oak: #c89a63;
  --red: #a8352c;           /* the velvet armchair */
  --white: #ffffff;
  --ink: #1f2a2c;
  --body: #454c4e;
  --muted: #666d6f;
  --line: #e6ddd0;
  --display: "Gabarito", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --r: 18px;
  --header-h: 4.6rem;
  --wrap: min(1200px, 100% - 2 * clamp(1rem, 4vw, 2.5rem));
  --shadow: 0 1px 0 rgba(31, 42, 44, .05), 0 22px 44px -30px rgba(31, 42, 44, .4);
  --f-accent: var(--teal); --f-accent-d: var(--teal-d); --f-bg: #fff; --f-border: #ddd3c5; --f-ink: var(--ink); --f-muted: var(--muted); --f-radius: 12px;
}
html { scroll-padding-top: calc(var(--header-h) + 1rem); scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white); color: var(--body); font: 400 1.06rem/1.65 var(--sans); }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--teal-d); text-underline-offset: .2em; }
h1, h2, h3 { margin: 0; color: var(--ink); font-family: var(--display); font-weight: 700; letter-spacing: -.015em; }
p { margin: 0; }
.wrap { width: var(--wrap); margin-inline: auto; }
.ico { width: 1.2rem; height: 1.2rem; flex: none; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; padding: .8rem 1.2rem; background: var(--ink); color: #fff; border-radius: 10px; }
.skip-link:focus { top: 1rem; }

.label { margin: 0 0 .6rem; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--teal-d); }
.kicker { margin: 0 0 .7rem; font: 600 .82rem/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: #fff; opacity: .9; }
.h1 { font-size: clamp(2.8rem, 1.6rem + 5vw, 5.6rem); line-height: .98; }
.h2 { font-size: clamp(1.8rem, 1.2rem + 1.9vw, 2.7rem); line-height: 1.1; }
.h3 { font-size: 1.3rem; line-height: 1.25; }
.lede { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; }
.prose p + p { margin-top: 1rem; }

.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .7rem 1.4rem; border: 2px solid var(--teal); border-radius: 999px; background: var(--teal); color: #fff; font: 600 1rem/1 var(--sans); text-decoration: none; transition: background-color .2s, border-color .2s, color .2s; }
.btn:hover { background: var(--teal-d); border-color: var(--teal-d); color: #fff; }
.btn .ico { width: 1.05rem; height: 1.05rem; }
.btn-sm { min-height: 42px; padding: .5rem 1.1rem; font-size: .95rem; }
.btn-ghost { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.btn-ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn-ghost .ico { color: #ffd166; }
.btn-line { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-line:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn-light { background: #fff; border-color: #fff; color: var(--teal-d); }
.btn-light:hover { background: var(--teal-l); border-color: var(--teal-l); color: var(--teal-d); }
.more { margin-top: 1.6rem; }
.section-tight { padding-block: clamp(2rem, 4vw, 3rem); }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: .7rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem 1.6rem; min-height: var(--header-h); width: var(--wrap); margin-inline: auto; }
.brand { display: inline-flex; align-items: center; gap: .7rem; margin: 0; color: var(--ink); text-decoration: none; }
.brand-name strong { display: block; font: 700 1.25rem/1 var(--display); letter-spacing: -.01em; }
.brand-name small { display: block; margin-top: .2rem; font-size: .78rem; letter-spacing: .04em; color: var(--muted); }
.brand-mark { display: inline-flex; color: var(--teal); }
.mark { width: 3.1rem; height: auto; }
.brand-light, .brand-light .brand-name small { color: #fff; }
.brand-light .brand-mark { color: #7fd0d5; --track: #e0b77f; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: .1rem; margin: 0; padding: 0; }
.nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { background: var(--cream); }
.header-tools { display: flex; align-items: center; gap: .6rem; }
.icons { display: flex; gap: .3rem; }
.icons a { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--ink); }
.icons a:hover { background: var(--teal-l); color: var(--teal-d); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 18px; height: 2px; margin: auto; background: var(--ink); transition: transform .25s var(--ease), background-color .2s; }
.nav-toggle .bars { position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.site-header.is-open .nav-toggle .bars { background: transparent; }
.site-header.is-open .nav-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.site-header.is-open .nav-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero: the flat, titles straight on the photo */
.hero { position: relative; display: grid; align-items: end; min-height: clamp(30rem, 84vh, 52rem); isolation: isolate; background: var(--ink); color: #fff; }
.hero-photo { position: absolute; inset: 0; z-index: -1; margin: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 24, 25, .8) 0%, rgba(20, 24, 25, .35) 45%, rgba(20, 24, 25, .05) 80%), linear-gradient(90deg, rgba(20, 24, 25, .4), rgba(20, 24, 25, 0) 60%); }
.hero-in { padding: clamp(5rem, 12vh, 8rem) 0 clamp(3rem, 7vw, 5rem); }
.hero .h1 { max-width: 12ch; margin-bottom: 1rem; color: #fff; text-shadow: 0 2px 26px rgba(0, 0, 0, .25); }
.hero .lede { max-width: 34rem; margin-bottom: 1.6rem; color: rgba(255, 255, 255, .94); }
.rating { display: flex; align-items: center; gap: .45rem; margin-top: 1.1rem; color: rgba(255, 255, 255, .92); font-size: .98rem; }
.rating .ico { color: #ffd166; width: 1.1rem; height: 1.1rem; }
.rating strong { color: #fff; }
.footer-rating { display: flex; align-items: center; gap: .55rem; margin: 0; color: #c9cece; }
.footer-rating .ico { color: #ffd166; }
.hero-page { min-height: clamp(24rem, 62vh, 40rem); }
.hero-page .h1 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.4rem); max-width: 16ch; }
.hero-short { min-height: clamp(20rem, 46vh, 30rem); }
.hero-short .hero-photo img { object-position: 50% 60%; }
.crumbs { margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .3rem; margin: 0; padding: 0; font-size: .92rem; color: rgba(255, 255, 255, .88); }
.crumbs li + li::before { content: "›"; margin-right: .35rem; }
.crumbs a { color: #fff; }

.facts-bar { background: var(--teal); color: #fff; }
.facts { list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem 1.5rem; margin-block: 0; padding: 1rem 0; }
.facts li { display: inline-flex; align-items: center; gap: .5rem; font-weight: 500; }

.section { padding-block: clamp(4rem, 8vw, 6rem); }
.section-cream { background: var(--cream); }
.section-dark { background: var(--ink); color: #d9dcdc; }
.section-dark .h2 { color: #fff; }
.section-dark .label { color: #7fd0d5; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.sec-head .h2 { max-width: 26ch; }

.about { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.about .h2 { margin-bottom: 1.2rem; max-width: 18ch; }
.feats { display: grid; gap: .9rem; }
.feat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .3rem 1rem; padding: 1.2rem 1.3rem; border-radius: var(--r); background: var(--cream); }
.feat-ico { grid-row: span 2; display: inline-grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 14px; background: var(--teal); color: #fff; }
.feat-ico .ico { width: 1.35rem; height: 1.35rem; }
.feat h3 { font-size: 1.2rem; align-self: end; }
.feat p { font-size: 1rem; }

/* Home: a five-photo mosaic, a full 4 x 2 */
.mosaic { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 17vw, 15rem); gap: clamp(.5rem, 1vw, .9rem); }
.mosaic a { display: block; overflow: hidden; border-radius: 14px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mosaic a:hover img { transform: scale(1.04); }
.mosaic .m0 { grid-column: span 2; grid-row: span 2; }
.avail { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.avail .h2 { margin-bottom: 1rem; }
.avail .lede { margin-bottom: 1.5rem; }

/* The booking band, with the stadium mark */
.cta { position: relative; overflow: hidden; padding-block: clamp(3rem, 6vw, 4.5rem); background: var(--teal); color: #e6f5f4; }
.cta-in { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.2rem 2rem; align-items: center; }
.cta .h2 { color: #fff; margin-bottom: .4rem; }
.cta-mark { color: #fff; --track: #ffd696; }
.cta-mark .mark { width: 5.5rem; }

/* Close-by landmarks */
.lm-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.lm-intro { position: sticky; top: calc(var(--header-h) + 2rem); }
.lms { display: grid; gap: 1rem; counter-reset: lm; }
.lm { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.2rem; padding: 1.5rem 1.6rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow); }
.lm-num { display: grid; place-items: center; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--teal); color: #fff; font: 700 1.2rem/1 var(--display); }
.lm:first-child .lm-num { background: var(--red); }
.lm-dist { display: inline-flex; align-items: center; gap: .35rem; margin-bottom: .35rem; color: var(--teal-d); font-weight: 600; font-size: .95rem; }
.lm-dist .ico { width: 1rem; height: 1rem; }
.lm .h3 { margin-bottom: .45rem; }

/* Contact */
.ways { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.2rem; }
.way { display: flex; align-items: center; gap: .9rem; padding: 1rem 1.1rem; border-radius: 14px; background: var(--cream); color: var(--ink); text-decoration: none; }
.way:hover { box-shadow: 0 0 0 2px var(--teal); }
.way .ico { width: 1.5rem; height: 1.5rem; color: var(--teal-d); }
.way small { display: block; color: var(--muted); font-size: .85rem; }
.way strong { display: block; font-size: 1rem; overflow-wrap: anywhere; }
.note { display: flex; align-items: center; gap: .5rem; margin-top: 1.2rem; color: var(--muted); }

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.3rem; }
.filter { min-height: 44px; padding: .5rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 .98rem/1 var(--sans); cursor: pointer; }
.filter:hover { border-color: var(--teal); }
.filter[aria-pressed="true"] { background: var(--teal); border-color: var(--teal); color: #fff; }
.gallery-grid { columns: 3 15rem; column-gap: clamp(.6rem, 1.2vw, 1rem); }
.gallery-grid .tile { break-inside: avoid; margin-bottom: clamp(.6rem, 1.2vw, 1rem); }
.gallery-grid .tile.is-entering { animation: tile-in .45s var(--ease) both; }
@keyframes tile-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tile { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--line); cursor: zoom-in; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.03); }
.lightbox { position: fixed; inset: 0; z-index: 300; display: none; background: rgba(18, 22, 23, .96); opacity: 0; transition: opacity .25s; }
.lightbox.is-open { display: block; }
.lightbox.is-visible { opacity: 1; }
.lb-stage { position: absolute; inset: 4.5rem 4.5rem 4rem; display: grid; place-items: center; }
.lb-figure { margin: 0; display: grid; justify-items: center; gap: .8rem; max-height: 100%; }
.lb-img { max-width: 100%; max-height: calc(100vh - 11rem); width: auto; height: auto; border-radius: 10px; transition: opacity .2s; }
.lb-img.is-loading { opacity: .3; }
.lb-caption { color: #e3e6e6; text-align: center; }
.lb-counter { position: absolute; left: 1.4rem; top: 1.4rem; margin: 0; color: #aab1b2; font-weight: 600; }
.lb-btn { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff; cursor: pointer; }
.lb-btn:hover { background: #fff; color: var(--ink); }
.lb-btn svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lb-btn:disabled { display: none; }
.lb-prev { left: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-next { right: 1rem; top: 50%; margin-top: -1.5rem; }
.lb-close { right: 1rem; top: 1rem; }

/* Amenities: groups in balanced columns */
.amenities { columns: 3 17rem; column-gap: clamp(1rem, 2.5vw, 1.8rem); }
.amen-group { break-inside: avoid; margin-bottom: clamp(1rem, 2.5vw, 1.8rem); padding: 1.3rem 1.4rem; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); border: 1px solid var(--line); }
.amen-group h3 { display: flex; align-items: center; gap: .6rem; margin-bottom: .7rem; font-size: 1.15rem; }
.amen-group h3 .ico { color: var(--teal); width: 1.35rem; height: 1.35rem; }
.amen-group ul { list-style: none; margin: 0; padding: 0; }
.amen-group li { position: relative; padding: .28rem 0 .28rem 1.1rem; font-size: 1rem; }
.amen-group li::before { content: ""; position: absolute; left: 0; top: .85em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--oak); }

/* Location */
.location { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.loc-photo { margin: 0; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; }
.loc-photo img { width: 100%; height: 100%; object-fit: cover; }
.location .h2 { margin-bottom: 1rem; }
.near { list-style: none; margin: 1.2rem 0 0; padding: 0; }
.near li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.near strong { color: #fff; font-family: var(--display); white-space: nowrap; }

/* House rules */
.rules { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; margin: 0; padding: 0; }
.rules li { display: flex; align-items: center; gap: .7rem; padding: .95rem 1.1rem; border-radius: 14px; background: var(--cream); color: var(--ink); font-weight: 500; }
.rules .ico { color: var(--red); }

/* Booking: the calendar beside the form */
.book { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1rem, 2.5vw, 1.8rem); align-items: start; }
.card { padding: clamp(1.3rem, 3vw, 2rem); border-radius: var(--r); background: var(--white); box-shadow: var(--shadow); }
.form-card .h3 { margin-bottom: .4rem; }
.form-intro { margin-bottom: 1.1rem; color: var(--muted); }
.av { --av-free: #dff0ef; --av-free-ink: #0f5157; --av-booked: #f1d9d6; --av-booked-ink: #8a2e25; --av-sel: var(--teal-d); --av-range: #bfe2e0; --av-line: var(--line); }
.av-title { font-family: var(--display); font-size: 1.1rem; }

/* Footer */
.site-footer { padding: clamp(2.5rem, 5vw, 3.5rem) 0 1.5rem; background: var(--ink); color: #c9cece; }
.footer-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1.2fr); gap: 2rem 3rem; padding-bottom: 2rem; }
.footer-about p + p { margin-top: 1rem; max-width: 26rem; }
.footer-h { margin: 0 0 .8rem; font: 600 .8rem/1.2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #7fd0d5; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li + li { margin-top: .35rem; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-contact { display: grid; gap: .6rem; }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; color: #fff; text-decoration: none; }
.footer-contact a:hover { text-decoration: underline; }
.footer-contact .ico { color: #7fd0d5; }
.colophon { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .92rem; }
.site-footer .colophon a { color: #fff; }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1080px) {
  .nav-toggle { display: grid; place-items: center; }
  .header-tools { margin-left: auto; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; margin: 0; padding: 1rem max(1rem, calc((100vw - 1200px) / 2)) 1.5rem; background: #fff; border-bottom: 1px solid var(--line); }
  .site-header.is-open .nav { display: block; }
  .nav ul { flex-direction: column; gap: .3rem; }
  .nav a { width: 100%; min-height: 3.2rem; padding: 0 1rem; font-size: 1.1rem; background: var(--cream); border-radius: 12px; }
  .book { grid-template-columns: minmax(0, 1fr); }
  .ways { grid-template-columns: minmax(0, 1fr); }
  .footer-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .footer-about { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .about, .location, .avail, .lm-wrap { grid-template-columns: minmax(0, 1fr); }
  .lm-intro { position: static; }
  .cta-in { grid-template-columns: minmax(0, 1fr); }
  .mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mosaic .m0 { grid-column: span 2; grid-row: span 1; }
  .rules { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .icons-top { display: none; }
  .brand-name small { display: none; }
  .brand-name strong { font-size: 1.1rem; white-space: nowrap; }
  .header-inner { gap: .6rem; }
  .header-tools .btn-sm { padding: .5rem .9rem; white-space: nowrap; font-size: .9rem; }
  .rules { grid-template-columns: minmax(0, 1fr); }
  .footer-in, .ways { grid-template-columns: minmax(0, 1fr); }
  .mark { width: 2.6rem; }
  .lb-stage { inset: 4rem .5rem 5rem; }
  .lb-prev, .lb-next { top: auto; bottom: 1rem; margin: 0; }
  .lb-prev { left: calc(50% - 3.6rem); }
  .lb-next { right: calc(50% - 3.6rem); }
}

/* ---------- Form (shared by the hospitality sites; themed by --f-* set in each site's CSS) ---------- */
.site-form { display: grid; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); gap: 1.2rem; align-items: end; }
.form-row-tight { grid-template-columns: repeat(auto-fit, minmax(min(100%, 5.5rem), 1fr)); gap: .9rem; }
.field { display: grid; gap: .35rem; align-content: start; min-width: 0; }
.field label { font-weight: 600; }
.req { color: var(--f-accent); }
.hint { margin: 0; font-size: .92rem; color: var(--f-muted); }
.field input:not([type="checkbox"]), .field textarea, .field select { width: 100%; min-height: 3.1rem; padding: .7rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--f-ink); background: var(--f-bg); border: 2px solid var(--f-border); border-radius: var(--f-radius); }
.field select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 1.25rem) 55%, calc(100% - .9rem) 55%; background-size: .35rem .35rem; background-repeat: no-repeat; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:hover, .field textarea:hover, .field select:hover { border-color: var(--f-ink); }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { outline: 3px solid var(--f-accent); outline-offset: 2px; box-shadow: none; border-color: var(--f-ink); background-color: #fff; }
.field [aria-invalid="true"] { border-color: #b3261e; }
.field-error { display: flex; gap: .45rem; align-items: center; margin: .1rem 0 0; font-size: .95rem; font-weight: 600; color: #b3261e; }
.field-error .ico { width: 1.1rem; height: 1.1rem; }
.field-check { grid-template-columns: auto minmax(0, 1fr); column-gap: .75rem; align-items: start; }
.field-check input { width: 1.35rem; height: 1.35rem; margin-top: .2rem; accent-color: var(--f-accent); }
.field-check label { font-weight: 400; font-size: .98rem; }
.field-check .field-error { grid-column: 1 / -1; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { margin: 0; font-size: .92rem; color: var(--f-muted); }
.btn-submit { justify-self: start; background: var(--f-accent); color: #fff; }
.btn-submit:hover { background: var(--f-accent-d); color: #fff; }
.btn-submit:disabled { opacity: .65; cursor: progress; }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status[data-kind="ok"] { color: #1f6b3a; }
.form-status[data-kind="error"] { color: #b3261e; }
/* availability.css — the availability calendar. Theme it per site with the --av-* variables. */
.av {
  --av-free: #e3f1e7;         /* available nights */
  --av-free-ink: #1f4d2c;
  --av-booked: #ecd3d3;       /* booked nights */
  --av-booked-ink: #7a2e2e;
  --av-sel: #303030;          /* your chosen stay */
  --av-sel-ink: #ffffff;
  --av-range: #d9dde2;
  --av-past-ink: #a4a9ae;
  --av-line: #e1e4e8;
  --av-radius: 10px;
  font-variant-numeric: tabular-nums;
}
.av-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: .6rem; }
.av-months { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 24rem)); justify-content: center; gap: 1.2rem 2rem; }
.av-nav { display: grid; place-items: center; width: 44px; height: 44px; margin-top: -.35rem; padding: 0; border: 1px solid var(--av-line); border-radius: 50%; background: transparent; color: inherit; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.av-nav:hover:not(:disabled) { background: var(--av-sel); border-color: var(--av-sel); color: var(--av-sel-ink); }
.av-nav:disabled { opacity: .3; cursor: default; }
.av-title { margin: 0 0 .7rem; text-align: center; font-weight: 600; text-transform: capitalize; }
.av-grid { display: grid; gap: 3px; }
.av-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.av-wd { padding: .2rem 0; text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.av-cell { display: block; }
.av-day { display: grid; place-items: center; width: 100%; aspect-ratio: 1; min-height: 2.2rem; margin: 0; padding: 0; border: 0; border-radius: 8px; background: var(--av-free); color: var(--av-free-ink); font: inherit; font-size: .95rem; }
button.av-day { cursor: pointer; }
button.av-day:hover { outline: 2px solid var(--av-sel); outline-offset: -2px; }
.av-day.is-booked { background: var(--av-booked); color: var(--av-booked-ink); text-decoration: line-through; text-decoration-thickness: 1px; }
.av-day.is-in { background: linear-gradient(135deg, var(--av-free) 50%, var(--av-booked) 50%); }
.av-day.is-out { background: linear-gradient(135deg, var(--av-booked) 50%, var(--av-free) 50%); }
.av-day.is-past { background: transparent; color: var(--av-past-ink); }
.av-day.is-today { box-shadow: inset 0 0 0 2px currentColor; }
.av-day.is-range { background: var(--av-range); color: inherit; }
.av-day.is-start, .av-day.is-end { background: var(--av-sel); color: var(--av-sel-ink); text-decoration: none; }
.av-legend { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; margin: 1rem 0 0; padding: 0; font-size: .92rem; }
.av-legend li { display: inline-flex; align-items: center; gap: .45rem; }
.av-key { width: 1rem; height: 1rem; border-radius: 4px; }
.av-key-free { background: var(--av-free); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.av-key-booked { background: var(--av-booked); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.av-key-sel { background: var(--av-sel); }
.av-status { min-height: 1.5em; margin: .6rem 0 0; font-weight: 500; }
.av-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem 1rem; }
.av-clear { padding: .35rem .8rem; border: 1px solid var(--av-line); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-size: .9rem; cursor: pointer; }
.av-updated { margin: 0; font-size: .85rem; opacity: .7; }
.av-error .av-months, .av-error .av-legend { display: none; }
@media (max-width: 420px) { .av-head { grid-template-columns: 1fr 1fr; } .av-months { grid-column: 1 / -1; grid-row: 2; } .av-next { justify-self: end; } }
