:root {
  --red: #c7202c;
  --red-dark: #9f1720;
  --black: #111214;
  --charcoal: #1a1c1f;
  --gray-dark: #42474d;
  --gray: #6b7178;
  --gray-light: #e3e5e7;
  --off-white: #f5f5f4;
  --white: #ffffff;
  --max-width: 1180px;
  --shadow: 0 24px 60px rgba(0, 0, 0, .18);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--black);
  background: var(--white);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
}

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

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

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

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

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(17,18,20,.08);
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  width: 235px;
  flex: 0 0 auto;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-left: auto;
}

.main-menu a {
  color: rgba(255, 255, 255, .8);
  font-size: .95rem;
  font-weight: 700;
}

.main-menu a:hover {
  color: var(--white);
}

.menu-button {
  display: none;
  margin-left: auto;
  border: 0;
  background: transparent;
  padding: 8px;
}

.menu-button span:not(.screen-reader-text) {
  display: block;
  width: 26px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--red);
  border-radius: 4px;
  padding: 0 24px;
  color: var(--white);
  background: var(--red);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

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

.button-small {
  min-height: 43px;
  padding-inline: 18px;
  font-size: .78rem;
}

.button-outline {
  border-color: rgba(255, 255, 255, .55);
  background: transparent;
}

.button-outline:hover {
  border-color: var(--white);
  color: var(--black);
  background: var(--white);
}

.button-full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(9, 10, 12, .97) 0%, rgba(20, 22, 25, .9) 58%, rgba(199, 32, 44, .46) 100%),
    repeating-linear-gradient(135deg, #2a2d31 0 18px, #202327 18px 36px);
}

.hero::after {
  content: "";
  position: absolute;
  right: -130px;
  top: 60px;
  width: 470px;
  height: 470px;
  border: 76px solid rgba(199, 32, 44, .13);
  transform: rotate(14deg);
}

.hero-lines {
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.25) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.25) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, black 60%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr .62fr;
  gap: 80px;
  align-items: center;
  padding-block: 90px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.hero-card h2 {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.03;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(3.6rem, 7.2vw, 6.6rem);
}

.hero h1 span {
  color: transparent;
  -webkit-text-stroke: 2px var(--white);
}

.hero-copy {
  max-width: 720px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, .76);
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 690px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.trust-grid div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-right: 20px;
}

.trust-grid strong {
  font-size: 1rem;
}

.trust-grid span {
  color: rgba(255,255,255,.58);
  font-size: .84rem;
}

.hero-card {
  padding: 40px;
  border-top: 5px solid var(--red);
  border-radius: 4px;
  color: var(--black);
  background: var(--white);
  box-shadow: var(--shadow);
}

.card-label {
  margin: 0 0 10px;
  color: var(--red);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.hero-card h2 {
  font-size: 2.35rem;
}

.hero-card p:not(.card-label) {
  margin: 18px 0 25px;
  color: var(--gray);
}

.hero-card small {
  display: block;
  margin-top: 18px;
  color: var(--gray);
  text-align: center;
}

.section {
  padding-block: 105px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 48px;
}

.section h2 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 20px 0 0;
  color: var(--gray);
  font-size: 1.05rem;
}

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

.service-card {
  min-height: 270px;
  position: relative;
  padding: 34px;
  border-right: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
  transition: transform .2s ease, box-shadow .2s ease;
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.09);
}

.service-card span {
  color: var(--red);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.service-card h3 {
  margin: 46px 0 12px;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.55rem;
  text-transform: uppercase;
}

.service-card p {
  margin: 0;
  color: var(--gray);
}

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

.about-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 100px;
  align-items: start;
}

.about-copy {
  padding-top: 6px;
}

.about-copy p {
  margin: 0 0 22px;
  color: rgba(255,255,255,.68);
  font-size: 1.08rem;
}

.text-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--white);
  font-weight: 800;
  border-bottom: 2px solid var(--red);
}

.heading-row {
  max-width: none;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 30px;
}

.gallery-note {
  max-width: 360px;
  margin: 0;
  color: var(--gray);
}

.project-section {
  background: #f7f7f6;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
}

.project-card {
  grid-column: span 6;
  overflow: hidden;
  border: 1px solid var(--gray-light);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .07);
  transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, .12);
}

.project-featured {
  grid-column: span 8;
}

.project-tall {
  grid-column: span 4;
}

.project-card img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #202225;
}

.project-featured img {
  height: 540px;
}

.project-tall img {
  height: 540px;
}

.project-info {
  padding: 22px 24px 24px;
}

.project-info h3 {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.32rem;
  text-transform: uppercase;
}

.project-info p {
  margin: 4px 0 0;
  color: var(--gray);
  font-size: .9rem;
}

.estimate-section {
  background: var(--off-white);
}

.estimate-grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 85px;
  align-items: start;
}

.estimate-copy > p:not(.eyebrow) {
  color: var(--gray);
}

.location-card {
  margin-top: 32px;
  padding: 22px 24px;
  border-left: 4px solid var(--red);
  background: var(--white);
}

.location-card strong,
.location-card span {
  display: block;
}

.location-card span {
  color: var(--gray);
}

.estimate-form {
  padding: 38px;
  border-top: 5px solid var(--red);
  background: var(--white);
  box-shadow: 0 18px 50px rgba(0,0,0,.09);
}

.estimate-form label {
  display: block;
  margin-bottom: 18px;
  color: var(--black);
  font-size: .86rem;
  font-weight: 800;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

input,
select,
textarea {
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cfd2d5;
  border-radius: 3px;
  padding: 13px 14px;
  color: var(--black);
  background: var(--white);
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(199,32,44,.12);
}

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

.form-status {
  min-height: 24px;
  margin: 12px 0 0;
  color: var(--gray);
  font-size: .88rem;
}

.summary-box {
  margin-top: 18px;
  border: 1px solid var(--gray-light);
  background: #fafafa;
}

.summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid var(--gray-light);
}

.summary-header button {
  border: 0;
  color: var(--red);
  background: transparent;
  font-weight: 800;
  cursor: pointer;
}

.summary-box pre {
  margin: 0;
  padding: 16px;
  white-space: pre-wrap;
  font-family: "Inter", Arial, sans-serif;
  font-size: .88rem;
}

.site-footer {
  padding-top: 70px;
  color: rgba(255,255,255,.7);
  background: #101113;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr .75fr .75fr;
  gap: 70px;
  padding-bottom: 50px;
}

.footer-logo {
  width: 275px;
  margin-bottom: 18px;
}

.site-footer h3 {
  margin: 0 0 15px;
  color: var(--white);
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.08rem;
  text-transform: uppercase;
}

.site-footer p,
.site-footer a {
  display: block;
  margin: 0 0 8px;
}

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

.copyright {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-block: 22px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
}

@media (max-width: 980px) {
  .desktop-cta {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .main-menu {
    display: none;
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    padding: 18px 20px 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--black);
    border-top: 1px solid rgba(255,255,255,.08);
  }

  .main-menu.open {
    display: flex;
  }

  .main-menu a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }

  .hero-grid,
  .about-grid,
  .estimate-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .hero-card {
    max-width: 620px;
  }

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

  .project-card,
  .project-featured,
  .project-tall {
    grid-column: span 6;
  }

  .project-card img,
  .project-featured img,
  .project-tall img {
    height: 410px;
  }
}

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

  .nav {
    min-height: 72px;
  }

  .brand {
    width: 205px;
  }

  .main-menu {
    top: 72px;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-block: 72px;
  }

  .hero h1 {
    font-size: clamp(3.05rem, 15vw, 4.6rem);
  }

  .hero h1 span {
    -webkit-text-stroke-width: 1.2px;
  }

  .hero-card {
    padding: 28px;
  }

  .hero-card h2 {
    font-size: 2rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .trust-grid div {
    padding: 0;
  }

  .section {
    padding-block: 76px;
  }

  .service-grid,
  .field-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .heading-row {
    display: block;
  }

  .gallery-note {
    margin-top: 15px;
  }

  .project-card,
  .project-featured,
  .project-tall {
    grid-column: 1 / -1;
  }

  .project-card img,
  .project-featured img,
  .project-tall img {
    height: 340px;
  }

  .estimate-form {
    padding: 26px 20px;
  }

  .footer-grid {
    gap: 35px;
  }

  .copyright {
    flex-direction: column;
  }
}

.phone-link {
  display: block;
  margin: 18px 0 0;
  color: var(--red);
  font-size: 1.05rem;
  font-weight: 800;
  text-align: center;
}

.phone-link:hover,
.location-card a:hover,
.form-note a:hover {
  color: var(--red-dark);
}

.location-card a {
  display: block;
  margin: 4px 0;
  color: var(--red);
  font-weight: 800;
}

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

.form-note {
  margin: 14px 0 0;
  color: var(--gray);
  font-size: .9rem;
  text-align: center;
}

.form-note a {
  color: var(--red);
  font-weight: 800;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(120deg, rgba(9, 10, 12, .97), rgba(20, 22, 25, .91)),
    repeating-linear-gradient(135deg, #2a2d31 0 18px, #202327 18px 36px);
}

.thank-you-card {
  width: min(100%, 680px);
  padding: 46px;
  border-top: 5px solid var(--red);
  color: var(--black);
  background: var(--white);
  box-shadow: var(--shadow);
}

.thank-you-card img {
  width: 320px;
  max-width: 100%;
  margin-bottom: 35px;
  padding: 16px;
  background: var(--black);
}

.thank-you-card h1 {
  margin: 0;
  font-family: "Oswald", Impact, sans-serif;
  font-size: clamp(2.6rem, 8vw, 4.5rem);
  line-height: 1;
  text-transform: uppercase;
}

.thank-you-card p {
  color: var(--gray);
}

.thank-you-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}


/* Overrides for provided logo and expanded services */
.brand {
  width: 260px;
}
.site-header {
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(17,18,20,.08);
}
.main-menu a {
  color: var(--black);
}
.main-menu a:hover {
  color: var(--red);
}
.menu-button span:not(.screen-reader-text) {
  background: var(--black);
}
@media (max-width: 980px) {
  .main-menu {
    background: var(--white);
    border-top: 1px solid rgba(17,18,20,.08);
  }
  .main-menu a {
    border-bottom: 1px solid rgba(17,18,20,.08);
  }
}
.hero {
  padding-top: 10px;
}
.footer-logo {
  width: 240px;
}
.thank-you-card img {
  width: 300px;
  padding: 0;
  background: transparent;
}


/* Licensing and insurance credentials */
.credential-strip {
  position: relative;
  z-index: 5;
  border-bottom: 1px solid var(--gray-light);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .06);
}

.credential-grid {
  min-height: 112px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 28px;
  border-right: 1px solid var(--gray-light);
}

.credential-item:first-child {
  border-left: 1px solid var(--gray-light);
}

.credential-check {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--red);
  font-size: 1.05rem;
  font-weight: 900;
}

.credential-item strong,
.credential-item span {
  display: block;
}

.credential-item strong {
  font-family: "Oswald", Impact, sans-serif;
  font-size: 1.03rem;
  line-height: 1.25;
  text-transform: uppercase;
}

.credential-item div > span {
  margin-top: 3px;
  color: var(--gray);
  font-size: .8rem;
}

.credential-line {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--gray-light);
  color: var(--black) !important;
  font-size: .82rem;
  font-weight: 800;
}

.footer-credential {
  max-width: 360px;
  color: var(--white) !important;
  font-size: .85rem;
  font-weight: 800;
}

@media (max-width: 820px) {
  .credential-grid {
    grid-template-columns: 1fr;
    padding-block: 8px;
  }

  .credential-item,
  .credential-item:first-child {
    min-height: 86px;
    padding: 18px 14px;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--gray-light);
  }

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