:root {
  --bg: #f8f5f0;
  --surface: #ffffff;
  --tint: #eef2ee;
  --ink: #1d2b2a;
  --muted: #5b6b69;
  --primary: #1f4a46;
  --primary-2: #2c6660;
  --accent: #c58a63;
  --accent-soft: #f4e6dc;
  --line: #e2ddd4;
  --radius: 18px;
  --shadow: 0 18px 40px -22px rgba(31, 74, 70, .35);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8em;
}
.lead { font-size: 1.15rem; color: var(--muted); }

/* ---------- Header ---------- */
#header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(248, 245, 240, .88);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s, box-shadow .2s;
}
#header.scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0,0,0,.3); }
.header-inner {
  max-width: 1160px; margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--primary); }
.logo-text { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; line-height: 1; display: flex; flex-direction: column; }
.logo-text small { font-family: var(--sans); font-size: .68rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin-top: 4px; }
#main-nav { display: flex; align-items: center; gap: 28px; }
#main-nav a { text-decoration: none; color: var(--ink); font-weight: 500; font-size: .97rem; }
#main-nav a:hover { color: var(--primary-2); }
#main-nav .nav-cta {
  background: var(--primary); color: #fff; padding: 10px 18px; border-radius: 999px; font-weight: 600;
}
#main-nav .nav-cta:hover { background: var(--primary-2); color: #fff; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--primary); margin: 5px 0; transition: transform .25s, opacity .25s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; font-weight: 600; text-decoration: none;
  transition: transform .15s, background .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--primary-2); transform: translateY(-1px); }
.btn-ghost { color: var(--primary); border: 1.5px solid var(--primary); }
.btn-ghost:hover { background: var(--primary); color: #fff; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 80px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; right: -180px; top: -140px; width: 620px; height: 620px;
  border-radius: 50%; background: radial-gradient(circle, var(--accent-soft) 0%, rgba(244,230,220,0) 70%);
  z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.hero h1 em { font-style: italic; color: var(--primary-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 34px; }
.trust { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.trust li {
  font-size: .85rem; font-weight: 600; color: var(--primary);
  background: var(--tint); border-radius: 999px; padding: 6px 14px;
}
.hero-media { position: relative; }
.hero-media img {
  border-radius: 200px 200px var(--radius) var(--radius);
  aspect-ratio: 4 / 4.4; object-fit: cover; object-position: 55% 60%;
  width: 100%; box-shadow: var(--shadow);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 36px;
  background: var(--surface); border-radius: 14px; padding: 16px 20px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.3);
  display: flex; flex-direction: column; border-left: 4px solid var(--accent);
}
.hero-badge strong { font-family: var(--serif); font-size: 1.15rem; color: var(--primary); }
.hero-badge span { font-size: .88rem; color: var(--muted); }

/* ---------- Facts ---------- */
.facts { background: var(--primary); color: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.fact { display: flex; gap: 16px; align-items: center; padding: 28px 24px; }
.fact + .fact { border-left: 1px solid rgba(255,255,255,.14); }
.fact svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--accent-soft); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fact strong { display: block; font-family: var(--serif); font-size: 1.15rem; }
.fact span { font-size: .92rem; opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p:last-child { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--tint);
  display: grid; place-items: center; margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--primary); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.card ul { list-style: none; padding: 0; margin: 0; }
.card li { position: relative; padding-left: 18px; margin-bottom: 10px; font-size: .96rem; color: var(--muted); line-height: 1.5; }
.card li::before { content: ""; position: absolute; left: 0; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.card p { color: var(--muted); font-size: .96rem; margin: 0; }
.card-accent { background: var(--accent-soft); border-color: transparent; }
.card-accent .card-icon { background: #fff; }
.card-accent .card-icon svg { stroke: var(--accent); }

.notice {
  margin-top: 36px; display: flex; gap: 16px; align-items: flex-start;
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent);
  border-radius: 12px; padding: 20px 24px;
}
.notice svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; margin-top: 2px; }
.notice p { margin: 0; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 4.6; object-fit: cover; width: 100%; }
.split-text > p { color: var(--muted); }
.steps { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 16px; align-items: flex-start; }
.steps li > span {
  flex: none; width: 38px; height: 38px; border-radius: 50%;
  background: var(--primary); color: #fff; font-family: var(--serif); font-weight: 600;
  display: grid; place-items: center;
}
.steps strong { display: block; color: var(--ink); }
.steps div { color: var(--muted); font-size: .97rem; }
.areas { display: flex; flex-wrap: wrap; gap: 10px; }
.areas span {
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 18px; font-weight: 600; color: var(--primary);
}
.areas span::before { content: "📍 "; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: center; }
.portrait-placeholder {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: linear-gradient(160deg, var(--tint), var(--accent-soft));
  display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--muted);
}
.portrait-placeholder svg { width: 72px; height: 72px; fill: none; stroke: var(--primary); stroke-width: 1.2; opacity: .5; }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.checks li { padding-left: 30px; position: relative; font-weight: 600; color: var(--primary); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0; width: 22px; height: 22px; border-radius: 50%;
  background: var(--tint); display: grid; place-items: center; font-size: .8rem;
}

/* ---------- Contact ---------- */
.section-dark { background: var(--primary); color: #fff; }
.section-dark .eyebrow { color: var(--accent-soft); }
.section-dark a { color: #fff; }
.contact { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: start; }
.contact-intro > p { opacity: .85; max-width: 520px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 28px; }
.contact-big {
  text-decoration: none; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2);
  border-radius: 14px; padding: 16px 22px; font-family: var(--serif); font-size: 1.5rem;
  display: flex; flex-direction: column; transition: background .2s;
}
.contact-big:hover { background: rgba(255,255,255,.16); }
.contact-big small { font-family: var(--sans); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; }
.contact-cards { display: grid; gap: 18px; }
.contact-card { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 28px; }
.contact-card a { color: var(--primary); }
.contact-card address { font-style: normal; margin-bottom: 1em; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.hours div:last-child { border: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; color: var(--muted); }
.link-arrow { font-weight: 600; text-decoration: none; }

/* ---------- Footer ---------- */
footer { background: #173936; color: rgba(255,255,255,.7); font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.85); text-decoration: none; }
.footer-legal a:hover { color: #fff; text-decoration: underline; }

.call-fab {
  display: none; position: fixed; right: 18px; bottom: 18px; z-index: 60;
  width: 58px; height: 58px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 12px 28px -10px rgba(0,0,0,.45); place-items: center;
}
.call-fab svg { width: 26px; height: 26px; fill: #fff; }

/* ---------- Legal pages ---------- */
.legal-page { max-width: 780px; margin: 0 auto; padding: 64px 24px 96px; }
.legal-page h2 { font-size: 1.35rem; margin-top: 2em; }
.legal-page address { font-style: normal; }
.back-link { display: inline-block; margin-top: 2em; font-weight: 600; text-decoration: none; }

/* Prototype markers */
.todo { background: #fff3a8; color: #6b5800; padding: 0 4px; border-radius: 4px; }
.todo-box { outline: 2px dashed #e0c040; outline-offset: -10px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .hero-grid, .split, .about, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero-media { max-width: 520px; }
  .about-portrait { max-width: 360px; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  #main-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 24px 20px;
    display: none;
  }
  #main-nav.open { display: flex; }
  #main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  #main-nav .nav-cta { margin-top: 14px; text-align: center; border: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .facts-grid { grid-template-columns: 1fr; }
  .fact + .fact { border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .call-fab { display: grid; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container, .header-inner { padding-left: 16px; padding-right: 16px; }
  .section { padding: 72px 0; }
  .hero { padding: 36px 0 60px; }
  .cards { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .hero-badge { left: 12px; bottom: 12px; }
  .btn { width: 100%; justify-content: center; }
  .contact-big { width: 100%; }
}
