/* Caveman Custom Garages
   Layout: white shop front with a hanging sign logo; services shown as a run of
   cabinet doors with aluminum pulls; photos do the talking. */

:root {
  --burgundy: #890000;
  --burgundy-deep: #650000;
  --ink: #231c1b;
  --text: #4a4240;
  --paper: #ffffff;
  --concrete: #f0eeed;
  --line: #d9d3d1;
  --gold: #c98a12;
  --aluminum: linear-gradient(90deg, #8d9093 0%, #dfe1e2 28%, #a0a3a5 48%, #e8eaea 70%, #8d9093 100%);

  --display: "Montserrat", "Segoe UI", Arial, sans-serif;
  --sans: "Montserrat", "Segoe UI", Arial, sans-serif;

  --wrap: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --space: clamp(56px, 8vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 120px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.03rem;
  line-height: 1.65;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--burgundy); }
h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.1;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 4vw, 3.15rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.15rem); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--space); }
.tint { background: var(--concrete); }
.section-head { display: grid; gap: 10px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 38em; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 10px 16px; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border: 2px solid var(--burgundy);
  border-radius: 3px;
  background: var(--burgundy);
  color: #fff;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.btn:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
.btn.line { background: transparent; color: var(--burgundy); }
.btn.line:hover { background: var(--burgundy); color: #fff; }
.btn.light { background: #fff; border-color: #fff; color: var(--burgundy); }
.btn.light:hover { background: var(--concrete); border-color: var(--concrete); }
.btn.ghost { background: transparent; border-color: #fff; color: #fff; }
.btn.ghost:hover { background: #fff; color: var(--burgundy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* Header: a floating bubble, with the logo hanging from it like a sign */
:root { --head-h: 80px; --head-gap: 16px; --head-space: calc(var(--head-h) + var(--head-gap)); }
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  margin-bottom: calc(-1 * var(--head-space));
  padding: var(--head-gap) var(--gutter) 0;
  filter: drop-shadow(0 8px 20px rgba(35, 28, 27, .2));
  pointer-events: none;
}
.head-in {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: var(--wrap);
  height: var(--head-h);
  padding-inline: 20px 24px;
  background: #fff;
  border-radius: 28px;
  pointer-events: auto;
}
.sign { position: relative; z-index: 2; align-self: flex-start; flex: none; width: 152px; height: var(--head-h); }
.sign img { position: absolute; top: 0; left: 0; width: 152px; padding: 8px 10px 12px; background: #fff; border-radius: 28px; transition: width .25s, padding .25s; }
.scrolled .sign img { width: 102px; padding: 4px 6px; }
.nav { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); font-size: .97rem; }
.nav a { color: var(--ink); font-weight: 600; text-decoration: none; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--burgundy); }
.nav .btn, .nav .btn:hover { color: #fff; }
.nav .btn { padding: 11px 20px; border-radius: 999px; }
.nav .tel { white-space: nowrap; }
.drop { position: relative; }
.drop > ul {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 250px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: #fff;
  border-radius: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s;
}
.drop > a { display: inline-block; padding-block: 26px; }
.drop:hover > ul, .drop:focus-within > ul { opacity: 1; visibility: visible; }
.drop li a { display: block; padding: 8px 20px; }
.drop li a:hover { background: var(--concrete); }
.menu-btn { display: none; }
/* Hero */
.hero { background: var(--concrete); }
.hero-in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: center;
  gap: clamp(28px, 4vw, 60px);
  padding-block: calc(var(--head-space) + clamp(40px, 5vw, 64px)) clamp(40px, 5vw, 68px);
}
.hero-copy { display: grid; gap: 22px; padding-top: 24px; }
.hero h1 { font-size: clamp(2rem, 3.1vw, 2.6rem); }
.hero-copy > p { max-width: 30em; font-size: 1.1rem; }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; font-weight: 600; color: var(--ink); text-decoration: none; }
.rating:hover { text-decoration: underline; }
.stars { color: var(--gold); letter-spacing: 2px; }

/* Before / after slider */
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--line); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba .ba-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-bar { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 12px; margin-left: -6px; background: var(--aluminum); pointer-events: none; }
.ba-bar::after {
  content: "\2039\00a0\203a";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-radius: 50%;
  background: var(--burgundy);
  color: #fff;
  font: 700 1.5rem/1 var(--sans);
  padding-bottom: 4px;
}
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:focus-within { outline: 3px solid var(--burgundy); outline-offset: 3px; }
.ba.long { aspect-ratio: 2 / 1; }
.tag { position: absolute; bottom: 14px; padding: 4px 12px; background: rgba(35, 28, 27, .82); color: #fff; font-size: .95rem; font-weight: 600; pointer-events: none; }
.tag.l { left: 14px; }
.tag.r { right: 14px; }
.hero figure, .work figure { margin: 0; }
.hero figcaption { margin-top: 12px; font-size: 1rem; }

/* Trust strip */
.trust { background: var(--burgundy); color: #fff; }
.trust ul { display: grid; grid-template-columns: repeat(4, auto); justify-content: space-between; gap: 8px 28px; margin: 0; padding: 20px 0; list-style: none; font-weight: 600; }

/* Services: a run of cabinet doors */
.doors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; background: #bdb7b5; }
.door {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 236px;
  padding: 30px 46px 28px 28px;
  background: #fff;
  color: var(--text);
  text-decoration: none;
  transition: background .25s, color .25s;
}
.door::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 14px; background: var(--aluminum); }
.door svg { width: 62px; height: 62px; margin-bottom: 8px; color: var(--burgundy); transition: color .25s, transform .25s; }
.door h3 { transition: color .25s; }
.door .go { margin-top: 4px; color: var(--burgundy); font-weight: 700; transition: color .25s; }
.door:hover, .door:focus-visible { background: var(--burgundy); color: #fff; }
.door:hover :is(svg, h3, .go), .door:focus-visible :is(svg, h3, .go) { color: #fff; }
.door:hover svg { transform: translateX(5px); }
svg.icon { fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); }
.review { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.review blockquote { margin: 0; color: var(--ink); }
.review figcaption { margin-top: auto; font-weight: 700; color: var(--ink); }
.after-link { margin-top: clamp(28px, 4vw, 44px); }

/* Video */
.story { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(24px, 4vw, 48px); align-items: center; margin-bottom: clamp(40px, 5vw, 64px); }
.story .stack { gap: 12px; }
.story h3 { font-size: 1.5rem; }
.story video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: var(--ink); object-fit: cover; }
.clip { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; object-position: 50% 35%; background: var(--ink); }

/* Photo frames with scroll movement */
.frame { position: relative; overflow: hidden; background: var(--line); aspect-ratio: 4 / 3; }
.frame > img { position: absolute; left: 0; top: -9%; width: 100%; height: 118%; object-fit: cover; will-change: transform; }
.frame.top > img { top: 0; height: 100%; object-position: top; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; aspect-ratio: 4 / 3; background: #fff; }
.pair .frame { aspect-ratio: auto; }

/* Project cards */
.work { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px clamp(20px, 2.6vw, 34px); }
.work.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px clamp(24px, 3.4vw, 48px); }
.work article { display: grid; align-content: start; gap: 14px; }
.work .sub { margin-top: 4px; color: var(--burgundy); font-weight: 600; }
.work a.card { color: inherit; text-decoration: none; display: grid; gap: 14px; }
.work a.card:hover h3 { color: var(--burgundy); }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(28px, 4vw, 56px); margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); color: var(--burgundy); font: 700 3rem/1 var(--display); }

/* 3D design next to the finished job */
.plan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 24px; }
.plan figure { margin: 0; }
.plan img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; border: 1px solid var(--line); }
.plan figcaption { margin-top: 10px; color: var(--ink); font-weight: 600; }

/* Call to action band */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; }
.cta > img { position: absolute; left: 0; top: -15%; width: 100%; height: 130%; object-fit: cover; opacity: .34; will-change: transform; }
.cta-in { position: relative; display: grid; gap: 20px; justify-items: start; padding-block: clamp(64px, 9vw, 120px); }
.cta h2 { color: #fff; max-width: 16em; }
.cta .btn.light { background: var(--burgundy); border-color: var(--burgundy); color: #fff; }
.cta .btn.light:hover { background: var(--burgundy-deep); border-color: var(--burgundy-deep); }
.cta p { max-width: 34em; font-size: 1.1rem; }

/* Service pages */
.page-hero { position: relative; overflow: hidden; min-height: clamp(440px, 48vw, 620px); display: grid; align-items: end; background: var(--ink); }
.page-hero > img { position: absolute; left: 0; top: -8%; width: 100%; height: 124%; object-fit: cover; will-change: transform; }
.page-hero .wrap { position: relative; z-index: 1; padding-top: 220px; }
.hero-card { display: grid; gap: 14px; justify-items: start; width: fit-content; max-width: 36rem; padding: 28px 36px 32px; background: #fff; border-top: 5px solid var(--burgundy); }
.hero-card h1 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); }
.hero-card p { font-size: 1.1rem; }
.plain-hero { background: var(--concrete); }
.plain-hero .wrap { display: grid; gap: 14px; padding-block: calc(var(--head-space) + 84px) 52px; }
.plain-hero p { max-width: 36em; font-size: 1.1rem; }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.split.wide { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.split.top { align-items: start; }
.split.top .specs { margin-top: 0; }
.stack { display: grid; gap: 20px; }
.specs { display: grid; margin: 8px 0 0; border-top: 1px solid var(--line); }
.specs div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 16px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--ink); font-weight: 700; }
.specs dd { margin: 0; }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery .frame { aspect-ratio: 1; }
.gallery.duo { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.gallery.duo .frame { aspect-ratio: 4 / 3; }
.pull { display: grid; gap: 14px; max-width: 46em; margin: 0; }
.pull blockquote { margin: 0; color: var(--ink); font: 600 clamp(1.2rem, 2.1vw, 1.55rem)/1.45 var(--display); }

/* Flake colors */
.swatches { max-width: 620px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; }
.swatches figure { margin: 0; }
.swatches img { width: 100%; height: auto; }
.swatches figcaption { margin-top: 6px; color: var(--ink); font-size: .95rem; font-weight: 600; }

/* Cabinet colors and handles */
.finish-head { margin-bottom: 16px; }
.finishes { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px 16px; }
.finishes + .finish-head { margin-top: 44px; }
.finishes figure { margin: 0; }
.finishes img { width: 100%; height: auto; }
.finishes figcaption { margin-top: 8px; color: var(--ink); font-weight: 600; }

/* Common questions */
.faq { max-width: 52rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 18px 40px 18px 0; color: var(--ink); font-weight: 700; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 8px; top: 50%; color: var(--burgundy); font-size: 1.6rem; line-height: 1; transform: translateY(-50%); }
.faq details[open] summary::after { content: "\2013"; }
.faq p { padding: 0 40px 20px 0; }
.policy { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; overflow-wrap: anywhere; }
.policy > * { max-width: 52rem; }
.policy h2 { margin-top: 18px; font-size: 1.3rem; }
.policy ul { margin: 0; padding-left: 1.3em; }

/* Request form */
.request { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 6px 0 0; padding: 0; list-style: none; }
.contact-list strong { display: block; color: var(--ink); }
.contact-list a { font-weight: 600; overflow-wrap: anywhere; }
.form-card { min-width: 0; padding: clamp(22px, 3vw, 36px); background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--burgundy); }
.form-card { min-height: 900px; border-radius: 16px; overflow: hidden; }
.form-card iframe { max-width: 100%; }

/* Footer */
.foot { background: var(--burgundy); color: #fff; }
.foot a { color: #fff; text-decoration: none; overflow-wrap: anywhere; }
.foot a:hover { text-decoration: underline; }
.foot-in { display: grid; grid-template-columns: 200px repeat(3, minmax(0, auto)); justify-content: space-between; gap: 36px; padding-block: 52px 36px; }
.foot h2 { margin-bottom: 10px; color: #fff; font-size: 1.08rem; }
.foot ul { display: grid; gap: 5px; margin: 0; padding: 0; list-style: none; font-size: .95rem; }
.foot .area { columns: 2; column-gap: 28px; display: block; }
.foot .fine { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 32px; }
.foot .fine p { max-width: 46rem; }
.foot .fine a { padding: 10px 0; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.foot .fine { padding-block: 16px; border-top: 1px solid rgba(255, 255, 255, .28); font-size: .88rem; }

/* Call bar on phones */
.callbar { display: none; }

/* Photo backdrops */
:root { --mat: var(--concrete); --mat-size: 10px; }
.tint, .hero, .finishes { --mat: #fff; }
.finishes img { box-shadow: 0 1px 6px rgba(35, 28, 27, .2); }
:is(.frame, .pair, .ba, .plan img, .swatches img, .finishes img, .story video, .clip) {
  border: var(--mat-size) solid var(--mat);
  border-radius: 16px;
  background-color: var(--mat);
  box-shadow: 0 1px 3px rgba(35, 28, 27, .14);
  transition: transform .25s ease, box-shadow .25s ease;
}
.pair { overflow: hidden; }
.pair .frame { border: 0; border-radius: 0; box-shadow: none; }
/* Only photos that do something when clicked lift: project cards, sliders, the testimonial video */
:is(a.card .frame, .ba, .story video).lift { position: relative; z-index: 2; transform: scale(1.025); box-shadow: 0 10px 24px rgba(35, 28, 27, .2); }
@media (hover: hover) {
  .ba:hover, .story video:hover, a.card:hover .frame { position: relative; z-index: 2; transform: scale(1.025); box-shadow: 0 10px 24px rgba(35, 28, 27, .2); }
}
a.card:focus-visible .frame { transform: scale(1.025); }
@media (prefers-reduced-motion: reduce) {
  :is(a.card .frame, .ba, .story video):is(:hover, .lift), a.card:is(:hover, :focus-visible) .frame { transform: none; }
}
@media (max-width: 1020px) {
  :root { --head-h: 70px; --head-gap: 12px; }
  .head-in { padding-inline: 14px; border-radius: 24px; }
  .sign, .sign img { width: 122px; }
  .sign img { border-radius: 24px; padding: 6px 8px 10px; }
  .scrolled .sign img { width: 90px; }
  .menu-btn { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 2px solid var(--burgundy); border-radius: 999px; background: #fff; color: var(--burgundy); font: 700 1rem var(--sans); cursor: pointer; }
  .nav { position: absolute; top: calc(100% + 8px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; max-height: calc(100vh - 170px); overflow-y: auto; padding: 34px 22px 22px; background: #fff; border-radius: 24px; }
  .nav.open { display: flex; }
  .nav > a, .drop > a { padding: 11px 0; border-bottom: 1px solid var(--line); display: block; }
  .drop > ul { position: static; opacity: 1; visibility: visible; min-width: 0; padding: 4px 0 8px; border: 0; box-shadow: none; transition: none; }
  .drop li a { padding: 7px 18px; font-weight: 400; }
  .nav .btn { margin-top: 16px; border-bottom: 2px solid var(--burgundy); }
  .hero-in, .split, .split.wide, .request, .story { grid-template-columns: minmax(0, 1fr); }
  .trust ul { grid-template-columns: repeat(2, auto); }
  .doors, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .work, .work.two, .steps, .reviews { grid-template-columns: minmax(0, 1fr); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  :root { --mat-size: 7px; }
  :is(.frame, .pair, .ba, .plan img, .swatches img, .finishes img, .story video, .clip) { border-radius: 12px; }
  .finishes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 10px; }
  .finishes figcaption { font-size: .88rem; }
  .gallery.duo, .plan { grid-template-columns: minmax(0, 1fr); }
  .callbar { position: fixed; inset: auto 0 0 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; background: #fff; border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .callbar a { padding: 15px 8px; text-align: center; font-weight: 700; text-decoration: none; }
  .callbar a + a { background: var(--burgundy); color: #fff; }
  body { padding-bottom: 58px; }
}

@media (max-width: 520px) {
  .trust ul, .doors { grid-template-columns: minmax(0, 1fr); }
  .door { min-height: 0; }
  .specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .btn-row .btn { width: 100%; }
  .hero-card { width: 100%; padding: 22px 20px 24px; }
}

/* Phones: fewer stacked blocks, bigger tap areas, swipeable rows */
@media (max-width: 720px) {
  :root { --space: 52px; --gutter: 20px; }
  h1 { font-size: 1.95rem; }
  h2 { font-size: 1.55rem; }
  .section-head { margin-bottom: 24px; }
  .btn { padding: 15px 24px; }

  /* Swipe rows */
  .reviews, .work:not(.two), .finishes, .gallery:not(.duo) {
    display: grid;
    grid-template-columns: none;
    grid-auto-flow: column;
    gap: 14px;
    margin-inline: calc(-1 * var(--gutter));
    padding: 4px var(--gutter) 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .reviews::-webkit-scrollbar, .work:not(.two)::-webkit-scrollbar, .finishes::-webkit-scrollbar, .gallery:not(.duo)::-webkit-scrollbar { display: none; }
  .reviews > *, .work:not(.two) > *, .finishes > *, .gallery:not(.duo) > * { scroll-snap-align: start; }
  .reviews { grid-auto-columns: 84%; }
  .work:not(.two) { grid-auto-columns: 82%; }
  .finishes { grid-auto-columns: 40%; }
  .gallery:not(.duo) { grid-auto-columns: 70%; }
  .finishes figcaption { font-size: 1rem; }
  .finishes + .finish-head { margin-top: 24px; }
  .review { padding: 22px 20px; background: #fff; border-radius: 16px; box-shadow: 0 1px 3px rgba(35, 28, 27, .14); }
  .after-link { margin-top: 18px; }

  /* Services as compact rows */
  .door { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; min-height: 0; padding: 18px 30px 18px 16px; align-items: center; }
  .door svg { grid-row: 1 / span 2; width: 46px; height: 46px; margin: 0; }
  .door h3 { font-size: 1.1rem; }
  .door p { font-size: .97rem; line-height: 1.45; }
  .door .go { display: none; }

  /* Service page tops: photo first, title below it */
  .page-hero { min-height: 0; background: #fff; }
  .page-hero > img { top: -10px; height: 400px; }
  .page-hero .wrap { padding: 330px 0 0; }
  .hero-card { width: 100%; max-width: none; padding: 26px var(--gutter) 8px; }
  .hero-card .btn { width: 100%; }
  .page-hero + .section { padding-top: 36px; }
  .plain-hero .wrap { padding-block: calc(var(--head-space) + 60px) 40px; }

  /* Details, steps, projects */
  .specs div { padding-block: 11px; }
  .steps { gap: 24px; }
  .steps li { grid-template-columns: 42px minmax(0, 1fr); column-gap: 10px; row-gap: 4px; }
  .steps li::before { grid-row: 1 / span 2; font-size: 2.2rem; }
  .steps p { grid-column: 2; }
  .work.two { gap: 40px; }
  .work p a { display: inline-block; padding: 8px 0; }
  .plan { gap: 10px; }
  .plan figure:nth-child(even):not(:last-child) { margin-bottom: 26px; }
  .cta-in { padding-block: 72px; }

  .form-card { min-height: 955px; padding: 4px; }

  /* Tap areas */
  .rating { padding-block: 8px; }
  .contact-list a { display: inline-block; padding: 10px 0; }
  .foot-in { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; padding-block: 40px 24px; }
  .foot-in > img { grid-column: 1 / -1; width: 160px; height: auto; margin-inline: auto; }
  .foot-in > div:last-child { grid-column: 1 / -1; grid-row: 2; }
  .foot ul { gap: 0; font-size: 1rem; }
  .foot li { padding-block: 0; line-height: 1.35; }
  .foot li a { display: inline-block; padding: 11px 0; }
  .foot .area { columns: 1; }
  .foot .area li { padding: 8px 0; }
  .foot .fine { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 32px; }
.foot .fine p { max-width: 46rem; }
.foot .fine a { padding: 10px 0; font-weight: 600; text-decoration: underline; white-space: nowrap; }
.foot .fine { font-size: .95rem; }
  .callbar a { padding: 17px 8px; }
  body { padding-bottom: 62px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
