
:root { --red:#e23a1a; --ink:#2a201c; --muted:#6d615c; --bg:#fffaf6; --line:#eadfd6; }
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.6 Georgia, "Times New Roman", serif; }
a { color: var(--red); }
img { max-width: 100%; height: auto; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 24px; border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 10; }
.brand img { height: 56px; width: auto; display: block; }
.nav ul { display: flex; gap: 22px; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav a, .nav span { color: var(--ink); text-decoration: none; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; letter-spacing: .02em; cursor: pointer; }
.nav a:hover, .nav span:hover { color: var(--red); }
.has-sub { position: relative; }
.has-sub ul { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--line); min-width: 220px; padding: 8px 0; flex-direction: column; gap: 0; }
.has-sub ul a { display: block; padding: 8px 14px; }
.has-sub:hover ul, .has-sub:focus-within ul { display: flex; }
.burger { display: none; background: none; border: 0; font-size: 26px; }
.hero { min-height: 62vh; background: #1a1412 center/cover no-repeat; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; padding: 72px 24px; }
.hero h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 400; margin: 0 0 12px; }
.hero p { max-width: 640px; margin: 0 auto 28px; font-size: 1.15rem; }
.btn { display: inline-block; background: var(--red); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; }
.wrap { width: min(780px, calc(100% - 40px)); margin: 48px auto; }
.wrap h1, .wrap h2 { font-weight: 400; line-height: 1.25; }
.meta { color: var(--muted); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 13px; }
.card { display: block; text-decoration: none; color: inherit; border: 1px solid var(--line); background: #fff; padding: 20px 22px; margin: 0 0 14px; }
.card:hover { border-color: var(--red); }
.people { display: grid; gap: 18px; }
.person { background: #fff; border: 1px solid var(--line); padding: 18px 20px; }
.form { display: grid; gap: 12px; max-width: 420px; }
.form input, .form textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--line); font: inherit; background: #fff; }
.form button { justify-self: start; }
.footer { border-top: 1px solid var(--line); padding: 32px 24px 48px; text-align: center; color: var(--muted); font-size: 15px; }
.flam { width: 72px; }
.note { background: #fff; border-left: 3px solid var(--red); padding: 12px 16px; }
@media (max-width: 820px) {
  .burger { display: block; }
  .nav ul { display: none; flex-direction: column; align-items: flex-start; position: absolute; left: 0; right: 0; top: 100%; background: #fff; padding: 12px 24px 20px; border-bottom: 1px solid var(--line); }
  .nav.open ul { display: flex; }
  .has-sub ul { position: static; border: 0; padding-left: 12px; }
}
