/* Nelson Bridge House — palette taken from the house itself:
   sage linen, oak floors, terracotta cushions, warm plaster walls. */

:root {
  --bg: #f7f3ec;
  --bg-alt: #efe8dc;
  --surface: #fffdf9;
  --ink: #1f2a24;
  --ink-soft: #4b574f;
  --muted: #7a8279;
  --line: #e2d9ca;
  --sage: #5f7a64;
  --forest: #2c4536;
  --forest-ink: #f4f1ea;
  --terracotta: #c2643c;
  --terracotta-dark: #a4502c;
  --oak: #c9a274;
  --focus: #c2643c;
  --ok: #2f7a4b;
  --danger: #b3412b;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(31, 42, 36, 0.06), 0 8px 24px rgba(31, 42, 36, 0.08);
  --shadow-lg: 0 24px 60px rgba(31, 42, 36, 0.18);
  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  color-scheme: light;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-dark); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.5em; color: var(--ink); }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.2rem); font-weight: 400; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.18rem; color: var(--ink-soft); max-width: 62ch; }
.eyebrow { font: 600 0.78rem/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--terracotta); margin-bottom: 1rem; display: inline-block; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--forest); color: var(--forest-ink); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead, .section--dark p { color: rgba(244, 241, 234, 0.82); }
.section-head { max-width: 760px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: 12px; top: -60px; background: var(--forest); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip-link:focus { top: 12px; color: #fff; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  padding: 0.95em 1.6em; border-radius: 999px; border: 1.5px solid transparent;
  font: 600 0.98rem/1 var(--sans); text-decoration: none; cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--terracotta); color: #fff; box-shadow: 0 6px 18px rgba(194, 100, 60, 0.32); }
.btn--primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn--dark { background: var(--forest); color: #fff; }
.btn--dark:hover { background: #22382b; color: #fff; }
.btn--ghost { border-color: currentColor; color: var(--forest); background: transparent; }
.btn--ghost:hover { background: var(--forest); color: #fff; border-color: var(--forest); }
.btn--light { background: #fff; color: var(--forest); }
.btn--light:hover { background: var(--bg); color: var(--forest); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.1em 2em; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 243, 236, 0.88);
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand svg { width: 34px; height: 34px; flex: none; }
.brand-name { font: 500 1.2rem/1 var(--serif); }
.brand-name small { display: block; font: 600 0.62rem/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-top: 5px; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current='page'] { color: var(--terracotta-dark); }
.nav .btn { padding: 0.75em 1.3em; color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; margin-right: -10px; cursor: pointer; color: var(--ink); }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 20px;
    transform: translateY(-8px); opacity: 0; visibility: hidden; transition: 0.2s;
    box-shadow: var(--shadow);
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; border-bottom: 0; padding: 1em; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(24px, 4vw, 48px) 0 clamp(48px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--sage); }
.hero .lead { margin-bottom: 1.6em; }
.hero-media { position: relative; }
.hero-media picture img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; left: -22px; bottom: 28px; background: var(--surface); border-radius: var(--radius);
  padding: 14px 18px; box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: 260px;
}
.hero-badge strong { font: 500 1.6rem/1 var(--serif); color: var(--forest); }
.hero-badge span { font-size: 0.85rem; color: var(--ink-soft); line-height: 1.35; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; padding: 0; margin: 0 0 2em; list-style: none; color: var(--ink-soft); font-size: 0.95rem; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 18px; height: 18px; color: var(--sage); }

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media picture img { aspect-ratio: 4 / 3; }
  .hero-badge { left: 12px; bottom: 12px; }
}

/* ---------- Quick search ---------- */
.quick-search {
  display: grid; grid-template-columns: 1fr 1fr 0.8fr auto; gap: 0; align-items: stretch;
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 8px; border: 1px solid var(--line);
}
.quick-search label { display: flex; flex-direction: column; padding: 8px 16px; border-right: 1px solid var(--line); min-width: 0; }
.quick-search label:nth-of-type(3) { border-right: 0; }
.quick-search span { font: 600 0.7rem/1.2 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.quick-search input, .quick-search select { border: 0; background: transparent; font: 500 1rem var(--sans); color: var(--ink); padding: 4px 0; min-width: 0; width: 100%; }
.quick-search input:focus, .quick-search select:focus { outline: none; }
.quick-search label:focus-within { background: var(--bg); border-radius: 12px; }
.quick-search .btn { border-radius: 12px; }
@media (max-width: 640px) {
  .quick-search { grid-template-columns: 1fr 1fr; }
  .quick-search label { border-right: 0; border-bottom: 1px solid var(--line); }
  .quick-search label:nth-of-type(3) { grid-column: 1 / -1; }
  .quick-search .btn { grid-column: 1 / -1; margin-top: 8px; }
}

/* ---------- Feature strip ---------- */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature svg { width: 28px; height: 28px; color: var(--terracotta); margin-bottom: 12px; }
.feature strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin-bottom: 2px; }
.feature span { font-size: 0.92rem; color: var(--ink-soft); line-height: 1.45; display: block; }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split--reverse > :first-child { order: 2; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.checklist { list-style: none; padding: 0; margin: 0 0 1.5em; display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 30px; }
.checklist li::before {
  content: ''; position: absolute; left: 0; top: 0.45em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.section--dark .checklist li::before { background-color: var(--oak); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 12px; }
.gallery button { padding: 0; border: 0; background: var(--line); border-radius: 12px; overflow: hidden; cursor: zoom-in; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .g-wide { grid-column: span 2; }
.gallery .g-tall { grid-row: span 2; }
.gallery .g-big { grid-column: span 2; grid-row: span 2; }
.gallery figcaption {
  position: absolute; left: 10px; bottom: 10px; background: rgba(31, 42, 36, 0.72); color: #fff; font-size: 0.78rem;
  padding: 4px 10px; border-radius: 999px; opacity: 0; transition: opacity 0.2s;
}
.gallery button:hover figcaption, .gallery button:focus-visible figcaption { opacity: 1; }
@media (max-width: 880px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

.lightbox { position: fixed; inset: 0; background: rgba(16, 22, 19, 0.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 56px 16px; }
.lightbox.is-open { display: flex; }
.lightbox img { max-height: 100%; max-width: 100%; object-fit: contain; border-radius: 8px; }
.lightbox p { position: absolute; bottom: 14px; left: 0; right: 0; text-align: center; color: #e9e4da; font-size: 0.92rem; margin: 0; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, 0.12); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.lightbox button:hover { background: rgba(255, 255, 255, 0.24); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- Amenities ---------- */
.amenity-groups { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px 40px; }
.amenity-groups h3 { font-size: 1.15rem; display: flex; align-items: center; gap: 10px; }
.amenity-groups h3 svg { width: 22px; height: 22px; color: var(--terracotta); }
.amenity-groups ul { list-style: none; padding: 0; margin: 0; color: var(--ink-soft); font-size: 0.97rem; }
.amenity-groups li { padding: 7px 0; border-bottom: 1px dashed var(--line); }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.section--dark .card { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.12); }
.card h3 { margin-bottom: 0.35em; }
.card p:last-child { margin-bottom: 0; }
.card .num { font: 400 2.6rem/1 var(--serif); color: var(--oak); display: block; margin-bottom: 12px; }

/* ---------- Location ---------- */
.distances { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.distances li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.distances span:last-child { color: var(--muted); white-space: nowrap; font-size: 0.95rem; }
.map-frame { width: 100%; aspect-ratio: 4 / 3.4; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--line); }

/* ---------- Reviews ---------- */
.rating-hero { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }
.rating-hero strong { font: 400 4.2rem/1 var(--serif); color: var(--forest); }
.stars { color: var(--terracotta); letter-spacing: 3px; font-size: 1.3rem; }
.quote-card blockquote { margin: 0 0 16px; font: 400 1.18rem/1.55 var(--serif); }
.quote-card cite { font-style: normal; color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font: 500 1.15rem/1.4 var(--serif); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font: 300 1.8rem/1 var(--sans); color: var(--terracotta); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--ink-soft); }

/* ---------- CTA ---------- */
.cta { position: relative; border-radius: var(--radius-lg); overflow: hidden; color: #fff; isolation: isolate; }
.cta img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::before { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(28, 44, 35, 0.92) 0%, rgba(28, 44, 35, 0.6) 55%, rgba(28, 44, 35, 0.2) 100%); z-index: -1; }
.cta-inner { padding: clamp(40px, 7vw, 88px); max-width: 640px; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255, 255, 255, 0.86); }

/* ---------- Guide / prose ---------- */
.page-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(32px, 5vw, 56px); }
.page-hero .lead { margin-top: 0.5em; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: 0.4em; }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; margin: 0 0 2em; }
.toc ol { margin: 0.5em 0 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
@media (max-width: 640px) { .toc ol { columns: 1; } }
.guide-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.guide-aside { position: sticky; top: 96px; }
@media (max-width: 980px) { .guide-grid { grid-template-columns: 1fr; } .guide-aside { position: static; } }
.callout { background: var(--forest); color: var(--forest-ink); border-radius: var(--radius-lg); padding: 28px; }
.callout h3 { color: #fff; }
.callout p { color: rgba(244, 241, 234, 0.85); }
.tag { display: inline-block; font: 600 0.72rem/1 var(--sans); letter-spacing: 0.06em; text-transform: uppercase; background: var(--bg-alt); color: var(--forest); padding: 6px 10px; border-radius: 999px; margin-right: 6px; }

/* ---------- Booking page ---------- */
.booking-layout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 40px; align-items: start; }
@media (max-width: 980px) { .booking-layout { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(18px, 3vw, 28px); box-shadow: var(--shadow); }
.summary-panel { position: sticky; top: 92px; }
@media (max-width: 980px) { .summary-panel { position: static; } }

.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; gap: 12px; }
.cal-head h2 { font-size: 1.4rem; margin: 0; }
.cal-nav { display: flex; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; color: var(--ink); }
.icon-btn:hover:not(:disabled) { border-color: var(--ink); }
.icon-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.months { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .months { grid-template-columns: 1fr; } .months .month:nth-child(2) { display: none; } }
.month h3 { font: 600 1rem var(--sans); text-align: center; margin-bottom: 10px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.cal-dow { font: 600 0.72rem var(--sans); text-transform: uppercase; color: var(--muted); text-align: center; padding: 6px 0; }
.day {
  position: relative; aspect-ratio: 1 / 1.05; border: 0; background: transparent; border-radius: 10px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; font: 500 0.98rem var(--sans); color: var(--ink); padding: 0;
}
.day small { font-size: 0.64rem; color: var(--muted); font-weight: 500; }
.day:hover:not(:disabled) { background: var(--bg-alt); }
.day:disabled { cursor: default; color: #b9b3a8; text-decoration: line-through; }
.day:disabled small { visibility: hidden; }
.day.is-checkout-only { color: var(--ink-soft); text-decoration: none; cursor: pointer; }
.day.in-range { background: #e7eee5; border-radius: 0; }
.day.is-start, .day.is-end { background: var(--forest); color: #fff; border-radius: 10px; }
.day.is-start small, .day.is-end small { color: rgba(255, 255, 255, 0.75); }
.day.is-today::after { content: ''; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--terracotta); }
.day.is-empty { visibility: hidden; }
.cal-legend { display: flex; gap: 18px; flex-wrap: wrap; font-size: 0.85rem; color: var(--muted); margin-top: 16px; }
.cal-legend i { display: inline-block; width: 12px; height: 12px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.cal-status { min-height: 1.5em; font-size: 0.92rem; color: var(--ink-soft); margin-top: 10px; }

.guest-row { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); gap: 12px; }
.guest-row:last-child { border-bottom: 0; }
.guest-row strong { display: block; font-weight: 600; }
.guest-row span { font-size: 0.85rem; color: var(--muted); }
.stepper { display: flex; align-items: center; gap: 12px; }
.stepper output { min-width: 1.4em; text-align: center; font-weight: 600; }
.stepper .icon-btn { width: 36px; height: 36px; font-size: 1.15rem; }

.stay-dates { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; margin-bottom: 18px; }
.stay-dates div { padding: 10px 14px; }
.stay-dates div + div { border-left: 1px solid var(--line); }
.stay-dates span { display: block; font: 600 0.68rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.stay-dates strong { font-weight: 600; }
.price-lines { list-style: none; padding: 0; margin: 16px 0; }
.price-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; color: var(--ink-soft); }
.price-lines li.discount { color: var(--ok); }
.price-total { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 14px; font-weight: 700; font-size: 1.15rem; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--line); background: #fff; border-radius: 10px; padding: 12px 14px; font: 400 1rem var(--sans); color: var(--ink);
}
.field input:focus, .field textarea:focus { outline: 2px solid var(--sage); outline-offset: 0; border-color: var(--sage); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.93rem; color: var(--ink-soft); }
.check input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.alert { border-radius: 12px; padding: 12px 16px; font-size: 0.95rem; margin: 12px 0; }
.alert--error { background: #fbe9e4; color: var(--danger); }
.alert--info { background: #eaf0e8; color: var(--forest); }
.trust { display: flex; gap: 8px; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--muted); margin-top: 12px; }
.trust svg { width: 16px; height: 16px; }
.step-title { display: flex; align-items: center; gap: 12px; font-size: 1.3rem; margin: 0 0 16px; }
.step-title b { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: #fff; display: inline-flex; align-items: center; justify-content: center; font: 600 0.9rem var(--sans); flex: none; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255, 255, 255, 0.4); border-top-color: #fff; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: #1b2a21; color: #cfd6cd; padding: 64px 0 28px; font-size: 0.95rem; }
.site-footer a { color: #eef1ea; text-decoration: none; }
.site-footer a:hover { color: var(--oak); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { color: #fff; font: 600 0.78rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 48px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 0.85rem; color: #93a093; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-name small { color: #93a093; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Mobile sticky book bar ---------- */
.mobile-book { display: none; }
@media (max-width: 880px) {
  .mobile-book {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line);
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); align-items: center; justify-content: space-between; gap: 12px;
    box-shadow: 0 -6px 20px rgba(31, 42, 36, 0.08);
  }
  .mobile-book strong { display: block; font-family: var(--serif); font-weight: 500; }
  .mobile-book span { font-size: 0.82rem; color: var(--muted); }
  body.has-mobile-book { padding-bottom: 84px; }
}

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