/* ===================================
   Niagara Mold Pros — Styles
   Clinical Authority aesthetic
   =================================== */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Lora:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --primary:        #004d40;
  --primary-mid:    #00695c;
  --primary-light:  #e0f2f1;
  --accent:         #e65100;
  --accent-light:   #fff3e0;
  --danger:         #b71c1c;
  --danger-bg:      #ffebee;
  --dark:           #0d1f1a;
  --text:           #1f2d2a;
  --muted:          #4a5e5a;
  --border:         #c8dbd7;
  --bg:             #f5faf8;
  --white:          #ffffff;
  --radius:         6px;
  --radius-lg:      12px;
  --shadow:         0 2px 14px rgba(0,77,64,.10);
  --shadow-md:      0 4px 24px rgba(0,77,64,.14);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Sora', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--primary-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---- Typography scale ---- */
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; line-height: 1.2; }

/* ========================
   BUTTONS
   ======================== */
.btn {
  display: inline-block;
  padding: .75rem 1.5rem;
  border-radius: var(--radius);
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); text-decoration: none; }
.btn:active { transform: translateY(0); }

.btn-accent  { background: var(--accent); color: var(--white); }
.btn-accent:hover { background: #bf360c; }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.6); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-large   { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-header  { padding: .5rem 1.2rem; font-size: .9rem; background: var(--accent); color: var(--white); }
.btn-header:hover { background: #bf360c; }

/* ========================
   SITE HEADER
   ======================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--dark);
  border-bottom: 3px solid var(--primary-mid);
  padding: .9rem 0;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.logo-wrap { display: flex; align-items: center; gap: .6rem; }
.logo-icon {
  width: 36px; height: 36px;
  background: var(--primary-mid);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.logo-text {
  color: var(--white);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.3px;
}
.logo-text:hover { text-decoration: none; }

/* ========================
   ALERT RIBBON
   ======================== */
.alert-ribbon {
  background: var(--danger);
  color: var(--white);
  text-align: center;
  padding: .55rem 1rem;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .02em;
}
.alert-ribbon a { color: rgba(255,255,255,.9); text-decoration: underline; }

/* ========================
   HERO
   ======================== */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, #012e24 60%, var(--primary) 100%);
  color: var(--white);
  padding: 4.5rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2300695c' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 1;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 740px;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .3rem .9rem;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.9);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.1rem;
  letter-spacing: -.02em;
}
.hero h1 em {
  font-style: normal;
  color: #80cbc4;
}
.hero-sub {
  font-size: 1.1rem;
  line-height: 1.6;
  opacity: .88;
  max-width: 580px;
  margin-bottom: 2rem;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.hero-badge {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  padding: .3rem .85rem;
  font-size: .85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .35rem;
}
.hero-badge .check { color: #a5d6a7; font-size: .9rem; }
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ========================
   HEALTH STATS BAR
   ======================== */
.stats-bar {
  background: var(--primary-mid);
  padding: 1.5rem 0;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  text-align: center;
}
.stat-item {
  padding: .75rem 1rem;
  border-right: 1px solid rgba(255,255,255,.2);
  color: var(--white);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .2rem;
  color: #b2dfdb;
}
.stat-label { font-size: .8rem; opacity: .85; line-height: 1.3; }

/* ========================
   SECTIONS (shared)
   ======================== */
.section { padding: 3.5rem 0; }
.section-alt { background: var(--white); }

.section-header { text-align: center; margin-bottom: 2.5rem; }
.section-header h2 {
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.section-header p {
  color: var(--muted);
  font-size: .98rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ========================
   URGENCY BLOCK
   ======================== */
.urgency-block {
  background: var(--danger-bg);
  border: 1px solid #ffcdd2;
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  margin-bottom: 3rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}
.urgency-icon { font-size: 2rem; flex-shrink: 0; line-height: 1; }
.urgency-block h3 { font-size: 1.05rem; font-weight: 700; color: var(--danger); margin-bottom: .35rem; }
.urgency-block p { font-size: .92rem; color: #5d1212; line-height: 1.55; }

/* ========================
   SERVICE CARDS
   ======================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.25rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.service-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.service-card .svc-icon {
  width: 44px; height: 44px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: .4rem;
}
.service-card p {
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.55;
}

/* ========================
   HOW IT WORKS
   ======================== */
.steps-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}
.step { text-align: center; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1.1rem;
}
.step h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.step p { font-size: .88rem; color: var(--muted); }

/* ========================
   WHY US (no fake reviews)
   ======================== */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.reason-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.reason-icon { font-size: 2.5rem; margin-bottom: .75rem; }
.reason-card h3 { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: .4rem; }
.reason-card p { font-size: .88rem; color: var(--muted); line-height: 1.55; }

/* ========================
   PRICING
   ======================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.pricing-row {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
}
.pricing-row h4 { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: .25rem; }
.pricing-row .range {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-mid);
  margin-bottom: .25rem;
}
.pricing-row p { font-size: .82rem; color: var(--muted); }
.pricing-disclaimer {
  background: var(--primary-light);
  border-left: 4px solid var(--primary-mid);
  padding: 1rem 1.25rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: .88rem;
  color: #004d40;
  line-height: 1.6;
}

/* ========================
   SERVICE AREA
   ======================== */
.city-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.city-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .4rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--primary);
  transition: background .15s, border-color .15s;
}
.city-pill:hover { background: var(--primary-light); border-color: var(--primary-mid); }

/* ========================
   QUOTE FORM
   ======================== */
.quote-section {
  background: var(--dark);
  padding: 4rem 0;
}
.quote-section .section-header h2 { color: var(--white); }
.quote-section .section-header p { color: rgba(255,255,255,.72); }

.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  max-width: 620px;
  margin: 0 auto;
  box-shadow: 0 8px 40px rgba(0,0,0,.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1.1rem; }
.form-group label {
  display: block;
  font-size: .85rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: .35rem;
  letter-spacing: .01em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: .7rem .9rem;
  border: 1.5px solid #d0d8d5;
  border-radius: var(--radius);
  font-family: 'Sora', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-mid);
  box-shadow: 0 0 0 3px rgba(0,105,92,.15);
}
.form-group textarea { resize: vertical; min-height: 88px; }

.consent-line {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  margin-bottom: 1.25rem;
  font-size: .82rem;
  color: var(--muted);
  line-height: 1.5;
}
.consent-line input[type="checkbox"] { flex-shrink: 0; margin-top: 3px; accent-color: var(--primary); }
.consent-line a { color: var(--primary-mid); }

.btn-submit {
  width: 100%;
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 1rem;
  border-radius: var(--radius);
  font-family: 'Sora', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: .02em;
  transition: background .2s, transform .15s;
}
.btn-submit:hover { background: #bf360c; transform: translateY(-1px); }

/* ========================
   SITE FOOTER
   ======================== */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1.75rem 0;
  text-align: center;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
}
.site-footer a { color: rgba(255,255,255,.65); }
.site-footer a:hover { color: var(--white); text-decoration: underline; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 640px) {
  .form-row    { grid-template-columns: 1fr; }
  .hero-cta    { flex-direction: column; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2n) { border-right: none; }
  .stat-item { border-bottom: 1px solid rgba(255,255,255,.15); }
  .hero        { padding: 2.5rem 0 2.25rem; }
  .quote-card  { padding: 1.5rem; }
  .urgency-block { flex-direction: column; }
}
@media (max-width: 400px) {
  .stats-inner { grid-template-columns: 1fr 1fr; }
}
