:root {
  color: #302f2d;
  background: #e9e4dc;
  font-family: Arial, Helvetica, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
  --paper: #f3efe8;
  --paper-deep: #eee9e1;
  --ink: #302f2d;
  --muted: #807b74;
  --line: #d7d0c6;
  --line-strong: #aaa39a;
  --accent: #c55f3e;
  --accent-dark: #aa4d32;
  --side: clamp(30px, 3.62vw, 60px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #e9e4dc;
}

body.menu-open {
  overflow: hidden;
}

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

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

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

button {
  border: 0;
}

img {
  max-width: 100%;
}

sup {
  font-size: 0.58em;
  line-height: 0;
  vertical-align: super;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.page-shell {
  width: min(100%, 1680px);
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 70px rgba(56, 48, 39, 0.08);
}

.hero {
  position: relative;
  height: clamp(650px, 88.55vw, 960px);
  min-height: 650px;
  isolation: isolate;
  overflow: hidden;
  background-color: #d9d1c6;
  background-image: url("./assets/forma-hero.jpg");
  background-position: 45% calc(50% + var(--hero-shift, 0px));
  background-size: cover;
  background-repeat: no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(90deg, rgba(247, 243, 236, 0.3), rgba(247, 243, 236, 0.18));
  pointer-events: none;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  height: clamp(72px, 8.35vw, 112px);
  padding: 0 var(--side);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand,
.footer-brand {
  font-size: clamp(29px, 3.15vw, 48px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.045em;
}

.brand {
  position: relative;
  z-index: 2;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(27px, 3.5vw, 50px);
  font-size: clamp(13px, 1.35vw, 18px);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  position: relative;
  width: 44px;
  height: 44px;
  display: none;
  padding: 0;
  border: 1px solid rgba(48, 47, 45, 0.55);
  background: rgba(243, 239, 232, 0.54);
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease;
}

.menu-toggle span:first-child {
  transform: translateY(-4px);
}

.menu-toggle span:last-child {
  transform: translateY(4px);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: rotate(-45deg);
}

.hero-copy {
  position: absolute;
  top: clamp(166px, 21.85vw, 230px);
  left: var(--side);
  z-index: 2;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(47px, 5.65vw, 82px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.042em;
}

.hero-subtitle {
  margin: clamp(22px, 2.6vw, 35px) 0 0;
  color: #77736e;
  font-size: clamp(18px, 2.08vw, 28px);
  line-height: 1.28;
  letter-spacing: -0.018em;
}

.hero-price {
  margin: clamp(39px, 4.5vw, 59px) 0 0;
  font-size: clamp(15px, 1.72vw, 22px);
}

.hero-price strong {
  margin-left: 4px;
  color: var(--accent);
  font-size: 1.25em;
  font-weight: 400;
}

.hero-actions {
  margin-top: clamp(17px, 2vw, 25px);
  display: flex;
  gap: clamp(13px, 1.7vw, 24px);
}

.button {
  min-height: clamp(40px, 4.45vw, 56px);
  padding: 0 clamp(18px, 2.4vw, 35px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 0;
  font-size: clamp(12px, 1.3vw, 16px);
  line-height: 1;
  text-align: center;
  cursor: pointer;
  transition:
    color 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    transform 180ms ease;
}

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

.button:active {
  transform: translateY(0);
}

.button--accent {
  color: #fffaf4;
  border-color: var(--accent);
  background: var(--accent);
}

.button--accent:hover,
.button--accent:focus-visible {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button--outline {
  min-width: clamp(170px, 19.5vw, 246px);
  border-color: rgba(48, 47, 45, 0.78);
  background: rgba(243, 239, 232, 0.08);
}

.button--outline:hover,
.button--outline:focus-visible {
  color: #fff;
  background: var(--ink);
}

.benefits {
  min-height: clamp(170px, 15vw, 225px);
  padding: 0 var(--side);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.62);
}

.benefit {
  min-width: 0;
  padding: clamp(28px, 2.7vw, 40px) clamp(18px, 2.9vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-left: 1px solid var(--line);
}

.benefit:first-child {
  padding-left: 0;
  border-left: 0;
}

.benefit__label {
  margin: 0;
  color: var(--accent);
  font-size: clamp(9px, 0.8vw, 11px);
  letter-spacing: 0.14em;
}

.benefit > p:last-child {
  margin: clamp(34px, 3.1vw, 48px) 0 0;
}

.benefit strong,
.benefit span {
  display: block;
}

.benefit strong {
  font-size: clamp(23px, 2vw, 31px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.benefit span {
  max-width: 24ch;
  margin-top: 12px;
  color: #7d7871;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.4;
}

.section {
  padding-right: var(--side);
  padding-left: var(--side);
  border-bottom: 1px solid var(--line);
}

.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: clamp(10px, 0.9vw, 12px);
  line-height: 1.2;
  letter-spacing: 0.14em;
}

.section h2 {
  margin: clamp(24px, 2.8vw, 38px) 0 0;
  font-size: clamp(38px, 4.65vw, 66px);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.services {
  padding-top: clamp(56px, 6.55vw, 90px);
  padding-bottom: clamp(51px, 5.9vw, 80px);
}

.services-grid {
  margin-top: clamp(29px, 3.4vw, 46px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.18vw, 17px);
}

.service-card {
  --reveal-delay: 0ms;
  min-width: 0;
  display: block;
}

.service-card:nth-child(2) {
  --reveal-delay: 70ms;
}

.service-card:nth-child(3) {
  --reveal-delay: 140ms;
}

.service-card:nth-child(4) {
  --reveal-delay: 210ms;
}

.service-card__media {
  position: relative;
  display: block;
  overflow: hidden;
  background: #d8d0c7;
}

.service-card img {
  width: 100%;
  aspect-ratio: 0.69;
  display: block;
  object-fit: cover;
  filter: saturate(0.82) contrast(0.98);
  transition: transform 500ms cubic-bezier(0.2, 0.72, 0.22, 1), filter 300ms ease;
}

.service-card:hover img,
.service-card:focus-visible img {
  transform: scale(1.018);
  filter: saturate(0.96) contrast(1);
}

.service-card__details {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(16px, 1.65vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 9px;
  color: #fffaf4;
  background: linear-gradient(180deg, transparent 0%, rgba(43, 39, 35, 0.82) 100%);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 260ms ease, transform 340ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.service-card__details strong {
  max-width: 24ch;
  font-size: clamp(12px, 1.15vw, 16px);
  font-weight: 400;
  line-height: 1.3;
}

.service-card__details small {
  color: rgba(255, 250, 244, 0.72);
  font-size: clamp(8px, 0.72vw, 10px);
  line-height: 1.35;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.service-card:hover .service-card__details,
.service-card:focus-visible .service-card__details {
  opacity: 1;
  transform: translateY(0);
}

.service-card__footer {
  position: relative;
  min-height: clamp(42px, 4.9vw, 63px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: clamp(12px, 1.35vw, 17px);
}

.service-card__footer::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
}

.service-card__footer > span {
  transition: transform 220ms ease;
}

.service-card__footer i {
  display: inline-flex;
  align-items: center;
  gap: clamp(7px, 0.8vw, 11px);
  color: var(--accent);
  font-size: 0.76em;
  font-style: normal;
  letter-spacing: 0.12em;
}

.service-card__footer i::before {
  content: "";
  width: clamp(12px, 1.45vw, 20px);
  height: 1px;
  background: currentColor;
  transition: width 220ms ease;
}

.service-card:hover .service-card__footer::after {
  transform: scaleX(1);
}

.service-card:hover .service-card__footer > span {
  transform: translateX(4px);
}

.service-card:hover .service-card__footer i::before {
  width: clamp(17px, 2vw, 28px);
}

.projects {
  padding-top: clamp(32px, 3.75vw, 50px);
  padding-bottom: clamp(42px, 4.85vw, 66px);
}

.section-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.project-controls {
  display: flex;
  gap: 9px;
}

.project-navigation {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.3vw, 18px);
}

.project-count {
  margin: 0;
  display: none;
  align-items: center;
  gap: 7px;
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.project-count i {
  color: #aaa39a;
  font-style: normal;
}

.project-controls[hidden] {
  display: none;
}

.project-controls button {
  width: clamp(30px, 3.25vw, 43px);
  height: clamp(30px, 3.25vw, 43px);
  padding: 0;
  display: grid;
  place-items: center;
  color: var(--accent);
  border: 1px solid currentColor;
  border-radius: 50%;
  background: rgba(248, 245, 239, 0.35);
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.project-controls button:first-child svg {
  transform: rotate(180deg);
}

.project-controls svg {
  width: 52%;
  height: 52%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

.project-controls button:disabled {
  color: #cfc6bd;
  cursor: default;
}

.project-controls button:not(:disabled):hover {
  color: var(--paper);
  border-color: var(--accent);
  background: var(--accent);
}

.projects-track {
  margin-top: clamp(25px, 2.9vw, 39px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.18vw, 17px);
}

.project-card {
  --reveal-delay: 0ms;
  min-width: 0;
}

.project-card:nth-child(2) {
  --reveal-delay: 90ms;
}

.project-card__media {
  overflow: hidden;
  background: #d4ccc2;
}

.project-card__media img {
  width: 100%;
  aspect-ratio: 1.78;
  display: block;
  object-fit: cover;
  filter: saturate(0.82);
  transition: filter 300ms ease, transform 450ms ease;
}

.project-card:hover .project-card__media img {
  filter: saturate(1);
  transform: scale(1.012);
}

.project-card__content {
  padding-top: clamp(17px, 1.7vw, 24px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(17px, 1.7vw, 24px) clamp(24px, 2.6vw, 38px);
  align-items: start;
}

.project-card h3 {
  margin: 0;
  font-size: clamp(17px, 2vw, 27px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.project-card__heading p {
  max-width: 46ch;
  margin: 10px 0 0;
  color: #7d7871;
  font-size: clamp(10px, 0.93vw, 13px);
  line-height: 1.45;
}

.project-card__facts {
  min-width: clamp(190px, 17vw, 235px);
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.project-card__facts div {
  min-width: 0;
  padding: 10px clamp(7px, 0.75vw, 11px);
  border-left: 1px solid var(--line);
}

.project-card__facts div:first-child {
  padding-left: 0;
  border-left: 0;
}

.project-card__facts dt {
  color: #918a82;
  font-size: clamp(7px, 0.62vw, 9px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card__facts dd {
  margin: 6px 0 0;
  font-size: clamp(9px, 0.86vw, 12px);
  line-height: 1.25;
  white-space: nowrap;
}

.project-card__action {
  position: relative;
  width: fit-content;
  padding: 0 24px 5px 0;
  color: var(--accent);
  font-size: clamp(10px, 0.9vw, 13px);
  line-height: 1.2;
}

.project-card__action::before,
.project-card__action::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0.55em;
  background: currentColor;
  transition: transform 200ms ease;
}

.project-card__action::before {
  width: 15px;
  height: 1px;
}

.project-card__action::after {
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  background: transparent;
  transform: translateY(-3px) rotate(45deg);
}

.project-card__action:hover::before,
.project-card__action:focus-visible::before {
  transform: translateX(4px);
}

.project-card__action:hover::after,
.project-card__action:focus-visible::after {
  transform: translate(4px, -3px) rotate(45deg);
}

.comparison-section {
  padding-top: clamp(37px, 4.35vw, 60px);
  padding-bottom: clamp(54px, 6.25vw, 84px);
}

.section h2.comparison-title {
  margin-top: clamp(25px, 2.95vw, 40px);
  font-size: clamp(27px, 3.2vw, 44px);
  letter-spacing: -0.035em;
}

.case-intro {
  margin-top: clamp(20px, 2.3vw, 32px);
  padding: clamp(17px, 1.8vw, 25px) 0;
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(440px, 1.2fr);
  gap: clamp(30px, 4vw, 60px);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-intro > p {
  max-width: 48ch;
  margin: 0;
  color: #716c66;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.5;
}

.case-facts {
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.case-facts div {
  min-width: 0;
  padding-left: clamp(15px, 1.8vw, 26px);
  border-left: 1px solid var(--line);
}

.case-facts dt {
  color: var(--accent);
  font-size: clamp(8px, 0.68vw, 10px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-facts dd {
  margin: 7px 0 0;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.25;
}

.comparison {
  --comparison-position: 50%;
  position: relative;
  margin-top: clamp(24px, 2.75vw, 37px);
  aspect-ratio: 2.28;
  overflow: hidden;
  background: #c8c1b8;
  user-select: none;
}

.comparison > img,
.comparison-after,
.comparison-after img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.comparison > img,
.comparison-after img {
  display: block;
  object-fit: cover;
  object-position: center;
}

.comparison-after {
  clip-path: inset(0 0 0 var(--comparison-position));
  will-change: clip-path;
  transition: clip-path 70ms linear;
}

.comparison-label {
  position: absolute;
  top: clamp(11px, 1.3vw, 18px);
  z-index: 3;
  min-width: clamp(46px, 5.3vw, 72px);
  padding: clamp(6px, 0.65vw, 9px) 12px;
  color: #4c4945;
  background: rgba(248, 245, 240, 0.9);
  font-size: clamp(10px, 1.15vw, 15px);
  text-align: center;
  transition: opacity 150ms ease, transform 150ms ease;
}

.comparison-label--before {
  left: clamp(12px, 1.4vw, 20px);
}

.comparison-label--after {
  right: clamp(12px, 1.4vw, 20px);
}

.comparison.is-after-only .comparison-label--before {
  opacity: 0;
  transform: translateX(-8px);
}

.comparison.is-before-only .comparison-label--after {
  opacity: 0;
  transform: translateX(8px);
}

.comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  z-index: 4;
  width: 1px;
  background: rgba(255, 255, 255, 0.95);
  transform: translateX(-50%);
  pointer-events: none;
  will-change: left;
  transition: left 70ms linear;
}

.comparison-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(42px, 5vw, 66px);
  height: clamp(42px, 5vw, 66px);
  border-radius: 50%;
  background: rgba(250, 248, 244, 0.97);
  box-shadow: 0 5px 20px rgba(44, 39, 34, 0.14);
  transform: translate(-50%, -50%);
}

.comparison-divider i {
  position: absolute;
  top: 50%;
  z-index: 1;
  font-size: clamp(17px, 2vw, 26px);
  font-style: normal;
  transform: translateY(-54%);
}

.comparison-divider i:first-child {
  right: 6px;
}

.comparison-divider i:last-child {
  left: 6px;
}

.comparison-range {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
  touch-action: none;
}

.calculator-section {
  padding-top: clamp(35px, 4.15vw, 56px);
  padding-bottom: clamp(28px, 3.3vw, 45px);
}

.section.calculator-section h2 {
  margin-top: clamp(26px, 3vw, 40px);
  font-size: clamp(27px, 3.3vw, 45px);
}

.calculator {
  margin-top: clamp(26px, 3vw, 41px);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(330px, 0.8fr);
  align-items: stretch;
  gap: clamp(28px, 4.2vw, 64px);
}

.calculator-controls {
  padding: clamp(8px, 1.2vw, 18px) 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(27px, 3vw, 44px) clamp(18px, 2vw, 30px);
  align-content: center;
}

.field,
.choice-field {
  min-width: 0;
}

.field--area {
  grid-column: 1 / -1;
}

.area-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.area-heading > label,
.choice-field legend {
  padding: 0;
  color: #7e7871;
  font-size: clamp(10px, 1.07vw, 14px);
  line-height: 1.3;
}

.area-heading .input-with-unit {
  width: clamp(125px, 13vw, 178px);
}

.input-with-unit {
  position: relative;
  display: block;
}

.input-with-unit input {
  width: 100%;
  height: clamp(52px, 5vw, 66px);
  padding: 0 44px 0 clamp(13px, 1.3vw, 18px);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: rgba(248, 245, 239, 0.42);
  font-size: clamp(21px, 2.3vw, 32px);
  transition: border-color 180ms ease, background-color 180ms ease;
}

.input-with-unit input:focus {
  border-color: var(--accent);
  background-color: rgba(255, 255, 255, 0.46);
}

.input-with-unit i {
  position: absolute;
  top: 50%;
  right: 15px;
  font-size: clamp(18px, 2.35vw, 34px);
  font-style: normal;
  transform: translateY(-50%);
  pointer-events: none;
}

.area-range {
  --range-progress: 14%;
  width: 100%;
  height: 30px;
  margin: clamp(19px, 2.1vw, 29px) 0 0;
  display: block;
  appearance: none;
  border: 0;
  background: transparent;
  cursor: ew-resize;
}

.area-range::-webkit-slider-runnable-track {
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0 var(--range-progress), var(--line-strong) var(--range-progress) 100%);
}

.area-range::-moz-range-track {
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0 var(--range-progress), var(--line-strong) var(--range-progress) 100%);
}

.area-range::-webkit-slider-thumb {
  width: 18px;
  height: 18px;
  margin-top: -8px;
  appearance: none;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.area-range::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: 4px solid var(--paper);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}

.area-range:focus-visible {
  outline-offset: 3px;
}

.range-scale {
  margin-top: -2px;
  display: flex;
  justify-content: space-between;
  color: #9a938b;
  font-size: clamp(8px, 0.7vw, 10px);
}

.choice-field {
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-field legend {
  margin-bottom: 11px;
}

.segmented {
  display: grid;
  border: 1px solid var(--line-strong);
}

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

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

.segmented label {
  position: relative;
  min-width: 0;
  cursor: pointer;
}

.segmented label + label {
  border-left: 1px solid var(--line-strong);
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  min-height: clamp(49px, 4.4vw, 60px);
  padding: 8px clamp(7px, 0.9vw, 13px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #716c66;
  background: rgba(248, 245, 239, 0.24);
  font-size: clamp(9px, 0.82vw, 12px);
  line-height: 1.2;
  text-align: center;
  transition: color 180ms ease, background-color 180ms ease;
}

.segmented input:checked + span {
  color: #fffaf4;
  background: var(--ink);
}

.segmented input:focus-visible + span {
  position: relative;
  z-index: 1;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.calculator-result {
  min-width: 0;
  padding: clamp(24px, 2.7vw, 39px);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.48);
}

.calculator-result__label {
  color: var(--accent);
  font-size: clamp(8px, 0.72vw, 10px);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.calculator-result > output {
  margin-top: clamp(15px, 1.8vw, 25px);
  display: block;
  font-size: clamp(29px, 3.2vw, 46px);
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.calculator-result__meta {
  margin-top: clamp(22px, 2.5vw, 35px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.calculator-result__meta p {
  min-width: 0;
  margin: 0;
  padding: 15px 0;
}

.calculator-result__meta p + p {
  padding-left: 17px;
  border-left: 1px solid var(--line);
}

.calculator-result__meta span,
.calculator-result__meta strong {
  display: block;
}

.calculator-result__meta span {
  color: #918a82;
  font-size: clamp(8px, 0.68vw, 10px);
  line-height: 1.3;
}

.calculator-result__meta strong {
  margin-top: 6px;
  font-size: clamp(10px, 0.9vw, 13px);
  font-weight: 400;
  line-height: 1.25;
}

.calculator-breakdown {
  margin-top: clamp(18px, 2vw, 28px);
}

.calculator-breakdown p {
  margin: 0 0 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 7px 15px;
  align-items: center;
  color: #77716b;
  font-size: clamp(9px, 0.78vw, 11px);
}

.calculator-breakdown output {
  color: var(--ink);
  white-space: nowrap;
}

.calculator-breakdown i {
  --share: 0%;
  position: relative;
  height: 2px;
  grid-column: 1 / -1;
  display: block;
  overflow: hidden;
  background: var(--line);
}

.calculator-breakdown i::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: var(--share);
  background: var(--accent);
  transition: width 420ms cubic-bezier(0.2, 0.72, 0.22, 1);
}

.calculator-submit {
  width: 100%;
  min-width: 0;
  min-height: clamp(50px, 4.7vw, 63px);
  margin-top: auto;
}

.calculator-note {
  margin: 12px 0 0;
  color: #958e86;
  font-size: clamp(9px, 0.97vw, 13px);
}

.process-section {
  padding-top: clamp(34px, 4vw, 54px);
  padding-bottom: clamp(40px, 4.65vw, 63px);
}

.steps {
  margin: clamp(36px, 4vw, 58px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  list-style: none;
}

.steps li {
  position: relative;
  min-height: clamp(170px, 14vw, 205px);
  min-width: 0;
  padding: clamp(22px, 2.25vw, 32px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: background-color 220ms ease;
}

.steps li:hover {
  background: rgba(248, 245, 239, 0.55);
}

.step-number {
  color: var(--accent);
  font-size: clamp(11px, 1vw, 14px);
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: clamp(28px, 2.8vw, 40px) 0 0;
  font-size: clamp(20px, 1.8vw, 27px);
  font-weight: 400;
  letter-spacing: -0.03em;
}

.steps p {
  max-width: 30ch;
  margin: clamp(10px, 1vw, 14px) 0 0;
  color: #817b74;
  font-size: clamp(11px, 1vw, 14px);
  line-height: 1.5;
}

.team-row {
  margin-top: clamp(39px, 4.5vw, 61px);
  display: grid;
  grid-template-columns: minmax(210px, 0.33fr) minmax(0, 0.67fr);
  gap: clamp(39px, 4.5vw, 61px);
}

.guarantee {
  min-height: clamp(230px, 26.5vw, 358px);
  padding: clamp(39px, 4.6vw, 62px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.36);
}

.guarantee-value {
  color: var(--accent);
  font-size: clamp(49px, 6vw, 86px);
  line-height: 0.85;
  letter-spacing: -0.065em;
}

.guarantee h3 {
  margin: clamp(24px, 2.5vw, 36px) 0 0;
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
}

.guarantee p {
  max-width: 30ch;
  margin: clamp(14px, 1.6vw, 22px) 0 0;
  color: #76716b;
  font-size: clamp(12px, 1.25vw, 17px);
  line-height: 1.35;
}

.team .section-kicker {
  margin-bottom: clamp(14px, 1.7vw, 23px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(10px, 1.15vw, 16px);
}

.team-card img {
  width: 100%;
  aspect-ratio: 1.03;
  display: block;
  object-fit: cover;
  object-position: 50% 25%;
  filter: saturate(0.76) contrast(0.97);
}

.team-card p {
  margin: clamp(10px, 1.15vw, 16px) 0 0;
  font-size: clamp(10px, 1.08vw, 15px);
  line-height: 1.25;
}

.reviews-section {
  padding-top: clamp(35px, 4.1vw, 55px);
  padding-bottom: clamp(31px, 3.6vw, 49px);
}

.reviews-grid {
  margin-top: clamp(26px, 3vw, 41px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 1.9vw, 27px);
}

.review {
  min-height: clamp(144px, 16.7vw, 225px);
  padding: clamp(17px, 2vw, 28px);
  border: 1px solid var(--line);
  background: rgba(248, 245, 239, 0.28);
}

.review header {
  display: flex;
  align-items: center;
}

.review header img {
  width: clamp(43px, 5vw, 67px);
  height: clamp(43px, 5vw, 67px);
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: saturate(0.72);
}

.review header p {
  margin: 0 0 0 clamp(13px, 1.45vw, 20px);
}

.review header strong,
.review header span {
  display: block;
}

.review header strong {
  font-size: clamp(11px, 1.2vw, 16px);
  font-weight: 400;
}

.review header span {
  margin-top: 8px;
  color: #8c857d;
  font-size: clamp(9px, 0.95vw, 13px);
}

.review header b {
  margin-left: auto;
  align-self: flex-start;
  color: #d9d0c3;
  font-family: Georgia, serif;
  font-size: clamp(39px, 4.7vw, 63px);
  font-weight: 400;
  line-height: 0.8;
}

.review > p {
  margin: clamp(13px, 1.55vw, 21px) 0 0;
  font-size: clamp(11px, 1.2vw, 16px);
  line-height: 1.25;
}

.stars {
  margin-top: clamp(11px, 1.35vw, 18px);
  color: var(--accent);
  font-size: clamp(14px, 1.6vw, 21px);
  letter-spacing: 0.13em;
}

.estimate {
  min-height: clamp(500px, 43vw, 640px);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(460px, 1.04fr);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}

.estimate-visual {
  min-height: 100%;
  background: #d8d0c5 url("./assets/estimate-background.jpg") 67% 68% / cover no-repeat;
}

.estimate-content {
  padding: clamp(54px, 6vw, 88px) var(--side);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.estimate-copy {
  max-width: 650px;
}

.estimate-copy .section-kicker {
  margin: 0 0 clamp(26px, 3vw, 42px);
}

.estimate-copy h2 {
  margin: 0;
  font-size: clamp(42px, 4.5vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.05em;
}

.estimate-copy > p:not(.section-kicker) {
  max-width: 52ch;
  margin: clamp(22px, 2.4vw, 34px) 0 0;
  color: #726d67;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.55;
}

.estimate-selection {
  width: 100%;
  max-width: 650px;
  margin: clamp(24px, 2.7vw, 38px) 0 0;
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: clamp(9px, 0.8vw, 11px);
  line-height: 1.35;
}

.estimate-selection[hidden] {
  display: none;
}

.estimate-selection span {
  color: #8e877f;
}

.estimate-selection strong {
  color: var(--accent);
  font-weight: 400;
  text-align: right;
}

.estimate-form {
  width: 100%;
  max-width: 650px;
  margin-top: clamp(35px, 3.8vw, 54px);
}

.estimate-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 28px);
}

.estimate-form label,
.estimate-form input,
.estimate-form button {
  width: 100%;
}

.estimate-form label {
  display: block;
}

.estimate-form label + label {
  margin-top: 0;
}

.estimate-form label > span {
  display: block;
  color: #7b756e;
  font-size: clamp(9px, 0.78vw, 11px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.estimate-form input {
  height: clamp(48px, 4vw, 56px);
  padding: 0;
  display: block;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: clamp(13px, 1.08vw, 15px);
  transition: border-color 180ms ease;
}

.estimate-form input::placeholder {
  color: #9b948c;
}

.estimate-form input:focus {
  border-color: var(--accent);
}

.estimate-form .button {
  min-height: clamp(48px, 4vw, 56px);
  min-width: clamp(210px, 18vw, 260px);
  margin-top: clamp(28px, 3vw, 42px);
}

.estimate-form small {
  max-width: 48ch;
  margin-top: 12px;
  display: block;
  color: #928b84;
  font-size: clamp(9px, 0.78vw, 11px);
  line-height: 1.45;
}

.estimate-response {
  margin: clamp(25px, 2.7vw, 38px) 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #716c66;
  font-size: clamp(11px, 1vw, 14px);
}

.estimate-response span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.site-footer {
  min-height: clamp(205px, 23.75vw, 320px);
  display: grid;
  grid-template-columns: minmax(300px, 35%) 1fr;
  background: #f3efe8;
}

.footer-contacts {
  padding: clamp(25px, 2.95vw, 40px) var(--side);
}

.footer-brand {
  display: inline-block;
}

.footer-contacts address {
  margin-top: clamp(20px, 2.35vw, 32px);
  font-style: normal;
}

.footer-contacts address p {
  margin: 0 0 clamp(7px, 0.8vw, 11px);
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: clamp(10px, 1.1vw, 15px);
  line-height: 1.35;
}

.footer-contacts address svg {
  width: clamp(17px, 1.9vw, 25px);
  height: clamp(17px, 1.9vw, 25px);
  flex: 0 0 auto;
  fill: none;
  stroke: #5f5b56;
  stroke-width: 1.2;
}

.footer-contacts address a:hover {
  color: var(--accent);
}

.socials {
  margin-top: clamp(12px, 1.4vw, 19px);
  display: flex;
  gap: 13px;
}

.socials a {
  width: clamp(26px, 3vw, 39px);
  height: clamp(26px, 3vw, 39px);
  display: grid;
  place-items: center;
  border: 1px solid #aea79f;
  border-radius: 50%;
  transition: color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.socials a:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.socials svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

.footer-map {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-left: 1px solid var(--line);
  background: #eeeae3;
}

.map-placeholder,
.map-frame {
  position: absolute;
  inset: 0;
}

.map-placeholder {
  z-index: 1;
  padding: 24px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background-color: #e7e2da;
  background-image:
    linear-gradient(32deg, transparent 0 45%, rgba(159, 151, 140, 0.28) 45.3% 46.2%, transparent 46.5%),
    linear-gradient(148deg, transparent 0 52%, rgba(159, 151, 140, 0.22) 52.3% 53%, transparent 53.3%),
    repeating-linear-gradient(90deg, transparent 0 86px, rgba(170, 162, 151, 0.14) 86px 87px),
    repeating-linear-gradient(0deg, transparent 0 64px, rgba(170, 162, 151, 0.12) 64px 65px);
  transition: opacity 220ms ease, visibility 220ms ease;
}

.map-placeholder::before,
.map-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(143, 135, 124, 0.16);
  background: rgba(243, 239, 232, 0.3);
  transform: rotate(-9deg);
}

.map-placeholder::before {
  top: -12%;
  left: 8%;
  width: 32%;
  height: 70%;
}

.map-placeholder::after {
  right: 7%;
  bottom: -19%;
  width: 38%;
  height: 76%;
}

.map-placeholder__card {
  position: relative;
  z-index: 1;
  width: min(390px, 100%);
  padding: clamp(19px, 2vw, 28px);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0 16px;
  align-items: center;
  border: 1px solid rgba(170, 163, 154, 0.72);
  background: rgba(243, 239, 232, 0.94);
  box-shadow: 0 16px 45px rgba(67, 58, 49, 0.08);
  backdrop-filter: blur(8px);
}

.map-placeholder__card > svg {
  width: 31px;
  height: 31px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.25;
}

.map-placeholder__card p {
  min-width: 0;
  margin: 0;
}

.map-placeholder__card p span,
.map-placeholder__card p strong {
  display: block;
}

.map-placeholder__card p span {
  color: var(--accent);
  font-size: 9px;
  line-height: 1.2;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.map-placeholder__card p strong {
  margin-top: 7px;
  font-size: clamp(11px, 1vw, 14px);
  font-weight: 400;
  line-height: 1.3;
}

.map-load {
  min-height: 42px;
  margin-top: 18px;
  padding: 0 14px;
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #fffaf4;
  background: var(--ink);
  font-size: 11px;
  cursor: pointer;
  transition: background-color 180ms ease, transform 180ms ease;
}

.map-load:hover,
.map-load:focus-visible {
  background: var(--accent);
  transform: translateY(-1px);
}

.map-load:disabled {
  cursor: wait;
  transform: none;
}

.map-load i {
  font-size: 16px;
  font-style: normal;
  line-height: 1;
}

.footer-map.is-loading .map-load i {
  width: 14px;
  height: 14px;
  border: 1px solid rgba(255, 250, 244, 0.42);
  border-top-color: #fffaf4;
  border-radius: 50%;
  font-size: 0;
  animation: map-spin 700ms linear infinite;
}

.map-frame {
  z-index: 0;
  background: #e7e2da;
  opacity: 0;
  transition: opacity 240ms ease;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  border: 0;
  filter: grayscale(0.82) sepia(0.08) saturate(0.62) contrast(0.94);
  transition: filter 240ms ease;
}

.footer-map.is-loaded .map-placeholder {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.footer-map.is-loaded .map-frame {
  z-index: 2;
  opacity: 1;
}

.footer-map:hover iframe,
.footer-map:focus-within iframe {
  filter: grayscale(0.15) saturate(0.85) contrast(0.98);
}

.map-link {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 11px 15px;
  color: #fffaf4;
  background: rgba(47, 44, 40, 0.92);
  font-size: 11px;
  transition: background-color 180ms ease, transform 180ms ease;
}

.map-link:hover,
.map-link:focus-visible {
  background: var(--accent);
  transform: translateY(-2px);
}

@keyframes map-spin {
  to {
    transform: rotate(360deg);
  }
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 32px));
  padding: 15px 20px;
  color: #fff;
  background: #37332f;
  box-shadow: 0 15px 35px rgba(45, 38, 32, 0.18);
  font-size: 14px;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 200ms ease, transform 200ms ease;
}

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

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms ease var(--reveal-delay, 0ms);
}

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

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

@media (max-width: 720px) {
  :root {
    --side: 24px;
  }

  [id] {
    scroll-margin-top: 70px;
  }

  .hero {
    height: 720px;
    min-height: 720px;
    isolation: auto;
    background-position: 57% calc(50% + var(--hero-shift, 0px));
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(239, 235, 228, 0.9) 0 37%, rgba(239, 235, 228, 0.12) 74%);
  }

  .site-header {
    position: fixed;
    z-index: 30;
    width: min(100%, 1680px);
    height: 70px;
    background: rgba(243, 239, 232, 0.9);
    border-bottom: 1px solid transparent;
    transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
  }

  .site-header.is-scrolled {
    background: rgba(243, 239, 232, 0.97);
    border-bottom-color: rgba(170, 163, 154, 0.45);
    box-shadow: 0 8px 30px rgba(56, 48, 39, 0.06);
  }

  .brand {
    z-index: 22;
    font-size: 30px;
  }

  .menu-toggle {
    z-index: 22;
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 20;
    width: 100vw;
    height: 100dvh;
    padding: 110px 24px 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 12px;
    background: var(--paper);
    font-size: 35px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms;
  }

  .main-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .main-nav a {
    width: 100%;
    padding: 10px 0 15px;
    border-bottom: 1px solid var(--line);
  }

  .hero-copy {
    top: 160px;
  }

  .hero-copy h1 {
    font-size: clamp(45px, 8vw, 62px);
  }

  .benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 0;
    padding-bottom: 0;
  }

  .benefit,
  .benefit:first-child {
    min-height: 180px;
    padding: 28px 20px;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .benefit:nth-child(odd) {
    border-left: 0;
  }

  .benefit:nth-child(-n + 2) {
    border-top: 0;
  }

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

  .calculator-result {
    min-height: 430px;
  }

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

  .team-row {
    grid-template-columns: 1fr;
  }

  .guarantee {
    min-height: 250px;
  }

  .estimate {
    min-height: auto;
    grid-template-columns: minmax(0, 1fr);
  }

  .estimate-visual {
    min-height: 340px;
  }

  .estimate-content {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .site-footer {
    grid-template-columns: minmax(270px, 40%) 1fr;
  }
}

@media (max-width: 640px) {
  :root {
    --side: 18px;
  }

  .hero {
    height: 680px;
    min-height: 680px;
    background-position: 62% calc(50% + var(--hero-shift, 0px));
  }

  .hero::before {
    background: linear-gradient(90deg, rgba(239, 235, 228, 0.93), rgba(239, 235, 228, 0.42) 70%, transparent);
  }

  .hero-copy {
    top: 145px;
  }

  .hero-copy h1 {
    font-size: clamp(42px, 13.2vw, 58px);
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-price {
    margin-top: 36px;
    font-size: 14px;
  }

  .hero-price strong {
    display: block;
    margin: 7px 0 0;
    font-size: 21px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 9px;
  }

  .button {
    min-height: 48px;
    font-size: 13px;
  }

  .button--outline {
    min-width: 0;
  }

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

  .benefit,
  .benefit:first-child,
  .benefit:nth-child(2) {
    min-height: 180px;
    padding: 24px 14px;
    display: flex;
    align-items: stretch;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
  }

  .benefit:nth-child(odd) {
    border-left: 0;
  }

  .benefit:nth-child(-n + 2) {
    border-top: 0;
  }

  .benefit > p:last-child {
    margin-top: 30px;
  }

  .benefit strong {
    font-size: 21px;
  }

  .benefit span {
    margin-top: 9px;
    font-size: 11px;
  }

  .section h2 {
    font-size: 39px;
  }

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

  .service-card__details {
    padding: 14px 12px;
    gap: 6px;
    opacity: 1;
    transform: none;
  }

  .service-card__details strong {
    font-size: 11px;
    line-height: 1.25;
  }

  .service-card__details small {
    font-size: 7px;
  }

  .service-card__footer {
    min-height: 58px;
    font-size: 12px;
  }

  .project-count {
    display: flex;
  }

  .projects-track {
    grid-template-columns: 100% 100%;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .projects-track::-webkit-scrollbar {
    display: none;
  }

  .project-card {
    scroll-snap-align: start;
  }

  .project-card__content {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
  }

  .project-card__heading p {
    max-width: 40ch;
    font-size: 11px;
  }

  .project-card__facts {
    min-width: 0;
  }

  .project-card__facts dt {
    font-size: 7px;
  }

  .project-card__facts dd {
    font-size: 10px;
  }

  .project-card__action {
    font-size: 11px;
  }

  .case-intro {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .case-intro > p {
    font-size: 11px;
  }

  .case-facts div {
    padding-left: 12px;
  }

  .case-facts dt {
    font-size: 7px;
  }

  .case-facts dd {
    font-size: 10px;
  }

  .comparison {
    aspect-ratio: 1.28;
  }

  .calculator-controls {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 0;
  }

  .field--area {
    grid-column: auto;
  }

  .area-heading > label,
  .choice-field legend {
    font-size: 12px;
  }

  .area-heading .input-with-unit {
    width: 120px;
  }

  .input-with-unit input,
  .input-with-unit i {
    font-size: 20px;
  }

  .segmented span {
    min-height: 50px;
    padding-right: 5px;
    padding-left: 5px;
    font-size: 10px;
  }

  .calculator-result {
    min-height: 410px;
    padding: 24px 20px;
  }

  .calculator-result > output {
    font-size: clamp(29px, 9vw, 36px);
  }

  .calculator-result__meta span {
    font-size: 8px;
  }

  .calculator-result__meta strong {
    font-size: 11px;
  }

  .estimate-selection {
    flex-direction: column;
    gap: 5px;
  }

  .estimate-selection strong {
    text-align: left;
  }

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

  .steps li {
    min-height: 170px;
    padding: 26px 24px;
  }

  .steps h3 {
    margin-top: 28px;
    font-size: 23px;
  }

  .steps p {
    font-size: 12px;
  }

  .team-row {
    gap: 36px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .team-card img {
    aspect-ratio: 1.25;
    object-position: 50% 20%;
  }

  .team-card p {
    font-size: 13px;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .review {
    min-height: 190px;
  }

  .review header strong,
  .review > p {
    font-size: 13px;
  }

  .estimate {
    gap: 0;
  }

  .estimate-visual {
    min-height: 260px;
    background-position: 67% 68%;
  }

  .estimate-content {
    padding: 46px var(--side) 50px;
  }

  .estimate-copy h2 {
    font-size: clamp(36px, 11.2vw, 45px);
  }

  .estimate-copy > p:not(.section-kicker) {
    font-size: 13px;
  }

  .estimate-fields {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .estimate-form {
    max-width: none;
  }

  .estimate-form input {
    height: 46px;
    font-size: 13px;
  }

  .estimate-form .button {
    width: 100%;
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-contacts {
    padding-top: 38px;
    padding-bottom: 38px;
  }

  .footer-brand {
    font-size: 37px;
  }

  .footer-contacts address p {
    font-size: 13px;
  }

  .footer-map {
    min-height: 250px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .toast {
    right: 16px;
    bottom: 16px;
    left: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

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

@media (hover: none) {
  .service-card__details {
    opacity: 1;
    transform: none;
  }
}
