/* Erie Dryer Vent — clean air · home safety (light, trustworthy) */
@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap");

:root {
  --bg: #f5f7f6;
  --surface: #ffffff;
  --surface-2: #eef3f1;
  --surface-3: #e4ece9;
  --ink: #15252b;
  --text: #1e333a;
  --muted: #5a6f76;
  --teal: #0d6b66;
  --teal-deep: #0a524e;
  --teal-soft: rgba(13, 107, 102, 0.1);
  --amber: #c46a1a;
  --amber-soft: rgba(196, 106, 26, 0.12);
  --border: #d5e0dc;
  --ok: #1a7a4c;
  --err: #b42318;
  --radius: 14px;
  --radius-sm: 8px;
  --max: 1100px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", Georgia, "Times New Roman", serif;
  --shadow: 0 18px 40px rgba(21, 37, 43, 0.08);
  --shadow-sm: 0 6px 18px rgba(21, 37, 43, 0.06);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 1.02rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
picture {
  display: block;
  width: 100%;
  height: 100%;
}
.feature-row__media picture,
.hero-soft__bg picture,
.media-card picture {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
}
a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--teal-deep); }
.wrap { width: min(100% - 2.25rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  background: rgba(245, 247, 246, 0.92);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}
.logo {
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}
.logo span { color: var(--teal); }
.nav-toggle {
  display: none;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 0.45rem 0.8rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.85rem;
  font-family: inherit;
  font-weight: 600;
}
.nav { display: flex; flex-wrap: wrap; gap: 0.15rem 1.1rem; align-items: center; }
.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav .btn-call {
  background: var(--teal);
  color: #fff !important;
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  font-size: 0.86rem;
}
.nav .btn-call:hover { background: var(--teal-deep); }
.placeholder-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--amber-soft);
  color: var(--amber);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  vertical-align: middle;
  margin-left: 0.35rem;
}

/* Soft educational hero */
.hero-soft {
  position: relative;
  min-height: clamp(400px, 68vh, 580px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-soft__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-soft__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(0.92) brightness(1.02);
}
.hero-soft__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(245, 247, 246, 0.97) 0%, rgba(245, 247, 246, 0.88) 38%, rgba(245, 247, 246, 0.35) 100%),
    linear-gradient(0deg, rgba(245, 247, 246, 0.55) 0%, transparent 40%);
  z-index: 1;
}
.hero-soft .wrap {
  position: relative;
  z-index: 2;
  padding: 3.75rem 0 3rem;
  max-width: 620px;
  margin-left: max(1.125rem, calc((100% - var(--max)) / 2));
  margin-right: auto;
  width: min(100% - 2.25rem, 620px);
}
.badge {
  display: inline-block;
  background: var(--teal-soft);
  color: var(--teal-deep);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
  border: 1px solid rgba(13, 107, 102, 0.2);
}
.hero-soft h1,
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4.6vw, 2.85rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  letter-spacing: -0.025em;
  font-weight: 700;
  color: var(--ink);
}
.hero-soft .lead, .page-hero .lead {
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 36rem;
  margin: 0;
  line-height: 1.7;
}

.page-hero {
  padding: 2.6rem 0 2.1rem;
  background: linear-gradient(165deg, var(--surface) 0%, var(--bg) 85%);
  border-bottom: 1px solid var(--border);
}

/* Trust strip */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.trust-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--teal);
  font-weight: 600;
}
.trust-item span {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
}

.section { padding: 3.1rem 0; }
.section-alt {
  background: var(--surface);
  border-block: 1px solid var(--border);
}
.section-tint {
  background: linear-gradient(180deg, var(--surface-2) 0%, var(--bg) 100%);
  border-block: 1px solid var(--border);
}
.section h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 3vw, 1.95rem);
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
  font-weight: 650;
  line-height: 1.2;
  color: var(--ink);
}
.section-kicker {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 0.45rem;
}
.section p, .section li { color: var(--muted); }
.section > .wrap > p { max-width: 48rem; }

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 1.65rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1.4rem;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.3rem;
  box-shadow: var(--shadow-sm);
}
.section-alt .card { background: var(--bg); }
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  color: var(--ink);
  font-family: var(--display);
  font-weight: 600;
}
.card p { margin: 0; font-size: 0.95rem; }
.card-icon {
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: var(--teal-soft);
  color: var(--teal);
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
.card-warn .card-icon {
  background: var(--amber-soft);
  color: var(--amber);
}

/* Feature rows */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  margin-top: 1.75rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}
.feature-row__media { margin: 0; min-height: 300px; }
.feature-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}
.feature-row__body {
  padding: 2rem 1.7rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  background: var(--surface-2);
}
.feature-row__body h3 {
  font-family: var(--display);
  margin: 0;
  font-size: 1.35rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.feature-row__body p { margin: 0; color: var(--muted); }
.feature-row.is-flip .feature-row__media { order: 2; }
.feature-row.is-flip .feature-row__body { order: 1; }

.callout {
  background: var(--amber-soft);
  border: 1px solid rgba(196, 106, 26, 0.28);
  border-left: 4px solid var(--amber);
  padding: 1.05rem 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.25rem 0 0;
}
.callout p { margin: 0; color: var(--text); font-size: 0.95rem; }
.callout-teal {
  background: var(--teal-soft);
  border-color: rgba(13, 107, 102, 0.25);
  border-left-color: var(--teal);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none !important;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-family: inherit;
  transition: background 0.15s, transform 0.15s;
}
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-deep); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.02rem; }
.btn-amber { background: var(--amber); color: #fff; }
.btn-amber:hover { background: #a85712; }

/* Final CTA */
.cta-final {
  padding: 3.75rem 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(13, 107, 102, 0.14), transparent 55%),
    linear-gradient(160deg, #12363a 0%, #0d2a2e 55%, #15252b 100%);
  color: #e8f2f0;
  text-align: center;
}
.cta-final__inner { max-width: 38rem; margin-inline: auto; }
.cta-final .section-kicker { color: #7dcdc4; }
.cta-final h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.4vw, 2.15rem);
  margin: 0 0 0.75rem;
  color: #fff;
  letter-spacing: -0.02em;
}
.cta-final__lead { color: #b7ccc8; margin: 0 0 1.5rem; }
.cta-final .btn-primary {
  background: #fff;
  color: var(--teal-deep);
}
.cta-final .btn-primary:hover { background: #e8f2f0; }
.cta-final__call {
  margin: 1.15rem 0 0;
  color: #9bb8b3;
  font-size: 0.95rem;
}
.cta-final__call a { color: #fff; font-weight: 700; }

/* FAQ */
.faq-list { margin-top: 1.25rem; display: grid; gap: 0.85rem; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
}
.faq-item h3 {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  font-family: var(--display);
  color: var(--ink);
}
.faq-item p { margin: 0; font-size: 0.95rem; }

/* Forms */
.quote-form { display: grid; gap: 0.9rem; margin-top: 0.75rem; }
.form-group { display: grid; gap: 0.35rem; }
.form-group label { font-weight: 600; font-size: 0.9rem; color: var(--ink); }
.form-group input,
.form-group select,
.form-group textarea {
  font: inherit;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid rgba(13, 107, 102, 0.35);
  border-color: var(--teal);
}
.form-note { font-size: 0.85rem; color: var(--muted); margin: 0.35rem 0 0; }
.form-status {
  margin-top: 1rem;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.form-status.is-success { background: #e8f6ee; border-color: #a7d4b8; color: var(--ok); }
.form-status.is-error { background: #fdeceb; border-color: #f0b4ae; color: var(--err); }
.form-status.is-setup { background: var(--amber-soft); border-color: rgba(196, 106, 26, 0.35); color: var(--text); }
.cta-panel {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
}
.phone-big {
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0.35rem 0;
}
.phone-big a { color: var(--teal-deep); text-decoration: none; }

.area-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding: 0;
  list-style: none;
}
.area-list a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.area-list a:hover { border-color: var(--teal); color: var(--teal); }

.prose h3 {
  font-family: var(--display);
  color: var(--ink);
  margin: 1.75rem 0 0.5rem;
  font-size: 1.25rem;
}
.prose p { max-width: 48rem; }
.prose ul { color: var(--muted); max-width: 48rem; }

/* Footer */
.site-footer {
  background: #12363a;
  color: #b7ccc8;
  padding: 2.75rem 0 1.5rem;
}
.site-footer a { color: #d7ebe7; }
.site-footer h3 {
  color: #fff;
  font-family: var(--display);
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 0.35rem 0; }
.footer-grid li a { text-decoration: none; font-size: 0.92rem; }
.footer-grid li a:hover { text-decoration: underline; }
.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem;
}

@media (max-width: 900px) {
  .trust-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3, .grid-2, .feature-row, .footer-grid { grid-template-columns: 1fr; }
  .feature-row.is-flip .feature-row__media,
  .feature-row.is-flip .feature-row__body { order: unset; }
  .nav-toggle { display: inline-block; }
  .nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 0 0.25rem;
    gap: 0.65rem;
  }
  .nav.is-open { display: flex; }
  .header-inner { flex-wrap: wrap; }
}
@media (max-width: 560px) {
  .trust-strip__grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .hero-soft { min-height: 360px; }
}
