:root {
  --bg: #fff9f3;
  --bg-soft: #fff1dd;
  --surface: rgba(255, 255, 255, 0.9);
  --text: #233127;
  --muted: #5e6c62;
  --line: rgba(35, 49, 39, 0.12);
  --brand: #1f6a4d;
  --brand-strong: #164a36;
  --accent: #ff8e5d;
  --shadow: 0 20px 55px rgba(38, 32, 24, 0.11);
  --radius: 24px;
  --max-width: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", "Trebuchet MS", "Verdana", sans-serif;
  color: var(--text);
  line-height: 1.7;
  background:
    radial-gradient(circle at top left, rgba(255, 210, 182, 0.65), transparent 28%),
    radial-gradient(circle at right 20%, rgba(242, 199, 92, 0.18), transparent 20%),
    linear-gradient(180deg, #fff8f1 0%, #fffdf9 50%, #fff6ee 100%);
}

body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--brand-strong); text-decoration: none; }
a:hover, a:focus-visible { color: var(--brand); }
button, input, textarea { font: inherit; }

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 200;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  background: var(--brand-strong);
  color: #fff;
}

.skip-link:focus { top: 1rem; }
.container { width: min(var(--max-width), calc(100% - 2rem)); margin: 0 auto; }
.narrow-container { width: min(840px, 100%); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
  background: rgba(255, 249, 243, 0.92);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(21, 38, 28, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  font-weight: 800;
}

.brand:hover, .brand:focus-visible { color: var(--text); }

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  height: 3.25rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #ffb37f);
  color: #fff;
  font-size: 0.95rem;
}

.brand-text {
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.site-nav { display: flex; align-items: center; gap: 1.1rem; }
.site-nav a { color: var(--text); font-weight: 600; font-size: 0.96rem; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  padding: 0.7rem 1rem;
  font-weight: 700;
  cursor: pointer;
}

.hero, .subpage-hero { padding: 4.5rem 0 2rem; }
.hero-grid, .two-columns, .footer-grid { display: grid; gap: 1.5rem; }
.hero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr); align-items: center; }
.two-columns { grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); align-items: start; }
.footer-grid { grid-template-columns: 1.2fr 0.7fr 0.7fr; }

.eyebrow, .section-kicker {
  margin: 0 0 0.9rem;
  color: var(--brand);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 800;
}

h1, h2, h3 {
  margin: 0 0 1rem;
  font-family: "Georgia", "Times New Roman", serif;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1 { font-size: clamp(2.65rem, 5vw, 4.8rem); max-width: 12ch; }
h2 { font-size: clamp(2rem, 4vw, 3rem); max-width: 14ch; }
h3 { font-size: 1.5rem; }

.hero-lead, .section-heading p:last-child {
  max-width: 62ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions, .center-actions, .social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-actions, .center-actions { margin: 1.8rem 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0.85rem 1.3rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover, .button:focus-visible { transform: translateY(-1px); }

.button-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-strong));
  color: #fff;
  box-shadow: 0 14px 26px rgba(22, 74, 54, 0.22);
}

.button-primary:hover, .button-primary:focus-visible { color: #fff; }

.button-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--line);
  color: var(--text);
}

.button-secondary:hover, .button-secondary:focus-visible { color: var(--text); }
.button-full { width: 100%; }
.button-small { min-height: 2.7rem; padding: 0.65rem 1rem; }

.hero-points, .check-list, .footer-links, .step-list {
  margin: 0;
  padding-left: 1.15rem;
}

.hero-points li, .check-list li, .step-list li { margin-bottom: 0.55rem; color: var(--muted); }

.hero-visual { position: relative; min-height: 520px; }

.image-frame {
  overflow: hidden;
  height: 100%;
  min-height: 520px;
  border-radius: 36px;
  background: #f6e2cf;
  box-shadow: var(--shadow);
}

.image-frame img { width: 100%; height: 100%; object-fit: cover; }

.floating-card {
  position: absolute;
  max-width: 280px;
  padding: 1.2rem 1.3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(24, 28, 22, 0.12);
}

.floating-card-top { top: 1.5rem; left: -1rem; }
.floating-card-bottom { right: -1rem; bottom: 1.5rem; }
.floating-label { display: inline-block; margin-bottom: 0.35rem; color: var(--brand); font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; }
.floating-card strong { display: block; margin-bottom: 0.5rem; }
.floating-card p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.section { padding: 2rem 0 4rem; }
.section-soft { background: linear-gradient(180deg, rgba(255, 241, 221, 0.55), rgba(255, 249, 243, 0)); }
.section-heading { margin-bottom: 1.8rem; }
.content-grid, .stack, .faq-grid, .practical-grid, .facts-grid { display: grid; gap: 1rem; }
.practical-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.top-gap { margin-top: 1.4rem; }

.panel {
  padding: 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.prose p { margin: 0 0 1rem; }
.prose p:last-child, .timeline-item p, .quote-card p, .action-panel p, .social-panel p, .practical-card p { margin-bottom: 0; }
.prose ul { margin: 0 0 1rem; color: var(--muted); }

.fact-card {
  padding: 1.1rem;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 239, 0.92));
  border: 1px solid rgba(35, 49, 39, 0.08);
}

.fact-number { display: inline-block; margin-bottom: 0.45rem; font-size: 1.7rem; font-weight: 800; color: var(--brand-strong); }
.fact-card p, .timeline-item p, .quote-card p, .action-panel p, .social-panel p, .practical-card p, .faq-item p, .footer-copy, .fine-print, .cookie-banner p { color: var(--muted); }

.note-panel { background: linear-gradient(135deg, rgba(31, 106, 77, 0.95), rgba(23, 77, 56, 0.95)); color: #fff; }
.note-panel h3, .note-panel .check-list li { color: inherit; }

.timeline-item { padding-left: 1.25rem; margin-bottom: 1rem; position: relative; }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 0.45rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 6px rgba(255, 142, 93, 0.18); }
.timeline-item strong { display: block; margin-bottom: 0.15rem; }
.quote-card { background: linear-gradient(135deg, rgba(255, 210, 182, 0.78), rgba(255, 239, 221, 0.92)); }

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(35, 49, 39, 0.1);
  font-weight: 700;
}

.faq-item summary { cursor: pointer; list-style: none; font-weight: 800; padding-right: 2rem; position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; position: absolute; right: 0; top: 0; font-size: 1.3rem; line-height: 1; }
.faq-item[open] summary::after { content: "-"; }
.faq-item p { margin: 0.9rem 0 0; }

.contact-form { display: grid; gap: 0.8rem; }
.contact-form label { font-weight: 700; }
.contact-form input, .contact-form textarea {
  width: 100%;
  border: 1px solid rgba(35, 49, 39, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  padding: 0.95rem 1rem;
  resize: vertical;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid rgba(31, 106, 77, 0.18);
  border-color: rgba(31, 106, 77, 0.55);
}

.form-consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin-top: 0.25rem;
}

.form-consent input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
}

.form-consent span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.subpage-hero .container, .thankyou-panel { text-align: center; }
.thankyou-panel { max-width: 720px; margin: 0 auto; }
.center-actions { justify-content: center; }

.site-footer {
  padding: 2.6rem 0 1.2rem;
  background: linear-gradient(180deg, rgba(26, 71, 53, 0.98), rgba(18, 52, 39, 1));
  color: rgba(255, 255, 255, 0.92);
}

.brand-footer { color: #fff; margin-bottom: 1rem; }
.brand-footer:hover, .brand-footer:focus-visible, .footer-links a:hover, .footer-links a:focus-visible, .back-link:hover, .back-link:focus-visible { color: #fff; }
.footer-links { list-style: none; padding-left: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a, .footer-bottom p, .back-link { color: rgba(255, 255, 255, 0.82); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom-single { margin-top: 0; padding-top: 0; border-top: 0; }

.cookie-banner {
  position: fixed;
  left: 50%;
  bottom: 1rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(720px, calc(100% - 2rem));
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 18px 45px rgba(18, 24, 20, 0.16);
  z-index: 120;
}

.cookie-banner[hidden] {
  display: none !important;
}

@media (max-width: 1024px) {
  .hero-grid, .two-columns, .footer-grid { grid-template-columns: 1fr; }
  .practical-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .image-frame { min-height: 420px; }
  .floating-card-top { left: 1rem; }
  .floating-card-bottom { right: 1rem; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    inset: calc(100% + 0.35rem) 1rem auto 1rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 22px;
    background: rgba(255, 250, 246, 0.98);
    border: 1px solid rgba(35, 49, 39, 0.1);
    box-shadow: 0 24px 50px rgba(22, 24, 20, 0.12);
  }

  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: 0.55rem 0; }
  .hero, .subpage-hero { padding-top: 2.8rem; }
  .floating-card { position: static; max-width: none; }
  .hero-visual { display: grid; gap: 1rem; min-height: auto; }
}

@media (max-width: 640px) {
  .header-inner { min-height: 74px; }
  h1, h2 { max-width: 100%; }
  .facts-grid, .practical-grid, .hero-actions, .center-actions, .social-links { grid-template-columns: 1fr; }
  .facts-grid, .practical-grid { display: grid; }
  .panel { padding: 1.2rem; }
  .cookie-banner, .footer-bottom, .hero-actions, .center-actions, .social-links { flex-direction: column; align-items: flex-start; }
  .cookie-banner .button, .button, .social-links a { width: 100%; }
  .image-frame { min-height: 300px; }
}
