/* =====================================================
   ATLANTA ROOFING INC — Global Design System
   Navy: #0D1F33 | Orange: #E8501A | White: #fff
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --navy:        #0D1F33;
  --navy-mid:    #152D47;
  --orange:      #E8501A;
  --orange-dark: #d44415;
  --white:       #ffffff;
  --gray-50:     #F8F9FA;
  --gray-100:    #F1F5F9;
  --gray-200:    #E2E8F0;
  --gray-400:    #94A3B8;
  --gray-600:    #6B7280;
  --text:        #1A1A1A;
  --radius:      8px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  margin: 0;
  padding: 0;
}

/* ── Container ── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ── Typography ── */
.section-label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: .4rem;
  display: block;
}
.section-heading {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  color: var(--navy);
  margin: 0 0 .6rem;
  line-height: 1.15;
}
.section-heading--white { color: #fff; }
.section-rule {
  width: 44px;
  height: 3px;
  background: var(--orange);
  margin: 0 0 1.25rem;
  border: none;
}

/* ── Buttons ── */
.btn-orange {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--orange); color: #fff;
  padding: .8rem 1.75rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer;
  transition: background .15s;
  white-space: nowrap;
}
.btn-orange:hover { background: var(--orange-dark); }

.btn-outline-white {
  display: inline-flex; align-items: center;
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.6);
  padding: .8rem 1.75rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: .95rem;
  transition: border-color .15s;
  white-space: nowrap;
}
.btn-outline-white:hover { border-color: #fff; }

.btn-outline-navy {
  display: inline-flex; align-items: center;
  background: transparent; color: var(--navy);
  border: 2px solid var(--navy);
  padding: .75rem 1.5rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: .9rem;
  transition: all .15s;
}
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ── Breadcrumb ── */
.breadcrumb { margin-bottom: 1rem; }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; gap: .35rem;
  list-style: none; margin: 0; padding: 0;
  font-size: .78rem; opacity: .8;
}
.breadcrumb a { color: rgba(255,255,255,.8); text-decoration: none; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb li[aria-current] { color: rgba(255,255,255,.6); }

/* ── Interior Hero (shared by all inner pages) ── */
.page-hero {
  position: relative;
  background-color: var(--navy);
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 4rem 0 3.5rem;
}
.page-hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,31,51,.9) 0%, rgba(13,31,51,.65) 100%);
}
.page-hero__inner {
  position: relative; z-index: 1;
  max-width: 800px;
  color: #fff;
}
.page-hero__city-tag {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  color: #E8501A;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0 0 .4rem;
}
.page-hero__h1 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 .9rem;
  text-transform: uppercase;
}
.page-hero__sub {
  font-size: 1.05rem;
  opacity: .9;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 0 1.75rem;
}
.page-hero__actions {
  display: flex; flex-wrap: wrap; gap: .875rem;
  margin-bottom: 1.5rem;
}
.page-hero__trust {
  display: flex; flex-wrap: wrap; gap: .875rem;
  font-size: .82rem; opacity: .8;
}
.page-hero__trust span::before { content: '✓ '; }

/* ── Content / Sidebar grid ── */
.interior-wrap {
  background: var(--gray-100);
  padding: 3.5rem 0;
}
.interior-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2.5rem;
  align-items: start;
}

/* ── Content article ── */
.content-section {
  background: #fff;
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 1px 6px rgba(0,0,0,.05);
}
.content-section h2 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.45rem;
  color: var(--navy);
  margin: 0 0 .75rem;
  line-height: 1.2;
  text-transform: uppercase;
}
.content-section h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin: 1.25rem 0 .5rem;
}
.content-section p {
  line-height: 1.8;
  color: var(--gray-600);
  margin: 0 0 1rem;
}
.content-section p:last-child { margin-bottom: 0; }
.content-section a { color: var(--orange); font-weight: 600; }
.content-section a:hover { color: var(--orange-dark); }

/* Section label inside content */
.content-section .section-label { margin-bottom: .5rem; }

/* ── Local callout box ── */
.local-callout {
  background: var(--gray-100);
  border-left: 4px solid var(--orange);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
}
.local-callout h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1rem; color: var(--navy);
  margin: 0 0 .4rem;
}
.local-callout p { margin: 0; }

/* ── Process list ── */
.process-list {
  list-style: none; margin: 0; padding: 0;
}
.process-list li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: .75rem 0;
  border-bottom: 1px solid var(--gray-200);
}
.process-list li:last-child { border-bottom: none; }
.step-num {
  background: var(--orange); color: #fff;
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .78rem; font-weight: 700; flex-shrink: 0;
}
.step-text { line-height: 1.65; color: var(--gray-600); font-size: .925rem; }

/* ── Cost list ── */
.cost-list {
  padding-left: 1.25rem; margin: .75rem 0 1rem;
}
.cost-list li {
  color: var(--gray-600); line-height: 1.7;
  margin-bottom: .35rem; font-size: .925rem;
}

/* ── Page break image ── */
.page-break-img {
  margin: 1.5rem 0;
  border-radius: var(--radius);
  overflow: hidden;
}
.page-break-img img {
  width: 100%; height: 280px;
  object-fit: cover; display: block;
}
.page-break-img figcaption {
  font-size: .78rem; color: var(--gray-600);
  text-align: center; padding: .4rem 0 0;
}

/* ── Reviews (interior) ── */
.reviews-inner { display: flex; flex-direction: column; gap: 1rem; }
.review-card-inner {
  background: var(--gray-50);
  border-radius: var(--radius);
  padding: 1.25rem;
  border-left: 3px solid var(--orange);
}
.review-stars-inner { color: #FBBF24; font-size: .95rem; margin-bottom: .4rem; }
.review-text-inner {
  font-style: italic; color: var(--gray-600);
  line-height: 1.7; font-size: .875rem; margin: 0 0 .5rem;
}
.review-author-inner { font-size: .8rem; font-weight: 700; color: var(--navy); }

/* ── FAQ ── */
.faq-list {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
}
.faq-item { border-bottom: 1px solid var(--gray-200); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: .9rem 1.25rem;
  font-weight: 600; cursor: pointer;
  list-style: none; color: var(--navy);
  font-size: .9rem; transition: background .1s;
}
.faq-q:hover { background: var(--gray-100); }
.faq-q::marker { display: none; }
.faq-item[open] .faq-q { background: var(--gray-100); color: var(--orange); }
.faq-a {
  padding: 0 1.25rem .875rem;
  margin: 0; color: var(--gray-600);
  line-height: 1.75; font-size: .875rem;
}

/* ── Nearby / related links grid ── */
.link-pills {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; margin: .75rem 0 0; padding: 0;
}
.link-pills a {
  display: inline-block;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  padding: .4rem .875rem;
  border-radius: 999px;
  font-size: .82rem; color: var(--navy);
  text-decoration: none; transition: all .15s;
}
.link-pills a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ── Sidebar ── */
.sidebar-stack { display: flex; flex-direction: column; gap: 1.25rem; }

.scard {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
}
.scard__header {
  background: var(--navy);
  padding: 1rem 1.25rem;
}
.scard__header h3 {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem; color: #fff; margin: 0;
  text-transform: uppercase; letter-spacing: .04em;
}
.scard__header--orange { background: var(--orange); }

.scard__body {
  padding: 1.25rem;
}

/* Sidebar lead form */
.scard__form {
  display: flex; flex-direction: column; gap: .65rem;
}
.scard__form label {
  display: flex; flex-direction: column; gap: .25rem;
  font-size: .82rem; font-weight: 600; color: var(--navy);
}
.scard__form input,
.scard__form textarea,
.scard__form select {
  border: 1.5px solid var(--gray-200);
  border-radius: 6px;
  padding: .6rem .875rem;
  font-size: .875rem; font-family: inherit;
  color: var(--text);
  background: #fff;
  transition: border-color .15s;
}
.scard__form input:focus,
.scard__form textarea:focus {
  outline: none; border-color: var(--orange);
}
.scard__form textarea { resize: vertical; }
.scard__form .btn-orange { text-align: center; justify-content: center; }

/* Sidebar phone */
.sidebar-phone {
  display: block;
  font-size: 1.5rem; font-weight: 800;
  color: var(--orange); text-decoration: none;
  margin-bottom: .35rem;
}
.sidebar-phone:hover { color: var(--orange-dark); }
.sidebar-hours { font-size: .82rem; color: var(--gray-600); margin: .15rem 0; }
.sidebar-emergency { font-size: .82rem; color: var(--orange); font-weight: 700; margin-top: .4rem; }

/* Trust list */
.trust-list-inner {
  list-style: none; margin: 0; padding: 0;
}
.trust-list-inner li {
  display: flex; align-items: center; gap: .5rem;
  padding: .45rem 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: .85rem; color: var(--gray-600);
}
.trust-list-inner li:last-child { border-bottom: none; }
.trust-list-inner li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700; flex-shrink: 0;
}

/* Sidebar quick links */
.scard-links { list-style: none; margin: 0; padding: 0; }
.scard-links li { border-bottom: 1px solid var(--gray-100); }
.scard-links li:last-child { border-bottom: none; }
.scard-links a {
  display: block; padding: .5rem .1rem;
  font-size: .85rem; color: var(--navy);
  text-decoration: none; transition: color .15s;
}
.scard-links a:hover { color: var(--orange); }
.scard-links .active a { color: var(--orange); font-weight: 700; }

/* ── City/service grid (hub pages) ── */
.hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: .75rem;
  margin-top: 1rem;
}
.hub-card {
  display: flex; flex-direction: column;
  padding: .875rem 1rem;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  text-decoration: none;
  transition: all .15s;
}
.hub-card:hover { background: var(--navy); border-color: var(--navy); }
.hub-card:hover .hub-card__kw { color: #fff; }
.hub-card:hover .hub-card__sub { color: rgba(255,255,255,.6); }
.hub-card__kw {
  font-weight: 600; font-size: .875rem; color: var(--navy);
  line-height: 1.35;
}
.hub-card__sub { font-size: .75rem; color: var(--gray-600); margin-top: .2rem; }

/* ── Quick answer box ── */
.quick-answer {
  background: #FFF8F5;
  border-top: 3px solid var(--orange);
  padding: 1.5rem 0;
}
.qa-box { max-width: 900px; }
.qa-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem; color: var(--navy); margin: 0 0 .6rem;
}
.qa-answer { margin: 0; line-height: 1.75; color: var(--gray-600); }
.qa-answer strong { color: var(--navy); }
.qa-answer a { color: var(--orange); font-weight: 600; }

/* ── Bottom CTA (interior pages) ── */
.page-cta {
  background: var(--orange);
  padding: 4rem 0; text-align: center;
}
.page-cta h2 {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #fff; margin: 0 0 .75rem;
}
.page-cta p {
  color: rgba(255,255,255,.88); max-width: 580px;
  margin: 0 auto 2rem; line-height: 1.7;
}
.page-cta__btns {
  display: flex; justify-content: center;
  flex-wrap: wrap; gap: 1rem;
}
.btn-white {
  display: inline-block;
  background: #fff; color: var(--orange);
  padding: .85rem 2rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 700; font-size: 1rem;
  transition: background .15s;
}
.btn-white:hover { background: #FEF2EE; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .interior-grid { grid-template-columns: 1fr 300px; }
}
@media (max-width: 768px) {
  .interior-grid { grid-template-columns: 1fr; }
  .sidebar-stack { order: -1; }
  .hub-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .hub-grid { grid-template-columns: 1fr; }
}

/* ── Douglas County Award Badge ── */
.dc-award {
  background: #F8FAFC;
  border-top: 3px solid var(--orange);
  padding: 3rem 0;
}
.dc-award__inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.dc-award__img {
  height: 140px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}
.dc-award__text h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.dc-award__text p {
  color: #4B5563;
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
}
@media (max-width: 600px) {
  .dc-award__inner { flex-direction: column; text-align: center; }
  .dc-award__img { height: 110px; }
}
