:root {
  --ink: #18201e;
  --muted: #60706b;
  --paper: #f5f1e8;
  --paper-deep: #e9e1d2;
  --card: rgba(255, 253, 248, 0.9);
  --line: #d7cebd;
  --accent: #d94f2b;
  --accent-dark: #a63218;
  --forest: #17483b;
  --forest-soft: #d8e5de;
  --success: #16633d;
  --danger: #9c2c1e;
  --shadow: 0 20px 55px rgba(54, 43, 25, 0.12);
  --radius: 22px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 8%, rgba(217, 79, 43, 0.12), transparent 28rem),
    radial-gradient(circle at 88% 20%, rgba(23, 72, 59, 0.12), transparent 32rem),
    linear-gradient(180deg, #fbf8f1 0%, var(--paper) 52%, #eee7db 100%);
  font-family: "Avenir Next", "Segoe UI", sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--forest); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--accent-dark); }

.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(215, 206, 189, 0.8);
  background: rgba(251, 248, 241, 0.86);
  backdrop-filter: blur(18px);
}

.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; font-weight: 800; letter-spacing: -0.03em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--accent); color: white; font: 700 22px/1 Georgia, serif; box-shadow: inset 0 0 0 5px rgba(255,255,255,.2); }
.brand span:last-child { font-size: 1.15rem; }
.nav { display: flex; gap: 20px; font-size: .92rem; }
.nav a { color: var(--muted); text-decoration: none; }

main { padding: 48px 0 80px; }

.hero { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; align-items: stretch; margin: 22px 0 54px; }
.hero-copy, .search-panel, .card { border: 1px solid rgba(215, 206, 189, .9); background: var(--card); box-shadow: var(--shadow); }
.hero-copy { border-radius: 34px; padding: clamp(34px, 5vw, 72px); position: relative; overflow: hidden; }
.hero-copy::after { content: "?"; position: absolute; right: -18px; bottom: -98px; color: rgba(23, 72, 59, .07); font: 700 320px/1 Georgia, serif; }
.eyebrow { color: var(--accent-dark); font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: Georgia, "Times New Roman", serif; line-height: 1.08; letter-spacing: -.025em; }
h1 { margin: 16px 0 18px; font-size: clamp(2.5rem, 6vw, 5.6rem); max-width: 13ch; }
h2 { font-size: clamp(1.75rem, 3vw, 2.7rem); margin: 0 0 18px; }
h3 { font-size: 1.3rem; }
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); }
.search-panel { border-radius: 34px; padding: 34px; background: var(--forest); color: white; display: flex; flex-direction: column; justify-content: center; }
.search-panel h2 { color: white; }
.search-panel p { color: rgba(255,255,255,.72); }
.search-form { display: grid; gap: 12px; }
.search-form input { width: 100%; min-height: 58px; border: 0; border-radius: 14px; padding: 0 17px; font: 600 1.08rem/1 "Avenir Next", sans-serif; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border: 0; border-radius: 14px; background: var(--accent); color: white; font: 800 .96rem/1 "Avenir Next", sans-serif; cursor: pointer; text-decoration: none; box-shadow: 0 8px 18px rgba(166, 50, 24, .24); }
.button:hover { background: var(--accent-dark); color: white; transform: translateY(-1px); }
.button-secondary { background: var(--forest); box-shadow: none; }
.form-error { color: #ffd8cd; font-weight: 700; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 0 0 54px; }
.stat { padding: 24px; border-top: 3px solid var(--accent); background: rgba(255,255,255,.45); }
.stat strong { display: block; font: 700 2rem/1 Georgia, serif; }
.stat span { color: var(--muted); font-size: .9rem; }

.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-head p { color: var(--muted); max-width: 55ch; }
.entry-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.entry-card { display: flex; flex-direction: column; min-height: 250px; padding: 24px; border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .18s ease, box-shadow .18s ease; }
.entry-card:hover { transform: translateY(-4px); color: var(--ink); box-shadow: 0 24px 60px rgba(54, 43, 25, .16); }
.entry-card .phone { font: 700 1.45rem/1.2 Georgia, serif; color: var(--forest); }
.badge { display: inline-flex; align-self: flex-start; margin: 16px 0; padding: 6px 10px; border-radius: 999px; background: var(--forest-soft); color: var(--forest); font-size: .74rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.entry-card p { color: var(--muted); flex: 1; }
.entry-card time { font-size: .78rem; color: var(--muted); }

.number-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; padding: clamp(30px, 5vw, 62px); border-radius: 32px; background: var(--forest); color: white; margin-bottom: 30px; }
.number-head h1 { margin-bottom: 8px; font-size: clamp(2.2rem, 5vw, 4.4rem); max-width: none; overflow-wrap: anywhere; }
.number-head p { color: rgba(255,255,255,.72); margin: 0; }
.count-pill { min-width: 116px; padding: 18px; border: 1px solid rgba(255,255,255,.25); border-radius: 18px; text-align: center; }
.count-pill strong { display: block; font: 700 2.3rem/1 Georgia, serif; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.report-list { display: grid; gap: 16px; }
.report { padding: 26px; border-radius: var(--radius); }
.report-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.report p { white-space: pre-line; overflow-wrap: anywhere; }
.report footer { color: var(--muted); font-size: .84rem; }
.empty { padding: 34px; border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,.35); }

.form-card { position: sticky; top: 102px; padding: 26px; border-radius: var(--radius); }
.form-grid { display: grid; gap: 15px; }
label { display: grid; gap: 6px; font-weight: 750; font-size: .9rem; }
input, select, textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; background: #fffefa; color: var(--ink); padding: 12px 13px; font: inherit; }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(217,79,43,.18); border-color: var(--accent); }
.checkbox { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; }
.checkbox input { width: 18px; margin-top: 4px; }
.hp { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.notice { padding: 14px 16px; border-radius: 12px; font-weight: 700; margin-bottom: 18px; }
.notice-success { background: #dff1e6; color: var(--success); }
.notice-error { background: #f8dfd9; color: var(--danger); }
.fine-print { color: var(--muted); font-size: .78rem; }

.prose { max-width: 820px; padding: clamp(28px, 5vw, 56px); border-radius: 28px; }
.prose h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.prose h2 { margin-top: 40px; font-size: 1.7rem; }
.prose address { font-style: normal; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 42px; color: var(--muted); font-size: .86rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; gap: 16px; }

@media (max-width: 900px) {
  .hero, .content-grid { grid-template-columns: 1fr; }
  .entry-grid { grid-template-columns: repeat(2, 1fr); }
  .form-card { position: static; }
}

@media (max-width: 620px) {
  .site-shell { width: min(100% - 24px, 1180px); }
  .nav { display: none; }
  main { padding-top: 22px; }
  .hero { gap: 14px; margin-top: 0; }
  .hero-copy, .search-panel { border-radius: 24px; padding: 27px; }
  h1 { font-size: 2.55rem; }
  .stats, .entry-grid { grid-template-columns: 1fr; }
  .number-head { grid-template-columns: 1fr; border-radius: 24px; }
  .count-pill { justify-self: start; }
  .footer-inner { flex-direction: column; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .search-panel, .stats, .entry-grid { animation: rise .55s ease both; }
  .search-panel { animation-delay: .08s; }
  .stats { animation-delay: .14s; }
  .entry-grid { animation-delay: .2s; }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}

