:root {
  --ink: #18202e;
  --ink-2: #2a3446;
  --muted: #5f6672;
  --line: #e7e2d9;
  --bg: #fbfaf7;
  --paper: #ffffff;
  --sand: #f3efe7;
  --accent: #a3123f;
  --accent-dark: #850e33;
  --accent-soft: #f7e8ed;
  --green: #2f8a57;
  --radius: 12px;
  --max: 1120px;
  /* aliases used by admin.html */
  --navy: var(--ink);
  --navy-2: var(--ink-2);
  --bg-soft: var(--sand);
  --gold: #e9b44c;
  --shadow: 0 18px 40px -24px rgba(24, 32, 46, .25);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 3.9rem); letter-spacing: -0.035em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.12rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 22px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 10px; top: 10px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 70px; gap: 20px; }
.brand { display: flex; align-items: baseline; gap: 0; color: var(--ink); font-weight: 800; font-size: 1.2rem; letter-spacing: -0.03em; }
.brand:hover { text-decoration: none; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--ink); font-weight: 600; font-size: .94rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); text-decoration: none; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 22px; border-radius: 8px; font-weight: 700; font-size: .95rem; border: 1.5px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s; font-family: inherit; line-height: 1.2; }
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-line { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-line:hover, .btn-outline:hover { background: var(--ink); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-light { background: #fff; color: var(--ink); }
.btn-sm { padding: 9px 15px; font-size: .88rem; }
.btn svg { width: 18px; height: 18px; }

/* Hero */
.hero { padding: 84px 0 76px; }
.hero-grid { display: grid; grid-template-columns: 1.35fr .85fr; gap: 64px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { font-size: 1.18rem; color: var(--muted); max-width: 34em; margin-bottom: 30px; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; }

.visit { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(24, 32, 46, .25); }
.visit h2 { font-size: 1.1rem; margin-bottom: 14px; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 700; padding: 5px 11px; border-radius: 99px; background: var(--sand); color: var(--muted); margin-bottom: 18px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.open { background: #e7f4ec; color: var(--green); }
.visit dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .95rem; }
.visit dt { color: var(--muted); }
.visit dd { margin: 0; font-weight: 600; }
.visit dd a { color: var(--ink); }

/* Sections */
section { padding: 88px 0; }
.band { background: var(--sand); }
.dark { background: var(--ink); color: #c9cfda; }
.dark h2, .dark h3 { color: #fff; }
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 40px; }
.head h2 { margin: 0; }
.head p { margin: 8px 0 0; color: var(--muted); max-width: 32em; }

/* Services list */
.services { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.service { padding: 26px 28px 26px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 6px 14px; align-content: start; }
.service:nth-child(even) { padding: 26px 0 26px 28px; border-left: 1px solid var(--line); }
.service .n { font-size: .82rem; font-weight: 700; color: var(--accent); padding-top: 3px; }
.service h3 { margin: 0; }
.service p { grid-column: 2; margin: 0; color: var(--muted); font-size: .97rem; }

/* Personal */
.personal { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.personal .big { font-size: 1.15rem; line-height: 1.7; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.facts li { background: rgba(255, 255, 255, .05); padding: 20px 24px; display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.facts li:first-child { border-radius: var(--radius) var(--radius) 0 0; }
.facts li:last-child { border-radius: 0 0 var(--radius) var(--radius); }
.facts strong { color: #fff; font-size: 1.02rem; }
.facts span { font-size: .92rem; text-align: right; }

.areas { margin-top: 26px; font-size: .95rem; }
.areas b { color: #fff; font-weight: 600; }

/* Posts */
.post-list { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 150px 1fr auto; gap: 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.post-row:hover { text-decoration: none; }
.post-row:hover h3 { color: var(--accent); }
.post-row .date { font-size: .88rem; color: var(--muted); }
.post-row h3 { margin: 0 0 4px; font-size: 1.2rem; transition: color .15s; }
.post-row p { margin: 0; color: var(--muted); font-size: .96rem; }
.post-row .go { color: var(--accent); font-weight: 700; font-size: 1.2rem; }
.post-row .tag { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--accent); margin-bottom: 4px; }
.empty { color: var(--muted); padding: 24px 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.details { list-style: none; padding: 0; margin: 0 0 28px; }
.details li { padding: 14px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 90px 1fr; gap: 14px; }
.details li span:first-child { color: var(--muted); font-size: .9rem; padding-top: 1px; }
.details a { color: var(--ink); font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours td { padding: 7px 0; }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.today td { color: var(--accent); }
.map { border: 0; width: 100%; height: 260px; border-radius: var(--radius); margin-top: 26px; background: var(--sand); }

.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.form h2 { font-size: 1.5rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 6px; }
.field input, .field select, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; font: inherit; font-size: .97rem; color: var(--ink); background: var(--bg); transition: border-color .15s, box-shadow .15s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); background: #fff; box-shadow: 0 0 0 3px rgba(24, 32, 46, .08); }
.field textarea { min-height: 130px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin-bottom: 18px; }
.check input { margin-top: 4px; }
.hp { position: absolute; left: -5000px; }
.form-status { margin-top: 14px; padding: 12px 16px; border-radius: 8px; display: none; font-size: .94rem; }
.form-status.ok { display: block; background: #e7f4ec; color: #1e6b41; }
.form-status.err { display: block; background: var(--accent-soft); color: var(--accent-dark); }

/* Page header */
.page-head { padding: 72px 0 36px; }
.page-head p { color: var(--muted); font-size: 1.12rem; max-width: 34em; margin: 0; }

/* Article */
.article { max-width: 720px; margin: 0 auto; }
.article .date { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.article h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
.article-body { font-size: 1.07rem; }
.article-body h2 { font-size: 1.5rem; margin-top: 1.8em; }
.article-body h3 { margin-top: 1.5em; }
.article-body ul, .article-body ol { padding-left: 1.3em; }
.article-body li { margin-bottom: .4em; }
.article-body blockquote { margin: 1.8em 0; padding: 20px 24px; background: var(--sand); border-radius: var(--radius); }
.article-body blockquote p { margin: 0; font-weight: 600; }
.article-body img { border-radius: var(--radius); margin: 1.5em 0; }
.article-cover { border-radius: var(--radius); margin-bottom: 30px; width: 100%; aspect-ratio: 16/8; object-fit: cover; }
.note { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .9rem; color: var(--muted); }

/* CTA */
.cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta h2 { margin: 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0; font-size: .92rem; color: var(--muted); }
.site-footer .container { display: flex; justify-content: space-between; gap: 18px 40px; flex-wrap: wrap; }
.site-footer a { color: var(--ink); }
.site-footer p { margin: 0; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid, .personal, .contact { grid-template-columns: 1fr; gap: 44px; }
  .hero { padding: 56px 0; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 70px; left: 0; right: 0; background: var(--bg); flex-direction: column; align-items: stretch; gap: 0; padding: 6px 22px 20px; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; border-bottom: 0; }
  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(even) { padding: 22px 0; border-left: 0; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 24px; }
  .post-row { grid-template-columns: 1fr; gap: 4px; }
  .post-row .go { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .facts li { flex-direction: column; gap: 2px; }
  .facts span { text-align: left; }
}
