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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
}

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

a { color: var(--color-secondary); }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
}

p { margin: 0 0 0.8em; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: #fff;
  color: var(--color-primary);
  padding: 8px 12px;
  z-index: 100;
  border-radius: 8px;
}

.skip:focus { top: 12px; }

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.narrow { width: min(760px, calc(100% - 32px)); }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.awning {
  height: 8px;
  background: repeating-linear-gradient(
    90deg,
    #c24d1d 0 14px,
    #f4efe6 14px 22px,
    #1c3d32 22px 36px,
    #f4efe6 36px 44px
  );
}

.topbar {
  background: var(--color-primary-deep);
  color: #f6f1e8;
  font-size: 0.92rem;
}

.topbar a { color: inherit; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 8px 18px;
  flex-wrap: wrap;
  padding: 8px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 252, 248, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-primary);
  margin-right: auto;
}

.logo strong,
.logo small { display: block; }
.logo strong {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.logo small {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mark {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--color-primary);
  color: #f6f1e8;
  display: grid;
  place-items: center;
  flex: none;
  box-shadow: inset 0 0 0 1px rgba(246, 241, 232, 0.12);
}

.mark svg { width: 40px; height: 40px; display: block; }

.main-nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 8px 9px;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 999px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: #efe6da;
  color: var(--color-primary);
}

.burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  place-items: center;
  cursor: pointer;
}

.burger span,
.burger span::before,
.burger span::after {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
}

.burger span { position: relative; }
.burger span::before,
.burger span::after {
  content: "";
  position: absolute;
  left: 0;
}
.burger span::before { top: -6px; }
.burger span::after { top: 6px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.98rem;
}

.btn-primary { background: var(--color-accent); color: #fff; }
.btn-primary:hover { background: var(--color-accent-dark); }
.btn-pine { background: var(--color-primary); color: #fff; }
.btn-pine:hover { background: var(--color-primary-deep); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border: 1.5px solid var(--color-primary);
}
.btn-ghost:hover { background: #fff; }
.btn-block { width: 100%; }
.add-quote.is-in { background: var(--color-primary); }

.count {
  background: #fff;
  color: var(--color-primary);
  border-radius: 999px;
  min-width: 1.4em;
  padding: 0 6px;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
}

.cta-short { display: none; }

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 42px 0 12px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--color-accent);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.hero h1,
.page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(2.3rem, 5vw, 4rem);
  color: var(--color-primary-deep);
}

.lede, .hero .lede {
  font-size: 1.12rem;
  color: var(--color-text-muted);
  max-width: 42rem;
}

.hero-actions, .page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0;
}

.hero-panel {
  background: var(--color-primary);
  color: #f6f1e8;
  border-radius: 22px;
  padding: 0 18px 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-photo {
  display: block;
  width: calc(100% + 36px);
  height: 320px;
  margin: 0 -18px 14px;
  object-fit: cover;
  object-position: center center;
}

.hero-panel h2 {
  margin: 8px 0;
  font-size: 1.7rem;
  color: #fff;
}

.hero-panel p { color: #e7dfd2; }
.hero-panel a { color: #f6c7a8; }

.fleet { margin: 22px auto 0; }
.fleet img {
  width: 100%;
  height: min(460px, 52vw);
  object-fit: cover;
  object-position: center center;
  border-radius: 22px;
  display: block;
}
.fleet figcaption {
  margin: 8px 2px 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.page-photo { margin: 4px 0 18px; }
.page-photo img {
  width: 100%;
  height: min(380px, 48vw);
  object-fit: cover;
  border-radius: 22px;
  display: block;
}

.hours {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 14px;
  margin: 0 0 14px;
}
.hours dt { font-weight: 600; }
.hours dd { margin: 0; }
.hero-panel .hours dd { color: #e7dfd2; }

.section { padding: 26px 0 8px; }

.section h2, .block-title {
  margin: 0 0 8px;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  color: var(--color-primary-deep);
}

.tiles, .reasons, .steps, .note-grid {
  display: grid;
  gap: 12px;
}

.tiles { grid-template-columns: repeat(4, 1fr); }
.reasons, .steps { grid-template-columns: repeat(3, 1fr); }

.tile, .reason, .step, .panel, .product, .quote-box, .visit-card {
  background: var(--color-bg-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  padding: 0 0 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.tile img {
  width: 100%;
  height: 148px;
  object-fit: cover;
  display: block;
}

.tile:hover, .product:hover { box-shadow: var(--shadow); }
.tile strong {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 500;
  color: var(--color-primary-deep);
  margin: 2px 16px 0;
}
.tile span { color: var(--color-accent); font-weight: 700; margin: 12px 16px 0; }
.tile p { margin: 6px 16px 0; color: var(--color-text-muted); }

.reason, .step { padding: 16px 16px 8px; }
.step em, .reason b.num {
  font-family: var(--font-heading);
  font-style: normal;
  font-size: 1.8rem;
  color: var(--color-accent);
  display: block;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.product {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-art {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #d9d0c4;
}
.product-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-body {
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sku-row { display: flex; justify-content: space-between; gap: 8px; align-items: center; }
.sku { margin: 0; color: var(--color-text-muted); font-size: 0.8rem; letter-spacing: 0.04em; }
.tag {
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.product h3 { margin: 0; font-size: 1.28rem; }
.product p { margin: 0; }
.fine { color: var(--color-text-muted); font-size: 0.92rem; }
.product-row { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.price {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 1.7rem;
  color: var(--color-primary);
}
.confirm { margin: 0; font-size: 0.8rem; color: var(--color-text-muted); }
.product-actions { margin-top: auto; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.product-actions .btn { width: 100%; }
.text-link { color: var(--color-primary); font-weight: 600; }
.flag {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.filters button {
  min-height: 40px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  padding: 8px 14px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.filters button.is-active { background: var(--color-primary); color: #fff; border-color: var(--color-primary); }

.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 16px 0 0;
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}
.crumbs a { color: var(--color-secondary); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs li:not(:last-child)::after { content: "/"; margin-left: 6px; color: #b5a898; }

.page-head { padding-bottom: 8px; }

.prose h2 {
  font-size: 1.55rem;
  margin: 1.3em 0 0.35em;
  color: var(--color-primary-deep);
}
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.2em; }
.prose li { margin: 0.28em 0; }
.updated { color: var(--color-text-muted); }

.table-wrap { overflow-x: auto; margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; background: #fff; }
th, td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
th { background: #f7f1e8; font-size: 0.92rem; }

.note-band {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 18px;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 14px;
  align-items: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 22px;
  align-items: start;
  padding-bottom: 28px;
}

.visit-card { padding: 16px; position: sticky; top: 92px; }
.visit-card h2 { margin: 0 0 8px; font-size: 1.5rem; }

.quote-box { padding: 16px 16px 8px; margin-bottom: 16px; }
.quote-box h2 { margin: 0 0 8px; font-size: 1.45rem; }
.quote-box ul { list-style: none; margin: 0; padding: 0; }
.quote-box li {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid var(--color-border);
}
.qty { display: inline-flex; align-items: center; gap: 6px; }
.qty button, .text-btn {
  min-width: 32px;
  min-height: 32px;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  background: #fff;
  cursor: pointer;
  font: inherit;
}
.text-btn { padding: 4px 8px; color: var(--color-accent-dark); }
.line-price { font-weight: 700; }

.panel { padding: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.full { grid-column: 1 / -1; }
label { display: block; font-weight: 600; margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 12px;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: inherit;
}
textarea { min-height: 110px; resize: vertical; }
.invalid { border-color: #8d2b1b; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.check input { width: auto; margin-top: 5px; }
.hp { position: absolute; left: -9999px; }

.form-error { color: #8d2b1b; font-weight: 700; }
.success {
  background: #e7f3ec;
  border: 1px solid #b7d7c8;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 14px;
}
.success h2 { margin: 0 0 8px; font-size: 1.5rem; }
pre.summary {
  white-space: pre-wrap;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88rem;
  background: #fff;
  padding: 12px;
  border-radius: 10px;
}

.map-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  margin-top: 12px;
}
.map-frame { width: 100%; height: 220px; border: 0; }

details.faq {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 14px;
  padding: 12px 14px;
  margin: 0 0 10px;
}
details.faq summary { cursor: pointer; font-weight: 700; }
details.faq p { margin: 10px 0 0; }

.article-list { display: grid; gap: 12px; }
.article-list a {
  display: block;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
.article-list h2 { margin: 0 0 6px; font-size: 1.5rem; color: var(--color-primary-deep); }
.byline { color: var(--color-text-muted); font-size: 0.92rem; }

.site-footer {
  background: var(--color-primary-deep);
  color: #f4efe6;
  margin-top: 42px;
  padding: 34px 0 16px;
}
.site-footer a { color: #f4efe6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.15fr;
  gap: 22px;
}
.site-footer h2, .site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 10px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 0 0 6px; }
.footer-bottom {
  border-top: 1px solid rgba(244, 239, 230, 0.18);
  margin-top: 22px;
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: #d9d0c3;
  font-size: 0.92rem;
}
.linkish {
  background: none;
  border: 0;
  padding: 0;
  color: inherit;
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

#cookie-banner {
  display: none;
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 80;
  max-width: 680px;
  margin: 0 auto;
  background: #fffcf8;
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 16px;
  flex-direction: column;
  gap: 10px;
}
#cookie-banner h2 { margin: 0; font-size: 1.2rem; }
#cookie-banner p { margin: 0; color: var(--color-text-muted); font-size: 0.95rem; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
#cookie-settings { display: none; border-top: 1px solid var(--color-border); padding-top: 10px; }
#cookie-settings label { font-weight: 500; margin: 8px 0; }

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  z-index: 70;
  max-width: calc(100% - 32px);
}

.related { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 10px; }

:focus-visible {
  outline: 3px solid #e0b15a;
  outline-offset: 2px;
}

::selection { background: #efd3bf; }

@media (max-width: 980px) {
  .cta-long { display: none; }
  .cta-short { display: inline; }
  .burger { display: grid; }
  .main-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: #fffcf8;
    border-bottom: 1px solid var(--color-border);
    padding: 8px 16px 16px;
  }
  .main-nav ul { flex-direction: column; }
  .nav-toggle:checked ~ .header-inner .main-nav { display: block; }
  .hero, .tiles, .reasons, .steps, .contact-layout, .note-band, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero, .contact-layout, .note-band { grid-template-columns: 1fr; }
  .visit-card { position: static; }
}

@media (max-width: 720px) {
  .product-grid, .tiles, .reasons, .steps, .footer-grid, .form-grid, .quote-box li {
    grid-template-columns: 1fr;
  }
  .header-cta { padding-inline: 12px; }
  .hero-photo { height: 220px; }
  .tile img { height: 168px; }
  .fleet img, .page-photo img { height: 220px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .product, .tile { transition: none; }
}

@media print {
  .topbar, .site-header, .site-footer, #cookie-banner, .toast, .add-quote, .burger { display: none !important; }
  body { background: #fff; }
}
