/* Hallgate Timber - one mobile-first stylesheet, no framework. */

@font-face {
  font-family: "Bebas";
  src: url("../fonts/bebas.woff") format("woff");
  font-display: swap;
}

:root {
  --forest: #1c4a2a;
  --green: #276b38;
  --green-dark: #1f5a2e;
  --leaf: #e6efe3;
  --timber: #9a5b24;
  --timber-dark: #7a4519;
  --cream: #faf6ef;
  --sand: #f1e9dc;
  --ink: #1f2420;
  --muted: #565f58;
  --line: #e2d9cb;
  --white: #fff;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgb(31 36 32 / 6%), 0 8px 24px rgb(31 36 32 / 8%);
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Bebas", "Arial Narrow", Impact, sans-serif;
}

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

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.65 var(--font-body);
  overflow-x: clip; /* not "hidden": that would make body a scroll container and break the sticky header */
}

img, svg { max-width: 100%; height: auto; }
img { display: block; }
picture { display: contents; }

a { color: var(--green); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--forest); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--timber); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: 0.02em; word-spacing: 0.12em; color: var(--forest); margin: 0 0 0.5em; }
h1 { font-size: clamp(2.6rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 2.6rem); }
h3 { font-size: 1.6rem; }
p, ul, ol, dl, figure { margin: 0 0 1rem; }
small { font-size: 0.875rem; }
address { font-style: normal; margin-bottom: 1rem; }

.icon { width: 1.15em; height: 1.15em; flex-shrink: 0; vertical-align: -0.2em; }
.icon--lg { width: 32px; height: 32px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(40px, 6vw, 72px); }
.section--tint { background: var(--sand); }
.section-title { margin-bottom: 0.4em; }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 1.25rem; }
.section-head .section-title { margin: 0; }
.section-intro { max-width: 60ch; color: var(--muted); font-size: 1.125rem; }

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

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 48px; padding: 0.7em 1.3em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn--lg { min-height: 54px; padding-inline: 1.6em; font-size: 1.0625rem; }
.btn--block { display: flex; width: 100%; }
.btn--block + .btn--block { margin-top: 10px; }
.btn--primary { background: var(--green); color: var(--white); }
.btn--primary:hover { background: var(--forest); color: var(--white); }
.btn--ghost { background: var(--white); color: var(--forest); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--green); color: var(--forest); }
.btn--light { background: var(--white); color: var(--forest); }
.btn--light:hover { background: var(--leaf); color: var(--forest); }
.btn--outline-light { color: var(--white); border-color: rgb(255 255 255 / 60%); }
.btn--outline-light:hover { border-color: var(--white); color: var(--white); background: rgb(255 255 255 / 8%); }
.btn--facebook { background: #1864d9; color: var(--white); }
.btn--facebook:hover { background: #0f4fb3; color: var(--white); }
.btn--instagram { background: #c13584; color: var(--white); }
.btn--instagram:hover { background: #9e2a6c; color: var(--white); }

.text-link { display: inline-flex; align-items: center; gap: 0.35em; font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Top bar + header */
.topbar { background: var(--forest); color: #dfe9dc; font-size: 0.875rem; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-block: 6px; }
.topbar p { margin: 0; }
.topbar__hours { display: none; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; min-height: 72px; }
.brand { margin-right: auto; }
.brand img { width: 132px; height: auto; }

.header-call { display: inline-flex; align-items: center; gap: 8px; color: var(--forest); font-weight: 700; text-decoration: none; }
.header-call .icon { width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: var(--leaf); color: var(--green); }
.header-call span { display: none; line-height: 1.2; }
.header-call small { display: block; font-weight: 400; color: var(--muted); font-size: 0.8rem; }

/* Menu button: three bars that turn into a cross */
.nav-toggle {
  display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 14px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white); color: var(--forest);
  font: 600 0.95rem var(--font-body); cursor: pointer; transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.js .nav-toggle { display: inline-flex; }
.nav-toggle[aria-expanded="true"] { background: var(--forest); border-color: var(--forest); color: var(--white); }
.nav-toggle__label { min-width: 2.6em; text-align: left; }
.burger, .burger::before, .burger::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 0.25s ease, background-color 0.2s; }
.burger { position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { transform: translateY(-6px); }
.burger::after { transform: translateY(6px); }
.nav-toggle[aria-expanded="true"] .burger { background-color: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .burger::after { transform: rotate(-45deg); }

/* Mobile menu: a full-height panel that drops down below the header.
   Without JavaScript it is simply a list under the header. */
.site-nav { flex-basis: 100%; order: 10; }
.js .site-nav {
  position: absolute; top: 100%; left: 0; right: 0;
  height: calc(100vh - var(--nav-top, 110px));
  height: calc(100dvh - var(--nav-top, 110px));
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--white); border-top: 1px solid var(--line); box-shadow: 0 16px 32px rgb(31 36 32 / 12%);
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s linear 0.22s;
}
.js .site-nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.22s ease, transform 0.22s ease, visibility 0s; }
.js.nav-open { overflow: hidden; }

.site-nav__inner { display: flex; flex-direction: column; min-height: 100%; max-width: var(--container); margin-inline: auto; padding: 8px var(--gutter) calc(24px + env(safe-area-inset-bottom)); }
.nav-list, .sub-list { list-style: none; margin: 0; padding: 0; }
.nav-item { border-bottom: 1px solid var(--line); }
.nav-row { display: flex; align-items: stretch; }
.nav-row > a { flex: 1; display: flex; align-items: center; min-height: 58px; padding: 0 4px; color: var(--ink); font-size: 1.125rem; font-weight: 600; text-decoration: none; }
.nav-row > a:hover { color: var(--green); }
.nav-row > a.is-active, .nav-row > a[aria-current="page"] { color: var(--green); }
.nav-row > a[aria-current="page"]::after { content: ""; width: 8px; height: 8px; margin-left: 10px; border-radius: 50%; background: var(--green); }

.sub-toggle { display: none; flex-shrink: 0; width: 58px; border: 0; border-left: 1px solid var(--line); background: none; color: var(--forest); cursor: pointer; }
.js .sub-toggle { display: grid; place-items: center; }
.sub-toggle .icon { width: 22px; height: 22px; transition: transform 0.25s ease; }
.sub-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }

/* Submenus slide open (0fr -> 1fr) and are hidden from keyboard and screen readers while closed. */
.js .sub-wrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.25s ease; }
.js .nav-item.is-open .sub-wrap { grid-template-rows: 1fr; }
.js .sub-list { min-height: 0; overflow: hidden; visibility: hidden; transition: visibility 0s linear 0.25s; }
.js .nav-item.is-open .sub-list { visibility: visible; transition-delay: 0s; }
.sub-list li:last-child { padding-bottom: 10px; }
.sub-list a { display: flex; align-items: center; min-height: 48px; padding: 0 12px 0 16px; margin-left: 4px; border-left: 2px solid var(--line); color: var(--muted); font-weight: 500; text-decoration: none; }
.sub-list a:hover { color: var(--green); border-left-color: var(--green); }
.sub-list a[aria-current="page"] { color: var(--green); font-weight: 600; border-left-color: var(--green); }

.nav-extra { display: grid; gap: 10px; margin-top: auto; padding-top: 28px; }
.nav-extra__hours { margin: 4px 0 0; text-align: center; color: var(--muted); font-size: 0.9rem; }

@media (prefers-reduced-motion: reduce) {
  .js .site-nav, .js .site-nav.is-open, .js .sub-wrap, .burger, .burger::before, .burger::after { transition: none; }
}

@media (min-width: 640px) {
  .topbar__hours { display: block; }
  .header-call span { display: block; }
  .brand img { width: 150px; }
}

/* Desktop: inline menu with hover/focus dropdowns */
@media (min-width: 1060px) {
  .site-header__inner { flex-wrap: nowrap; min-height: 84px; gap: 24px; }
  .brand { margin-right: 0; }
  .js .nav-toggle { display: none; }
  .site-nav, .js .site-nav {
    position: static; order: 0; flex-basis: auto; margin-right: auto; height: auto; overflow: visible;
    background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .site-nav__inner { display: block; min-height: 0; max-width: none; padding: 0; }
  .nav-list { display: flex; gap: 2px; }
  .nav-item { position: relative; border: 0; }
  .nav-row > a { min-height: 0; padding: 10px; border-radius: var(--radius-sm); font-size: 1rem; }
  .nav-row > a:hover { background: var(--leaf); color: var(--forest); }
  .nav-row > a[aria-current="page"]::after { content: none; }
  .nav-item.has-sub .nav-row > a { padding-right: 2px; }
  .sub-toggle, .js .sub-toggle { display: inline-grid; place-items: center; align-self: center; width: 28px; height: 36px; border: 0; border-radius: var(--radius-sm); color: var(--muted); }
  .sub-toggle .icon { width: 18px; height: 18px; }
  .sub-wrap, .js .sub-wrap {
    display: none; position: absolute; top: 100%; left: 0; min-width: 220px; padding: 8px;
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
    transition: none;
  }
  .nav-item:hover .sub-wrap, .nav-item:focus-within .sub-wrap, .js .nav-item.is-open .sub-wrap { display: block; }
  .sub-list, .js .sub-list { overflow: visible; visibility: visible; transition: none; }
  .sub-list li:last-child { padding-bottom: 0; }
  .sub-list a { min-height: 0; margin: 0; padding: 8px 12px; border: 0; border-radius: var(--radius-sm); color: var(--ink); font-weight: 400; }
  .sub-list a:hover { background: var(--leaf); color: var(--forest); }
  .nav-extra { display: none; }
}

/* Hero (home) */
.hero { background: linear-gradient(180deg, var(--white), var(--cream)); border-bottom: 1px solid var(--line); }
.hero__inner { display: grid; gap: 32px; padding-block: clamp(32px, 6vw, 72px); align-items: center; }
.eyebrow { display: inline-block; margin-bottom: 12px; padding: 4px 12px; border-radius: 999px; background: var(--leaf); color: var(--green-dark); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.03em; text-transform: uppercase; }
.hero h1 { font-size: clamp(2.6rem, 5vw, 3.75rem); }
.hero__lead { font-size: 1.1875rem; color: var(--muted); max-width: 52ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero__media { margin: 0; }
.hero__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 980 / 350; object-fit: cover; }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: 1fr 1.1fr; gap: 48px; }
}

/* Trust strip */
.trust { background: var(--forest); color: var(--white); }
.trust__list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 32px; padding-block: 28px; margin: 0 auto; }
.trust__list li { display: flex; align-items: center; gap: 14px; color: #d5e2d2; font-size: 0.95rem; line-height: 1.35; }
.trust__list strong { display: block; color: var(--white); font-size: 1.05rem; }
.trust .icon { color: #a8d29b; }

/* Product cards */
.card-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.product-card a { display: flex; flex-direction: column; height: 100%; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; }
.product-card a:hover { box-shadow: var(--shadow); border-color: #cfc3b0; transform: translateY(-2px); }
.product-card__media { display: grid; place-items: center; height: 190px; padding: 16px; background: var(--white); border-bottom: 1px solid var(--line); }
.product-card__media img { max-height: 158px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.product-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 16px 18px; }
.product-card h3 { margin-bottom: 0.3em; }
.product-card p { color: var(--muted); margin-bottom: 12px; }
.product-card__price { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: auto 0 0 !important; padding-top: 12px; border-top: 1px dashed var(--line); color: var(--ink) !important; }
.product-card__price strong { color: var(--timber-dark); font-size: 1.15rem; }
.product-card__go { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--leaf); color: var(--green); transition: background-color 0.2s, color 0.2s; }
.product-card a:hover .product-card__go { background: var(--green); color: var(--white); }

/* Feature cards (merchant) */
.feature-grid { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.feature-card { position: relative; padding: 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); border-top: 4px solid var(--timber); }
.feature-card h3 a { color: var(--forest); text-decoration: none; }
.feature-card h3 a::after { content: ""; position: absolute; inset: 0; }
.feature-card:hover { box-shadow: var(--shadow); }
.feature-card p { margin: 0; color: var(--muted); }

/* Layout helpers */
.split { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .split { grid-template-columns: 1.4fr 1fr; gap: 48px; } }

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card__title { display: flex; align-items: center; gap: 8px; font-size: 1.6rem; }
.card__title .icon { color: var(--green); }

.town-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.town-list li { padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 0.95rem; }

.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.hours div:last-child { border-bottom: 0; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; text-align: right; }
.hours--inline { max-width: 420px; }

.follow-card { display: grid; gap: 20px; align-items: center; padding: clamp(24px, 4vw, 40px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.follow-card h2 { margin-bottom: 0.3em; }
.follow-card p { margin: 0; color: var(--muted); max-width: 60ch; }
.follow-card__actions, .social-cta { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .follow-card { grid-template-columns: 1fr auto; } }

/* CTA band */
.cta-band { background: var(--green); color: var(--white); }
.cta-band__inner { display: grid; gap: 20px; align-items: center; padding-block: clamp(32px, 5vw, 56px); }
.cta-band h2 { color: var(--white); margin-bottom: 0.25em; }
.cta-band p { margin: 0; color: #dcebd8; max-width: 60ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) { .cta-band__inner { grid-template-columns: 1fr auto; gap: 40px; } }

/* Inner page header */
.page-head { background: var(--white); border-bottom: 1px solid var(--line); padding-block: clamp(24px, 4vw, 44px); }
.page-head h1 { margin-bottom: 0.2em; }
.page-head .lead { max-width: 62ch; margin: 0; font-size: 1.1875rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0 0 12px; font-size: 0.9rem; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: #a39a8c; }
.breadcrumb a { color: var(--muted); }

/* Prose */
.prose { min-width: 0; }
.prose > * { max-width: 72ch; }
.prose h2 { margin-top: 1.2em; }
.prose > h2:first-child, .model > h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1em; }
.prose-page .prose { max-width: 820px; }

.model { padding-block: 28px; border-top: 1px solid var(--line); scroll-margin-top: 100px; }
.model:first-of-type { border-top: 0; padding-top: 8px; }

.banner-figure { display: grid; place-items: center; max-width: none !important; padding: clamp(16px, 3vw, 32px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.banner-figure img { max-height: 300px; width: auto; max-width: 100%; }
.photo-figure img { width: 100%; border-radius: var(--radius); }
.photo-figure--small { max-width: 500px !important; }

.tick-list { list-style: none; padding: 0; }
.tick-list li { position: relative; padding-left: 28px; margin-bottom: 6px; }
.tick-list li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 12px; height: 7px; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.tick-list li:has(> .icon) { padding-left: 0; display: flex; gap: 8px; align-items: baseline; }
.tick-list li:has(> .icon)::before { content: none; }
.tick-list li > .icon { color: var(--green); }
@media (min-width: 640px) { .tick-list--columns { columns: 2; gap: 32px; } .tick-list--columns li { break-inside: avoid; } }

.note { margin-block: 24px; padding: 16px 20px; background: var(--sand); border-left: 4px solid var(--timber); border-radius: var(--radius-sm); }
.note p { margin: 0 0 4px; }
.note p:last-child { margin: 0; }

.callout { padding: 14px 18px; background: var(--leaf); border-radius: var(--radius-sm); font-weight: 600; color: var(--forest); }

.jump-links { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 8px 24px; }
.jump-links a { padding: 8px 16px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); color: var(--forest); font-weight: 600; text-decoration: none; font-size: 0.95rem; }
.jump-links a:hover { border-color: var(--green); background: var(--leaf); }

/* Price tables */
.table-wrap { max-width: 100% !important; overflow-x: auto; margin-block: 16px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.table-wrap:focus-visible { outline-offset: 4px; }
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.price-table caption { padding: 14px 16px 10px; text-align: left; font-weight: 700; color: var(--forest); }
.price-table th, .price-table td { padding: 10px 16px; text-align: left; white-space: nowrap; }
.price-table thead th { background: var(--forest); color: var(--white); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.02em; white-space: normal; line-height: 1.25; vertical-align: bottom; }
@media (max-width: 520px) {
  .price-table th, .price-table td { padding: 9px 10px; font-size: 0.95rem; }
  .price-table thead th { font-size: 0.8rem; }
}
.price-table thead td { background: var(--forest); }
.price-table tbody th { font-weight: 600; }
.price-table tbody tr:nth-child(even) { background: #f8f4ec; }
.price-table tbody tr:hover { background: var(--leaf); }
.price-table td + td, .price-table th + td, .price-table thead th + th { text-align: right; }

.table-grid { display: grid; gap: 0 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); max-width: none !important; }
.table-grid h3 { margin: 12px 0 0; }

/* Product page layout */
.product-layout { display: grid; gap: 32px; }
.product-aside { display: grid; gap: 20px; align-content: start; }
@media (min-width: 960px) {
  .product-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; }
  .product-aside { position: sticky; top: 108px; }
}
.spec-list { margin: 0 0 12px; }
.spec-list div { display: grid; grid-template-columns: 7.5em 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--line); font-size: 0.95rem; }
.spec-list dt { font-weight: 600; color: var(--muted); }
.spec-list dd { margin: 0; }
.spec-card .tick-list { margin: 0; font-size: 0.95rem; }
.quote-card { background: var(--leaf); border-color: #cfe0c9; }
.quote-card p { color: var(--muted); }

/* Downloads */
.download-list { list-style: none; padding: 0; display: grid; gap: 12px; max-width: none !important; }
.download-list a { display: flex; align-items: center; gap: 16px; padding: 14px 18px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.download-list a:hover { border-color: var(--green); box-shadow: var(--shadow); }
.download-list strong { display: block; color: var(--forest); }
.download-list__badge { flex-shrink: 0; display: grid; place-items: center; width: 48px; height: 56px; border-radius: 6px; background: #b3261e; color: var(--white); font-weight: 800; font-size: 0.8rem; }
.download-list__meta { display: block; color: var(--muted); font-size: 0.9rem; }

/* Gallery */
.social-cta { margin-bottom: 28px; }
.gallery-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.gallery-grid figure { margin: 0; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-grid figcaption { padding: 12px 16px; color: var(--muted); font-size: 0.95rem; }
.gallery-more { margin-top: 28px; }

/* Contact */
.contact-layout { display: grid; gap: 24px; }
.contact-details { display: grid; gap: 20px; align-content: start; }
.contact-big { font-size: 1.6rem; font-weight: 700; margin-bottom: 4px; }
.contact-big a { text-decoration: none; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 360px 1fr; gap: 40px; } }

.form__row { margin-bottom: 18px; }
.form__row--half { display: grid; gap: 18px; }
@media (min-width: 640px) { .form__row--half { grid-template-columns: 1fr 1fr; } }
.form label { display: block; margin-bottom: 6px; font-weight: 600; }
.form__optional { font-weight: 400; color: var(--muted); }
.form input, .form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cbbfad; border-radius: var(--radius-sm);
  background: var(--white); color: var(--ink); font: inherit;
}
.form input:focus, .form textarea:focus { outline: 3px solid rgb(39 107 56 / 25%); border-color: var(--green); }
.form textarea { resize: vertical; min-height: 160px; }
.form__small { font-size: 0.875rem; color: var(--muted); }
.form__captcha { min-height: 98px; }
.form__captcha-note, .form__captcha .form__small { margin: 0 0 8px; }
.form__captcha.is-loaded .form__captcha-note { display: none; }
.form__captcha.has-error .form__captcha-note { color: #8a1c13; font-weight: 600; }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.alert { padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; }
.alert--success { background: var(--leaf); color: var(--forest); border: 1px solid #b9d3b1; }
.alert--error { background: #fbe9e7; color: #8a1c13; border: 1px solid #f0bdb6; }

.map-facade { display: grid; place-items: center; gap: 8px; min-height: 360px; padding: 32px; text-align: center; border-radius: var(--radius); border: 1px solid var(--line); background: repeating-linear-gradient(45deg, var(--sand) 0 12px, #ece2d2 12px 24px); }
.map-facade p { margin: 0; font-weight: 600; }
.map-facade__note { max-width: 46ch; font-size: 0.875rem; font-weight: 400 !important; color: var(--muted); }
.map-facade.is-loaded { padding: 0; overflow: hidden; }
.map-facade iframe { width: 100%; height: 450px; border: 0; display: block; }

.link-grid { list-style: none; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.link-grid a { display: block; padding: 14px 16px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); font-weight: 600; text-decoration: none; }
.link-grid a:hover { border-color: var(--green); }

/* Footer */
.site-footer { background: #15301d; color: #c9d6c6; font-size: 0.95rem; }
.footer-grid { display: grid; gap: 32px; padding-block: 48px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); }
.footer-title { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: 0.03em; word-spacing: 0.12em; color: var(--white); margin-bottom: 10px; }
.site-footer a { color: var(--white); }
.site-footer a:hover { color: #a8d29b; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 6px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer .hours div { border-color: rgb(255 255 255 / 15%); }
.footer-phone a { font-weight: 700; font-size: 1.1rem; text-decoration: none; }
.social { list-style: none; padding: 0; display: flex; gap: 10px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgb(255 255 255 / 10%); }
.social a:hover { background: rgb(255 255 255 / 20%); color: var(--white); }
.footer-base { border-top: 1px solid rgb(255 255 255 / 12%); font-size: 0.85rem; }
.footer-base__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-block: 16px; }
.footer-base p { margin: 0; }
