/* ===== Neybr — Warm & Personal Styleguide =====
   Wordmark: lowercase "neybr"  |  Slogan: "familiar faces, near by"
   Palette: warm ivory bg, terracotta primary, sage secondary, warm charcoal ink
   Display font: Fraunces (soft, warm serif for headings)
   Accent/handwritten font: Caveat (eyebrows, quotes, "notes")
   Body font: Nunito Sans (rounded, friendly, highly legible)
   Shape language: large radii, soft organic blobs, gentle rotation, no hard edges
   ================================== */

:root {
  --terracotta: #D97D5C;
  --terracotta-dark: #BE6244;
  --sage: #8A9A7E;
  --sage-dark: #6E7F63;
  --ink: #3A342E;
  --ink-soft: #6B6055;
  --ivory: #FDF8F1;
  --ivory-warm: #F7EDE1;
  --cream-card: #FFFDFA;
  --white: #FFFFFF;
  --border: #EADFCE;
  --shadow: 0 10px 30px rgba(58, 52, 46, 0.08);
  --shadow-soft: 0 4px 14px rgba(58, 52, 46, 0.06);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Nunito Sans', 'Nunito', Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
}

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 500; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.35rem; font-weight: 600; }

p { margin: 0 0 1em 0; color: var(--ink-soft); }

a { color: var(--terracotta-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

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

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

/* ---------- Handwritten accent ---------- */
.hand {
  font-family: 'Caveat', cursive;
  font-weight: 600;
  color: var(--terracotta-dark);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 16px 34px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn-primary {
  background: var(--terracotta);
  color: var(--white);
  box-shadow: 0 6px 18px rgba(217, 125, 92, 0.32);
}
.btn-primary:hover {
  background: var(--terracotta-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(217, 125, 92, 0.4);
}
.btn-outline {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-outline:hover {
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}
.btn-block { display: block; width: 100%; text-align: center; }

/* ---------- Header / Nav ---------- */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 241, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
  max-width: 1280px;
  margin: 0 auto;
  gap: 20px;
}
.brand-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-logo img { height: 96px; width: auto; }
nav.main-nav { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
nav.main-nav a { color: var(--ink); font-weight: 700; font-size: 0.94rem; white-space: nowrap; }
nav.main-nav a:hover { text-decoration: none; color: var(--terracotta-dark); }
nav.main-nav a.active { color: var(--terracotta-dark); }
.nav-cta { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.nav-cta .btn-primary { padding: 11px 22px; font-size: 0.9rem; }
.nav-phone { font-weight: 700; color: var(--ink); font-size: 0.92rem; white-space: nowrap; }

/* ---------- Mobile nav toggle ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 12px;
  background: var(--ivory-warm);
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 3px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--ivory);
  border-top: 1px solid var(--border);
  padding: 8px 28px 24px;
}
.mobile-menu a {
  padding: 14px 4px;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:hover { text-decoration: none; color: var(--terracotta-dark); }
.mobile-menu a.active { color: var(--terracotta-dark); }
.mobile-menu .mobile-phone {
  padding: 16px 4px 4px;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.02rem;
}
.mobile-menu .btn { margin-top: 14px; text-align: center; }

@media (max-width: 820px) {
  nav.main-nav.links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .mobile-menu.open { display: flex; }
  .nav-wrap { padding: 8px 20px; gap: 12px; }
  .brand-logo img { height: 56px; }
  .mobile-menu { padding: 8px 20px 20px; }
}

@media (max-width: 400px) {
  .nav-wrap { padding: 8px 14px; }
  .brand-logo img { height: 46px; }
  .nav-toggle { width: 38px; height: 38px; }
  .nav-toggle span { width: 19px; }
  .mobile-menu { padding: 6px 14px 18px; }
  .mobile-menu a { font-size: 0.96rem; padding: 12px 2px; }
}

/* ---------- Hero ---------- */
.hero { padding: 76px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -120px; right: -160px;
  width: 480px; height: 480px;
  background: radial-gradient(circle, rgba(138,154,126,0.18) 0%, rgba(138,154,126,0) 70%);
  border-radius: 50%;
  z-index: 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 52px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: 'Caveat', cursive;
  color: var(--terracotta-dark);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.hero p.sub { font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 30px; flex-wrap: wrap; align-items: center; }
.hero-phone { font-weight: 700; color: var(--ink); }
.hero-image-card {
  background: var(--cream-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid var(--border);
  transform: rotate(1.2deg);
}
.hero-image-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--ivory-warm) 0%, #EFE0CB 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta-dark);
  font-family: 'Caveat', cursive;
  font-size: 1.3rem;
  text-align: center;
  padding: 24px;
}
.hero-photo {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-image-card { order: -1; transform: rotate(0.6deg); }
}

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink); padding: 24px 0; }
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  justify-content: center;
  align-items: center;
}
.trust-item {
  color: var(--ivory);
  font-size: 0.94rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item .dot { color: var(--terracotta); }

/* ---------- Generic sections ---------- */
.section-head { max-width: 680px; margin: 0 auto 44px; text-align: center; }
.section-head p { font-size: 1.08rem; }
.bg-warm { background: var(--ivory-warm); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }

/* ---------- Cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 900px) { .card-grid { grid-template-columns: 1fr; } }

.card-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1000px) { .card-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .card-grid-4 { grid-template-columns: 1fr; } }

.card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: 10px; }
.card .icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--ivory-warm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .pricing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pricing-grid { grid-template-columns: 1fr; } }

.price-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.price-card.featured {
  border: 2px solid var(--sage);
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}
.price-card .badge {
  position: absolute;
  top: -15px; left: 24px;
  background: var(--sage-dark);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
.price-card .tier-name { font-size: 0.83rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--terracotta-dark); font-weight: 800; margin-bottom: 8px; }
.price-card .price { font-family: 'Fraunces', serif; font-size: 2.3rem; color: var(--ink); margin-bottom: 0; }
.price-card .cadence { font-size: 0.95rem; margin-bottom: 20px; }
.price-card .best-for { color: var(--terracotta-dark); font-family: 'Caveat', cursive; font-size: 1.15rem; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.price-card ul { padding-left: 0; list-style: none; margin: 0 0 18px 0; }
.price-card ul li { padding-left: 26px; position: relative; margin-bottom: 10px; font-size: 0.97rem; color: var(--ink-soft); }
.price-card ul li::before { content: "✓"; position: absolute; left: 0; color: var(--sage-dark); font-weight: 700; }

.guarantee-banner {
  background: var(--ivory-warm);
  border-radius: var(--radius-md);
  padding: 30px 34px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  border-left: 5px solid var(--sage);
}
.guarantee-banner .label { font-weight: 800; color: var(--terracotta-dark); text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.06em; margin-bottom: 8px; }
.guarantee-banner blockquote { margin: 0; font-family: 'Caveat', cursive; font-size: 1.5rem; color: var(--ink); }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { text-align: left; position: relative; padding-top: 8px; }
.step .num {
  counter-increment: step;
  font-family: 'Fraunces', serif;
  font-size: 2.4rem;
  color: var(--white);
  font-weight: 600;
  line-height: 1;
  width: 56px; height: 56px;
  background: var(--terracotta);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  box-shadow: var(--shadow-soft);
}
.step .num::before { content: counter(step); }

/* ---------- Comparison table ---------- */
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
}
.compare .col { padding: 34px 30px; }
.compare .col.neybr { background: var(--cream-card); border-right: 1px solid var(--border); }
.compare .col.them { background: #F5F0E9; }
.compare h4 { font-family: 'Fraunces', serif; font-size: 1.3rem; margin-bottom: 18px; }
.compare ul { padding-left: 0; list-style: none; margin: 0; }
.compare li { padding: 11px 0; border-bottom: 1px solid rgba(58,52,46,0.08); font-size: 0.97rem; color: var(--ink-soft); }
.compare .col.neybr li::before { content: "✓ "; color: var(--sage-dark); font-weight: 700; }
.compare .col.them li::before { content: "✕ "; color: #B08A7A; font-weight: 700; }
@media (max-width: 700px) {
  .compare { grid-template-columns: 1fr; }
  .compare .col.neybr { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ---------- FAQ accordion ---------- */
.accordion { max-width: 760px; margin: 0 auto; }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.08rem;
  padding: 24px 6px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
}
.acc-item summary::-webkit-details-marker { display: none; }
.acc-item summary::after {
  content: "+";
  font-size: 1.7rem;
  color: var(--terracotta-dark);
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.acc-item[open] summary::after { transform: rotate(45deg); }
.acc-item .acc-body { padding: 0 6px 24px; }

/* ---------- Testimonial / social proof ---------- */
.proof-stat {
  background: var(--ink);
  color: var(--ivory);
  border-radius: var(--radius-md);
  padding: 44px;
  text-align: center;
}
.proof-stat p { color: rgba(253,248,241,0.85); }
.proof-stat .big-num {
  font-family: 'Fraunces', serif;
  font-size: 3.1rem;
  color: var(--terracotta);
  display: block;
  margin-bottom: 8px;
}
.testimonial-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  transform: rotate(-0.6deg);
}
.testimonial-card p.quote {
  font-family: 'Caveat', cursive;
  font-size: 1.5rem;
  color: var(--ink);
  line-height: 1.4;
}
.testimonial-card .who { font-weight: 700; font-size: 0.92rem; color: var(--terracotta-dark); }
.placeholder-tag {
  display: inline-block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--ivory-warm);
  color: var(--terracotta-dark);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 700;
}

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--sage);
  color: var(--white);
  text-align: center;
  padding: 68px 0;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: rgba(255,255,255,0.92); font-size: 1.1rem; max-width: 560px; margin: 0 auto 28px; }
.cta-band .btn-primary { background: var(--ink); box-shadow: none; }
.cta-band .btn-primary:hover { background: #241f1a; }

/* ---------- Form ---------- */
.form-wrap {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 44px;
  max-width: 620px;
  margin: 0 auto;
}
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 7px; font-size: 0.96rem; color: var(--ink); }
.form-row .req { color: var(--terracotta-dark); }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--ivory-warm);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: 2px solid var(--sage);
  background: var(--white);
}
.form-row.two { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form-row.two { grid-template-columns: 1fr; } }

#confirmation {
  display: none;
  background: var(--ivory-warm);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
#confirmation h3 { color: var(--terracotta-dark); }

/* ---------- Footer ---------- */
footer.site-footer { background: var(--ink); color: var(--ivory); padding: 60px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 38px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
footer.site-footer .brand-logo img { height: 52px; filter: brightness(0) invert(1); opacity: 0.95; }
footer.site-footer .slogan { font-family: 'Caveat', cursive; color: var(--terracotta); font-size: 1.2rem; margin-top: 10px; }
footer.site-footer h4 {
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--terracotta);
  margin-bottom: 15px;
}
footer.site-footer a { color: var(--ivory); display: block; margin-bottom: 10px; font-size: 0.95rem; opacity: 0.9; }
footer.site-footer a:hover { color: var(--terracotta); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid rgba(253,248,241,0.15);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(253,248,241,0.6);
}
.footer-bottom a { display: inline; color: rgba(253,248,241,0.6); margin: 0 0 0 16px; }

/* ---------- Page hero (non-home pages) ---------- */
.page-hero { padding: 60px 0 52px; text-align: center; }
.page-hero p { max-width: 620px; margin: 0 auto; font-size: 1.1rem; }

.license-note { font-size: 0.85rem; color: rgba(253,248,241,0.55); font-style: italic; }
