:root {
  --orange: #ff881c;
  --orange-dark: #e56f06;
  --ink: #202020;
  --muted: #656565;
  --line: #e8e8e8;
  --footer: #514a48;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Montserrat", Arial, sans-serif;
  background: #fff;
}

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

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

.top-strip {
  height: 34px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--orange);
  font-size: 12px;
  font-weight: 600;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px 30px;
  padding: 13px min(8vw, 320px) 11px;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  line-height: 1;
}

.logo strong,
.footer-logo strong {
  display: block;
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 0;
}

.logo em,
.footer-logo em {
  display: block;
  font-style: normal;
  font-weight: 700;
  color: #555;
}

.logo small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: #777;
}

.roof-mark {
  position: relative;
  width: 50px;
  height: 34px;
  border-left: 5px solid var(--orange);
  border-top: 5px solid var(--orange);
  transform: rotate(45deg) skew(-8deg, -8deg);
}

.call-line {
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  gap: 27px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.main-nav a {
  padding: 8px 0;
}

.menu-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 865px;
  color: #fff;
  background: url("assets/hero-roof.jpg") center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 500px;
  align-items: center;
  gap: 76px;
  width: min(1110px, calc(100% - 36px));
  margin: 0 auto;
  padding: 70px 0;
}

.hero-copy h1 {
  max-width: 520px;
  margin: 0;
  color: var(--orange);
  font-size: 55px;
  line-height: 0.96;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-copy p {
  margin: 18px 0 20px;
  color: #ffaf5b;
  font-size: 17px;
  font-weight: 700;
}

.primary-cta,
.contact-bar a,
.quote-form button {
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-transform: uppercase;
}

.primary-cta {
  display: inline-flex;
  padding: 14px 25px;
  color: #fff;
  background: var(--orange);
  box-shadow: var(--shadow);
}

.quote-form {
  width: 100%;
  padding: 35px 33px 31px;
  color: var(--ink);
  background: #fff;
  box-shadow: var(--shadow);
}

.quote-form h2 {
  margin: 0 0 24px;
  color: var(--orange);
  font-size: 24px;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.quote-form label {
  display: block;
  margin-bottom: 12px;
  color: #222;
  font-size: 10px;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 18px;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 43px;
  margin-top: 6px;
  border: 1px solid #e8e8e8;
  border-radius: 2px;
  padding: 0 12px;
  color: #444;
  font: 12px "Montserrat", Arial, sans-serif;
  background: #fafafa;
}

.quote-form textarea {
  min-height: 92px;
  padding-top: 10px;
  resize: vertical;
}

.quote-form button {
  display: block;
  min-width: 120px;
  margin: 15px auto 0;
  padding: 13px 28px;
  color: #fff;
  background: #4285f4;
  text-transform: none;
}

.contact-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 200px;
  padding: 24px 24px;
  color: #fff;
  background: var(--orange);
}

.contact-bar strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-bar span {
  display: block;
  font-size: 14px;
  font-weight: 700;
}

.contact-bar a {
  padding: 15px 38px;
  color: var(--ink);
  background: #fff;
}

.content-section {
  width: min(1100px, calc(100% - 34px));
  margin: 0 auto;
  padding: 58px 0;
}

.content-section h2,
.services h2,
.why h2,
.youtube-band h2 {
  margin: 0 0 34px;
  font-size: 34px;
  line-height: 1.05;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 54px;
  margin-bottom: 45px;
}

.two-col p,
.center-copy p,
.benefits p,
.location p {
  color: #333;
  font-size: 14px;
  line-height: 1.65;
  font-weight: 500;
}

.two-col img {
  width: 100%;
  aspect-ratio: 1.27 / 1;
  object-fit: cover;
}

.youtube-band {
  padding: 58px 20px 70px;
  color: #fff;
  background: linear-gradient(#ff8d20 0 55%, #ff970f 55% 100%);
}

.youtube-band h2 {
  color: #fff;
  margin-bottom: 26px;
}

.video-card {
  position: relative;
  display: block;
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  background: #111;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-card img {
  width: 100%;
  height: 365px;
  object-fit: cover;
  opacity: 0.86;
}

.play-button {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 70px;
  height: 48px;
  border-radius: 14px;
  background: #ff1d1d;
  transform: translate(-50%, -50%);
}

.play-button::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 27px;
  border: 11px solid transparent;
  border-left-color: #fff;
}

.services {
  padding-bottom: 86px;
}

.service-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.service-grid article {
  flex: 1 1 300px;
  max-width: 350px;
  overflow: hidden;
  min-height: 275px;
  border: 1px solid #d6d6d6;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 5px 14px rgba(0, 0, 0, 0.18);
}

/* Removed manual positioning for centering */

.service-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.service-grid h3 {
  display: grid;
  min-height: 86px;
  place-items: center;
  margin: 0;
  padding: 10px 15px;
  font-size: 13px;
  line-height: 1.2;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.why {
  padding: 58px 20px 78px;
  color: #fff;
  background: var(--orange);
}

.why h2 {
  color: #fff;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 560px));
  gap: 16px;
  justify-content: center;
  width: min(1130px, 100%);
  margin: 0 auto;
}

.why-grid article {
  min-height: 205px;
  padding: 34px 40px;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  text-align: center;
}

.why-grid span {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid var(--orange);
  border-radius: 50%;
  color: var(--orange);
  font-size: 24px;
  font-weight: 800;
}

.why-grid h3 {
  margin: 22px 0 12px;
  font-size: 16px;
}

.why-grid p {
  margin: 0;
  color: #555;
  font-size: 12px;
  line-height: 1.55;
}

.center-copy {
  text-align: center;
}

.center-copy h2 {
  color: var(--orange-dark);
  font-size: 18px;
  text-transform: none;
}

.center-copy h3 {
  color: var(--orange-dark);
  font-size: 18px;
}

.benefits {
  position: relative;
  padding: 72px 20px;
  color: #fff;
  background: url("assets/dark-roof.jpg") center / cover no-repeat;
}

.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
}

.benefits-inner {
  position: relative;
  z-index: 1;
  width: min(1160px, 100%);
  margin: 0 auto;
  text-align: center;
}

.benefits h2 {
  margin: 0 0 14px;
  color: var(--orange);
  font-size: 23px;
}

.benefits p {
  color: #ddd;
}

.benefit-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  text-align: left;
}

.benefit-list article {
  display: grid;
  grid-template-columns: 36px 1fr;
  align-items: start;
  gap: 15px;
}

.benefit-list span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  font-weight: 900;
}

.benefit-list h3 {
  margin: 0 0 4px;
  color: var(--orange);
  font-size: 20px;
}

.benefit-list p {
  margin: 0;
  font-size: 13px;
}

.location h2 {
  color: var(--orange-dark);
  font-size: 18px;
  text-align: left;
}

.logan-mark {
  margin: 40px auto 0;
  width: 170px;
  color: #255f99;
  font-size: 17px;
  font-weight: 700;
  text-align: center;
}

.logan-mark::before {
  content: "";
  display: block;
  width: 90px;
  height: 82px;
  margin: 0 auto 8px;
  background: conic-gradient(from 35deg, #ef5548, #f5d64e, #466bc6, #ef5548);
  clip-path: polygon(50% 0, 64% 36%, 100% 34%, 72% 58%, 82% 100%, 50% 76%, 18% 100%, 28% 58%, 0 34%, 36% 36%);
}

.testimonial-contact {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 560px;
  align-items: center;
  gap: 70px;
  min-height: 760px;
  padding: 80px max(24px, calc((100vw - 1110px) / 2));
  background: url("assets/testimonial-bg.jpg") center / cover no-repeat;
}

.testimonial-contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.28);
}

.testimonial-contact > * {
  position: relative;
  z-index: 1;
}

.testimonial-copy h2 {
  color: #fff;
  font-size: 34px;
  line-height: 1.1;
  text-align: center;
}

.site-footer {
  padding: 0 20px 26px;
  color: #fff;
  background: var(--footer);
  padding-top: 30px;
}

.map {
  display: block;
  width: min(1120px, 100%);
  height: 250px;
  margin: 0 auto 46px;
  border: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr 1.2fr;
  gap: 44px;
  width: min(1120px, 100%);
  margin: 0 auto;
}

.footer-grid h3 {
  margin: 0 0 18px;
  font-size: 13px;
  text-transform: uppercase;
}

.footer-grid p,
.footer-grid a {
  display: block;
  margin: 0 0 9px;
  color: #ece7e4;
  font-size: 12px;
  line-height: 1.55;
}

.footer-logo {
  margin-bottom: 25px;
}

.footer-logo .roof-mark {
  width: 34px;
  height: 24px;
  border-width: 4px;
}

.footer-logo strong {
  font-size: 17px;
}

.footer-logo em {
  color: #fff;
  font-size: 11px;
}

.hours-box {
  width: 100%;
  min-height: 190px;
  padding: 14px 16px;
  border-radius: 3px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.hours-box p {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  color: #3b3533;
  font-size: 11px;
  line-height: 1.3;
}

.hours-box p:last-child {
  border-bottom: 0;
}

.hours-box span {
  font-weight: 700;
}

.hours-box strong {
  color: var(--orange-dark);
  font-weight: 800;
  text-align: right;
}

.copyright {
  width: min(1120px, 100%);
  margin: 34px auto 0;
  color: #f3d5bd;
  font-size: 11px;
}

.chat-widget {
  position: fixed;
  right: 20px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  align-items: end;
  gap: 9px;
}

.chat-bubble {
  border: 0;
  border-radius: 4px;
  padding: 10px 18px;
  color: #555;
  background: #fff;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.22);
  font: 11px/1.35 "Montserrat", Arial, sans-serif;
  cursor: pointer;
}

.chat-icon {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--orange);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  font-size: 18px;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .site-header {
    padding-inline: 22px;
  }

  .main-nav {
    gap: 16px;
  }

  .hero-inner,
  .testimonial-contact {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    text-align: center;
  }

  .hero-copy h1 {
    margin-inline: auto;
  }

  .contact-bar {
    gap: 40px;
  }

  /* Consolidated flexbox layout handles this */
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .call-line {
    grid-column: 1 / -1;
    text-align: center;
  }

  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 3px;
    padding: 9px 13px;
    background: #fff;
    font-weight: 800;
  }

  .main-nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    gap: 2px;
    text-align: center;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 52px 0;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .quote-form {
    padding: 28px 20px;
  }

  .form-grid,
  .two-col,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .reverse img {
    order: 2;
  }

  .contact-bar {
    flex-direction: column;
    text-align: center;
  }

  .content-section h2,
  .services h2,
  .why h2,
  .youtube-band h2 {
    font-size: 27px;
  }

  .service-grid article {
    flex: 1 1 100%;
    max-width: 450px;
  }

  .video-card img {
    height: 230px;
  }

  .testimonial-contact {
    grid-template-columns: 1fr;
    padding-block: 55px;
  }

  .map {
    height: 180px;
  }

  .chat-bubble {
    display: none;
  }
}
