@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../fonts/plus-jakarta-sans.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #1A1416;
  --text: #4A3F42;
  --muted: #6B5E61;
  --line: #F1DEDE;
  --line-2: #E3D8D9;
  --blush: #FDF0EF;
  --blush-2: #FBF7F6;
  --grey: #F7F5F5;
  --wave-1: #FAD1D3;
  --wave-2: #F39A9E;
  --wave-3: #EE676D;
  --wave-4: #E83940;
  --wave-5: #E51B23;
  --accent: #C8202E;
  --accent-dark: #9E1B26;
  --radius: 20px;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); }
a:hover { color: #7A1520; }
h1, h2, h3, p { margin: 0; }
:focus-visible { outline: 3px solid var(--wave-3); outline-offset: 3px; border-radius: 6px; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.h2 { font-weight: 700; font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; line-height: 1.15; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-dark); }
.lead { font-size: 17px; line-height: 1.7; color: var(--text); }

.btn {
  display: inline-block; padding: 15px 28px; border-radius: 12px; font: inherit; font-size: 16px;
  font-weight: 600; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; }
.btn-secondary { background: #fff; color: var(--ink); border-color: #EBCFCF; }
.btn-secondary:hover { border-color: var(--wave-3); color: var(--ink); }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--blush); }
.site-header { position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 18px; padding-bottom: 18px; }
.site-header .logo img { height: 46px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; font-weight: 500; }
.nav a { color: var(--ink); text-decoration: none; padding: 8px 0; }
.nav a:hover { color: var(--accent-dark); }
.site-header .logo { order: 1; }
.site-header .nav { order: 2; margin-left: auto; align-items: center; }
.lang-btn {
  order: 3; margin-left: 8px; display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 44px; padding: 0 16px; border-radius: 12px;
  background: #fff; border: 1px solid #EBCFCF; color: var(--ink);
  font-size: 14px; font-weight: 700; letter-spacing: 0.04em; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.lang-btn:hover { border-color: #E5606A; color: var(--accent-dark); }
@media (max-width: 760px) {
  .site-header .lang-btn { order: 2; margin-left: auto; }
  .site-header .nav { order: 3; width: 100%; margin-left: 0; }
}
.hero-body { position: relative; z-index: 2; padding-top: 88px; padding-bottom: 220px; }
.pill { display: inline-block; padding: 7px 14px; background: #fff; color: var(--accent-dark); border-radius: 999px; font-size: 13px; font-weight: 700; letter-spacing: 0.04em; }
.hero h1 { margin-top: 22px; font-weight: 700; font-size: clamp(38px, 6vw, 66px); line-height: 1.06; letter-spacing: -0.03em; max-width: 880px; }
.hero .lead { margin-top: 26px; font-size: 19px; max-width: 600px; }
.hero-actions { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 12px; }
.wave { position: absolute; height: 400px; border-radius: 50%; z-index: 1; }
.wave-1 { left: -10%; right: -10%; bottom: -260px; background: #F7C4C4; }
.wave-2 { left: -20%; right: 5%; bottom: -320px; background: var(--wave-2); }
.wave-3 { left: 10%; right: -25%; bottom: -350px; background: #E5606A; }
.wave-4 { left: -15%; right: 20%; bottom: -380px; background: #CF2633; }

/* Directions */
.directions { background: var(--grey); }
.directions .h2 { margin-bottom: 40px; }
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.dir-card { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.dir-card .bar { height: 8px; }
.dir-card .inner { padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.dir-card .eyebrow { font-size: 14px; }
.dir-card h3 { font-weight: 700; font-size: 30px; line-height: 1.15; letter-spacing: -0.015em; }
.dir-card p.desc { font-size: 16px; line-height: 1.6; color: var(--text); }
.items { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.items li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--grey); border-radius: 12px; font-size: 15px; }
.status { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.st-live { background: #DFF3E7; color: #1C5E3C; }
.st-dev { background: #FFF1D9; color: #7A4E0E; }
.st-plan { background: #ECE9F5; color: #45386E; }
.st-sold { background: #E3ECF8; color: #22406B; }
.st-port { background: #ECE8E9; color: #3A3033; }

/* Structure */
.structure { border-bottom: 1px solid var(--line); }
.structure .lead { margin: 12px 0 48px; font-size: 16px; }
.tree { display: flex; flex-direction: column; align-items: center; }
.tree-root { padding: 14px 34px; background: var(--accent); color: #fff; border-radius: 999px; font-weight: 700; font-size: 19px; }
.tree-stem { width: 2px; height: 36px; background: var(--wave-2); }
.tree-branches { width: 100%; border-top: 2px solid var(--wave-2); padding-top: 30px; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.node { background: var(--blush-2); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.node .eyebrow { font-size: 12px; margin-bottom: 14px; }
.node .name { font-weight: 700; font-size: 18px; }
.node .sub { margin-top: 6px; font-size: 15px; color: var(--text); }
.node .sep { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.chips { margin-top: 12px; display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; }
.chips span { padding: 7px 12px; background: #fff; border-radius: 999px; }
.exit { width: 100%; margin-top: 32px; padding: 24px 28px; background: var(--blush); border: 1px solid #EBCFCF; border-radius: 16px; display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.exit .name { font-weight: 700; font-size: 20px; margin-top: 6px; }
.exit .sub { font-size: 15px; color: var(--text); margin-top: 6px; }
.exit .badge { padding: 10px 18px; background: #fff; border: 1px solid #E5B5B5; color: var(--accent-dark); border-radius: 999px; font-size: 14px; font-weight: 700; }

/* Proof */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-top: 72px; padding-bottom: 72px; }
.proof .t { font-weight: 700; font-size: 28px; letter-spacing: -0.01em; margin-bottom: 8px; }
.proof .d { font-size: 15px; line-height: 1.5; color: var(--text); }

/* About */
.about { border-top: 1px solid var(--line); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.about .h2 { margin-bottom: 20px; }
.about .lead + .lead { margin-top: 18px; }
.about .more { display: inline-block; margin-top: 18px; font-size: 15px; font-weight: 600; }
.fund { background: var(--blush); border-radius: var(--radius); padding: 40px; align-self: start; }
.fund .eyebrow { font-size: 12px; margin-bottom: 8px; }
.fund h3 { font-weight: 700; font-size: 28px; line-height: 1.2; margin-bottom: 14px; }
.fund p { font-size: 16px; line-height: 1.65; color: var(--text); margin-bottom: 20px; }
.fund ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.fund li { padding: 12px 16px; background: #fff; border-radius: 12px; }
.fund .apply { display: inline-block; margin-top: 20px; font-size: 15px; font-weight: 700; }

/* Partners + form */
.partners-box { background: var(--grey); border: 1px solid #EDE4E4; border-radius: 24px; padding: 64px 48px; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 48px; }
.partners-box .h2 { margin-bottom: 18px; font-size: clamp(30px, 3.6vw, 42px); }
.ways { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; font-size: 17px; }
.ways li { border-bottom: 1px solid var(--line-2); padding-bottom: 16px; }
.contact-form { grid-column: 1 / -1; background: #fff; border: 1px solid #EDE4E4; border-radius: var(--radius); padding: 36px; display: flex; flex-direction: column; gap: 22px; }
.contact-form .title { font-weight: 700; font-size: 20px; }
.contact-form .hint { font-size: 15px; color: var(--text); margin-top: 8px; }
.topics { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.topics legend { font-size: 14px; font-weight: 600; margin-bottom: 10px; padding: 0; }
.topics input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topics label { display: inline-block; padding: 10px 16px; border-radius: 999px; background: var(--grey); border: 1px solid var(--line-2); font-size: 14px; font-weight: 600; cursor: pointer; min-height: 44px; line-height: 22px; }
.topics label:hover { border-color: var(--wave-2); }
.topics input:checked + label { background: var(--blush); border-color: #E5606A; color: var(--accent-dark); font-weight: 700; }
.topics input:focus-visible + label { outline: 3px solid var(--wave-3); outline-offset: 2px; }
.fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 600; }
.field input, .field textarea { padding: 14px 16px; border: 1px solid #D9CDCF; border-radius: 12px; font: inherit; font-weight: 400; font-size: 16px; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { border-color: #E5606A; outline: none; box-shadow: 0 0 0 3px #FBE3E4; }
.field textarea { resize: vertical; min-height: 120px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.note-minor { font-size: 14px; color: var(--text); background: var(--blush); border-radius: 12px; padding: 12px 16px; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px 32px; align-items: center; justify-content: space-between; }
.form-foot .consent { flex: 1 1 360px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.form-status { font-size: 15px; font-weight: 600; border-radius: 12px; padding: 14px 16px; }
.form-status.ok { background: #DFF3E7; color: #1C5E3C; }
.form-status.err { background: #FDECEC; color: #8A1520; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .container { padding-top: 36px; padding-bottom: 36px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; font-size: 13px; color: var(--muted); }
.site-footer img { height: 32px; width: auto; }

/* Legal page */
.legal { max-width: 820px; margin: 0 auto; padding: 64px 24px 96px; }
.legal h1 { font-size: clamp(32px, 4vw, 44px); letter-spacing: -0.02em; margin-bottom: 12px; }
.legal h2 { font-size: 22px; margin: 36px 0 12px; }
.legal p, .legal li { font-size: 16px; line-height: 1.7; color: var(--text); }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; }

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .hero-body { padding-top: 48px; padding-bottom: 180px; }
  .partners-box { padding: 36px 20px; }
  .contact-form { padding: 24px 18px; }
  .dir-card .inner, .fund { padding: 24px; }
}
