/* cebuwelding.ph — same system as rondafarm.ph (one stylesheet, no frameworks). Light steel/charcoal + safety orange. */
/* Archivo (self-hosted, latin, variable 700–800; SIL OFL) */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 700 800; font-display: swap;
  src: url("/assets/fonts/archivo-latin.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; }
:root {
  --bg: #f5f6f7;          /* light steel page */
  --warm: #e9ecef;        /* alternate sections */
  --surface: #ffffff;     /* cards */
  --ink: #1b2026;         /* charcoal */
  --muted: #56606b;
  --line: #d5dae0;
  --accent: #c2410c;      /* safety orange — the one button colour */
  --accent-hover: #9a3412;
  --on-accent: #ffffff;
  --earth: #c2410c;       /* small labels only */
  --gap: 96px;            /* one section rhythm for the whole site */
  --pad: 16px;            /* side gutter */
  --radius: 20px;         /* one radius for photos and cards */
  --max: 1160px;
  --serif: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; /* display font */
  color-scheme: light;
}
@media (max-width: 720px) { :root { --gap: 64px; } }
@media (min-width: 721px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 17px/1.65 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  overflow-x: clip;
}
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { line-height: 1.12; margin: 0; }
h1, h2 { font-family: var(--serif); font-weight: 800; letter-spacing: -0.02em; }
h1 { font-size: clamp(38px, 5.4vw, 64px); }
h2 { font-size: clamp(28px, 3.4vw, 42px); }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }

/* Header */
.site-header { background: var(--bg); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; flex-wrap: nowrap; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-weight: 700; font-size: 22px; text-decoration: none; }
.logo img { width: 32px; height: 32px; }
.nav { display: flex; align-items: center; gap: 28px; font-size: 16px; font-weight: 500; }
.nav a { text-decoration: none; padding: 8px 0; }
.nav a:hover, .nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--earth); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.lang { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.lang a { font-weight: 600; }
.lang a[aria-current="true"] { color: var(--ink); }

/* Sections: same air above and below everywhere */
.section { padding: var(--gap) 0; }
.section.warm { background: var(--warm); }
.section-head { max-width: 720px; margin-bottom: 40px; }

/* Hero: text + large photo */
.hero { padding-top: 32px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1.45fr; gap: 56px; } }
.hero .lead { margin-top: 20px; font-size: 20px; color: var(--muted); max-width: 520px; }
.hero .btn { margin-top: 32px; }
.hero-img { width: 100%; border-radius: var(--radius); box-shadow: 0 24px 48px -24px rgba(20, 26, 32, .35); }
.badge { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 20px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--muted); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--earth); }

/* One button style */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 30px; border-radius: 999px; white-space: nowrap;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 17px; text-decoration: none;
  transition: background .15s, transform .15s, box-shadow .15s;
}
.btn:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(194, 65, 12, .28); }
.btn svg { width: 20px; height: 20px; flex: none; }

/* Cards with photos */
.cards { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 721px) { .cards { grid-template-columns: repeat(3, 1fr); } .cards.cards-2 { grid-template-columns: repeat(2, 1fr); } }
.card {
  display: flex; flex-direction: column;
  border-radius: var(--radius); background: var(--surface); overflow: hidden;
  box-shadow: 0 1px 2px rgba(20, 26, 32, .06), 0 12px 32px -16px rgba(20, 26, 32, .18);
}
.card img { width: 100%; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 24px; flex: 1; }
.card .word { font-size: 13px; font-weight: 700; color: var(--earth); text-transform: uppercase; letter-spacing: .08em; }
.card h2 { font-size: 26px; }
.card h3 { font-size: 22px; font-family: var(--serif); font-weight: 700; }
.card p { color: var(--muted); }
.card .more { margin-top: auto; padding-top: 8px; font-weight: 700; color: var(--accent); text-decoration: none; }
.card .more:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Photo + text */
.split { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.split-img { width: 100%; border-radius: var(--radius); }
.split .section-head { margin-bottom: 32px; }

/* Points */
.points { display: grid; gap: 24px; list-style: none; margin: 0; padding: 0; }
.points li { display: grid; grid-template-columns: 32px 1fr; gap: 16px; align-items: start; }
.points li::before {
  content: ""; width: 32px; height: 32px; border-radius: 50%; background: var(--accent)
  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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/16px no-repeat;
}
.points h3 { font-size: 19px; line-height: 32px; }
.points p { color: var(--muted); }

/* Sizes */
.sizes { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 721px) { .sizes { grid-template-columns: repeat(3, 1fr); } }
.size { padding: 32px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(20, 26, 32, .06), 0 12px 32px -16px rgba(20, 26, 32, .18); }
.size strong { display: block; font-family: var(--serif); font-weight: 700; font-size: 36px; line-height: 1.1; color: var(--accent); }
.size span { display: block; margin-top: 8px; color: var(--muted); }

/* FAQ */
.faq { max-width: 800px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; font-size: 18px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; margin-top: -7px;
  border-right: 2px solid var(--earth); border-bottom: 2px solid var(--earth); transform: rotate(45deg); transition: transform .15s;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); }

/* Closing CTA */
.cta { text-align: center; }
.cta h2 { margin-bottom: 32px; }

/* Footer */
.site-footer { background: var(--warm); border-top: 1px solid var(--line); padding: 56px 0; font-size: 15px; color: var(--muted); }
.site-footer .wrap { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 721px) { .site-footer .wrap { grid-template-columns: 2fr 1fr 1fr; } }
.site-footer strong { display: block; color: var(--ink); margin-bottom: 8px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer address { font-style: normal; }

/* 404 */
.notfound { min-height: 60vh; display: flex; align-items: center; }
.notfound p { margin: 16px 0 32px; color: var(--muted); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* Service area block */
.place address { font-style: normal; font-size: 20px; margin-bottom: 16px; }
.place .more { font-weight: 700; color: var(--accent); text-decoration: none; }
.place .more:hover { text-decoration: underline; text-underline-offset: 5px; }

/* Illustration captions */
.fig { margin: 0; }
.fig figcaption, .fig-cap { margin-top: 10px; font-size: 13px; color: var(--muted); }

/* Full-bleed photo with headline (hero + closing band) */
.photo-band { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: clamp(560px, 80vh, 780px); color: #fff; }
.photo-band > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.photo-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(12, 15, 19, .86) 0%, rgba(12, 15, 19, .55) 42%, rgba(12, 15, 19, .08) 78%); }
.photo-band .wrap { width: 100%; padding-bottom: 72px; }
.photo-band h1, .photo-band h2 { max-width: 780px; text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
.photo-band .lead { margin-top: 16px; max-width: 560px; font-size: 20px; color: rgba(255, 255, 255, .92); }
.photo-band .btn { margin-top: 32px; box-shadow: 0 0 0 2px rgba(255, 255, 255, .85); }
.photo-band.closing { min-height: clamp(420px, 60vh, 560px); align-items: center; text-align: center; }
.photo-band.closing::before { background: rgba(12, 15, 19, .62); }
.photo-band.closing .wrap { padding-bottom: 0; }
.photo-band.closing h2 { margin: 0 auto; }
@media (max-width: 720px) { .photo-band .wrap { padding-bottom: 48px; } .photo-band .lead { font-size: 18px; } }

/* Cards: photo, name, one line, action */
.card-actions { margin-top: auto; padding-top: 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.card-actions .btn { min-height: 48px; padding: 0 24px; font-size: 16px; }
.card-actions .more { margin: 0; padding: 0; }

/* How it works */
.steps { display: grid; gap: 24px; grid-template-columns: 1fr; list-style: none; margin: 0; padding: 0; counter-reset: step; }
@media (min-width: 721px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; padding: 32px 24px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(20, 26, 32, .06), 0 12px 32px -16px rgba(20, 26, 32, .18); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 16px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-weight: 700; }
.steps h3 { font-family: var(--serif); font-weight: 700; font-size: 22px; }
.steps p { margin-top: 8px; color: var(--muted); }
.steps li { display: flex; flex-direction: column; align-items: flex-start; }
.steps .step-img { order: -1; display: block; width: 100%; height: 136px; object-fit: contain; margin-bottom: 20px; }

/* sticky header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg); border-bottom: 1px solid rgba(0,0,0,.06); }
html { scroll-padding-top: 80px; }
.btn-sm { padding: 8px 16px; min-height: 0; font-size: 15px; color: #fff; text-decoration: none; }
.btn-sm:hover { text-decoration: none; }

/* "Learn more" line under grids */
.learn-more { margin-top: 40px; max-width: 720px; color: var(--muted); }
.learn-more a { color: var(--accent); font-weight: 700; text-underline-offset: 5px; }

/* Brand lockup: name + place */
.logo-text { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.logo-text small { margin-top: 3px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--earth); }

/* card titles one line */
.card h3 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* hero: text in upper part so the farm life below stays visible */
.hero-band { align-items: flex-start; }
.hero-band .wrap { padding-top: clamp(56px, 11vh, 120px); padding-bottom: 0; }
.hero-band::before { background: linear-gradient(to bottom, rgba(12, 15, 19, .82) 0%, rgba(12, 15, 19, .5) 38%, rgba(12, 15, 19, .06) 72%); }
@media (max-width: 720px) { .hero-band .wrap { padding-top: 40px; } }
.hero-band::before { background: linear-gradient(to bottom, rgba(12, 15, 19, .7) 0%, rgba(12, 15, 19, .35) 34%, rgba(12, 15, 19, 0) 62%); }

/* Quote form — step 1 of "How it works", right under the steps */
.steps p a { color: var(--accent); text-underline-offset: 3px; }
.rf { margin-top: 24px; padding: 32px; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(20, 26, 32, .06), 0 12px 32px -16px rgba(20, 26, 32, .18); }
@media (max-width: 560px) { .rf { padding: 24px; } }
.rf-title { display: flex; align-items: center; gap: 16px; margin: 0 0 24px; font-family: var(--serif); font-weight: 700; font-size: 26px; line-height: 1.2; }
.rf-title::before { content: "1"; flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font-family: inherit; font-size: 16px; font-weight: 700; }
.rf-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .rf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .rf-grid { grid-template-columns: repeat(4, 1fr); } }
.rf-field { display: grid; gap: 8px; align-content: start; min-width: 0; margin: 0; padding: 0; border: 0; font-size: 15px; font-weight: 600; }
.rf-field[hidden] { display: none; }
.rf-field legend { padding: 0; margin-bottom: 8px; }
.rf-field input, .rf-field select {
  width: 100%; min-width: 0; min-height: 56px; padding: 0 16px; border: 1px solid var(--line); border-radius: 14px;
  background: var(--bg); color: var(--ink); font: inherit; font-size: 17px; font-weight: 600;
}
.rf-field select { appearance: none; -webkit-appearance: none; padding-right: 44px; background: var(--bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2356606b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") right 16px center/18px no-repeat; }
.rf-field input::placeholder { color: rgba(86, 96, 107, .55); font-weight: 500; }
.rf-field input:focus, .rf-field select:focus { outline: 3px solid var(--accent); outline-offset: 1px; }
.rf-mode { grid-column: span 2; }
@media (max-width: 599px) { .rf-mode { grid-column: auto; } }
.rf-seg { display: grid; grid-template-columns: 1fr 1fr; min-height: 56px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); padding: 4px; gap: 4px; }
.rf-seg label { position: relative; display: grid; cursor: pointer; }
.rf-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rf-seg span { display: grid; place-items: center; padding: 0 8px; border-radius: 10px; text-align: center; font-size: 16px; color: var(--muted); }
.rf-seg input:checked + span { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(20, 26, 32, .18); }
.rf-seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 1px; }
.rf .btn { margin-top: 24px; }
@media (max-width: 599px) { .rf .btn { width: 100%; } }
.rf-note { margin-top: 12px; font-size: 14px; color: var(--muted); }
@media (max-width: 720px) {
  .steps { gap: 16px; }
  .steps li { display: grid; grid-template-columns: 96px 1fr; column-gap: 16px; align-content: start; padding: 24px 20px; }
  .steps .step-img { grid-column: 1; grid-row: 1 / span 3; width: 96px; height: 88px; margin: 0; }
  .steps li::before { grid-column: 2; grid-row: 1; width: 32px; height: 32px; margin-bottom: 8px; font-size: 15px; }
  .steps h3 { grid-column: 2; font-size: 20px; }
  .steps p { grid-column: 2; }
  .rf { margin-top: 16px; }
  .rf-title::before { width: 32px; height: 32px; font-size: 15px; }
}
.rf-title::before { font-family: system-ui, sans-serif; }

/* 4-column grid */
@media (min-width: 721px) { .cards.cards-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .cards.cards-4 { grid-template-columns: repeat(4, 1fr); } }

/* ---- cebuwelding.ph additions ---- */
.logo { font-weight: 800; letter-spacing: -0.01em; }
.logo-text small { letter-spacing: .08em; }
.nav-cta svg { width: 16px; height: 16px; }

/* Hero photo: keep the welder in frame on phones */
.hero-band > img { object-position: 70% center; }
@media (max-width: 720px) { .hero-band > img { object-position: 76% center; } }
.hero-band { align-items: flex-end; }
.hero-band .wrap { padding-top: 0; padding-bottom: 72px; }
.hero-band::before { background: linear-gradient(to top, rgba(12, 15, 19, .88) 0%, rgba(12, 15, 19, .55) 45%, rgba(12, 15, 19, .05) 80%); }
@media (max-width: 720px) { .hero-band .wrap { padding-bottom: 48px; } }

/* Service page head: crumbs, title, short answer, action — next to a photo */
.page-hero { padding: 32px 0 var(--gap); }
.crumbs { margin-bottom: 32px; font-size: 14px; color: var(--muted); }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "›"; margin-right: 8px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-hero .hero-grid { align-items: center; }
.page-hero h1 { font-size: clamp(36px, 4.6vw, 56px); }
.page-hero .lead { margin-top: 20px; font-size: 19px; color: var(--muted); max-width: 520px; }
.page-hero .btn { margin-top: 32px; }

/* Gallery of designs */
.gallery { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
.gallery .card-body { padding: 20px 24px 24px; gap: 4px; }
.gallery .card h3 { font-size: 20px; }
.gallery .card img { aspect-ratio: 4 / 3; object-fit: cover; }
.gallery.wide .card img { aspect-ratio: 3 / 2; }
.fig-note { margin-top: 24px; font-size: 14px; color: var(--muted); }

/* Card images same ratio in one row */
.cards .card > img { aspect-ratio: 3 / 2; object-fit: cover; }

/* Service area: town chips */
.towns { display: flex; flex-wrap: wrap; gap: 12px; list-style: none; margin: 0 0 24px; padding: 0; }
.towns li { padding: 10px 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; }

/* Quote form: textarea-free, same fields as reserve form */
.rf-field input[type="date"] { appearance: none; -webkit-appearance: none; }
.rf-grid { align-items: start; }

/* Steps have no picture: no picture column on phones */
@media (max-width: 720px) {
  .steps li { display: flex; flex-direction: column; }
}
/* Linked cards: no underline */
a.card { text-decoration: none; }
a.card:hover h3 { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
/* Quote form: all fields in one row on desktop */
@media (min-width: 1000px) { .rf-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); } }
.farm-link { margin-top: 16px; }
.farm-link .more, .place .more { font-weight: 700; color: var(--accent); text-decoration: none; }
.farm-p { color: var(--muted); }
.area-more { color: var(--muted); }
.towns a { text-decoration: none; }
.towns a:hover { color: var(--accent); }

/* ===== v2: header actions + mobile menu (same block as rondafarm.ph, menu.js) ===== */
.skip { position: absolute; left: 16px; top: -100px; z-index: 100; padding: 12px 20px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; text-decoration: none; }
.skip:focus { top: 8px; }
main:focus { outline: none; }
.hdr-actions { display: flex; align-items: center; gap: 4px; flex: none; }
.nav-cta { min-height: 44px; padding: 0 20px; }
.burger { display: none; }
@media (min-width: 821px) {
  .site-header .nav { margin-left: auto; }
  .hdr-actions { margin-left: 12px; }
}
@media (min-width: 821px) and (max-width: 1100px) { .site-header .nav { gap: 18px; font-size: 15px; } .logo { font-size: 20px; } .site-header .wrap { gap: 12px; } }
@media (max-width: 820px) {
  :root { --gap: 56px; --pad: 20px; }
  html { scroll-padding-top: 72px; }
  .site-header .wrap { flex-wrap: nowrap; height: 63px; min-height: 63px; gap: 12px; }
  .logo { min-width: 0; gap: 8px; font-size: 18px; }
  .logo img { width: 28px; height: 28px; }
  .logo-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .logo-text small { font-size: 11px; }
  .hdr-actions { margin-left: auto; }
  .hdr-actions .nav-cta { min-height: 44px; padding: 0 16px; font-size: 15px; }
  .burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -10px; padding: 0; border: 0; border-radius: 12px; background: none; color: var(--ink); cursor: pointer; }
  .burger:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
  .site-header .nav {
    display: none; position: fixed; top: 64px; left: 0; right: 0; z-index: 2;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    max-height: calc(100vh - 64px); max-height: calc(100dvh - 64px); overflow-x: hidden; overflow-y: auto;
    padding: 8px var(--pad) 24px; background: var(--bg); border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 48px -24px rgba(20, 26, 32, .35); font-size: 18px;
  }
  .site-header .nav.open { display: flex; }
  .site-header .nav > a { display: flex; align-items: center; min-height: 52px; padding: 0; border-bottom: 1px solid var(--line); text-decoration: none; }
  .site-header .nav > a[aria-current="page"] { color: var(--accent); }
  .site-header .nav .lang { min-height: 56px; gap: 8px; font-size: 18px; }
  .site-header .nav .lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0; }
  html.nav-open, html.nav-open body { overflow: hidden; }
  html.nav-open .site-header::after { content: ""; position: fixed; top: 64px; left: 0; right: 0; bottom: 0; z-index: 1; background: rgba(12, 15, 19, .45); }

  /* Spacing scale: section 56, inside groups 16/24 */
  .section-head, .split .section-head { margin-bottom: 24px; }
  .cards, .cards-4, .steps, .gallery { gap: 16px; }
  .page-hero { padding-top: 24px; }
  .crumbs { margin-bottom: 24px; }

  /* Heroes: H1 28–32px */
  .photo-band.hero-band { min-height: 82vh; min-height: 82svh; }
  .photo-band h1, .page-hero h1, .notfound h1 { font-size: clamp(28px, 8vw, 32px); line-height: 1.15; }
  .photo-band h2 { font-size: clamp(26px, 7vw, 30px); }
  .photo-band.hero-band .btn, .page-hero .btn, .photo-band.closing .btn { width: 100%; margin-top: 24px; }
  .page-hero .lead, .photo-band .lead { font-size: 17px; margin-top: 16px; }
  .hero-grid { gap: 24px; }

  /* Footer links: 44px tap targets */
  .site-footer { padding: 40px 0; }
  .site-footer ul { gap: 0; }
  .site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Cards: quote button + page link */
.card-actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.card-actions .btn { min-height: 48px; }
.card .more { display: inline-flex; align-items: center; min-height: 44px; }
.gallery .card .more { margin-top: auto; padding-top: 4px; align-self: flex-start; }
.card-body > .card-actions { margin-top: auto; }

/* Form: send button + small note on one line */
.rf-send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; margin-top: 24px; }
.rf .rf-send .btn { margin-top: 0; }
.rf-send .rf-note { margin: 0; }
@media (max-width: 599px) { .rf-send { flex-direction: column; align-items: stretch; text-align: center; } .rf-field input, .rf-field select { font-size: 16px; } }

/* Related services: linked cards */
.related .card h3 { font-size: 20px; }
.rf-field { font-size: 16px; }
.logo { min-height: 44px; }
/* empty date field: no "yyyy-mm-dd" until focused */
.rf-field input[type="date"].empty:not(:focus)::-webkit-datetime-edit { color: transparent; }
.notfound .wrap { width: 100%; }
@media (max-width: 400px) {
  .site-header .wrap { gap: 8px; }
  .logo { font-size: 17px; }
  .hdr-actions .nav-cta { padding: 0 14px; font-size: 14px; }
}

/* Quote form → e-mail (2026-10-17): honeypot, sending, error, sent */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.rf .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.rf-err { margin: 0; font-size: 16px; font-weight: 600; color: #a8321e; }
.rf-err a { color: inherit; white-space: nowrap; text-underline-offset: 3px; }
.rf-done { display: grid; gap: 8px; }
.rf-done:focus { outline: none; }
.rf-done .rf-title { margin: 0; }
.rf-done .rf-title::before { content: none; }
.rf-done p { color: var(--muted); font-size: 18px; }
@media (min-width: 1000px) { form[data-quote] .rf-grid { grid-template-columns: repeat(3, 1fr); } }

/* ===== Articles (supporting guides) 2026-10-17 ===== */
.prose { max-width: 720px; display: grid; gap: 16px; color: var(--muted); }
.prose a, .src a, .page-hero .lead a, .prices a, .points p a { color: var(--accent); text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); background: var(--surface); box-shadow: 0 1px 2px rgba(20, 26, 32, .06), 0 12px 32px -16px rgba(20, 26, 32, .18); }
.prices { width: 100%; border-collapse: collapse; font-size: 16px; }
.prices th, .prices td { padding: 16px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.prices tr:last-child td { border-bottom: 0; }
.prices th { font-size: 16px; color: var(--muted); }
.src { margin-top: 12px; max-width: 720px; font-size: 16px; color: var(--muted); }
.article-hero .crumbs { font-size: 16px; }
@media (max-width: 560px) { .prices th, .prices td { padding: 12px 12px; } }
@media (max-width: 480px) { .prices th, .prices td { padding: 12px 8px; } .prices th:first-child, .prices td:first-child { padding-left: 12px; } }

/* ===== Critic-2 fixes 2026-10-17 ===== */
/* Header quote button hidden until the hero button scrolls away (menu.js) */
.hdr-actions .nav-cta { transition: opacity .2s ease, visibility .2s; }
.cta-off .hdr-actions .nav-cta { opacity: 0; visibility: hidden; pointer-events: none; }
/* Text ≥ 16px: header button, footer, breadcrumbs; logo place 12px as on the farm sites */
.btn-sm, .nav-cta, .hdr-actions .nav-cta { font-size: 16px; }
.site-footer, .crumbs, .fig-note, .rf-note { font-size: 16px; }
.logo-text small { font-size: 12px; }
@media (max-width: 400px) { .hdr-actions .nav-cta { padding: 0 12px; } .logo { font-size: 16px; letter-spacing: -0.02em; } .logo-text small { letter-spacing: .04em; } }
/* Tap targets ≥ 44px */
.site-footer li a, .site-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer ul { gap: 0; }
.more, .farm-link .more, .place .more, .notfound .more { display: inline-flex; align-items: center; min-height: 44px; }
@media (min-width: 821px) { .site-header .nav > a { min-width: 44px; text-align: center; } }
/* Tablet: hero buttons keep their width; full width only on phones */
@media (min-width: 600px) and (max-width: 820px) {
  .photo-band.hero-band .btn, .page-hero .btn, .photo-band.closing .btn { width: auto; }
}
/* Galleries: last row centred, no lone card at the left */
@media (min-width: 560px) and (max-width: 899px) {
  .gallery { grid-template-columns: repeat(4, 1fr); }
  .gallery > * { grid-column: span 2; }
  .gallery > :last-child:nth-child(odd) { grid-column: 2 / span 2; }
}
@media (min-width: 900px) {
  .gallery { grid-template-columns: repeat(6, 1fr); }
  .gallery > * { grid-column: span 2; }
  .gallery > :nth-child(3n+1):last-child { grid-column: 3 / span 2; }
  .gallery > :nth-child(3n+1):nth-last-child(2) { grid-column: 2 / span 2; }
}
/* Town chips: centred rows */
.towns { justify-content: center; }
/* Home hero: vertical crop on phones (hands, sparks, workpiece); text on top */
.photo-band > picture { position: absolute; inset: 0; z-index: -2; }
.photo-band > picture img { width: 100%; height: 100%; object-fit: cover; }
.hero-band > picture img { object-position: 70% center; }
@media (max-width: 720px) {
  .hero-band > picture img { object-position: 15% bottom; }
  .photo-band.hero-band { align-items: flex-start; }
  .hero-band .wrap { padding-top: 32px; padding-bottom: 0; }
  .hero-band::before { background: linear-gradient(to bottom, rgba(12, 15, 19, .8) 0%, rgba(12, 15, 19, .55) 42%, rgba(12, 15, 19, 0) 66%); }
}
/* Desktop header: while the quote button is hidden it takes no room, so the menu sits at the right edge */
@media (min-width: 821px) {
  .hdr-actions .nav-cta { max-width: 260px; overflow: hidden; transition: opacity .2s ease, visibility .2s, max-width .25s ease, padding .25s ease; }
  .cta-off .hdr-actions .nav-cta { max-width: 0; padding-left: 0; padding-right: 0; }
}
/* Critic-3 (18.10): tagline 14px, badge 16px, tap targets 44px, no orphan cards, towns 4 + 3 */
.logo-text small { font-size: 14px; }
.badge { font-size: 16px; }
@media (min-width: 821px) {
  .site-header .nav > a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; }
  .site-header .nav .lang { gap: 0; }
  .site-header .nav .lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; }
}
@media (min-width: 700px) and (max-width: 899px) {
  .gallery:has(> :nth-child(3n):last-child) { grid-template-columns: repeat(3, 1fr); }
  .gallery:has(> :nth-child(3n):last-child) > * { grid-column: auto; }
}
@media (min-width: 1100px) {
  .gallery:has(> :nth-child(10):last-child) { grid-template-columns: repeat(5, 1fr); }
  .gallery:has(> :nth-child(10):last-child) > * { grid-column: auto; }
}
@media (min-width: 900px) and (max-width: 1099px) {
  .gallery:has(> :nth-child(10):last-child) { grid-template-columns: repeat(2, 1fr); }
  .gallery:has(> :nth-child(10):last-child) > * { grid-column: auto; }
}
.towns { max-width: 520px; margin-left: auto; margin-right: auto; }
@media (max-width: 560px) {
  .towns { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
  .towns li { grid-column: span 3; padding: 10px 8px; text-align: center; }
  .towns li:nth-child(-n+3) { grid-column: span 2; }
}
