/* S'Archiotta B&B — sito statico v2
   Palette: sabbia e crema per i fondi, verde pino per le fasce scure, terracotta per le azioni. */
:root {
  --cream: #faf6ef;
  --sand: #f1e9dc;
  --sand-deep: #e6dac6;
  --pine: #1f3a30;
  --pine-deep: #162b23;
  --ink: #22261f;
  --muted: #5f645b;
  --line: rgba(34, 38, 31, .14);
  --terra: #a4502a;
  --terra-dark: #8a4122;
  --gold: #c9a46a;
  --white: #fff;

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

  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --sec: clamp(80px, 10vw, 140px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.7 var(--sans); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.08; margin: 0; letter-spacing: -.01em; text-wrap: balance; }
h2 { font-size: clamp(38px, 4.6vw, 62px); }
h3 { font-size: clamp(26px, 2.2vw, 32px); }
h2 em, h1 em, h3 em { font-style: italic; color: var(--terra); }
p { margin: 0; }
.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.section { padding-block: var(--sec); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--terra); margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.lead { font-size: clamp(18px, 1.5vw, 20px); line-height: 1.7; color: var(--ink); }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .eyebrow { justify-content: center; }
.center .eyebrow::after { content: ""; width: 32px; height: 1px; background: currentColor; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--terra); outline-offset: 3px; }

/* ---------- buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 28px; border: 1px solid transparent; border-radius: 999px; font: 600 15px/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--terra { background: var(--terra); color: var(--white); }
.btn--terra:hover { background: var(--terra-dark); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--sand); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }
.btn--line { border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--cream); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.link-arrow::after { content: "→"; transition: transform .25s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }

/* ---------- header */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); color: var(--white); transition: background .35s, color .35s, box-shadow .35s; }
.nav.is-solid, .nav.is-open { background: var(--cream); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: grid; text-decoration: none; line-height: 1; }
.logo b { font: 600 28px/1 var(--serif); letter-spacing: .01em; }
.logo span { font: 500 11px/1 var(--sans); letter-spacing: .28em; text-transform: uppercase; margin-top: 5px; opacity: .8; }
.nav__links { display: flex; gap: clamp(16px, 2vw, 32px); list-style: none; margin: 0; padding: 0; }
.nav__links a { position: relative; font: 500 15px/1 var(--sans); text-decoration: none; padding: 8px 0; }
.nav__links 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); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { min-height: 44px; padding: 0 22px; }
.nav__toggle { display: none; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.nav__toggle span, .nav__toggle span::before { display: block; width: 18px; height: 1.5px; margin: auto; background: currentColor; position: relative; transition: transform .3s; }
.nav__toggle span::before { content: ""; position: absolute; top: 6px; }
.nav__toggle span { transform: translateY(-3px); }
.nav.is-open .nav__toggle span { transform: rotate(45deg); }
.nav.is-open .nav__toggle span::before { transform: translateY(-6px) rotate(-90deg); }
@media (max-width: 1080px) {
  .nav__toggle { display: grid; place-items: center; }
  .nav__links { position: fixed; inset: var(--nav-h) 0 0; flex-direction: column; gap: 0; padding: 24px var(--gut) 40px; background: var(--cream); color: var(--ink); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s var(--ease), visibility 0s .3s; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links a { display: block; font: 500 30px/1 var(--serif); padding: 18px 0; border-bottom: 1px solid var(--line); }
  .nav__links a::after { display: none; }
  .nav__cta { display: none; }
}

/* ---------- hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; color: var(--white); text-align: center; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenburns 14s var(--ease) both; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 18, .55) 0%, rgba(14, 22, 18, .25) 38%, rgba(14, 22, 18, .6) 100%); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero__in { position: relative; z-index: 1; padding: calc(var(--nav-h) + 40px) var(--gut) 120px; max-width: 980px; }
.hero__kicker { font: 600 13px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin-bottom: 26px; opacity: .92; }
.hero h1 { font-size: clamp(54px, 8.4vw, 124px); line-height: .95; text-shadow: 0 2px 30px rgba(0, 0, 0, .25); }
.hero h1 em { display: block; color: var(--white); font-size: .46em; letter-spacing: .01em; margin-top: .25em; }
.hero__sub { font-size: clamp(18px, 1.6vw, 21px); max-width: 640px; margin: 28px auto 40px; text-shadow: 0 1px 14px rgba(0, 0, 0, .35); }
.hero__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero__scroll { position: absolute; z-index: 1; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; }
.hero__scroll::after { content: ""; width: 1px; height: 48px; background: linear-gradient(var(--white), transparent); animation: drip 2.2s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.hero__facts { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; display: none; }

/* ---------- intro / welcome */
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.intro__text .lead + .lead { margin-top: 18px; }
.intro__text .btn { margin-top: 36px; }
.collage { position: relative; padding: 0 0 90px 70px; }
.collage .c-main { aspect-ratio: 4 / 5; }
.collage .c-main img { object-position: 45% 50%; }
.collage .c-small { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border: 10px solid var(--cream); z-index: 2; box-shadow: 0 30px 60px -30px rgba(20, 30, 25, .5); }
.collage .c-small img { width: 100%; height: 100%; object-fit: cover; }
/* photo frame: a thin offset outline that slides in on hover */
.ph { position: relative; overflow: hidden; background: var(--sand-deep); }
.ph img { transition: transform 1.2s var(--ease); }
.ph:hover img, a:hover > .ph img, .card:hover .ph img { transform: scale(1.06); }
.framed { overflow: visible; }
.framed > .ph__clip { position: absolute; inset: 0; overflow: hidden; }
.framed > .ph__clip img { width: 100%; height: 100%; object-fit: cover; }
.framed::after { content: ""; position: absolute; inset: 22px -22px -22px 22px; border: 1px solid var(--gold); pointer-events: none; transition: inset .6s var(--ease); z-index: 0; }
.framed > .ph__clip { z-index: 1; }
.framed:hover::after { inset: 10px -10px -10px 10px; }
.framed.inner::after { inset: 16px; z-index: 2; border-color: rgba(255, 255, 255, .8); }
.framed.inner:hover::after { inset: 26px; }

/* ---------- strengths band */
.band { background: var(--pine); color: var(--cream); position: relative; overflow: hidden; }
.band .eyebrow { color: var(--gold); }
.band h2 em { color: var(--gold); }
.strengths { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; border-top: 1px solid rgba(250, 246, 239, .18); }
.strength { padding: 40px 32px 8px 0; }
.strength + .strength { padding-left: 32px; border-left: 1px solid rgba(250, 246, 239, .18); }
.strength svg { width: 40px; height: 40px; stroke: var(--gold); fill: none; stroke-width: 1.4; margin-bottom: 22px; }
.strength h3 { font-size: 27px; margin-bottom: 10px; }
.strength p { color: rgba(250, 246, 239, .78); font-size: 16px; }

/* ---------- rooms */
.head { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 64px; align-items: end; margin-bottom: 64px; }
.head p { color: var(--muted); }
.rooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.card { display: block; text-decoration: none; color: inherit; }
.room .ph { aspect-ratio: 4 / 5; }
.room .ph img { width: 100%; height: 100%; object-fit: cover; }
.room__tag { position: absolute; z-index: 1; top: 18px; left: 18px; background: var(--cream); padding: 8px 14px; font: 600 12px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.room__body { padding-top: 24px; display: grid; gap: 8px; }
.room__row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.room__price { font-family: var(--serif); font-size: 22px; white-space: nowrap; }
.room__price small { font: 400 14px var(--sans); color: var(--muted); }
.room__body .link-arrow { justify-self: start; margin-top: 10px; font-size: 15px; }
.room-info { display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; margin-top: 72px; }
.panel { background: var(--white); padding: clamp(28px, 4vw, 48px); }
.panel h3 { margin-bottom: 22px; }
.prices { width: 100%; border-collapse: collapse; font-size: 16px; }
.prices th, .prices td { text-align: left; padding: 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices th { font: 600 13px/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prices td:last-child, .prices th:last-child { text-align: right; }
.prices strong { font-family: var(--serif); font-size: 28px; font-weight: 600; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; align-items: flex-start; }
.ticks svg { width: 22px; height: 22px; flex: none; margin-top: 3px; stroke: var(--terra); fill: none; stroke-width: 1.6; }
.note { font-size: 14px; color: var(--muted); margin-top: 18px; }

/* ---------- territory */
.territory { background: var(--sand); }
.terr { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.terr__text .lead { margin-top: 28px; }
.terr__text p + p { margin-top: 16px; }
.steps { position: relative; }
.steps .ph { aspect-ratio: 4 / 5; }
.steps .ph img { width: 100%; height: 100%; object-fit: cover; }
.steps ol { list-style: none; margin: -140px 0 0 -64px; padding: 0; position: relative; z-index: 1; display: grid; gap: 12px; width: calc(100% - 24px); }
.steps li { display: grid; grid-template-columns: 64px 1fr; gap: 8px; align-items: start; background: var(--cream); padding: 22px 26px; box-shadow: 0 18px 40px -26px rgba(20, 30, 25, .35); transition: transform .4s var(--ease); }
.steps li:hover { transform: translateX(8px); }
.steps li b { font: 500 46px/1 var(--serif); color: var(--terra); }
.steps li h3 { font-size: 24px; margin-bottom: 4px; }
.steps li p { font-size: 15px; color: var(--muted); line-height: 1.6; }
.wide-photo { margin-top: clamp(64px, 8vw, 110px); display: grid; grid-template-columns: 2fr 1fr; gap: 24px; }
.wide-photo .ph { aspect-ratio: 16 / 9; }
.wide-photo .ph:last-child { aspect-ratio: auto; }
.wide-photo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- gallery */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 40px 0 48px; }
.filters button { min-height: 44px; padding: 0 22px; border: 1px solid var(--line); border-radius: 999px; background: transparent; font: 500 15px/1 var(--sans); color: var(--ink); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.filters button:hover { border-color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--pine); border-color: var(--pine); color: var(--cream); }
.gallery { columns: 4 260px; column-gap: 16px; }
.gallery figure { margin: 0 0 16px; break-inside: avoid; }
.gallery button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; position: relative; overflow: hidden; }
.gallery button img { width: 100%; transition: transform 1s var(--ease), filter .6s; }
.gallery button::after { content: ""; position: absolute; inset: 0; background: rgba(22, 43, 35, .35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M20 20l-4-4M11 8v6M8 11h6'/%3E%3C/svg%3E") center / 44px no-repeat; opacity: 0; transition: opacity .4s; }
.gallery button:hover img { transform: scale(1.05); }
.gallery button:hover::after, .gallery button:focus-visible::after { opacity: 1; }
.gallery figure[hidden] { display: none; }
.gallery figure.is-in { animation: popin .5s var(--ease) both; }
@keyframes popin { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* lightbox */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 18, 15, .95); color: var(--white); }
.lb::backdrop { background: rgba(12, 18, 15, .9); }
.lb[open] { display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lb__img { max-width: min(92vw, 1600px); max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; animation: lbin .45s var(--ease); }
@keyframes lbin { from { opacity: 0; transform: scale(.97); } to { opacity: 1; transform: none; } }
.lb__bar { display: flex; gap: 20px; align-items: center; padding: 16px 0 28px; font-size: 15px; }
.lb__count { min-width: 64px; text-align: center; opacity: .8; }
.lb button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); background: transparent; color: var(--white); font-size: 22px; cursor: pointer; transition: background .2s; }
.lb button:hover { background: rgba(255, 255, 255, .14); }
.lb__close { position: absolute; top: 24px; right: 32px; }
.lb__alt { position: absolute; left: 24px; bottom: 34px; max-width: 40ch; font-size: 14px; opacity: .75; }

/* ---------- things to do */
.todo { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.todo .card { position: relative; aspect-ratio: 3 / 4; overflow: hidden; color: var(--white); }
.todo .ph { position: absolute; inset: 0; }
.todo .ph img { width: 100%; height: 100%; object-fit: cover; }
.todo .card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14, 22, 18, 0) 35%, rgba(14, 22, 18, .82) 100%); transition: background .5s; }
.todo__txt { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 24px; }
.todo__txt h3 { font-size: 27px; }
.todo__txt p { font-size: 15px; line-height: 1.55; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .6s var(--ease), opacity .4s, margin .4s; }
.todo .card:hover .todo__txt p, .todo .card:focus-within .todo__txt p { max-height: 160px; opacity: 1; margin-top: 10px; }
.todo .card:hover::after { background: linear-gradient(180deg, rgba(14, 22, 18, .15) 0%, rgba(14, 22, 18, .9) 100%); }
.todo__kind { position: absolute; z-index: 1; top: 18px; left: 18px; font: 600 11px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: rgba(250, 246, 239, .92); color: var(--ink); padding: 8px 12px; }
@media (hover: none) { .todo__txt p { max-height: none; opacity: 1; margin-top: 8px; } }

/* ---------- history (dark) */
.history { background: var(--pine-deep); color: var(--cream); }
.history .eyebrow { color: var(--gold); }
.history h2 em { color: var(--gold); }
.hist { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.hist__photos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hist__photos .ph { background: #2a3a33; }
.hist__photos .ph:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.hist__photos .ph:not(:first-child) { aspect-ratio: 4 / 3; }
.hist__photos img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05) sepia(.18); }
.hist__text .lead { margin-top: 26px; color: rgba(250, 246, 239, .86); }
.timeline { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid rgba(250, 246, 239, .16); }
.timeline b { font: 500 34px/1 var(--serif); color: var(--gold); }
.timeline p { color: rgba(250, 246, 239, .82); font-size: 16px; }

/* ---------- getting here + map */
.where { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; background: var(--white); }
.where__text { padding: clamp(32px, 5vw, 64px); }
.where__text h2 { margin-bottom: 26px; }
.addr { font: 500 26px/1.3 var(--serif); margin-bottom: 26px; }
.route { padding: 20px 0; border-top: 1px solid var(--line); }
.route h3 { font: 600 15px/1.3 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--terra); margin-bottom: 8px; }
.route p { font-size: 16px; color: var(--muted); }
.where__contacts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.map { position: relative; min-height: 520px; background: var(--sand-deep); }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.85); }
.map__gate { position: absolute; inset: 0; display: grid; place-items: center; overflow: hidden; color: var(--white); text-align: center; }
.map__gate > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.2s var(--ease); }
.map__gate::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(14, 24, 19, .62); }
.map:hover .map__gate > img { transform: scale(1.09); }
.map__gate-in { position: relative; z-index: 2; display: grid; justify-items: center; gap: 14px; padding: 32px; max-width: 440px; }
.map__gate-in svg { width: 40px; height: 40px; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.map__title { font: 500 32px/1.1 var(--serif); }
.map__note { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
.map__note a { color: var(--white); }

/* ---------- booking */
.book { position: relative; color: var(--white); overflow: hidden; }
.book__bg { position: absolute; inset: -12% 0; }
.book__bg img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.book::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(14, 24, 19, .62); }
.book__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.book .eyebrow { color: var(--gold); }
.book h2 em { color: var(--gold); }
.book__text .lead { margin-top: 24px; color: rgba(255, 255, 255, .9); }
.book__perks { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 12px; }
.book__perks li { display: flex; gap: 12px; }
.book__perks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; border-radius: 50%; background: var(--gold); }
.form { background: var(--cream); color: var(--ink); padding: clamp(28px, 4vw, 44px); display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form h3 { grid-column: 1 / -1; font-size: 32px; }
.field { display: grid; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font: 600 13px/1.2 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid rgba(34, 38, 31, .25); border-radius: 4px; background: var(--white); font: 400 16px/1.4 var(--sans); color: var(--ink); }
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--terra); outline-offset: 0; border-color: transparent; }
.field__err { font-size: 14px; color: #a1261b; }
.form .btn { grid-column: 1 / -1; width: 100%; }
.form__alt { grid-column: 1 / -1; font-size: 15px; text-align: center; color: var(--muted); }
.form__alt a { color: var(--ink); font-weight: 600; }

/* ---------- footer */
.foot { background: var(--pine-deep); color: rgba(250, 246, 239, .82); padding: 80px 0 32px; font-size: 16px; }
.foot__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.foot .logo { color: var(--cream); margin-bottom: 18px; }
.foot h3 { font: 600 13px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; }
.foot__legal a { color: rgba(250, 246, 239, .85); text-decoration: underline; text-underline-offset: 3px; }
.foot a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(250, 246, 239, .14); font-size: 14px; color: rgba(250, 246, 239, .6); }

/* ---------- mobile action bar + whatsapp */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: var(--cream); box-shadow: 0 -1px 0 var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar.is-on.is-away { transform: translateY(110%); }
  .mbar .btn { min-height: 48px; padding: 0 14px; }
  body { padding-bottom: 0; }
  .foot { padding-bottom: 100px; }
}

/* ---------- reveal on scroll (only with JS, never with reduced motion) */
.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
.js .rv-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.js .rv-img img { transform: scale(1.18); transition: transform 1.8s var(--ease); }
.js .rv-img.is-in { clip-path: inset(-40px -40px -40px -40px); }
.js .rv-img.is-in img { transform: scale(1); }
.js .rv-img.is-in:hover img { transform: scale(1.06); transition-duration: 1.2s; }
.js .d1 { transition-delay: .12s; } .js .d2 { transition-delay: .24s; } .js .d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv, .js .rv-img { opacity: 1; transform: none; clip-path: none; }
  .js .rv-img img { transform: none; }
}

/* ---------- responsive */
@media (max-width: 1080px) {
  .strengths { grid-template-columns: 1fr 1fr; }
  .strength:nth-child(3) { padding-left: 0; border-left: 0; }
  .strength:nth-child(n+3) { border-top: 1px solid rgba(250, 246, 239, .18); margin-top: 24px; }
  .todo { grid-template-columns: repeat(2, 1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .intro, .terr, .hist, .book__in, .where, .room-info, .head { grid-template-columns: 1fr; }
  .head { margin-bottom: 40px; }
  .rooms { grid-template-columns: 1fr; gap: 48px; }
  .room .ph { aspect-ratio: 4 / 3; }
  .steps ol { margin: -80px 0 0 16px; width: calc(100% - 32px); }
  .wide-photo { grid-template-columns: 1fr; }
  .wide-photo .ph:last-child { aspect-ratio: 16 / 9; }
  .map { min-height: 380px; }
  .collage { max-width: 560px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .strengths { grid-template-columns: 1fr; }
  .strength, .strength + .strength { padding: 28px 0 4px; border-left: 0; }
  .strength:nth-child(n+2) { border-top: 1px solid rgba(250, 246, 239, .18); margin-top: 0; }
  .todo { grid-template-columns: 1fr; }
  .todo .card { aspect-ratio: 4 / 3; }
  .gallery { columns: 2; column-gap: 10px; }
  .gallery figure { margin-bottom: 10px; }
  .form { grid-template-columns: 1fr; }
  .timeline li { grid-template-columns: 72px 1fr; }
  .foot__grid { grid-template-columns: 1fr; }
  .hero__btns .btn { width: 100%; }
  .framed::after { inset: 10px -10px -10px 10px; }
  .steps li { grid-template-columns: 48px 1fr; padding: 18px; }
  .steps li b { font-size: 36px; }
  .lb__alt { display: none; }
  .hero__kicker { letter-spacing: .14em; font-size: 12px; }
  .collage { padding: 0 0 70px 36px; }
  .collage .c-small { width: 58%; border-width: 6px; }
}
