@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-500.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-600.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-700.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("assets/manrope-800.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

:root {
  --red: #ef3e2f;
  --red-dark: #d92f23;
  --ink: #111827;
  --navy: #101827;
  --text: #59606c;
  --line: #e6e7ea;
  --surface: #f6f6f7;
  --white: #fff;
  --container: 1280px;
  --shadow: 0 24px 60px rgba(14, 24, 40, 0.13);
  --motion-out: cubic-bezier(0.23, 1, 0.32, 1);
  --motion-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --motion-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --motion-fast: 150ms;
  --motion-ui: 220ms;
  --motion-reveal: 760ms;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--white);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

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

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

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

button {
  color: inherit;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 999;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0 26px;
  border: 1px solid var(--red);
  border-radius: 0;
  color: var(--white);
  background: var(--red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-ui) ease,
    transform var(--motion-fast) var(--motion-out);
}

.button:hover {
  border-color: var(--red-dark);
  background: var(--red-dark);
  transform: translateY(-2px);
}

.button:active,
.menu-toggle:active,
.slider-controls button:active,
.project-card button:active,
.modal-close:active,
.back-to-top:active,
.feature-card > a:active,
.round-icon:active {
  transform: scale(0.97);
}

.button--small {
  min-height: 48px;
  padding-inline: 22px;
  font-size: 12px;
}

.button--light {
  border-color: var(--white);
  color: var(--ink);
  background: var(--white);
}

.button--light:hover {
  border-color: var(--navy);
  color: var(--white);
  background: var(--navy);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--white);
}

.site-header.is-fixed {
  position: fixed;
  color: var(--ink);
  background: var(--white);
  box-shadow: 0 6px 26px rgba(17, 24, 39, 0.1);
  animation: refined-header-in 240ms var(--motion-out) both;
}

.site-header.is-fixed .topbar {
  display: none;
}

.site-header.is-fixed .nav-wrap {
  border-color: var(--line);
}

.site-header.is-fixed .desktop-nav a {
  color: var(--ink);
}

.site-header.is-fixed .brand {
  background: transparent;
}

@keyframes refined-header-in {
  from {
    opacity: 0;
    transform: translateY(-100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.topbar__inner {
  display: flex;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.topbar__contacts,
.topbar__contacts a,
.socials {
  display: flex;
  align-items: center;
}

.topbar__contacts {
  gap: 28px;
}

.topbar__contacts a {
  gap: 8px;
  color: rgba(255, 255, 255, 0.82);
}

.topbar__contacts svg {
  width: 14px;
  fill: var(--red);
}

.socials {
  gap: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.socials a {
  color: var(--white);
}

.socials svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.nav-wrap {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.navbar {
  display: grid;
  min-height: 86px;
  grid-template-columns: 250px 1fr 170px;
  align-items: center;
}

.brand {
  display: inline-flex;
  width: fit-content;
  min-height: 54px;
  align-items: center;
  padding: 0 17px;
  background: rgba(255, 255, 255, 0.96);
}

.brand img {
  width: 200px;
  height: auto;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 2.4vw, 44px);
}

.desktop-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.88);
  font-size: 14px;
  font-weight: 700;
}

.desktop-nav a::after {
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: var(--red);
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion-ui) var(--motion-out);
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 0;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
  transition:
    background-color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-out);
}

.menu-toggle span {
  width: 21px;
  height: 2px;
  background: currentColor;
  transition:
    transform var(--motion-ui) var(--motion-drawer),
    opacity var(--motion-fast) ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 950px;
  color: var(--white);
  background: #111b24;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: -2%;
  background: url("assets/hero-roof.png") center top / cover no-repeat;
  content: "";
  animation: hero-roof-settle 1400ms var(--motion-out) both;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 14, 22, 0.52), rgba(7, 14, 22, 0.04) 65%);
  content: "";
}

.hero__content .eyebrow,
.hero__content h1,
.hero__content .hero__copy,
.hero__content .hero__actions,
.hero__side-label {
  animation: hero-compose 820ms var(--motion-out) both;
}

.hero__content .eyebrow {
  animation-delay: 45ms;
}

.hero__content h1 {
  animation-delay: 100ms;
}

.hero__content .hero__copy {
  animation-delay: 155ms;
}

.hero__content .hero__actions {
  animation-delay: 210ms;
}

.hero__side-label {
  animation-delay: 260ms;
}

.hero__inner {
  display: flex;
  min-height: 950px;
  align-items: center;
  padding-top: 120px;
}

.hero__content {
  width: min(700px, 72%);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 24px;
  height: 2px;
  background: currentColor;
}

.eyebrow--light {
  color: var(--red);
}

.hero h1 {
  max-width: 700px;
  margin-bottom: 27px;
  font-size: clamp(58px, 5.5vw, 88px);
  font-weight: 800;
  letter-spacing: -0.045em;
}

.hero h1 em {
  display: block;
  color: var(--red);
  font-style: normal;
}

.hero__copy {
  max-width: 625px;
  margin-bottom: 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
}

.hero__actions,
.call-link {
  display: flex;
  align-items: center;
}

.hero__actions {
  gap: 34px;
}

.call-link {
  gap: 12px;
}

.call-link__icon,
.round-icon {
  display: grid;
  width: 50px;
  height: 50px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 50%;
  color: var(--red);
  background: var(--white);
}

.call-link__icon svg,
.round-icon svg {
  width: 19px;
  fill: currentColor;
}

.call-link small,
.call-link strong {
  display: block;
}

.call-link small {
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.call-link strong {
  font-size: 16px;
}

.hero__side-label {
  position: absolute;
  right: -96px;
  bottom: 220px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transform: rotate(-90deg);
}

.feature-strip {
  position: relative;
  z-index: 3;
  margin-top: -74px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  box-shadow: var(--shadow);
}

.feature-card {
  position: relative;
  display: grid;
  min-height: 174px;
  grid-template-columns: 58px 1fr 42px;
  align-items: center;
  gap: 18px;
  padding: 30px 32px;
  color: var(--white);
  background-position: center;
  background-size: cover;
  overflow: hidden;
  isolation: isolate;
}

.feature-card::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 24, 38, 0.92), rgba(15, 24, 38, 0.7));
  content: "";
}

.feature-card--project {
  background-image: url("assets/project-1.jpg");
}

.feature-card--metal {
  background-image: url("assets/feature-metal.png");
}

.feature-card--home {
  background-image: url("assets/feature-home.png");
}

.feature-card > img {
  width: 48px;
  max-height: 52px;
  filter: brightness(0) invert(1);
}

.feature-card span {
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-card h2 {
  margin: 5px 0 0;
  font-size: clamp(17px, 1.4vw, 21px);
}

.feature-card > a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition:
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-out);
}

.feature-card:hover > a {
  border-color: var(--red);
  background: var(--red);
}

.section {
  padding: 120px 0;
}

.section-heading {
  max-width: 700px;
  margin-bottom: 52px;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading h2,
.about h2,
.portfolio h2,
.why-us h2,
.contact-band h2 {
  margin-bottom: 18px;
  font-size: clamp(38px, 4.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-heading > p:last-child,
.lead,
.why-us__content > p {
  color: var(--text);
}

.services {
  background: #f8f8f8 url("assets/service-pattern.png") center / cover no-repeat;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.service-card {
  position: relative;
  display: grid;
  min-height: 252px;
  grid-template-columns: 58px 1fr;
  gap: 22px;
  padding: 42px 36px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  transition:
    background-color var(--motion-ui) ease,
    transform var(--motion-ui) var(--motion-out),
    box-shadow var(--motion-ui) ease;
}

.service-card:hover {
  z-index: 1;
  background: var(--white);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.service-card__icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(239, 62, 47, 0.22);
  background: #fff5f3;
}

.service-card__icon img {
  width: 34px;
  max-height: 36px;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: 18px;
}

.service-card p {
  margin-bottom: 0;
  color: var(--text);
  font-size: 13px;
  line-height: 1.75;
}

.service-card__number {
  position: absolute;
  right: 24px;
  bottom: 14px;
  color: rgba(17, 24, 39, 0.05);
  font-size: 56px;
  font-weight: 800;
}

.about__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(72px, 9vw, 140px);
}

.about-visual {
  position: relative;
  min-height: 625px;
}

.about-visual__main {
  width: 72%;
  height: 550px;
  object-fit: cover;
  object-position: center;
}

.about-visual__secondary {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 49%;
  height: 290px;
  border: 12px solid var(--white);
  object-fit: cover;
}

.review-card {
  position: absolute;
  right: -26px;
  bottom: 210px;
  width: 210px;
  padding: 26px;
  color: var(--white);
  background: var(--navy);
  box-shadow: var(--shadow);
}

.review-card p {
  margin-bottom: 14px;
  font-size: 13px;
}

.review-card img {
  width: 112px;
  margin-bottom: 12px;
}

.review-card span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.about-visual__stamp {
  position: absolute;
  bottom: 14px;
  left: 42px;
  display: flex;
  width: 164px;
  height: 164px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border: 10px solid var(--white);
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  text-align: center;
}

.about-visual__stamp strong {
  font-size: 42px;
  line-height: 1;
}

.about-visual__stamp span {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.3;
  text-transform: uppercase;
}

.about__content .lead {
  margin-bottom: 34px;
}

.about__facts {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  margin-bottom: 32px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.experience {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-right: 26px;
  border-right: 1px solid var(--line);
}

.experience strong {
  color: var(--red);
  font-size: 46px;
  line-height: 1;
}

.experience span {
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
}

.check-list {
  margin: 0;
  padding: 0 0 0 34px;
  list-style: none;
}

.check-list li {
  position: relative;
  color: var(--text);
  font-size: 13px;
}

.check-list li::before {
  display: inline-grid;
  width: 16px;
  height: 16px;
  margin-right: 8px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  content: "✓";
  font-size: 9px;
}

.about__contact {
  display: flex;
  align-items: center;
  gap: 14px;
}

.about__contact .round-icon {
  color: var(--white);
  background: var(--red);
}

.about__contact small,
.about__contact a {
  display: block;
}

.about__contact small {
  color: var(--text);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.about__contact a {
  font-size: 18px;
  font-weight: 800;
}

.portfolio {
  color: var(--white);
  background: #0f1726 url("assets/portfolio-bg.png") center top / cover no-repeat;
  overflow: hidden;
}

.portfolio__head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 46px;
}

.portfolio__head h2 {
  margin-bottom: 0;
}

.slider-controls {
  display: flex;
  gap: 10px;
}

.slider-controls button {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--white);
  background: transparent;
  cursor: pointer;
  transition:
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-out);
}

.slider-controls button:hover {
  border-color: var(--red);
  background: var(--red);
}

.project-viewport {
  overflow: hidden;
}

.project-track {
  display: grid;
  grid-auto-columns: calc((100% - 48px) / 3);
  grid-auto-flow: column;
  gap: 24px;
  transition: transform 440ms var(--motion-in-out);
  will-change: transform;
}

.project-track.no-motion {
  transition: none;
}

.project-card {
  position: relative;
  height: 510px;
  overflow: hidden;
}

.project-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(11, 18, 31, 0.92), transparent 55%);
  content: "";
}

.project-card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms var(--motion-out);
}

.project-card:hover > img {
  transform: scale(1.045);
}

.project-card > div {
  position: absolute;
  z-index: 1;
  right: 28px;
  bottom: 28px;
  left: 28px;
  display: grid;
  grid-template-columns: 1fr 48px;
  align-items: end;
}

.project-card span {
  grid-column: 1;
  color: var(--red);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h3 {
  grid-column: 1;
  margin: 5px 0 0;
  font-size: 24px;
}

.project-card button {
  display: grid;
  width: 48px;
  height: 48px;
  grid-column: 2;
  grid-row: 1 / 3;
  place-items: center;
  border: 0;
  color: var(--white);
  background: var(--red);
  cursor: pointer;
  transition:
    background-color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-out);
}

.why-us__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: clamp(70px, 8vw, 130px);
}

.why-us__content > p {
  max-width: 660px;
}

.quality-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.quality-grid article {
  min-height: 176px;
  padding: 26px 22px;
  border-top: 3px solid var(--red);
  background: var(--surface);
}

.quality-grid img {
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
}

.quality-grid h3 {
  margin-bottom: 0;
  font-size: 15px;
}

.why-us__visual {
  position: relative;
}

.why-us__visual > img {
  width: 100%;
  height: 610px;
  object-fit: cover;
}

.satisfaction-badge {
  position: absolute;
  bottom: 52px;
  left: -62px;
  display: grid;
  min-width: 315px;
  grid-template-columns: 54px auto 1fr;
  align-items: center;
  gap: 13px;
  padding: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.satisfaction-badge > span {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 20px;
}

.satisfaction-badge strong {
  font-size: 32px;
}

.satisfaction-badge small {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.stats {
  padding: 0 0 110px;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 44px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats article {
  display: grid;
  grid-template-columns: 60px auto;
  grid-template-rows: auto auto;
  align-items: center;
  justify-content: center;
  padding-inline: 40px;
  border-right: 1px solid var(--line);
}

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

.stats img,
.stats__mark {
  width: 44px;
  height: 44px;
  grid-row: 1 / 3;
  margin-right: 16px;
}

.stats__mark {
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--red);
  font-size: 12px;
  font-weight: 800;
}

.stats strong {
  font-size: 32px;
  line-height: 1;
}

.stats span {
  color: var(--text);
  font-size: 11px;
  text-transform: uppercase;
}

.testimonials {
  color: var(--white);
  background: #0c1422 url("assets/testimonial-bg.png") center / cover no-repeat;
}

.section-heading--light h2 {
  color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  position: relative;
  min-height: 325px;
  padding: 42px;
  color: var(--ink);
  background: var(--white);
}

.quote-mark {
  width: 38px;
  height: 38px;
  margin-bottom: 26px;
}

.testimonial-card > p {
  min-height: 112px;
  margin-bottom: 22px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.8;
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.testimonial-card__person > img {
  width: 54px;
  height: 54px;
  border-radius: 50%;
}

.testimonial-card__person strong,
.testimonial-card__person small {
  display: block;
}

.testimonial-card__person strong {
  font-size: 14px;
}

.testimonial-card__person small {
  color: var(--text);
  font-size: 10px;
}

.contact-band {
  padding: 58px 0;
  color: var(--white);
  background: var(--red);
}

.contact-band__inner,
.contact-band__actions,
.contact-band__actions > a {
  display: flex;
  align-items: center;
}

.contact-band__inner {
  justify-content: space-between;
}

.contact-band h2 {
  margin: 0;
  font-size: clamp(32px, 3.5vw, 48px);
}

.contact-band .eyebrow {
  color: var(--white);
}

.contact-band__actions {
  gap: 30px;
}

.contact-band__actions > a {
  align-items: flex-start;
  flex-direction: column;
  line-height: 1.3;
}

.contact-band__actions small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact-band__actions strong {
  font-size: 19px;
}

.footer {
  padding: 82px 0 24px;
  color: rgba(255, 255, 255, 0.72);
  background: #090f1a;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 1.2fr;
  gap: 64px;
  padding-bottom: 54px;
}

.brand--footer {
  margin-bottom: 22px;
}

.footer__brand p {
  max-width: 450px;
}

.footer h2 {
  margin: 0 0 18px;
  color: var(--white);
  font-size: 15px;
  text-transform: uppercase;
}

.footer__grid > div > a:not(.brand) {
  display: block;
  width: fit-content;
  margin-bottom: 9px;
  font-size: 13px;
}

.footer__grid > div > a:hover {
  color: var(--red);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
}

dialog {
  padding: 0;
  border: 0;
  color: var(--ink);
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.35);
  opacity: 0;
  filter: blur(2px);
  transform: translateY(10px) scale(0.96);
  transform-origin: center;
  transition:
    opacity 260ms var(--motion-out),
    filter 260ms var(--motion-out),
    transform 260ms var(--motion-out);
}

dialog::backdrop {
  background: rgba(7, 12, 20, 0);
  backdrop-filter: blur(4px);
  transition: background-color 260ms var(--motion-out);
}

dialog.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

dialog.is-visible::backdrop {
  background: rgba(7, 12, 20, 0.72);
}

dialog.is-closing {
  transition-duration: 170ms;
}

dialog.no-motion,
dialog.no-motion::backdrop {
  transition: none;
}

.quote-modal {
  width: min(620px, calc(100% - 32px));
  max-height: calc(100vh - 32px);
  padding: 48px;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 0;
  color: var(--ink);
  background: var(--surface);
  font-size: 26px;
  cursor: pointer;
  transition:
    color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    transform var(--motion-fast) var(--motion-out);
}

.quote-modal__intro h2 {
  margin-bottom: 10px;
  font-size: 38px;
}

.quote-modal__intro > p:last-child {
  color: var(--text);
}

.quote-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 26px;
}

.quote-form label {
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.quote-form label:nth-child(4),
.quote-form .button,
.form-status {
  grid-column: 1 / -1;
}

.quote-form input,
.quote-form textarea {
  width: 100%;
  margin-top: 7px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 0;
  outline: 0;
  background: var(--surface);
  font-size: 14px;
  text-transform: none;
  resize: vertical;
}

.quote-form input:focus,
.quote-form textarea:focus {
  border-color: var(--red);
  background: var(--white);
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--red);
  font-size: 13px;
}

.project-modal {
  width: min(830px, calc(100% - 32px));
  background: var(--white);
}

.project-modal > img {
  width: 100%;
  height: min(68vh, 620px);
  object-fit: cover;
}

.project-modal > div {
  padding: 30px 38px;
}

.project-modal h2 {
  margin: 0;
  font-size: 30px;
}

.project-modal .eyebrow {
  margin-bottom: 8px;
}

.back-to-top {
  position: fixed;
  z-index: 15;
  right: 28px;
  bottom: 28px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  color: var(--white);
  background: var(--red);
  box-shadow: 0 12px 30px rgba(239, 62, 47, 0.3);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition:
    opacity var(--motion-ui) var(--motion-out),
    transform var(--motion-ui) var(--motion-out),
    background-color var(--motion-fast) ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.motion-ready .reveal {
  opacity: 0;
  transform: translateY(19px);
  transition:
    opacity var(--motion-reveal) var(--motion-out),
    transform var(--motion-reveal) var(--motion-out);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.motion-ready .reveal.reveal-image {
  clip-path: inset(0 0 14% 0);
  transform: translateY(10px) scale(1.018);
  transition:
    clip-path 880ms var(--motion-in-out),
    opacity var(--motion-reveal) var(--motion-out),
    transform 880ms var(--motion-out);
}

.motion-ready .reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.motion-ready .reveal.reveal-image.is-revealed {
  clip-path: inset(0 0 0 0);
  transform: translateY(0) scale(1);
}

@keyframes hero-compose {
  from {
    opacity: 0;
    filter: blur(3px);
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes hero-roof-settle {
  from {
    opacity: 0.74;
    transform: scale(1.035);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (hover: hover) and (pointer: fine) {
  .feature-card {
    transition: transform var(--motion-ui) var(--motion-out);
  }

  .button:hover,
  .feature-card:hover > a,
  .service-card:hover,
  .slider-controls button:hover,
  .project-card:hover > img {
    will-change: transform;
  }

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

  .quality-grid article {
    transition:
      transform var(--motion-ui) var(--motion-out),
      box-shadow var(--motion-ui) ease,
      background-color var(--motion-ui) ease;
  }

  .quality-grid article:hover {
    background: var(--white);
    box-shadow: var(--shadow);
    transform: translateY(-5px);
  }

  .testimonial-card {
    transition:
      transform var(--motion-ui) var(--motion-out),
      box-shadow var(--motion-ui) ease;
  }

  .testimonial-card:hover {
    box-shadow: 0 26px 70px rgba(0, 0, 0, 0.22);
    transform: translateY(-5px);
  }
}

@media (hover: none), (pointer: coarse) {
  .button:hover,
  .service-card:hover,
  .feature-card:hover,
  .project-card:hover > img {
    transform: none;
  }
}

@media (max-width: 1100px) {
  .navbar {
    grid-template-columns: 230px 1fr 154px;
  }

  .desktop-nav {
    gap: 20px;
  }

  .feature-card {
    grid-template-columns: 48px 1fr;
    padding-inline: 24px;
  }

  .feature-card > a {
    display: none;
  }

  .service-card {
    grid-template-columns: 48px 1fr;
    padding: 34px 24px;
  }

  .about__grid {
    gap: 70px;
  }

  .review-card {
    right: -10px;
  }
}

@media (max-width: 900px) {
  .topbar,
  .desktop-nav,
  .navbar > .button {
    display: none;
  }

  .site-header {
    position: absolute;
  }

  .site-header.is-fixed {
    position: fixed;
  }

  .navbar {
    display: flex;
    min-height: 72px;
    justify-content: space-between;
  }

  .brand {
    min-height: 48px;
    padding-inline: 12px;
  }

  .brand img {
    width: 170px;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: block;
    padding: 18px 24px 26px;
    border-top: 1px solid var(--line);
    color: var(--ink);
    background: var(--white);
    box-shadow: 0 22px 38px rgba(17, 24, 39, 0.14);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.985);
    transform-origin: top right;
    visibility: hidden;
    transition:
      opacity var(--motion-ui) var(--motion-out),
      transform 240ms var(--motion-drawer),
      visibility 0s linear 240ms;
  }

  .mobile-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    visibility: visible;
    transition:
      opacity var(--motion-ui) var(--motion-out),
      transform 240ms var(--motion-drawer),
      visibility 0s linear 0s;
  }

  .mobile-nav.no-motion {
    transition: none;
  }

  .mobile-nav a {
    display: block;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    font-weight: 700;
  }

  .mobile-nav .button {
    width: 100%;
    margin-top: 16px;
    color: var(--white);
  }

  .hero,
  .hero__inner {
    min-height: 820px;
  }

  .hero__inner {
    align-items: flex-end;
    padding: 130px 0 150px;
  }

  .hero__content {
    width: 88%;
  }

  .hero__side-label {
    display: none;
  }

  .feature-grid,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card:last-child {
    grid-column: 1 / -1;
  }

  .about__grid,
  .why-us__grid {
    grid-template-columns: 1fr;
  }

  .about__content {
    order: -1;
  }

  .about-visual {
    width: min(620px, 100%);
  }

  .project-track {
    grid-auto-columns: calc((100% - 24px) / 2);
  }

  .why-us__visual {
    width: min(620px, 100%);
    margin-inline: auto;
  }

  .contact-band__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 30px;
  }

  .footer__grid {
    grid-template-columns: 1.5fr 1fr;
  }

  .footer__grid > div:last-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 82px 0;
  }

  .brand img {
    width: 154px;
  }

  .hero {
    background-position: 60% top;
  }

  .hero,
  .hero__inner {
    min-height: 760px;
  }

  .hero__inner {
    align-items: center;
    padding: 100px 0 110px;
  }

  .hero__content {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  .hero__copy {
    font-size: 15px;
  }

  .hero__actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .feature-strip {
    margin-top: 0;
  }

  .feature-strip .container {
    width: 100%;
  }

  .feature-grid,
  .service-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child {
    grid-column: auto;
  }

  .feature-card {
    min-height: 144px;
    padding-inline: 28px;
  }

  .section-heading h2,
  .about h2,
  .portfolio h2,
  .why-us h2 {
    font-size: 36px;
  }

  .service-grid {
    border-left: 0;
  }

  .service-card {
    min-height: 224px;
    border-left: 1px solid var(--line);
  }

  .about__grid {
    gap: 48px;
  }

  .about__facts {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .experience {
    padding: 0 0 22px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .check-list {
    padding-left: 0;
  }

  .about-visual {
    min-height: 510px;
  }

  .about-visual__main {
    width: 84%;
    height: 440px;
  }

  .about-visual__secondary {
    width: 52%;
    height: 220px;
    border-width: 8px;
  }

  .review-card {
    right: 0;
    bottom: 150px;
    width: 175px;
    padding: 18px;
  }

  .about-visual__stamp {
    bottom: 0;
    left: 18px;
    width: 126px;
    height: 126px;
    border-width: 7px;
  }

  .about-visual__stamp strong {
    font-size: 34px;
  }

  .portfolio__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }

  .project-track {
    grid-auto-columns: 100%;
  }

  .project-card {
    height: 470px;
  }

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

  .quality-grid article {
    display: grid;
    min-height: 106px;
    grid-template-columns: 58px 1fr;
    align-items: center;
  }

  .quality-grid img {
    margin: 0;
  }

  .why-us__visual > img {
    height: 500px;
  }

  .satisfaction-badge {
    right: 16px;
    bottom: 28px;
    left: 16px;
    min-width: 0;
  }

  .stats {
    padding-bottom: 80px;
  }

  .stats__grid {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .stats article {
    justify-content: start;
    padding: 25px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .stats article:last-child {
    border-bottom: 0;
  }

  .testimonial-card {
    min-height: 0;
    padding: 32px 28px;
  }

  .testimonial-card > p {
    min-height: 0;
  }

  .contact-band__actions {
    width: 100%;
    align-items: flex-start;
    flex-direction: column;
  }

  .contact-band__actions .button {
    width: 100%;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer__grid > div:last-child {
    grid-column: auto;
  }

  .footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .quote-modal {
    padding: 38px 22px 28px;
  }

  .quote-form {
    grid-template-columns: 1fr;
  }

  .quote-form label:nth-child(4),
  .quote-form .button,
  .form-status {
    grid-column: auto;
  }

  .back-to-top {
    right: 16px;
    bottom: 16px;
  }
}

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

  .site-header.is-fixed,
  .hero::before,
  .hero__content .eyebrow,
  .hero__content h1,
  .hero__content .hero__copy,
  .hero__content .hero__actions,
  .hero__side-label {
    animation: none !important;
  }

  .motion-ready .reveal,
  .motion-ready .reveal.reveal-image,
  .motion-ready .reveal.is-revealed,
  .motion-ready .reveal.reveal-image.is-revealed {
    opacity: 1;
    clip-path: none;
    filter: none;
    transform: none;
    transition: opacity 180ms ease;
  }

  dialog,
  dialog.is-visible {
    filter: none;
    transform: none;
    transition: opacity 180ms ease;
  }

  .mobile-nav,
  .mobile-nav.is-open {
    transform: none;
    transition:
      opacity 180ms ease,
      visibility 0s linear;
  }

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