* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: #071733;
  background: #fff;
}

img {
  max-width: 100%;
}

.site-header {
  min-height: 84px;
  padding: 0 7%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(7, 23, 51, 0.08);
  position: relative;
  z-index: 2;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #071733;
  text-decoration: none;
  flex-shrink: 0;
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #e61b2a;
  color: #fff;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 22px;
}

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

.brand small {
  display: block;
  color: #687489;
  font-size: 12px;
  margin-top: 4px;
}

nav {
  display: flex;
  gap: 26px;
  font-size: 14px;
  font-weight: 800;
}

nav a {
  color: #071733;
  text-decoration: none;
}

nav a:hover {
  color: #e61b2a;
}

.call-btn {
  background: #e61b2a;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(230, 27, 42, 0.18);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero {
  min-height: 620px;
  background-image: url("assets/hero-dfw-roof-family.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center top;
  border-bottom: 1px solid #e9edf4;
  position: relative;
}

.hero-overlay {
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.24) 45%,
    rgba(0, 0, 0, 0.02) 100%
  );
  padding: 80px 24px;
}

.hero-inner {
  width: 100%;
  max-width: 1388px;
  margin: 0 auto;
}

.hero-content {
  max-width: 760px;
  color: #fff;
}

.eyebrow {
  margin: 0 0 14px;
  color: #e61b2a;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 900;
}

.hero .eyebrow {
  color: #fff;
}

.hero h1 {
  font-size: clamp(2.45rem, 6vw, 5rem);
  line-height: 1.02;
  margin: 0 0 24px;
  letter-spacing: -0.04em;
}

.hero-text {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.6;
  max-width: 690px;
  margin: 0 0 22px;
}

.hero-trust-line {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.35;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-call,
.secondary-btn {
  min-height: 50px;
  padding: 14px 24px;
}

.secondary-btn {
  background: #fff;
  color: #071733;
  text-decoration: none;
  font-weight: 800;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-trust li::before {
  content: "✓ ";
  font-weight: 900;
  color: #fff;
}

.hero h1,
.hero-text,
.hero-trust,
.hero-trust-line,
.hero .eyebrow {
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.services {
  padding: 48px 6% 80px;
  text-align: center;
}

.services h2,
.quote-section h2,
.area-pages h2 {
  font-size: 34px;
  line-height: 1.15;
  margin: 0 0 34px;
  color: #071733;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  max-width: 1388px;
  margin: 0 auto;
  text-align: left;
}

.service-card {
  background: #fff;
  border: 1px solid #dfe5ee;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(7, 23, 51, 0.04);
}

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

.card-body {
  padding: 22px 24px 24px;
}

.card-body h3 {
  font-size: 20px;
  margin: 0 0 14px;
}

.card-body p {
  color: #64718a;
  font-size: 15px;
  line-height: 1.55;
  min-height: 72px;
  margin: 0 0 24px;
}

.card-body a {
  color: #e61b2a;
  font-weight: 900;
  text-decoration: none;
  font-size: 15px;
}

.quote-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 36px;
  align-items: start;
  max-width: 1180px;
  margin: 0 auto 84px;
  padding: 42px 6%;
  background: #f6f8fb;
  border: 1px solid #e0e6ef;
  border-radius: 18px;
}

.quote-copy p:not(.eyebrow) {
  color: #536078;
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0 0 24px;
}

.quote-call {
  margin-top: 4px;
}

.quote-form {
  display: grid;
  gap: 12px;
  background: #fff;
  border-radius: 14px;
  padding: 24px;
  border: 1px solid #dde4ee;
  box-shadow: 0 10px 24px rgba(7, 23, 51, 0.06);
}

.quote-form label {
  font-weight: 900;
  font-size: 0.92rem;
}

.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #cbd4e1;
  border-radius: 10px;
  font: inherit;
  color: #071733;
  background: #fff;
}

.form-submit {
  min-height: 52px;
  margin-top: 8px;
  border: 0;
  border-radius: 999px;
  background: #e61b2a;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.area-pages {
  padding: 0 6% 90px;
  text-align: center;
}

.area-link-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.area-link-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70px;
  padding: 14px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #dfe5ee;
  color: #071733;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.3;
}

.area-link-grid a:hover {
  border-color: #e61b2a;
  color: #e61b2a;
}

.sticky-call {
  display: none;
}

/* Inner service/city pages */
.page-hero {
  background: #071733;
  color: #fff;
  padding: 84px 6%;
}

.page-hero-inner,
.content-section,
.local-links {
  max-width: 1120px;
  margin: 0 auto;
}

.page-hero .eyebrow {
  color: #fff;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 4.4rem);
  line-height: 1.04;
  margin: 0 0 22px;
  letter-spacing: -0.035em;
}

.page-hero p {
  max-width: 780px;
  font-size: 1.18rem;
  line-height: 1.65;
  margin: 0 0 28px;
}

.page-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.content-section {
  padding: 64px 6%;
}

.content-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 34px;
  align-items: start;
}

.content-card {
  padding: 28px;
  border: 1px solid #dfe5ee;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(7, 23, 51, 0.04);
}

.content-card h2,
.content-card h3 {
  margin-top: 0;
}

.content-card p,
.content-card li {
  color: #536078;
  line-height: 1.65;
}

.content-card ul {
  padding-left: 20px;
}

.local-links {
  padding: 0 6% 80px;
}

.local-links h2 {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .site-header {
    padding: 0 4%;
  }

  nav {
    gap: 16px;
  }

  .hero {
    min-height: 560px;
    background-position: center top;
  }

  .hero-overlay {
    min-height: 560px;
    padding: 70px 5%;
  }

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

@media (max-width: 760px) {
  body {
    padding-bottom: 76px;
  }

  .site-header {
    height: auto;
    padding: 14px 5%;
    gap: 12px;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 calc(100% - 140px);
    min-width: 0;
  }

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

  .brand small {
    font-size: 11px;
  }

  .logo {
    width: 36px;
    height: 36px;
    font-size: 20px;
    border-radius: 9px;
  }

  .site-header > .call-btn {
    padding: 11px 16px;
    font-size: 14px;
    white-space: nowrap;
  }

  nav {
    order: 3;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    overflow: visible;
    padding: 4px 0 2px;
    font-size: 13px;
  }

  nav .desktop-extra {
    display: none;
  }

  nav a {
    padding: 9px 10px;
    border-radius: 999px;
    background: #f4f6fa;
    text-align: center;
    white-space: nowrap;
  }

  .hero {
    min-height: auto;
    background-size: cover;
    background-position: 58% top;
  }

  .hero-overlay {
    min-height: 650px;
    align-items: flex-end;
    padding: 44px 5% 36px;
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.08) 0%,
      rgba(0, 0, 0, 0.38) 38%,
      rgba(0, 0, 0, 0.76) 72%,
      rgba(0, 0, 0, 0.88) 100%
    );
  }

  .hero-content {
    max-width: 100%;
  }

  .hero .eyebrow {
    font-size: 0.68rem;
    line-height: 1.4;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 10.2vw, 3rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 16px;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 16px;
  }

  .hero-trust-line {
    display: block;
    width: 100%;
    border-radius: 14px;
    margin-bottom: 18px;
    font-size: 0.9rem;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 18px;
  }

  .hero-call,
  .secondary-btn {
    width: 100%;
    min-height: 52px;
    padding: 14px 18px;
    text-align: center;
  }

  .hero-trust {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    font-size: 0.9rem;
  }

  .services {
    padding: 42px 5%;
  }

  .services h2,
  .quote-section h2,
  .area-pages h2 {
    font-size: 28px;
  }

  .service-grid,
  .area-link-grid,
  .quote-section,
  .content-grid {
    grid-template-columns: 1fr;
  }

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

  .quote-section {
    margin: 0 5% 58px;
    padding: 26px 18px;
    border-radius: 16px;
  }

  .quote-form {
    padding: 18px;
  }

  .area-pages {
    padding: 0 5% 70px;
  }

  .sticky-call {
    display: flex;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: 12px;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    z-index: 20;
    border-radius: 999px;
    background: #e61b2a;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 16px 34px rgba(7, 23, 51, 0.28);
  }

  .page-hero {
    padding: 58px 5%;
  }

  .page-hero h1 {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  .content-section,
  .local-links {
    padding-left: 5%;
    padding-right: 5%;
  }
}

@media (max-width: 420px) {
  .site-header {
    padding: 12px 4%;
  }

  .brand {
    gap: 10px;
  }

  .brand small {
    display: none;
  }

  .site-header > .call-btn {
    padding: 10px 13px;
    font-size: 13px;
  }

  nav {
    gap: 7px;
    font-size: 12.5px;
  }

  nav a {
    padding: 8px 6px;
  }

  .hero {
    background-position: 60% top;
  }

  .hero-overlay {
    min-height: 675px;
    padding: 38px 5% 32px;
  }

  .hero .eyebrow {
    font-size: 0.64rem;
  }

  .hero h1 {
    font-size: 2.24rem;
  }

  .hero-text {
    font-size: 0.98rem;
  }

  .sticky-call {
    left: 8px;
    right: 8px;
    bottom: 8px;
    font-size: 0.94rem;
  }
}
