:root {
  --yellow: #ffd84d;
  --yellow-soft: #fff4c7;
  --ink: #222222;
  --ink-soft: #4b4b4b;
  --cream: #fffdf7;
  --paper: #ffffff;
  --line: #e8e3d4;
  --sage: #dfe9dc;
  --sage-dark: #4f654f;
  --blue-soft: #e8eff2;
  --shadow: 0 18px 50px rgba(34, 34, 34, .08);
  --radius: 22px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 18px;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--max)); margin: 0 auto; }

.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 1000; padding: 10px 14px; background: var(--yellow); border-radius: 10px; }

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 253, 247, .94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 227, 212, .8);
}
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { width: 250px; height: auto; }
.nav-toggle { display: none; border: 1px solid var(--line); background: var(--paper); border-radius: 12px; padding: 9px 12px; cursor: pointer; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { text-decoration: none; font-weight: 650; font-size: 16px; }
.nav-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { background: var(--yellow); padding: 12px 18px; border-radius: 999px; box-shadow: 0 6px 18px rgba(255, 216, 77, .25); }

.hero { padding: 86px 0 76px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow-soft); border: 1px solid #f3dfa0; padding: 7px 12px; border-radius: 999px; font-weight: 750; font-size: 14px; letter-spacing: .02em; }
h1 { font-size: clamp(42px, 6vw, 72px); line-height: 1.03; letter-spacing: -.045em; margin: 20px 0; max-width: 760px; }
h2 { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; letter-spacing: -.03em; margin: 0 0 16px; }
h3 { font-size: 22px; line-height: 1.25; margin: 0 0 8px; }
.lead { font-size: 21px; color: var(--ink-soft); max-width: 690px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 18px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; text-decoration: none; cursor: pointer; font-weight: 800; padding: 14px 22px; border-radius: 999px; min-height: 52px; }
.btn-primary { background: var(--ink); color: white; }
.btn-primary:hover { background: #000; }
.btn-secondary { background: var(--yellow); color: var(--ink); }
.btn-light { background: var(--paper); border: 1px solid var(--line); }
.free-note { display: flex; align-items: center; gap: 10px; font-weight: 750; color: var(--sage-dark); }
.check { width: 24px; height: 24px; display: grid; place-items: center; background: var(--sage); border-radius: 50%; font-size: 14px; }

.hero-art { position: relative; min-height: 440px; }
.hero-card { position: absolute; inset: 24px 0 0 20px; background: var(--yellow); border-radius: 34px; transform: rotate(2deg); }
.hero-card-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 50px; border: 1px solid rgba(34,34,34,.08); border-radius: 34px; background: var(--paper); box-shadow: var(--shadow); }
.house { width: 120px; height: 90px; position: relative; margin-bottom: 28px; }
.house:before { content: ""; position: absolute; width: 82px; height: 82px; left: 18px; top: 10px; background: var(--yellow); transform: rotate(45deg); border-radius: 8px; }
.house:after { content: ""; position: absolute; left: 25px; bottom: 0; width: 70px; height: 62px; background: var(--ink); border-radius: 10px 10px 3px 3px; }
.hero-card-inner strong { font-size: 31px; line-height: 1.15; max-width: 360px; }
.hero-card-inner span { color: var(--ink-soft); margin-top: 12px; }

.section { padding: 88px 0; }
.section-muted { background: #f5f4ed; }
.section-yellow { background: var(--yellow); }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section-head p { color: var(--ink-soft); margin: 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: 0 8px 30px rgba(34,34,34,.035); }
.step-num { width: 44px; height: 44px; display: grid; place-items: center; background: var(--yellow); border-radius: 13px; font-weight: 900; margin-bottom: 22px; }
.card p { color: var(--ink-soft); margin-bottom: 0; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.service-card { padding: 25px; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; }
.service-icon { width: 42px; height: 42px; border-radius: 12px; background: var(--yellow-soft); display: grid; place-items: center; margin-bottom: 18px; font-weight: 900; }

.trust { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.trust-panel { background: var(--ink); color: white; border-radius: 30px; padding: 42px; }
.trust-panel .eyebrow { background: rgba(255,216,77,.14); border-color: rgba(255,216,77,.25); color: var(--yellow); }
.trust-panel h2 { margin-top: 18px; }
.trust-panel p { color: #dedede; }
.trust-list { display: grid; gap: 14px; margin-top: 25px; }
.trust-item { display: flex; gap: 12px; align-items: flex-start; }
.trust-item .check { flex: 0 0 auto; background: var(--yellow); color: var(--ink); }

.guide { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: center; }
.guide-cover { background: var(--yellow); min-height: 330px; border-radius: 28px; padding: 34px; display: flex; align-items: flex-end; box-shadow: var(--shadow); }
.guide-cover-inner { background: var(--paper); width: 100%; border-radius: 18px; padding: 28px; }
.guide-cover small { font-weight: 800; }
.guide-cover strong { display: block; font-size: 34px; line-height: 1.05; margin-top: 10px; }

.cta-band { padding: 68px 0; }
.cta-box { background: var(--yellow); border-radius: 30px; padding: 46px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-box p { margin: 0; max-width: 680px; }

.page-hero { padding: 76px 0 54px; background: var(--yellow); }
.page-hero p { max-width: 700px; color: #3f3a2d; font-size: 21px; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 54px; align-items: start; }
.profile-card { background: var(--yellow); border-radius: 28px; padding: 32px; min-height: 300px; display: flex; align-items: flex-end; }
.profile-placeholder { width: 100%; background: var(--paper); border-radius: 18px; padding: 25px; }
.profile-placeholder strong { font-size: 28px; }

.form-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; align-items: start; }
.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field-full { grid-column: 1 / -1; }
label { font-weight: 750; font-size: 15px; }
input, textarea, select { width: 100%; border: 1px solid #d9d4c5; background: #fffefb; border-radius: 12px; padding: 13px 14px; color: var(--ink); outline: none; }
input:focus, textarea:focus, select:focus { border-color: #b39b39; box-shadow: 0 0 0 4px rgba(255,216,77,.25); }
textarea { min-height: 150px; resize: vertical; }
.form-note { font-size: 14px; color: #666; margin-top: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { margin-top: 16px; padding: 13px 15px; border-radius: 12px; display: none; }
.form-status.success { display: block; background: var(--sage); color: #28402a; }
.form-status.error { display: block; background: #f7dfd9; color: #682d21; }

.site-footer { background: var(--ink); color: white; padding: 46px 0 30px; }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; align-items: flex-start; }
.footer-brand img { width: 230px; filter: brightness(0) invert(1); opacity: .92; }
.footer-links { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-links a { color: #eee; text-decoration: none; }
.footer-bottom { border-top: 1px solid #3b3b3b; margin-top: 34px; padding-top: 20px; color: #bdbdbd; font-size: 14px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-wrap { position: relative; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--cream); border: 1px solid var(--line); border-top: 0; border-radius: 0 0 18px 18px; padding: 18px; flex-direction: column; align-items: stretch; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 8px; }
  .hero-grid, .trust, .guide, .about-grid, .form-wrap { grid-template-columns: 1fr; }
  .hero-art { min-height: 350px; max-width: 560px; width: 100%; }
  .steps { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-box { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
  body { font-size: 17px; }
  .container { width: min(calc(100% - 28px), var(--max)); }
  .brand img { width: 205px; }
  .hero { padding-top: 54px; }
  h1 { font-size: 43px; }
  .lead { font-size: 19px; }
  .hero-card-inner { padding: 30px; }
  .services-grid, .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .section { padding: 65px 0; }
  .trust-panel, .cta-box, .form-card { padding: 25px; }
  .footer-grid { flex-direction: column; }
}
