:root {
  --navy: #061a2f;
  --navy-2: #0a2746;
  --orange: #f45b0b;
  --orange-2: #ff7a18;
  --text: #101828;
  --muted: #5b6678;
  --line: #d9e1ea;
  --soft: #f4f7fa;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(2, 12, 27, 0.18);
  --radius: 22px;
  --container: 1180px;
  --header-offset: 94px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

button {
  cursor: pointer;
}

section {
  scroll-margin-top: var(--header-offset);
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  border-radius: 999px;
  padding: 12px 18px;
  background: var(--orange);
  color: var(--white);
  font-weight: 900;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

:focus-visible {
  outline: 3px solid rgba(244, 91, 11, 0.45);
  outline-offset: 3px;
}

.topbar {
  background: var(--navy);
  color: #d6e6f7;
  font-size: 13px;
  padding: 8px 0;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.topbar strong,
.topbar a {
  color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(10, 39, 70, 0.08);
  backdrop-filter: blur(16px);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 14px 40px rgba(2, 12, 27, 0.1);
}

.nav {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  color: var(--navy);
  font-weight: 950;
}

.brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  overflow: hidden;
  background: var(--navy);
  box-shadow: 0 12px 30px rgba(6, 26, 47, 0.18);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text span {
  display: block;
  font-size: 20px;
  line-height: 1;
}

.brand-text small {
  display: block;
  margin-top: 3px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 900;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--navy);
  font-size: 15px;
  font-weight: 850;
}

.nav-links a {
  position: relative;
  opacity: 0.86;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--orange);
  opacity: 1;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--orange);
  transition: width 0.2s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 14px 23px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-2));
  color: var(--white);
  box-shadow: 0 16px 34px rgba(244, 91, 11, 0.28);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.56);
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.14);
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: #eef3f8;
  color: var(--navy);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 5px auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

body.menu-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.menu-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.menu-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  color: var(--white);
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(90deg, rgba(3, 14, 27, 0.96) 0%, rgba(6, 26, 47, 0.86) 42%, rgba(6, 26, 47, 0.32) 78%),
    url("assets/hero-home.jpg?v=20260711-2") center / cover no-repeat,
    var(--navy);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 14, 27, 0.12), rgba(3, 14, 27, 0.28));
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 680px;
  padding: 104px 0 32px;
}

.eyebrow,
.tag {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #8bd7ff;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 2px;
  border-radius: 999px;
  background: var(--orange);
}

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

h1 {
  max-width: 850px;
  margin: 0 0 24px;
  font-size: clamp(44px, 6vw, 78px);
  line-height: 0.98;
  color: var(--white);
}

h1 span,
.estimate-copy h2 span {
  color: var(--orange);
}

.hero-lead {
  max-width: 620px;
  margin: 0 0 32px;
  color: #eaf2fb;
  font-size: 20px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  font-weight: 850;
}

.stars {
  color: #ffc83d;
  font-size: 20px;
  line-height: 1;
}

.trust-wrap {
  position: relative;
  z-index: 3;
  margin-top: 42px;
  padding-bottom: 44px;
}

.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(3, 18, 34, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}

.trust-item {
  min-height: 132px;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-item:last-child {
  border-right: 0;
}

.trust-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  color: var(--white);
}

.trust-icon svg {
  width: 40px;
  height: 40px;
}

.trust-item h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 15px;
  line-height: 1.2;
  text-transform: uppercase;
}

.trust-item p {
  margin: 0;
  color: #dbe6f2;
  font-size: 14px;
  line-height: 1.45;
}

.section {
  padding: 96px 0;
}

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

.section-dark {
  background: var(--navy);
  color: var(--white);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 40px;
}

.section-head h2,
.diff-text h2,
.estimate-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
}

.section-dark .section-head h2 {
  color: var(--white);
}

.lead {
  max-width: 640px;
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.section-dark .lead {
  color: #d9e6f4;
}

.estimate-section {
  padding: 0 0 96px;
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 34%, var(--soft) 34%, var(--soft) 100%);
}

.estimate-panel {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid rgba(217, 225, 234, 0.7);
  border-radius: 28px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.estimate-copy {
  position: relative;
  min-height: 100%;
  padding: 56px 56px 260px;
  overflow: hidden;
  background:
    radial-gradient(circle at 0 100%, rgba(244, 91, 11, 0.09), transparent 28%),
    var(--white);
}

.estimate-copy > * {
  position: relative;
  z-index: 1;
}

.estimate-copy::after {
  content: "";
  position: absolute;
  right: 48px;
  bottom: 0;
  z-index: 0;
  width: clamp(230px, 24vw, 330px);
  height: clamp(180px, 17vw, 245px);
  border-radius: 26px 26px 0 26px;
  background:
    linear-gradient(135deg, rgba(6, 26, 47, 0.16), rgba(244, 91, 11, 0.08)),
    url("assets/gallery-2.jpg?v=20260711-2") center 58% / cover no-repeat;
  opacity: 0.94;
  box-shadow: 0 22px 52px rgba(6, 26, 47, 0.16);
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%, 0 38%);
}

.estimate-copy h2 {
  margin-bottom: 18px;
}

.check-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 850;
}

.check-list span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--orange);
  border-radius: 999px;
  color: var(--orange);
  font-size: 13px;
}

.form-card {
  background: var(--white);
}

.form-card > h2 {
  margin: 0;
  padding: 26px 34px;
  background: var(--navy);
  color: var(--white);
  font-size: 16px;
  text-transform: uppercase;
}

form {
  display: grid;
  gap: 15px;
  padding: 34px;
}

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

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

.field {
  display: grid;
  gap: 8px;
}

label {
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 15px 16px;
  outline: none;
  background: var(--white);
  color: var(--text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

textarea {
  min-height: 134px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(244, 91, 11, 0.7);
  box-shadow: 0 0 0 4px rgba(244, 91, 11, 0.12);
}

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

.form-submit {
  width: fit-content;
}

.form-submit[disabled] {
  cursor: progress;
  opacity: 0.75;
  transform: none;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.form-status {
  margin: 0;
  border-radius: 14px;
  padding: 15px 17px;
  font-weight: 850;
}

.form-status.success {
  background: #e8f8ef;
  color: #116038;
}

.form-status.error {
  background: #fff1ed;
  color: #9a3412;
}

.services-pillar-head .lead {
  max-width: 560px;
}

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

.pillar-card {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: 30px;
  background: linear-gradient(135deg, #dfe6ef, #f7f9fb);
  box-shadow: 0 20px 60px rgba(6, 26, 47, 0.16);
  isolation: isolate;
}

.pillar-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.pillar-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(6, 26, 47, 0.04) 0%, rgba(6, 26, 47, 0.5) 45%, rgba(6, 26, 47, 0.88) 100%);
}

.pillar-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  pointer-events: none;
}

.pillar-content {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 34px;
  color: var(--white);
}

.mini-line {
  width: 46px;
  height: 4px;
  display: block;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--orange);
}

.pillar-card h3 {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}

.pillar-card p {
  max-width: 330px;
  margin: 0;
  color: #f4f7fb;
  font-size: 18px;
  line-height: 1.55;
}

.service-keywords {
  max-width: 920px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.service-areas-section {
  background: var(--white);
}

.service-areas-top {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: 48px;
  align-items: center;
  margin-bottom: 36px;
}

.service-areas-copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.05;
}

.service-areas-copy .lead {
  margin-top: 20px;
}

.service-map-shell {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 52px rgba(6, 26, 47, 0.12);
}

.service-map-card {
  height: 330px;
  overflow: hidden;
}

.service-map-card iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.service-map-action {
  display: flex;
  justify-content: flex-end;
  border-top: 1px solid var(--line);
  padding: 16px 18px;
}

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

.service-area-card {
  min-width: 0;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 20px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(6, 26, 47, 0.07);
}

.service-area-card h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.2;
}

.service-area-card small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.difference {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr;
  gap: 38px;
  align-items: center;
}

.diff-text h2 {
  margin-bottom: 18px;
}

.diff-text .lead {
  margin-bottom: 28px;
}

.diff-visual {
  display: grid;
  gap: 16px;
}

.before-after {
  position: relative;
  min-height: clamp(430px, 36vw, 540px);
  overflow: hidden;
  border: 12px solid var(--navy);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(6, 26, 47, 0.98), rgba(10, 39, 70, 0.96));
  box-shadow: 0 28px 78px rgba(2, 12, 27, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.08) inset;
  touch-action: none;
  user-select: none;
}

.ba-image {
  position: absolute;
  inset: 0;
  background-color: var(--navy);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}

.before-layer {
  z-index: 1;
}

.after-layer {
  z-index: 2;
  clip-path: inset(0 0 0 50%);
}

.before-after[data-project="interior"] .ba-image,
.before-after[data-project="stairs"] .ba-image {
  background-size: contain;
}

.before-after[data-project="interior"]::before,
.before-after[data-project="stairs"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(6, 26, 47, 0.55) 0%, transparent 18%, transparent 82%, rgba(6, 26, 47, 0.55) 100%),
    linear-gradient(180deg, rgba(6, 26, 47, 0.28) 0%, transparent 16%, transparent 84%, rgba(6, 26, 47, 0.28) 100%);
}

.ba-label {
  position: absolute;
  top: 18px;
  z-index: 8;
  border-radius: 999px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.ba-label.before {
  left: 18px;
  background: #111827;
  color: var(--white);
}

.ba-label.after {
  right: 18px;
  background: var(--orange);
  color: var(--white);
}

.divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 7;
  width: 3px;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(6, 26, 47, 0.08);
  transform: translateX(-50%);
}

.divider-handle {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 9;
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  font-size: 23px;
  font-weight: 950;
  cursor: ew-resize;
  transform: translate(-50%, -50%);
}

.project-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.project-option {
  border: 1px solid rgba(6, 26, 47, 0.15);
  border-radius: 999px;
  padding: 12px 16px;
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 8px 22px rgba(6, 26, 47, 0.08);
  font-weight: 900;
  text-align: left;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.project-option:hover {
  border-color: rgba(244, 91, 11, 0.35);
  transform: translateY(-2px);
}

.project-option.active {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 14px 32px rgba(6, 26, 47, 0.18);
}

.project-option span {
  display: block;
  margin-bottom: 2px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

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

.why-card {
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.05);
}

.why-card h3 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 18px;
}

.why-card p {
  margin: 0;
  color: #d6e6f7;
  line-height: 1.6;
}

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

.review {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px;
  background: var(--white);
  box-shadow: 0 12px 34px rgba(6, 26, 47, 0.07);
}

.review p {
  margin: 18px 0;
  color: #3c4658;
  font-size: 17px;
  line-height: 1.7;
}

.review strong {
  display: block;
  color: var(--navy);
}

.review small {
  color: var(--muted);
}

.reviews-action {
  margin-top: 34px;
  text-align: center;
}

.site-footer {
  padding: 56px 0 28px;
  background: #031426;
  color: #d7e5f4;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr 1fr 1fr 1.15fr;
  gap: 30px;
  margin-bottom: 36px;
}

.footer-brand {
  margin-bottom: 16px;
  color: var(--white);
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 17px;
}

.site-footer p,
.site-footer a,
.footer-list {
  color: #d7e5f4;
  line-height: 1.7;
}

.footer-links,
.footer-list,
.social-links {
  display: grid;
  gap: 9px;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-links {
  grid-template-columns: repeat(3, max-content);
  gap: 10px;
}

.social-links a {
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 13px;
}

.site-footer a:hover {
  color: var(--orange-2);
}

.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 22px;
  color: #9fb3c8;
  font-size: 14px;
}

.floating-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 18px 38px rgba(244, 91, 11, 0.34);
  animation: pulse 2.4s infinite;
}

.floating-contact svg {
  width: 30px;
  height: 30px;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.06);
  }
}

@media (max-width: 1080px) {
  .nav-links {
    gap: 18px;
  }

  .header-cta {
    padding-inline: 18px;
  }

  .estimate-panel,
  .difference {
    grid-template-columns: 1fr;
  }

  .estimate-copy {
    padding: 42px;
  }

  .estimate-copy::after {
    position: relative;
    right: auto;
    bottom: auto;
    display: block;
    width: min(100%, 320px);
    height: 230px;
    margin: 32px auto 0;
    border-radius: 26px;
    clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%, 0 32%);
  }

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

  .trust-item:nth-child(2) {
    border-right: 0;
  }

  .trust-item:nth-child(1),
  .trust-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

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

  .pillar-card,
  .pillar-content {
    min-height: 340px;
  }

  .service-areas-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

@media (max-width: 900px) {
  .topbar {
    display: none;
  }

  .nav {
    min-height: 76px;
  }

  .nav-links {
    position: fixed;
    left: 0;
    right: 0;
    top: 76px;
    z-index: 49;
    display: grid;
    gap: 0;
    padding: 10px 22px 22px;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 28px 50px rgba(6, 26, 47, 0.16);
    transform: translateY(-140%);
    transition: transform 0.25s ease;
  }

  body.menu-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    padding: 16px 0;
    border-bottom: 1px solid #edf1f5;
  }

  .nav-links a::after {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .section-head {
    display: grid;
    align-items: start;
  }

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

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding-top: 74px;
  }

  .project-options {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }

  .project-option {
    min-width: max-content;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  :root {
    --header-offset: 84px;
  }

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

  .nav {
    min-height: 70px;
    gap: 10px;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    border-radius: 14px;
  }

  .brand-text span {
    font-size: 16px;
  }

  .brand-text small {
    font-size: 8px;
  }

  .header-actions {
    gap: 8px;
  }

  .header-cta {
    min-height: 42px;
    padding: 11px 13px;
    font-size: 12px;
  }

  .nav-links {
    top: 70px;
  }

  .hero {
    background-position: center right;
  }

  .hero-content {
    padding: 56px 0 22px;
  }

  h1 {
    font-size: 43px;
    line-height: 1.02;
  }

  .hero-lead {
    font-size: 16px;
    line-height: 1.65;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .rating {
    font-size: 14px;
  }

  .trust-wrap {
    margin-top: 26px;
  }

  .trust-bar,
  .why-grid,
  .reviews-grid,
  .footer-grid,
  .two {
    grid-template-columns: 1fr;
  }

  .trust-bar {
    border-radius: 18px;
  }

  .trust-item {
    min-height: auto;
    padding: 22px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }

  .trust-item:last-child {
    border-bottom: 0;
  }

  .estimate-section {
    padding-bottom: 68px;
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy) 18%, var(--soft) 18%, var(--soft) 100%);
  }

  .estimate-copy {
    padding: 30px 22px;
  }

  .estimate-copy::after {
    width: min(100%, 280px);
    height: 210px;
    margin-top: 28px;
  }

  .form-card > h2,
  form {
    padding-inline: 22px;
  }

  .form-submit {
    width: 100%;
  }

  .section {
    padding: 68px 0;
  }

  .section-head h2,
  .diff-text h2,
  .estimate-copy h2,
  .service-areas-copy h2 {
    font-size: 36px;
  }

  .lead {
    font-size: 16px;
  }

  .pillar-card,
  .pillar-content {
    min-height: 320px;
  }

  .pillar-content {
    padding: 28px;
  }

  .pillar-card p {
    font-size: 16px;
  }

  .service-map-card {
    height: 260px;
  }

  .service-map-action .btn {
    width: 100%;
  }

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

  .service-area-card {
    min-height: 86px;
    padding: 16px;
  }

  .before-after {
    min-height: 360px;
    border-width: 8px;
    border-radius: 22px;
  }

  .divider-handle {
    width: 54px;
    height: 54px;
  }

  .social-links {
    grid-template-columns: 1fr;
  }

  .copyright {
    display: grid;
  }

  .floating-contact {
    right: 14px;
    bottom: 14px;
    width: 54px;
    height: 54px;
  }
}

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