@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@700;800&family=Noto+Sans+Mono:wght@400;500;700&family=Sofia+Sans:wght@400;500;600;700&display=swap');

:root {
  /* Colors */
  --ink: #1E2024;
  --red-brand: #CE2D35;
  --red-deep: #BE2229;
  --red-ink: #A5231E;
  --red-light: #E86A5C;
  --maroon: #8A1E23;
  --steel-brand: #315C7A;
  --steel-ink: #275071;
  --steel-light: #7FB0CF;
  --steel-caption: #5B636E;
  --white: #FFFFFF;
  --wash: #EBEFF3;
  --hairline: #D8DEE5;
  
  /* Fonts */
  --font-display: 'Epilogue', sans-serif;
  --font-body: 'Sofia Sans', sans-serif;
  --font-mono: 'Noto Sans Mono', monospace;
}

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

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background-color: var(--white);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin-top: 0;
  color: var(--ink);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a {
  color: var(--steel-ink);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Base Utilities */
.text-mono { font-family: var(--font-mono); }
.bg-dark { background-color: var(--ink); color: var(--white); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--white); }
.bg-wash { background-color: var(--wash); }
.text-red { color: var(--red-brand); }
.text-red-ink { color: var(--red-ink); }
.text-steel { color: var(--steel-ink); }
.text-caption { color: var(--steel-caption); }
.text-white { color: var(--white); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  border: 2px solid transparent;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-red {
  background-color: var(--red-brand);
  color: var(--white);
}
.btn-red:hover {
  background-color: var(--red-deep);
}
.btn-steel-outline {
  background-color: transparent;
  color: var(--steel-ink);
  border-color: var(--steel-brand);
}
.btn-steel-outline:hover {
  background-color: var(--wash);
  color: var(--steel-ink);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section {
  padding: 5rem 0;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Shared Components */
.preview-ribbon {
  padding: 0.5rem 0;
  font-size: 0.75rem;
}
.ribbon-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.ribbon-actions {
  display: flex;
  gap: 0.5rem;
}
.chip {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  text-decoration: none;
  font-family: var(--font-body);
  border: none;
  cursor: pointer;
}
.chip:hover {
  background: rgba(255, 255, 255, 0.2);
  text-decoration: none;
}

.masthead {
  border-bottom: 1px solid var(--hairline);
  padding: 1rem 0;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 50;
}
.masthead-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}
.logo-mark {
  width: 24px;
  height: 24px;
}
.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1;
  display: flex;
  flex-direction: column;
}
.logo-elite { font-weight: 800; letter-spacing: 0.05em; }
.logo-chimney { font-weight: 700; font-size: 0.85rem; letter-spacing: 0.1em; }

.main-nav {
  display: flex;
  gap: 2rem;
  font-weight: 600;
}
.main-nav a {
  color: var(--ink);
}
.main-nav a:hover {
  color: var(--red-brand);
}

.site-footer {
  padding: 4rem 0 2rem;
  color: var(--white);
}
.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-desc {
  margin-top: 1rem;
  color: var(--steel-light);
}
.footer-heading {
  font-size: 0.875rem;
  color: var(--steel-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.1em;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}
.w-full {
  width: 100%;
}

.mobile-call-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: var(--white);
  border-top: 1px solid var(--hairline);
  z-index: 50;
}

@media (max-width: 768px) {
  .main-nav, .masthead-action {
    display: none;
  }
  .mobile-call-bar {
    display: block;
  }
  body {
    padding-bottom: 88px;
  }
  .faq-item {
    padding: 24px;
  }
}

/* Hero Section */
.hero {
  background-color: var(--white);
  padding: 4rem 0;
  border-bottom: 2px solid var(--hairline);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
.hero-content {
  max-width: 600px;
}
.hero-kicker {
  font-size: 0.75rem;
  color: var(--steel-caption);
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}
.hero-title {
  font-size: clamp(3rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.hero-subhead {
  font-size: 1.25rem;
  color: var(--steel-caption);
  margin-bottom: 2.5rem;
  max-width: 50ch;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-micro-trust {
  font-size: 0.75rem;
  color: var(--steel-caption);
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}
.hero-micro-trust strong {
  color: var(--ink);
}
.micro-sep {
  margin: 0 0.25rem;
}
@media (max-width: 500px) {
  .hero-micro-trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 12px;
  }
  .micro-sep {
    display: none;
  }
}
.hero-visual {
  position: relative;
  height: 100%;
}
.hero-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4/5;
  background-color: var(--wash);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 48px -12px rgba(30,32,36,0.15);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.proof-plate {
  position: absolute;
  bottom: 18px;
  left: 24px;
  right: 24px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--wash);
  color: var(--steel-ink);
  padding: 0 1rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  border: 1px solid #315C7A;
}
.flashing-seam {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 8px;
  background: linear-gradient(90deg, var(--steel-light), var(--steel-brand));
  border-bottom: 2px solid var(--red-brand);
}

@media (min-width: 1024px) {
  .hero {
    padding-top: 40px;
  }
  .hero-inner {
    align-items: flex-start;
  }
  .hero-title {
    font-size: 60px;
    line-height: 0.98;
  }
  .hero-image-wrapper {
    max-height: 500px;
  }
}

/* Credentials Band */
.credentials-band {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--hairline);
}
.credentials-inner {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
}
.cert-item {
  font-size: 0.85rem;
  color: var(--steel-ink);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .credentials-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 16px;
    padding: 40px 24px;
  }
  .cert-item {
    padding: 0;
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}

/* Why Elite */
.why-elite .section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}
.why-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}
.body-large {
  font-size: 1.25rem;
  color: var(--steel-caption);
  margin-bottom: 1rem;
}
.financing-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  color: var(--red-brand);
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.service-card.featured-service {
  grid-column: span 5;
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 280px;
  align-self: start;
}
.service-card.featured-service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(30,32,36,0.05);
}
.service-card.featured-service h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--steel-ink);
}
.service-card.featured-service p {
  color: var(--steel-caption);
  margin-bottom: 1.5rem;
}
.services-list {
  grid-column: span 7;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.service-list-item {
  border-top: 1px solid var(--steel-brand);
  padding-top: 1.5rem;
}
.service-list-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--steel-ink);
}
.service-list-item p {
  color: var(--steel-caption);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}
.learn-more {
  font-weight: 700;
  color: var(--red-brand);
}

@media (max-width: 992px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card.featured-service {
    grid-column: 1 / -1;
  }
  .services-list {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
  }
}

/* The State Line */
.coverage-board {
  display: grid;
  grid-template-columns: minmax(0,1fr) 56px minmax(0,1fr);
  gap: 0;
  margin-top: 3rem;
  background: var(--wash);
  padding: 3rem;
  border-radius: 8px;
  border: 1px solid var(--steel-brand);
}
.state-col {
  padding: 24px;
}
.seam-divider {
  background: var(--steel-brand);
  width: 2px;
  height: 100%;
  position: relative;
  margin: 0 auto;
}
.seam-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--wash);
  padding: 0.5rem;
  color: var(--steel-ink);
  white-space: nowrap;
}
.state-title {
  font-size: 1.25rem;
  color: var(--steel-brand);
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.5rem;
}
.county-group {
  margin-bottom: 2rem;
}
.county-title {
  font-size: 1rem;
  margin-bottom: 1rem;
  color: var(--ink);
}
.town-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--steel-caption);
}
.hq-pin {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--red-brand);
  border-radius: 50%;
  margin-right: 0.5rem;
}

/* FAQ Teaser */
.faq-teaser-list {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
.faq-item {
  display: block;
  background: var(--white);
  padding: 28px 32px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease;
}
.faq-item:hover {
  border-color: var(--steel-light);
  text-decoration: none;
}
.faq-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.faq-item p {
  color: var(--steel-caption);
  margin-bottom: 1rem;
}

/* Quote Form */
.quote-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.mock-form {
  background: var(--wash);
  padding: 2.5rem;
  border-radius: 8px;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--hairline);
  border-radius: 4px;
  font-family: var(--font-body);
  background: var(--white);
}

.contact-card {
  padding: 2.5rem;
  border: 2px solid var(--steel-light);
  border-radius: 8px;
}
.contact-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.contact-card p {
  margin-bottom: 0.5rem;
}
.hours-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hairline);
}

@media (max-width: 992px) {
  .hero-inner, .coverage-board, .quote-inner {
    grid-template-columns: 1fr;
  }
  .seam-divider {
    width: 100%;
    height: 2px;
  }
  .hero { padding: 3rem 0; }
  .hero-title { font-size: 2.5rem; }
}

/* Services & FAQ Page Specifics */
.page-header {
  text-align: center;
}
.wi-il-glyph {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: var(--red-brand);
  margin-right: 0.5rem;
  clip-path: polygon(0 0, 45% 0, 45% 100%, 55% 100%, 55% 0, 100% 0, 100% 100%, 0 100%);
}
.service-detail h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--steel-ink);
}
.service-detail p {
  color: var(--steel-caption);
  font-size: 1.125rem;
  margin-bottom: 1rem;
}
.service-detail p:last-child {
  margin-bottom: 0;
}
.faq-entry h3 {
  font-size: 1.25rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.faq-entry p, .faq-entry ul {
  color: var(--steel-caption);
  font-size: 1.05rem;
  line-height: 1.6;
}
.faq-entry ul {
  margin-top: 0.5rem;
}

