/* Flow77 — спокойный светлый дизайн */
:root {
  --bg: #FBFAF7;
  --surface: #FFFFFF;
  --sage: #E8F1EC;
  --sage-2: #D5E8DF;
  --peach: #FCEBDD;
  --sand: #F4F0E9;
  --ink: #1E2A2E;
  --muted: #5B6A6F;
  --line: #E6E2DA;
  --teal: #2E8B7A;
  --teal-d: #23705F;
  --teal-l: #8FD3C4;
  --coral: #E9855F;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(30, 42, 46, .07);
  --shadow-s: 0 4px 14px rgba(30, 42, 46, .06);
  --wrap: 1140px;
  --font: "Onest", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
img, svg { max-width: 100%; display: block; }
a { color: var(--teal-d); }
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; font-weight: 650; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section.alt { background: var(--sand); }
.section.sage { background: var(--sage); }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--teal-d); margin-bottom: 14px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 10px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }

/* Кнопки */
.btn { white-space: nowrap; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 1rem; padding: 14px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 8px 20px rgba(46, 139, 122, .28); }
.btn-primary:hover { background: var(--teal-d); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-d); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: wait; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, .88); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.scrolled { border-color: var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 72px; }
.logo { display: block; width: 118px; flex: none; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { white-space: nowrap; color: var(--ink); text-decoration: none; font-weight: 500; font-size: .98rem; padding: 6px 0; }
.nav a:hover { color: var(--teal-d); }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: 12px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 84px) 0 clamp(60px, 8vw, 110px); }
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero .lead { margin-bottom: 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; max-width: 560px; }
.checks li { position: relative; padding-left: 30px; font-size: .96rem; color: var(--ink); }
.checks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--sage-2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%232E8B7A' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.hero-art { position: relative; aspect-ratio: 1 / 1.05; max-width: 480px; margin-left: auto; width: 100%; }
.blob { position: absolute; inset: 4% 2% 2% 6%; background: var(--sage); border-radius: 46% 54% 58% 42% / 50% 42% 58% 50%; }
.blob.two { inset: 18% 14% 8% 0; background: var(--peach); border-radius: 58% 42% 40% 60% / 46% 58% 42% 54%; opacity: .85; transform: rotate(-6deg); }
.float-card { position: absolute; background: var(--surface); border-radius: 18px; box-shadow: var(--shadow); padding: 16px 18px; font-size: .92rem; line-height: 1.35; animation: bob 7s ease-in-out infinite; }
.float-card b { display: block; font-size: 1.02rem; margin-bottom: 2px; }
.float-card small { color: var(--muted); }
.float-card .pay { color: var(--teal-d); font-weight: 650; }
.fc1 { top: 8%; left: 0; }
.fc2 { top: 38%; right: 0; animation-delay: -2s; }
.fc3 { bottom: 10%; left: 8%; animation-delay: -4s; }
.fc4 { top: 4%; right: 10%; padding: 12px 16px; animation-delay: -5s; display: flex; gap: 10px; align-items: center; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #4CC38A; box-shadow: 0 0 0 4px rgba(76, 195, 138, .22); flex: none; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* Направления */
.dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.dir { border-radius: var(--radius); padding: 34px; position: relative; overflow: hidden; }
.dir.horeca { background: var(--sage); }
.dir.promo { background: var(--peach); }
.dir h3 { font-size: 1.5rem; }
.dir p { color: #3F4E52; }
.dir ul { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.dir li { background: rgba(255, 255, 255, .7); padding: 6px 14px; border-radius: 999px; font-size: .9rem; }
.dir .ico { width: 54px; height: 54px; border-radius: 16px; background: #fff; display: grid; place-items: center; margin-bottom: 18px; }
.dir .ico svg { width: 28px; height: 28px; }

/* Вакансии */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.tab { font: inherit; font-weight: 500; padding: 10px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer; transition: all .15s; }
.tab:hover { border-color: var(--teal); }
.tab[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.vgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.vcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: transform .2s, box-shadow .2s, border-color .2s; }
.vcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--sage-2); }
.vcard .kind { font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.vcard h3 { margin-bottom: 10px; }
.pay-big { font-size: 1.35rem; font-weight: 700; color: var(--teal-d); letter-spacing: -.01em; }
.pay-big small { font-size: .85rem; font-weight: 500; color: var(--muted); }
.pay-note { color: var(--muted); font-size: .88rem; margin-bottom: 12px; min-height: 1.3em; }
.vcard p.about { font-size: .96rem; color: #3F4E52; margin-bottom: 14px; }
.vmeta { font-size: .9rem; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 20px; padding: 0; list-style: none; }
.chips li { font-size: .8rem; padding: 4px 11px; border-radius: 999px; background: var(--sand); color: #3F4E52; }
.chips li.good { background: var(--sage); color: var(--teal-d); font-weight: 600; }
.vcard .btn { margin-top: auto; }
.note { margin-top: 28px; font-size: .92rem; color: var(--muted); max-width: 760px; }

/* Шаги */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--surface); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-s); position: relative; }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sage); color: var(--teal-d); font-weight: 700; margin-bottom: 16px; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }
.step time { display: inline-block; margin-top: 12px; font-size: .82rem; font-weight: 600; color: var(--teal-d); }

/* Страхи */
.fears { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fear { background: var(--surface); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-s); }
.fear .q { font-size: 1.05rem; font-weight: 650; margin-bottom: 10px; display: flex; gap: 10px; }
.fear .q::before { content: "“"; color: var(--coral); font-size: 2rem; line-height: .9; font-weight: 700; }
.fear p { color: #3F4E52; font-size: .97rem; margin: 0; }

/* Преимущества */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 28px; }
.perk .ic { width: 48px; height: 48px; border-radius: 14px; background: var(--sage); display: grid; place-items: center; margin-bottom: 14px; }
.perk:nth-child(3n+2) .ic { background: var(--peach); }
.perk .ic svg { width: 24px; height: 24px; }
.perk p { color: var(--muted); font-size: .97rem; margin: 0; }

/* Карьерная лестница */
.ladder { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.rung { padding: 0 12px; text-align: center; position: relative; }
.rung::before { content: ""; position: absolute; top: 19px; left: -50%; width: 100%; height: 3px; background: var(--sage-2); z-index: 0; }
.rung:first-child::before { display: none; }
.rung .n { position: relative; z-index: 1; width: 40px; height: 40px; margin: 0 auto 14px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: 0 0 0 6px var(--sage); }
.rung:nth-child(2) .n { opacity: .9; } .rung:nth-child(3) .n { opacity: .82; }
.rung h4 { font-size: 1.02rem; margin-bottom: 4px; }
.rung p { font-size: .88rem; color: var(--muted); margin: 0; }
.rung .money { display: block; font-size: .86rem; color: var(--teal-d); font-weight: 600; margin-top: 6px; }

/* Партнёры */
.partners { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 16px; }
.partner { background: var(--surface); border: 1px dashed var(--line); border-radius: 18px; height: 84px; display: grid; place-items: center; color: #9AA5A8; font-size: .9rem; }

/* FAQ */
.faq { max-width: 820px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; margin-bottom: 12px; padding: 0 24px; }
.faq summary { cursor: pointer; padding: 20px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.6rem; line-height: 1; color: var(--teal); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: #3F4E52; padding-bottom: 20px; margin: 0; }

/* Формы */
.apply { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.apply-side ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.apply-side li { display: flex; gap: 12px; align-items: flex-start; color: #3F4E52; }
.apply-side li::before { content: ""; flex: none; width: 22px; height: 22px; margin-top: 2px; border-radius: 50%; background: var(--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat; }
.form-card { background: var(--surface); border-radius: 28px; padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.4rem; }
.field { margin-bottom: 18px; }
.field label, .field .lbl { display: block; font-weight: 550; font-size: .93rem; margin-bottom: 7px; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input[type=text], .field input[type=tel], .field input[type=number], .field input[type=email], .field select, .field textarea { width: 100%; font: inherit; color: var(--ink); background: var(--bg); border: 1.5px solid var(--line); border-radius: 14px; padding: 13px 16px; transition: border-color .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 8l5 5 5-5' fill='none' stroke='%235B6A6F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(46, 139, 122, .14); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.row2.age { grid-template-columns: 1fr 120px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { display: block; text-align: center; padding: 11px 8px; border: 1.5px solid var(--line); border-radius: 14px; cursor: pointer; font-weight: 500; font-size: .9rem; line-height: 1.25; margin: 0; background: var(--bg); transition: all .15s; }
.seg input:checked + label { border-color: var(--teal); background: var(--sage); color: var(--teal-d); font-weight: 600; }
.seg input:focus-visible + label { outline: 3px solid var(--teal); outline-offset: 2px; }
.field label.file, .file { display: flex; align-items: center; gap: 12px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 12px 16px; background: var(--bg); cursor: pointer; }
.file:hover { border-color: var(--teal); }
.file input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.file .fn { color: var(--muted); font-size: .92rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file .fb { flex: none; font-weight: 600; color: var(--teal-d); font-size: .92rem; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .86rem; color: var(--muted); margin: 6px 0 20px; }
.consent input { flex: none; width: 20px; height: 20px; margin-top: 2px; accent-color: var(--teal); }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.form-msg { margin-top: 14px; font-size: .95rem; }
.form-msg.err { color: #B4442A; }
.form-ok { text-align: center; padding: 30px 6px; }
.form-ok .tick { width: 68px; height: 68px; border-radius: 50%; background: var(--sage); margin: 0 auto 18px; display: grid; place-items: center; }
.form-ok .tick svg { width: 34px; height: 34px; }
.tiny { font-size: .82rem; color: var(--muted); margin: 12px 0 0; text-align: center; }

/* Работодателям */
.biz { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.biz ul { padding-left: 0; list-style: none; display: grid; gap: 12px; }
.biz li { padding-left: 28px; position: relative; color: #3F4E52; }
.biz li::before { content: ""; position: absolute; left: 0; top: 9px; width: 12px; height: 12px; border-radius: 4px; background: var(--coral); transform: rotate(45deg) scale(.8); }

/* Контакты и подвал */
.contacts { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ccard { background: var(--surface); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-s); }
.ccard h3 { margin-bottom: 14px; }
.clist { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.clist a { font-weight: 550; }
.footer { background: var(--ink); color: #C9D2D4; padding: 56px 0 30px; font-size: .94rem; }
.footer a { color: #C9D2D4; }
.footer .logo { width: 120px; margin-bottom: 14px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.foot-grid h4 { color: #fff; font-size: .95rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .84rem; color: #8A989C; }

/* Плавающая кнопка (мобильная) */
.fab { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; display: none; box-shadow: 0 10px 28px rgba(46, 139, 122, .4); }
.fab.hide { display: none !important; }

/* Появление */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .rv.in { opacity: 1; transform: none; }

/* Страница политики */
.doc { max-width: 780px; padding: 48px 0 80px; }
.doc h1 { font-size: 2rem; }
.doc h2 { font-size: 1.3rem; margin-top: 1.8em; }
.doc li { margin-bottom: .4em; }
.todo { background: var(--peach); padding: 2px 8px; border-radius: 6px; }

@media (max-width: 980px) {
  .burger { display: block; }
  .nav { position: absolute; top: 72px; left: 0; right: 0; background: var(--bg); flex-direction: column; gap: 0; padding: 8px 20px 20px; border-bottom: 1px solid var(--line); display: none; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .header .btn-sm { display: none; }
  .hero .wrap, .apply, .biz, .dirs, .contacts { grid-template-columns: 1fr; }
  .hero-art { margin: 10px auto 0; max-width: 420px; }
  .vgrid, .fears, .perks { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .ladder { grid-template-columns: 1fr; gap: 26px; }
  .rung { display: grid; grid-template-columns: 52px 1fr; text-align: left; padding: 0; column-gap: 14px; }
  .rung::before { display: none; }
  .rung .n { margin: 0; grid-row: span 3; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
    .fab { display: inline-flex; }
  body { padding-bottom: 76px; }
  .float-card { font-size: .82rem; padding: 12px 14px; }
}
@media (max-width: 600px) {
  .vgrid, .fears, .perks, .steps { grid-template-columns: 1fr; }
  .checks { grid-template-columns: 1fr; }
  .row2, .row2.age { grid-template-columns: 1fr; }
  .seg { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .dir { padding: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .float-card { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
}

.pfacts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pfact { background: var(--surface); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-s); }
.pfact p { color: var(--muted); font-size: .96rem; margin: 0; }
.promise { max-width: 720px; margin: 32px auto 0; text-align: center; color: #3F4E52; }
.cbtns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
@media (max-width: 980px) { .pfacts { grid-template-columns: 1fr; } }
