:root {
  --ink: #202327;
  --muted: #5b636b;
  --line: #d8dee4;
  --soft: #f5f7f9;
  --white: #ffffff;
  --blue: #0b3d91;
  --red: #c1121f;
  --shadow: 0 18px 45px rgba(11, 61, 145, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 58px);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  font-weight: 800;
}

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
}

.nav a[aria-current="page"] {
  color: var(--blue);
  font-weight: 800;
}

.header-call,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 6px;
  font-weight: 800;
  white-space: nowrap;
}

.header-call {
  background: var(--blue);
  color: var(--white);
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  border: 2px solid var(--blue);
  color: var(--blue);
  background: var(--white);
}

.hero {
  min-height: 640px;
  display: grid;
  align-items: center;
  padding: 66px clamp(18px, 5vw, 74px);
  background:
    linear-gradient(90deg, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0.86) 36%, rgba(255,255,255,0.18) 72%),
    url("assets/hero-garage-door.png") center / cover no-repeat;
}

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

.hero-logo {
  display: block;
  width: min(250px, 66vw);
  margin-bottom: 22px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.16));
}

.eyebrow {
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin: 0 0 18px;
  max-width: 680px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.5vw, 46px);
  line-height: 1.08;
}

h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.16;
}

p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
}

.hero p {
  max-width: 560px;
  color: #384149;
  font-size: 21px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.trust-line {
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

section {
  padding: 62px clamp(18px, 5vw, 74px);
  scroll-margin-top: 92px;
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.intro {
  max-width: 830px;
  margin-bottom: 30px;
}

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

.grid-4,
.grid-3 {
  display: grid;
  gap: 16px;
}

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

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

.card,
.photo-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.card {
  min-height: 198px;
  padding: 22px;
}

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

.photo-card {
  overflow: hidden;
}

.photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--soft);
}

.photo-card h3 {
  padding: 16px 16px 4px;
}

.photo-card p {
  padding: 0 16px 18px;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.85fr);
  gap: 42px;
  align-items: start;
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  font-weight: 800;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--red);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--blue);
  background: var(--white);
  font-size: 13px;
  font-weight: 800;
}

.steps {
  counter-reset: step;
}

.step {
  border-left: 5px solid var(--blue);
  padding: 6px 18px;
}

.step strong {
  display: block;
  margin-bottom: 6px;
  font-size: 20px;
}

.cta {
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.cta p {
  max-width: 760px;
  margin: 0 auto;
  color: rgba(255,255,255,0.88);
}

.cta .button {
  margin-top: 24px;
  background: var(--white);
  color: var(--blue);
}

.page-hero {
  padding-top: 72px;
  padding-bottom: 44px;
  background: var(--soft);
}

.page-hero .section-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 34px;
  align-items: center;
}

.page-hero-logo {
  justify-self: end;
  width: 210px;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.13));
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 440px);
  gap: 36px;
  align-items: start;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-panel .actions {
  display: grid;
}

.detail-list {
  display: grid;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.detail-list strong {
  display: block;
  color: var(--ink);
}

.email-link {
  color: var(--blue);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 26px clamp(18px, 5vw, 74px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.site-footer .section-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
}

@media (max-width: 1120px) {
  .nav {
    display: none;
  }
}

@media (max-width: 920px) {
  .hero {
    min-height: auto;
    padding-top: 46px;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(255,255,255,0.88) 56%, rgba(255,255,255,0.22) 100%),
      url("assets/hero-garage-door.png") center / cover no-repeat;
  }

  .grid-4,
  .grid-3,
  .split,
  .contact-layout,
  .page-hero .section-inner {
    grid-template-columns: 1fr;
  }

  .page-hero-logo {
    justify-self: start;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 10px;
  }

  .brand img {
    width: 44px;
    height: 44px;
  }

  .brand span {
    max-width: 34vw;
  }

  .header-call {
    min-height: 40px;
    padding: 0 12px;
    font-size: 14px;
  }

  section {
    padding-top: 46px;
    padding-bottom: 46px;
  }
}
