/* ==========================================================================
   VProfi — лендинг vprofi.kz
   Фирменные цвета и типографика (Inter) из приложения VProfi.
   ========================================================================== */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/Inter-Variable.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --navy: #002964;
  --navy-2: #003a86;
  --orange: #ff6000;
  --orange-light: #ffa25e;
  --orange-dark: #ee7900;
  --red: #ed2c00;
  --bg: #f4f4f4;
  --orange-pale: #fff3e8;
  --gray-med: #e0e0e0;
  --gray-dark: #888888;
  --white: #ffffff;
  --text: #16233a;
  --text-muted: #5b6577;
  --radius-lg: 20px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(0, 41, 100, 0.08);
  --shadow-strong: 0 20px 50px rgba(0, 41, 100, 0.18);
  --container: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

section { padding: 84px 0; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 14px;
}
.eyebrow .brand { text-transform: none; letter-spacing: normal; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; font-weight: 800; }
h2 { font-size: clamp(28px, 4vw, 40px); color: var(--navy); }
h3 { font-size: 20px; color: var(--navy); }

.section-head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section-head p { color: var(--text-muted); font-size: 17px; margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 26px;
  border-radius: 12px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 12px 24px rgba(255, 96, 0, 0.3); }
.btn-outline { background: transparent; color: var(--orange); border-color: var(--orange); }
.btn-outline:hover { background: var(--orange); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-strong); }
.btn-ghost-light { background: rgba(255,255,255,0.08); color: var(--white); border-color: rgba(255,255,255,0.4); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.16); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.header.scrolled { border-bottom-color: var(--gray-med); box-shadow: 0 4px 20px rgba(0, 41, 100, 0.05); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo img { height: 34px; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-weight: 500; font-size: 15px; color: var(--text); transition: color 0.15s ease; }
.nav-links a:hover { color: var(--orange); }
.nav-actions { display: flex; align-items: center; gap: 16px; }

.lang {
  display: flex; align-items: center; gap: 2px;
  font-size: 13px; font-weight: 600;
  border: 1px solid var(--gray-med); border-radius: 8px; padding: 4px 6px;
}
.lang a { color: var(--gray-dark); padding: 2px 7px; border-radius: 5px; cursor: pointer; transition: color 0.15s ease; }
.lang a:hover { color: var(--navy); }
.lang a.active { color: var(--navy); background: var(--bg); cursor: default; }

.burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1200px 600px at 85% -10%, rgba(255, 96, 0, 0.22), transparent 60%),
    radial-gradient(900px 500px at 10% 110%, rgba(255, 162, 94, 0.14), transparent 55%),
    linear-gradient(160deg, #00204f 0%, var(--navy) 55%, #012a68 100%);
  color: var(--white);
  padding: 76px 0 90px;
  overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5vw, 54px); color: var(--white); }
.hero h1 .accent { color: var(--orange-light); }
.hero p.lead { font-size: clamp(17px, 2vw, 20px); color: rgba(255, 255, 255, 0.82); margin: 22px 0 32px; max-width: 540px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, 0.6); }
.hero-badges { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 38px; }
.hero-badge { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,0.8); }
.hero-badge svg { flex-shrink: 0; }

/* Phone mockup */
.mockup { display: flex; justify-content: center; position: relative; }
.phone {
  width: 290px;
  background: #0a1f45;
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow-strong), 0 0 0 2px rgba(255,255,255,0.06) inset;
  position: relative;
}
.phone-screen { background: var(--bg); border-radius: 28px; overflow: hidden; }
.phone-topbar { background: var(--navy); padding: 16px 16px 14px; display: flex; align-items: center; gap: 10px; }
.phone-topbar img { height: 22px; }
.phone-body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.mini-title { font-size: 12px; font-weight: 700; color: var(--gray-dark); text-transform: uppercase; letter-spacing: 0.6px; }
.shift-card {
  background: var(--white); border-radius: var(--radius); padding: 14px;
  border-left: 4px solid var(--orange); box-shadow: 0 4px 14px rgba(0,41,100,0.06);
}
.shift-card.green { border-left-color: var(--orange); }
.shift-card .role { font-weight: 800; color: var(--navy); font-size: 15px; }
.shift-card .meta { font-size: 12.5px; color: var(--text-muted); margin-top: 3px; }
.shift-card .row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.shift-card .pay { font-weight: 800; color: var(--navy); font-size: 15px; }
.chip { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 20px; }
.chip.ok { background: rgba(46,204,113,0.15); color: #1e9e57; }
.chip.new { background: var(--orange-pale); color: var(--orange-dark); }
.mini-btn { background: var(--orange); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 16px; border-radius: 9px; }

/* ---------- Audiences ---------- */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.aud-card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow); border: 1px solid #eef0f3;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.aud-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.aud-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: var(--orange-pale); margin-bottom: 18px;
}
.aud-icon svg { width: 28px; height: 28px; }
.aud-card h3 { margin-bottom: 10px; }
.aud-card p { color: var(--text-muted); font-size: 15px; margin-bottom: 16px; }
.aud-list { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.aud-list li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--text); }
.aud-list li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px;
  background: var(--orange); border-radius: 50%;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/13px no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.2l-3.5-3.5L4 14.2 9 19.2 20 8.2l-1.5-1.5z'/></svg>") center/13px no-repeat;
}

/* ---------- Steps ---------- */
.steps { background: var(--white); }
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { text-align: center; padding: 0 8px; position: relative; }
.step-num {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 16px;
  background: var(--navy); color: var(--white); font-weight: 800; font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 17px; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Features ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feat {
  background: var(--white); border-radius: var(--radius); padding: 26px 24px;
  box-shadow: var(--shadow); border: 1px solid #eef0f3;
}
.feat-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.feat-icon svg { width: 24px; height: 24px; }
.feat h3 { font-size: 17px; margin-bottom: 8px; }
.feat p { font-size: 14.5px; color: var(--text-muted); }

/* ---------- Why (dark) ---------- */
.why { background: linear-gradient(160deg, var(--navy), #012a68); color: var(--white); }
.why h2 { color: var(--white); }
.why .section-head p { color: rgba(255,255,255,0.72); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.why-item { text-align: center; }
.why-item .big { font-size: 34px; font-weight: 800; color: var(--orange-light); margin-bottom: 6px; }
.why-item h3 { color: var(--white); font-size: 17px; margin-bottom: 8px; }
.why-item p { color: rgba(255,255,255,0.72); font-size: 14.5px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--orange); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta-inner h2 { color: var(--white); max-width: 640px; }
.cta-inner p { color: rgba(255,255,255,0.9); margin-top: 10px; font-size: 17px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); }
.contact-line { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--bg); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .ci { width: 42px; height: 42px; border-radius: 11px; background: var(--orange-pale); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-line .ci svg { width: 22px; height: 22px; }
.contact-line .cl { font-size: 13px; color: var(--gray-dark); }
.contact-line .cv { font-weight: 700; color: var(--navy); font-size: 15.5px; }

/* ---------- Footer ---------- */
.footer { background: #011c44; color: rgba(255,255,255,0.7); padding: 56px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-logo img { height: 34px; margin-bottom: 16px; }
.footer p.about { font-size: 14px; max-width: 340px; line-height: 1.6; }
.footer-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 20px; }
.footer-cta .btn { padding: 11px 22px; }
.footer-wa { color: rgba(255, 255, 255, 0.72); font-size: 14px; font-weight: 600; }
.footer-wa:hover { color: var(--orange-light); }
.footer h4 { color: var(--white); font-size: 14px; text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 16px; }
.footer ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.footer ul a { font-size: 14px; transition: color 0.15s; }
.footer ul a:hover { color: var(--orange-light); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-top: 24px; font-size: 13px; }
.footer-bottom .req { color: rgba(255,255,255,0.5); }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  section { padding: 64px 0; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .hero p.lead { margin-left: auto; margin-right: auto; }
  .hero-cta, .hero-badges { justify-content: center; }
  .cards-3 { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 30px 22px; }
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 34px 24px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; }

  .nav-links, .header .nav-actions > .btn { display: none; }
  .burger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 72px; left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--gray-med);
    box-shadow: var(--shadow); padding: 8px 0;
  }
  .nav-links.open a { padding: 14px 24px; width: 100%; }
}

@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .hero-cta { flex-direction: column; }
  .cta-inner .btn { width: auto; }
}
