@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

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

:root {
  --navy:   #0D1B2A;
  --blue:   #1A3A5C;
  --accent: #2563EB;
  --steel:  #4B6A8A;
  --fog:    #E8EEF4;
  --white:  #FFFFFF;
  --text:   #1C2B3A;
  --muted:  #64748B;
  --radius: 6px;
  --max:    1200px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text); background: var(--white); font-size: 16px; line-height: 1.6; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--navy);
  border-bottom: 2px solid var(--accent);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw; height: 64px;
}
.logo { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--white); text-decoration: none; letter-spacing: 0.04em; }
.logo span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0; }
.nav-links a { color: #A8BFCF; text-decoration: none; font-size: 0.88rem; font-weight: 500; padding: 0 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--white); }
.nav-links .nav-cta { background: var(--accent); color: var(--white); padding: 8px 20px; border-radius: var(--radius); margin-left: 10px; }
.nav-links .nav-cta:hover { background: #1d4ed8; }

/* DROPDOWN */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after { content: ' ▾'; font-size: 0.7rem; }
.dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: var(--navy); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius); min-width: 260px; padding: 8px 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.nav-dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu a { display: block; padding: 8px 20px; color: #A8BFCF; font-size: 0.85rem; text-decoration: none; }
.dropdown-menu a:hover { background: rgba(37,99,235,0.15); color: var(--white); }

/* BREADCRUMB */
.breadcrumb { background: var(--fog); padding: 10px 6vw; }
.breadcrumb-inner { max-width: var(--max); margin: 0 auto; font-size: 0.8rem; color: var(--muted); }
.breadcrumb-inner a { color: var(--accent); text-decoration: none; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 6px; }

/* PAGE HERO */
.page-hero { background: var(--navy); padding: 60px 6vw 70px; }
.page-hero-inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.page-eyebrow { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; margin-bottom: 14px; }
.page-hero h1 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.8rem, 3.5vw, 2.8rem); color: var(--white); line-height: 1.15; margin-bottom: 18px; }
.page-hero h1 em { font-style: normal; color: var(--accent); }
.page-hero-sub { color: #A8BFCF; font-size: 1.05rem; line-height: 1.7; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-primary { background: var(--accent); color: var(--white); padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; text-decoration: none; display: inline-block; transition: background 0.2s, transform 0.15s; }
.btn-primary:hover { background: #1d4ed8; transform: translateY(-1px); }
.btn-ghost { border: 1.5px solid var(--steel); color: #A8BFCF; padding: 14px 32px; border-radius: var(--radius); font-weight: 600; font-size: 1rem; text-decoration: none; display: inline-block; transition: border-color 0.2s, color 0.2s; }
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

/* HERO CARD */
.hero-card { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 12px; padding: 32px; }
.stat-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.stat { padding: 18px; background: rgba(37,99,235,0.12); border-radius: 8px; border-left: 3px solid var(--accent); }
.stat-num { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 2rem; color: var(--white); line-height: 1; margin-bottom: 4px; }
.stat-label { font-size: 0.8rem; color: #A8BFCF; }

/* TICKER */
.ticker { background: var(--accent); overflow: hidden; padding: 10px 0; white-space: nowrap; }
.ticker-inner { display: inline-block; animation: scroll 35s linear infinite; }
.ticker-inner span { font-size: 0.8rem; font-weight: 600; color: white; letter-spacing: 0.06em; text-transform: uppercase; margin: 0 36px; }
.ticker-inner span::before { content: '→  '; opacity: 0.7; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* SECTIONS */
section { padding: 72px 6vw; }
.section-inner { max-width: var(--max); margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; color: var(--accent); text-transform: uppercase; margin-bottom: 10px; }
h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: clamp(1.5rem, 2.8vw, 2.2rem); color: var(--navy); line-height: 1.2; margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 1rem; max-width: 560px; margin-bottom: 44px; }
.bg-fog { background: var(--fog); }
.bg-navy { background: var(--navy); }
.bg-navy h2 { color: var(--white); }
.bg-navy .section-label { color: #5B9BD5; }
.bg-navy .section-sub { color: #A8BFCF; }

/* CARDS GRID */
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--white); border-radius: 10px; padding: 28px 24px; border-top: 3px solid var(--accent); box-shadow: 0 2px 12px rgba(13,27,42,0.06); transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(13,27,42,0.1); }
.card-icon { font-size: 1.8rem; margin-bottom: 14px; }
.card h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
.card-dark { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-top: 3px solid var(--accent); border-radius: 10px; padding: 24px 20px; transition: background 0.2s; }
.card-dark:hover { background: rgba(37,99,235,0.1); }
.card-dark h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--white); margin: 10px 0 6px; }
.card-dark p { font-size: 0.85rem; color: #7A9AB5; }

/* HOW IT WORKS */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; padding: 20px 16px; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: var(--white); font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.step h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.85rem; }

/* FORM */
.form-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.form-left h2 { margin-bottom: 14px; }
.form-left p { color: var(--muted); margin-bottom: 24px; font-size: 0.95rem; line-height: 1.7; }
.promise-list { list-style: none; }
.promise-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 0.9rem; color: var(--text); }
.promise-list li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
.form-box { background: var(--white); border-radius: 12px; padding: 36px; box-shadow: 0 4px 24px rgba(13,27,42,0.08); }
.form-box h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.1rem; color: var(--navy); margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label { display: block; font-size: 0.8rem; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.field input, .field textarea { width: 100%; padding: 11px 14px; border: 1.5px solid #D1DCE6; border-radius: var(--radius); font-family: 'Inter', sans-serif; font-size: 0.9rem; color: var(--text); background: var(--white); outline: none; transition: border-color 0.2s; }
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field textarea { resize: vertical; min-height: 80px; }
.submit-btn { width: 100%; padding: 14px; background: var(--accent); color: var(--white); border: none; border-radius: var(--radius); font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; cursor: pointer; transition: background 0.2s; margin-top: 6px; }
.submit-btn:hover { background: #1d4ed8; }
.form-note { font-size: 0.75rem; color: var(--muted); margin-top: 8px; text-align: center; }
.success-msg { display: none; background: #DCFCE7; border: 1.5px solid #22C55E; border-radius: var(--radius); padding: 14px 18px; color: #15803D; font-weight: 600; font-size: 0.9rem; margin-top: 14px; text-align: center; }

/* CONTACTS BAR */
.contacts-bar { background: var(--navy); padding: 36px 6vw; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; }
.contacts-info { display: flex; gap: 40px; flex-wrap: wrap; }
.contact-item { color: #A8BFCF; font-size: 0.88rem; }
.contact-item strong { display: block; color: var(--white); font-size: 0.98rem; margin-bottom: 2px; }
.contact-item a { color: var(--white); text-decoration: none; }

/* FOOTER */
footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.07); padding: 18px 6vw; text-align: center; color: var(--steel); font-size: 0.78rem; }
footer a { color: var(--steel); }

/* SERVICES LIST (for sidebar) */
.services-sidebar { background: var(--fog); border-radius: 10px; padding: 24px; }
.services-sidebar h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 14px; }
.services-sidebar a { display: block; padding: 8px 12px; color: var(--text); text-decoration: none; font-size: 0.88rem; border-radius: var(--radius); transition: background 0.15s, color 0.15s; }
.services-sidebar a:hover, .services-sidebar a.active { background: var(--accent); color: var(--white); }

/* TWO-COL LAYOUT */
.two-col { display: grid; grid-template-columns: 260px 1fr; gap: 40px; align-items: start; }

/* SEO TEXT BLOCK */
.seo-text { margin-top: 48px; padding-top: 36px; border-top: 1px solid var(--fog); }
.seo-text h2 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1.3rem; color: var(--navy); margin-bottom: 24px; }
.seo-text h3 { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; color: var(--navy); margin: 22px 0 8px; }
.seo-text p { color: var(--muted); font-size: 0.92rem; line-height: 1.75; margin-bottom: 4px; }

/* RESPONSIVE */
@media (max-width: 960px) {
  .page-hero-inner { grid-template-columns: 1fr; }
  .hero-card { display: none; }
  .cards-grid { grid-template-columns: 1fr 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .form-wrap { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .cards-grid { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr; }
  section { padding: 52px 5vw; }
  .stat-row { grid-template-columns: 1fr 1fr; }
}

/* Согласие на обработку персональных данных */
.consent{display:flex;align-items:flex-start;gap:8px;margin:14px 0 4px;font-size:13px;line-height:1.4;color:#555;cursor:pointer}
.consent input[type="checkbox"]{margin-top:2px;flex:0 0 auto;width:16px;height:16px;cursor:pointer}
.consent a{color:inherit;text-decoration:underline}
