:root {
  --bg: #fffaf6;
  --surface: #ffffff;
  --surface-alt: #fff2e8;
  --text: #2d1a12;
  --muted: #6b5245;
  --primary: #d9480f;
  --primary-2: #ff7b39;
  --accent: #2f9e44;
  --border: #f1d3bf;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(42, 18, 8, 0.12);
  --max: 1120px;
  --space: clamp(16px, 2vw, 24px);
  --font: "Inter", "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: linear-gradient(180deg, #fff8f2 0%, #fffdfb 45%, #fff8f1 100%);
  line-height: 1.6;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; border-radius: var(--radius); }

.skip-link {
  position: absolute; left: -9999px; top: auto;
}
.skip-link:focus {
  left: 16px; top: 16px; background: #000; color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 9999;
}

.container { width: min(calc(100% - 32px), var(--max)); margin-inline: auto; }
.section { padding: 80px 0; }
.section.alt { background: var(--surface-alt); }
.eyebrow { color: var(--primary); font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-size: .82rem; }
.section-head { margin-bottom: 28px; }
.section-head h2 { font-size: clamp(1.55rem, 3.4vw, 2.2rem); margin-top: 8px; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  backdrop-filter: blur(8px);
  background: rgba(255, 250, 246, .92);
  border-bottom: 1px solid var(--border);
}
.header-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; color: var(--text); }
.brand-badge { width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center; background: #ffe2d2; }

.nav { display: none; }
.nav.open {
  display: flex; position: absolute; top: 74px; left: 0; right: 0; padding: 14px 16px; background: var(--surface);
  border-bottom: 1px solid var(--border); flex-direction: column; gap: 10px;
}
.nav-link { padding: 8px 10px; border-radius: 8px; color: var(--text); font-weight: 600; }
.nav-link.active, .nav-link:hover { background: #ffe9dc; text-decoration: none; }

.menu-toggle { background: none; border: 0; display: inline-flex; flex-direction: column; gap: 5px; }
.menu-toggle span { width: 24px; height: 2.5px; background: var(--text); border-radius: 2px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 11px 16px; border-radius: 999px; font-weight: 700; transition: .25s ease;
  border: 2px solid transparent;
}
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { transform: translateY(-2px); text-decoration: none; }
.btn-outline { border-color: var(--primary); color: var(--primary); background: #fff; }
.btn-outline:hover { background: #fff2eb; text-decoration: none; }

.hero { padding: 84px 0 60px; }
.hero-grid { display: grid; gap: 26px; align-items: center; }
.hero-content h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); line-height: 1.15; margin: 10px 0 14px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 20px 0; }
.hero-highlights { list-style: none; display: grid; gap: 8px; color: var(--muted); }
.hero-highlights li::before { content: "✓ "; color: var(--accent); font-weight: 700; }
.hero-media img { min-height: 280px; object-fit: cover; box-shadow: var(--shadow); }

.card-grid.three, .services-grid { display: grid; gap: 16px; }
.card, .service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; box-shadow: 0 8px 20px rgba(85, 34, 11, .06);
}
.card h3, .service-card h3 { margin-bottom: 8px; }

.steps { display: grid; gap: 12px; }
.step {
  display: flex; gap: 14px; align-items: center;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px;
}
.step span {
  width: 34px; height: 34px; border-radius: 50%; background: #ffe6d7; color: var(--primary);
  display: inline-grid; place-items: center; font-weight: 800;
}

.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--surface); overflow: hidden; }
.faq-question {
  width: 100%; border: 0; background: transparent; text-align: left;
  padding: 14px 16px; font-size: 1rem; font-weight: 700; color: var(--text); cursor: pointer;
}
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; padding: 0 16px; }
.faq-item.open .faq-answer { max-height: 180px; padding-bottom: 14px; }

.form-wrap {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow);
}
.form-grid { display: grid; gap: 12px; }
label { font-weight: 600; display: block; margin-bottom: 6px; }
input, textarea {
  width: 100%; border: 1px solid #e8c8b5; border-radius: 10px; padding: 11px 12px; font: inherit; color: var(--text); background: #fff;
}
textarea { min-height: 120px; resize: vertical; }
input:focus, textarea:focus, button:focus, a:focus { outline: 3px solid rgba(217,72,15,.25); outline-offset: 2px; }
.field-error { color: #b00020; font-size: .9rem; margin-top: 5px; }
.form-message { margin-top: 14px; padding: 10px 12px; border-radius: 8px; font-weight: 600; display: none; }
.form-message.success { display: block; background: #e9f8ee; color: #1f7a34; }
.form-message.error { display: block; background: #fdebec; color: #9b1c1c; }

.legal-layout { padding: 40px 0 80px; }
.legal-article {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow);
  width: min(calc(100% - 32px), 920px); margin-inline: auto; padding: clamp(18px, 2.8vw, 34px);
}
.legal-meta { color: var(--muted); margin-bottom: 20px; }
.legal-summary { background: #fff5ee; border: 1px solid var(--border); border-radius: 10px; padding: 14px; margin-bottom: 20px; }
.legal-article h1 { margin-bottom: 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.legal-article h2 { margin-top: 20px; margin-bottom: 8px; font-size: 1.18rem; }
.legal-article p, .legal-article li { color: #3b2720; }
.legal-article ul { padding-left: 20px; display: grid; gap: 8px; }

.site-footer { background: #2a140b; color: #ffe8d9; padding-top: 42px; }
.footer-grid { display: grid; gap: 24px; }
.footer-title { color: #fff5ee; font-size: 1.06rem; margin-bottom: 10px; }
.site-footer a { color: #ffd3bd; }
.site-footer ul { list-style: none; display: grid; gap: 8px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 22px; padding: 14px 16px; text-align: center; }

.back-to-top {
  position: fixed; right: 16px; bottom: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: var(--primary); color: #fff; font-size: 1.1rem; display: grid; place-items: center; cursor: pointer;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(10px); pointer-events: none; transition: .25s ease;
}
.back-to-top.show { opacity: 1; transform: translateY(0); pointer-events: auto; }

.reveal { opacity: 0; transform: translateY(14px); transition: .55s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .nav { display: flex; align-items: center; gap: 8px; position: static; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; }
  .card-grid.three, .services-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr .8fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}