/* Сайт Gata: кремовый фон, тёмно-синий, медный акцент — как в приложении */
@font-face { font-family: 'Inter'; src: url('/fonts/inter-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 100 900; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: 'Inter'; src: url('/fonts/inter-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 100 900; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-cyrillic-wght-normal.woff2') format('woff2'); font-weight: 200 800; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-wght-normal.woff2') format('woff2'); font-weight: 200 800; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+FEFF, U+FFFD; font-display: swap; }
@font-face { font-family: 'Manrope'; src: url('/fonts/manrope-latin-ext-wght-normal.woff2') format('woff2'); font-weight: 200 800; unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; font-display: swap; }

:root {
  --viber: #7360F2;
  --bg: #F7F4EE;
  --bg-alt: #EFE9DE;
  --surface: #FFFFFF;
  --line: #E4DCCD;
  --text: #14213D;
  --muted: #5C5548;
  --navy: #1B2B57;
  --blue: #1E3A8A;
  --copper: #C2510F;
  --copper-bright: #E0611F;
  --copper-tint: rgba(224, 97, 31, 0.12);
  --green: #047857;
  --green-tint: #D9F2E6;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C7D2EE;
  --radius: 20px;
  --shadow: 0 10px 30px rgba(20, 33, 61, 0.10);
  --head: 'Manrope', 'Inter', -apple-system, 'Segoe UI', Roboto, sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--body); font-size: 18px; line-height: 1.5; }
a { color: var(--blue); }
img { display: block; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 760px; }
h1, h2, h3 { font-family: var(--head); letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.1; font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.15; font-weight: 800; }
h3 { font-size: 20px; font-weight: 800; }

/* кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 24px; border-radius: 14px;
  font: 700 18px/1 var(--body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s; }
.btn:active { transform: scale(0.98); }
.btn-main { background: var(--copper); color: var(--on-dark); box-shadow: 0 8px 20px rgba(194, 81, 15, 0.28); }
.btn-main:hover { background: #A9450B; }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); }
.btn-on-dark { background: transparent; color: var(--on-dark); border-color: rgba(255, 255, 255, 0.5); }
.btn-sm { min-height: 48px; padding: 0 18px; font-size: 17px; }
:focus-visible { outline: 3px solid var(--copper-bright); outline-offset: 3px; }

/* шапка */
.top { position: sticky; top: 0; z-index: 50; background: rgba(247, 244, 238, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { letter-spacing: 0.06em; display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font: 800 24px var(--head); margin-right: auto; }
.logo img { border-radius: 9px; }
.top-nav { display: flex; gap: 22px; }
.top-nav a { color: var(--text); text-decoration: none; font-weight: 600; font-size: 17px; }
.top-nav a:hover { color: var(--copper); }
.langs { display: flex; gap: 2px; background: var(--bg-alt); border-radius: 12px; padding: 3px; }
.lang { min-width: 44px; min-height: 44px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: 700 15px var(--body); cursor: pointer; }
.lang.is-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(20, 33, 61, 0.15); }

/* первый экран */
.hero { padding: 48px 0 56px; background: radial-gradient(1000px 500px at 85% 10%, rgba(224, 97, 31, 0.10), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.kicker { display: inline-block; margin: 0 0 16px; padding: 6px 14px; border-radius: 99px; background: var(--copper-tint); color: var(--copper); font-weight: 700; font-size: 16px; }
.lead { font-size: 20px; color: var(--muted); margin: 18px 0 28px; max-width: 560px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { font-size: 16px; color: var(--muted); margin: 18px 0 0; }

/* телефон */
.phone { justify-self: center; width: 300px; padding: 12px; border-radius: 42px; background: var(--navy); box-shadow: 0 30px 60px rgba(20, 33, 61, 0.30); }
.phone-in { position: relative; border-radius: 32px; background: var(--bg); padding: 18px 14px 22px; display: flex; flex-direction: column; gap: 12px; min-height: 520px; }
.ph-master { display: flex; align-items: center; gap: 10px; }
.ph-av { width: 40px; height: 40px; border-radius: 11px; background: var(--text); color: var(--on-dark); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.ph-master b { display: block; font-size: 16px; }
.ph-master small { color: var(--muted); font-size: 14px; }
.ph-card { background: var(--surface); border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; border: 1px solid var(--line); }
.ph-card small { color: var(--muted); font-size: 13px; }
.ph-title { font-family: var(--head); font-size: 17px; }
.ph-row { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; padding: 4px 0; border-bottom: 1px solid var(--bg-alt); }
.ph-row span:last-child { white-space: nowrap; font-weight: 600; }
.ph-new { color: var(--green); background: var(--green-tint); padding: 0 6px; border-radius: 6px; }
.ph-disc { color: var(--green); }
.ph-total { display: flex; justify-content: space-between; font-size: 16px; padding-top: 4px; }
.ph-total b { font-family: var(--head); font-size: 18px; }
.ph-btn { min-height: 46px; border-radius: 12px; background: var(--blue); color: var(--on-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.ph-toast { position: absolute; left: -36px; right: 24px; bottom: 96px; display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px;
  background: var(--surface); box-shadow: var(--shadow); font-size: 14px; font-weight: 600; animation: toast 4s ease-in-out infinite; }
.ph-toast img { border-radius: 6px; flex: 0 0 auto; }
@keyframes toast { 0%, 12% { opacity: 0; transform: translateY(10px); } 22%, 80% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: translateY(-6px); } }
@media (prefers-reduced-motion: reduce) { .ph-toast { animation: none; } html { scroll-behavior: auto; } }

/* секции */
.sec { padding: 56px 0; }
.sec-alt { background: var(--bg-alt); }
.sec-navy { background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--on-dark); }
.sec-lead { font-size: 19px; color: var(--muted); margin: 8px 0 24px; }

/* карта пользования */
.map { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; counter-reset: st; }
.map li { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 18px; }
.map-n { width: 40px; height: 40px; border-radius: 50%; background: var(--copper-tint); color: var(--copper); display: flex; align-items: center; justify-content: center; font: 800 18px var(--head); margin-bottom: 12px; }
.map li:last-child .map-n { background: var(--green-tint); color: var(--green); }
.map h3 { font-size: 18px; margin-bottom: 6px; }
.map p { margin: 0; font-size: 16px; color: var(--muted); }
.map-who { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 700; color: var(--blue); }

/* направления и уроки */
.dirs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
.dir { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; border-radius: 16px; border: 2px solid var(--line); background: var(--surface);
  color: var(--text); font: 700 18px var(--body); cursor: pointer; }
.dir svg { color: var(--copper); }
.dir[aria-selected="true"] { border-color: var(--copper); background: var(--copper-tint); }
.dir-panel { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); padding: 28px; box-shadow: var(--shadow); }
.dir-lead { font-size: 19px; color: var(--muted); margin: 6px 0 20px; }
.lesson { border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 10px; overflow: hidden; }
.lesson.is-open { border-color: var(--blue); }
.lesson-head { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 14px; padding: 12px 18px; border: 0; background: none; text-align: left;
  color: var(--text); font: 700 19px var(--body); cursor: pointer; }
.lesson-n { width: 34px; height: 34px; border-radius: 10px; background: var(--bg-alt); display: flex; align-items: center; justify-content: center; font: 800 16px var(--head); flex: 0 0 auto; }
.lesson.is-open .lesson-n { background: var(--blue); color: var(--on-dark); }
.lesson-t { flex: 1; }
.chev { flex: 0 0 auto; color: var(--muted); transition: transform .2s; }
.lesson.is-open .chev, .faq.is-open .chev { transform: rotate(180deg); }
.lesson-body { padding: 0 18px 18px 66px; }
.lesson-body ol { margin: 0; padding-left: 20px; }
.lesson-body li { margin: 8px 0; font-size: 18px; }
.lesson-go { margin-top: 20px; }

/* возможности */
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.feat-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--copper-tint); color: var(--copper); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.feat h3 { margin-bottom: 6px; }
.feat p { margin: 0; color: var(--muted); font-size: 17px; }

/* цели */
.goal { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: var(--radius); padding: 24px; }
.goal h3 { color: var(--on-dark); margin-bottom: 8px; }
.goal p { margin: 0; color: var(--on-dark-muted); font-size: 17px; }
.goal-n { font: 800 15px var(--head); letter-spacing: .08em; color: #F3A06B; margin-bottom: 10px; }

/* дорожная карта */
.road { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.road-col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.road-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.road-dot { width: 12px; height: 12px; border-radius: 50%; }
.road-done .road-dot { background: var(--green); }
.road-now { border: 2px solid var(--copper); }
.road-now .road-dot { background: var(--copper-bright); box-shadow: 0 0 0 5px var(--copper-tint); }
.road-next .road-dot { background: var(--line); border: 2px solid var(--muted); }
.road-col ul { list-style: none; margin: 0; padding: 0; }
.road-col li { padding: 10px 0; border-top: 1px solid var(--bg-alt); font-size: 17px; }
.road-col li:first-child { border-top: 0; }

/* вопросы */
.faq { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq-head { width: 100%; min-height: 64px; display: flex; align-items: center; gap: 12px; padding: 12px 20px; border: 0; background: none; text-align: left; color: var(--text); font: 700 19px var(--body); cursor: pointer; }
.faq-head span { flex: 1; }
.faq-body { padding: 0 20px 18px; color: var(--muted); font-size: 18px; margin: 0; }

/* призыв */
.cta { background: linear-gradient(135deg, var(--navy), var(--blue)); color: var(--on-dark); padding: 72px 0; }
.cta-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.cta img { border-radius: 16px; }
.cta p { margin: 0 0 8px; color: var(--on-dark-muted); font-size: 19px; }
.foot { padding: 28px 0; border-top: 1px solid var(--line); }
.foot-in { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: 16px; }

@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; }
  .phone { margin-top: 8px; }
  .map { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid, .road { grid-template-columns: 1fr 1fr; }
  .top-nav { display: none; }
}
@media (max-width: 620px) {
  body { font-size: 17px; }
  .hero { padding: 32px 0 48px; }
  .sec { padding: 56px 0; }
  .map, .grid, .road { grid-template-columns: 1fr; }
  .hero-btns .btn { width: 100%; }
  .top-in { gap: 8px; }
  .top .btn-sm { display: none; }
  .phone { display: none; }
  .hero { padding: 28px 0 36px; }
  .sec { padding: 40px 0; }
  .map li { display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; align-items: center; padding: 12px 16px; }
  .map-n { grid-row: span 2; margin: 0; }
  .map h3 { margin: 0; }
  .dir { flex: 1 1 calc(50% - 10px); justify-content: center; padding: 0 12px; font-size: 17px; }
  .dir-panel { padding: 18px 14px; }
  .lesson-body { padding-left: 18px; }
  .ph-toast { left: -10px; }
}
.road, #faq-list { margin-top: 20px; }

.talk { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.talk p { margin: 8px 0 0; font-size: 18px; color: var(--muted); }
.btn-viber { background: var(--viber); color: #fff; }
.foot-in { flex-wrap: wrap; gap: 12px 24px; }
@media (max-width: 620px) { .btn-viber { width: 100%; } }
