@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800;900&display=swap");

:root {
  --gold: #d4a11f;
  --gold-strong: #f1cf62;
  --ink: #141414;
  --muted: #5f6470;
  --line: #e8e1d5;
  --soft: #fff8ec;
  --panel: #ffffff;
  --shadow: 0 18px 45px rgba(20, 20, 20, 0.12);
  --font-main: "Montserrat", "Poppins", "Segoe UI", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: var(--font-main);
  line-height: 1.55;
  font-weight: 500;
  letter-spacing: 0;
}

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

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

.container {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.top-strip {
  background: #101010;
  color: #fff;
  font-size: 14px;
}

.top-strip .container,
.nav-bar,
.hero-grid,
.footer-grid,
.quote-grid,
.service-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.top-strip .container {
  padding: 9px 0;
  flex-wrap: wrap;
}

.landlines {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.landlines a,
.phone-link,
.btn,
.outline-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 6px;
  font-weight: 900;
  letter-spacing: 0;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.landlines a {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav-bar {
  min-height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.brand img {
  width: 92px;
  height: 62px;
  object-fit: contain;
  background: #111;
  border-radius: 6px;
  padding: 4px;
}

.brand span {
  display: block;
  font-size: 13px;
  letter-spacing: 0;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 900;
}

.brand strong {
  display: block;
  font-size: 18px;
  line-height: 1.1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

button,
input,
select,
textarea {
  font-family: var(--font-main);
}

.nav-links a,
.drop-trigger {
  padding: 8px 0;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active,
.drop-trigger:hover {
  color: var(--gold);
  border-color: var(--gold);
}

.dropdown {
  position: relative;
  align-self: stretch;
  display: inline-flex;
  align-items: center;
}

.drop-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-transform: uppercase;
}

.drop-trigger::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.22s ease;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: #0f1821;
  color: #fff;
  padding: 12px 0;
  border-top: 4px solid var(--gold);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(8px);
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 30;
}

.dropdown-menu a {
  display: block;
  padding: 9px 18px;
  border: 0;
  color: #fff;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  background: var(--gold);
  color: #111;
}

.dropdown:hover .drop-trigger,
.dropdown.open .drop-trigger,
.dropdown:focus-within .drop-trigger {
  color: var(--gold);
  border-color: var(--gold);
}

.dropdown:hover::after,
.dropdown.open::after,
.dropdown:focus-within::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--gold);
}

.dropdown:hover .dropdown-menu,
.dropdown.open .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
  pointer-events: auto;
}

.dropdown.open .drop-trigger::after,
.dropdown:hover .drop-trigger::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 10px 12px;
  font-weight: 900;
}

.phone-link {
  color: #111;
  border: 1px solid var(--line);
  padding: 10px 14px;
}

.btn {
  border: 0;
  cursor: pointer;
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
  color: #111;
  padding: 13px 18px;
  box-shadow: 0 10px 22px rgba(212, 154, 19, 0.26);
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
}

.outline-btn {
  border: 2px solid var(--gold);
  color: #111;
  padding: 11px 16px;
  background: #fff;
  text-transform: uppercase;
  font-size: 13px;
  line-height: 1;
}

.btn:hover,
.outline-btn:hover,
.phone-link:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn:active,
.outline-btn:active,
.phone-link:active,
.service-card:active,
.area-links a:active {
  transform: translateY(1px) scale(0.99);
}

.hero {
  background: linear-gradient(90deg, rgba(7, 17, 27, 0.9) 0%, rgba(7, 17, 27, 0.78) 47%, rgba(7, 17, 27, 0.5) 100%), url("assets/on-the-job-hero.png") center center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  min-height: 600px;
}

.hero-copy {
  width: min(620px, 100%);
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(42px, 6vw, 78px);
  letter-spacing: 0;
  font-weight: 900;
}

h1 span,
.gold {
  color: var(--gold);
}

.hero-copy p {
  max-width: 560px;
  color: #30343b;
  font-size: 18px;
}

.hero-actions,
.form-row,
.quick-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.form-row > label {
  flex: 1 1 220px;
}

.trust-bar {
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.trust-items,
.services-grid,
.why-grid,
.projects-grid,
.reviews-grid,
.service-list,
.faq-grid,
.office-grid {
  display: grid;
  gap: 18px;
}

.trust-items {
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 0;
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
}

.trust-items div {
  border-left: 3px solid var(--gold);
  padding-left: 12px;
}

section {
  padding: 72px 0;
}

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

.section-head p {
  max-width: 620px;
  color: var(--muted);
  margin: 8px 0 0;
}

h2 {
  font-size: clamp(30px, 4vw, 46px);
}

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

.service-card,
.why-card,
.review-card,
.office-card,
.faq-card,
.recommend-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.service-card {
  box-shadow: 0 14px 35px rgba(20, 20, 20, 0.08);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 24px 52px rgba(20, 20, 20, 0.16);
}

.service-card img {
  transition: transform 0.34s ease, filter 0.34s ease;
}

.service-card:hover img {
  transform: scale(1.04);
  filter: saturate(1.08);
}

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

.service-card div {
  padding: 20px;
}

.service-card h3 {
  font-size: 21px;
}

.service-card p,
.why-card p,
.review-card p,
.office-card p,
.faq-card p,
.recommend-card p {
  color: var(--muted);
}

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

.why-grid {
  grid-template-columns: repeat(6, 1fr);
}

.why-card {
  padding: 22px 16px;
  text-align: center;
}

.why-card b {
  display: block;
  font-size: 32px;
  color: var(--gold);
}

.why-card h3 {
  font-size: 15px;
  text-transform: uppercase;
}

.projects-grid {
  grid-template-columns: repeat(5, 1fr);
}

.projects-grid img {
  height: 210px;
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.recent-gallery {
  background: #fafafa;
}

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

.gallery-item {
  margin: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 35px rgba(10, 18, 30, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 161, 31, 0.5);
  box-shadow: 0 20px 48px rgba(10, 18, 30, 0.13);
}

.gallery-item img,
.gallery-item video {
  display: block;
  width: 100%;
  height: 245px;
  object-fit: cover;
  background: #0d1721;
}

.gallery-item figcaption {
  min-height: 56px;
  padding: 13px 14px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}

.gallery-video {
  grid-column: span 2;
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.standards-section {
  background: #fff;
}

.standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.standards-grid img {
  width: 100%;
  height: 430px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.standards-grid h2::after,
.service-map h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 6px;
  background: var(--gold);
  margin-top: 18px;
}

.standards-grid .lead {
  font-size: 20px;
  line-height: 1.55;
  font-weight: 800;
  color: var(--navy);
}

.about ul,
.service-list,
.recommendations {
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.about li,
.service-list li,
.recommendations li {
  margin: 10px 0;
  padding-left: 24px;
  position: relative;
}

.about li::before,
.service-list li::before,
.recommendations li::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.55em;
}

.about img {
  border-radius: 8px;
  box-shadow: var(--shadow);
  width: 100%;
}

.reviews {
  background: #fafafa;
}

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

.review-card {
  padding: 24px;
}

.stars {
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0;
}

.quote-band {
  background: var(--ink);
  color: #fff;
  padding: 42px 0;
}

.quote-band h2 {
  color: #fff;
}

.quote-band p {
  color: #f2eadb;
  margin: 8px 0 0;
}

.page-hero {
  background: var(--soft);
  border-bottom: 1px solid var(--line);
  padding: 55px 0;
}

.service-hero {
  align-items: stretch;
}

.service-hero .copy {
  flex: 1;
  padding: 28px 0;
}

.service-hero img {
  width: min(450px, 42vw);
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 28px;
}

.recommend-grid,
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.recommend-card,
.faq-card,
.quote-panel {
  padding: 22px;
}

.side-panel {
  position: sticky;
  top: 112px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 24px;
  align-self: start;
}

.side-panel p {
  color: #f5e9cf;
}

.quote-page {
  background: linear-gradient(180deg, var(--soft), #fff);
}

.quote-grid {
  align-items: start;
}

.quote-panel {
  width: min(760px, 100%);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

label {
  display: grid;
  gap: 7px;
  font-weight: 800;
  font-size: 14px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #d8d2c8;
  border-radius: 6px;
  padding: 13px 14px;
  font: inherit;
  font-weight: 600;
  background: #fff;
}

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

.thank-you-message {
  display: none;
  padding: 22px;
  border: 1px solid #b9e2c1;
  background: #f2fff4;
  color: #174e24;
  border-radius: 8px;
  margin-top: 16px;
  font-weight: 800;
}

.thank-you-message.show {
  display: block;
}

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

.office-card {
  padding: 20px;
}

.footer {
  background: #f7f4ee;
  border-top: 1px solid var(--line);
  padding: 46px 0 22px;
}

.footer-grid {
  align-items: flex-start;
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.footer img {
  width: 118px;
  background: #111;
  border-radius: 8px;
  padding: 5px;
  margin-bottom: 12px;
}

.footer h3 {
  font-size: 15px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

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

.footer li {
  margin: 8px 0;
  color: #494d55;
}

.copyright {
  border-top: 1px solid var(--line);
  margin-top: 28px;
  padding-top: 18px;
  color: var(--muted);
  font-size: 13px;
}

.footer-social {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.footer-social a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 8px 11px;
  font-weight: 800;
  font-size: 13px;
}

@media (max-width: 940px) {
  .nav-links,
  .header-actions {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav-links.open {
    display: grid;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    box-shadow: none;
    margin: 4px 0 12px;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }

  .dropdown.open .dropdown-menu {
    display: block;
  }

  .drop-trigger {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(255, 255, 255, 0.86)), url("assets/hero-roof.jpg") center / cover no-repeat;
  }

  .hero-grid {
    min-height: auto;
  }

  .trust-items,
  .services-grid,
  .why-grid,
  .reviews-grid,
  .about-grid,
  .standards-grid,
  .service-map-grid,
  .service-layout,
  .footer-grid,
  .office-grid,
  .quote-grid {
    grid-template-columns: 1fr 1fr;
  }

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

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

  .service-layout,
  .about-grid,
  .quote-grid {
    display: grid;
  }

  .service-hero {
    display: grid;
  }

  .service-hero img {
    width: 100%;
  }

  .side-panel {
    position: static;
  }

  .footer-cta {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 22px, 1160px);
  }

  .brand strong {
    font-size: 15px;
  }

  .brand img {
    width: 76px;
    height: 52px;
  }

  .hero-copy {
    padding: 46px 0;
  }

  .hero-actions,
  .quick-actions,
  .form-row {
    align-items: stretch;
  }

  .hero-actions a,
  .quick-actions a,
  .form-row > *,
  .btn,
  .outline-btn,
  .phone-link {
    width: 100%;
  }

  section {
    padding: 48px 0;
  }

  .section-head {
    display: block;
  }

  .trust-items,
  .services-grid,
  .why-grid,
  .projects-grid,
  .gallery-grid,
  .reviews-grid,
  .about-grid,
  .standards-grid,
  .service-map-grid,
  .service-layout,
  .recommend-grid,
  .faq-grid,
  .footer-grid,
  .office-grid,
  .quote-grid {
    grid-template-columns: 1fr;
  }

  .top-strip .container {
    display: grid;
  }

  .footer-social {
    justify-content: flex-start;
  }

  .standards-grid img,
  .map-panel iframe {
    height: 300px;
  }

  .footer-cta {
    padding: 24px 20px;
  }

  .footer-bottom {
    display: block;
  }

  .gallery-video {
    grid-column: auto;
  }

  .gallery-item img,
  .gallery-item video {
    height: 270px;
  }
}

/* Ark-inspired homepage refresh */
:root {
  --orange: var(--gold);
  --navy: #07111b;
}

.top-strip,
.quote-band,
.footer {
  background: var(--navy);
}

.site-header {
  background: rgba(255, 255, 255, 0.985);
}

.brand img {
  width: 104px;
  height: 68px;
}

.btn {
  background: linear-gradient(180deg, var(--gold-strong), var(--gold));
}

.hero {
  background: linear-gradient(90deg, rgba(7, 17, 27, 0.92) 0%, rgba(7, 17, 27, 0.82) 46%, rgba(7, 17, 27, 0.58) 100%), url("assets/on-the-job-hero.png") center center / cover no-repeat;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  min-height: 660px;
  align-items: center;
}

.hero-copy {
  width: min(700px, 100%);
}

.hero-copy h1 {
  font-size: clamp(42px, 5.6vw, 74px);
  color: #fff;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.24);
}

.hero-copy .eyebrow {
  color: var(--gold-strong);
}

.hero-copy p {
  color: #eef2f6;
}

.hero-copy .outline-btn {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-color: var(--gold);
}

.rating-row {
  color: #fff;
}

.rating-pill {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.mini-quote {
  padding: 24px;
}

.mini-quote h2 {
  font-size: 28px;
}

.mini-quote form {
  margin-top: 16px;
}

.mini-quote .btn {
  width: 100%;
}

.rating-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  font-weight: 800;
  color: #30343b;
}

.rating-pill {
  background: var(--navy);
  color: #fff;
  border-radius: 6px;
  padding: 8px 12px;
}

.trust-items {
  grid-template-columns: repeat(5, 1fr);
  padding: 24px 0;
}

.trust-items div {
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 8px;
  padding: 16px 14px;
  background: #fff;
}

.service-card img {
  height: 360px;
}

.service-card div {
  min-height: 170px;
}

.why {
  background: var(--navy);
  color: #fff;
}

.why .section-head p,
.why-card p {
  color: #d8dde5;
}

.why-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
}

.services-list-band,
.process,
.local-area {
  background: #fff;
}

.wide-list {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: 44px;
  align-items: start;
}

.list-intro h2::after {
  content: "";
  display: block;
  width: 70px;
  height: 6px;
  background: var(--gold);
  margin-top: 20px;
}

.list-intro p {
  color: var(--muted);
  margin: 26px 0;
  max-width: 430px;
}

.roofing-list-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.roofing-list li {
  padding: 5px 0 8px 24px;
  position: relative;
  color: #343941;
  font-size: 17px;
}

.roofing-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid var(--gold);
}

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

.process-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background: #fff;
}

.process-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--navy);
  color: var(--orange);
  margin-bottom: 18px;
}

.local-area,
.service-map {
  background: var(--soft);
}

.service-map-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 42px;
  align-items: start;
}

.map-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(10, 18, 30, 0.1);
}

.map-panel iframe {
  display: block;
  width: 100%;
  height: 390px;
  border: 0;
}

.office-locations {
  padding: 22px;
}

.office-locations h3 {
  margin: 0 0 12px;
}

.office-locations ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.office-locations li {
  padding: 9px 0;
  border-top: 1px solid var(--line);
  color: #343941;
}

.area-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.area-links a {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 6px;
  padding: 10px 13px;
  font-weight: 800;
}

.footer {
  color: #fff;
  border-top: 0;
  padding: 0 0 24px;
}

.footer-cta {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  background: linear-gradient(135deg, var(--gold), var(--gold-strong));
  color: #0b1219;
  padding: 30px 38px;
  margin-bottom: 54px;
}

.footer-cta h2 {
  color: #0b1219;
  margin: 0;
}

.footer-cta .outline-btn {
  color: #0b1219;
  border-color: #0b1219;
  background: transparent;
}

.footer-grid {
  grid-template-columns: 1.25fr 1.35fr 1fr 1fr;
  gap: 44px;
}

.footer-brand img {
  width: 160px;
}

.footer h3 {
  color: var(--gold);
  letter-spacing: 0.02em;
}

.footer li,
.footer p {
  color: #d8dde5;
}

.footer a {
  color: inherit;
}

.footer-social {
  justify-content: flex-start;
}

.footer-social a {
  border-color: rgba(212, 161, 31, 0.42);
  background: rgba(212, 161, 31, 0.1);
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 42px;
  padding-top: 18px;
  font-size: 14px;
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: var(--gold-strong);
  font-weight: 800;
}

.copyright {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: #c8ced7;
}

@media (max-width: 940px) {
  .hero-grid,
  .wide-list,
  .process-grid,
  .trust-items {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    background: linear-gradient(180deg, rgba(7, 17, 27, 0.9), rgba(7, 17, 27, 0.72)), url("assets/on-the-job-hero.png") center center / cover no-repeat;
  }
}

@media (max-width: 640px) {
  .hero-grid,
  .wide-list,
  .process-grid,
  .trust-items {
    grid-template-columns: 1fr;
  }

  .roofing-list {
    columns: 1;
  }

  .roofing-list-wrap {
    grid-template-columns: 1fr;
  }

  .hero-card img {
    height: 220px;
  }

  .service-card img {
    height: 310px;
  }
}

/* Final mobile menu fix: dropdowns behave as vertical accordions. */
@media (max-width: 940px) {
  .nav-links.open {
    display: block;
    width: 100%;
    max-height: calc(100vh - 84px);
    overflow-y: auto;
  }

  .nav-links.open > a,
  .nav-links.open .dropdown {
    display: block;
    width: 100%;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open .dropdown {
    position: static;
    align-self: auto;
  }

  .nav-links.open .drop-trigger {
    display: flex;
    width: 100%;
    padding: 0;
    border: 0;
    color: inherit;
    text-align: left;
  }

  .nav-links.open .dropdown::after,
  .nav-links.open .dropdown:hover::after,
  .nav-links.open .dropdown.open::after,
  .nav-links.open .dropdown:focus-within::after {
    display: none;
  }

  .nav-links.open .dropdown-menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 16px 0 0;
    padding: 8px 0;
    border-top: 4px solid var(--gold);
    box-shadow: none;
    opacity: 1;
    transform: none;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links.open .dropdown.open .dropdown-menu {
    display: block;
  }

  .nav-links.open .dropdown-menu a {
    display: block;
    width: 100%;
    padding: 13px 16px;
    white-space: normal;
  }
}

/* Site-wide typography refresh. */
body,
button,
input,
select,
textarea {
  font-family: var(--font-main);
}

h1,
h2,
h3,
.brand,
.nav-links,
.drop-trigger,
.btn,
.outline-btn,
.phone-link,
.eyebrow,
.service-card h3,
.gallery-item figcaption,
.footer h3 {
  font-family: var(--font-main);
  font-weight: 900;
  letter-spacing: 0;
}

p,
li,
input,
select,
textarea {
  font-weight: 500;
}

.hero-copy h1 {
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.05;
}

.hero-copy p,
.standards-grid .lead,
.mini-quote h2 {
  font-weight: 800;
}

.mini-quote input,
.mini-quote select,
.mini-quote textarea,
.quote-card input,
.quote-card select,
.quote-card textarea {
  font-size: 16px;
}
