:root {
  --ink: #171717;
  --muted: #5f6267;
  --line: #dedede;
  --paper: #ffffff;
  --soft: #f5f3ef;
  --charcoal: #101010;
  --accent: #e78332;
  --accent-dark: #bf5f17;
  --accent-soft: #fff1e5;
  --max: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

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

.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 1000;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--paper);
  clip: auto;
}

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

.legend-banner {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.1), transparent 20%, rgba(255, 255, 255, 0.16) 38%, transparent 55%),
    linear-gradient(135deg, #111 0%, #252018 42%, #e78332 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.legend-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.09) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
  pointer-events: none;
}

.legend-banner__inner {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}

.legend-banner p {
  margin: 0;
  font-size: clamp(15px, 2vw, 20px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.legend-banner strong {
  color: #ffe0bd;
  font-weight: 900;
}

.legend-banner__icon,
.legend-banner__icons {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: 0 0 auto;
}

.legend-banner svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: square;
  stroke-linejoin: miter;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.legend-banner__icon {
  width: 40px;
  height: 40px;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.legend-banner__icons svg:nth-child(1) {
  color: #fff;
}

.legend-banner__icons svg:nth-child(2) {
  color: #ffe0bd;
}

.legend-banner__icons svg:nth-child(3) {
  color: #111;
  stroke-width: 2.9;
}

.top-bar {
  background: var(--charcoal);
  color: #ffffff;
  font-size: 14px;
}

.top-bar__inner,
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.top-bar__inner {
  min-height: 42px;
  justify-content: center;
}

.top-bar__contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.top-bar a {
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header__inner {
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
  text-decoration: none;
  font-weight: 900;
}

.brand__name {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding-left: 14px;
  border-left: 6px solid var(--accent);
  color: var(--ink);
  font-size: clamp(20px, 2.4vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.brand__mark-img {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  background: var(--charcoal);
  color: #fff;
  border-bottom: 5px solid var(--accent);
  font-size: 14px;
  letter-spacing: 0.08em;
}

.brand__text {
  font-size: 20px;
  letter-spacing: 0.01em;
}

.brand--footer {
  width: fit-content;
  padding: 0;
  background: transparent;
  color: #fff;
}

.brand--footer .brand__mark {
  background: #fff;
  color: var(--charcoal);
}

.brand--footer .brand__name {
  color: #fff;
}

.brand--footer .brand__mark-img {
  background: #fff;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link,
.nav-link--button {
  padding: 12px 10px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.nav-item {
  position: relative;
}

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 270px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.dropdown a {
  display: block;
  padding: 11px 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 700;
}

.dropdown a:hover,
.dropdown a:focus {
  background: var(--accent-soft);
}

.nav-item--dropdown:hover .dropdown,
.nav-item--dropdown:focus-within .dropdown,
.nav-item--dropdown.is-open .dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 24px;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #111;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
  background: #f09a4f;
  border-color: #f09a4f;
}

.button--small {
  min-height: 42px;
  padding: 10px 16px;
  font-size: 13px;
}

.button--ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

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

.button--outline {
  background: transparent;
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
}

.nav-toggle.is-active {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px var(--accent);
}

.nav-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
}

.hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.hero__media,
.hero__overlay {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("/assets/elite-flooring-hero-poster.jpg");
  background-size: cover;
  background-position: center right;
  transform: scale(1.02);
}

.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
}

@media (prefers-reduced-motion: reduce) {
  .hero__video {
    display: none;
  }
}

.hero__overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.46) 48%, rgba(0, 0, 0, 0.25));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 920px;
  padding: 76px 0 68px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.13em;
  font-size: 13px;
}

.eyebrow--dark {
  color: var(--accent-dark);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1 {
  max-width: 900px;
  font-size: clamp(40px, 5.8vw, 72px);
  letter-spacing: 0;
}

h2 {
  font-size: clamp(32px, 4.8vw, 58px);
}

h3 {
  font-size: 22px;
}

.hero__copy {
  max-width: 720px;
  margin: 18px 0 0;
  color: #f2f2f2;
  font-size: clamp(17px, 1.8vw, 21px);
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.hero__meta {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #fff;
  font-weight: 800;
}

.hero__meta span,
.hero__meta strong {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.location-strip {
  background: var(--accent);
  color: #111;
}

.location-strip__inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  text-align: center;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.location-strip span {
  padding: 10px 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.18);
}

.location-strip span:last-child {
  border-right: 0;
}

.matching-section {
  background: #fff;
}

.matching-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.62fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 34px;
}

.matching-intro p {
  color: var(--muted);
  font-size: 18px;
}

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

.matching-card {
  min-height: 300px;
  padding: 28px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.matching-card span {
  display: block;
  margin-bottom: 60px;
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.matching-card p {
  color: var(--muted);
}

.matching-card--cta {
  background: var(--charcoal);
  color: #fff;
}

.matching-card--cta span,
.matching-card--cta p {
  color: #d8d8d8;
}

.matching-card--cta .button {
  width: 100%;
  min-height: 58px;
  margin-top: 14px;
  text-align: center;
}

.trust-section {
  padding: 34px 0;
  background: #161616;
  color: #fff;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}

.trust-card {
  min-height: 210px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-card__icon,
.service-card__icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 16px;
  background: var(--accent);
  color: #111;
}

.trust-card__icon svg,
.service-card__icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: square;
  stroke-linejoin: miter;
}

.trust-card h2 {
  font-size: 19px;
}

.trust-card p {
  margin: 10px 0 0;
  color: #d4d4d4;
  font-size: 15px;
}

.section {
  padding: 92px 0;
}

.section--light {
  background: var(--soft);
}

.section--compact {
  padding: 72px 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 64px;
  align-items: center;
}

.section-copy p {
  color: var(--muted);
  font-size: 18px;
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 2px solid currentColor;
}

.text-link--inline {
  display: inline;
  margin-top: 0;
}

.image-stack {
  position: relative;
}

.image-stack img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-badge {
  position: absolute;
  right: -20px;
  bottom: 28px;
  max-width: 270px;
  padding: 20px;
  background: var(--charcoal);
  color: #fff;
  border-left: 6px solid var(--accent);
}

.image-badge strong,
.image-badge span {
  display: block;
}

.image-badge span {
  color: #d6d6d6;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 38px;
}

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

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-grid--six {
  grid-template-columns: repeat(3, 1fr);
}

.feature-card {
  min-height: 270px;
  padding: 26px;
  background: #fff;
  border: 1px solid var(--line);
}

.feature-card__number {
  display: inline-block;
  margin-bottom: 26px;
  color: var(--accent-dark);
  font-size: 34px;
  font-weight: 900;
}

.feature-card p,
.review-card__author {
  color: var(--muted);
}

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

.reviews__intro p {
  color: var(--muted);
  font-size: 18px;
}

.review-card {
  padding: 38px;
  background: var(--charcoal);
  color: #fff;
  box-shadow: var(--shadow);
}

.review-grid {
  display: grid;
  gap: 16px;
}

.review-grid .review-card {
  padding: 28px;
  box-shadow: none;
}

.stars {
  color: var(--accent);
  font-size: 22px;
  letter-spacing: 0.08em;
}

blockquote {
  margin: 20px 0;
  font-size: 24px;
  line-height: 1.35;
}

.review-grid blockquote {
  margin: 14px 0;
  font-size: 19px;
}

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

.service-card {
  display: grid;
  grid-template-rows: 190px 1fr;
  min-height: 430px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card div {
  padding: 22px;
}

.service-card__body {
  display: flex;
  flex-direction: column;
}

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

.service-card__link {
  width: fit-content;
  margin-top: auto;
  color: var(--accent-dark);
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-bottom: 2px solid currentColor;
}

.project-types {
  background: #fff;
}

.project-types__header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

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

.type-list span {
  padding: 18px 20px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-weight: 900;
}

.cta-band {
  padding: 62px 0;
  background: var(--accent);
  color: #111;
}

.cta-band .eyebrow {
  color: #111;
}

.cta-band__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-band__inner p {
  margin-bottom: 0;
}

.cta-band .button {
  border-color: #111;
  background: #111;
  color: #fff;
}

.cta-band__actions,
.final-cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cta-band .button--outline {
  background: transparent;
  color: #111;
}

.cta-band .button--outline:hover,
.cta-band .button--outline:focus {
  background: #111;
  color: #fff;
}

.process-section {
  background: var(--charcoal);
  color: #fff;
}

.process {
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: 48px;
}

.process__intro p {
  color: #cfcfcf;
}

.process-list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: process;
}

.process-list li {
  position: relative;
  padding: 24px 24px 24px 88px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  counter-increment: process;
}

.process-list li::before {
  content: counter(process, decimal-leading-zero);
  position: absolute;
  left: 24px;
  top: 26px;
  color: var(--accent);
  font-size: 26px;
  font-weight: 900;
}

.process-list span {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.1em;
}

.process-list p {
  margin: 8px 0 0;
  color: #cfcfcf;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 auto 32px;
}

.gallery-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.gallery-chip.is-active,
.gallery-chip:hover,
.gallery-chip:focus {
  background: var(--charcoal);
  color: #fff;
  border-color: var(--charcoal);
}

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

figure {
  position: relative;
  margin: 0;
  min-height: 280px;
  overflow: hidden;
  background: #ddd;
}

figure.is-hidden,
figure[hidden] {
  display: none;
}

figure img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 220ms ease;
}

figure:hover img {
  transform: scale(1.04);
}

figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.78));
  color: #fff;
  font-weight: 900;
}

.final-cta {
  padding: 84px 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: #fff;
  text-align: center;
}

.final-cta__inner {
  max-width: 740px;
}

.final-cta__actions {
  justify-content: center;
  margin-top: 26px;
}

.final-cta p {
  color: #e5e5e5;
  font-size: 18px;
}

.site-footer {
  padding: 62px 0 24px;
  background: #0f0f0f;
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 38px;
}

.site-footer p {
  color: #c9c9c9;
}

.footer-grid h3 {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-grid a {
  display: block;
  margin: 9px 0;
  color: #e7e7e7;
  text-decoration: none;
}

.footer-grid a:hover,
.footer-grid a:focus {
  color: var(--accent);
}

.footer-contact a {
  display: inline;
}

.footer-audience {
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #c9c9c9;
  font-size: 14px;
}

.footer-bottom a {
  color: #c9c9c9;
  text-decoration: none;
}

.page-hero {
  padding: 92px 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.72)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80") center / cover;
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(40px, 6vw, 72px);
}

.page-hero p {
  max-width: 760px;
  color: #e8e8e8;
  font-size: 20px;
}

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

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

.content-card p {
  color: var(--muted);
}

.clean-list {
  display: grid;
  gap: 10px;
  margin: 14px 0 0;
  padding-left: 18px;
  color: var(--muted);
  font-weight: 800;
}

.inline-link-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.inline-link-grid a {
  display: block;
  padding: 15px 16px;
  background: var(--soft);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 900;
  text-decoration: none;
}

.inline-link-grid a:hover,
.inline-link-grid a:focus {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.keyword-summary-card {
  align-self: stretch;
  display: grid;
  align-content: center;
  min-height: 320px;
  background:
    linear-gradient(155deg, #101214 0%, #23303a 100%);
  color: #fff;
}

.keyword-summary-card p {
  color: #d8d8d8;
}

.keyword-summary-card h2 {
  color: #fff;
}

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

.keyword-card {
  display: grid;
  min-height: 300px;
  padding: 24px;
  border: 1px solid rgba(16, 18, 20, 0.09);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.keyword-card span {
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.keyword-card h2 {
  margin-top: 22px;
  font-size: 28px;
}

.keyword-card p {
  color: var(--muted);
}

.keyword-card .text-link {
  align-self: end;
  width: fit-content;
}

.estimate-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
}

.estimate-form label {
  display: grid;
  gap: 7px;
  font-weight: 900;
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cfcfcf;
  border-radius: 0;
  font: inherit;
}

.estimate-form input:focus,
.estimate-form select:focus,
.estimate-form textarea:focus {
  outline: 3px solid rgba(231, 131, 50, 0.28);
  border-color: var(--accent-dark);
}

.estimate-form textarea {
  min-height: 130px;
}

.form-field--hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  display: none;
  margin: 0;
  padding: 14px 16px;
  background: #111;
  color: #fff;
  font-weight: 800;
}

.form-status.is-visible {
  display: block;
}

@media (max-width: 1080px) {
  .service-grid,
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .service-card {
    min-height: 390px;
  }

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

@media (max-width: 860px) {
  .top-bar__inner {
    align-items: stretch;
    width: 100%;
    padding-left: 16px;
  }

  .top-bar__contacts {
    padding: 8px 0;
  }

  .header__inner {
    min-height: 74px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    padding: 14px 16px 20px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 28px rgba(0, 0, 0, 0.12);
  }

  .site-nav.is-open {
    display: grid;
    gap: 4px;
  }

  .nav-link,
  .nav-link--button,
  .site-nav .button {
    width: 100%;
    justify-content: flex-start;
  }

  .dropdown {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border: 0;
    border-left: 4px solid var(--accent);
    margin: 0 0 8px 8px;
  }

  .nav-item--dropdown.is-open .dropdown {
    display: block;
  }

  .hero {
    min-height: 640px;
  }

  .hero__content {
    padding: 72px 0;
  }

  .location-strip__inner,
  .type-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .matching-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

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

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

  .image-stack img {
    aspect-ratio: 16 / 11;
  }

  .image-badge {
    right: 18px;
  }

  .project-types__header,
  .cta-band__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .gallery-grid,
  .content-grid,
  .keyword-grid,
  .inline-link-grid {
    grid-template-columns: 1fr 1fr;
  }
}

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

  .brand__text {
    font-size: 17px;
  }

  .brand__mark {
    width: 42px;
    height: 42px;
  }

  .top-bar__contacts span {
    display: none;
  }

  .legend-banner__inner {
    min-height: 64px;
    gap: 10px;
    padding-block: 8px;
  }

  .legend-banner__icons {
    display: none;
  }

  .legend-banner__icon {
    width: 34px;
    height: 34px;
  }

  .legend-banner svg {
    width: 22px;
    height: 22px;
  }

  .legend-banner p {
    line-height: 1.25;
  }

  .top-bar__contacts {
    display: grid;
    gap: 2px;
    font-size: 12px;
  }

  .hero {
    min-height: 580px;
  }

  .hero__media {
    background-position: 45% center;
  }

  .hero__video {
    object-position: 45% center;
  }

  h1 {
    font-size: 38px;
  }

  .hero__overlay {
    background: rgba(0, 0, 0, 0.72);
  }

  .hero__actions,
  .hero__meta,
  .cta-band__actions,
  .final-cta__actions {
    display: grid;
  }

  .button,
  .button--ghost,
  .button--outline {
    width: 100%;
  }

  .section {
    padding: 64px 0;
  }

  .service-grid,
  .feature-grid,
  .trust-grid,
  .matching-grid,
  .gallery-grid,
  .content-grid,
  .keyword-grid,
  .inline-link-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;
  }

  .location-strip__inner,
  .type-list {
    grid-template-columns: 1fr;
  }

  .location-strip span {
    border-right: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.18);
  }

  .process-list li {
    padding-left: 24px;
  }

  .process-list li::before {
    position: static;
    display: block;
    margin-bottom: 8px;
  }

  .footer-bottom {
    display: grid;
  }
}

/* Premium polish layer */
:root {
  --ink: #151617;
  --muted: #60646b;
  --line: #ddd7cf;
  --paper: #ffffff;
  --soft: #f6f1e9;
  --charcoal: #101214;
  --accent: #f08a2a;
  --accent-dark: #b85c14;
  --accent-soft: #fff3e4;
  --steel: #23303a;
  --sage: #52685c;
  --radius: 8px;
  --max: 1240px;
  --shadow: 0 28px 70px rgba(18, 20, 22, 0.16);
  --shadow-soft: 0 18px 44px rgba(18, 20, 22, 0.09);
}

body {
  background: #fbfaf8;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.container {
  width: min(100% - 40px, var(--max));
}

.legend-banner {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 28%, rgba(255, 255, 255, 0.12) 54%, transparent 76%),
    linear-gradient(135deg, #111315 0%, #26333a 48%, #f08a2a 100%);
}

.legend-banner__inner {
  min-height: 48px;
}

.legend-banner p {
  font-size: clamp(13px, 1.6vw, 17px);
  letter-spacing: 0;
}

.legend-banner__icon {
  border-radius: 999px;
}

.top-bar {
  background: #0c0e10;
  color: #f6f1e9;
}

.top-bar__inner {
  justify-content: flex-end;
}

.top-bar__contacts {
  gap: 14px;
  font-weight: 800;
}

.top-bar a:hover,
.top-bar a:focus {
  color: #ffd9ad;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 18, 20, 0.08);
  box-shadow: 0 12px 38px rgba(16, 18, 20, 0.06);
}

.header__inner {
  min-height: 76px;
}

.brand__mark-img {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}

.brand__name {
  min-height: 38px;
  border-left-width: 4px;
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: 0;
}

.nav-link,
.nav-link--button {
  border-radius: 6px;
  letter-spacing: 0;
}

.nav-link:hover,
.nav-link:focus,
.nav-link--button:hover,
.nav-link--button:focus {
  background: var(--accent-soft);
}

.dropdown {
  border-radius: var(--radius);
  box-shadow: 0 26px 70px rgba(16, 18, 20, 0.17);
}

.dropdown a {
  border-radius: 6px;
}

.button {
  border-radius: 6px;
  box-shadow: 0 12px 26px rgba(184, 92, 20, 0.2);
  letter-spacing: 0;
}

.button--ghost,
.button--outline {
  box-shadow: none;
}

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

.hero {
  min-height: 760px;
  background: var(--charcoal);
}

.hero__media {
  transform: none;
}

.hero__video {
  filter: saturate(1.05) contrast(1.05);
}

.hero__overlay {
  background:
    linear-gradient(90deg, rgba(7, 9, 10, 0.92), rgba(7, 9, 10, 0.7) 42%, rgba(7, 9, 10, 0.28) 76%),
    linear-gradient(0deg, rgba(7, 9, 10, 0.72), transparent 42%);
}

.hero__content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  gap: 54px;
  align-items: center;
  max-width: var(--max);
  padding: 96px 0 52px;
}

.hero__main {
  max-width: 840px;
}

.hero h1 {
  max-width: 850px;
  font-size: clamp(46px, 6.3vw, 82px);
  letter-spacing: 0;
}

.hero__copy {
  max-width: 790px;
  color: rgba(255, 255, 255, 0.9);
}

.hero__actions {
  margin-top: 30px;
}

.hero__meta {
  gap: 10px;
  margin-top: 24px;
}

.hero__meta span,
.hero__meta strong {
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(12px);
}

.hero-panel {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.17), rgba(255, 255, 255, 0.08)),
    rgba(16, 18, 20, 0.72);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(18px);
}

.hero-panel h2 {
  max-width: 340px;
  font-size: 30px;
}

.hero-panel__list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.hero-panel__list li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 750;
}

.hero-panel__list span {
  display: inline-grid;
  place-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: rgba(240, 138, 42, 0.18);
  color: #ffd0a0;
  font-size: 12px;
  font-weight: 900;
}

.hero-panel__contact {
  display: grid;
  gap: 2px;
  margin: 22px 0;
  padding: 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}

.hero-panel__contact span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-panel__contact a {
  color: #fff;
  font-size: 26px;
  font-weight: 950;
  text-decoration: none;
}

.hero-panel .button {
  width: 100%;
}

.hero-service-ribbon {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  padding-top: 6px;
}

.hero-service-ribbon span {
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.location-strip {
  background: #fbf6ef;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.location-strip__inner {
  min-height: 96px;
  gap: 1px;
  text-transform: none;
  letter-spacing: 0;
}

.location-strip span {
  display: grid;
  gap: 2px;
  align-content: center;
  min-height: 96px;
  border-color: rgba(16, 18, 20, 0.1);
  color: var(--muted);
}

.location-strip strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
}

.section {
  padding: 104px 0;
}

.section--light {
  background:
    linear-gradient(180deg, #fbf7f0, #f2ede5);
}

.matching-section {
  background:
    linear-gradient(180deg, #fff 0%, #fff 48%, #f7f2ea 48%, #f7f2ea 100%);
}

.matching-intro {
  margin-bottom: 42px;
}

.matching-grid {
  gap: 14px;
  border: 0;
}

.matching-card {
  min-height: 316px;
  border: 1px solid rgba(16, 18, 20, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.matching-card:hover {
  transform: translateY(-4px);
  border-color: rgba(240, 138, 42, 0.55);
  box-shadow: var(--shadow);
}

.matching-card span {
  margin-bottom: 46px;
}

.matching-card--cta {
  background:
    linear-gradient(160deg, #101214 0%, #23303a 74%, #2d241c 100%);
}

.trust-section {
  padding: 44px 0;
  background:
    linear-gradient(135deg, #101214 0%, #1e282f 58%, #16130f 100%);
}

.trust-grid {
  gap: 14px;
}

.trust-card {
  min-height: 190px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-card__icon,
.service-card__icon {
  border-radius: 6px;
}

.split {
  gap: 74px;
}

.section-copy h2,
.section-heading h2,
.reviews__intro h2,
.process__intro h2 {
  max-width: 900px;
}

.image-stack img {
  border-radius: var(--radius);
}

.image-badge {
  right: 22px;
  border-left: 0;
  border-radius: var(--radius);
  background: rgba(16, 18, 20, 0.92);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
}

.feature-grid,
.service-grid,
.review-grid,
.content-grid {
  gap: 22px;
}

.feature-card,
.content-card,
.review-card {
  border-radius: var(--radius);
}

.feature-card,
.content-card {
  border-color: rgba(16, 18, 20, 0.09);
  box-shadow: var(--shadow-soft);
}

.feature-card {
  min-height: 245px;
}

.feature-card__number {
  margin-bottom: 18px;
  font-size: 28px;
}

.reviews-section {
  background: #fff;
}

.review-card {
  background:
    linear-gradient(155deg, #101214 0%, #1e282f 100%);
}

.service-grid {
  align-items: stretch;
}

.service-card {
  overflow: hidden;
  border: 1px solid rgba(16, 18, 20, 0.09);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.service-card img {
  transition: transform 260ms ease;
}

.service-card:hover img {
  transform: scale(1.04);
}

.service-card__body {
  position: relative;
}

.service-card__body::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 180ms ease;
}

.service-card:hover .service-card__body::before {
  opacity: 1;
}

.service-card p {
  line-height: 1.5;
}

@media (min-width: 1081px) {
  .service-card:nth-child(1),
  .service-card:nth-child(3) {
    grid-column: span 2;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
    grid-template-rows: 1fr;
    min-height: 360px;
  }
}

.type-list {
  gap: 12px;
  border: 0;
}

.type-list span {
  border: 1px solid rgba(16, 18, 20, 0.1);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(16, 18, 20, 0.05);
}

.cta-band {
  background:
    linear-gradient(135deg, #101214 0%, #202b32 62%, #f08a2a 62%, #f08a2a 100%);
  color: #fff;
}

.cta-band .eyebrow,
.cta-band__inner p {
  color: rgba(255, 255, 255, 0.82);
}

.cta-band .button {
  background: #fff;
  border-color: #fff;
  color: #111;
}

.cta-band .button--outline {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.72);
}

.process-section {
  background:
    linear-gradient(135deg, #101214 0%, #1d252b 54%, #17130f 100%);
}

.process-list li {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.075);
}

.gallery-chip {
  border-radius: 999px;
}

.gallery-grid {
  grid-auto-flow: dense;
}

.gallery-grid figure {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

@media (min-width: 861px) {
  .gallery-grid figure:first-child {
    grid-row: span 2;
  }

  .gallery-grid figure:first-child img {
    min-height: 576px;
  }
}

.final-cta {
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.9), rgba(10, 12, 14, 0.62)),
    url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.site-footer {
  background:
    linear-gradient(180deg, #111315, #08090a);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 112px 0;
  background:
    linear-gradient(90deg, rgba(10, 12, 14, 0.9), rgba(10, 12, 14, 0.58)),
    url("https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80") center / cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--accent), var(--sage), var(--steel));
}

.estimate-form {
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.estimate-form input,
.estimate-form select,
.estimate-form textarea {
  border-radius: 6px;
}

@media (max-width: 1080px) {
  .hero__content {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-panel {
    max-width: 640px;
  }

  .service-card:nth-child(1),
  .service-card:nth-child(3) {
    grid-column: auto;
    grid-template-columns: 1fr;
    grid-template-rows: 190px 1fr;
    min-height: 390px;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  .top-bar__inner {
    justify-content: center;
    padding-left: 0;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 76px 0 42px;
  }

  .hero-panel {
    padding: 24px;
  }

  .location-strip__inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .location-strip span {
    border-bottom: 1px solid rgba(16, 18, 20, 0.1);
  }

  .section {
    padding: 78px 0;
  }

  .cta-band {
    background: #101214;
  }
}

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

  .brand {
    gap: 9px;
  }

  .brand__mark-img {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .brand__name {
    min-height: 32px;
    padding-left: 10px;
    font-size: 17px;
  }

  .hero h1 {
    font-size: 34px;
  }

  .hero__content {
    padding: 58px 0 34px;
  }

  .hero__copy {
    font-size: 16px;
  }

  .hero__meta {
    display: grid;
  }

  .hero-service-ribbon {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .hero__meta span,
  .hero__meta strong {
    width: 100%;
    border-radius: 6px;
  }

  .hero-service-ribbon span {
    width: 100%;
    border-radius: 6px;
    text-align: center;
  }

  .hero-panel {
    padding: 20px;
  }

  .hero-panel h2 {
    font-size: 25px;
  }

  .hero-panel__list {
    gap: 10px;
    margin: 18px 0;
  }

  .hero-panel__contact a {
    font-size: 22px;
  }

  .location-strip__inner {
    grid-template-columns: 1fr;
  }

  .location-strip span {
    min-height: 78px;
    border-right: 0;
  }

  .matching-card {
    min-height: auto;
  }

  .matching-card span {
    margin-bottom: 26px;
  }

  .gallery-grid figure:first-child img {
    min-height: 280px;
  }
}
