:root {
  --navy:#10293b;
  --navy2:#17384c;
  --ink:#1f2c35;
  --slate:#66737d;
  --ivory:#f6f1e7;
  --cream:#fbfaf7;
  --gold:#b88b3d;
  --green:#496a5a;
  --line:#d9dfdf;
  --white:#fff;
  --max:1180px
}
* {
  box-sizing:border-box
}
html {
  scroll-behavior:smooth
}
body {
  margin:0;
  font-family:Inter,ui-sans-serif,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
}
h1,h2,h3 {
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.12;
  color:var(--navy);
  margin:0 0 .7rem
}
h1 {
  font-size:clamp(2.6rem,6vw,5.2rem)
}
h2 {
  font-size:clamp(2rem,4vw,3.2rem)
}
h3 {
  font-size:1.35rem
}
p {
  margin:.3rem 0 1rem
}
.container {
  width:min(var(--max),calc(100% - 2rem));
  margin:auto
}
.eyebrow {
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.78rem;
  font-weight:700;
  color:var(--gold)
}
.site-header {
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(251,250,247,.96);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line)
}
.nav {
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.5rem
}
.brand img {
  width:245px;
  height:auto
}
.nav-links {
  display:flex;
  align-items:center;
  gap:1.25rem
}
.nav-links a {
  text-decoration:none;
  font-size:.96rem
}
.nav-links a:hover {
  color:var(--gold)
}
.nav-toggle {
  display:none;
  background:none;
  border:1px solid var(--line);
  padding:.55rem .75rem;
  border-radius:8px
}
.btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:.72rem 1.05rem;
  border-radius:6px;
  text-decoration:none;
  border:1px solid transparent;
  font-weight:700;
  cursor:pointer
}
.btn-primary {
  background:var(--gold);
  color:#fff
}
.btn-primary:hover {
  background:#9f7733
}
.btn-secondary {
  border-color:#bac5ca;
  background:transparent;
  color:var(--navy)
}
.hero {
  background:var(--navy) url('../images/hero-pattern.svg') center/cover no-repeat;
  color:#fff;
  padding:6.2rem 0 5.2rem
}
.hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.25fr) minmax(280px,.75fr);
  gap:4rem;
  align-items:center
}
.hero h1,.hero h2 {
  color:#fff
}
.hero p {
  font-size:1.13rem;
  max-width:720px;
  color:#e6ecef
}
.hero-actions {
  display:flex;
  gap:.8rem;
  flex-wrap:wrap;
  margin:1.6rem 0
}
.hero-note {
  color:#c7d3d9!important;
  font-size:.92rem!important
}
.hero-card {
  background:rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  padding:1.7rem;
  border-radius:16px
}
.hero-card strong {
  display:block;
  font-family:Georgia,serif;
  font-size:1.45rem;
  margin-bottom:.8rem
}
.hero-card ul {
  margin:0;
  padding-left:1.1rem
}
.section {
  padding:5rem 0
}
.section.alt {
  background:#eef2f2
}
.section.dark {
  background:var(--navy);
  color:#fff
}
.section.dark h2,.section.dark h3 {
  color:#fff
}
.section-intro {
  max-width:760px;
  margin-bottom:2.5rem
}
.grid-3 {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1.1rem
}
.grid-2 {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.4rem
}
.card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:1.45rem
}
.card p {
  color:var(--slate)
}
.step {
  display:grid;
  grid-template-columns:52px 1fr;
  gap:1rem
}
.step-num {
  width:42px;
  height:42px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:var(--navy);
  color:#fff;
  font-weight:700
}
.split {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:2rem
}
.quote-panel {
  background:var(--navy);
  color:#fff;
  border-radius:14px;
  padding:2rem
}
.quote-panel h3 {
  color:#fff;
  font-size:1.8rem
}
.footer {
  background:#0a1e2c;
  color:#d7e0e4;
  padding:3rem 0
}
.footer-grid {
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:2rem
}
.footer .brand img {
  width:235px;
  height:auto;
  opacity:1
}
.footer a {
  color:#d7e0e4;
  text-decoration:none
}
.footer-location {
  color:#aebbc2;
  margin-top:.55rem
}
.footer-bottom {
  grid-column: 1 / -1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-top:2.2rem;
  padding-top:1.25rem;
  border-top:1px solid rgba(215,224,228,.18);
  color:#aebbc2
}
.footer-bottom p {
  margin:0
}
.page-hero {
  padding:4.5rem 0 3.5rem;
  background:#eef2f2
}
.page-hero p {
  max-width:760px
}
.content-wrap {
  max-width:850px
}
.service-list {
  display:grid;
  gap:1rem
}
.notice {
  border-left:4px solid var(--gold);
  background:#fff7e8;
  padding:1rem 1.2rem
}
.contact-form {
  display:grid;
  gap:1rem
}
.field {
  display:grid;
  gap:.35rem
}
.field input,.field textarea,.field select {
  width:100%;
  padding:.85rem;
  border:1px solid #b8c3c8;
  border-radius:6px;
  background:#fff;
  font:inherit
}
.field textarea {
  min-height:140px;
  resize:vertical
}
.muted {
  color:var(--slate)
}
.hidden {
  display:none!important
}
.hp {
  position:absolute;
  left:-10000px;
  opacity:0;
  pointer-events:none
}
.small {
  font-size:.9rem
}
.tag {
  display:inline-block;
  padding:.28rem .55rem;
  border-radius:999px;
  background:#e7eeea;
  color:#365348;
  font-size:.78rem;
  font-weight:700
}
.article-list {
  display:grid;
  gap:1rem
}
.article {
  padding:1.2rem 0;
  border-bottom:1px solid var(--line)
}

@media(min-width:901px) {
  h1 {
    font-size:clamp(3rem,4.2vw,3.85rem)
  }
  h2 {
    font-size:clamp(2rem,2.8vw,2.65rem)
  }
  .hero {
    padding:5.4rem 0 4.7rem
  }
}

@media(max-width:900px) {
  .hero-grid,.split,.grid-3,.footer-grid {
    grid-template-columns:1fr
  }
  .nav-toggle {
    display:block
  }
  .nav-links {
    display:none;
    position:absolute;
    top:81px;
    left:0;
    right:0;
    background:var(--cream);
    padding:1rem;
    flex-direction:column;
    align-items:flex-start;
    border-bottom:1px solid var(--line)
  }
  .nav-links.open {
    display:flex
  }
  .brand img {
    width:210px
  }
  .hero {
    padding:4.5rem 0
  }
  .hero-card {
    max-width:540px
  }
}

@media(max-width:560px) {
  .container {
    width:min(100% - 1.2rem,var(--max))
  }
  .site-header .btn-primary {
    display:none
  }
  .brand img {
    width:180px
  }
  .section {
    padding:3.8rem 0
  }
  .hero-actions .btn {
    width:100%
  }
  .grid-2 {
    grid-template-columns:1fr
  }
  .footer-bottom {
    align-items:flex-start;
    flex-direction:column;
    gap:.35rem
  }
}


/* Positioning and trust sections */
.hero-secondary {
  color:#fff;
  border-color:#96aab4;
}
.pain-section {
  background:#fff;
}
.pain-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:0;
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.pain-item {
  display:grid;
  grid-template-columns:48px 1fr;
  gap:1rem;
  padding:1.45rem 1.5rem;
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  background:#fff;
}
.pain-item span {
  color:var(--gold);
  font-weight:800;
  letter-spacing:.08em;
}
.pain-item p {
  margin:0;
  font-size:1.03rem;
}
.avatar-split {
  align-items:center;
}
.trust-quote h3 {
  font-size:1.72rem;
}
.trust-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.15rem;
}
.trust-item {
  padding:1.55rem;
  border-top:3px solid var(--gold);
  background:#fff;
  border-radius:0 0 10px 10px;
}
.trust-item h3 {
  font-size:1.28rem;
}
.trust-item p {
  color:var(--slate);
  margin-bottom:0;
}
.trust-section {
  background:#f3f0e9;
}
.credibility-section {
  background:#fff;
}
.credibility-panel {
  padding:2rem;
  border:1px solid var(--line);
  border-radius:14px;
  background:#fbfaf7;
}
.check-list {
  margin:1rem 0 0;
  padding:0;
  list-style:none;
}
.check-list li {
  position:relative;
  padding:.55rem 0 .55rem 1.5rem;
  border-bottom:1px solid rgba(31,44,53,.09);
}
.check-list li:last-child {
  border-bottom:0;
}
.check-list li::before {
  content:"✓";
  position:absolute;
  left:0;
  color:var(--green);
  font-weight:800;
}
.light-list li {
  border-bottom-color:rgba(255,255,255,.12);
}
.light-list li::before {
  color:#d7b66f;
}
.text-link {
  color:var(--navy);
  font-weight:800;
  text-decoration:none;
  border-bottom:1px solid rgba(16,41,59,.3);
}
.text-link:hover {
  color:var(--gold);
}
.cta-row {
  margin-top:2rem;
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
}
.final-cta-actions {
  align-self:center;
}
.final-cta-actions h3 {
  color:#fff;
}
.compact-section {
  padding-bottom:1rem;
}

@media(max-width:900px) {
  .pain-grid,.trust-grid {
    grid-template-columns:1fr;
  }
}

@media(max-width:560px) {
  .pain-item {
    grid-template-columns:38px 1fr;
    padding:1.15rem;
  }
  .pain-item p {
    font-size:.98rem;
  }
  .credibility-panel {
    padding:1.35rem;
  }
}

/* Secure production forms and legal pages */
.field select {
  width:100%;
  min-height:48px;
  padding:.75rem .85rem;
  border:1px solid var(--line);
  border-radius:8px;
  background:#fff;
  color:var(--ink);
  font:inherit;
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline:3px solid rgba(177,135,63,.18);
  border-color:var(--gold);
}
button:disabled {
  cursor:not-allowed;
  opacity:.62;
}
.form-privacy {
  margin-top:1rem;
}
.form-privacy a,
.legal-links a,
.legal-copy a {
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}
.legal-copy h2 {
  margin-top:2rem;
  font-size:1.55rem;
}
.legal-copy p {
  max-width:76ch;
}

@media print {
  .site-header,
  .footer,
  .page-hero,
  [data-assessment-form],
  .lead-gate,
  [data-restart],
  [data-print-results] {
    display:none !important;
  }
  body {
    background:#fff;
    color:#000;
  }
  .section {
    padding:0;
  }
  .assessment-shell {
    width:100%;
    max-width:none;
  }
  .score-card,
  .card,
  .score-hero {
    break-inside:avoid;
    box-shadow:none;
  }
}
