/* =========================================================
   BeeHire — стилі за макетом (Canva 390×844)
   Кольори та шрифти взяті напряму з PDF-макета:
   Golos Text + Montserrat, #FFBD41 / #FAB31A / #D79833 /
   #FEF3E1 / #2A2A2A / #15120D / #B9721A / #D9D9D9
   ========================================================= */
:root{
  --yellow:#FFBD41;        /* кнопки, CTA */
  --yellow-hex:#FAB31A;    /* стільники, іконки */
  --gold:#D79833;          /* акцентне слово, текст бейджа */
  --brown:#B9721A;         /* номери кроків, стрілка селекта */
  --cream:#FEF3E1;         /* фон секцій, чипи, інпути */
  --ink:#2A2A2A;           /* текст і темна картка */
  --ink-deep:#15120D;      /* темні стільники, бургер, підвал */
  --line:#D9D9D9;          /* лінії-роздільники */
  --ghost:#F8F6F6;         /* привид BEEHIRE */
  --muted:#747474;         /* плейсхолдери */
  --paper:#FFFFFF;
  --pad:8.5%;              /* бічні поля як у макеті */
  /* Форми з макета, заміряні по пікселях:
     - бейдж та іконки цифр: шестикутник з ПЛАСКИМ верхом
     - соти «Чому BeeHire»:  шестикутник з ГОСТРИМ верхом */
  --hex-flat:polygon(24% 0%,76% 0%,100% 50%,76% 100%,24% 100%,0% 50%);
  --hex-point:polygon(50% 0%,100% 26%,100% 74%,50% 100%,0% 74%,0% 26%);
  --hexw:clamp(88px,26vw,150px);       /* ширина стільника (макет: 63.4 з 390) */
  --hexgap:calc(.077 * var(--hexw));   /* зазор між сотами (макет: 4.9) */
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  margin:0;
  font-family:'Montserrat',system-ui,-apple-system,'Segoe UI',Roboto,sans-serif;
  font-size:15.5px;
  line-height:1.5;
  color:var(--ink);
  background:var(--paper);
  overflow-x:hidden;
  padding-bottom:88px;
}
img{max-width:100%;display:block;height:auto}
a{color:inherit}
h1,h2,h3{font-family:'Golos Text','Montserrat',sans-serif;line-height:1.1;margin:0 0 .5em;font-weight:700}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0;list-style:none}
section[id]{scroll-margin-top:80px}

.container{width:100%;max-width:1120px;margin-inline:auto;padding-inline:var(--pad)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:10px 16px;z-index:100}
.skip-link:focus{left:8px;top:8px}
:focus-visible{outline:3px solid var(--brown);outline-offset:2px;border-radius:6px}

/* ---------- Кнопки ---------- */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:.55em;
  font-family:'Golos Text','Montserrat',sans-serif;font-weight:600;font-size:15px;
  text-decoration:none;cursor:pointer;border:0;
  padding:15px 26px;border-radius:999px;
  transition:transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space:nowrap;
}
.btn:hover{transform:translateY(-2px)}
.btn:active{transform:translateY(0)}
.btn-primary{background:var(--yellow);color:var(--ink);box-shadow:0 6px 16px rgba(255,189,65,.4)}
.btn-primary:hover{background:#F7B02F}
.btn-soft{background:var(--cream);color:var(--ink)}
.btn-soft:hover{background:#FBE9CE}
.btn-lg{padding:17px 30px;font-size:16px}
.btn-sm{padding:11px 20px;font-size:14px}
.btn-block{width:100%}

/* ---------- Шапка ---------- */
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(10px)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-block:14px}
.logo{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
.logo-mark{width:26px;height:26px;object-fit:contain}
.logo-text{font-family:'Golos Text',sans-serif;font-weight:700;font-size:20px;letter-spacing:-.01em}
.logo-light .logo-text{color:#fff}

.nav-desktop{display:none;align-items:center;gap:26px}
.nav-desktop a{text-decoration:none;font-weight:500;font-size:15px}
.nav-desktop a:not(.btn):hover{color:var(--gold)}

.burger{
  width:44px;height:44px;border:0;border-radius:13px;background:var(--ink-deep);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;cursor:pointer;flex:none;
}
.burger span{display:block;width:19px;height:2.4px;background:#fff;border-radius:2px;transition:.25s}
.burger[aria-expanded="true"] span:nth-child(1){transform:translateY(6.4px) rotate(45deg)}
.burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-6.4px) rotate(-45deg)}

.mobile-menu{border-top:1px solid rgba(42,42,42,.08);background:#fff}
.mobile-menu nav{display:flex;flex-direction:column;max-width:1120px;margin-inline:auto;padding:10px var(--pad) 22px}
.mobile-menu a{text-decoration:none;font-weight:500;padding:12px 2px;border-bottom:1px solid rgba(42,42,42,.07)}
.mobile-menu .btn{margin-top:16px;border-bottom:0;font-weight:600}

/* ---------- Головний екран ---------- */
.hero{padding:22px 0 44px}
.hero-grid{display:grid;gap:30px}

.badge{
  display:inline-flex;align-items:center;gap:9px;
  background:var(--cream);color:var(--gold);
  font-family:'Golos Text',sans-serif;font-weight:700;font-size:14px;
  padding:9px 18px;border-radius:999px;margin:0 0 18px;
}
.hex-dot{width:clamp(12px,3vw,15px);aspect-ratio:1.034;background:var(--yellow-hex);clip-path:var(--hex-flat);display:inline-block;flex:none}

.hero h1{font-size:clamp(31px,8.8vw,60px);font-weight:700;letter-spacing:-.02em;line-height:1.08;margin-bottom:.42em}
.hero h1 em{font-style:normal;color:var(--gold)}
.lead{font-size:15.5px;line-height:1.5;max-width:46ch;margin-bottom:0}

.chips{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
.chips li{background:var(--cream);font-weight:700;font-size:12.5px;padding:10px 16px;border-radius:999px}

.cta-card{
  position:relative;overflow:hidden;
  background:var(--ink);border-radius:26px;padding:30px 26px 28px;
}
.cta-comb{position:absolute;top:0;right:0;width:32%;color:#8B6F23}
.cta-title{
  position:relative;font-family:'Golos Text',sans-serif;font-weight:700;
  font-size:clamp(21px,5.8vw,30px);line-height:1.18;letter-spacing:-.01em;
  color:var(--cream);margin:0 0 24px;max-width:21ch;
}
.cta-card .btn{position:relative}

/* ---------- Заголовки секцій ---------- */
.section-title{
  font-family:'Golos Text',sans-serif;font-weight:700;
  font-size:clamp(16px,4.6vw,26px);letter-spacing:-.015em;line-height:1.2;
  margin:0 0 22px;display:flex;align-items:center;gap:16px;
}
.section-title strong{font-family:'Montserrat',sans-serif;font-weight:800;letter-spacing:-.02em}
.section-title>span{flex:0 1 auto}
.section-title.has-rule>span{white-space:nowrap;font-size:min(1em,4.55vw)}
.section-title.has-rule::after{content:"";flex:1 1 24px;height:1.5px;background:var(--line);min-width:20px}

/* ---------- Цифри ---------- */
.numbers{background:var(--cream);padding:46px 0}
.numbers-grid{display:grid;gap:16px}
.stat{display:flex;align-items:center;gap:16px;background:#fff;border-radius:24px;padding:20px}
.stat-icon{
  width:clamp(48px,13vw,70px);aspect-ratio:1.054;flex:none;
  background:var(--cream);clip-path:var(--hex-flat);
  display:grid;place-items:center;color:var(--yellow-hex);
}
.stat-icon svg{width:39%;height:auto}
.stat-value{font-family:'Golos Text',sans-serif;font-weight:700;font-size:clamp(30px,8.4vw,46px);letter-spacing:-.02em;line-height:1;margin:0;white-space:nowrap}
.stat-label{margin:6px 0 0;font-size:14px;line-height:1.35}

/* ---------- Медіа ---------- */
.media{padding:46px 0}
.media .section-title{margin-bottom:6px}
.media .section-title>span{font-size:min(1em,4.3vw)}
.media-sub{font-weight:700;font-size:15px;margin:0}
.media-row{display:flex;align-items:center;flex-wrap:wrap;gap:18px;margin-top:22px}
.channels{display:flex;gap:12px}
.channels a{display:block;width:66px;height:66px;border-radius:50%;overflow:hidden;transition:transform .15s ease}
.channels a:hover{transform:translateY(-3px)}
.channels img{width:100%;height:100%;object-fit:cover}
.media-note{margin:22px 0 0;font-style:italic;font-weight:700;font-size:12.5px}

/* ---------- Процес ---------- */
.process{padding:46px 0}
.steps li{display:flex;gap:18px;padding:18px 0;border-top:1px solid var(--line)}
.steps li:last-child{border-bottom:1px solid var(--line)}
.step-num{font-family:'Golos Text',sans-serif;font-weight:700;font-size:23px;color:var(--brown);flex:none;min-width:44px;line-height:1.25}
.steps h3{font-size:17px;font-weight:700;margin-bottom:.35em}
.steps p{margin:0;font-size:15px;line-height:1.45}
.process-actions{display:flex;flex-wrap:wrap;gap:14px;margin-top:26px}

/* ---------- Чому BeeHire (стільники) ---------- */
.why{padding:46px 0 54px}
.comb-wrap{position:relative;display:grid;place-items:center;padding:6px 0 10px}
.ghost{
  position:absolute;top:44%;left:50%;transform:translate(-50%,-50%);
  font-family:'Golos Text',sans-serif;font-weight:800;
  font-size:clamp(66px,19vw,150px);color:var(--ghost);
  letter-spacing:-.03em;white-space:nowrap;pointer-events:none;user-select:none;
}
.comb{position:relative;display:flex;flex-wrap:wrap;justify-content:center;column-gap:var(--hexgap);
  width:calc(3 * var(--hexw) + 2 * var(--hexgap));max-width:100%;margin-inline:auto}
.hex{
  flex:0 0 auto;
  width:var(--hexw);aspect-ratio:63.4/70.9;clip-path:var(--hex-point);
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  text-align:center;padding:0;
  font-weight:700;font-size:clamp(10px,2.6vw,14px);line-height:1.15;
}
.hex svg{width:clamp(20px,5.2vw,28px);height:auto}
.hex span{width:84%}
.hex-yellow{background:var(--yellow-hex);color:var(--ink-deep)}
.hex-dark{background:var(--ink-deep);color:var(--cream)}
/* другий ряд заходить угору на 18.9% висоти — як у макеті */
.comb li:nth-child(4),.comb li:nth-child(5){margin-top:calc(-.189 * var(--hexw) / .894)}

/* ---------- Форма ---------- */
.form-section{padding:10px 0 54px}
.form-wrap{max-width:680px}
.form-wrap h2{font-size:clamp(27px,7.6vw,42px);font-weight:700;letter-spacing:-.02em;margin-bottom:.35em}
.lead-form{margin-top:22px;display:grid;gap:13px}
.lead-form input,.lead-form select{
  width:100%;font:inherit;font-size:15px;color:var(--ink);
  background:var(--cream);border:2px solid transparent;border-radius:999px;
  padding:18px 24px;appearance:none;
}
.lead-form input::placeholder{color:var(--muted)}
.lead-form select{
  color:var(--muted);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23B9721A' d='M0 0h12L6 8z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 26px center;background-size:12px;
  padding-right:54px;
}
.lead-form select:valid{color:var(--ink)}
.lead-form input:focus,.lead-form select:focus{outline:none;border-color:var(--yellow);background:#fff}
.lead-form .invalid{border-color:#D64545;background:#FDEDED}
.err{color:#C22B2B;font-size:13px;margin:6px 0 0;padding-left:24px}
.hp{position:absolute!important;left:-9999px;opacity:0;height:0;width:0}
.form-policy{font-size:12.5px;color:var(--muted);text-align:center;margin:4px 0 0}
.form-status{margin:8px 0 0;font-weight:700;text-align:center;font-size:14px}
.form-status.bad{color:#C22B2B}
.form-done{background:var(--cream);border-radius:26px;padding:34px 24px;text-align:center}
.form-done h3{font-family:'Golos Text',sans-serif;font-size:22px;font-weight:700}

/* ---------- Підвал ---------- */
.site-footer{background:var(--ink-deep);color:#E9E6E1;padding:46px 0 22px}
.footer-grid{display:grid;gap:30px}
.site-footer h2{font-family:'Golos Text',sans-serif;font-size:16px;font-weight:700;color:#fff;margin-bottom:.9em}
.footer-about{color:#A9A49B;font-size:14px;max-width:36ch;margin-top:14px}
.contact-list li{margin-bottom:9px}
.contact-list a{color:#D6D2CB;text-decoration:none;font-size:14px}
.contact-list a:hover{color:var(--yellow)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:18px}
.footer-bottom p{color:#8B867E;font-size:13px;margin:0}

/* ---------- Плаваюча кнопка (мобільні) ---------- */
.fab{
  position:fixed;left:var(--pad);right:var(--pad);bottom:14px;z-index:40;
  background:var(--yellow);color:var(--ink);text-decoration:none;text-align:center;
  font-family:'Golos Text',sans-serif;font-weight:600;font-size:15px;
  padding:15px;border-radius:999px;box-shadow:0 8px 22px rgba(42,42,42,.2);
  transition:opacity .25s, transform .25s;
}
.fab.hidden{opacity:0;transform:translateY(120%);pointer-events:none}

/* ---------- Планшет ---------- */
@media (min-width:700px){
  :root{--pad:6%}
  .numbers-grid{grid-template-columns:1fr 1fr}
  .footer-grid{grid-template-columns:1.4fr 1fr 1fr}
  .br-mob{display:none}
}

/* ---------- Десктоп ---------- */
@media (min-width:980px){
  :root{--pad:40px}
  body{font-size:17px;padding-bottom:0}
  .burger,.mobile-menu,.fab{display:none!important}
  .nav-desktop{display:flex}
  .hero{padding:52px 0 70px}
  .hero-grid{grid-template-columns:1.1fr .9fr;align-items:center;gap:52px}
  .lead{font-size:17px}
  .chips li{font-size:14px}
  .cta-card{padding:46px 40px 42px}
  .cta-comb{width:30%}
  .numbers,.media,.process,.why{padding:70px 0}
  .stat{padding:28px;gap:22px}
  .stat-label{font-size:16px}
  .steps li{padding:24px 0;gap:30px}
  .steps p{font-size:16px}
  .step-num{font-size:30px;min-width:66px}
  .media-sub{font-size:17px}
  .channels a{width:78px;height:78px}
  .form-section{padding:0 0 86px}
  .lead-form input,.lead-form select{font-size:16px;padding:20px 28px}
}

@media (prefers-reduced-motion:reduce){
  *{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
