/* ==========================================================================
   Fresh Start Home Solutions — Shared Stylesheet
   Brand: teal + warm coral, trusted-advisor / mission-driven
   ========================================================================== */

:root {
  --teal:        #2f9c99;
  --teal-dark:   #237673;
  --teal-darker: #16323a;
  --teal-light:  #e7f4f3;
  --teal-mist:   #f3faf9;
  --ink:         #16323a;
  --ink-soft:    #3c5057;
  --gray:        #5c6b70;
  --gray-light:  #8a989d;
  --coral:       #f26a4b;
  --coral-dark:  #d9542f;
  --gold:        #f6a623;
  --cream:       #fbf8f4;
  --white:       #ffffff;
  --line:        #e3ebec;
  --shadow-sm:   0 2px 8px rgba(22,50,58,.06);
  --shadow-md:   0 10px 30px rgba(22,50,58,.10);
  --shadow-lg:   0 24px 60px rgba(22,50,58,.16);
  --radius:      14px;
  --radius-lg:   22px;
  --maxw:        1140px;
  --font-head:   'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;
  --font-body:   'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  font-size: 17px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-dark); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); letter-spacing: -.01em; }
h3 { font-size: 1.3rem; }
p { margin-bottom: 1rem; }
ul { margin: 0 0 1rem 1.1rem; }
li { margin-bottom: .4rem; }

/* ----- Layout helpers ----- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.bg-mist { background: var(--teal-mist); }
.bg-cream { background: var(--cream); }
.bg-ink { background: var(--teal-darker); color: #d9e6e7; }
.bg-ink h1, .bg-ink h2, .bg-ink h3 { color: #fff; }
.text-center { text-align: center; }
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: .8rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal-dark); margin-bottom: .6rem;
}
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.measure { max-width: 720px; }
.measure-center { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ----- Buttons ----- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem;
  padding: 14px 26px; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-align: center; line-height: 1.1;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 8px 20px rgba(242,106,75,.32); }
.btn-primary:hover { background: var(--coral-dark); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(47,156,153,.3); }
.btn-teal:hover { background: var(--teal-dark); color: #fff; }
.btn-outline { background: transparent; color: var(--teal-darker); border-color: var(--teal); }
.btn-outline:hover { background: var(--teal); color: #fff; }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost-light:hover { background: #fff; color: var(--teal-darker); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ----- Top utility bar ----- */
.topbar { background: var(--teal-darker); color: #cfe2e2; font-family: var(--font-head); font-size: .82rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; padding: 7px 22px; }
.topbar .serving { letter-spacing: .02em; }
.topbar-phones a { color: #eaf4f4; font-weight: 700; margin-left: 20px; white-space: nowrap; }
.topbar-phones a:hover { color: #fff; }
@media (max-width: 600px) {
  .topbar .container { justify-content: center; padding: 6px 14px; }
  .topbar .serving { display: none; }
  .topbar-phones a { margin: 0 10px; }
}

/* ----- Header / Nav ----- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; gap: 18px; }
.brand { display: flex; align-items: center; gap: 11px; flex-shrink: 0; }
.brand:hover { color: inherit; }
.brand-mark { width: 42px; height: 42px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text strong { font-family: var(--font-head); font-size: 1.06rem; color: var(--ink); letter-spacing: -.01em; }
.brand-text span { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-dark); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; }
.nav-links a {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink-soft);
  padding: 9px 12px; border-radius: 8px; white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal-darker); background: var(--teal-light); }
.nav-cta { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.nav-phone { font-family: var(--font-head); font-weight: 700; color: var(--teal-darker); white-space: nowrap; font-size: .95rem; }
.nav-phone:hover { color: var(--coral-dark); }
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ----- Hero ----- */
.hero { position: relative; background: linear-gradient(160deg, #f3faf9 0%, #e7f4f3 55%, #dcefee 100%); overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -120px; top: -120px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(47,156,153,.16), transparent 68%); border-radius: 50%;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center; padding: 70px 0; position: relative; z-index: 1; }
.hero h1 { margin-bottom: 18px; }
.hero .lead { margin-bottom: 26px; max-width: 540px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 22px; }
.hero-trust { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; color: var(--gray); font-size: .92rem; }
.hero-trust .stars { color: var(--gold); letter-spacing: 2px; font-size: 1.05rem; }
.hero-card {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  padding: 30px; position: relative; z-index: 1;
}
.hero-card h3 { color: var(--teal-darker); margin-bottom: 4px; }
.hero-card .sub { color: var(--gray); font-size: .92rem; margin-bottom: 18px; }

/* ----- Badge row / trust strip ----- */
.trust-strip { background: var(--teal-darker); color: #cfe2e2; }
.trust-strip .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 18px 22px; text-align: center; }
.trust-strip .item { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: #eaf4f4; }
.trust-strip .item svg { flex-shrink: 0; }

/* ----- Cards / grids ----- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: transform .2s ease, box-shadow .2s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card .icon {
  width: 54px; height: 54px; border-radius: 13px; display: grid; place-items: center;
  background: var(--teal-light); color: var(--teal-dark); margin-bottom: 16px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--gray); margin-bottom: 0; font-size: .98rem; }
.card-link { display: inline-block; margin-top: 14px; font-family: var(--font-head); font-weight: 700; font-size: .92rem; }
.card-link::after { content: " →"; }

/* Service card with header band */
.svc-card { display: flex; flex-direction: column; }
.svc-card .tag { font-family: var(--font-head); font-weight: 700; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-dark); margin-bottom: 6px; }

/* ----- Steps ----- */
.steps { counter-reset: step; display: grid; gap: 26px; grid-template-columns: repeat(3,1fr); }
.step { position: relative; padding-top: 8px; }
.step .num {
  width: 46px; height: 46px; border-radius: 50%; background: var(--coral); color: #fff;
  font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; display: grid; place-items: center; margin-bottom: 14px;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--gray); margin-bottom: 0; }

/* ----- Reviews carousel ----- */
.reviews { overflow: hidden; }
.reviews-track-wrap { position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews-track { display: flex; gap: 22px; width: max-content; animation: scrollx 48s linear infinite; }
.reviews-track:hover { animation-play-state: paused; }
@keyframes scrollx { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.review {
  width: 360px; flex-shrink: 0; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.review .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 10px; }
.review p { font-size: .98rem; color: var(--ink-soft); margin-bottom: 16px; }
.review .who { display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 700; }
.review .who strong { display: block; font-family: var(--font-head); font-size: .95rem; }
.review .who span { font-size: .82rem; color: var(--gray); }
.reviews-cta { margin-top: 28px; }
@media (prefers-reduced-motion: reduce) { .reviews-track { animation: none; } .reviews-track-wrap { overflow-x: auto; } }

/* ----- Feature split ----- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--teal-light); min-height: 320px; }
.checklist { list-style: none; margin: 0; }
.checklist li { position: relative; padding-left: 34px; margin-bottom: 14px; color: var(--ink-soft); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 50%;
  background: var(--teal-light); color: var(--teal-dark); display: grid; place-items: center; font-weight: 800; font-size: .8rem;
}

/* ----- Callout / CTA band ----- */
.cta-band { background: linear-gradient(135deg, var(--teal) 0%, var(--teal-dark) 100%); color: #fff; border-radius: var(--radius-lg); padding: 48px; text-align: center; box-shadow: var(--shadow-md); }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.9); max-width: 600px; margin: 0 auto 24px; }
.cta-band .hero-cta { justify-content: center; }

/* ----- Forms ----- */
.form-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 32px; border: 1px solid var(--line); }
.form-card.on-dark { box-shadow: var(--shadow-lg); }
.field { margin-bottom: 16px; }
.field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: .9rem; margin-bottom: 6px; color: var(--ink); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  font-family: var(--font-body); font-size: 1rem; color: var(--ink); background: #fff; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(47,156,153,.15);
}
.field textarea { resize: vertical; min-height: 96px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .82rem; color: var(--gray); margin-bottom: 18px; }
.consent input { width: 18px; height: 18px; margin-top: 3px; flex-shrink: 0; }
.form-note { font-size: .85rem; color: var(--gray); margin-top: 14px; text-align: center; }
.form-success { display: none; background: var(--teal-light); border: 1.5px solid var(--teal); color: var(--teal-darker); border-radius: 12px; padding: 22px; text-align: center; font-family: var(--font-head); }
.form-success.show { display: block; }

/* ----- FAQ ----- */
.faq-item { border: 1px solid var(--line); border-radius: 12px; margin-bottom: 12px; background: #fff; overflow: hidden; }
.faq-q { width: 100%; text-align: left; background: none; border: none; cursor: pointer; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.04rem; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-q .chev { transition: transform .25s; color: var(--teal); flex-shrink: 0; font-size: 1.3rem; line-height: 1; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-a-inner { padding: 0 22px 20px; color: var(--gray); }
.faq-item.open .faq-a { max-height: 420px; }

/* ----- Partner network logos/badges ----- */
.pill-row { display: flex; flex-wrap: wrap; gap: 12px; }
.pill { background: var(--teal-light); color: var(--teal-darker); border-radius: 50px; padding: 9px 18px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; }

/* ----- Stat row ----- */
.stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.stat .big { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; color: var(--teal); line-height: 1; }
.stat .lbl { color: var(--gray); font-size: .92rem; margin-top: 6px; }

/* ----- Breadcrumb / page hero ----- */
.page-hero { background: linear-gradient(160deg, #f3faf9, #e0efee); padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.crumb { font-size: .85rem; color: var(--gray); margin-bottom: 12px; }
.crumb a { font-weight: 600; }
.pagehero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: center; }
.hero-illus { margin: 0; }
.hero-illus img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }
@media (max-width: 920px) {
  .pagehero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-illus { max-width: 440px; }
}

/* ----- Sticky mobile call bar ----- */
.mobile-bar { display: none; }

/* ----- Footer ----- */
.site-footer { background: var(--teal-darker); color: #aec6c7; padding: 56px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: #aec6c7; }
.site-footer a:hover { color: #fff; }
.footer-links { list-style: none; margin: 0; }
.footer-links li { margin-bottom: 8px; }
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text span { color: var(--teal); }
.footer-brand p { font-size: .92rem; margin-top: 14px; max-width: 300px; }
.footer-phone { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.05rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 38px; padding-top: 22px; font-size: .84rem; color: #87a3a4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-disclaimer { font-size: .8rem; color: #6f8c8d; margin-top: 14px; line-height: 1.6; }

/* ----- Utilities ----- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-2 { margin-top: 1.4rem; } .mb-2 { margin-bottom: 1.4rem; }
.mt-3 { margin-top: 2rem; } .mb-3 { margin-bottom: 2rem; }
.hide { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; padding: 48px 0; }
  .hero-card { order: 2; }
  .grid-3, .grid-4, .steps, .stats { grid-template-columns: repeat(2, 1fr); }
  .split, .field-row { grid-template-columns: 1fr; gap: 30px; }
  .split.reverse .split-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
/* Collapse nav to menu button before it gets cramped */
@media (max-width: 1024px) {
  .nav-links {
    position: fixed; inset: 94px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 14px 22px 22px; gap: 4px; box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .3s ease; z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed; inset: 94px 0 auto 0; background: #fff; flex-direction: column;
    align-items: stretch; padding: 14px 22px 22px; gap: 4px; box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--line); transform: translateY(-130%); transition: transform .3s ease; z-index: 90;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 12px; font-size: 1.05rem; }
  .nav-toggle { display: flex; }
  .nav-cta .nav-phone { display: none; }
  .section { padding: 52px 0; }
  .cta-band { padding: 34px 24px; }
  .grid-3, .grid-4, .steps, .stats, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .form-card, .cta-band { padding: 24px; }
  /* sticky mobile call/text bar */
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr; position: fixed; bottom: 0; left: 0; right: 0; z-index: 95;
    box-shadow: 0 -4px 20px rgba(0,0,0,.12);
  }
  .mobile-bar a { padding: 15px; text-align: center; font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1rem; }
  .mobile-bar .call { background: var(--teal-dark); }
  .mobile-bar .quote { background: var(--coral); }
  body { padding-bottom: 54px; }
  .reviews-track { animation-duration: 36s; }
}
@media (max-width: 420px) {
  .hero-cta .btn { width: 100%; }
}
