:root {
  --ink: #17202a;
  --muted: #5f6b76;
  --light: #fff8ec;
  --cream: #fffdf7;
  --paper: #ffffff;
  --gold: #f7b733;
  --gold-dark: #d99113;
  --teal: #1f8a70;
  --teal-dark: #136854;
  --clay: #da6b3c;
  --border: #eadfce;
  --shadow: 0 22px 65px rgba(23, 32, 42, 0.14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  z-index: 100;
  border-radius: 10px;
}
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 253, 247, 0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(234, 223, 206, 0.75);
}
.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-logo {
  width: min(320px, 42vw);
  height: auto;
}
.footer-logo {
  width: min(280px, 60vw);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.95rem;
}
.nav-links a:not(.btn):hover { color: var(--ink); }
.nav-toggle { display: none; background: transparent; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; background: var(--ink); margin: 5px 0; border-radius: 10px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 900;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--teal); color: white; box-shadow: 0 14px 28px rgba(31, 138, 112, 0.22); }
.btn-primary:hover { background: var(--teal-dark); }
.btn-secondary { background: white; color: var(--ink); border-color: var(--border); }
.btn-small { min-height: 40px; padding: 0 16px; background: var(--ink); color: white; }
.btn.full { width: 100%; }
.text-link { color: var(--teal-dark); font-weight: 900; display: inline-block; margin-top: 18px; }

.hero {
  position: relative;
  padding: 96px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(247, 183, 51, 0.24), transparent 36%),
    radial-gradient(circle at 85% 20%, rgba(31, 138, 112, 0.16), transparent 32%),
    linear-gradient(180deg, #fff8ec 0%, #fffdf7 100%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -120px -10%;
  height: 220px;
  background: #f7eddc;
  transform: rotate(-2deg);
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.98fr 1.02fr;
  gap: 46px;
  align-items: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}
h1, h2, h3, p { margin-top: 0; }
h1 {
  font-size: clamp(3rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.08em;
  margin-bottom: 24px;
}
h2 {
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: -0.06em;
  margin-bottom: 18px;
}
h3 { line-height: 1.15; letter-spacing: -0.03em; }
.hero-lede {
  font-size: 1.18rem;
  color: var(--muted);
  max-width: 670px;
  margin-bottom: 28px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.7);
  border-radius: 999px;
  font-weight: 800;
  color: #44515b;
  font-size: 0.88rem;
}
.trust-row span::before {
  content: "✓";
  margin-right: 7px;
  color: var(--teal);
  font-weight: 900;
}

.hero-card {
  position: relative;
  border-radius: 34px;
  padding: 14px;
  background: rgba(255,255,255,0.72);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255,255,255,0.85);
}
.hero-image-card img {
  width: 100%;
  border-radius: 28px;
  height: auto;
}

.logo-strip {
  position: relative;
  z-index: 2;
  padding: 14px 0;
  background: var(--ink);
  color: white;
}
.logo-strip-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-weight: 900;
  opacity: 0.92;
}

.section { padding: 92px 0; }
.section-alt { background: #fff5e5; }
.section-heading {
  max-width: 760px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-heading p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }
.section-heading.compact { max-width: 660px; margin-bottom: 34px; }
.card-grid { display: grid; gap: 22px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 16px 38px rgba(23,32,42,0.07);
}
.service-card .icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  background: #fff2d4;
  color: var(--clay);
  margin-bottom: 18px;
}
.service-card .icon svg {
  width: 36px;
  height: 36px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 { font-size: 1.55rem; margin-bottom: 12px; }
.service-card p { color: var(--muted); }
ul { padding-left: 20px; margin-bottom: 0; color: #44515b; font-weight: 650; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps article {
  position: relative;
  padding: 30px;
  border: 1px dashed #dbcbb7;
  border-radius: var(--radius);
  background: rgba(255,255,255,0.72);
}
.steps span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--gold);
  border-radius: 50%;
  font-weight: 900;
  margin-bottom: 16px;
}
.steps p { color: var(--muted); margin-bottom: 0; }

.quote-section {
  background:
    radial-gradient(circle at 12% 12%, rgba(247,183,51,0.22), transparent 26%),
    linear-gradient(135deg, #17332d 0%, #15212c 100%);
  color: white;
}
.quote-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 48px;
  align-items: start;
}
.quote-copy p:not(.eyebrow) { color: rgba(255,255,255,0.78); font-size: 1.08rem; }
.quote-form {
  background: white;
  color: var(--ink);
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; gap: 16px; margin-bottom: 16px; }
.form-row.two { grid-template-columns: 1fr 1fr; }
label, legend { font-weight: 900; font-size: 0.92rem; color: #2e3944; }
input, select, textarea {
  width: 100%;
  border: 1px solid #d8cdbd;
  border-radius: 14px;
  padding: 13px 14px;
  margin-top: 8px;
  background: #fffdf9;
  color: var(--ink);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(31,138,112,0.12);
}
fieldset {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  margin: 0 0 16px;
}
.checkbox-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin-top: 12px; }
.checkbox-grid label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.checkbox-grid input { width: auto; margin: 0; }
.form-status { min-height: 24px; margin: 14px 0 0; font-weight: 800; }
.form-status.error { color: #ff8d88; }
.form-status.success { color: #84f0d4; }
.honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.service-area-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; }
.service-area-grid p { color: var(--muted); font-size: 1.08rem; }
.area-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  background: white;
  border-radius: 26px;
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: 0 16px 38px rgba(23,32,42,0.06);
}
.area-card span {
  padding: 12px 16px;
  border-radius: 999px;
  background: #f7eddc;
  font-weight: 900;
}

.family-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 38px;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff2d4, #eaf7ef);
  border: 1px solid var(--border);
}
.family-card p:not(.eyebrow) { color: var(--muted); margin-bottom: 0; max-width: 760px; }

.faq-wrap { max-width: 880px; }
.faq-list { display: grid; gap: 12px; }
details {
  background: white;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px 20px;
}
summary { cursor: pointer; font-weight: 900; font-size: 1.05rem; }
details p { color: var(--muted); margin: 14px 0 0; }

.site-footer {
  background: var(--ink);
  color: white;
  padding: 58px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.8fr;
  gap: 34px;
}
.footer-grid p, .footer-grid span, .footer-grid small { color: rgba(255,255,255,0.72); }
.footer-grid h3 { margin-bottom: 10px; }
.footer-grid a:not(.brand) { display: block; color: rgba(255,255,255,0.82); margin: 7px 0; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  margin-top: 38px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(255,255,255,0.68);
  font-size: 0.9rem;
}

.floating-cta {
  display: none;
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 40;
  min-height: 52px;
  border-radius: 999px;
  background: var(--teal);
  color: white;
  font-weight: 900;
  text-align: center;
  padding: 14px 20px;
  box-shadow: 0 14px 30px rgba(23,32,42,0.28);
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-card { max-width: 700px; margin: 0 auto; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 82px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px; }
  .nav-links .btn { margin-top: 8px; }
  .hero { padding-top: 58px; }
  .quote-grid, .service-area-grid { grid-template-columns: 1fr; }
  .card-grid.three, .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .family-card { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .container { width: min(100% - 28px, 1120px); }
  .section { padding: 68px 0; }
  .brand-logo { width: min(260px, 62vw); }
  .hero-actions .btn { width: 100%; }
  .trust-row span { width: 100%; justify-content: center; }
  .form-row.two, .checkbox-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; border-radius: 24px; }
  .logo-strip-inner { justify-content: center; }
  .footer-bottom { flex-direction: column; }
  .floating-cta { display: block; }
  body { padding-bottom: 72px; }
}


/* V5 layout revisions */
.site-header {
  position: absolute;
  inset: 0 0 auto 0;
  background: rgba(255, 253, 247, 0.74);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(234, 223, 206, 0.55);
}
.nav {
  min-height: 62px;
  gap: 18px;
}
.brand-logo {
  width: min(230px, 38vw);
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}
.nav-links {
  flex-wrap: nowrap;
  gap: 18px;
  white-space: nowrap;
}
.nav-links a {
  white-space: nowrap;
  line-height: 1;
}
.nav-links .btn-small {
  min-height: 44px;
  padding: 0 22px;
  font-size: 1rem;
  border-radius: 999px;
}
.hero {
  padding: 84px 0 50px;
}
h1 {
  font-size: clamp(2.65rem, 5.8vw, 4.85rem);
  margin-bottom: 18px;
}
.hero-lede {
  font-size: 1.08rem;
  margin-bottom: 22px;
}
.hero-actions {
  margin-bottom: 20px;
}
.hero-grid {
  gap: 38px;
}
.hero-card {
  padding: 10px;
}
.hero-image-card img {
  max-height: min(560px, calc(100vh - 145px));
  object-fit: contain;
}
.family-section {
  display: none;
}

@media (min-width: 981px) {
  .hero-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    top: 0;
    background: rgba(255, 253, 247, 0.92);
  }
  .nav {
    min-height: 66px;
  }
  .nav-links {
    top: 66px;
    white-space: normal;
  }
  .hero {
    padding-top: 44px;
  }
}

@media (max-width: 620px) {
  .brand-logo {
    width: min(210px, 62vw);
    max-height: 46px;
  }
  h1 {
    font-size: clamp(2.45rem, 13vw, 3.4rem);
  }
}
