/* Steel City Duct Pros — styles.css */
/* No external dependencies. System font stack. */

:root {
  --primary: #1c5fa5;
  --dark: #0e3d70;
  --cta: #e8a020;
  --cta-hover: #c8861a;
  --text: #1a1a1a;
  --text-muted: #555;
  --bg-light: #f5f7fa;
  --bg-card: #ffffff;
  --border: #dde3ea;
  --radius: 8px;
  --shadow: 0 2px 12px rgba(28, 95, 165, 0.10);
  --shadow-md: 0 4px 20px rgba(28, 95, 165, 0.15);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: #fff;
}

/* ── Layout ─────────────────────────────── */

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Header ─────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  box-shadow: 0 2px 10px rgba(0,0,0,0.25);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

.logo-text {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.logo-text span {
  color: var(--cta);
}

/* ── Buttons ─────────────────────────────── */

.btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  border: none;
}

.btn-header {
  background: var(--cta);
  color: #1a1a1a;
}

.btn-header:hover {
  background: var(--cta-hover);
}

.btn-cta {
  background: var(--cta);
  color: #1a1a1a;
  font-size: 1.1rem;
  padding: 0.85rem 2rem;
}

.btn-cta:hover {
  background: var(--cta-hover);
  transform: translateY(-1px);
}

.btn-submit {
  width: 100%;
  background: var(--cta);
  color: #1a1a1a;
  font-size: 1.1rem;
  padding: 0.9rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
  border: none;
}

.btn-submit:hover {
  background: var(--cta-hover);
}

/* ── Hero ─────────────────────────────── */

.hero {
  background: var(--primary);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero .subheadline {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero .problem-lead {
  font-size: 1.05rem;
  opacity: 0.85;
  max-width: 640px;
  margin: 0 auto 1.5rem;
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.badge {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  padding: 0.45rem 1.1rem;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Section shared ───────────────────── */

section {
  padding: 4rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2.5rem;
}

.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

/* ── Services ─────────────────────────── */

.services {
  background: var(--bg-light);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border-top: 4px solid var(--primary);
  box-shadow: var(--shadow);
  padding: 1.75rem 1.5rem;
  transition: box-shadow 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.service-price {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

/* ── How it Works ─────────────────────── */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  text-align: center;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 auto 1rem;
}

.step h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.4rem;
}

.step p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ── Why Choose Us ───────────────────── */

.features {
  background: var(--bg-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.feature-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.3rem;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── Reviews ─────────────────────────── */

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: #f0f4f9;
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem;
  box-shadow: var(--shadow);
}

.stars {
  color: #f5a623;
  font-size: 1.1rem;
  letter-spacing: 1px;
  margin-bottom: 0.75rem;
}

.review-card blockquote {
  font-size: 0.98rem;
  color: #333;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.65;
}

.reviewer {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark);
}

/* ── Pricing ─────────────────────────── */

.pricing {
  background: var(--bg-light);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.price-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow);
  text-align: center;
}

.price-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.price-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.4rem;
}

.price-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pricing-disclaimer {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ── Service Area ─────────────────────── */

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1rem;
}

.pill {
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* ── Quote Form ───────────────────────── */

.quote-section {
  background: var(--dark);
  color: #fff;
}

.quote-section .section-title {
  color: #fff;
}

.quote-section .section-sub {
  color: rgba(255,255,255,0.75);
}

.quote-form {
  max-width: 640px;
  margin: 0 auto;
  background: rgba(255,255,255,0.07);
  border-radius: 12px;
  padding: 2.5rem 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.25rem;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: rgba(255,255,255,0.85);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.95);
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--cta);
}

.form-group textarea {
  resize: vertical;
  min-height: 90px;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.form-consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

.form-consent label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.form-consent a {
  color: var(--cta);
}

/* ── Footer ───────────────────────────── */

.site-footer {
  background: #0a0a1a;
  color: rgba(255,255,255,0.6);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.9rem;
}

.site-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
}

.site-footer a:hover {
  color: var(--cta);
}

/* ── Legal pages ──────────────────────── */

.legal-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  font-size: 1rem;
  line-height: 1.75;
  color: #1a1a1a;
}

.legal-body h1 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
}

.legal-body h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 2rem 0 0.5rem;
  color: var(--dark);
}

.legal-body p,
.legal-body ul {
  margin-bottom: 1rem;
}

.legal-body ul {
  padding-left: 1.5rem;
}

.legal-note {
  background: #f5f5f5;
  border-left: 4px solid #999;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
  color: #555;
}

/* ── Blog Preview ────────────────────── */

.blog-preview {
  background: var(--bg-light);
}

.blog-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  border-top: 3px solid var(--primary);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.25rem 1.25rem;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.blog-card-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  flex-grow: 1;
  margin-bottom: 0.75rem;
}

.read-more {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

/* ── Responsive ──────────────────────── */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.9rem;
  }

  .hero .subheadline {
    font-size: 1.05rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .trust-badges {
    gap: 0.6rem;
  }

  .badge {
    font-size: 0.82rem;
    padding: 0.4rem 0.85rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .quote-form {
    padding: 1.75rem 1.25rem;
  }

  .cards-grid,
  .features-grid,
  .reviews-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .btn-cta {
    font-size: 1rem;
    padding: 0.8rem 1.5rem;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .blog-cards {
    grid-template-columns: 1fr;
  }
}

/* ── FAQ ───────────────────────────────── */
.faq-section {
  background: var(--bg-light);
  padding: 4rem 0;
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-item[open] {
  box-shadow: var(--shadow);
}

.faq-question {
  padding: 1.1rem 1.4rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-question::after {
  content: "+";
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--primary);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "−";
}

.faq-answer {
  padding: 0 1.4rem 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.faq-answer p { margin: 0; }
