:root {
  --bg: #f6f4ef;
  --paper: #fffdfa;
  --ink: #1f2f2a;
  --muted: #51635c;
  --line: #d8d3c8;
  --accent: #a5512a;
  --accent-soft: #f2d4c4;
  --accent-dark: #7c3b1d;
  --max: 1100px;
  --radius: 14px;
  --shadow: 0 16px 35px rgba(50, 42, 30, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'IBM Plex Sans', 'Segoe UI', sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 10%, #f9dfcf 0%, transparent 34%),
    radial-gradient(circle at 8% 85%, #dce8dd 0%, transparent 28%),
    var(--bg);
  line-height: 1.65;
}

a {
  color: var(--accent-dark);
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
}

.skip-link:focus {
  left: 10px;
  top: 10px;
  background: #000;
  color: #fff;
  padding: 8px 10px;
  z-index: 100;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(246, 244, 239, 0.95);
  backdrop-filter: blur(6px);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  gap: 18px;
}

.brand-mark {
  margin: 0;
  font-family: 'Bree Serif', serif;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 10px;
  background: var(--paper);
}

.menu-panel ul {
  list-style: none;
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu-panel a {
  text-decoration: none;
  font-weight: 600;
  color: var(--ink);
}

.hero {
  padding: 64px 0 30px;
}

.hero-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: clamp(20px, 4vw, 44px);
}

.kicker {
  display: inline-block;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero h1 {
  font-family: 'Bree Serif', serif;
  margin: 10px 0 14px;
  line-height: 1.2;
  font-size: clamp(1.8rem, 4.8vw, 3rem);
}

.lead {
  color: #30423b;
  max-width: 74ch;
}

.hero-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 11px 17px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-solid {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--accent-dark);
  color: var(--accent-dark);
}

.section {
  padding: 28px 0;
}

.section h2 {
  font-family: 'Bree Serif', serif;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  margin: 0 0 12px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

.card h3 {
  margin-top: 0;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.step {
  background: linear-gradient(165deg, #fffaf6 0%, #f7efe7 100%);
  border: 1px solid #e3d6ca;
  border-radius: var(--radius);
  padding: 14px;
}

.step small {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.band {
  background: linear-gradient(180deg, #f0ece4 0%, #f6f4ef 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
}

.list-note {
  margin: 0;
  padding-left: 18px;
}

.list-note li {
  margin: 8px 0;
}

.faq {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
}

.form-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 16px;
}

label,
input,
textarea {
  display: block;
  width: 100%;
}

input,
textarea {
  margin: 6px 0 12px;
  padding: 10px 11px;
  border: 1px solid #b7beb7;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

input:focus-visible,
textarea:focus-visible,
button:focus-visible,
a:focus-visible {
  outline: 3px solid #111;
  outline-offset: 2px;
}

.hp {
  position: absolute;
  left: -9999px;
  opacity: 0;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: start;
  margin-bottom: 14px;
}

.consent input {
  margin: 2px 0 0;
  width: 18px;
  height: 18px;
}

.notice {
  background: #f7eee7;
  border: 1px dashed #d1b19e;
  border-radius: var(--radius);
  padding: 14px;
}

.footer {
  padding: 28px 0 36px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 18px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 8px;
}

.legal-main {
  min-height: 100vh;
  padding: 40px 0;
}

.legal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(18px, 4vw, 40px);
  box-shadow: var(--shadow);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 760px;
  margin: 0 auto;
  background: #16352a;
  color: #fff;
  border-radius: 14px;
  padding: 14px;
  z-index: 55;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-actions .btn-outline {
  color: #fff;
  border-color: #fff;
}

.hidden {
  display: none;
}

@media (max-width: 960px) {
  .card-grid,
  .timeline,
  .two-col,
  .faq,
  .contact-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .menu-panel {
    display: none;
    width: 100%;
  }

  .menu-panel.is-open {
    display: block;
    padding-bottom: 14px;
  }

  .menu-panel ul {
    flex-direction: column;
    gap: 10px;
  }
}
