:root {
  --ink: #1d232b;
  --muted: #5b6672;
  --paper: #ffffff;
  --tint: #f2f5f8;
  --line: #dde3ea;
  --radius: 6px;
  --wrap: 1120px;
  --serif: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 17px/1.65 var(--body-font, var(--sans)); color: var(--body-ink, var(--ink)); background: var(--paper); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
img { max-width: 100%; height: auto; }
a { color: var(--link, var(--brand)); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--heading-font, var(--serif)); line-height: 1.2; color: var(--heading-ink, var(--brand)); margin: 0 0 0.6em; }
h1 { font-size: clamp(2rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.3rem; }
p, ul, ol, blockquote, table { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--paper); padding: 8px 12px; z-index: 10; }
.skip-link:focus { left: 8px; }

.topbar { background: var(--topbar-bg, var(--brand)); color: var(--topbar-ink, #fff); font-size: 0.875rem; }
.topbar .wrap { display: flex; gap: 24px; justify-content: flex-end; padding-top: 6px; padding-bottom: 6px; }
.topbar a { color: inherit; text-decoration: none; }
.site-header { border-bottom: 1px solid var(--line); background: var(--header-bg, var(--paper)); position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand { flex-shrink: 1; min-width: 0; }
.brand img { max-height: 72px; max-width: min(340px, 42vw); width: auto; }
.brand-name { font-family: var(--heading-font, var(--serif)); font-size: 1.5rem; font-weight: 700; color: var(--nav-active, var(--brand)); }

.menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu > li { position: relative; }
.menu a { display: block; padding: 10px 11px; white-space: nowrap; text-decoration: none; color: var(--nav-ink, var(--ink)); font-weight: 500; border-radius: var(--radius); }
.menu a:hover, .menu .active > a { color: var(--nav-active, var(--brand)); background: rgb(128 128 128 / 0.12); }
.menu .sub { list-style: none; margin: 0; padding: 6px; position: absolute; left: 0; top: 100%; min-width: 230px; background: var(--header-bg, var(--paper));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgb(0 0 0 / 0.08); display: none; }
.menu .has-sub:hover > .sub, .menu .has-sub:focus-within > .sub { display: block; }
.nav-toggle, .nav-toggle-label { display: none; }

.block { padding: 56px 0; }
.row { display: flex; flex-wrap: wrap; margin: 0 -16px 24px; }
.row:last-child { margin-bottom: 0; }
.col { flex: 1 1 0; min-width: 0; padding: 0 16px; }
.col > :last-child { margin-bottom: 0; }
.hero { background: var(--brand); color: #fff; padding: 72px 0; }
.hero h1, .hero h2, .hero a { color: #fff; }
.lead { font-size: 1.2rem; color: var(--muted); }
iframe.map { width: 100%; height: 400px; border: 0; border-radius: var(--radius); }
blockquote { border-left: 4px solid var(--accent); padding: 4px 0 4px 18px; font-style: italic; color: var(--muted); }
table { border-collapse: collapse; width: 100%; }
th, td { border-bottom: 1px solid var(--line); padding: 8px 10px; text-align: left; }

.button { display: inline-block; background: var(--brand); color: #fff; border: 0; border-radius: var(--radius); padding: 12px 22px;
  font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer; }
.button:hover { background: var(--accent); color: #fff; }

.center { text-align: center; }
.center img { margin-left: auto; margin-right: auto; }
figure { margin: 0 0 1em; }
figure.center img, .center > img { display: inline-block; }
.w-1-2 { flex: 0 0 50%; } .w-1-3 { flex: 0 0 33.333%; } .w-2-3 { flex: 0 0 66.666%; }
.w-1-4 { flex: 0 0 25%; } .w-3-4 { flex: 0 0 75%; } .w-1-5 { flex: 0 0 20%; } .w-2-5 { flex: 0 0 40%; }
.w-3-5 { flex: 0 0 60%; } .w-1-6 { flex: 0 0 16.666%; } .w-3-8 { flex: 0 0 37.5%; } .w-4-4 { flex: 0 0 100%; }
.block.has-bg { background-size: cover; background-position: center; }
.dark, .dark :is(h1, h2, h3, h4, h5, a:not(.button)) { color: #fff; }
.banner { background: #32373c; color: #fff; padding: 14px 18px; border-radius: var(--radius); }
.promo { padding: 28px 32px; border-radius: var(--radius); }
@media (max-width: 860px) {
  .col[class*="w-"] { flex: 0 0 100%; }
  .col:empty { display: none; }
}

.block.full { padding: 0; }
.slider { position: relative; }
.slide { position: relative; display: flex; align-items: center; justify-content: center; min-height: 460px; padding: 56px 24px;
  background-color: #2b3036; background-size: cover; background-position: center; color: #fff; }
.slide::before { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 0.36); }
.slide-inner { position: relative; max-width: 780px; }
.slide :is(h1, h2, h3, a:not(.button)) { color: #fff; text-decoration: none; }
.slide h2 { font-size: clamp(2rem, 5vw, 3.2rem); }
.slider.js .slide { display: none; }
.slider.js .slide.is-active { display: flex; }
.slider-dots { position: absolute; bottom: 16px; left: 0; right: 0; display: flex; justify-content: center; gap: 8px; }
.slider-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgb(255 255 255 / 0.5); cursor: pointer; }
.slider-dots button[aria-current="true"] { background: #fff; }

details { border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; margin: 0 0 12px; background: #fff; color: var(--ink); }
summary { cursor: pointer; font-weight: 600; color: var(--brand); }
details[open] summary { margin-bottom: 8px; }
.login-form { max-width: 420px; }
.area-bar { padding: 24px 0; border-top: 1px solid var(--line); }
.button--quiet { background: transparent; color: var(--brand); border: 1px solid var(--line); }
.button--quiet:hover { background: var(--tint); color: var(--brand); }

.site-form { max-width: 760px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 20px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide, .form-heading { grid-column: 1 / -1; }
.form-heading { margin: 12px 0 0; font-size: 1.1rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field--checkbox label { font-weight: 400; }
.req { color: #b3261e; }
.site-form input[type=text], .site-form input[type=email], .site-form input[type=tel], .site-form input[type=date],
.site-form input[type=number], .site-form input[type=password], .site-form select, .site-form textarea {
  width: 100%; padding: 11px 12px; border: 1px solid #c9c3b9; border-radius: var(--radius); font: inherit; background: #fff; color: var(--ink); }
.site-form :focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 35%, transparent); outline-offset: 1px; }
.form-errors { border: 1px solid #e3a6a1; background: #fdf1f0; color: #7a1d16; border-radius: var(--radius); padding: 12px 16px; margin-bottom: 20px; }
.form-errors p { margin: 0 0 4px; font-weight: 600; }
.form-errors ul { margin: 0; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile { margin-bottom: 16px; }

.site-footer { background: var(--footer-bg, #1b2128); color: var(--footer-ink, #c9ced4); padding: 40px 0 28px; font-size: 0.95rem; }
.site-footer .copyright { background: var(--footer-bottom-bg, transparent); }
.site-footer a { color: var(--footer-ink, #fff); }
.footer-inner { display: grid; gap: 20px; }
.footer-contact { display: flex; flex-direction: column; gap: 2px; }
.footer-contact strong { color: var(--footer-ink, #fff); font-family: var(--heading-font, var(--serif)); font-size: 1.15rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.copyright { margin: 0; color: var(--footer-ink, #8d96a0); opacity: 0.8; font-size: 0.85rem; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-toggle-label { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; font-weight: 600; }
  .menu { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--paper);
    border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-toggle:checked ~ .menu { display: flex; }
  .menu .sub { position: static; display: block; border: 0; box-shadow: none; padding: 0 0 0 16px; }
  .header-inner { position: relative; }
  .form-grid { grid-template-columns: 1fr; }
  .block { padding: 40px 0; }
}

h1, h2, h3, h4 { letter-spacing: -0.01em; }
.site-nav { display: flex; align-items: center; gap: 12px; }
.header-cta { padding: 10px 18px; white-space: nowrap; }
@media (max-width: 860px) { .header-cta { display: none; } }

.slide:not(:has(h1, h2, h3, h4, p)) { min-height: 0; padding: 0; background: none; }
.slide:not(:has(h1, h2, h3, h4, p))::before { display: none; }
.slide:not(:has(h1, h2, h3, h4, p)) img { max-width: 100%; height: auto; }

.portrait { width: 200px; height: 200px; border-radius: 50%; object-fit: cover; display: block; margin: 0 auto 12px; }
