:root {
  --black: #0b0d0f;
  --charcoal: #171c22;
  --steel: #39424e;
  --gray: #64707d;
  --line: #d9dee6;
  --surface: #f4f6f9;
  --white: #ffffff;
  --blue: #0547ff;
  --blue-dark: #0547ff;
  --blue-soft: #0547ff;
  --shadow: 0 18px 45px rgba(10, 18, 30, 0.12);
  --radius: 18px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--charcoal);
  background: var(--white);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  line-height: 1.55;
}
img {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button,
input,
textarea {
  font: inherit;
}

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}
.skip-link:focus {
  width: auto;
  height: auto;
  clip: auto;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  color: var(--white);
  background: var(--black);
}

.topbar {
  color: var(--white);
  background: var(--black);
  font-size: 0.9rem;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.45rem;
}
.topbar__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.topbar a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(23, 28, 34, 0.96);
  backdrop-filter: blur(14px);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 160px;
  gap: 1.5rem;
}
.brand img {
  width: 205px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav__links a {
  text-decoration: none;
}
.nav__links a:hover {
  color: var(--blue);
}
.nav-toggle {
  display: none;
}

.hero {
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(
      105deg,
      rgba(11, 13, 15, 0.95) 0%,
      rgba(11, 13, 15, 0.9) 40%,
      rgba(11, 13, 15, 0.1) 100%
    ),
    url("/assets/img/hero.webp") center/cover;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  min-height: 560px;
  padding-block: 4rem;
}
.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(2.5rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}
.hero p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}
.hero__media {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.hero__media img {
  width: 100%;
  height: 330px;
  object-fit: cover;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.section {
  padding-block: clamp(3rem, 6vw, 5rem);
}
.section--alt {
  background: var(--surface);
}
.section--dark {
  color: var(--white);
  background: linear-gradient(135deg, var(--black), #242b34);
}
.section h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(2rem, 3.8vw, 3.15rem);
  line-height: 1.05;
  letter-spacing: -0.045em;
}
.compact-heading {
  max-width: 100;
  margin-bottom: 1.8rem;
}
.compact-heading p:last-child {
  color: var(--gray);
  font-size: 1.03rem;
}
.section--dark .compact-heading p:last-child {
  color: rgba(255, 255, 255, 0.75);
}

.cards {
  display: grid;
  gap: 1rem;
}
.cards--services {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.card {
  min-width: 0;
  padding: 1.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 32px rgba(10, 18, 30, 0.06);
}
.card__icon {
  display: inline-grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-weight: 900;
}
.card h3,
.card__title {
  margin: 0 0 0.55rem;
  font-size: 1.25rem;
}
.card p {
  margin: 0;
  color: var(--steel);
}

.faq-list {
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 100;
}

.service-areas-cta {
  margin-top: 2rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.about-grid > img {
  margin-bottom: auto;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-grid p {
  color: var(--steel);
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 1.25rem;
}
.proof-grid div {
  padding: 1rem;
  border-radius: 14px;
  background: var(--surface);
}
.proof-grid strong,
.proof-grid span {
  display: block;
}
.proof-grid strong {
  color: var(--blue-dark);
  font-size: 1.05rem;
}
.proof-grid span {
  color: var(--steel);
  font-size: 0.88rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.video-card {
  min-width: 0;
}
.video-card__title {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.video-grid iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  background: var(--black);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.estimate {
  background: linear-gradient(135deg, #fff, var(--blue-soft));
}
.estimate-band {
  background: linear-gradient(
    130deg,
    var(--surface) 0%,
    #fff 30%,
    var(--blue-soft) 100%
  );
}
.estimate-band .section--alt,
.estimate-band .estimate {
  background: transparent;
}
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 3rem);
}
.contact-layout--fixed-contact {
  grid-template-columns: minmax(0, 1fr);
}
.contact-layout > div > p:not(.eyebrow) {
  max-width: 650px;
  color: var(--steel);
}
.contact-panel {
  position: sticky;
  top: 96px;
  padding: 1.5rem;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.contact-panel--fixed {
  position: fixed;
  top: var(--contact-panel-top, 160px);
  right: 24px;
  z-index: 30;
  width: min(360px, calc(100vw - 40px));
  max-height: calc(100vh - 120px);
  overflow: auto;
  background: var(--white);
}

.contact-panel--fixed.is-inline {
  position: static;
  width: auto;
  max-height: none;
  overflow: visible;
}
.contact-panel h2 {
  font-size: 1.8rem;
}
.contact-panel address {
  margin: 1rem 0;
  font-style: normal;
  color: var(--steel);
}
.contact-panel address a {
  color: var(--blue-dark);
  font-weight: 900;
  text-decoration: none;
}
.contact-panel hr {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

.form {
  display: grid;
  gap: 0.9rem;
  width: 100%;
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}
.form--compact {
  margin-top: 1.2rem;
  max-width: none;
}

.estimate .compact-heading {
  max-width: none;
}
.form--mini {
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}
.form label {
  display: grid;
  gap: 0.35rem;
  color: var(--steel);
  font-size: 0.9rem;
  font-weight: 800;
}
.form input,
.form select,
.form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd2dc;
  border-radius: 11px;
  padding: 0.78rem 0.9rem;
  color: var(--charcoal);
  background: var(--white);
}
.form textarea {
  resize: vertical;
}
.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 3px solid rgba(244, 123, 32, 0.22);
  border-color: var(--blue);
}
.form__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  font-weight: 800;
}
.form-status.is-success {
  color: #087443;
}
.form-status.is-error {
  color: #a12a1c;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 46px;
  padding: 0.78rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  text-decoration: none;
}
.button--primary {
  color: var(--white);
  background: var(--blue);
}
.button--primary:hover {
  background: var(--blue-dark);
}
.button--ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
}
.button--dark {
  color: var(--charcoal);
  border-color: var(--charcoal);
  background: transparent;
}

.footer {
  color: rgba(255, 255, 255, 0.74);
  background: var(--black);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 2rem;
  padding-block: 2.4rem;
}
.footer__logo {
  width: 190px;
  margin-bottom: 0.85rem;
}
.footer h2 {
  margin: 0 0 0.6rem;
  color: var(--white);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer p {
  margin: 0;
}
.footer a {
  text-decoration: none;
}
.footer a:hover {
  color: var(--blue);
}
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: 0.9rem;
  font-size: 0.9rem;
}

@media (max-width: 960px) {
  .hero__grid,
  .about-grid,
  .contact-layout,
  .footer__grid {
    grid-template-columns: 1fr;
  }
  .cards--services,
  .video-grid {
    grid-template-columns: 1fr;
  }
  .hero__grid {
    min-height: auto;
  }
  .hero__media img {
    height: 260px;
  }
  .contact-panel,
  .contact-panel--fixed {
    position: static;
    width: auto;
    max-height: none;
    overflow: visible;
  }
  .nav-toggle {
    display: grid;
    gap: 5px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    background: transparent;
  }
  .nav-toggle span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
  }
  .nav__links {
    position: absolute;
    inset: 76px 20px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border-radius: 16px;
    background: var(--charcoal);
    box-shadow: var(--shadow);
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a {
    padding: 0.65rem;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }
  .topbar__inner {
    flex-direction: column;
    gap: 0.1rem;
  }
  .brand img {
    width: 170px;
  }
  .section {
    padding-block: 2.5rem;
  }
  .hero__grid {
    padding-block: 3rem;
  }
  .hero h1 {
    font-size: clamp(2.25rem, 12vw, 3.3rem);
  }
  .hero__actions,
  .button {
    width: 100%;
  }
  .proof-grid,
  .form__row {
    grid-template-columns: 1fr;
  }
}
