@font-face { font-family: "Barlow"; src: url("fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Source Sans 3"; src: url("fonts/source-sans-3-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --navy: #22313F;
  --navy-dark: #18232D;
  --white-warm: #F8F6F1;
  --tint: #ECE8DF;
  --yellow: #F2C230;
  --yellow-dark: #D9AB1F;
  --ink: #1C1C1C;
  --muted: #4F5A63;
  --light: #D9E0E6;
  --white: #FFFFFF;
  --radius: 8px;
  --head: "Barlow", system-ui, sans-serif;
  --sans: "Source Sans 3", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--white-warm); color: var(--ink); font-family: var(--sans); font-size: 1.125rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .75rem; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.3rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1rem; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, textarea:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }
.small { font-size: .95rem; color: var(--muted); }
.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 46rem; }

.demo-bar { background: var(--ink); color: #EDEDED; text-align: center; font-size: .9rem; padding: .4rem 1rem; }
.demo-bar p { margin: 0; }
.demo-bar a { color: #EDEDED; }

.site-header { background: var(--navy); position: sticky; top: 0; z-index: 10; border-bottom: 3px solid var(--yellow); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4rem; }
.logo { font-family: var(--head); font-weight: 700; font-size: 1.45rem; color: var(--white); text-decoration: none; }
.logo span { color: var(--yellow); }
nav ul { list-style: none; display: flex; gap: 1.5rem; margin: 0; padding: 0; align-items: center; }
nav a { color: var(--white); text-decoration: none; font-weight: 600; }
nav a:hover { color: var(--yellow); }
nav .nav-call { background: var(--yellow); color: var(--ink); padding: .4rem 1rem; border-radius: var(--radius); }
nav .nav-call:hover { background: var(--yellow-dark); color: var(--ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.4rem; border-radius: var(--radius); font: 600 1.05rem var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary:hover { background: var(--yellow-dark); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-dark { background: var(--navy); color: var(--white); }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1.25rem; }

.hero { background: var(--navy); color: var(--white); padding: 2.5rem 0 3rem; }
.hero-inner { display: grid; gap: 2rem; align-items: center; }
.hero h1 { color: var(--white); }
.kicker { color: var(--yellow); font-weight: 600; margin-bottom: .5rem; }
.lead { font-size: 1.2rem; color: var(--light); max-width: 36rem; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; color: var(--light); font-size: 1rem; }
.trust li::before { content: "✓ "; color: var(--yellow); font-weight: 700; }
.hero-img img { border-radius: 10px; width: 100%; }

.section { padding: 3.5rem 0; }
.section-tint { background: var(--tint); }
.section-dark { background: var(--navy-dark); color: var(--light); }
.section-dark h2 { color: var(--white); }
.small-light { color: var(--light); font-size: 1rem; }

.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.card { background: var(--white); border-radius: 10px; overflow: hidden; border-top: 4px solid var(--yellow); display: flex; flex-direction: column; }
.card img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.card h3 { margin: 1.1rem 1.25rem .5rem; }
.card p { margin: 0 1.25rem 1.25rem; color: var(--muted); }
.card-plain { background: var(--tint); justify-content: center; padding: 1.5rem 0; }
.text-link { margin: 0 1.25rem; font-weight: 600; }

.area { display: grid; gap: 1.5rem; align-items: center; }
.towns { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.towns li { background: var(--white); border: 1px solid #D6D0C3; border-radius: 999px; padding: .35rem 1rem; font-weight: 600; color: var(--navy); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.steps li { background: var(--white); border-radius: 10px; padding: 1.5rem; }
.steps span { display: inline-flex; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--yellow); color: var(--ink); font-family: var(--head); font-weight: 700; align-items: center; justify-content: center; margin-bottom: .75rem; }
.steps p { margin: 0; color: var(--muted); }

.quote { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
.quote-form { background: var(--white); color: var(--ink); border-radius: 10px; padding: 1.5rem; }
.quote-form label { display: block; font-weight: 600; margin: 0 0 .4rem; }
.quote-form textarea { width: 100%; border: 2px solid #CFC8BA; border-radius: var(--radius); padding: .6rem .8rem; font: inherit; margin-bottom: 1rem; background: var(--white-warm); }
.quote-form input[type=file] { margin-bottom: .25rem; font: inherit; font-size: 1rem; max-width: 100%; }
.hint { font-size: .9rem; color: var(--muted); }

.about { display: grid; gap: 2rem; align-items: center; }
.photo-placeholder { aspect-ratio: 4 / 3; width: 100%; max-width: 30rem; border: 2px dashed var(--navy); border-radius: 10px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 1.5rem; background: var(--tint); }
.photo-placeholder p:first-child { font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--navy); }
.reviews-placeholder { border: 2px dashed var(--navy); border-radius: 10px; padding: 2rem 1.5rem; text-align: center; background: var(--white-warm); }
.reviews-placeholder p:first-child { font-family: var(--head); font-weight: 700; font-size: 1.3rem; color: var(--navy); }

.demo-note { background: var(--ink); color: var(--white); }
.demo-note h2, .demo-note a:not(.btn) { color: var(--white); }

.site-footer { padding: 2rem 0 6rem; font-size: 1rem; }

dialog { max-width: min(28rem, calc(100% - 2rem)); border: 0; border-radius: 10px; padding: 1.75rem; background: var(--white-warm); color: var(--ink); }
dialog::backdrop { background: rgba(28, 28, 28, .6); }
dialog form { margin: 0; }

.mobile-bar { position: fixed; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: var(--white-warm); border-top: 1px solid #D6D0C3; z-index: 20; }

@media (max-width: 767px) {
  nav { display: none; }
  .site-header .header-inner { min-height: 3.25rem; }
  .demo-bar { font-size: .85rem; }
  .hero { padding: 1rem 0 2rem; }
  .hero-inner { grid-template-columns: 1fr; gap: 1rem; }
  .hero-img { order: -1; }
  .hero-img img { aspect-ratio: 3 / 1; object-fit: cover; }
  h1 { font-size: 1.9rem; }
  .lead { font-size: 1.05rem; }
  .actions { margin: 1rem 0; }
  .actions .btn { flex: 1 1 auto; }
}
@media (min-width: 768px) {
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 2rem; }
  .hero-inner { grid-template-columns: 1.1fr 1fr; }
  .area { grid-template-columns: 1fr 1fr; }
  .quote { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
  .about { grid-template-columns: 1fr 1fr; }
}
