@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f6f7f5;
  --surface: #ffffff;
  --surface-strong: #eff1ee;
  --text: #171b1f;
  --muted: #66706f;
  --line: #dfe4df;
  --accent: #f4b41a;
  --accent-dark: #9f6900;
  --green: #1c7c54;
  --charcoal: #20272b;
  --shadow: 0 24px 60px rgba(24, 32, 35, 0.14);
  --radius: 8px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 72px;
  padding: 0 clamp(18px, 4vw, 52px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(31, 39, 43, 0.08);
  backdrop-filter: blur(14px);
}

.brand,
.header-phone {
  font-weight: 800;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border: 4px solid var(--charcoal);
  border-top-color: var(--accent);
  transform: skewX(-10deg);
}

.site-nav {
  display: flex;
  gap: 12px;
  justify-content: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.header-phone:hover,
.site-footer a:hover {
  color: var(--accent-dark);
}

.home-page {
  height: 100svh;
  overflow: hidden;
  background: #101618;
}

.home-header {
  position: fixed;
  right: 0;
  left: 0;
  grid-template-columns: auto auto;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.9);
}

.home-page .site-nav {
  display: none;
}

.home-scroll {
  height: 100svh;
  overflow-x: hidden;
  overflow-y: auto;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  overscroll-behavior-y: contain;
}

.home-layer {
  position: relative;
  display: grid;
  min-height: 100svh;
  align-items: center;
  padding: 120px clamp(20px, 5vw, 72px) 72px clamp(204px, 16vw, 242px);
  overflow: hidden;
  scroll-snap-align: start;
  background:
    linear-gradient(90deg, rgba(13, 18, 20, 0.92) 0%, rgba(13, 18, 20, 0.7) 42%, rgba(13, 18, 20, 0.16) 78%),
    var(--layer-image) var(--layer-position, center) / cover no-repeat;
  color: #ffffff;
}

.home-layer::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 160px;
  background: linear-gradient(0deg, rgba(13, 18, 20, 0.48), rgba(13, 18, 20, 0));
  pointer-events: none;
}

.layer-content {
  position: relative;
  z-index: 1;
  width: min(100%, 720px);
}

.layer-kicker,
.layer-content h1,
.layer-content h2,
.layer-content p:not(.layer-kicker),
.layer-content .hero-actions,
.company-stats {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 920ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 920ms cubic-bezier(0.16, 1, 0.3, 1);
}

.home-layer.is-visible .layer-kicker,
.home-layer.is-visible .layer-content h1,
.home-layer.is-visible .layer-content h2,
.home-layer.is-visible .layer-content p:not(.layer-kicker),
.home-layer.is-visible .layer-content .hero-actions,
.home-layer.is-visible .company-stats {
  opacity: 1;
  transform: translateY(0);
}

.home-layer.is-visible .layer-kicker {
  transition-delay: 80ms;
}

.home-layer.is-visible .layer-content h1,
.home-layer.is-visible .layer-content h2 {
  transition-delay: 180ms;
}

.home-layer.is-visible .layer-content p:not(.layer-kicker) {
  transition-delay: 300ms;
}

.home-layer.is-visible .layer-content .hero-actions {
  transition-delay: 420ms;
}

.home-layer.is-visible .company-stats {
  transition-delay: 390ms;
}

.layer-kicker {
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.layer-content h1,
.layer-content h2 {
  max-width: 680px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(56px, 9vw, 118px);
  line-height: 0.92;
}

.about-layer .layer-content h1 {
  font-size: clamp(56px, 7vw, 92px);
}

.layer-content p:not(.layer-kicker) {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 24px);
}

.company-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(100px, max-content));
  gap: clamp(12px, 2.2vw, 24px);
  margin: 34px 0 0;
}

.company-stats div {
  padding-right: clamp(12px, 2vw, 24px);
  border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.company-stats div:last-child {
  border-right: 0;
}

.company-stats dt {
  color: var(--accent);
  font-size: clamp(36px, 4vw, 48px);
  font-weight: 900;
  line-height: 1;
}

.company-stats dd {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
  font-weight: 700;
}

.layer-nav {
  position: fixed;
  top: 50%;
  left: clamp(12px, 2.2vw, 32px);
  z-index: 18;
  display: grid;
  justify-items: center;
  transform: translateY(-42%);
  transition: opacity 240ms ease;
}

.layer-nav.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.layer-nav a {
  display: grid;
  min-width: 126px;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  transition: color 260ms ease;
}

.layer-nav a small {
  max-width: 124px;
  line-height: 1.3;
}

.layer-nav a:focus {
  outline: none;
}

.layer-nav a:focus-visible span {
  box-shadow: 0 0 0 3px rgba(244, 180, 26, 0.26);
}

.layer-nav a + a::before {
  content: "";
  display: block;
  width: 1px;
  height: 34px;
  margin: 7px 0 10px;
  background: rgba(255, 255, 255, 0.34);
}

.layer-nav a span {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1;
  background: rgba(16, 22, 24, 0.28);
  transition:
    background 260ms ease,
    border-color 260ms ease,
    color 260ms ease,
    transform 260ms ease;
}

.layer-nav svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.layer-nav a:hover,
.layer-nav a.is-active {
  color: var(--accent);
}

.layer-nav a:hover span,
.layer-nav a.is-active span {
  border-color: var(--accent);
  background: var(--accent);
  color: #1d1705;
  transform: scale(1.04);
}

.layer-scroll-hint {
  display: grid;
  margin-top: 42px;
  justify-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.layer-scroll-hint span {
  position: relative;
  width: 20px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
}

.layer-scroll-hint span::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  width: 3px;
  height: 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  transform: translateX(-50%);
  animation: scroll-wheel 1.7s ease-in-out infinite;
}

@keyframes scroll-wheel {
  0%,
  100% {
    opacity: 0.35;
    transform: translate(-50%, 0);
  }

  45% {
    opacity: 1;
    transform: translate(-50%, 10px);
  }
}

.button-disabled {
  cursor: default;
  opacity: 0.88;
}

.button-disabled:hover {
  transform: none;
}

.hero {
  position: relative;
  display: grid;
  align-items: center;
  min-height: min(760px, 86vh);
  padding: 96px clamp(20px, 5vw, 72px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(20, 25, 27, 0.9) 0%, rgba(20, 25, 27, 0.68) 38%, rgba(20, 25, 27, 0.12) 74%),
    var(--hero-image, url("/assets/img/hero-mzlf.png")) center / cover no-repeat;
  color: #ffffff;
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--bg), rgba(246, 247, 245, 0));
  pointer-events: none;
}

.page-hero {
  min-height: min(500px, 62vh);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  min-width: 0;
  max-width: 680px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  max-width: 100%;
  font-size: clamp(38px, 5vw, 62px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: break-word;
  text-wrap: balance;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
  text-wrap: balance;
}

p,
li,
summary,
dd {
  text-wrap: pretty;
}

.hero p {
  max-width: 610px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 34px 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #1a1400;
  box-shadow: 0 18px 34px rgba(244, 180, 26, 0.28);
}

.button-primary:hover {
  background: #ffc533;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.button-full {
  width: 100%;
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 580px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.16);
}

.hero-facts div {
  padding: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-facts dt {
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-facts dd {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 900;
}

.foundation-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 270px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(24, 32, 35, 0.08);
}

.service-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.foundation-cards-media .service-card {
  gap: 12px;
  grid-template-rows: auto 64px auto minmax(88px, 1fr) auto;
  align-content: stretch;
  height: 100%;
  min-height: 0;
  padding: 14px;
}

.foundation-cards-media .foundation-card-title {
  display: flex;
  height: 64px;
  align-items: start;
  margin: 0;
  line-height: 1.28;
}

.foundation-cards-media .card-meta {
  display: grid;
  gap: 8px;
  align-content: start;
}

.foundation-cards-media .card-actions {
  display: grid;
  gap: 8px;
  align-self: end;
}

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

.card-price,
.card-duration {
  display: inline-flex;
  width: 164px;
  min-height: 34px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid #b8dce4;
  border-radius: 999px;
  background: #f4fafb;
  color: #24879c;
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}

.card-price-neutral {
  background: #eef1ef;
  color: var(--muted);
}

@media (max-width: 1120px) and (min-width: 981px) {
  .foundation-cards-media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.text-link {
  align-self: end;
  color: var(--accent-dark);
  font-size: 15px;
  font-weight: 900;
}

.text-link::after {
  content: " →";
}

.foundation-cards-media .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: stretch;
  align-self: end;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #1d1705;
  box-shadow: 0 10px 22px rgba(228, 177, 43, 0.24);
}

.foundation-cards-media .text-link-secondary {
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--charcoal);
  box-shadow: none;
}

.foundation-cards-media .text-link::after {
  content: "";
}

.split-panels {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.75fr) minmax(260px, 0.75fr);
  gap: 18px;
  align-items: stretch;
}

.split-panels article {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.split-panels article:first-child {
  background: var(--surface-strong);
}

.split-panels p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 18px;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.hero-price {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  margin: 18px 0 0;
  padding: 10px 14px;
  border: 1px solid rgba(244, 180, 26, 0.42);
  border-radius: 999px;
  background: rgba(244, 180, 26, 0.14);
  color: #fff4c8;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 950;
  gap: 12px;
  align-items: baseline;
  flex-wrap: wrap;
}

.hero-price span {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 244, 200, 0.35);
  font-size: 15px;
  font-weight: 800;
}

.hero-duration-only span {
  padding-left: 0;
  border-left: 0;
  font-size: 18px;
}

.profile-section {
  background: #ffffff;
}

.foundation-profile {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.78fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.profile-visual {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #eef0ef;
  box-shadow: var(--shadow);
}

.profile-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.profile-copy {
  display: grid;
  gap: 16px;
  align-content: center;
}

.price-label {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.profile-price {
  color: #2e9ab0;
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 950;
  line-height: 1;
}

.profile-pending {
  color: var(--charcoal);
  font-size: clamp(25px, 4vw, 34px);
  font-weight: 900;
}

.profile-duration {
  color: var(--muted);
  font-size: 16px;
}

.profile-copy h2,
.profile-copy p {
  margin: 0;
}

.layer-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}

.layer-list li {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-strong);
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
}

.feature-card,
.work-note,
.document-card {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(24, 32, 35, 0.08);
}

.feature-card-dark {
  background: var(--charcoal);
  color: #ffffff;
}

.feature-card ul,
.pros-cons ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-card li,
.pros-cons li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}

.feature-card-dark li {
  color: rgba(255, 255, 255, 0.82);
}

.feature-card li::before,
.pros-cons li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.feature-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: #fff3c7;
  color: var(--accent-dark);
  font-weight: 900;
}

.feature-card-dark .feature-icon {
  background: var(--accent);
  color: #1d1705;
}

.compact-section {
  padding-top: 10px;
}

.decision-section {
  background: var(--surface-strong);
}

.foundation-fit-section {
  background: #ffffff;
}

.foundation-pros-cons-section {
  padding-top: 0;
  background: #ffffff;
}

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

.decision-card {
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: 0 18px 44px rgba(24, 32, 35, 0.08);
}

.decision-card h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.decision-card h3 span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 950;
}

.decision-plus h3 span {
  background: #dff3e8;
  color: #166d49;
}

.decision-minus h3 span {
  background: #fff0d9;
  color: #b36600;
}

.decision-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.decision-card li {
  position: relative;
  padding-left: 26px;
  color: var(--muted);
}

.decision-card li::before {
  position: absolute;
  top: 0.1em;
  left: 0;
  font-weight: 950;
}

.decision-plus li::before {
  content: "+";
  color: var(--green);
}

.decision-minus li::before {
  content: "−";
  color: #c27200;
}

.key-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.key-strip span {
  min-height: 76px;
  padding: 16px;
  border: 1px solid rgba(36, 135, 156, 0.18);
  border-radius: var(--radius);
  background: #f7fbfb;
  color: #315e65;
  font-weight: 850;
}

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

.pros-cons article {
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pros-cons h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.pros-cons h3 span {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #1d1705;
}

.section {
  padding: clamp(42px, 6vw, 72px) clamp(18px, 4vw, 52px);
}

.section-inner {
  width: min(100%, var(--container));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading p,
.two-column > div:first-child p,
.request-layout > div:first-child p,
.contacts-layout > div:first-child p {
  color: var(--muted);
  font-size: 18px;
}

.geology-notice {
  max-width: 920px;
  margin: 0 0 28px;
  padding: clamp(18px, 2.5vw, 24px);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  background: #fff6d8;
  color: var(--charcoal);
  font-size: clamp(16px, 2vw, 18px);
  line-height: 1.55;
}

.calculator-section {
  padding-top: 24px;
}

.calculator-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 410px;
  gap: 24px;
  align-items: start;
}

.calculator-fields,
.estimate-panel,
.callback-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.calculator-fields {
  display: grid;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

legend {
  margin-bottom: 12px;
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 900;
}

.choice-grid,
.extras-grid,
.field-pair {
  display: grid;
  gap: 12px;
}

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

.field-pair {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.choice {
  position: relative;
  display: grid;
  min-height: 58px;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  color: var(--muted);
  font-weight: 800;
  background: #fbfcfb;
}

.choice input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.choice:has(input:checked) {
  border-color: #b77b00;
  background: #fff6d8;
  color: var(--text);
}

label {
  display: grid;
  gap: 8px;
  color: #384044;
  font-size: 14px;
  font-weight: 800;
}

input,
select {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #cfd6d2;
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--text);
  font-size: 16px;
  outline: none;
}

input:focus,
select:focus {
  border-color: var(--accent-dark);
  box-shadow: 0 0 0 3px rgba(244, 180, 26, 0.25);
}

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

.extras-grid label {
  display: flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.extras-grid input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.single-check {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfcfb;
}

.single-check input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.estimate-panel {
  position: sticky;
  top: 92px;
  padding: 28px;
}

.estimate-label {
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.estimate-value {
  display: block;
  margin-bottom: 16px;
  color: var(--green);
  font-size: clamp(34px, 4vw, 46px);
  font-weight: 950;
  line-height: 1;
}

.disclaimer {
  padding: 14px 0 20px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.contact-fields {
  display: grid;
  gap: 14px;
  padding-top: 18px;
}

.contact-fields h3 {
  margin-bottom: 0;
}

.captcha {
  min-height: 44px;
}

.captcha-dev {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.captcha-dev input {
  width: 18px;
  min-height: 18px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 14px;
  font-weight: 800;
}

.form-status.is-error {
  color: #b42318;
}

.two-column {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.included-section,
.faq-section {
  background: var(--surface);
}

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

.included-list article,
.advantages-grid article,
.steps li,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
}

.included-list article,
.advantages-grid article {
  padding: 22px;
}

.included-list p,
.advantages-grid p,
.steps p,
.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage-list li {
  min-height: 250px;
}

.steps li {
  padding: 22px;
}

.steps span {
  display: inline-block;
  margin-bottom: 44px;
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 950;
}

.stage-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-stage-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.stage-photo-grid li {
  position: relative;
  display: grid;
  min-height: 330px;
  align-content: end;
  overflow: hidden;
  padding: 22px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(15, 22, 24, 0.16), rgba(15, 22, 24, 0.86)),
    var(--stage-image) center / cover no-repeat;
  box-shadow: 0 18px 44px rgba(24, 32, 35, 0.14);
}

.stage-photo-grid li::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: inherit;
  pointer-events: none;
}

.stage-photo-grid span,
.stage-photo-grid h3,
.stage-photo-grid p {
  position: relative;
  margin: 0;
}

.stage-photo-grid span {
  position: absolute;
  top: 22px;
  left: 22px;
  width: max-content;
  margin-bottom: 0;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: #1d1705;
  font-size: 13px;
  font-weight: 950;
}

@media (max-width: 1240px) and (min-width: 981px) {
  .service-stage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.stage-photo-grid h3 {
  color: #ffffff;
  font-size: 21px;
}

.stage-photo-grid p {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
}

.service-stage-grid li {
  grid-template-rows: 278px 1fr;
  min-height: 0;
  align-content: stretch;
  padding: 0;
  border: 1px solid var(--line);
  background: #ffffff;
}

.service-stage-grid li::before {
  content: none;
}

.service-stage-grid .stage-media {
  position: relative;
  display: grid;
  align-content: end;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(15, 22, 24, 0.16), rgba(15, 22, 24, 0.86)),
    var(--stage-image) center / cover no-repeat;
}

.service-stage-grid p {
  margin: 0;
  padding: 16px 18px 18px;
  background: #ffffff;
  color: var(--muted);
  line-height: 1.55;
}

.advantages-section {
  background: var(--surface-strong);
}

.advantages-grid strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 0 22px;
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 900;
}

.faq-list summary::after {
  content: "+";
  color: var(--accent-dark);
  font-size: 24px;
}

.faq-list details[open] summary::after {
  content: "–";
}

.faq-list p {
  padding-bottom: 20px;
}

.works-section {
  background: #ffffff;
}

.with-actions {
  display: flex;
  gap: 18px;
  align-items: end;
  justify-content: space-between;
  max-width: none;
}

.carousel-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.icon-button {
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  color: var(--charcoal);
  cursor: pointer;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.icon-button:hover {
  border-color: var(--accent);
  background: #fff8df;
  transform: translateY(-1px);
}

.work-carousel {
  display: grid;
  grid-auto-columns: minmax(280px, 38%);
  grid-auto-flow: column;
  gap: 16px;
  overflow-x: auto;
  padding: 4px 2px 18px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.work-slide {
  position: relative;
  min-height: 330px;
  margin: 0;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: var(--radius);
  background: var(--surface-strong);
  color: inherit;
  cursor: pointer;
  text-align: left;
  scroll-snap-align: start;
  box-shadow: 0 18px 44px rgba(24, 32, 35, 0.1);
}

.work-slide:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}

.work-slide img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-slide:hover img {
  transform: scale(1.035);
}

.work-slide-caption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  left: 14px;
  display: grid;
  gap: 2px;
  width: auto;
  padding: 8px 10px;
  border-radius: var(--radius);
  background: rgba(14, 20, 22, 0.78);
  color: #ffffff;
}

.work-slide-caption strong {
  font-size: 15px;
  font-weight: 950;
}

.work-slide-caption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  font-weight: 850;
}

.work-drawer {
  display: grid;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(18px);
  transition: max-height 0.34s ease, opacity 0.24s ease, transform 0.34s ease, margin-top 0.34s ease;
}

.work-drawer.is-open {
  max-height: 620px;
  margin-top: 16px;
  opacity: 1;
  transform: translateY(0);
}

.work-drawer-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  padding: clamp(20px, 3vw, 28px);
  border-radius: var(--radius);
  background: var(--charcoal);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.drawer-gallery {
  position: relative;
  min-height: 260px;
  overflow: hidden;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  aspect-ratio: 16 / 10;
}

.drawer-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.drawer-copy {
  display: grid;
  gap: 8px;
  align-content: center;
  min-width: 0;
  padding-left: clamp(4px, 2vw, 18px);
}

.drawer-photo-button {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  background: rgba(14, 20, 22, 0.7);
  color: #ffffff;
  cursor: pointer;
  font-size: 28px;
  line-height: 1;
  transform: translateY(-50%);
}

.drawer-photo-button[hidden] {
  display: none;
}

.drawer-photo-prev {
  left: 12px;
}

.drawer-photo-next {
  right: 12px;
}

.drawer-photo-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(14, 20, 22, 0.72);
  color: #ffffff;
  font-size: 13px;
  font-weight: 900;
}

.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

.drawer-kicker,
.work-drawer h3,
.work-drawer p {
  margin: 0;
}

.drawer-kicker {
  color: var(--accent);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.work-drawer h3 {
  padding-right: 48px;
  font-size: clamp(22px, 3vw, 30px);
}

.work-drawer p[data-work-description] {
  max-width: 820px;
  color: rgba(255, 255, 255, 0.76);
}

.works-empty {
  background: var(--surface-strong);
}

@media (max-width: 760px) {
  .work-drawer.is-open {
    max-height: 760px;
  }

  .work-drawer-inner {
    grid-template-columns: 1fr;
  }

  .drawer-gallery {
    min-height: 220px;
  }

  .drawer-copy {
    padding-left: 0;
  }
}

.reviews-section {
  background: var(--surface-strong);
}

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

.review-card {
  display: grid;
  gap: 18px;
  align-content: start;
  min-height: 250px;
  padding: clamp(22px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #ffffff;
  box-shadow: 0 18px 44px rgba(24, 32, 35, 0.08);
}

.review-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent);
  color: #1d1705;
  font-size: 42px;
  font-weight: 950;
  line-height: 1.08;
  text-align: center;
}

.review-card p {
  margin: 0;
  color: var(--muted);
}

.review-card strong {
  margin-top: auto;
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(240px, 0.75fr) minmax(240px, 0.75fr);
  gap: 16px;
  align-items: stretch;
}

.work-card,
.work-note {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
}

.work-card {
  position: relative;
  min-height: 360px;
  background: var(--charcoal);
}

.work-card img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.work-card figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  gap: 4px;
  padding: 16px;
  border-radius: var(--radius);
  background: rgba(14, 20, 22, 0.82);
  color: #ffffff;
}

.work-card figcaption span,
.work-note p {
  color: rgba(255, 255, 255, 0.72);
}

.work-note {
  display: grid;
  align-content: start;
}

.work-note p {
  margin-bottom: 0;
  color: var(--muted);
}

.request-section {
  background: var(--charcoal);
  color: #ffffff;
}

.request-layout,
.contacts-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.65fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: start;
}

.request-layout > div:first-child p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-panel {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 3vw, 28px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  font-size: 18px;
  font-weight: 800;
}

.contacts-section .contact-panel {
  border-color: var(--line);
  background: var(--surface-strong);
}

.planning-copy {
  max-width: 900px;
}

.planning-copy p {
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

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

.pricing-lines article {
  display: grid;
  gap: 18px;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.pricing-lines strong {
  color: #2e9ab0;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1;
}

.callback-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 30px);
  box-shadow: none;
}

.contacts-section {
  background: #ffffff;
}

address {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-strong);
  font-style: normal;
  font-size: 20px;
  font-weight: 900;
}

address span {
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 1.2fr) minmax(180px, 0.8fr) minmax(180px, 0.8fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(34px, 5vw, 58px) clamp(18px, 4vw, 52px) 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #12191b;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.home-footer {
  scroll-snap-align: end;
}

.footer-brand {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.footer-brand .brand-mark {
  flex: 0 0 auto;
  border-color: rgba(255, 255, 255, 0.82);
  border-top-color: var(--accent);
}

.footer-brand strong,
.footer-column h2 {
  display: block;
  margin-bottom: 10px;
  color: #ffffff;
  font-size: 18px;
}

.footer-brand p {
  max-width: 420px;
  margin-bottom: 0;
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-column h2 {
  margin: 0 0 4px;
}

.messenger-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.messenger-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-weight: 800;
}

.messenger-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom {
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.document-page {
  min-height: 60vh;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  .home-page .site-header {
    grid-template-columns: auto auto;
  }

  .home-page .site-nav {
    display: none;
  }

  .calculator-grid,
  .two-column,
  .request-layout,
  .contacts-layout,
  .foundation-cards,
  .split-panels,
  .feature-grid,
  .foundation-profile,
  .decision-grid,
  .key-strip,
  .pros-cons,
  .work-grid,
  .stage-photo-grid,
  .review-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .company-stats {
    grid-template-columns: repeat(2, minmax(110px, 1fr));
  }

  .foundation-cards-media .foundation-card-title {
    height: auto;
    min-height: 0;
  }

  .pricing-lines {
    grid-template-columns: 1fr;
  }

  .work-carousel {
    grid-auto-columns: minmax(280px, 72%);
  }

  .estimate-panel {
    position: static;
  }

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

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 1240px) {
  .site-nav {
    display: none;
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 64px;
    gap: 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .home-page .site-header {
    grid-template-columns: 1fr auto;
    padding: 10px 18px;
  }

  .home-page .site-nav {
    grid-column: 1 / -1;
    justify-content: space-between;
    width: 100%;
    font-size: 13px;
  }

  .header-phone {
    max-width: 168px;
    overflow: hidden;
    font-size: 14px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  h1 {
    font-size: clamp(30px, 9vw, 36px);
    line-height: 1.08;
  }

  h2 {
    font-size: clamp(28px, 8vw, 34px);
    overflow-wrap: break-word;
  }

  .hero {
    min-height: 78vh;
    padding: 74px 18px 92px;
    background:
      linear-gradient(90deg, rgba(20, 25, 27, 0.94) 0%, rgba(20, 25, 27, 0.74) 64%, rgba(20, 25, 27, 0.2) 100%),
      var(--hero-image, url("/assets/img/hero-mzlf.png")) center / cover no-repeat;
  }

  .home-layer {
    padding: 118px 18px 64px 78px;
    background:
      linear-gradient(90deg, rgba(13, 18, 20, 0.94) 0%, rgba(13, 18, 20, 0.78) 64%, rgba(13, 18, 20, 0.28) 100%),
      var(--layer-image) var(--layer-position, center) / cover no-repeat;
  }

  .company-stats {
    gap: 14px;
    margin-top: 20px;
  }

  .company-stats dt {
    font-size: 30px;
  }

  .company-stats dd {
    font-size: 12px;
  }

  .layer-content {
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .layer-nav {
    top: 52%;
    left: 10px;
    transform: translateY(-38%);
  }

  .layer-nav a {
    min-width: 62px;
    gap: 6px;
    font-size: 11px;
  }

  .layer-nav a small {
    max-width: 66px;
    font-size: 9px;
    line-height: 1.2;
  }

  .layer-nav a span {
    width: 30px;
    height: 30px;
    font-size: 11px;
  }

  .layer-nav a + a::before {
    height: 24px;
    margin: 5px 0 8px;
  }

  .layer-scroll-hint {
    margin-top: 28px;
    font-size: 11px;
  }

  .layer-scroll-hint span {
    width: 18px;
    height: 30px;
  }

  .layer-content h1,
  .layer-content h2 {
    font-size: 32px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .layer-content p:not(.layer-kicker) {
    font-size: 17px;
  }

  .layer-content .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .hero-content {
    width: 100%;
    max-width: none;
  }

  .hero p {
    max-width: 100%;
    font-size: 16px;
  }

  .hero-actions,
  .site-footer,
  .footer-bottom {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-facts,
  .choice-grid,
  .field-pair,
  .extras-grid,
  .included-list,
  .advantages-grid,
  .foundation-cards,
  .steps,
  .feature-grid,
  .foundation-profile,
  .decision-grid,
  .key-strip,
  .pros-cons,
  .stage-photo-grid,
  .review-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .with-actions {
    display: grid;
  }

  .carousel-actions {
    justify-content: start;
  }

  .work-carousel {
    grid-auto-columns: minmax(260px, 86%);
  }

  .stage-photo-grid li {
    min-height: 280px;
  }

  .service-stage-grid li {
    grid-template-rows: 250px 1fr;
    min-height: 0;
  }

  .stage-photo-grid span {
    margin-bottom: 0;
  }

  .work-card,
  .work-card img,
  .work-slide,
  .work-slide img {
    min-height: 280px;
  }

  .site-footer {
    padding-bottom: 28px;
  }

  .section {
    padding: 42px 18px;
  }

  .calculator-section {
    padding-top: 18px;
  }

  .calculator-fields,
  .estimate-panel {
    padding: 20px;
  }

  .estimate-value {
    font-size: 34px;
  }
}

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

  .layer-kicker,
  .layer-content h1,
  .layer-content h2,
  .layer-content p:not(.layer-kicker),
  .layer-content .hero-actions {
    opacity: 1;
    transform: none;
  }
}
