/* RoomCalcHQ — shared stylesheet
   Workshop / tape-measure visual language. Warm white paper, terracotta ink,
   ruler ticks as the signature motif, oversized bold numerals, charcoal close.
   No frameworks, no fonts CDN, no external assets. */

:root {
  --bg: #faf8f5;
  --surface: #ffffff;
  --surface-alt: #f3efe8;
  --ink: #1c1b19;
  --text: #2a2724;
  --muted: #6b645b;
  --border: #ded6c9;
  --terracotta: #c2521a;
  --terracotta-dark: #9c3f12;
  --amber: #e8a33d;
  --amber-dark: #d18b22;
  --green: #2f7d55;
  --charcoal: #1b1b19;
  --charcoal-card: #262622;
  --focus: #2f6fed;
  --radius: 4px;
  --maxw: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--terracotta); text-decoration: none; }
a:hover { color: var(--terracotta-dark); text-decoration: underline; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

img { max-width: 100%; height: auto; }

.container {
  width: min(100% - 40px, var(--maxw));
  margin-inline: auto;
}

/* ---------- Ruler motif ---------- */
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--terracotta);
  margin: 0 0 14px;
}
.eyebrow::before { content: "||||||\00a0"; letter-spacing: -0.06em; }
.eyebrow-plain {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  font-weight: 800;
  color: var(--amber);
  margin: 0 0 16px;
}
.ruler-divider {
  height: 18px;
  overflow: hidden;
  white-space: nowrap;
  color: var(--border);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 5px;
  line-height: 18px;
  user-select: none;
}
.ruler-ticks {
  position: absolute;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 2px;
  user-select: none;
  pointer-events: none;
}
.ruler-ticks-right { right: -18px; top: 4px; writing-mode: vertical-rl; }
.ruler-ticks-bottom { left: -2px; bottom: -19px; letter-spacing: 4px; }

/* ---------- Header / navigation ---------- */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 30;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
}
.brand:hover { text-decoration: none; }
.brand-logo {
  display: block;
  position: relative;
  width: 198px;
  height: 30px;
  overflow: hidden;
}
.brand-logo img {
  position: absolute;
  width: 248px;
  height: 83px;
  max-width: none;
  left: -25px;
  top: -27px;
}

.main-nav ul {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.main-nav a {
  display: block;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}
.main-nav > ul > li:not(.nav-cta-item) a:hover { color: var(--terracotta); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--terracotta); }
.nav-cta-item { margin-left: 6px; }
.nav-cta { padding: 10px 17px; font-size: 0.9rem; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 9px 10px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--ink); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 22px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; }
.btn-cta { background: var(--amber); color: var(--ink); border-color: var(--amber-dark); }
.btn-cta:hover { background: var(--amber-dark); color: var(--ink); }
.btn-primary { background: var(--terracotta); color: #fff; border-color: var(--terracotta); }
.btn-primary:hover { background: var(--terracotta-dark); color: #fff; }
.btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--surface-alt); color: var(--ink); }
.btn-outline { background: var(--surface); color: var(--ink); border-color: var(--border); }
.btn-outline:hover { border-color: var(--terracotta); color: var(--terracotta); }
.btn-full { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 76px 0 84px;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 76px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 22px;
  color: var(--ink);
}
.hero h1 span { color: var(--terracotta); }
.hero p.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 52ch;
  margin: 0 0 30px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin: 30px 0 0;
  padding: 20px 0 0;
  list-style: none;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 700;
}
.hero-badges li { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges li::before { content: "|"; color: var(--terracotta); font-weight: 800; }

/* ---------- Project estimate card ---------- */
.estimate-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 30px 24px;
  margin: 0 18px 24px 0;
}
.est-kicker {
  margin: 0 0 14px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  text-transform: uppercase;
}
.est-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}
.est-head h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.est-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--green);
  white-space: nowrap;
}
.est-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}
.est-figure {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 18px 0 2px;
}
.est-number {
  font-size: clamp(5rem, 9vw, 7.5rem);
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.08em;
  color: var(--ink);
}
.est-unit {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--terracotta);
  letter-spacing: -0.02em;
}
.est-context { margin: 10px 0 20px; font-size: 0.95rem; color: var(--muted); }
.est-table { width: 100%; border-collapse: collapse; }
.est-table td { padding: 9px 0; border-top: 1px solid var(--border); font-size: 0.92rem; }
.est-table td:last-child { text-align: right; font-weight: 700; }
.est-table tr.est-total td {
  border-top: 2px solid var(--ink);
  color: var(--terracotta);
  font-weight: 800;
  font-size: 1.02rem;
  padding-top: 12px;
}
.est-note {
  margin: 18px 0 0;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--surface-alt);
  border-bottom: 1px solid var(--border);
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  padding: 18px 0;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--text);
}
.trust-inner span { display: inline-flex; align-items: center; gap: 14px; }
.trust-inner span + span::before { content: "|"; color: var(--terracotta); font-weight: 800; }

/* ---------- Sections ---------- */
.section { padding: 68px 0; }
.section-tight { padding: 34px 0; }
.section-head { margin-bottom: 30px; }
.section-head h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 10px;
}
.section-head p { color: var(--muted); margin: 0; max-width: 68ch; }

/* ---------- Card grids ---------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.guide-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  color: var(--text);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-color: var(--terracotta);
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(28, 27, 25, 0.09);
  text-decoration: none;
  color: var(--text);
}
.card h3 { margin: 16px 0 8px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
.card p { margin: 0; color: var(--muted); font-size: 0.93rem; }
.card-icon {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--terracotta);
}
.card-icon svg { width: 24px; height: 24px; }
.card-meta {
  display: block;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}
.guide-grid .card { padding: 20px; }
.guide-grid .card h3 { font-size: 1.02rem; margin-top: 0; }

/* ---------- Calculator ---------- */
.calc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 24px;
  align-items: start;
}
.calc-panel, .result-panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
}
.calc-panel h2, .result-panel h2 { margin: 0 0 4px; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.calc-panel .hint { color: var(--muted); font-size: 0.9rem; margin: 0 0 22px; }
.field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.88rem; }
.field .unit-note { color: var(--muted); font-weight: 400; }
.field input, .field select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
}
.field input:focus, .field select:focus { border-color: var(--terracotta); }
.field input[type="number"] { appearance: textfield; -moz-appearance: textfield; }
.field input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.calc-actions { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
.form-message { margin-top: 14px; font-size: 0.9rem; font-weight: 700; min-height: 1.2em; }
.form-message.error { color: #b42318; }
.form-message.ok { color: var(--green); }

.result-panel { position: sticky; top: 96px; }
.result-panel .result-heading {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-weight: 800;
  margin: 0 0 14px;
}
.result-main {
  background: var(--surface-alt);
  border-left: 4px solid var(--terracotta);
  padding: 18px;
  margin-bottom: 16px;
}
.result-main .result-label { font-size: 0.85rem; color: var(--muted); margin: 0 0 4px; }
.result-main .result-value {
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -0.06em;
}
.result-main .result-value small { font-size: 1rem; font-weight: 800; color: var(--terracotta); letter-spacing: 0; }
.result-list { list-style: none; margin: 0; padding: 0; }
.result-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.result-list li:last-child { border-bottom: 0; }
.result-list .r-label { color: var(--muted); }
.result-list .r-value { font-weight: 700; text-align: right; }
.result-note { margin: 16px 0 0; font-size: 0.8rem; color: var(--muted); }
.result-empty { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Dynamic room rows (square footage calculator) */
.room-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}
.room-row .field label { font-size: 0.8rem; }
.btn-remove {
  padding: 11px 12px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--muted);
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 700;
}
.btn-remove:hover { color: #b42318; border-color: #b42318; }

/* ---------- Ad slots ---------- */
.ad-slot {
  min-height: 250px;
  margin: 28px 0;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 800;
  padding: 12px;
}
.ad-slot::after { content: "Advertisement · " attr(data-ad-label); }
.ad-slot.ad-slot-small { min-height: 120px; }

/* ---------- Content blocks: how to, FAQ, article ---------- */
.content-block { max-width: 80ch; }
.content-block h1, .article h1 {
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 14px;
}
.content-block h2, .article h2 { font-size: 1.5rem; letter-spacing: -0.025em; font-weight: 800; color: var(--ink); margin: 34px 0 10px; }
.content-block h3, .article h3 { font-size: 1.14rem; font-weight: 800; margin: 24px 0 8px; }
.content-block p, .content-block li, .article p, .article li { color: #3c3c3c; }
.content-block ol, .content-block ul, .article ol, .article ul { padding-left: 24px; }
.content-block li, .article li { margin-bottom: 9px; }
.content-block a, .article a { text-decoration: underline; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { position: relative; padding-left: 48px; margin-bottom: 16px; }
.steps li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 0;
  top: 2px;
  width: 32px;
  height: 32px;
  border-radius: var(--radius);
  background: var(--terracotta);
  color: #fff;
  font-weight: 800;
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-item { border-bottom: 1px solid var(--border); padding: 14px 0; }
.faq-item:last-child { border-bottom: 0; }
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--terracotta); font-size: 1.3rem; line-height: 1; font-weight: 800; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 10px 0 0; color: var(--muted); }

.article { max-width: 78ch; }
.article-meta {
  color: var(--muted);
  font-size: 0.86rem;
  margin: 0 0 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.callout {
  background: var(--surface-alt);
  border-left: 4px solid var(--terracotta);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 22px 0;
}
.callout p { margin: 0; }

.table-wrap { overflow-x: auto; margin: 22px 0; }
table.data-table { border-collapse: collapse; width: 100%; font-size: 0.92rem; background: var(--surface); }
table.data-table th, table.data-table td { border: 1px solid var(--border); padding: 11px 12px; text-align: left; vertical-align: top; }
table.data-table thead th { background: var(--surface-alt); font-weight: 800; }
table.data-table tbody tr:nth-child(even) { background: #fdfcfa; }

.breadcrumb { font-size: 0.85rem; color: var(--muted); margin: 26px 0 6px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb span { margin: 0 6px; color: var(--terracotta); }

/* ---------- Related links ---------- */
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.related-link {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 15px 16px;
  font-weight: 700;
  font-size: 0.92rem;
}
.related-link:hover { border-color: var(--terracotta); text-decoration: none; }
.related-link::after { content: " →"; color: var(--terracotta); }

/* ---------- Closing banner ---------- */
.closing-banner {
  background: var(--charcoal);
  color: #f4f0e9;
  padding: 76px 0 80px;
  margin-top: 34px;
}
.closing-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 60px;
  align-items: center;
}
.closing-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  font-weight: 800;
  margin: 0 0 18px;
}
.closing-copy h2 span { color: var(--terracotta); }
.closing-copy p { color: #cfc8bd; max-width: 56ch; margin: 0 0 26px; }
.closing-card {
  position: relative;
  background: var(--charcoal-card);
  border: 1px solid #45423c;
  padding: 34px 30px 30px;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.closing-card .ruler-ticks-top {
  position: absolute;
  top: -11px;
  left: -2px;
  color: var(--amber);
  letter-spacing: 4px;
}
.closing-card p { font-size: 1.55rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.03em; margin: 0; }
.closing-mark { font-size: 1.5rem; font-weight: 800; letter-spacing: 0.12em; color: var(--amber); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 52px 0 24px;
  color: var(--muted);
  font-size: 0.88rem;
}
.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 44px;
  padding-bottom: 34px;
}
.footer-brand p { margin: 16px 0 0; max-width: 34ch; }
.footer-col h3 {
  margin: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--terracotta);
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 7px; }
.footer-col a { color: var(--text); }
.footer-col a:hover { color: var(--terracotta); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}
.footer-bottom p { margin: 0; }
.footer-note { color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--terracotta); }

/* ---------- Utilities ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .guide-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero-grid { gap: 44px; }
  .closing-inner { gap: 36px; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 14px 20px 20px;
    box-shadow: 0 14px 24px rgba(28, 27, 25, 0.08);
  }
  .main-nav.is-open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .main-nav > ul > li:not(.nav-cta-item) a { padding: 10px 0; border-bottom: 1px solid var(--border); }
  .nav-cta-item { margin: 14px 0 0; }
  .nav-cta { width: 100%; }
  .hero-grid { grid-template-columns: 1fr; }
  .estimate-card { max-width: 520px; }
  .calc-layout { grid-template-columns: 1fr; }
  .result-panel { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .closing-inner { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .container { width: min(100% - 28px, var(--maxw)); }
  .header-inner { min-height: 68px; }
  .brand-logo { width: 158px; height: 24px; }
  .brand-logo img { width: 198px; height: 66px; left: -20px; top: -22px; }
  .hero { padding: 52px 0 60px; }
  .hero h1 { font-size: clamp(2.2rem, 9vw, 3rem); }
  .card-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field-grid { grid-template-columns: 1fr; }
  .room-row { grid-template-columns: 1fr 1fr; }
  .room-row .btn-remove { grid-column: 1 / -1; }
  .section { padding: 48px 0; }
  .ad-slot { min-height: 200px; }
  .closing-banner { padding: 56px 0 60px; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
}
@media (max-width: 420px) {
  .guide-grid { grid-template-columns: 1fr; }
  .estimate-card { margin-right: 12px; padding: 22px 20px; }
}
