:root {
  --amber-50: #FFFBEB;
  --amber-100: #FEF3C7;
  --amber-200: #FDE68A;
  --amber-400: #FBBF24;
  --amber-500: #F59E0B;
  --amber-600: #D97706;
  --orange-100: #FFEDD5;
  --orange-300: #FDBA74;
  --orange-500: #F97316;
  --orange-600: #EA580C;
  --orange-800: #9A3412;
  --ink: #2A1A0E;
  --ink-soft: #5B4636;
  --bg: #FFFCF7;
  --warm: #FFF4E2;
  --dark: #241509;
  --line: #F3E3CB;
  --radius: 18px;
  --shadow: 0 12px 30px -12px rgba(154, 52, 18, .22);
  --grad: linear-gradient(135deg, var(--amber-500), var(--orange-600));
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.02em; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 800; }
h3 { font-size: 1.12rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 820px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .9em 1.5em; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s;
  font-family: inherit; white-space: nowrap;
}
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 22px -10px rgba(234, 88, 12, .7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(234, 88, 12, .8); }
.btn-ghost { border-color: var(--orange-300); color: var(--orange-800); background: #fff; }
.btn-ghost:hover { background: var(--orange-100); }
.btn-sm { padding: .6em 1.2em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; transform: none; }

.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--orange-600); background: var(--orange-100); padding: .35em .9em; border-radius: 999px; margin-bottom: 1rem;
}
.eyebrow-light { background: rgba(251, 191, 36, .15); color: var(--amber-400); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 252, 247, .88); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px -12px rgba(154, 52, 18, .25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; }
.logo { display: flex; align-items: center; gap: .6rem; font-size: 1.25rem; font-weight: 600; color: var(--ink); }
.logo strong { font-weight: 800; color: var(--orange-600); }
.logo-mark { width: 38px; height: 38px; flex-shrink: 0; }
.nav { display: flex; align-items: center; gap: 1.8rem; }
.nav a:not(.btn) { font-weight: 600; color: var(--ink-soft); transition: color .2s; }
.nav a:not(.btn):hover { color: var(--orange-600); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; padding: 64px 0 88px; overflow: hidden;
  background:
    radial-gradient(900px 500px at 90% -10%, rgba(251, 191, 36, .28), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(249, 115, 22, .16), transparent 60%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--ink-soft); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero-points li { position: relative; padding-left: 26px; font-weight: 600; color: var(--ink-soft); }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 18px; height: 18px; transform: translateY(-50%);
  border-radius: 50%; background: var(--amber-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23D97706' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;
}
.hero-svg { width: 100%; height: auto; }
.route { animation: dash 30s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -400; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.6); opacity: .5; } 100% { transform: scale(1.8); opacity: 0; } }

/* Sections */
.section { padding: 96px 0; }
.section-warm { background: var(--warm); }
.section-dark { background: var(--dark); color: #FBEBD5; }
.section-dark h2 { color: #fff; }
.section-dark p { color: #D9C2A6; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--orange-300); }
.card p { color: var(--ink-soft); margin: 0; }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; background: var(--grad); display: grid; place-items: center; margin-bottom: 18px;
  box-shadow: 0 8px 18px -8px rgba(234, 88, 12, .7);
}
.card-icon svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: #fff; border-radius: var(--radius); padding: 28px 26px 24px; border: 1px solid var(--line); overflow: hidden; }
.step::after { content: ""; position: absolute; left: 0; top: 0; height: 4px; width: 100%; background: var(--grad); }
.step-no { display: block; font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 14px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.step p { color: var(--ink-soft); margin: 0; }

/* Why */
.why { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.why-text p { color: var(--ink-soft); font-size: 1.08rem; margin-bottom: 1.6em; }
.why-text { position: sticky; top: calc(var(--header-h) + 24px); }
.why-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.why-list li { display: flex; gap: 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.why-list p { color: var(--ink-soft); margin: 0; }
.why-list h3 { margin-bottom: .3em; }
.why-ic { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--orange-800); background: var(--amber-100); border: 1px solid var(--amber-200); }

/* Tags */
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tags li { padding: .7em 1.3em; border-radius: 999px; border: 1px solid rgba(251, 191, 36, .35); background: rgba(251, 191, 36, .08); color: #FDE7C3; font-weight: 600; transition: background .2s, border-color .2s; }
.tags li:hover { background: rgba(251, 191, 36, .2); border-color: var(--amber-400); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; transition: border-color .2s; }
.faq details[open] { border-color: var(--orange-300); box-shadow: var(--shadow); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 32px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 500; color: var(--orange-600); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-soft); padding-bottom: 18px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-text p { color: var(--ink-soft); font-size: 1.08rem; }
.contact-points { list-style: none; padding: 0; margin: 1.4em 0 0; display: grid; gap: 10px; }
.contact-points li { position: relative; padding-left: 28px; font-weight: 600; }
.contact-points li::before { content: ""; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; background: var(--grad); }
.form { background: #fff; border-radius: 22px; padding: 32px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.form .full { grid-column: 1 / -1; }
.form input[type="text"], .form input[type="email"], .form input[type="tel"], .form select, .form textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--amber-50);
  border: 1.5px solid var(--line); border-radius: 12px; padding: .8em 1em; width: 100%; transition: border-color .2s, box-shadow .2s, background .2s;
}
.form textarea { resize: vertical; min-height: 110px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--amber-500); background: #fff; box-shadow: 0 0 0 4px rgba(245, 158, 11, .18); }
.form .invalid { border-color: #DC2626 !important; }
.form .check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; }
.form .check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--orange-600); flex-shrink: 0; }
.form .check.invalid span { color: #DC2626; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-weight: 600; text-align: center; min-height: 1.4em; }
.form-status.ok { color: #15803D; }
.form-status.err { color: #DC2626; }

/* Footer */
.site-footer { background: var(--dark); color: #D9C2A6; padding: 40px 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; }
.logo-light { color: #fff; }
.logo-light strong { color: var(--amber-400); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-nav a:hover { color: var(--amber-400); }
.copy { margin: 0; font-size: .9rem; width: 100%; text-align: center; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 18px; }

/* Floating CTA (mobile) */
.float-cta {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 40; padding: .85em 1.4em; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 700; box-shadow: 0 10px 24px -8px rgba(234, 88, 12, .8);
  transition: opacity .25s, transform .25s;
}
.float-cta.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .route, .pulse { animation: none; }
}

/* Tablet */
@media (max-width: 1024px) {
  .cards, .steps { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { gap: 32px; }
  .why, .contact { gap: 36px; }
}

/* Mobile nav breakpoint */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg); padding: 12px 20px 24px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(154, 52, 18, .3);
    transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
  }
  .nav.open { transform: none; visibility: visible; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 16px; padding: .9em; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; }
  .hero-text { order: 1; }
  .hero-visual { order: 0; max-width: 420px; margin: 0 auto; }
  .lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-points { justify-content: center; }
  .why, .contact { grid-template-columns: 1fr; }
  .why-text { position: static; text-align: center; }
  .contact-text { text-align: center; }
  .contact-points { justify-items: center; }
  .float-cta { display: inline-flex; }
}

/* Phone */
@media (max-width: 600px) {
  :root { --header-h: 64px; }
  .section { padding: 64px 0; }
  .hero { padding: 32px 0 64px; }
  .cards, .steps, .form-grid { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .hero-cta .btn { width: 100%; }
  .section-head { margin-bottom: 36px; }
  .logo { font-size: 1.1rem; }
  .logo-mark { width: 34px; height: 34px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-nav { justify-content: center; }
  .card, .step { padding: 22px; }
}
