:root {
  color-scheme: light;
  --paper: #fbf8ef;
  --white: #fffdf7;
  --ink: #18362d;
  --muted: #486057;
  --line: #d6ddd0;
  --green: #214c3d;
  --green-hover: #14362b;
  --sage: #e4ede0;
  --orange: #f5c281;
  --radius: 20px;
  --wrap: 1160px;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  line-height: 1.55;
}
a {
  color: inherit;
}
button,
input,
select {
  font: inherit;
}
img,
svg {
  display: block;
}
img {
  max-width: 100%;
  height: auto;
}
[hidden] {
  display: none !important;
}
:focus-visible {
  outline: 3px solid #a2471a;
  outline-offset: 4px;
}
.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}
.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.skip {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 5;
  transform: translateY(-150%);
}
.skip:focus {
  transform: none;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}
.brand {
  display: inline-flex;
  gap: 11px;
  align-items: center;
  text-decoration: none;
}
.brand img {
  width: 44px;
  height: 44px;
}
.brand-name {
  display: grid;
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.15;
}
.brand-name strong {
  font-size: 1.13rem;
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  gap: clamp(15px, 3vw, 34px);
  align-items: center;
  font-size: 0.91rem;
  font-weight: 650;
}
.nav a {
  padding-block: 10px;
  text-decoration: none;
}
.nav a:hover,
.nav a[aria-current] {
  text-decoration: underline;
  text-underline-offset: 0.32em;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  border: 1px solid transparent;
  padding: 10px 17px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.93rem;
  line-height: 1.25;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}
.button-primary {
  background: var(--green);
  color: #fffdf6;
}
.button-primary:hover {
  background: var(--green-hover);
}
.button-secondary {
  background: var(--white);
  color: var(--ink);
  border-color: #8ca095;
}
.button-secondary:hover {
  background: #edf2e8;
}
.button-light {
  color: var(--ink);
  background: var(--orange);
}
.button-light:hover {
  background: #ffcf92;
}
.header-call {
  min-height: 43px;
  white-space: nowrap;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hero {
  display: grid;
  grid-template-columns: 1.07fr 1fr;
  align-items: center;
  gap: clamp(26px, 5vw, 72px);
  padding-block: 48px 42px;
}
.hero-visual {
  width: 100%;
  border-radius: 24px;
}
.kicker {
  margin: 0 0 12px;
  color: var(--green);
  text-transform: upperc;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.105em;
}
.location-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--sage);
  padding: 5px 10px;
  border-radius: 100px;
  letter-spacing: 0.06em;
}
.location-pill .icon {
  width: 16px;
  height: 16px;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  line-height: 1.07;
  letter-spacing: -0.045em;
}
h1 {
  font-size: clamp(2.25rem, 5.25vw, 4.2rem);
  margin-bottom: 16px;
  max-width: 16ch;
}
h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.65rem);
  margin-bottom: 10px;
}
h3 {
  font-size: 1.12rem;
  line-height: 1.25;
  margin-bottom: 8px;
}
.lead {
  max-width: 54ch;
  font-size: clamp(1rem, 1.5vw, 1.13rem);
  color: var(--muted);
  margin-bottom: 22px;
}
.section {
  padding-block: 44px;
}
.services {
  padding-block: 24px 54px;
  scroll-margin-top: 12px;
}
.section-head {
  margin-bottom: 24px;
}
.section-head > p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}
.card-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 17px;
  padding: 17px 15px;
  min-width: 0;
  position: relative;
  display: block;
  text-decoration: none;
}
.service-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 0;
}
.service-icon {
  display: inline-grid;
  place-items: center;
  width: 47px;
  height: 47px;
  margin-bottom: 13px;
  border-radius: 13px;
  background: #e4ede0;
  color: #244a3a;
}
.service-icon .icon {
  width: 27px;
  height: 27px;
}
.tank {
  background: #dcebe9;
  color: #275455;
}
.chimney {
  background: #f7e5d1;
  color: #714a29;
}
.sofa {
  background: #ebe5f3;
  color: #594878;
}
.spark {
  background: #f7eccc;
  color: #6c531e;
}
.service-card > .icon {
  position: absolute;
  top: 18px;
  right: 15px;
  width: 18px;
  height: 18px;
}
.service-card:hover {
  border-color: #8ca095;
  background: #f3f6ec;
}
.service-card:hover h3 {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.booking {
  background: var(--sage);
  border-block: 1px solid var(--line);
  scroll-margin-top: 12px;
}
.booking-inner,
.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: start;
  gap: clamp(24px, 5vw, 70px);
}
.steps {
  list-style: none;
  padding: 0;
  margin: 21px 0 0;
  display: grid;
  gap: 12px;
  color: var(--muted);
}
.steps li {
  display: flex;
  align-items: center;
  gap: 9px;
}
.steps span {
  flex: none;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--ink);
}
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(17px, 3vw, 25px);
}
.quote-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 5px;
  font-size: 0.88rem;
}
.quote-form select,
.quote-form input {
  width: 100%;
  min-width: 0;
  min-height: 45px;
  background: #fff;
  color: var(--ink);
  border: 1px solid #87998e;
  border-radius: 8px;
  padding: 7px 10px;
  font-size: 1rem;
  margin-bottom: 13px;
}
.quote-form button {
  width: 100%;
}
.quote-form small {
  color: var(--muted);
  display: block;
  margin-top: 10px;
}
.booking-fallback {
  align-self: center;
}
.faq-list {
  max-width: 790px;
}
details {
  border-top: 1px solid var(--line);
}
details:last-child {
  border-bottom: 1px solid var(--line);
}
summary {
  display: list-item;
  padding: 13px 1px;
  min-height: 48px;
  cursor: pointer;
  font-weight: 700;
}
details p {
  color: var(--muted);
  margin-bottom: 15px;
  max-width: 70ch;
}

.crumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-block: 22px 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.crumbs .icon {
  width: 14px;
  height: 14px;
}
.service-hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  padding-block: 30px 42px;
}
.service-art {
  min-height: 230px;
  display: grid;
  place-items: center;
  border-radius: 24px;
}
.service-art:not(.tank, .chimney, .sofa, .spark) {
  background: var(--sage);
}
.service-art .icon {
  width: min(42%, 130px);
  height: auto;
  stroke-width: 1.25;
}
.service-details {
  background: var(--white);
  border-block: 1px solid var(--line);
}
.detail-list {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}
.detail-list li + li {
  margin-top: 10px;
}
.related {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.related a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 6px 12px;
  text-decoration: none;
  font-weight: 650;
  font-size: 0.88rem;
}
.related a:hover {
  background: var(--sage);
}

.footer {
  background: #183c33;
  color: #fffaf0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding-block: 24px;
}
.footer .brand img {
  outline: 1px solid #789488;
  border-radius: 14px;
}
.footer p {
  margin: 0;
  color: #deebe2;
}
.footer a {
  text-underline-offset: 4px;
}
.mobile-bar {
  display: none;
}

@media (max-width: 980px) {
  .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 700px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header-inner {
    min-height: 64px;
    gap: 12px;
  }
  .brand img {
    width: 37px;
    height: 37px;
  }
  .brand {
    gap: 8px;
  }
  .brand-name {
    font-size: 0.73rem;
  }
  .brand-name strong {
    font-size: 0.99rem;
  }
  .nav {
    gap: 12px;
    font-size: 0.82rem;
  }
  .nav a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .header-call {
    display: none;
  }
  .hero {
    display: block;
    padding-block: 28px 23px;
  }
  .hero h1 {
    font-size: clamp(2.05rem, 7.9vw, 3.1rem);
  }
  .hero-visual,
  .hero .actions,
  .service-hero .actions {
    display: none;
  }
  .hero .lead,
  .service-hero .lead {
    margin-bottom: 0;
  }
  .services {
    padding-block: 15px 36px;
  }
  .section {
    padding-block: 34px;
  }
  .section-head {
    margin-bottom: 16px;
  }
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .service-card {
    padding: 11px;
    border-radius: 14px;
  }
  .service-card h3 {
    font-size: 1rem;
  }
  .service-card p {
    font-size: 0.83rem;
  }
  .service-icon {
    width: 39px;
    height: 39px;
    margin-bottom: 10px;
  }
  .service-icon .icon {
    width: 24px;
    height: 24px;
  }
  .service-card > .icon {
    top: 13px;
    right: 12px;
  }
  .booking-inner,
  .info-grid,
  .service-hero {
    grid-template-columns: 1fr;
  }
  .service-hero {
    padding-block: 21px 28px;
  }
  .service-hero h1 {
    font-size: clamp(2.05rem, 7.9vw, 3.1rem);
  }
  .service-art {
    display: none;
  }
  .footer {
    padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-bar {
    position: fixed;
    z-index: 3;
    inset: auto 0 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: var(--white);
    border-top: 1px solid var(--line);
    box-shadow: 0 -5px 18px #183c3314;
  }
  html {
    scroll-padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 360px) {
  .header-inner {
    gap: 8px;
  }
  .site-header .brand {
    gap: 6px;
  }
  .site-header .brand img {
    width: 31px;
    height: 31px;
  }
  .site-header .brand-name {
    font-size: 0.68rem;
    white-space: nowrap;
  }
  .nav {
    gap: 8px;
    font-size: 0.76rem;
    white-space: nowrap;
  }
}

.work-gallery {
  background: #f2eee3;
  border-top: 1px solid var(--line);
}
.gallery-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
}
.gallery-card {
  display: block;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-decoration: none;
}
.gallery-card img,
.service-photo img {
  width: 100%;
  height: auto;
  background: var(--sage);
}
.gallery-card img {
  border-radius: 13px 13px 0 0;
}
.gallery-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 10px 12px;
  min-height: 44px;
  font-size: 0.92rem;
  font-weight: 700;
}
.gallery-card .icon {
  width: 16px;
  height: 16px;
}
.gallery-card:hover {
  border-color: #8ca095;
}
.gallery-card:hover span {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}
.service-photo {
  min-width: 0;
  margin: 0;
}
.service-photo img {
  border-radius: 20px;
}
.service-photo figcaption {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.8rem;
}
.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
}
.footer-links a[aria-current="page"] {
  font-weight: 700;
  text-decoration-thickness: 2px;
}
.legal-page {
  max-width: 850px;
  padding-block: 56px 72px;
}
.legal-page h1 {
  margin-block: 8px 18px;
  font-size: clamp(2.3rem, 6vw, 4.4rem);
}
.legal-page h2 {
  margin-block: 34px 10px;
  font-size: clamp(1.3rem, 3vw, 1.8rem);
}
.legal-page p,
.legal-page li {
  max-width: 72ch;
}

@media (max-width: 700px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  .gallery-card span {
    padding-inline: 9px;
    font-size: 0.83rem;
  }
  .service-photo img {
    border-radius: 14px;
  }
  .legal-page {
    padding-block: 34px 48px;
  }
}
