/* Can Martinot — main stylesheet. Mobile-first. Colours: see CLAUDE.md "Style guide". */

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/montserrat-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/montserrat-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/montserrat-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, 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: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-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+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/open-sans-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

/* ---------- Tokens ---------- */
:root {
  /* Palette sampled from Prototip.pdf */
  --cream: #F4F0E7;
  --sage: #69745A;
  --forest: #343D31;
  --sand: #C7A77D;
  --terracotta: #B96F4B;
  --white: #FFFFFF;
  --leaf: #A2C885;
  --border: #1A1F19;
  /* Background of logo B (original tile cream from logo.jpeg); footer band and OG plaque use it */
  --logo-cream: #F1E9DE;
  /* Availability calendar: busy nights (light terracotta stripes) and the selected range */
  --busy-a: #F1E1D7;
  --busy-b: #FAF3EE;
  --leaf-tint: #DCEBCF;
  /* Accessible adjustments (approved, WCAG AA) */
  --sage-text: #5F6A51;
  --terracotta-deep: #A35E3C;

  --font-heading: "Montserrat", system-ui, sans-serif;
  --font-body: "Montserrat", system-ui, sans-serif;
  --font-ui: "Open Sans", system-ui, sans-serif;

  --radius-photo: 12px;
  --radius-btn: 14px;
  --radius-card: 14px;
  --gutter: 20px;
  --block: 56px;
  --max: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* The hidden attribute must win over component display rules (buttons, badges, ...). */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--forest);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-deep); }
:focus-visible { outline: 3px solid var(--terracotta-deep); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.25; margin: 0 0 .6em; }
h1 { font-size: 1.75rem; }
h2 { font-size: 1.4rem; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--forest); color: var(--cream); padding: 10px 16px; border-radius: 8px; font-family: var(--font-ui); }
.skip-link:focus { top: 12px; color: var(--cream); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.narrow > * { max-width: 760px; }
.lang-switch abbr { text-decoration: none; }
/* Pending data marker: visible on purpose until the owner fills it in. */
mark.todo { background: #FFF1B8; color: #5A4300; padding: 0 .25em; border-radius: 4px; box-shadow: inset 0 0 0 1px #B08A00; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---------- Typography helpers ---------- */
.eyebrow { font-family: var(--font-ui); font-weight: 400; font-size: .8rem; line-height: 1.4; letter-spacing: .04em; text-transform: uppercase; color: var(--sage-text); margin: 0 0 .5em; }
.nowrap { white-space: nowrap; }
.section--white .eyebrow { color: var(--sage); }
.section--forest .eyebrow { color: var(--leaf); }
.lead { font-size: 1.05rem; }
.muted { color: var(--sage-text); }

/* ---------- Buttons ---------- */
.btn {
  display: flex; align-items: center; justify-content: center; gap: .4em;
  width: 100%; min-height: 56px; padding: 14px 24px;
  border: 0; border-radius: var(--radius-btn);
  font-family: var(--font-ui); font-size: 1.05rem; text-decoration: none; cursor: pointer;
  transition: background-color .2s ease;
}
.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: #262D24; color: var(--cream); }
.btn--leaf { background: var(--leaf); color: var(--forest); }
.btn--leaf:hover { background: #B4D49B; color: var(--forest); }
.btn--outline { background: transparent; color: var(--forest); box-shadow: inset 0 0 0 1.5px var(--forest); }
.btn--outline:hover { background: var(--white); color: var(--forest); }
.btn .arrow { font-size: 1.1em; line-height: 1; }
.section--forest :focus-visible { outline-color: var(--leaf); }

/* Preview builds only (deploy.sh --prova) */
.preview-banner { background: var(--sand); color: var(--forest); text-align: center; font-family: var(--font-ui); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; padding: 4px 12px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid rgba(52, 61, 49, .08); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { text-decoration: none; color: var(--forest); display: block; padding: 10px 0; }
/* Logos: always on cream/white, never on forest (the logo green has 1.4:1 contrast on forest). */
.brand__logo { display: block; height: 46px; width: auto; }
.brand__place { display: block; font-family: var(--font-ui); font-size: .78rem; text-transform: uppercase; color: var(--sage-text); letter-spacing: .02em; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 12px 10px; border: 0; background: transparent; cursor: pointer; border-radius: 10px; }
.menu-toggle__bar { display: block; height: 5px; border-radius: 3px; background: var(--forest); transition: transform .2s ease, width .2s ease; }
.menu-toggle__bar--top { width: 28px; margin-bottom: 7px; }
.menu-toggle__bar--bottom { width: 15px; }
.js .menu-toggle { display: block; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar--top { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__bar--bottom { width: 28px; transform: translateY(-6px) rotate(-45deg); }
.site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border-bottom: 1px solid rgba(52, 61, 49, .15); padding: 8px var(--gutter) 20px; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav__links a { display: block; padding: 12px 0; font-family: var(--font-ui); font-size: 1.1rem; text-decoration: none; border-bottom: 1px solid rgba(52, 61, 49, .1); }
.site-nav__links a[aria-current="page"] { color: var(--terracotta-deep); }
.lang-switch { display: flex; gap: 8px; margin-top: 16px !important; }
.lang-switch a { display: inline-block; min-width: 44px; padding: 8px 10px; text-align: center; font-family: var(--font-ui); font-size: .9rem; text-decoration: none; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(52, 61, 49, .3); }
.lang-switch a[aria-current="true"] { background: var(--forest); color: var(--cream); box-shadow: none; }

/* ---------- Sections ---------- */
.section { padding: var(--block) 0; }
.section--cream { background: var(--cream); }
.section--white { background: var(--white); }
.section--forest { background: var(--forest); color: var(--cream); }
.section--forest h2, .section--forest h3, .section--forest a:not(.btn) { color: var(--cream); }
.section__head { margin-bottom: 28px; max-width: 760px; }
.stack > * + * { margin-top: 16px; }
.mt { margin-top: 24px; }
.amenities.amenities--list { grid-template-columns: 1fr; }
.section--white .amenities.amenities--list li, .amenities.amenities--list li { background: transparent; padding: 6px 0; align-items: flex-start; }
.amenities--list .icon { color: var(--terracotta-deep); }

/* ---------- Photos ---------- */
.photo { border: 1.5px solid var(--border); border-radius: var(--radius-photo); overflow: hidden; background: #DDD6C8; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--portrait { aspect-ratio: 3 / 4; }
.photo--landscape { aspect-ratio: 4 / 3; }
.photo--wide { aspect-ratio: 16 / 9; }

/* ---------- Home: hero ---------- */
.hero { padding: 4px 0 var(--block); }
.hero__media { display: block; aspect-ratio: 3 / 4; width: 100%; }
.hero__text { padding-top: 22px; }
.hero__text p { max-width: 60ch; }
.hero__text .btn { margin-top: 24px; }

/* ---------- Cards ("Maneres de viure") ---------- */
.ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 18px; list-style: none; margin: 0; padding: 0; }
.way h3 { margin: 14px 0 6px; font-weight: 600; font-size: 1.05rem; }
.way p { font-size: 1rem; margin: 0; }

/* ---------- Section access (site map cards) ---------- */
.access { display: grid; grid-template-columns: 1fr; gap: 14px; list-style: none; padding: 0; margin: 0; }
.access a { display: flex; flex-direction: column; justify-content: space-between; gap: 22px; min-height: 150px; padding: 20px; background: var(--cream); border-radius: var(--radius-card); text-decoration: none; color: var(--forest); transition: transform .2s ease; }
.section--cream .access a { background: var(--white); }
.access a:hover { transform: translateY(-2px); color: var(--forest); }
.access strong { display: block; font-family: var(--font-heading); font-size: 1.1rem; margin-bottom: 4px; }
.access span { font-size: 1rem; }
.icon { width: 1.5em; height: 1.5em; flex: none; stroke-width: 1.5; }
.icon--lg { width: 40px; height: 40px; }

/* ---------- Page header & tabs ---------- */
.page-head { padding-top: 32px; padding-bottom: 8px; }
.page-head p { max-width: 62ch; }
.tabs { position: sticky; top: 76px; z-index: 40; background: var(--cream); padding: 12px 0; }
.tabs ul { display: flex; gap: 10px; list-style: none; margin: 0; padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; max-width: var(--max); margin: 0 auto; }
.tabs ul::-webkit-scrollbar { display: none; }
.tabs a { display: block; white-space: nowrap; padding: 10px 18px; border-radius: 10px; background: var(--terracotta-deep); color: var(--white); font-family: var(--font-ui); font-size: .95rem; text-decoration: none; }
.tabs + .section { padding-top: 12px; }
.tabs a:hover, .tabs a.is-active { background: #8A4E31; color: var(--white); }

/* ---------- Numbered feature list ("La casa") ---------- */
.features { list-style: none; margin: 0; padding: 0; counter-reset: feature; }
.feature { display: grid; grid-template-columns: 40% 1fr; gap: 16px; align-items: start; padding: 24px 0; }
.feature + .feature { border-top: 1px solid rgba(52, 61, 49, .12); }
.feature h3 { font-size: 1.1rem; margin: 0 0 6px; }
.feature p:last-child { margin-bottom: 0; }
.feature__body > *:last-child { margin-bottom: 0; }
.feature__extra { grid-column: 1 / -1; }
.floor { margin-top: 8px; }
.floor + .floor { margin-top: 22px; }
.floor h4 { font-family: var(--font-ui); font-weight: 400; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--sage-text); margin: 0 0 8px; }
.rooms { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.room { display: grid; grid-template-columns: 88px 1fr; gap: 12px; align-items: center; }
.room .photo { aspect-ratio: 1; }
.room strong { display: block; font-family: var(--font-heading); font-weight: 600; }
.room span { font-size: 1rem; }

/* ---------- Amenities ---------- */
.amenities { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; list-style: none; padding: 0; margin: 0; }
.amenities li { display: flex; align-items: center; gap: 12px; padding: 14px; background: var(--white); border-radius: 12px; font-size: 1rem; line-height: 1.3; }
.amenities .icon { color: var(--sage); }
/* Booking "Good to know": longer texts, one column on phones */
.amenities.amenities--info { grid-template-columns: 1fr; }
@media (min-width: 768px) { .amenities.amenities--info { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .amenities.amenities--info { grid-template-columns: repeat(3, 1fr); } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0 0 8px; }
@media (max-width: 767px) { .facts li:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.facts .facts__icon { display: block; width: 1.6rem; height: 1.6rem; margin-bottom: 4px; color: var(--forest); }
.facts li { background: var(--white); border-radius: 12px; padding: 14px; }
.facts strong { display: block; font-family: var(--font-heading); font-size: 1.4rem; line-height: 1.2; }
.section--white .facts li, .section--white .amenities li { background: var(--cream); }

/* ---------- Gallery & lightbox ---------- */
.gallery-filters { display: flex; gap: 8px; overflow-x: auto; padding: 0 0 14px; margin: 0 0 6px; list-style: none; scrollbar-width: thin; }
.gallery-filters button { white-space: nowrap; padding: 8px 14px; min-height: 44px; border: 0; border-radius: 999px; background: var(--white); color: var(--forest); font-family: var(--font-ui); font-size: .95rem; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(52, 61, 49, .25); }
.gallery-filters button[aria-pressed="true"] { background: var(--forest); color: var(--cream); box-shadow: none; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.gallery li[hidden] { display: none; }
.gallery a { display: block; aspect-ratio: 1; }
.gallery a:hover img { transform: scale(1.03); }
.gallery img { transition: transform .3s ease; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(20, 24, 19, .96); color: var(--cream); }
.lightbox::backdrop { background: rgba(20, 24, 19, .96); }
.lightbox__figure { position: absolute; inset: 56px 0 72px; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; touch-action: pan-y; }
.lightbox__figure img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 6px; }
.lightbox__caption { position: absolute; left: 0; right: 0; bottom: 16px; padding: 0 72px; text-align: center; font-family: var(--font-ui); font-size: .95rem; }
.lightbox__count { position: absolute; top: 16px; left: 16px; font-family: var(--font-ui); font-size: .9rem; }
.lightbox button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(244, 240, 231, .14); color: var(--cream); cursor: pointer; }
.lightbox button:hover { background: rgba(244, 240, 231, .28); }
.lightbox button:focus-visible { outline-color: var(--leaf); }
.lightbox__close { top: 6px; right: 8px; }
.lightbox__prev { left: 8px; bottom: 8px; }
.lightbox__next { right: 8px; bottom: 8px; }

/* ---------- Lists, FAQ, content pages ---------- */
.not-found + .not-found { margin-top: 28px; padding-top: 24px; border-top: 1px solid rgba(52, 61, 49, .15); }
.not-found h2 { font-size: 1.15rem; }
.prose { max-width: 70ch; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.place-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.place-list li { background: var(--white); border-radius: var(--radius-card); padding: 18px 20px; }
.section--white .place-list li { background: var(--cream); }
.place-list h3 { margin-bottom: 6px; }
.place-list p { margin: 0; }
.faq details { background: var(--white); border-radius: 12px; margin-bottom: 10px; }
.faq summary { cursor: pointer; padding: 16px 44px 16px 18px; font-family: var(--font-heading); font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 12px; font-size: 1.4rem; color: var(--terracotta-deep); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 18px 16px; }
.directions { counter-reset: step; list-style: none; padding: 0; }
.directions li { position: relative; padding-left: 44px; margin-bottom: 14px; }
.directions li::before { counter-increment: step; content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: var(--forest); color: var(--cream); font-family: var(--font-ui); font-size: .9rem; }

/* ---------- Map (click to load, no third-party request until asked) ---------- */
.map { position: relative; aspect-ratio: 4 / 3; border: 1.5px solid var(--border); border-radius: var(--radius-photo); overflow: hidden; background: #E3DCCD; }
.map iframe { width: 100%; height: 100%; border: 0; }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 24px; text-align: center; }
.map__placeholder .btn { width: auto; }
.map__placeholder p { margin: 0; font-size: .95rem; max-width: 40ch; }

/* ---------- Availability calendar ---------- */
.cal { margin-bottom: 40px; }
.cal__toolbar { display: grid; grid-template-columns: 48px 1fr 48px; align-items: center; gap: 8px; margin: 8px 0 4px; }
.cal__nav { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); color: var(--forest); cursor: pointer; box-shadow: inset 0 0 0 1px rgba(52, 61, 49, .2); }
.cal__nav:disabled { opacity: .35; cursor: default; }
.cal__range { margin: 0; text-align: center; font-family: var(--font-heading); font-weight: 600; }
.cal__months { display: grid; gap: 24px; }
.cal__title { font-size: 1.05rem; text-align: center; margin: 8px 0; }
.cal__grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; }
.cal__grid th { font-family: var(--font-ui); font-weight: 400; font-size: .8rem; color: var(--sage-text); text-transform: uppercase; padding: 4px 0; }
.cal__grid td { padding: 0; }
.cal__day { width: 100%; aspect-ratio: 1; min-height: 40px; border: 0; border-radius: 8px; background: var(--white); color: var(--forest); font-family: var(--font-ui); font-size: 1rem; cursor: pointer; }
.cal__day:hover:not(:disabled) { box-shadow: inset 0 0 0 2px var(--forest); }
.cal__day.is-today { box-shadow: inset 0 0 0 2px var(--sand); }
.cal__day.is-busy { background: repeating-linear-gradient(135deg, var(--busy-a) 0 5px, var(--busy-b) 5px 10px); text-decoration: line-through; }
.cal__day.is-between { background: var(--leaf-tint); }
.cal__day.is-selected { background: var(--forest); color: var(--cream); text-decoration: none; }
.cal__day:disabled { opacity: .35; cursor: default; }
.cal__legend { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 14px 0 6px; font-family: var(--font-ui); font-size: .9rem; }
.cal__legend li { display: flex; align-items: center; gap: 8px; }
.cal__swatch { display: inline-block; width: 20px; height: 20px; border-radius: 5px; }
.cal__swatch--free { background: var(--white); box-shadow: inset 0 0 0 1px rgba(52, 61, 49, .3); }
.cal__swatch--busy { background: repeating-linear-gradient(135deg, var(--busy-a) 0 4px, var(--busy-b) 4px 8px); box-shadow: inset 0 0 0 1px rgba(52, 61, 49, .2); }
.cal__swatch--selected { background: var(--forest); }
.cal__status { font-family: var(--font-ui); min-height: 1.6em; margin: 8px 0; }
.cal__clear { margin: 4px 0 8px; }
.cal__note { font-size: .95rem; color: var(--sage-text); margin: 8px 0 0; }
.cal__sample { display: inline-block; margin: 10px 0 0; padding: 4px 12px; border-radius: 999px; background: var(--sand); color: var(--forest); font-family: var(--font-ui); font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; margin: 0 0 24px; background: var(--white); border-left: 4px solid var(--terracotta-deep); border-radius: 10px; }
.note .icon { color: var(--terracotta-deep); margin-top: 2px; }
.note--compact { margin: 0; padding: 12px 14px; font-size: .95rem; }
.prices { display: grid; gap: 14px; list-style: none; padding: 0; margin: 0 0 18px; }
.price { display: grid; gap: 2px; padding: 18px 20px; background: var(--cream); border-radius: var(--radius-card); }
.price__label { font-family: var(--font-ui); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--sage-text); }
.price__amount { font-family: var(--font-heading); font-size: 2rem; line-height: 1.2; }
.price__detail { font-size: .95rem; }
@media (min-width: 768px) { .prices { grid-template-columns: 1fr 1fr; max-width: 760px; } }
.prices-extra { margin: 0 0 18px; padding-left: 1.2em; }
.prices-extra li + li { margin-top: 4px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-family: var(--font-ui); font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--forest);
  background: var(--white); border: 1.5px solid rgba(52, 61, 49, .45); border-radius: 10px;
}
.field input:not([type=radio]):not([type=checkbox]), .field select { height: 50px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--leaf); outline-offset: 1px; border-color: var(--forest); }
.field [aria-invalid="true"] { border-color: #B3261E; }
.field__error { color: #B3261E; font-size: .9rem; min-height: 0; }
.field__hint { font-size: .9rem; color: var(--sage-text); }
.field-row { display: grid; gap: 18px; }
fieldset.field { border: 0; padding: 0; margin: 0; }
.choices { display: flex; flex-wrap: wrap; gap: 10px 20px; }
.choice { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.choice input { width: 22px; height: 22px; min-height: 0; accent-color: var(--forest); }
.consent { display: grid; grid-template-columns: 24px 1fr; gap: 10px; align-items: start; }
.consent input { width: 22px; height: 22px; margin-top: 3px; accent-color: var(--forest); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 10px; font-family: var(--font-ui); }
.form-status:empty { display: none; }
.form-status--ok { background: #E3F0D8; color: #23401A; }
.form-status--error { background: #F9E1DE; color: #7A1E16; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: var(--cream); padding: 0 0 32px; font-size: .95rem; }
.footer__logo-band { background: var(--logo-cream); padding: 32px var(--gutter); margin-bottom: 40px; display: flex; justify-content: center; border-top: 1px solid rgba(52, 61, 49, .12); }
.footer__logo { width: 220px; height: auto; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--leaf); }
.footer__grid { display: grid; gap: 28px; }
.footer__grid h2 { font-family: var(--font-ui); font-weight: 400; font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--leaf); margin-bottom: 10px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 4px; }
.footer__links + .footer__links { margin-top: 10px; }
.footer__links li:not(:last-child)::after { content: "·"; margin-left: 6px; color: var(--sand); }
.footer__legal { border-top: 1px solid rgba(244, 240, 231, .2); margin-top: 32px; padding-top: 20px; font-size: .9rem; }
address { font-style: normal; }

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  :root { --gutter: 32px; --block: 72px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .btn { width: auto; display: inline-flex; min-width: 280px; }
  .ways { grid-template-columns: repeat(4, 1fr); }
  .access { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 300px 1fr; gap: 32px; }
  .amenities { grid-template-columns: repeat(3, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .field-row { grid-template-columns: 1fr 1fr; }
  .rooms { grid-template-columns: 1fr 1fr; }
  .place-list { grid-template-columns: repeat(2, 1fr); }
  .cal__months { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1.2fr 1fr 1.6fr; }
  .lightbox__prev { left: 16px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__next { right: 16px; top: 50%; bottom: auto; transform: translateY(-50%); }
  .lightbox__figure { inset: 56px 80px 64px; }
}

/* ---------- Desktop ---------- */
@media (min-width: 1100px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }
  .js .menu-toggle { display: none; }
  .js .site-nav, .site-nav { display: flex; position: static; align-items: center; gap: 28px; padding: 0; border: 0; background: none; }
  .site-nav__links { display: flex; gap: 26px; }
  .site-nav__links a { padding: 8px 0; border: 0; font-size: 1rem; }
  .site-nav__links a:hover, .site-nav__links a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--terracotta); }
  .lang-switch { margin-top: 0 !important; }
  .hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; }
  .hero__media { aspect-ratio: 4 / 3; max-height: none; }
  .hero__text { padding-top: 0; }
  .access { grid-template-columns: repeat(4, 1fr); }
  .feature { grid-template-columns: 460px 1fr; gap: 48px; padding: 36px 0; align-items: center; }
  .feature > .photo { aspect-ratio: 4 / 3; }
  .feature h3 { font-size: 1.35rem; }
  .feature__body { max-width: 60ch; font-size: 1.05rem; }
  .rooms { grid-template-columns: repeat(4, 1fr); }
  .room { grid-template-columns: 1fr; align-items: start; }
  .room .photo { aspect-ratio: 4 / 3; }
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
  .amenities { grid-template-columns: repeat(4, 1fr); }
  .place-list { grid-template-columns: repeat(3, 1fr); }
  .place-list.split { grid-template-columns: 1fr 1fr; }
}
