/* ==========================================================================
   Kilkenny Storage — design system
   Earth-tone, premium-but-approachable Irish local business.
   Mobile-first. No framework. One file, kept small on purpose.
   ========================================================================== */

:root {
  --paper: #FAF7F1;
  --paper-2: #F2EDE3;
  --ink: #23201B;
  --ink-soft: #4C463D;
  --muted: #6E675B;
  --pine: #2E4B3F;
  --pine-dark: #22392F;
  --pine-tint: #E6EDE8;
  --clay: #B85C24;
  --clay-dark: #9A4B1B;
  --sand: #EAE2D3;
  --line: #E1D9CA;
  --white: #FFFFFF;
  --focus: #1D4ED8;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(35, 32, 27, .06), 0 8px 24px -12px rgba(35, 32, 27, .18);
  --font-display: "Iowan Old Style", "Palatino", Georgia, "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 68rem;
  --wrap-narrow: 46rem;
}

* { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  overflow-wrap: break-word;
}

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

/* ---- Typography ------------------------------------------------------- */

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2rem, 5.5vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3.6vw, 2.05rem); margin-top: 1.6em; }
h3 { font-size: 1.2rem; margin-top: 1.4em; }

p { margin: 0 0 1em; }

a { color: var(--pine); text-underline-offset: 3px; }
a:hover { color: var(--pine-dark); }

.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 44rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

ul, ol { padding-left: 1.4rem; margin: 0 0 1.1em; }
li { margin-bottom: .35em; }

strong { font-weight: 650; }

/* Visible keyboard focus everywhere */
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .6rem 1rem;
  z-index: 100;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Layout ----------------------------------------------------------- */

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 1.15rem; }
.wrap-narrow { max-width: var(--wrap-narrow); margin: 0 auto; padding: 0 1.15rem; }

.section { padding: 3rem 0; }
.section-tight { padding: 2rem 0; }
.section-alt { background: var(--paper-2); }

.grid {
  display: grid;
  gap: 1.1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px)  { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px)  {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ---- Header / nav ------------------------------------------------------ */

.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.1rem;
}

.brand {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .55rem;
  flex-shrink: 0;
}
.brand svg { width: 30px; height: 30px; }

.nav-toggle {
  appearance: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .5rem .7rem;
  font: inherit;
  cursor: pointer;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: .2rem;
  align-items: center;
}

.site-nav a {
  display: block;
  padding: .55rem .75rem;
  text-decoration: none;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  font-size: .98rem;
}
.site-nav a:hover { background: var(--paper-2); color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--pine); font-weight: 600; }

.site-nav .nav-cta a {
  background: var(--clay);
  color: #fff;
  font-weight: 650;
  padding: .55rem 1rem;
  margin-left: .35rem;
}
.site-nav .nav-cta a:hover { background: var(--clay-dark); color: #fff; }

@media (max-width: 899px) {
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .6rem 1.15rem 1rem;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: .1rem; }
  .site-nav a { padding: .7rem .6rem; font-size: 1.05rem; }
  .site-nav .nav-cta a { margin: .4rem 0 0; text-align: center; }
}
@media (min-width: 900px) {
  .nav-toggle { display: none; }
}

/* ---- Buttons ----------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.5rem;
  border-radius: 999px;
  font-weight: 650;
  font-size: 1.02rem;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); color: #fff; }

.btn-secondary { background: transparent; color: var(--pine); border-color: var(--pine); }
.btn-secondary:hover { background: var(--pine-tint); color: var(--pine-dark); }

.btn-quiet { background: transparent; color: var(--pine); text-decoration: underline; padding: .8rem .4rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; margin: 1.4rem 0 .4rem; }

/* ---- Hero -------------------------------------------------------------- */

.hero {
  padding: 3.4rem 0 3rem;
  background:
    radial-gradient(60rem 30rem at 110% -20%, var(--pine-tint), transparent 60%),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  gap: 2.2rem;
  align-items: center;
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .hero-grid { grid-template-columns: 7fr 5fr; } }

.hero .kicker {
  display: inline-block;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pine);
  background: var(--pine-tint);
  border-radius: 999px;
  padding: .3rem .8rem;
  margin-bottom: 1rem;
}

.hero-art { margin: 0 auto; max-width: 26rem; }

/* ---- Cards ------------------------------------------------------------- */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.card h3 { margin-top: 0; }
.card p { color: var(--ink-soft); flex-grow: 1; }
.card .card-link { font-weight: 650; text-decoration: none; }
.card .card-link::after { content: " →"; }
.card-icon { width: 44px; height: 44px; margin-bottom: .9rem; color: var(--pine); }

/* Whole-card click target without wrapping everything in <a> */
.card { position: relative; }
.card .card-link::before { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.card:hover { border-color: var(--pine); }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }

/* ---- How it works steps ------------------------------------------------ */

.steps { list-style: none; padding: 0; margin: 1.6rem 0; display: grid; gap: 1rem; counter-reset: step; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(5, 1fr); } .steps.steps-4 { grid-template-columns: repeat(4, 1fr); } }

.steps li {
  counter-increment: step;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.2rem 1.1rem 1.1rem;
  margin: 0;
}
.steps li::before {
  content: counter(step);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem; height: 2rem;
  border-radius: 50%;
  background: var(--pine);
  color: #fff;
  font-weight: 700;
  margin-bottom: .7rem;
}
.steps strong { display: block; font-family: var(--font-display); font-size: 1.08rem; margin-bottom: .25rem; }
.steps span { color: var(--muted); font-size: .95rem; }

/* ---- FAQ (details/summary — no JS needed) ------------------------------ */

.faq { margin: 1.4rem 0; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  margin-bottom: .6rem;
  padding: 0 1.1rem;
}
.faq summary {
  cursor: pointer;
  font-weight: 650;
  padding: .95rem 0;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--pine);
  font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1rem; color: var(--ink-soft); }

/* ---- Breadcrumbs ------------------------------------------------------- */

.crumbs { font-size: .88rem; color: var(--muted); padding: 1rem 1.15rem 0; }
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem; }
.crumbs li { margin: 0; }
.crumbs li:not(:last-child)::after { content: "›"; margin-left: .3rem; color: var(--line); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--pine); text-decoration: underline; }

/* ---- CTA band ---------------------------------------------------------- */

.band {
  background: var(--pine);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.4rem 1.6rem;
  text-align: center;
  margin: 3rem 0;
}
.band h2 { color: #fff; margin-top: 0; }
.band p { color: #DCE6DF; max-width: 38rem; margin: 0 auto 1.3rem; }
.band .btn-primary { background: var(--clay); }
.band .btn-secondary { border-color: #fff; color: #fff; }
.band .btn-secondary:hover { background: rgba(255,255,255,.12); color: #fff; }
.band .btn-row { justify-content: center; }

/* ---- Trust / transparency panel --------------------------------------- */

.trust-panel {
  border: 2px solid var(--pine);
  border-radius: var(--radius);
  background: var(--pine-tint);
  padding: 1.6rem 1.5rem;
  margin: 2rem 0;
}
.trust-panel h2, .trust-panel h3 { margin-top: 0; }

/* ---- Tables (pricing) -------------------------------------------------- */

.table-scroll { overflow-x: auto; margin: 1.4rem 0; }
table { border-collapse: collapse; width: 100%; min-width: 26rem; background: var(--white); border-radius: var(--radius-sm); overflow: hidden; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); }
th { background: var(--paper-2); font-weight: 700; font-size: .95rem; }
tr:last-child td { border-bottom: none; }

/* ---- Forms ------------------------------------------------------------- */

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem 1.5rem;
  box-shadow: var(--shadow);
}

.field { margin-bottom: 1.1rem; }
.field label { display: block; font-weight: 650; margin-bottom: .35rem; font-size: .98rem; }
.field .hint { font-size: .86rem; color: var(--muted); margin: .25rem 0 0; }

input[type="text"], input[type="tel"], input[type="email"], input[type="date"],
input[type="number"], select, textarea {
  width: 100%;
  padding: .75rem .9rem;
  border: 1px solid #C9C0AF;
  border-radius: var(--radius-sm);
  font: inherit;
  background: #fff;
  color: var(--ink);
}
textarea { min-height: 7rem; resize: vertical; }

input:invalid:not(:placeholder-shown), select:invalid:not(:focus) { border-color: #B4231F; }
.field .error { color: #B4231F; font-size: .88rem; margin-top: .3rem; display: none; }
.field.show-error .error { display: block; }
.field.show-error input, .field.show-error select { border-color: #B4231F; }

.choice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
@media (min-width: 640px) { .choice-grid { grid-template-columns: repeat(3, 1fr); } }

.choice {
  position: relative;
  border: 1px solid #C9C0AF;
  border-radius: var(--radius-sm);
  padding: .7rem .8rem;
  cursor: pointer;
  background: #fff;
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .97rem;
}
.choice input { accent-color: var(--pine); width: 1.1rem; height: 1.1rem; margin: 0; flex-shrink: 0; }
.choice:has(input:checked) { border-color: var(--pine); background: var(--pine-tint); font-weight: 600; }
.choice:has(input:focus-visible) { outline: 3px solid var(--focus); outline-offset: 2px; }

/* Multi-step */
.quote-step[hidden] { display: none; }
.step-nav { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; }

.form-success {
  text-align: center;
  padding: 2rem 1rem;
}

/* ---- Footer ------------------------------------------------------------ */

.site-footer {
  background: var(--ink);
  color: #CFC9BE;
  margin-top: 4rem;
  padding: 3rem 0 5.5rem; /* bottom padding clears the sticky mobile bar */
  font-size: .95rem;
}
@media (min-width: 900px) { .site-footer { padding-bottom: 3rem; } }

.site-footer h2 { color: #fff; font-size: 1.05rem; margin: 0 0 .8rem; font-family: var(--font-body); font-weight: 700; }
.site-footer a { color: #CFC9BE; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45em; }

.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }

.footer-legal { border-top: 1px solid #3A362F; margin-top: 2.2rem; padding-top: 1.4rem; font-size: .85rem; color: #9B948A; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer-legal a { color: #9B948A; }

/* ---- Sticky mobile CTA ------------------------------------------------- */

.sticky-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  display: flex;
  gap: .6rem;
  padding: .6rem .9rem calc(.6rem + env(safe-area-inset-bottom));
  background: rgba(250, 247, 241, .96);
  backdrop-filter: blur(6px);
  border-top: 1px solid var(--line);
  z-index: 40;
}
.sticky-cta .btn { flex: 1; padding: .7rem 1rem; font-size: .98rem; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* ---- Article / prose pages -------------------------------------------- */

.prose { max-width: var(--wrap-narrow); }
.prose h2 { margin-top: 1.8em; }
.prose blockquote {
  border-left: 3px solid var(--clay);
  margin: 1.4em 0;
  padding: .2em 0 .2em 1.1em;
  color: var(--ink-soft);
  font-style: italic;
}

.meta-line { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }

/* Related links */
.related { margin: 2.5rem 0 0; }
.related ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.related li { margin: 0; }
.related a {
  display: inline-block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem 1rem;
  text-decoration: none;
  font-size: .95rem;
}
.related a:hover { border-color: var(--pine); }

/* ---- Utility ----------------------------------------------------------- */

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


/* ==========================================================================
   2026-11 refresh — photography, richer sections, tools
   ========================================================================== */

:root {
  --shadow-lg: 0 2px 4px rgba(35, 32, 27, .05), 0 24px 48px -20px rgba(35, 32, 27, .32);
  --radius-lg: 22px;
}

h1 { letter-spacing: -.02em; }
.section { padding: 4rem 0; }
@media (min-width: 900px) { .section { padding: 5.5rem 0; } }

.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clay-dark);
  margin-bottom: .7rem;
}
.eyebrow-light { color: #F0C9A8; }

.section-head { max-width: 44rem; margin-bottom: 2.2rem; }
.section-head h2 { margin: 0 0 .5rem; font-size: clamp(1.7rem, 4vw, 2.5rem); }
.section-head .lede { margin: 0; }

.grid-gap-top { margin-top: 1.1rem; }
@media (min-width: 640px) { .grid-gap-top > :last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* ---- Header ------------------------------------------------------------ */
.site-header { transition: box-shadow .2s ease; background: rgba(250, 247, 241, .94); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header.is-stuck { box-shadow: 0 6px 24px -14px rgba(35, 32, 27, .35); }
.brand svg { color: var(--pine); }
.nav-phone a { display: flex; align-items: center; gap: .4rem; font-weight: 650; color: var(--ink); white-space: nowrap; }
.nav-phone svg { width: 18px; height: 18px; color: var(--pine); }
@media (min-width: 900px) and (max-width: 1099px) { .nav-phone { display: none; } }
.nav-toggle-bars { width: 16px; height: 2px; background: currentColor; box-shadow: 0 5px 0 currentColor, 0 -5px 0 currentColor; }

/* ---- Buttons ----------------------------------------------------------- */
.btn { transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { box-shadow: 0 8px 18px -10px rgba(154, 75, 27, .9); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-lg { padding: .95rem 1.8rem; font-size: 1.08rem; }
.btn-light { background: #fff; color: var(--pine-dark); margin-top: .6rem; }
.btn-light:hover { background: var(--sand); color: var(--pine-dark); }
.btn-link {
  appearance: none; background: none; border: 0; padding: .3rem 0; font: inherit; font-size: .93rem;
  color: var(--pine); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
  display: inline-flex; align-items: center; gap: .35rem;
}
.btn-link svg { width: 17px; height: 17px; }

/* ---- Photos ------------------------------------------------------------ */
.photo { display: block; }
/* Ratios live on the <img> itself: percentage heights inside an aspect-ratio
   box don't resolve reliably in Safari. */
.photo img { width: 100%; height: auto; object-fit: cover; display: block; aspect-ratio: 4 / 3; }
.figure { margin: 0; }
.figure .photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
figcaption { font-size: .8rem; color: var(--muted); margin-top: .65rem; line-height: 1.4; }
.prose-figure { margin: 2rem 0; }
.prose-figure .photo img { aspect-ratio: 16 / 9; }

/* ---- Hero -------------------------------------------------------------- */
.hero {
  padding: 3rem 0 3.5rem;
  background:
    radial-gradient(50rem 28rem at 105% -10%, #E9D9C6, transparent 62%),
    radial-gradient(40rem 24rem at -10% 110%, var(--pine-tint), transparent 60%),
    var(--paper);
  border-bottom: 0;
}
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; }
}
.hero h1 { font-size: clamp(2.4rem, 6.4vw, 4rem); line-height: 1.05; }
.hero .lede { font-size: 1.22rem; }

.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-size: .96rem; color: var(--ink-soft); font-weight: 600; }
.ticks li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.ticks svg { width: 20px; height: 20px; color: var(--pine); flex-shrink: 0; }

.hero-media { position: relative; margin: 0; padding-bottom: 2.6rem; }
.hero-photo { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.hero-photo img { aspect-ratio: 5 / 4; }
.hero-inset {
  position: absolute; left: -1rem; bottom: 4.4rem; width: 40%;
  border-radius: 16px; overflow: hidden;
  border: 5px solid var(--paper); box-shadow: var(--shadow-lg);
}
.hero-note {
  position: absolute; right: .8rem; top: .8rem;
  display: flex; align-items: center; gap: .7rem;
  background: rgba(255, 255, 255, .96); border-radius: 14px; padding: .7rem .95rem;
  box-shadow: var(--shadow); max-width: 15.5rem;
}
.hero-note svg { width: 30px; height: 30px; color: var(--clay); flex-shrink: 0; }
.hero-note strong { display: block; font-size: .95rem; line-height: 1.2; }
.hero-note span { font-size: .8rem; color: var(--muted); line-height: 1.3; display: block; }
.hero-media figcaption { position: absolute; left: 0; right: 0; bottom: 0; text-align: right; margin: 0; }
@media (max-width: 899px) { .hero-inset { left: .8rem; bottom: 3.4rem; width: 36%; } }

/* ---- Promise bar ------------------------------------------------------- */
.promise-bar { background: var(--pine-dark); color: #fff; padding: 1.6rem 0; }
.promise { display: grid; gap: 1.1rem; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 760px) { .promise { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }
.promise .beat { display: flex; align-items: center; gap: .9rem; }
.promise .beat svg { width: 38px; height: 38px; color: #F0C9A8; flex-shrink: 0; }
.promise .beat strong { display: block; font-family: var(--font-display); font-size: 1.15rem; color: #fff; }
.promise .beat span { color: #C4D3CA; font-size: .93rem; }

/* ---- Feature grid ------------------------------------------------------ */
.feature-grid { display: grid; gap: 1.8rem 2.4rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature { display: flex; gap: 1rem; align-items: flex-start; }
.feature .card-icon { width: 26px; height: 26px; padding: 11px; box-sizing: content-box; background: var(--pine-tint); border-radius: 14px; margin: 0; flex-shrink: 0; }
.feature h3 { margin: .1rem 0 .3rem; }
.feature p { margin: 0; color: var(--ink-soft); }

/* ---- Cards ------------------------------------------------------------- */
.card { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.card-photo { padding: 0; overflow: hidden; }
.card-photo .photo img { aspect-ratio: 3 / 2; }
.card-photo .card-body { padding: 1.4rem 1.4rem 1.5rem; display: flex; flex-direction: column; flex-grow: 1; }
.card-row { flex-direction: row; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.4rem; }
.card-row .card-icon { width: 24px; height: 24px; padding: 10px; box-sizing: content-box; background: var(--pine-tint); border-radius: 12px; margin: 0; flex-shrink: 0; }
.card-row p { margin-bottom: .5rem; }

/* ---- Steps ------------------------------------------------------------- */
.steps li { border-top: 3px solid var(--pine); box-shadow: var(--shadow); }
.steps li::before { background: var(--pine-tint); color: var(--pine-dark); }

/* ---- Split sections ---------------------------------------------------- */
.split { display: grid; gap: 2.2rem; align-items: center; grid-template-columns: 1fr; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
}
.split h2 { margin-top: 0; font-size: clamp(1.7rem, 4vw, 2.4rem); }
@media (max-width: 899px) { .split-reverse .split-media { order: -1; } }

.section-dark { background: var(--pine-dark); color: #DCE6DF; }
.section-dark h2 { color: #fff; }
.section-dark strong { color: #fff; }
.section-dark figcaption { color: #A9BDB1; }

/* ---- Comparison table -------------------------------------------------- */
.compare { box-shadow: var(--shadow); border: 1px solid var(--line); min-width: 34rem; }
.compare thead th { font-family: var(--font-display); font-size: 1.05rem; background: var(--paper-2); }
.compare thead th:nth-child(2) { background: var(--pine); color: #fff; }
.compare tbody th { font-weight: 650; color: var(--ink-soft); font-size: .95rem; background: transparent; width: 26%; }
.compare td:nth-child(2) { background: var(--pine-tint); font-weight: 600; }

/* ---- Page hero (service pages) ---------------------------------------- */
.page-hero { background: linear-gradient(180deg, var(--paper-2), var(--paper)); padding-bottom: 2.2rem; }
.page-hero-grid { display: grid; gap: 2rem; align-items: center; grid-template-columns: 1fr; padding-top: 1.6rem; }
@media (min-width: 900px) { .page-hero-grid { grid-template-columns: 6fr 5fr; gap: 3.5rem; padding-top: 2.4rem; } }
.page-hero-grid.no-media { grid-template-columns: 1fr; max-width: var(--wrap); }
.page-hero-grid > div > p:first-of-type { font-size: 1.15rem; color: var(--ink-soft); }

/* ---- Callout ----------------------------------------------------------- */
.callout { display: flex; gap: 1rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--clay); border-radius: var(--radius); padding: 1.2rem 1.3rem; margin: 2rem 0; box-shadow: var(--shadow); }
.callout .card-icon { width: 32px; height: 32px; margin: .1rem 0 0; flex-shrink: 0; color: var(--clay); }
.callout h3 { margin: 0 0 .3rem; }
.callout p { margin: 0; }

/* ---- CTA band ---------------------------------------------------------- */
.band {
  border-radius: var(--radius-lg); padding: 3.2rem 1.6rem;
  background:
    radial-gradient(30rem 16rem at 100% 0%, rgba(184, 92, 36, .45), transparent 65%),
    var(--pine-dark);
}
.band h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); }

/* ---- Quote form steps -------------------------------------------------- */
.form-steps { list-style: none; display: flex; gap: .5rem; padding: 0; margin: 0 0 1.6rem; }
.form-steps li { flex: 1; margin: 0; display: flex; align-items: center; gap: .5rem; font-size: .86rem; font-weight: 650; color: var(--muted); padding-bottom: .6rem; border-bottom: 3px solid var(--line); }
.form-steps li span { display: inline-flex; align-items: center; justify-content: center; width: 1.5rem; height: 1.5rem; border-radius: 50%; background: var(--line); color: var(--ink-soft); font-size: .8rem; flex-shrink: 0; }
.form-steps li.done, .form-steps li.current { color: var(--pine-dark); border-color: var(--pine); }
.form-steps li.done span, .form-steps li.current span { background: var(--pine); color: #fff; }

.list-import { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; background: var(--pine-tint); border: 1px solid var(--pine); border-radius: var(--radius-sm); padding: .9rem 1rem; margin-bottom: 1.4rem; }
.list-import[hidden] { display: none; }
.list-import p { margin: .2rem 0 0; font-size: .95rem; color: var(--ink-soft); }

/* ---- Estimator --------------------------------------------------------- */
.estimator { display: grid; gap: 1.5rem; grid-template-columns: 1fr; align-items: start; margin-top: 1.8rem; }
@media (min-width: 900px) { .estimator { grid-template-columns: 3fr 2fr; gap: 2rem; } }
.est-list { padding: .4rem 1.3rem; }
.est-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); }
.est-row:last-child { border-bottom: 0; }
.est-name { display: flex; align-items: center; gap: .7rem; font-weight: 600; }
.est-name svg { width: 24px; height: 24px; color: var(--pine); flex-shrink: 0; }
.stepper { display: flex; align-items: center; gap: .3rem; flex-shrink: 0; }
.stepper button { appearance: none; width: 2.5rem; height: 2.5rem; border-radius: 50%; border: 1px solid #C9C0AF; background: #fff; color: var(--pine-dark); font-size: 1.3rem; line-height: 1; cursor: pointer; font-family: inherit; }
.stepper button:hover { background: var(--pine-tint); border-color: var(--pine); }
.stepper input[type="number"] { width: 3.2rem; text-align: center; padding: .5rem .2rem; font-weight: 700; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.est-summary { background: var(--pine-dark); color: #DCE6DF; border-radius: var(--radius-lg); padding: 1.7rem 1.5rem; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .est-summary { position: sticky; top: 5.4rem; } }
.est-summary h2 { color: #fff; font-size: 1.5rem; }
.est-summary ul { list-style: none; padding: 0; margin: 0 0 1.2rem; }
.est-summary ul[hidden], .est-total[hidden] { display: none; }
.est-summary li { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; border-bottom: 1px solid rgba(255, 255, 255, .14); margin: 0; }
.est-summary li b { color: #fff; }
.est-total { background: rgba(255, 255, 255, .08); border-radius: var(--radius-sm); padding: .9rem 1rem; margin-bottom: 1.2rem; }
.est-total span { font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: #F0C9A8; font-weight: 700; }
.est-total strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: #fff; margin: .1rem 0 .3rem; }
.est-total small { font-size: .82rem; line-height: 1.4; display: block; }
.est-summary .btn { width: 100%; margin-bottom: .6rem; }
.est-summary .btn-link { color: #DCE6DF; }

/* ---- Checklist --------------------------------------------------------- */
.check-bar { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: .9rem 1.1rem; box-shadow: var(--shadow); position: sticky; top: 4.6rem; z-index: 5; }
.check-progress { flex: 1 1 10rem; height: .5rem; background: var(--line); border-radius: 99px; overflow: hidden; }
.check-progress span { display: block; height: 100%; width: 0; background: var(--pine); border-radius: 99px; transition: width .25s ease; }
.check-group h2 { font-size: 1.35rem; margin: 1.8rem 0 .7rem; }
.check-group ul { list-style: none; padding: 0; margin: 0; }
.check-group li { margin: 0 0 .5rem; }
.check { display: flex; gap: .8rem; align-items: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; cursor: pointer; }
.check input { width: 1.25rem; height: 1.25rem; margin: .2rem 0 0; accent-color: var(--pine); flex-shrink: 0; }
.check.is-done { background: var(--pine-tint); border-color: var(--pine); }
.check.is-done span { color: var(--muted); text-decoration: line-through; }

/* ---- FAQ search -------------------------------------------------------- */
.faq-search { position: relative; margin: 1.6rem 0 .4rem; }
.faq-search svg { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: var(--muted); pointer-events: none; }
.faq-search input { width: 100%; padding: .85rem 1rem .85rem 2.8rem; border: 1px solid #C9C0AF; border-radius: 999px; font: inherit; background: #fff; color: var(--ink); -webkit-appearance: none; appearance: none; }
.faq details { box-shadow: var(--shadow); }
.faq details[hidden] { display: none; }

/* ---- Back to top ------------------------------------------------------- */
.to-top { position: fixed; right: 1rem; bottom: 5rem; width: 2.8rem; height: 2.8rem; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 1.2rem; box-shadow: var(--shadow-lg); z-index: 39; }
.to-top[hidden] { display: none; }
.to-top:hover { background: var(--pine-dark); color: #fff; }
@media (min-width: 900px) { .to-top { bottom: 1.4rem; right: 1.4rem; } }

/* ---- Footer ------------------------------------------------------------ */
.site-footer { border-top: 4px solid var(--clay); }

/* ---- Print (checklist) ------------------------------------------------- */
@media print {
  .site-header, .site-footer, .sticky-cta, .to-top, .band, .crumbs, .check-bar, .related, .skip-link { display: none !important; }
  body { background: #fff; font-size: 11pt; }
  .check { border: 0; padding: .2rem 0; background: none !important; }
  .check.is-done span { text-decoration: none; color: inherit; }
}
