/* ==============================
   Neighborhood Contractors - styles.css (LIGHT THEME)
   White background + Navy text + Gold accents
   ============================== */

/* ---- CSS Variables ---- */
:root{
  --bg: #ffffff;             /* page background */
  --surface: #ffffff;        /* card surface */
  --surface-2: #f7f9fc;      /* alt section background */
  --text: #0b1b33;           /* navy-ish primary text */
  --muted: rgba(11,27,51,0.72);
  --muted-2: rgba(11,27,51,0.58);

  --navy: #0b1b33;
  --navy-2: #132a4d;

  --gold: #c9a23a;           /* gold accent */
  --gold-2: #a8842e;

  --border: rgba(11,27,51,0.14);
  --border-2: rgba(11,27,51,0.10);

  --shadow: 0 14px 40px rgba(11,27,51,0.10);
  --shadow-soft: 0 10px 26px rgba(11,27,51,0.10);

  --radius: 18px;
  --radius-2: 24px;

  --container: 1100px;
  --gutter: 20px;

  --font: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
}

/* ---- Base Reset ---- */
*{ box-sizing: border-box; }
html, body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1100px 600px at 10% -10%, rgba(201,162,58,0.14), transparent 60%),
    radial-gradient(900px 520px at 95% 0%, rgba(19,42,77,0.08), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.55;
}

img{ max-width: 100%; height: auto; }
a{ color: inherit; text-decoration: none; }
p{ margin: 0 0 14px; }
h1,h2,h3,h4{ margin: 0 0 10px; line-height: 1.15; }
ul{ margin: 0; padding-left: 18px; }
strong{ color: var(--text); }

::selection{
  background: rgba(201,162,58,0.28);
}

/* ---- Helpers ---- */
.container{
  width: min(var(--container), calc(100% - (var(--gutter) * 2)));
  margin-inline: auto;
}

.small{ font-size: 0.95rem; color: var(--muted); }

.center-row{
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.text-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 750;
  padding: 8px 0;
  border-bottom: 2px solid rgba(201,162,58,0.55);
}
.text-link:hover{
  color: var(--navy-2);
  border-bottom-color: rgba(201,162,58,0.85);
}

/* ---- Header ---- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,0.88);
  border-bottom: 1px solid var(--border);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}

.brand img{
  width: 210px;
  height: auto;
  display: block;
}

.nav{
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.nav a{
  color: rgba(11,27,51,0.78);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 10px 10px;
  border-radius: 12px;
}
.nav a:hover{
  color: var(--text);
  background: rgba(11,27,51,0.05);
}

.nav .nav-cta{
  border: 1px solid var(--border);
  background: rgba(201,162,58,0.10);
  color: var(--navy);
  padding: 10px 12px;
}
.nav .nav-cta:hover{
  border-color: rgba(201,162,58,0.55);
  background: rgba(201,162,58,0.18);
}

/* ---- Buttons ---- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.2px;
  border: 1px solid transparent;
  box-shadow: none;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
  cursor: pointer;
}

.btn:focus{
  outline: 2px solid rgba(201,162,58,0.65);
  outline-offset: 2px;
}

.btn:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
}

.btn-primary{
  background: linear-gradient(180deg, rgba(201,162,58,1), rgba(168,132,46,1));
  color: #111;
  border-color: rgba(0,0,0,0.10);
}
.btn-primary:hover{
  background: linear-gradient(180deg, rgba(201,162,58,1), rgba(201,162,58,0.92));
}

.btn-secondary{
  background: #ffffff;
  color: var(--navy);
  border-color: rgba(11,27,51,0.18);
}
.btn-secondary:hover{
  border-color: rgba(201,162,58,0.60);
  background: rgba(201,162,58,0.10);
}

/* ---- Hero ---- */
.hero{
  padding: 46px 0 22px;
}

.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
}
.hero-copy h1{
  font-size: clamp(2rem, 3.2vw, 3rem);
  letter-spacing: -0.6px;
}

.lead{
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 58ch;
}

.cta-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 18px;
  margin-bottom: 14px;
}

.hero-note{
  color: var(--muted-2);
  font-size: 0.98rem;
  max-width: 62ch;
}

/* Hero image container */
.hero-media{
  overflow: hidden;
  border-radius: var(--radius);
  border: none;
  background: rgba(19,42,77,0.018); /* tuned to your page gradient */
  box-shadow: var(--shadow);
}

/* Hero image */
.hero-media img{
  width: 100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: contain;
  object-position: center;
  display: block;

  background: rgba(19,42,77,0.018); /* same as container so letterbox disappears */
  border-radius: inherit;
}

.notice {
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
  font-weight: 600;
  line-height: 1.35;
}

.notice.success {
  border: 1px solid rgba(18, 102, 68, 0.25);
  background: rgba(18, 102, 68, 0.08);
}
.notice.error {
  border: 1px solid rgba(176, 0, 32, 0.25);
  background: rgba(176, 0, 32, 0.08);
}

/* ---- Pill Strip ---- */
.pill-strip{
  padding: 14px 0 10px;
}

.pills{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.pill{
  border: 1px solid var(--border);
  background: rgba(11,27,51,0.03);
  color: rgba(11,27,51,0.74);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
}

/* Availability section: tighten spacing to pills */
.section.alt .pills {
  margin-top: 10px;
}

.section.alt .pills {
  margin-top: 10px;
  margin-bottom: 14px;
}

/* ---- Sections ---- */
.section{
  padding: 54px 0;
}

.section.alt{
  background: var(--surface-2);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

.section-header{
  margin-bottom: 22px;
}

.section-header h2{
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  letter-spacing: -0.2px;
}

.section-header p{
  color: var(--muted);
  max-width: 72ch;
}

/* ---- Cards / Grids ---- */
.steps,
.cards-2,
.cards-3{
  display: grid;
  gap: 16px;
}

.steps{ grid-template-columns: repeat(3, 1fr); }
.cards-2{ grid-template-columns: repeat(2, 1fr); }
.cards-3{ grid-template-columns: repeat(3, 1fr); }

.step-card,
.info-card,
.stat-card{
  background: var(--surface);
  border: 1px solid rgba(11,27,51,0.14);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(11,27,51,0.08);
}

.step-card h3,
.info-card h3,
.stat-card h3{
  font-size: 1.12rem;
  color: var(--navy);
}

.step-card p,
.info-card p,
.stat-card p{
  color: var(--muted);
  margin-bottom: 10px;
}

.checklist{
  list-style: none;
  padding-left: 0;
  margin: 12px 0 14px;
}

.checklist li{
  position: relative;
  padding-left: 26px;
  margin: 8px 0;
  color: var(--muted);
}

.checklist li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 4px;
  background: rgba(201,162,58,0.22);
  border: 1px solid rgba(201,162,58,0.70);
}
/* ================= COVERAGE + BUILD NEXT ================= */

/* Use your existing alt-section language (surface-2 + soft borders) */
.section-muted{
  background: var(--surface-2);
  border-top: 1px solid var(--border-2);
  border-bottom: 1px solid var(--border-2);
}

.coverage-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 18px;
}

@media (min-width: 860px){
  .coverage-grid{
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 22px;
  }
}

.coverage-card{
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 16px;
  box-shadow: 0 10px 24px rgba(11,27,51,0.08); /* matches your other card shadows */
}

/* “Build next” card gets a subtle gold hint without screaming */
.coverage-card--accent{
  border-color: rgba(201,162,58,0.45);
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(201,162,58,0.12), transparent 55%),
    var(--surface);
}

.coverage-title{
  margin: 0 0 6px;
  font-size: 1.12rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.coverage-sub{
  margin: 0 0 12px;
  color: var(--muted);
}

.coverage-list{
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
  color: var(--muted);
}

.coverage-footnote{
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* --- Coverage cards: equal height + bottom-aligned actions --- */
.coverage-card{
  display: flex;
  flex-direction: column;
}

.coverage-actions{
  margin-top: auto; /* pushes the button row to the bottom */
  padding-top: 14px; /* keeps spacing consistent above buttons */
}

.badge{
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 750;
  border: 1px solid var(--border);
  background: rgba(11,27,51,0.04);
  color: rgba(11,27,51,0.78);
}

.badge--gold{
  border-color: rgba(201,162,58,0.55);
  background: rgba(201,162,58,0.14);
  color: var(--navy);
}

.coverage-actions{
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* ---- FAQ ---- */
.faq{
  display: grid;
  gap: 10px;
}

details{
  background: #fff;
  border: 1px solid rgba(11,27,51,0.14);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 8px 18px rgba(11,27,51,0.06);
}

summary{
  cursor: pointer;
  font-weight: 800;
  color: var(--navy);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.inline-link{
  font-weight: 800;
  color: var(--navy);
  border-bottom: 2px solid rgba(201,162,58,0.55);
}
.inline-link:hover{
  color: var(--navy-2);
  border-bottom-color: rgba(201,162,58,0.85);
}

summary::-webkit-details-marker{ display: none; }

summary::after{
  content: "+";
  color: var(--gold);
  font-size: 1.25rem;
  line-height: 1;
}

details[open] summary::after{
  content: "–";
}

details p{
  margin-top: 10px;
  color: var(--muted);
}

/* ---- Footer ---- */
.site-footer{
  padding: 50px 0 22px;
  background: #fff;
}

.footer-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 22px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.footer-col h4{
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--navy);
}

.footer-col a{
  display: block;
  padding: 8px 0;
  color: rgba(11,27,51,0.78);
  font-weight: 750;
}

.footer-col a:hover{
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(201,162,58,0.8);
}

.footer-logo{
  width: 220px;
  display: block;
  margin-bottom: 10px;
}

.footer-bottom{
  display: flex;
  justify-content: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-2);
}

/* ---- Responsive ---- */
@media (max-width: 980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .cards-3{ grid-template-columns: 1fr; }
}

@media (max-width: 760px){
  .cards-2{ grid-template-columns: 1fr; }
  .header-inner{ flex-direction: column; align-items: flex-start; }
  .nav{ width: 100%; }
  .brand img{ width: 200px; }
}

@media (max-width: 520px){
  .btn{ width: 100%; }
  .cta-row{ flex-direction: column; align-items: stretch; }
  .pill{ font-size: 0.92rem; }
}
/* ==============================
   Contact Form Styles
   ============================== */

.contact-form{
  display: grid;
  gap: 12px;
}

.contact-form label{
  display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,27,51,0.18);
  background: #ffffff;
  color: #0b1b33;
  font: inherit;
  outline: none;
}

.contact-form textarea{
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus{
  border-color: rgba(201,162,58,0.75);
  box-shadow: 0 0 0 3px rgba(201,162,58,0.18);
}
/* --- Contact form UX polish --- */
.notice{
  margin-top: 10px;
}

.btn:disabled{
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.contact-form input:invalid,
.contact-form textarea:invalid{
  box-shadow: none;
}
/* =========================================================
   Homepage: Lifecycle + Founder section
   ========================================================= */

/* Center helper for section headers (if you don't already have it) */
.section-header.center { text-align: center; }

/* Lifecycle strip */
.lifecycle{
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 18px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}

.lifecycle-step{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 14px 14px 12px;
  background: #fff;
  position: relative;
}

.lifecycle-step--highlight{
  background: rgba(212, 160, 46, .08);
  border-color: rgba(212, 160, 46, .35);
}

.lifecycle-arrow{
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  opacity: .45;
  padding: 0 2px;
}

.lifecycle-icon{
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(212, 160, 46, .18);
  border: 1px solid rgba(212, 160, 46, .35);
  margin-bottom: 10px;
}

.lifecycle-title{
  font-weight: 800;
  color: var(--navy, #0b1f3a);
  margin-bottom: 6px;
}

.lifecycle-text{
  color: rgba(11,31,58,.78);
  line-height: 1.35;
  font-size: 14px;
}

.lifecycle-tag{
  display: inline-block;
  margin-top: 10px;
  padding: 6px 10px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(11,31,58,.06);
  border: 1px solid rgba(11,31,58,.12);
  color: rgba(11,31,58,.75);
}

/* Founder section with photo */
.founder-grid{
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 22px;
  align-items: center;
}

.founder-media img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.08);
}

.eyebrow{
  margin: 0 0 12px;
  color: rgba(11,31,58,.78);
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(11,31,58,.06);
  border: 1px solid rgba(11,31,58,.10);
}

.founder-copy h2{
  margin-top: 0;
}

/* Responsive */
@media (max-width: 980px){
  .lifecycle{
    grid-template-columns: 1fr;
  }
  .lifecycle-arrow{
    display: none;
  }
  .founder-grid{
    grid-template-columns: 1fr;
  }
}
