:root {
  --green: #31b939;
  --green-dark: #188b25;
  --gold: #c7a45a;
  --dark: #161a18;
  --ink: #222724;
  --muted: #66706a;
  --line: #dce3de;
  --soft: #f4f7f5;
  --white: #fff;
  --amber: #f0b429;
  --danger: #d84332;
  --shadow: 0 18px 42px rgba(22, 26, 24, .14);
  --premium-shadow: 0 24px 60px rgba(17, 25, 20, .16);
  --radius: 8px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 12% 0%, rgba(199,164,90,.08), transparent 34%), var(--white);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header .container {
  width: min(1540px, calc(100% - 36px));
}

.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

.topbar__inner,
.header__inner,
.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.topbar__inner { min-height: 42px; }
.topbar__links { display: flex; gap: 18px; flex-wrap: wrap; }

.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 32px rgba(22,26,24,.06);
}

.header__inner { min-height: 82px; }

.logo {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  gap: 12px;
  min-width: 220px;
}

.logo__mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 22%, rgba(255,255,255,.24), transparent 28%),
    linear-gradient(135deg, #1d9a2e, #0b5f1d 72%, var(--gold));
  display: grid;
  place-items: center;
  color: #fff !important;
  font-weight: 900;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0;
  border: 1px solid rgba(255,255,255,.36);
  text-shadow: 0 1px 0 rgba(0,0,0,.35), 0 0 12px rgba(255,255,255,.72);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.26), inset 0 -10px 18px rgba(0,0,0,.18), 0 14px 28px rgba(18,104,32,.24);
}

.logo strong { display: block; font-size: 21px; line-height: 1.05; letter-spacing: .01em; }
.logo span { color: var(--muted); font-size: 13px; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 1.25vw, 24px);
  font-size: 15px;
  flex: 1;
}

.nav a { color: #2d342f; }
.nav a:hover { color: var(--green-dark); }

.services-nav { display: flex; align-items: center; }
.services-nav__trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 0;
  padding: 29px 0;
  color: #2d342f;
  background: transparent;
  font-size: inherit;
  white-space: nowrap;
}
.services-nav__trigger:hover, .services-nav.active .services-nav__trigger { color: var(--green-dark); }
.services-nav__chevron {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform .2s ease;
}
.services-nav.active .services-nav__chevron { transform: rotate(225deg) translate(-2px, -1px); }
.services-mega[hidden] { display: none !important; }
.services-mega {
  position: fixed;
  top: 81px;
  left: 50%;
  z-index: 33;
  width: min(1180px, calc(100vw - 32px));
  max-height: calc(100dvh - 98px);
  overflow-y: auto;
  transform: translateX(-50%);
  border: 1px solid var(--line);
  border-radius: 0 0 8px 8px;
  background: #fff;
  box-shadow: 0 26px 54px rgba(22, 38, 28, .2);
  text-align: left;
}
.services-mega__top, .services-mega__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 24px;
}
.services-mega__top { border-bottom: 1px solid var(--line); }
.services-mega__top strong { font-size: 16px; }
.services-mega__top a, .services-mega__bottom button { color: var(--green-dark); font-weight: 700; }
.services-mega__top a { width: auto; }
.services-mega__layout { display: grid; grid-template-columns: 268px minmax(0, 1fr); min-height: 390px; }
.services-mega__categories { padding: 12px; border-right: 1px solid var(--line); background: #f5f8f6; }
.services-mega__categories button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  border-radius: 4px;
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  text-align: left;
}
.services-mega__categories button:hover, .services-mega__categories button.active { background: #e3f4e7; color: #126d27; }
.services-mega__categories small { color: var(--muted); font-size: 12px; }
.services-mega__content { min-width: 0; padding: 24px 28px 30px; }
.services-mega__intro .eyebrow { color: var(--green-dark); font-size: 11px; }
.services-mega__intro h2 { margin: 4px 0 20px; font-size: 25px; line-height: 1.2; }
.services-mega__subgroups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 36px; }
.services-mega__subgroup h3 { margin: 0 0 10px; font-size: 15px; line-height: 1.35; }
.services-mega__subgroup a {
  display: block;
  width: 100%;
  padding: 8px 0;
  border-bottom: 1px solid #edf0ed;
  color: #435048;
  font-size: 14px;
  line-height: 1.35;
}
.services-mega__subgroup a:hover { color: var(--green-dark); }
.services-mega__topics { grid-column: 1 / -1; }
.services-mega__topics ul { margin: 0; padding-left: 18px; columns: 2; column-gap: 34px; color: var(--muted); font-size: 14px; }
.services-mega__topics li { padding: 4px 0; break-inside: avoid; }
.services-mega__topics a { display: inline; width: auto; padding: 0; border: 0; color: var(--muted); }
.services-mega__topics a:hover { color: var(--green-dark); text-decoration: underline; }
.service-includes li[id] { scroll-margin-top: 110px; }
.services-mega__bottom { border-top: 1px solid var(--line); background: #f6faf7; color: #56635a; font-size: 13px; }
.services-mega__bottom button { border: 0; background: transparent; white-space: nowrap; }
.services-nav__trigger:focus-visible, .services-mega button:focus-visible, .services-mega a:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.house-nav { display: flex; align-items: center; min-height: 82px; }
.house-nav__link { white-space: nowrap; }
.house-nav__toggle { display: grid; place-items: center; width: 24px; height: 44px; padding: 0; border: 0; color: #2d342f; background: transparent; }
.house-nav.active .house-nav__link, .house-nav:hover .house-nav__link { color: var(--green-dark); }
.house-nav.active .services-nav__chevron { transform: rotate(225deg) translate(-2px, -1px); }
.house-nav__toggle:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.house-menu__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; padding: 24px 28px; }
.house-menu__column section + section { margin-top: 26px; }
.house-menu__column h3, .services-mega__house-head h3 { margin: 0 0 9px; font-size: 15px; }
.house-menu__column a { display: block; width: auto; padding: 7px 0; border-bottom: 1px solid #edf0ed; color: #435048; font-size: 14px; line-height: 1.3; }
.house-menu__column a:hover { color: var(--green-dark); }
.services-mega__house-block { margin-bottom: 28px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.services-mega__house-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.services-mega__house-head a { width: auto; color: var(--green-dark); font-size: 13px; font-weight: 700; }
.services-mega__house-block .house-menu__grid { padding: 0; }

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.phone {
  font-weight: 800;
  white-space: nowrap;
}

.call-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(49,185,57,.22);
}

.btn {
  border: 0;
  border-radius: var(--radius);
  padding: 14px 18px;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  box-shadow: 0 12px 26px rgba(49,185,57,.24);
  position: relative;
  overflow: hidden;
}

.btn:hover { background: var(--green-dark); color: #fff; }
.btn--dark { background: var(--dark); box-shadow: none; }
.btn--ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn--ghost:hover {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  border-color: var(--green-dark);
  color: #fff;
}
.btn--small { min-height: 40px; padding: 10px 14px; font-size: 14px; }

.btn::after {
  content: "";
  position: absolute;
  inset: -40% auto -40% -70%;
  width: 46%;
  transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.38), transparent);
  animation: buttonShine 4.8s ease-in-out infinite;
  pointer-events: none;
}

.btn--ghost::after {
  display: none;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
  position: relative;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--ink);
}

.menu-toggle span { top: 22px; }
.menu-toggle::before { top: 15px; }
.menu-toggle::after { top: 29px; }

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  transition: transform .22s ease, opacity .18s ease, top .22s ease, background .22s ease;
}

.menu-toggle.active span {
  opacity: 0;
}

.menu-toggle.active::before {
  top: 22px;
  transform: rotate(45deg);
}

.menu-toggle.active::after {
  top: 22px;
  transform: rotate(-45deg);
}

.mobile-menu-actions {
  display: none;
}

.hero-slider {
  position: relative;
  min-height: 760px;
  height: var(--hero-slider-height, 760px);
  overflow: hidden;
  background: var(--dark);
  transition: height .36s ease;
}

.hero-slider__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  min-height: 760px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .46s ease, visibility .46s ease;
}

.hero-slider__slide.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  z-index: 1;
}

.hero-slider__controls {
  position: absolute;
  left: 50%;
  bottom: 24px;
  z-index: 4;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
  padding: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.38);
  box-shadow: 0 18px 42px rgba(22,26,24,.16);
  backdrop-filter: blur(14px);
}

.hero-slider__controls button {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  font-weight: 900;
}

.hero-slider__controls button.active {
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 10px 22px rgba(49,185,57,.22);
}

.hero {
  min-height: 760px;
  display: flex;
  align-items: flex-start;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(10,16,13,.88), rgba(10,16,13,.58) 55%, rgba(10,16,13,.18)),
    url("../images/roofing-hero-20260923.png") center/cover no-repeat;
  background-repeat: no-repeat, no-repeat;
}

.hero--country {
  background-image:
    linear-gradient(90deg, rgba(10,16,13,.9), rgba(10,16,13,.64) 45%, rgba(10,16,13,.08) 82%),
    url("../images/portfolio/complex-works/complex-works-01.jpg");
  background-position: center, center 48%;
}

.hero--concrete {
  background-image:
    linear-gradient(90deg, rgba(10,16,13,.88), rgba(10,16,13,.62) 45%, rgba(10,16,13,.08) 84%),
    url("../images/services/concrete-pour-hero.webp");
  background-position: center, center 54%;
}

.hero--extension {
  background-image:
    linear-gradient(90deg, rgba(10,16,13,.9), rgba(10,16,13,.64) 45%, rgba(10,16,13,.08) 84%),
    url("../images/services/extension-terrace-hero.webp");
  background-position: center, center 52%;
}

.hero__content {
  width: min(1180px, calc(100% - 32px));
  padding: 76px 0 92px;
}

.eyebrow {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: #dff5e2;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .06em;
}

.hero h1,
.hero h2,
.page-hero h1 {
  margin: 18px 0;
  font-size: clamp(38px, 5vw, 68px);
  line-height: .98;
  letter-spacing: 0;
}

.hero p {
  margin: 0 0 28px;
  max-width: 610px;
  font-size: 20px;
  color: rgba(255,255,255,.88);
}

.hero__content,
.hero-alt__content {
  display: grid;
  grid-template-rows: 18px 270px minmax(95px, auto) auto auto;
  align-content: start;
  row-gap: 14px;
}
.hero__content > :not(.eyebrow),
.hero-alt__content > :not(.eyebrow) { max-width: 720px; }
.hero__content h1,
.hero__content h2,
.hero__content p,
.hero-alt__content h2,
.hero-alt__content p { margin: 0; }
.hero__badges { margin: 4px 0 0; }
.hero-alt__actions { margin: 0; }
.hero--country .badge strong { font-size: 21px; }

.hero__badges,
.stats,
.section__head,
.cards,
.work-grid,
.catalog-grid,
.article-grid,
.contact-grid,
.form-row {
  display: grid;
  gap: 18px;
}

.hero__badges {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 34px 0;
}

.badge {
  border-left: 3px solid var(--green);
  padding: 12px 14px;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
}

.badge strong { display: block; font-size: 26px; }
.badge span { color: rgba(255,255,255,.8); font-size: 14px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.header-variant {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  padding: 7px 11px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.header-variant--dark {
  background: rgba(49,185,57,.10);
  border-color: rgba(24,139,37,.22);
  color: var(--green-dark);
}

.hero-alt {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  padding: 76px 0 80px;
  background:
    linear-gradient(135deg, rgba(49,185,57,.12), rgba(255,255,255,0) 40%),
    linear-gradient(180deg, #fff 0%, #eef6f0 100%);
}

.hero-alt::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22,26,24,.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22,26,24,.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.hero-alt__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .78fr) minmax(480px, 1.22fr);
  align-items: start;
  gap: 48px;
}

.hero-alt__content h2 {
  margin: 18px 0;
  max-width: 620px;
  font-size: clamp(36px, 3.8vw, 52px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-alt__content p {
  margin: 0 0 28px;
  max-width: 560px;
  color: var(--muted);
  font-size: 20px;
}

.hero-alt__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-alt__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 560px;
}

.hero-alt__chips span {
  min-height: 42px;
  display: flex;
  align-items: center;
  padding: 9px 13px;
  border: 1px solid rgba(24,139,37,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.78);
  color: #334039;
  font-weight: 800;
  font-size: 14px;
}

.hero-alt__visuals {
  min-height: 520px;
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr .78fr;
  grid-template-rows: 1fr 1fr;
  gap: 14px;
}

.hero-alt__photo {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 230px;
  padding: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: var(--dark) center/cover no-repeat;
  box-shadow: var(--premium-shadow);
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease;
}

.hero-alt__photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(12,18,14,.06), rgba(12,18,14,.78));
}

.hero-alt__photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(17,25,20,.18);
}

.hero-alt__photo span {
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.20);
  backdrop-filter: blur(8px);
  font-weight: 900;
  font-size: 14px;
}

.hero-alt__photo--main {
  grid-row: 1 / span 2;
  min-height: 520px;
}

.hero-alt__tool-card {
  position: absolute;
  left: 42%;
  bottom: 24px;
  width: 176px;
  min-height: 126px;
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  box-shadow: 0 22px 48px rgba(24,139,37,.28);
}

.hero-alt__tool-card strong {
  font-size: 42px;
  line-height: 1;
}

.hero-alt__tool-card span {
  color: rgba(255,255,255,.88);
  font-size: 14px;
  font-weight: 800;
}

.hero-slider .hero__content h1,
.hero-slider .hero__content h2,
.hero-slider .hero__content p,
.hero-slider .hero-alt__content h2,
.hero-slider .hero-alt__content p { margin: 0; }
.hero-slider .hero__badges { margin: 4px 0 0; }
.hero-slider .hero-alt__actions { margin: 0; }
.hero-slider .hero__content h1,
.hero-slider .hero__content h2 { max-width: 720px; font-weight: 800; }
.hero-slider .hero__content p { max-width: 720px; }
.hero-slider .hero__actions .btn {
  box-sizing: border-box;
  width: 274px;
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.hero-slider .hero__badges .badge {
  box-sizing: border-box;
  min-width: 0;
  min-height: 94px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero-slider .hero__badges .badge strong { font-size: 22px; line-height: 1.1; }
.hero-slider .hero__badges .badge span { font-size: 14px; line-height: 1.3; }

@media (max-width: 620px) {
  .hero-slider .hero__actions { display: grid; grid-template-columns: 1fr; }
  .hero-slider .hero__actions .btn { width: 100%; min-height: 56px; }
  .hero-slider .hero__badges .badge { min-height: 98px; padding: 8px; }
  .hero-slider .hero__badges .badge strong { font-size: 17px; }
  .hero-slider .hero__badges .badge span { font-size: 11px; }
}

.hero-services {
  min-height: 650px;
  display: flex;
  align-items: center;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(12,18,14,.88), rgba(12,18,14,.66) 46%, rgba(12,18,14,.36)),
    url("../images/portfolio/complex-works/complex-works-02.jpg") center/cover no-repeat;
}

.hero-services__grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(460px, 1.18fr);
  align-items: center;
  gap: 42px;
  padding: 76px 0 92px;
}

.hero-services__content h2 {
  margin: 18px 0;
  max-width: 620px;
  font-size: clamp(36px, 4.3vw, 60px);
  line-height: 1;
  letter-spacing: 0;
}

.hero-services__content p {
  margin: 0 0 28px;
  max-width: 560px;
  color: rgba(255,255,255,.82);
  font-size: 20px;
}

.hero-services__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-services__actions .btn--ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border-color: rgba(255,255,255,.22);
}

.hero-services__tiles {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.hero-services__tiles a {
  position: relative;
  min-height: 238px;
  display: flex;
  align-items: flex-end;
  padding: 18px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark) center/cover no-repeat;
  box-shadow: 0 24px 58px rgba(0,0,0,.24);
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease;
}

.hero-services__tiles a::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(12,18,14,.04), rgba(12,18,14,.84)),
    linear-gradient(135deg, rgba(49,185,57,.20), transparent 52%);
}

.hero-services__tiles a:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(0,0,0,.30);
}

.hero-services__tiles span {
  display: inline-flex;
  max-width: 240px;
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
}

.services-strip {
  position: relative;
  overflow: hidden;
  padding: 68px 0 74px;
  background:
    linear-gradient(135deg, rgba(49,185,57,.12), rgba(255,255,255,0) 42%),
    linear-gradient(180deg, #fff 0%, #f2f8f3 100%);
}

.services-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(22,26,24,.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(22,26,24,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.services-strip .container {
  position: relative;
}

.services-strip__head {
  max-width: 760px;
  margin-bottom: 28px;
}

.services-strip__head h2 {
  margin: 14px 0 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.services-strip__head p {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 19px;
}

.services-strip__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.services-strip-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;
  overflow: hidden;
  padding: 20px;
  border-radius: var(--radius);
  background: var(--dark) center/cover no-repeat;
  color: #fff;
  box-shadow: 0 24px 58px rgba(17,25,20,.16);
  isolation: isolate;
  transition: transform .24s ease, box-shadow .24s ease;
}

.services-strip-card::before,
.services-strip-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transition: opacity .24s ease;
}

.services-strip-card::before {
  background:
    linear-gradient(180deg, rgba(12,18,14,.08), rgba(12,18,14,.86)),
    linear-gradient(135deg, rgba(49,185,57,.16), transparent 48%);
}

.services-strip-card::after {
  opacity: .78;
  background: linear-gradient(180deg, transparent 0%, rgba(199,164,90,.24) 100%);
}

.services-strip-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px rgba(17,25,20,.22);
  color: #fff;
}

.services-strip-card:hover::after {
  opacity: 1;
}

.services-strip-card span {
  width: fit-content;
  max-width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(199,164,90,.92);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.services-strip-card strong {
  max-width: 280px;
  color: #fff;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.08;
}

.services-strip-card--large strong {
  max-width: 340px;
  font-size: clamp(28px, 3.2vw, 42px);
}

.services-strip__action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.home-trust-bar {
  padding: 22px 0;
  background: #fff;
  border-top: 1px solid rgba(24,139,37,.12);
  border-bottom: 1px solid rgba(24,139,37,.12);
}

.home-trust-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.home-trust-item {
  min-height: 112px;
  padding: 18px;
  border: 1px solid rgba(24,139,37,.16);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(49,185,57,.08), rgba(255,255,255,0) 46%),
    #fff;
  box-shadow: 0 14px 34px rgba(20,58,32,.07);
}

.home-trust-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.15;
}

.home-trust-item span {
  display: block;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.section {
  padding: 78px 0;
}

.section--soft { background: var(--soft); }
.section:nth-of-type(odd):not(.hero):not(.page-hero):not(.cta):not(.section--dark):not(.service-final-cta) {
  background:
    linear-gradient(135deg, rgba(49,185,57,.06), rgba(255,255,255,0) 42%),
    #fff;
}
.section--soft {
  background:
    linear-gradient(135deg, rgba(49,185,57,.12), rgba(255,255,255,0) 46%),
    #f2f8f3;
}
.section--dark { background: var(--dark); color: #fff; }

.section__head {
  grid-template-columns: 1fr auto;
  align-items: end;
  margin-bottom: 34px;
}

.section__head h2,
.content h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
}

.section__head p,
.content p {
  color: var(--muted);
  margin: 10px 0 0;
}

.section--dark .section__head p { color: rgba(255,255,255,.72); }

.cards {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-works__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card-rail__controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 0 0 14px;
}

.card-rail__button {
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  color: var(--green-dark);
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.card-rail__button:hover:not(:disabled) { background: var(--green-dark); color: #fff; }
.card-rail__button:disabled { opacity: .35; cursor: default; }

.services-strip__grid.card-rail,
.home-works__grid.card-rail {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 2px;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
  padding: 2px 2px 12px;
}

.services-strip__grid.card-rail > *,
.home-works__grid.card-rail > * {
  flex: 0 0 calc((100% - 32px) / 3);
  scroll-snap-align: start;
}

.services-strip__grid.card-rail .services-strip-card--large { flex-basis: calc((100% - 32px) / 3); }

@media (max-width: 900px) {
  .services-strip__grid.card-rail > *,
  .home-works__grid.card-rail > *,
  .services-strip__grid.card-rail .services-strip-card--large { flex-basis: calc((100% - 16px) / 2); }
}

@media (max-width: 620px) {
  .services-strip__grid.card-rail > *,
  .home-works__grid.card-rail > *,
  .services-strip__grid.card-rail .services-strip-card--large { flex-basis: min(82%, 320px); }
}

.home-work {
  min-width: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.home-work__photo {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #dce3de;
  position: relative;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  text-decoration: none;
}

.home-work__photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

.home-work__photo:hover img { transform: scale(1.035); }

.home-work__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  padding: 5px;
  background: #fff;
}
.home-work__detail {
  aspect-ratio: 16 / 7;
  padding: 0;
  border: 0;
  background: #dce3de;
  overflow: hidden;
  cursor: zoom-in;
}
.home-work__detail img { width: 100%; height: 100%; display: block; object-fit: cover; }
.home-work--service .home-work__detail { display: block; cursor: default; }

.home-work__count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 9px;
  border-radius: 3px;
  color: #fff;
  background: rgba(20, 28, 23, .82);
  font-size: 12px;
  font-weight: 700;
}

.home-work__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.home-work__index { color: var(--green-dark); font-size: 12px; font-weight: 800; }
.home-work h3 { margin: 10px 0; font-size: 19px; line-height: 1.25; }
.home-work p { margin: 0 0 20px; color: var(--muted); line-height: 1.5; }
.home-work__link {
  margin-top: auto;
  padding: 13px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--green-dark);
  text-align: left;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
}
.home-work__link span { margin-left: 5px; }
.work-examples { margin-top: 42px; }
.work-examples__head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.work-examples__head h3 { margin: 0; font-size: 23px; line-height: 1.2; }
.work-examples__head p { max-width: 530px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.work-examples__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.work-example { position: relative; display: block; min-width: 0; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; border: 0; border-radius: 5px; background: #dce3de; cursor: zoom-in; text-align: left; scroll-margin-top: 110px; }
.work-example img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.work-example:hover img { transform: scale(1.035); }
.work-example::after { content: ""; position: absolute; inset: 48% 0 0; background: linear-gradient(transparent, rgba(14, 24, 18, .8)); pointer-events: none; }
.work-example__number { position: absolute; z-index: 1; top: 10px; left: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; color: var(--green-dark); font-size: 12px; font-weight: 800; }
.work-example strong { position: absolute; z-index: 1; right: 14px; bottom: 13px; left: 14px; color: #fff; font-size: 15px; line-height: 1.25; }
.work-example:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 3px; }
.work-geography { background: #f3f8f4; scroll-margin-top: 92px; }
.work-geography .section__head { margin-bottom: 28px; }
.work-geography .section__head p { max-width: 760px; }
.work-geography__map { width: 100%; height: 480px; border: 1px solid var(--line); border-radius: 5px; background: #dce8dc; z-index: 0; }
.work-geography__map .leaflet-control-attribution { font-size: 10px; }
.work-geography__pin { display: grid; place-items: center; border-radius: 50%; background: rgba(25, 141, 42, .18); }
.work-geography__pin span { display: block; width: 15px; height: 15px; border: 3px solid #fff; border-radius: 50%; background: var(--green-dark); box-shadow: 0 2px 10px rgba(0,0,0,.35); }
.work-geography__pin.is-active span { width: 20px; height: 20px; background: #e9a33b; }
.work-geography__cities { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px 0; }
.work-geography__cities button { flex: 0 0 auto; min-height: 40px; padding: 0 13px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.work-geography__cities button[aria-pressed="true"], .work-geography__cities button:hover { border-color: var(--green-dark); background: var(--green-dark); color: #fff; }
.work-geography__cities button:focus-visible { outline: 2px solid var(--green-dark); outline-offset: 2px; }
.work-geography__selection { min-height: 260px; }
.work-geography__selection-head { display: flex; align-items: baseline; gap: 12px; margin: 4px 0 14px; }
.work-geography__selection-head strong { font-size: 20px; }
.work-geography__selection-head span { color: var(--muted); font-size: 14px; }
.work-geography__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.work-geography__card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; background: #fff; }
.work-geography__card > a { display: block; }
.work-geography__card img { display: block; width: 100%; height: 220px; object-fit: cover; }
.work-geography__card > div { padding: 16px 18px 20px; }
.work-geography__card .eyebrow { color: var(--green-dark); font-size: 11px; }
.work-geography__card h3 { margin: 7px 0 15px; font-size: 19px; line-height: 1.25; }
.work-geography__service-link { color: var(--green-dark); font-size: 14px; font-weight: 700; }
.work-geography__service-link:hover { text-decoration: underline; }
@media (max-width: 900px) { .work-geography__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) {
  .work-geography__map { height: 365px; }
  .work-geography__cities { flex-wrap: nowrap; gap: 6px; overflow-x: auto; scrollbar-width: thin; }
  .work-geography__selection-head { display: block; }
  .work-geography__selection-head span { display: block; margin-top: 3px; }
  .work-geography__cards { grid-template-columns: 1fr; }
  .work-geography__card img { height: 190px; }
}
.home-works__after {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 24px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}
.home-works__after p { max-width: 650px; margin: 0; }

@media (max-width: 1000px) {
  .home-works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-examples__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  .home-works__grid { grid-template-columns: 1fr; }
  .work-examples__head { display: block; }
  .work-examples__head p { margin-top: 8px; }
  .work-examples__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .work-example strong { right: 8px; bottom: 8px; left: 8px; font-size: 12px; }
  .home-works__after { align-items: stretch; flex-direction: column; }
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 16px 38px rgba(26, 48, 34, .07);
  position: relative;
}

.card__image {
  aspect-ratio: 16 / 10;
  background: #dde6df center/cover no-repeat;
}

button.card__image {
  width: 100%;
  border: 0;
  display: block;
  cursor: zoom-in;
  position: relative;
  transition: transform .45s ease, filter .45s ease;
}

.card {
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(49,185,57,.28);
  box-shadow: 0 22px 52px rgba(20,58,32,.13);
}

.card:hover .card__image,
.portfolio-image:hover {
  transform: scale(1.035);
  filter: saturate(1.06) contrast(1.03);
}

.card__body { padding: 22px; }
.card h3 { margin: 0 0 10px; font-size: 22px; line-height: 1.2; }
.card p { margin: 0 0 18px; color: var(--muted); }

.services-all .card,
.services-page section:has([data-services]) .card {
  isolation: isolate;
  border-color: rgba(24,139,37,.18);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,252,248,.92)),
    #fff;
}

.services-all .card::after,
.services-page section:has([data-services]) .card::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: calc(var(--radius) - 1px);
  background:
    radial-gradient(circle at var(--glow-x, 18%) 0%, rgba(49,185,57,.20), transparent 34%),
    radial-gradient(circle at 88% 8%, rgba(199,164,90,.18), transparent 26%);
  opacity: .78;
  transition: opacity .28s ease, transform .28s ease;
}

.services-all .card:hover::after,
.services-page section:has([data-services]) .card:hover::after {
  opacity: 1;
  transform: scale(1.02);
}

.services-all .card__image,
.services-page section:has([data-services]) .card__image {
  position: relative;
  overflow: hidden;
}

.services-all .card__image::after,
.services-page section:has([data-services]) .card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 18%, rgba(255,255,255,.24) 42%, transparent 62%),
    linear-gradient(180deg, transparent 48%, rgba(22,26,24,.34));
  transform: translateX(-120%);
  transition: transform .7s ease;
}

.services-all .card:hover .card__image::after,
.services-page section:has([data-services]) .card:hover .card__image::after {
  transform: translateX(120%);
}

.card__meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}

.home-services {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 14% 4%, rgba(49,185,57,.16), transparent 30%),
    radial-gradient(circle at 88% 18%, rgba(199,164,90,.18), transparent 28%),
    linear-gradient(160deg, #f8fff9 0%, #ffffff 44%, #fff8ea 100%);
}

.home-services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24,139,37,.055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24,139,37,.05) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(circle at 56% 38%, #000, transparent 74%);
  -webkit-mask-image: radial-gradient(circle at 56% 38%, #000, transparent 74%);
}

.home-services .container {
  position: relative;
}

.trusted-services {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.trusted-services__feature {
  min-height: 540px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  border-radius: var(--radius);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(22,26,24,.18), rgba(22,26,24,.92)),
    url("../images/portfolio/complex-works/complex-works-03.jpg") center/cover no-repeat;
  box-shadow: 0 28px 76px rgba(17,25,20,.24);
  overflow: hidden;
  position: relative;
  isolation: isolate;
}

.trusted-services__feature::before {
  content: "";
  position: absolute;
  inset: 16px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  box-shadow: inset 0 0 0 1px rgba(49,185,57,.18);
}

.trusted-services__feature .eyebrow {
  color: rgba(255,255,255,.82);
}

.trusted-services__feature h3 {
  max-width: 360px;
  margin: 12px 0 0;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.04;
}

.trusted-services__feature p {
  max-width: 360px;
  margin: 14px 0 0;
  color: rgba(255,255,255,.76);
}

.trusted-services__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 24px;
}

.trusted-services__stats div {
  min-height: 82px;
  padding: 12px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.14);
  backdrop-filter: blur(8px);
}

.trusted-services__stats strong {
  display: block;
  color: #fff;
  font-size: 21px;
  line-height: 1;
}

.trusted-services__stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.68);
  font-size: 12px;
  line-height: 1.25;
}

.trusted-services__actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.trusted-services__actions .btn--ghost {
  background: rgba(255,255,255,.10);
  color: #fff;
  border-color: rgba(255,255,255,.20);
}

.trusted-services__list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.trusted-services__list a {
  min-height: 172px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid rgba(24,139,37,.16);
  background:
    radial-gradient(circle at 16% 4%, rgba(49,185,57,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,252,248,.92));
  box-shadow: 0 16px 38px rgba(18,58,28,.09);
  position: relative;
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}

.trusted-services__list a::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.trusted-services__list a::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(49,185,57,.10);
  box-shadow: 0 0 0 20px rgba(199,164,90,.08);
  transition: transform .28s ease, opacity .28s ease;
}

.trusted-services__list a:hover {
  transform: translateY(-5px);
  border-color: rgba(49,185,57,.34);
  box-shadow: 0 26px 62px rgba(18,58,28,.16);
  background:
    radial-gradient(circle at 16% 4%, rgba(49,185,57,.18), transparent 36%),
    linear-gradient(180deg, #fff, #f3fbf4);
}

.trusted-services__list a:hover::after {
  transform: scale(1.18);
  opacity: .9;
}

.trusted-services__list span {
  color: var(--green-dark);
  font-weight: 900;
  font-size: 13px;
}

.trusted-services__list strong {
  display: block;
  max-width: 210px;
  font-size: 21px;
  line-height: 1.1;
}

.trusted-services__list em {
  display: block;
  max-width: 220px;
  color: var(--muted);
  font-size: 14px;
  font-style: normal;
  line-height: 1.35;
}

.trusted-services__groups {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.trusted-services-group {
  min-height: 172px;
  display: grid;
  align-content: space-between;
  gap: 12px;
  padding: 22px;
  border-radius: var(--radius);
  border: 1px solid rgba(24,139,37,.16);
  background:
    radial-gradient(circle at 16% 4%, rgba(49,185,57,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,252,248,.92));
  box-shadow: 0 16px 38px rgba(18,58,28,.09);
  position: relative;
  overflow: hidden;
}

.trusted-services-group::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--green), var(--gold));
}

.trusted-services-group span {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.trusted-services-group h3 {
  margin: 0;
  font-size: 25px;
  line-height: 1.08;
}

.trusted-services-group p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
}

.portfolio-badge {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 7px 10px;
  border-radius: var(--radius);
  background: rgba(22,26,24,.82);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.portfolio-thumbs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: -4px 0 16px;
}

.portfolio-thumb {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius);
  background: #dde6df center/cover no-repeat;
  border: 1px solid rgba(24,139,37,.14);
}

.portfolio-thumb.active {
  box-shadow: inset 0 0 0 2px var(--green);
}

.portfolio-open {
  width: 100%;
  margin-top: 16px;
}

.portfolio-trust-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
  padding: 30px;
  border-radius: var(--radius);
  color: #fff;
  background:
    radial-gradient(circle at 18% 10%, rgba(255,255,255,.22), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(199,164,90,.34), transparent 32%),
    linear-gradient(135deg, var(--green), var(--green-dark) 72%, #0e5c1a);
  box-shadow: 0 28px 70px rgba(24,139,37,.28);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.portfolio-trust-card::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: -1;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius);
}

.portfolio-trust-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 156px;
  height: 156px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  box-shadow: 0 0 0 26px rgba(199,164,90,.12);
}

.portfolio-trust-card__eyebrow {
  width: fit-content;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.92);
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
}

.portfolio-trust-card strong {
  display: block;
  font-size: clamp(54px, 6vw, 76px);
  line-height: .86;
  letter-spacing: 0;
}

.portfolio-trust-card h3 {
  max-width: 300px;
  margin: 0;
  color: #fff;
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.04;
}

.portfolio-trust-card p {
  max-width: 330px;
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 16px;
}

.portfolio-trust-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-trust-card__chips span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.20);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.service-pill {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 15px;
  background: #fff;
  font-weight: 700;
}

.service-pill:hover {
  border-color: var(--green);
  color: var(--green-dark);
}

.quiz {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
}

.quiz__panel {
  padding: 34px;
}

.quiz__aside {
  background:
    linear-gradient(rgba(22,26,24,.8), rgba(22,26,24,.8)),
    url("https://krovly-master.ru/wp-content/uploads/2026/04/otzyvy-klientov3.jpg") center/cover no-repeat;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  padding: 34px;
}

.progress {
  height: 8px;
  background: #e8eee9;
  border-radius: 99px;
  overflow: hidden;
  margin-bottom: 18px;
}

.progress span {
  display: block;
  height: 100%;
  width: 25%;
  background: var(--green);
}

.quiz-step { display: none; }
.quiz-step.active { display: block; }
.quiz-step h3 { margin: 0 0 18px; font-size: 26px; }

.answers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.answer {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 48px 16px 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 58px;
  background: #fff;
  position: relative;
  cursor: pointer;
}

.answer input { accent-color: var(--green); }
.answer:has(input:checked) { border-color: var(--green); background: #f0faf1; }
.answer:has(input:checked)::after,
.quiz-choice:has(input:checked)::after {
  content: "\2713";
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .16);
}

.quiz__controls {
  display: flex;
  gap: 12px;
  margin-top: 22px;
}
.quiz--auto .quiz-step:not(:last-child) [data-next] { display: none; }
.quiz--auto .quiz-step:first-child .quiz__controls { display: none; }

.contextual-quiz .quiz { grid-template-columns: minmax(0, 1.45fr) minmax(250px, .55fr); }
.quiz__status { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.quiz-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.contextual-quiz .quiz-choices--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.quiz-choice { display: block; position: relative; min-width: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; cursor: pointer; background: #fff; }
.quiz-choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.quiz-choice__image { display: block; aspect-ratio: 1.8; background-size: cover; background-position: center; }
.contextual-quiz .quiz-choice__image { aspect-ratio: 3 / 2; }
.quiz-choice__label { display: block; min-height: 56px; padding: 10px 42px 10px 12px; font-weight: 700; line-height: 1.25; }
.quiz-choice--text { display: flex; align-items: center; min-height: 88px; border-color: #cbd8cf; background: #f8fbf8; }
.quiz-choice--text .quiz-choice__label { display: flex; align-items: center; min-height: 86px; width: 100%; padding: 14px 16px; }
.quiz-choice--text:hover { border-color: var(--green-dark); background: #eef8ef; }
.quiz-choice:has(input:checked) { border-color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }
.quiz-choice:has(input:focus-visible) { outline: 3px solid var(--green); outline-offset: 2px; }
.contextual-quiz .quiz__aside { display: flex; flex-direction: column; justify-content: center; }
.contextual-quiz .quiz__aside h3 { font-size: 27px; margin: 16px 0 10px; }
@media (max-width: 850px) { .contextual-quiz .quiz { grid-template-columns: 1fr; } .contextual-quiz .quiz__aside { min-height: 180px; } }
@media (max-width: 700px) { .contextual-quiz .quiz-choices--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 550px) { .quiz-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); } .quiz-choice__label { font-size: 14px; } .quiz__controls .btn { min-width: 0; } }
@media (max-width: 550px) { .contextual-quiz .quiz-choices:not(.quiz-choices--four) { grid-template-columns: 1fr; } }

.home-quiz .quiz { grid-template-columns: minmax(0, 1.55fr) minmax(260px, .45fr); }
.home-quiz .quiz-choice { border-radius: 6px; transition: border-color .2s ease, box-shadow .2s ease; }
.home-quiz .quiz-choice:hover { border-color: var(--green-dark); }
.home-quiz .quiz-choice__image { aspect-ratio: 1.7; }
.home-quiz .quiz-choice__label { min-height: 65px; display: flex; align-items: center; }
.home-quiz .quiz__aside {
  background:
    linear-gradient(rgba(22,26,24,.76), rgba(22,26,24,.84)),
    url("../images/portfolio/house-extension/house-extension-02.jpg") center/cover no-repeat;
}

@media (max-width: 850px) {
  .home-quiz .quiz { grid-template-columns: 1fr; }
  .home-quiz .quiz__aside { min-height: 160px; }
}

@media (max-width: 550px) {
  .home-quiz .quiz__panel { padding: 20px; }
  .home-quiz .quiz-choices { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-quiz .quiz-choice__label { min-height: 68px; padding: 9px; font-size: 13px; }
  .home-quiz .quiz__aside { display: none; }
}

.form,
.modal__box {
  background: #fff;
}

.form-grid {
  display: grid;
  gap: 12px;
}

.input,
.select,
.textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 52px;
  padding: 0 15px;
  background: #fff;
  color: var(--ink);
}

.textarea {
  min-height: 118px;
  padding-top: 14px;
  resize: vertical;
}

.agreement {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--muted);
  font-size: 13px;
}

.agreement input { margin-top: 4px; accent-color: var(--green); }
.agreement button { border: 0; background: none; color: var(--green-dark); padding: 0; }

.stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.stat {
  padding: 24px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
}

.stat strong { font-size: 38px; display: block; color: var(--green); }
.stat span { color: rgba(255,255,255,.72); }

.work-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  counter-reset: work;
}

.work-step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  position: relative;
}

.work-step::before {
  counter-increment: work;
  content: counter(work, decimal-leading-zero);
  display: block;
  color: var(--green);
  font-weight: 900;
  font-size: 28px;
  margin-bottom: 16px;
}

.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.review {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(28, 80, 42, .06);
}

.review:nth-child(3n+2) {
  background: linear-gradient(180deg, #fff, #f4fbf5);
  border-color: rgba(49,185,57,.24);
}

.review:nth-child(3n) {
  background: #fbfdfb;
}

.stars { color: var(--green); letter-spacing: 2px; font-weight: 900; }
.review p { color: var(--muted); }

.section--reviews-showcase {
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(49,185,57,.10), rgba(199,164,90,.10) 48%, rgba(255,255,255,0)),
    #fbfdfb;
}

.section--reviews-showcase .section__head {
  align-items: flex-end;
  margin-bottom: 30px;
}

.section--reviews-showcase .section__head p {
  max-width: 620px;
  margin: 10px 0 0;
  color: var(--muted);
}

.review-marquee {
  height: 560px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  overflow: hidden;
  padding: 10px 0;
  mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%, #000 86%, transparent 100%);
}

.review-marquee--tall {
  height: 680px;
}

.review-column {
  overflow: hidden;
}

.review-column__track {
  display: grid;
  gap: 18px;
  animation: reviewFloat 34s linear infinite;
  will-change: transform;
}

.review-column--reverse .review-column__track {
  animation-name: reviewFloatReverse;
  animation-duration: 38s;
}

.review-column--slow .review-column__track {
  animation-duration: 44s;
}

.review-marquee:hover .review-column__track {
  animation-play-state: paused;
}

.review-card {
  min-height: 232px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(24,139,37,.14);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(244,251,245,.82)),
    #fff;
  box-shadow: 0 18px 46px rgba(17,25,20,.12);
}

.review-card--accent {
  border-color: rgba(49,185,57,.28);
  background:
    linear-gradient(150deg, rgba(49,185,57,.12), rgba(255,255,255,.92) 48%, rgba(199,164,90,.10)),
    #fff;
}

.review-card--gold {
  border-color: rgba(199,164,90,.34);
  background:
    linear-gradient(145deg, rgba(199,164,90,.14), rgba(255,255,255,.94) 52%, rgba(49,185,57,.08)),
    #fff;
}

.review-card--dark {
  color: #fff;
  border-color: rgba(255,255,255,.16);
  background:
    linear-gradient(150deg, rgba(49,185,57,.20), rgba(199,164,90,.14)),
    var(--dark);
}

.review-card--dark p,
.review-card--dark .review-card__person span {
  color: rgba(255,255,255,.72);
}

.review-card--dark .review-card__icon {
  background: rgba(255,255,255,.10);
  color: #fff;
}

.review-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.review-card__top img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 10px 24px rgba(22,26,24,.18);
}

.review-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(49,185,57,.12);
  color: var(--green-dark);
  font-size: 38px;
  font-family: Georgia, serif;
  line-height: 1;
}

.review-card p {
  margin: 0;
  color: #46504a;
}

.review-card__person {
  margin-top: auto;
  display: grid;
  gap: 2px;
}

.review-card__person strong {
  font-size: 17px;
}

.review-card__person span {
  color: var(--muted);
  font-size: 13px;
}

@keyframes reviewFloat {
  from { transform: translateY(0); }
  to { transform: translateY(-50%); }
}

@keyframes reviewFloatReverse {
  from { transform: translateY(-50%); }
  to { transform: translateY(0); }
}

.page-hero {
  background:
    linear-gradient(90deg, rgba(22,26,24,.92), rgba(22,26,24,.62)),
    url("https://krovly-master.ru/wp-content/uploads/2026/04/a2f4d6d9-c718-486a-a141-2a2c644f3d0a.jpg") center/cover no-repeat;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
  padding: 92px 0;
}

.breadcrumbs {
  color: rgba(255,255,255,.7);
  font-size: 14px;
}

.filterbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.filterbar button {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius);
  padding: 10px 14px;
  font-weight: 700;
}

.filterbar button.active {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.catalog-grid,
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.work-grid--portfolio { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 430px);
  gap: 34px;
  align-items: start;
}

.service-card-tag {
  width: fit-content;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--green-dark), var(--green));
  box-shadow: 0 10px 24px rgba(49,185,57,.18);
}

.service-group {
  grid-column: 1 / -1;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid rgba(24,139,37,.14);
  border-radius: var(--radius);
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 30px rgba(26,48,34,.07);
}

.service-group h2 {
  margin: 0;
  font-size: 22px;
}

.service-group__links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.services-page .page-hero {
  padding: 74px 0;
}

.services-hero {
  background:
    linear-gradient(90deg, rgba(22,26,24,.94), rgba(22,26,24,.68)),
    url("../images/portfolio/roofing-turnkey/roofing-turnkey-01.jpg") center/cover no-repeat;
}

.services-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 460px);
  gap: 44px;
  align-items: center;
}

.services-hero__grid h1 {
  max-width: 780px;
}

.services-hero__grid p {
  max-width: 760px;
}

.services-hero__media {
  position: relative;
  min-height: 390px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0,0,0,.32);
  border: 1px solid rgba(255,255,255,.18);
}

.services-hero__media img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
}

.services-hero__note {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 18px 42px rgba(0,0,0,.18);
}

.services-hero__note strong {
  color: var(--green-dark);
  font-size: 28px;
  line-height: 1;
}

.services-hero__note span {
  color: var(--muted);
  font-size: 14px;
}

.services-directions {
  background:
    linear-gradient(180deg, #fff 0%, #f7fbf8 100%);
}

.direction-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  grid-auto-rows: 230px;
  gap: 16px;
}

.direction-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 230px;
  padding: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: var(--dark) center/cover no-repeat;
  box-shadow: var(--premium-shadow);
  isolation: isolate;
}

.direction-card--large {
  grid-row: span 2;
}

.direction-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(22,26,24,.10), rgba(22,26,24,.80)),
    linear-gradient(135deg, rgba(49,185,57,.25), transparent 55%);
}

.direction-card span {
  width: fit-content;
  margin-bottom: 9px;
  padding: 6px 9px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  font-size: 13px;
  font-weight: 900;
}

.direction-card strong {
  max-width: 360px;
  font-size: clamp(22px, 2.3vw, 34px);
  line-height: 1.05;
}

.direction-card:not(.direction-card--large) strong {
  font-size: 24px;
}

.direction-card:hover {
  transform: translateY(-4px);
}

.service-scenario-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.service-scenario {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(24,139,37,.14);
  box-shadow: 0 16px 36px rgba(18,58,28,.08);
}

.service-scenario span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 900;
}

.service-scenario strong {
  font-size: 22px;
  line-height: 1.15;
}

.service-scenario p {
  margin: 0;
  color: var(--muted);
}

.services-groups-section {
  background:
    radial-gradient(circle at 4% 0%, rgba(49,185,57,.16), transparent 30%),
    linear-gradient(150deg, #f4fbf5, #fff 42%, #fff7e8 100%);
}

.services-page .service-list {
  grid-template-columns: 1fr;
  gap: 18px;
}

.services-page .service-group {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  align-items: stretch;
  padding: 0;
  overflow: hidden;
  background: rgba(255,255,255,.86);
}

.service-group__visual {
  min-height: 220px;
  background: var(--dark) center/cover no-repeat;
}

.service-group__content {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 24px;
}

.service-group__content .eyebrow {
  color: var(--green-dark);
}

.services-feature {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(255,255,255,.20), transparent 24%),
    radial-gradient(circle at 88% 0%, rgba(199,164,90,.30), transparent 30%),
    linear-gradient(135deg, var(--green), var(--green-dark) 68%, #0e5c1a);
  color: #fff;
}

.services-feature::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255,255,255,.08) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}

.services-feature .container {
  position: relative;
}

.services-feature__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 390px);
  gap: 28px;
  align-items: center;
}

.services-feature h2 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.18);
}

.services-feature p {
  max-width: 660px;
  color: rgba(255,255,255,.90);
  font-size: 19px;
}

.services-feature__form {
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.97);
  border: 1px solid rgba(255,255,255,.30);
  box-shadow: 0 24px 64px rgba(14,92,26,.30);
}

.services-all .cards {
  gap: 18px;
}

.services-all .card__image {
  aspect-ratio: 16 / 9;
}

.direct-offer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
  gap: 26px;
  align-items: center;
  margin-bottom: 34px;
  padding: 28px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(49,185,57,.12), rgba(199,164,90,.12)), #fff;
  border: 1px solid rgba(24,139,37,.16);
  box-shadow: var(--premium-shadow);
}

.direct-offer h2 {
  margin-top: 8px;
}

.direct-offer__form {
  padding: 18px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid var(--line);
}

.service-includes {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.service-includes li {
  position: relative;
  padding-left: 26px;
  color: #48524b;
}

.service-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(49,185,57,.13);
}

.service-portfolio-card {
  background: linear-gradient(180deg, #fff, #f6fbf7);
  border: 1px solid rgba(24,139,37,.16);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--premium-shadow);
}

.service-portfolio-card .card__image {
  width: 100%;
  border: 0;
  cursor: zoom-in;
}

.service-seo {
  margin-top: 40px;
  padding: 34px;
  border: 1px solid rgba(24,139,37,.14);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(49,185,57,.08), rgba(199,164,90,.08) 52%, rgba(255,255,255,0)),
    #fff;
  box-shadow: 0 18px 44px rgba(26, 48, 34, .08);
}

.service-seo p {
  color: #46504a;
  font-size: 17px;
}

.service-seo__action {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

[data-portfolio] .card,
.reviews .review {
  box-shadow: var(--premium-shadow);
}

section:has([data-portfolio]) {
  background: linear-gradient(135deg, rgba(199,164,90,.10), rgba(49,185,57,.08) 45%, rgba(255,255,255,0)), #f8fbf8;
}

section:has(.reviews) {
  background: linear-gradient(135deg, rgba(49,185,57,.10), rgba(199,164,90,.08) 48%, rgba(255,255,255,0)), #fbfdfb;
}

section:has(.service-list) {
  background:
    linear-gradient(135deg, rgba(49,185,57,.14), rgba(199,164,90,.10) 54%, rgba(255,255,255,0)),
    #f3faf4;
}

section:has([data-services]) {
  background:
    radial-gradient(circle at 12% 0%, rgba(49,185,57,.18), transparent 28%),
    radial-gradient(circle at 86% 16%, rgba(199,164,90,.20), transparent 28%),
    linear-gradient(160deg, #f8fff9 0%, #ffffff 42%, #fff7e8 100%);
  border-top: 1px solid rgba(24,139,37,.10);
  border-bottom: 1px solid rgba(24,139,37,.10);
}

.services-all {
  position: relative;
  overflow: hidden;
}

.services-all::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(24,139,37,.07) 1px, transparent 1px),
    linear-gradient(180deg, rgba(24,139,37,.06) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 22%, #000, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 22%, #000, transparent 72%);
}

.services-all .container {
  position: relative;
}

.services-all .section__head {
  padding: 26px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(22,26,24,.92), rgba(22,26,24,.76)),
    url("../images/portfolio/complex-works/complex-works-03.jpg") center/cover no-repeat;
  color: #fff;
  box-shadow: 0 24px 70px rgba(17,25,20,.22);
}

.services-all .section__head p {
  color: rgba(255,255,255,.74);
}

.price-table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
}

.price-row {
  display: grid;
  grid-template-columns: 1fr 180px;
  gap: 12px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.price-row:last-child { border-bottom: 0; }
.price-row strong:last-child { color: var(--green-dark); text-align: right; }

.contact-grid {
  grid-template-columns: .9fr 1.1fr;
  align-items: start;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  background: #fff;
}

.contact-guide {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f4f8f4;
}

.contact-guide__visual {
  min-height: 285px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 13px;
  padding: 28px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(10, 20, 14, .10), rgba(10, 20, 14, .86)),
    url("../images/portfolio/house-extension/house-extension-02.jpg") center 48% / cover no-repeat;
}

.contact-guide__eyebrow {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  color: #bdecc3;
}

.contact-guide__visual h2 {
  max-width: 480px;
  margin: 0;
  font-size: clamp(25px, 2.5vw, 34px);
  line-height: 1.15;
}

.contact-guide__caption { font-size: 11px; color: rgba(255, 255, 255, .78); }
.contact-guide__body { padding: 24px 28px 26px; }
.contact-guide__body > p { max-width: 510px; margin: 0 0 18px; color: var(--muted); line-height: 1.5; }
.contact-guide__steps { margin: 0; padding: 0; list-style: none; }
.contact-guide__steps li { display: flex; gap: 16px; padding: 13px 0; border-top: 1px solid var(--line); }
.contact-guide__steps li > span { flex: 0 0 28px; color: var(--green-dark); font-size: 13px; font-weight: 900; }
.contact-guide__steps li > div { display: grid; gap: 3px; }
.contact-guide__steps strong { font-size: 16px; }
.contact-guide__steps small { color: var(--muted); font-size: 13px; line-height: 1.4; }
.contact-guide__link { display: inline-flex; gap: 8px; margin-top: 16px; color: var(--green-dark); font-weight: 800; text-decoration: none; }
.contact-guide__link:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .contact-guide__visual { min-height: 230px; padding: 22px; }
  .contact-guide__body { padding: 20px 22px 24px; }
}

.cta {
  background:
    linear-gradient(90deg, rgba(22,26,24,.96), rgba(22,26,24,.78)),
    url("https://krovly-master.ru/wp-content/uploads/2026/04/3dd9da22-9f99-459c-8bbe-933a7de5cb1d.jpg") center/cover no-repeat;
  background-repeat: no-repeat, no-repeat;
  color: #fff;
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 36px;
  align-items: center;
}

.cta h2 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 48px); line-height: 1.08; }
.cta p { color: rgba(255,255,255,.74); }
.cta .form {
  padding: 28px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.24);
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(241,249,243,.96));
  box-shadow: 0 22px 46px rgba(0,0,0,.24);
}

.cta .form::before {
  content: "Бесплатная консультация";
  display: block;
  color: var(--green-dark);
  font-weight: 900;
  margin-bottom: 4px;
}

.footer {
  background: #101411;
  color: rgba(255,255,255,.72);
  padding: 46px 0 24px;
}

.footer strong { color: #fff; }
.footer__links {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 32px 0;
}

.footer__links a:hover { color: #fff; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 20px;
  font-size: 13px;
}

.footer__bottom--row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__bottom button {
  border: 0;
  background: none;
  color: rgba(255,255,255,.78);
  padding: 0 0 0 16px;
  cursor: pointer;
}

.messengers,
.quick-contact,
.quick-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 24;
  display: grid;
  gap: 8px;
}

.quick-contact {
  align-items: center;
  left: 18px;
  right: auto;
}

.quick-top {
  right: 18px;
}

.messengers a,
.to-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.quick-feedback {
  border: 0;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green), var(--green-dark));
  color: #fff;
  font-weight: 900;
  padding: 12px 16px;
  box-shadow: var(--shadow);
}

.to-top {
  border: 0;
  background: var(--dark);
}

.to-top--light {
  background: #fff;
  color: var(--dark);
}

.messenger-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
}

.messenger-grid a {
  border: 1px solid rgba(49,185,57,.24);
  border-radius: var(--radius);
  padding: 14px 12px;
  background: #f4fbf5;
  font-weight: 900;
  text-align: center;
}

.contact-panel__box {
  width: min(430px, 100%);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.modal.active { display: flex; }
.modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.62);
}

.modal__box {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 30px;
}

.modal__box h2 { margin: 0 0 8px; font-size: 30px; }
.modal__box p { color: var(--muted); }
.modal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 0;
  background: var(--dark);
  color: #fff;
}

.privacy-text {
  font-size: 14px;
  color: var(--muted);
}

.sitemap-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sitemap-list a {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font-weight: 700;
}

.gallery-modal .modal__overlay { background: rgba(0,0,0,.82); }
.gallery-modal.active .modal__overlay {
  backdrop-filter: blur(7px);
}

.gallery-box {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100vw - 36px));
  display: grid;
  place-items: center;
}

.gallery-img {
  max-height: calc(100vh - 140px);
  width: 100%;
  object-fit: contain;
  border-radius: var(--radius);
  background: #111;
  opacity: 0;
  transform: scale(.965);
  animation: galleryZoom .28s ease forwards;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.9);
  color: var(--dark);
  font-size: 34px;
  line-height: 1;
}

.gallery-prev { left: 12px; }
.gallery-next { right: 12px; }
.gallery-caption {
  color: #fff;
  margin-top: 10px;
  font-weight: 800;
}

.article-layout {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 34px;
  align-items: start;
}

.article-main-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.notice {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  background: var(--dark);
  color: #fff;
  border-radius: var(--radius);
  padding: 14px 18px;
  z-index: 80;
  box-shadow: var(--shadow);
  display: none;
}

.notice.active { display: block; }

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .58s ease, transform .58s ease, box-shadow .28s ease, border-color .28s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.is-visible.card:hover {
  transform: translateY(-4px);
}

@keyframes buttonShine {
  0%, 46% { left: -70%; }
  62%, 100% { left: 128%; }
}

@keyframes galleryZoom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }

  .review-column__track {
    animation: none !important;
    transform: none !important;
  }
}

@media (max-width: 1040px), (max-width: 1180px) and (max-height: 560px) {
  body.menu-open {
    overflow: hidden;
  }

  body.menu-open::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 29;
    background: rgba(11, 18, 14, .22);
    backdrop-filter: blur(5px);
  }

  .nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 92px;
    display: none;
    padding: 18px;
    z-index: 32;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(244,250,245,.98));
    border: 1px solid rgba(24,139,37,.16);
    border-radius: var(--radius);
    box-shadow: 0 24px 60px rgba(10, 24, 14, .22);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .nav.active { display: flex; }
  .nav a {
    width: 100%;
    padding: 11px 12px;
    border-radius: var(--radius);
  }
  .nav a:hover {
    background: rgba(49,185,57,.09);
  }
  .mobile-menu-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    width: 100%;
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(24,139,37,.14);
  }
  .mobile-menu-actions a {
    min-height: 42px;
    padding: 8px 4px;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #46525f, #202a34);
    color: #fff;
    font-size: 11px;
    font-weight: 900;
    text-align: center;
    box-shadow: 0 10px 22px rgba(49,185,57,.16);
  }
  .mobile-menu-actions a:nth-child(2) {
    background: linear-gradient(135deg, #20c45a, #12863c);
  }
  .mobile-menu-actions a:nth-child(3) {
    background: linear-gradient(135deg, #2aabee, #168acd);
  }
  .mobile-menu-actions a:nth-child(4) {
    background: linear-gradient(135deg, #1d7cff, #6b4dff);
  }
  .mobile-menu-actions a:hover {
    color: #fff;
  }
  .menu-toggle { display: block; }
  .header__actions .btn { display: none; }
  .hero-alt__grid {
    grid-template-columns: 1fr;
  }
  .hero-alt__visuals {
    min-height: 430px;
    grid-template-columns: 1fr 1fr;
  }
  .hero-alt__photo--main {
    min-height: 430px;
  }
  .hero-alt__photo {
    min-height: 208px;
  }
  .hero-services__grid {
    grid-template-columns: 1fr;
  }
  .hero-services__tiles a {
    min-height: 190px;
  }
  .services-strip__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-strip-card {
    min-height: 280px;
  }
  .services-strip-card--large {
    min-height: 360px;
  }
  .home-trust-bar__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards, .catalog-grid, .article-grid, .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trusted-services {
    grid-template-columns: 1fr;
  }
  .trusted-services__feature {
    min-height: 430px;
  }
  .trusted-services__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-hero__grid,
  .services-feature__inner {
    grid-template-columns: 1fr;
  }
  .services-hero__media {
    min-height: 320px;
  }
  .services-hero__media img {
    min-height: 320px;
  }
  .direction-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .direction-card--large {
    grid-row: span 1;
  }
  .service-scenario-grid {
    grid-template-columns: 1fr;
  }
  .services-page .service-group {
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  }
  .review-marquee {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: 600px;
  }
  .review-column--slow {
    display: none;
  }
  .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .quiz, .cta__inner, .contact-grid, .service-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .container,
  .header .container {
    width: calc(100% - 24px);
  }

  .topbar__inner { align-items: flex-start; flex-direction: column; padding: 10px 0; gap: 6px; }
  .header__inner { min-height: 72px; gap: 10px; }
  .header__actions { gap: 8px; }
  .logo { min-width: 0; grid-template-columns: 44px minmax(0, 1fr); gap: 9px; }
  .logo__mark {
    width: 44px;
    height: 44px;
    display: grid;
    flex: 0 0 auto;
    font-size: 16px;
  }
  .logo > span:not(.logo__mark) { display: block; min-width: 0; }
  .logo > span:not(.logo__mark) > span { display: none; }
  .logo strong {
    display: block;
    font-size: 18px;
    max-width: clamp(104px, 34vw, 142px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .phone { display: none; }
  .call-icon { width: 42px; height: 42px; }
  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    box-shadow: 0 10px 22px rgba(20,58,32,.08);
  }
  .menu-toggle.active {
    background: rgba(255,255,255,.96);
    border-color: var(--line);
  }
  .menu-toggle.active::before,
  .menu-toggle.active::after {
    background: var(--ink);
  }
  .mobile-menu-actions a:nth-child(2):hover {
    background: linear-gradient(135deg, #20c45a, #12863c);
    color: #fff;
  }
  .mobile-menu-actions a:nth-child(3):hover {
    background: linear-gradient(135deg, #2aabee, #168acd);
    color: #fff;
  }
  .mobile-menu-actions a:nth-child(4):hover {
    background: linear-gradient(135deg, #1d7cff, #6b4dff);
    color: #fff;
  }
  .hero-slider,
  .hero-slider__slide { min-height: 0; }
  .hero-slider__slide { bottom: auto; height: auto; }
  .hero { min-height: 0; align-items: flex-start; background-position: center, 58% center; }
  .hero__content { padding: 30px 0 96px; }
  .hero__content, .hero-alt__content {
    grid-template-rows: 18px minmax(160px, auto) minmax(100px, auto) auto auto;
    row-gap: 12px;
  }
  .hero h1, .hero h2 { font-size: 36px; line-height: 1.05; }
  .hero--country { background-position: center, 65% center; }
  .hero--concrete { background-position: center, 64% center; }
  .hero--extension { background-position: center, 58% center; }
  .hero--country .badge strong { font-size: 17px; }
  .hero p { margin-bottom: 20px; font-size: 16px; line-height: 1.45; }
  .hero__badges { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .hero__badges .badge { padding: 8px; }
  .hero__badges .badge strong { font-size: 20px; }
  .hero__badges .badge span { font-size: 11px; }
  .hero-alt {
    padding: 30px 0 96px;
  }
  .hero-alt__content h2 {
    font-size: 34px;
  }
  .hero-alt__content p {
    font-size: 17px;
  }
  .hero-alt__visuals {
    display: none;
  }
  .hero-alt__photo--roof, .hero-alt__photo--veranda, .hero-alt__tool-card { display: none; }
  .hero-alt__photo,
  .hero-alt__photo--main {
    min-height: 220px;
    grid-row: auto;
  }
  .hero-alt__photo--main {
    min-height: 180px;
  }
  .hero-alt__tool-card {
    left: 14px;
    bottom: 14px;
    width: 148px;
    min-height: 104px;
    padding: 14px;
  }
  .hero-alt__tool-card strong {
    font-size: 34px;
  }
  .hero-services {
    min-height: auto;
  }
  .hero-services__grid {
    padding: 54px 0 78px;
    gap: 28px;
  }
  .hero-services__content h2 {
    font-size: 34px;
  }
  .hero-services__content p {
    font-size: 17px;
  }
  .services-strip {
    padding: 48px 0 54px;
  }
  .services-strip__head {
    margin-bottom: 22px;
  }
  .services-strip__head h2 {
    font-size: 31px;
  }
  .services-strip__head p {
    font-size: 17px;
  }
  .services-strip__grid {
    grid-template-columns: 1fr;
  }
  .services-strip-card,
  .services-strip-card--large {
    min-height: 245px;
    padding: 18px;
  }
  .services-strip-card strong,
  .services-strip-card--large strong {
    max-width: 260px;
    font-size: 26px;
  }
  .services-strip__action {
    justify-content: stretch;
  }
  .services-strip__action .btn {
    width: 100%;
    justify-content: center;
  }
  .home-trust-bar {
    padding: 14px 0;
  }
  .home-trust-bar__grid {
    grid-template-columns: 1fr;
  }
  .home-trust-item {
    min-height: 0;
    padding: 16px;
  }
  .hero-services__tiles {
    grid-template-columns: 1fr;
  }
  .hero-services__tiles a {
    min-height: 178px;
  }
  .cards, .article-grid, .answers, .work-grid, .work-grid--portfolio { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .section__head { grid-template-columns: 1fr; gap: 14px; margin-bottom: 24px; }
  .section__head h2 { font-size: 28px; }
  .section__head .btn { width: 100%; }
  .trusted-services__feature {
    min-height: 390px;
    padding: 22px;
  }
  .trusted-services__feature h3 {
    font-size: 30px;
  }
  .trusted-services__stats {
    grid-template-columns: 1fr;
  }
  .trusted-services__stats div {
    min-height: 0;
  }
  .trusted-services__actions .btn {
    width: 100%;
  }
  .trusted-services__list {
    grid-template-columns: 1fr;
  }
  .trusted-services__list a {
    min-height: 138px;
  }
  .trusted-services-group {
    min-height: 148px;
    padding: 18px;
  }
  .trusted-services-group h3 {
    font-size: 22px;
  }
  .services-page .page-hero {
    padding: 52px 0;
  }
  .services-hero__grid {
    gap: 24px;
  }
  .services-hero__media,
  .services-hero__media img {
    min-height: 260px;
  }
  .services-hero__note {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 13px;
  }
  .direction-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }
  .direction-card {
    min-height: 210px;
    padding: 18px;
  }
  .direction-card strong,
  .direction-card:not(.direction-card--large) strong {
    font-size: 23px;
  }
  .service-scenario {
    min-height: 0;
    padding: 20px;
  }
  .services-page .service-group {
    grid-template-columns: 1fr;
  }
  .service-group__visual {
    min-height: 170px;
  }
  .service-group__content {
    padding: 18px;
  }
  .services-page .service-group__links {
    grid-template-columns: 1fr;
  }
  .services-feature__form {
    padding: 18px;
  }
  .section--reviews-showcase .section__head {
    align-items: stretch;
  }
  .review-marquee,
  .review-marquee--tall {
    grid-template-columns: 1fr;
    height: 560px;
    gap: 0;
    padding: 6px 0;
  }
  .review-column--reverse,
  .review-column--slow {
    display: none;
  }
  .review-card {
    min-height: 226px;
    padding: 18px;
  }
  .review-card__top img {
    width: 52px;
    height: 52px;
  }

  section:has(.service-list) {
    padding-top: 46px;
    padding-bottom: 42px;
    background:
      radial-gradient(circle at 8% 0%, rgba(49,185,57,.20), transparent 34%),
      linear-gradient(160deg, #eef9f0, #fff8e7 100%);
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .service-group {
    padding: 16px;
  }

  .service-group h2 {
    font-size: 19px;
  }

  .service-group__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .direct-offer,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .direct-offer {
    padding: 20px;
  }

  .service-pill {
    min-height: 58px;
    padding: 12px 12px 12px 14px;
    display: flex;
    align-items: center;
    border-color: rgba(24,139,37,.18);
    background: linear-gradient(145deg, #fff, #f2fbf4);
    box-shadow: 0 10px 24px rgba(26,48,34,.07);
    font-size: 13px;
    line-height: 1.22;
    position: relative;
    overflow: hidden;
  }

  .service-pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 0 5px rgba(199,164,90,.14);
    margin-right: 9px;
    flex: 0 0 auto;
  }

  .service-pill:nth-child(3n+2) {
    background: linear-gradient(145deg, #fff, #eef8ff);
    border-color: rgba(49,125,185,.16);
  }

  .service-pill:nth-child(3n) {
    background: linear-gradient(145deg, #fff, #fff7e8);
    border-color: rgba(199,164,90,.22);
  }

  section:has([data-services]) {
    padding-top: 50px;
    background:
      linear-gradient(180deg, #fff 0%, #f7fbf8 100%);
  }

  section:has([data-services]) .card {
    border-color: rgba(24,139,37,.16);
    box-shadow: 0 12px 30px rgba(20,58,32,.08);
  }

  section:has([data-services]) .cards {
    gap: 16px;
  }

  section:has([data-services]) .card {
    position: relative;
    background:
      linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,252,248,.98));
    border: 1px solid rgba(24,139,37,.18);
    box-shadow: 0 16px 34px rgba(18,58,28,.11);
    overflow: hidden;
  }

  section:has([data-services]) .card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, var(--green), var(--gold));
    z-index: 1;
  }

  section:has([data-services]) .card:nth-child(3n+2) {
    background: linear-gradient(180deg, #fff, #f4fbff);
    border-color: rgba(49,125,185,.18);
  }

  section:has([data-services]) .card:nth-child(3n+3) {
    background: linear-gradient(180deg, #fff, #fff9ee);
    border-color: rgba(199,164,90,.24);
  }

  section:has([data-services]) .card__image {
    aspect-ratio: 16 / 8.8;
  }

  section:has([data-services]) .card__body {
    padding: 18px;
  }

  section:has([data-services]) .card__body h3 {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 20px;
  }

  section:has([data-services]) .card__body h3::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 0 6px rgba(49,185,57,.12);
    flex: 0 0 auto;
  }

  section:has([data-services]) .card__body p {
    margin-top: 8px;
  }

  .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .stat {
    min-height: 128px;
    padding: 18px 14px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255,255,255,.05);
  }

  .stat strong {
    font-size: 31px;
    line-height: 1;
    margin-bottom: 10px;
  }

  .stat span {
    font-size: 13px;
    line-height: 1.3;
  }

  section:has(.reviews) {
    overflow: hidden;
  }

  section:has(.reviews) .section__head {
    margin-bottom: 18px;
  }

  .reviews {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 4px 18vw 30px 0;
    margin-bottom: -8px;
    margin-right: -12px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
  }

  .reviews::-webkit-scrollbar {
    display: none;
  }

  .reviews::after {
    content: "";
    flex: 0 0 4px;
  }

  .reviews .review {
    flex: 0 0 82%;
    min-width: 0;
    scroll-snap-align: start;
    box-shadow: 0 20px 34px rgba(25,70,38,.14);
  }

  section:has(.work-grid) .work-grid {
    gap: 14px;
  }

  .work-step {
    border-color: rgba(24,139,37,.18);
    background:
      radial-gradient(circle at 12% 0%, rgba(49,185,57,.10), transparent 30%),
      linear-gradient(180deg, #fff, #f7fbf8);
    box-shadow: 0 16px 32px rgba(25,70,38,.10);
    overflow: hidden;
  }

  .work-step:nth-child(even) {
    background:
      radial-gradient(circle at 12% 0%, rgba(199,164,90,.13), transparent 30%),
      linear-gradient(180deg, #fff, #fff9ee);
  }

  .work-step::before {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(135deg, var(--green), var(--green-dark));
    box-shadow: 0 10px 22px rgba(49,185,57,.20);
    font-size: 18px;
    margin-bottom: 18px;
  }

  .work-step:nth-child(even)::before {
    background: linear-gradient(135deg, var(--gold), #8f6f25);
    box-shadow: 0 10px 22px rgba(199,164,90,.20);
  }

  .work-step strong {
    font-size: 18px;
  }

  .work-step p {
    color: #5f6963;
    font-size: 14px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .catalog-grid .card__image {
    aspect-ratio: 1 / .82;
  }

  .catalog-grid .card__body {
    padding: 12px;
  }

  .catalog-grid .card__body h3 {
    font-size: 14px;
    line-height: 1.22;
  }

  .catalog-grid .card__body p,
  .catalog-grid .card__meta span {
    font-size: 12px;
  }

  .catalog-grid .card__meta {
    display: grid;
    gap: 8px;
  }

  .catalog-grid .btn {
    min-height: 36px;
    padding: 8px 10px;
    font-size: 12px;
  }
  .service-seo { padding: 24px; }
  .quiz__panel, .quiz__aside, .modal__box { padding: 24px; }
  .price-row { grid-template-columns: 1fr; }
  .price-row strong:last-child { text-align: left; }
  .footer__top { align-items: flex-start; flex-direction: column; }
  .footer__links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: 1fr; }
  .quick-contact { left: 12px; right: auto; bottom: 12px; }
  .quick-top { right: 12px; bottom: 12px; }
  .quick-feedback { padding: 11px 12px; }
}

@media (max-width: 1180px) and (max-height: 560px), (max-width: 1040px) and (orientation: landscape), (max-width: 920px) and (max-height: 560px) {
  .services-nav__trigger { padding: 20px 0; }
  .house-nav { min-height: 66px; }
  .header__inner {
    min-height: 66px;
  }

  .logo {
    grid-template-columns: 44px;
    min-width: 44px;
    width: 44px;
  }

  .logo > span:not(.logo__mark) {
    display: none;
  }

  .nav {
    top: 78px;
  }
}

@media (max-width: 1040px), (max-width: 1180px) and (max-height: 560px) {
  .nav { max-height: calc(100dvh - 108px); overflow-y: auto; justify-content: flex-start; }
  .services-nav { display: block; width: 100%; }
  .house-nav { width: 100%; min-height: 0; flex-wrap: wrap; }
  .house-nav__link { flex: 1; }
  .house-nav__toggle { width: 42px; }
  .house-menu { flex-basis: 100%; }
  .house-menu__grid { grid-template-columns: 1fr; gap: 22px; padding: 18px 16px; }
  .services-mega__house-head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .services-nav__trigger { justify-content: space-between; width: 100%; padding: 11px 12px; }
  .services-mega {
    position: static;
    width: 100%;
    max-height: none;
    transform: none;
    border-radius: 4px;
    box-shadow: none;
  }
  .services-mega__top, .services-mega__bottom { padding: 12px 14px; }
  .services-mega__top a { width: auto; padding: 0; }
  .services-mega__layout { display: block; min-height: 0; }
  .services-mega__categories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; border-right: 0; border-bottom: 1px solid var(--line); }
  .services-mega__categories button { min-width: 0; font-size: 12px; line-height: 1.25; }
  .services-mega__categories small { flex: none; }
  .services-mega__content { padding: 18px 16px; }
  .services-mega__intro h2 { font-size: 20px; margin-bottom: 14px; }
  .services-mega__subgroups { grid-template-columns: 1fr; gap: 20px; }
  .services-mega__topics ul { columns: 1; }
  .services-mega__subgroup a { padding: 8px 0; }
  .services-mega__bottom { align-items: flex-start; flex-direction: column; gap: 7px; }
  .services-mega__bottom button { padding: 0; }
}

.house-page__hero {
  background:
    linear-gradient(90deg, rgba(16, 28, 20, .94), rgba(16, 28, 20, .55)),
    url("../images/portfolio/house-extension/house-extension-02.jpg") center 54% / cover no-repeat;
}
.house-page ~ .quick-contact { display: none; }
.house-page__hero .container { max-width: 1180px; }
.house-page__hero h1 { max-width: 1100px; font-size: clamp(40px, 4vw, 58px); }
.house-page__hero p { max-width: 760px; margin: 0 0 24px; color: rgba(255,255,255,.9); font-size: 19px; }
.house-page__hero .eyebrow { display: inline-block; margin-top: 28px; color: #b5e9b8; }
.house-page .section .eyebrow { color: var(--green-dark); }
.house-page__columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 70px; }
.house-page__columns h2, .house-page__estimate h2 { margin: 6px 0 16px; font-size: 30px; line-height: 1.16; }
.house-page__columns p, .house-page__estimate p { color: var(--muted); }
.house-page__columns ul, .house-page__estimate ul { margin: 20px 0 0; padding-left: 20px; }
.house-page__columns li, .house-page__estimate li { padding: 8px 0; }
.house-page__columns li::marker, .house-page__estimate li::marker { color: var(--green-dark); }
.house-page__estimate { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; }
.house-page__steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.house-page__steps > div { display: grid; align-content: start; gap: 8px; padding-top: 18px; border-top: 2px solid var(--green); }
.house-page__steps b { color: var(--green-dark); font-size: 14px; }
.house-page__steps strong { font-size: 18px; }
.house-page__steps span { color: var(--muted); font-size: 14px; }
.house-catalog__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.house-catalog__item { display: grid; align-content: space-between; gap: 12px; min-height: 150px; padding: 20px; border: 1px solid var(--line); border-radius: 6px; background: #fff; }
.house-catalog__item:hover { border-color: var(--green-dark); box-shadow: 0 12px 28px rgba(19, 75, 31, .1); }
.house-catalog__item > span { color: var(--green-dark); font-size: 12px; font-weight: 700; }
.house-catalog__item strong { font-size: 18px; line-height: 1.28; }
.house-catalog__item small { color: var(--muted); font-size: 13px; }
.page-related__grid, .page-evidence__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.page-related .eyebrow, .page-evidence .eyebrow, .page-faq .eyebrow { color: var(--green-dark); }
.page-related__item { display: grid; align-content: start; gap: 11px; min-width: 0; padding-bottom: 14px; border-bottom: 2px solid var(--line); }
.page-related__photo { display: block; aspect-ratio: 1.65; background-position: center; background-size: cover; border-radius: 6px; }
.page-related__item strong { font-size: 19px; line-height: 1.25; }
.page-related__item > span:last-child { color: var(--green-dark); font-size: 14px; font-weight: 700; }
.page-related__item:hover { border-color: var(--green); }
.page-evidence__grid > img, .page-evidence__photo { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; background-position: center; background-size: cover; border: 0; border-radius: 6px; }
.page-evidence__photo { cursor: pointer; }
.page-faq__list { max-width: 900px; border-top: 1px solid var(--line); }
.page-faq__list details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.page-faq__list summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style-position: outside; }
.page-faq__list details p { color: var(--muted); margin: 12px 0 0; max-width: 760px; }
@media (max-width: 700px) { .page-related__grid, .page-evidence__grid { grid-template-columns: 1fr; } .page-related__photo { aspect-ratio: 2.1; } .page-evidence__grid > img, .page-evidence__photo { aspect-ratio: 1.9; } }

@media (max-width: 800px) {
  .house-page__hero { padding: 64px 0; }
  .house-page__hero h1 { font-size: 40px; }
  .house-page__hero p { font-size: 16px; }
  .house-page__columns, .house-page__estimate { grid-template-columns: 1fr; gap: 24px; }
  .house-page__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .house-catalog__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .house-page__hero h1 { font-size: 34px; }
  .house-page__steps, .house-catalog__grid { grid-template-columns: 1fr; }
  .house-catalog__item { min-height: 126px; }
}

/* Shared icon language and footer */
.site-icon { display: inline-block; flex: 0 0 auto; width: 20px; height: 20px; vertical-align: middle; }
.nav > a, .house-nav__link { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav > a > .site-icon, .services-nav__trigger > .site-icon:first-child, .house-nav__link > .site-icon { width: 16px; height: 16px; color: var(--green-dark); }
.services-nav__trigger > .site-icon:last-child, .house-nav__toggle .site-icon { width: 15px; height: 15px; transition: transform .2s ease; }
.services-nav.active .services-nav__trigger > .site-icon:last-child, .house-nav.active .house-nav__toggle .site-icon { transform: rotate(180deg); }
.header__actions .btn .site-icon { width: 17px; height: 17px; }
.call-icon .site-icon { width: 20px; height: 20px; }
.menu-toggle::before, .menu-toggle::after { display: none; }
.menu-toggle .site-icon { width: 23px; height: 23px; }
@media (max-width: 1040px), (max-width: 1180px) and (max-height: 560px) { .menu-toggle { display: inline-flex; align-items: center; justify-content: center; } }
@media (min-width: 1041px) and (max-width: 1380px) { .nav > a > .site-icon, .services-nav__trigger > .site-icon:first-child, .house-nav__link > .site-icon { display: none; } }

.home-trust-item > .site-icon { width: 29px; height: 29px; padding: 5px; margin-bottom: 13px; border-radius: 6px; background: rgba(49,185,57,.1); color: var(--green-dark); }
.work-step strong, .house-page__steps strong, .service-scenario strong, [data-services] .card__body h3, .service-group h3 { display: flex; align-items: flex-start; gap: 9px; }
.work-step strong .site-icon, .house-page__steps strong .site-icon, .service-scenario strong .site-icon, [data-services] .card__body h3 .site-icon, .service-group h3 .site-icon { color: var(--green-dark); margin-top: 2px; }
.direction-card > span { display: inline-flex; align-items: center; gap: 6px; }
.direction-card > span .site-icon { width: 15px; height: 15px; }
.services-mega__categories button > span { display: inline-flex; align-items: center; gap: 9px; }
.services-mega__categories .site-icon { width: 17px; height: 17px; color: var(--green-dark); }
.section__head .eyebrow { display: inline-flex; align-items: center; gap: 7px; }
.section__head .eyebrow .site-icon { width: 16px; height: 16px; }
.page-faq summary { display: flex; align-items: flex-start; gap: 10px; list-style: none; }
.page-faq summary::-webkit-details-marker { display: none; }
.page-faq summary .site-icon { margin-top: 3px; color: var(--green-dark); }
.quiz__status { align-items: center; }
.quiz__status .site-icon { width: 16px; height: 16px; margin-right: 4px; color: var(--green-dark); }
.hero__actions .btn .site-icon, .cta .btn .site-icon, .direct-offer .btn .site-icon, .quiz button[type=submit] .site-icon { width: 18px; height: 18px; }
.quick-feedback { display: inline-flex; align-items: center; gap: 7px; }
.quick-feedback .site-icon, .to-top .site-icon { width: 17px; height: 17px; }

.footer { padding: 0; background: #111713; color: rgba(255,255,255,.72); }
.footer__lead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr); align-items: center; gap: 60px; padding: 52px 0 44px; border-bottom: 1px solid rgba(255,255,255,.14); }
.footer__identity p { max-width: 530px; margin: 20px 0 0; color: rgba(255,255,255,.66); font-size: 15px; }
.footer .logo { width: max-content; }
.footer .logo span:not(.logo__mark) { color: rgba(255,255,255,.7); }
.footer .logo strong { color: #fff; }
.footer__lead-action { display: grid; justify-items: start; gap: 9px; }
.footer__lead-action strong { font-size: 22px; line-height: 1.15; }
.footer__lead-action span { font-size: 14px; }
.footer__lead-action .btn { margin-top: 8px; min-height: 44px; padding: 11px 15px; box-shadow: none; }
.footer__lead-action .btn .site-icon { width: 18px; height: 18px; }
.footer__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; padding: 36px 0 42px; }
.footer__column { display: grid; align-content: start; gap: 9px; }
.footer__column h2 { display: flex; align-items: center; gap: 9px; margin: 0 0 10px; color: #fff; font-size: 16px; }
.footer__column h2 .site-icon { width: 18px; height: 18px; color: #8dd893; }
.footer__column a, .footer__column button { width: fit-content; padding: 0; border: 0; background: none; color: rgba(255,255,255,.72); font-size: 14px; text-align: left; }
.footer__column a:hover, .footer__column button:hover, .footer__bottom button:hover { color: #fff; }
.footer__bottom { padding: 19px 0 24px; }
.footer__bottom button { padding-left: 0; }
.quick-contact, .quick-top { transition: opacity .2s ease, transform .2s ease; }
.footer-in-view .quick-contact, .footer-in-view .quick-top { opacity: 0; pointer-events: none; transform: translateY(12px); }
@media (max-width: 800px) { .footer__lead { grid-template-columns: 1fr; gap: 28px; } .footer__grid { gap: 24px; } }
@media (max-width: 620px) { .footer__lead { padding: 38px 0 34px; } .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; } .footer__lead-action strong { font-size: 20px; } .footer__bottom--row { flex-direction: column; } }

/* Price tables */
.price-section { background: #f4f8f5; }
.price-section--compact { padding-top: 54px; padding-bottom: 42px; }
.price-section .section__head { align-items: end; }
.price-section .section__head .eyebrow { color: var(--green-dark); }
.price-section .section__head h2 { max-width: 790px; }
.price-table-wrap { overflow-x: auto; border: 1px solid #dbe6dc; border-radius: 6px; background: #fff; }
.price-table { width: 100%; min-width: 620px; border-collapse: collapse; text-align: left; }
.price-table th, .price-table td { padding: 16px 21px; border-bottom: 1px solid #e3ebe4; font-size: 15px; line-height: 1.35; }
.price-table thead { background: #205a37; color: #fff; }
.price-table thead th { font-size: 13px; font-weight: 700; text-transform: uppercase; }
.price-table tbody tr:last-child th, .price-table tbody tr:last-child td { border-bottom: 0; }
.price-table tbody tr:nth-child(even) { background: #f8faf8; }
.price-table tbody th { width: 62%; font-weight: 600; color: #263229; }
.price-table tbody td:last-child { font-weight: 700; color: #205a37; white-space: nowrap; }
.price-section__note { max-width: 1020px; margin: 16px 0 0; color: #52635a; font-size: 13px; line-height: 1.6; }
.price-catalog__more { padding: 0 0 28px; text-align: right; }
.price-catalog__more a { color: var(--green-dark); font-weight: 700; }
.price-catalog > .price-section:not(:first-child) { padding-top: 28px; }
@media (max-width: 700px) {
  .price-section .section__head { align-items: start; gap: 16px; }
  .price-section .section__head .btn { width: 100%; justify-content: center; }
  .price-table { min-width: 0; }
  .price-table th, .price-table td { padding: 12px 10px; font-size: 12px; overflow-wrap: anywhere; }
  .price-table thead th { font-size: 10px; }
  .price-table tbody th { width: 53%; }
  .price-table tbody td:last-child { white-space: normal; }
}

#prices, #quiz { scroll-margin-top: 100px; }
.service-depth .work-grid { margin-top: 0 !important; }
.service-depth .service-seo { margin-top: 34px; }
@media (max-width: 700px) {
  #prices, #quiz { scroll-margin-top: 78px; }
  .service-depth .service-seo { margin-top: 24px; }
}

/* Service-page closing action and consistent privacy links */
.service-final-cta {
  color: #fff;
  background: linear-gradient(90deg, rgba(12, 35, 23, .96), rgba(12, 35, 23, .82)), var(--service-cta-image) center/cover no-repeat;
}
.service-final-cta__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: clamp(32px, 6vw, 94px); align-items: center; }
.service-final-cta__copy { max-width: 680px; }
.service-final-cta__copy .eyebrow { color: #a4e7aa; }
.service-final-cta__copy h2 { max-width: 670px; margin: 15px 0 20px; font-size: clamp(32px, 3.7vw, 52px); line-height: 1.08; }
.service-final-cta__copy p { max-width: 570px; color: rgba(255,255,255,.84); font-size: 17px; line-height: 1.55; }
.service-final-cta__copy ul { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.service-final-cta__copy li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.service-final-cta__copy li::before { content: "\2713"; display: grid; place-items: center; flex: 0 0 23px; width: 23px; height: 23px; border-radius: 50%; background: #3bbd4b; color: #fff; font-size: 14px; }
.service-final-cta__form { padding: 32px; border: 1px solid #dce8de; border-radius: 6px; background: #fff; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.service-final-cta__form > strong { color: #203a29; font-size: 22px; line-height: 1.2; }
.service-final-cta__form .textarea { min-height: 95px; }
.service-final-cta__form .btn { width: 100%; justify-content: center; }
.agreement--policy { display: grid; gap: 3px; color: #526159; font-size: 12px; line-height: 1.4; }
.agreement--policy label { display: flex; gap: 9px; align-items: flex-start; cursor: pointer; }
.agreement--policy input { flex: 0 0 auto; margin-top: 2px; }
.agreement--policy a { width: fit-content; margin-left: 23px; color: var(--green-dark); text-decoration: underline; text-underline-offset: 2px; }
.agreement--policy a:hover { color: #163d24; }
@media (max-width: 850px) {
  .service-final-cta__inner { grid-template-columns: 1fr; }
  .service-final-cta__form { max-width: 560px; }
}
@media (max-width: 560px) {
  .service-final-cta__copy h2 { font-size: 33px; }
  .service-final-cta__copy p { font-size: 15px; }
  .service-final-cta__form { padding: 24px 18px; }
}
