/* ============================================
   ФГАЗ — Центр сертифікації
   Дизайн-система згідно з ТЗ v1.0 (квітень 2026)
   ============================================ */

:root {
  --color-primary: #1E5A8E;
  --color-primary-dark: #154670;
  --color-accent: #2E8B57;
  --color-accent-dark: #236d44;
  --color-bg-blue: #E8F1F8;
  --color-bg-green: #E6F4EC;
  --color-text: #2C3E50;
  --color-text-muted: #6C7A89;
  --color-bg-light: #F4F6F8;
  --color-yellow: #F39C12;
  --color-white: #FFFFFF;
  --color-border: #E1E8ED;

  --font-base: 'Inter', 'Roboto', 'PT Sans', system-ui, -apple-system, sans-serif;

  --container: 1200px;
  --radius: 8px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(30, 90, 142, 0.08);
  --shadow-md: 0 4px 16px rgba(30, 90, 142, 0.10);
  --shadow-lg: 0 8px 32px rgba(30, 90, 142, 0.14);
  --transition: 0.2s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-base);
  font-size: 17px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-primary); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-primary-dark); }

h1, h2, h3, h4 { color: var(--color-primary); font-weight: 700; line-height: 1.25; }
h1 { font-size: clamp(32px, 5vw, 44px); }
h2 { font-size: clamp(26px, 3.5vw, 32px); margin-bottom: 16px; }
h3 { font-size: clamp(20px, 2.5vw, 24px); margin-bottom: 12px; }
h4 { font-size: 18px; margin-bottom: 8px; }

p { margin-bottom: 16px; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-tight { padding: 56px 0; }
.section-bg-blue { background: var(--color-bg-blue); }
.section-bg-green { background: var(--color-bg-green); }
.section-bg-light { background: var(--color-bg-light); }

.text-center { text-align: center; }
.section-title { text-align: center; margin-bottom: 12px; }
.section-subtitle { text-align: center; color: var(--color-text-muted); font-size: 18px; max-width: 720px; margin: 0 auto 48px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary { background: var(--color-primary); color: var(--color-white); }
.btn-primary:hover { background: var(--color-primary-dark); color: var(--color-white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-accent { background: var(--color-accent); color: var(--color-white); }
.btn-accent:hover { background: var(--color-accent-dark); color: var(--color-white); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--color-primary); border: 2px solid var(--color-primary); }
.btn-outline:hover { background: var(--color-primary); color: var(--color-white); }
.btn-lg { padding: 18px 36px; font-size: 17px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }

/* ============ HEADER ============ */
.top-bar {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 14px;
  padding: 8px 0;
}
.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.top-bar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.top-bar-info span { display: inline-flex; align-items: center; gap: 6px; }
.top-bar-info a { color: rgba(255,255,255,0.9); }
.top-bar-info a:hover { color: var(--color-white); }
.top-bar-right { display: flex; gap: 16px; align-items: center; }
.lang-switch a { color: rgba(255,255,255,0.7); padding: 0 4px; font-weight: 500; }
.lang-switch a.active { color: var(--color-white); font-weight: 700; }
.socials a { color: rgba(255,255,255,0.85); margin-left: 10px; font-size: 16px; }

.main-header {
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--color-border);
}
.main-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
  gap: 16px;
  max-width: 1320px;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(30, 90, 142, 0.25);
}
.logo-icon::before {
  content: '';
  position: absolute;
  top: -50%; right: -50%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.4;
}
.logo-icon svg { position: relative; z-index: 2; width: 28px; height: 28px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { color: var(--color-primary); font-size: 18px; font-weight: 800; }
.logo-text small { color: var(--color-text-muted); font-size: 12px; }

.nav-main { display: flex; gap: 2px; align-items: center; flex-wrap: nowrap; }
.nav-main > li { position: relative; list-style: none; }
.nav-main > li > a {
  display: block;
  padding: 10px 12px;
  color: var(--color-text);
  font-weight: 500;
  font-size: 14px;
  border-radius: 6px;
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-main > li > a:hover,
.nav-main > li > a.active { color: var(--color-primary); background: var(--color-bg-blue); }
.nav-main > li > a.fgas-link { color: var(--color-accent); font-weight: 700; }
.nav-main > li > a.fgas-link:hover { background: var(--color-bg-green); }

.has-dropdown > a::after {
  content: '▾';
  margin-left: 6px;
  font-size: 10px;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition);
  list-style: none;
}
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  color: var(--color-text);
  font-size: 14px;
}
.dropdown a:hover { background: var(--color-bg-blue); color: var(--color-primary); }

.header-cta { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.header-cta .btn { white-space: nowrap; padding: 12px 20px; font-size: 14px; }
@media (max-width: 1280px) {
  .nav-main > li > a { padding: 10px 10px; font-size: 13px; }
  .logo-text small { display: none; }
}
@media (max-width: 1100px) and (min-width: 768px) {
  .nav-main > li > a { padding: 10px 8px; font-size: 12.5px; }
  .header-cta .btn { padding: 10px 14px; font-size: 13px; }
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 28px;
  color: var(--color-primary);
  cursor: pointer;
}

/* ============ HERO ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, #1E5A8E 0%, #154670 60%, #0E3050 100%);
  color: var(--color-white);
  padding: 100px 0 90px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(46, 139, 87, 0.15), transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(243, 156, 18, 0.08), transparent 50%);
  pointer-events: none;
}
.hero-fgas {
  background: linear-gradient(135deg, #236d44 0%, #2E8B57 60%, #1a4d2e 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 14px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero h1 { color: var(--color-white); margin-bottom: 20px; }
.hero-subtitle {
  font-size: 19px;
  color: rgba(255,255,255,0.88);
  margin-bottom: 32px;
  max-width: 580px;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.hero-stat .num {
  font-size: 36px;
  font-weight: 800;
  color: var(--color-yellow);
  line-height: 1;
}
.hero-stat .lbl { font-size: 13px; color: rgba(255,255,255,0.7); margin-top: 6px; }

.hero-visual {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 32px;
  backdrop-filter: blur(10px);
}
.hero-visual h3 { color: var(--color-white); margin-bottom: 20px; }
.hero-check { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.hero-check-icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  font-size: 14px;
  font-weight: 700;
}
.hero-check span { color: rgba(255,255,255,0.92); font-size: 15px; line-height: 1.5; }

/* ============ USP — 3 переваги ============ */
.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.usp-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
  transition: all var(--transition);
}
.usp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--color-primary); }
.usp-icon {
  width: 64px; height: 64px;
  background: var(--color-bg-blue);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}
.usp-card:nth-child(2) .usp-icon { background: var(--color-bg-green); }
.usp-card:nth-child(3) .usp-icon { background: #FEF3DD; }
.usp-card h3 { margin-bottom: 8px; }
.usp-card p { color: var(--color-text-muted); margin-bottom: 0; font-size: 15px; }

/* ============ КВАЛІФІКАЦІЇ — СІТКА ============ */
.qual-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.qual-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}
.qual-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--color-primary); }
.qual-card.featured {
  border: 2px solid var(--color-accent);
  background: linear-gradient(180deg, var(--color-bg-green) 0%, var(--color-white) 100%);
}
.qual-card.featured::before {
  content: '★ EU';
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.qual-icon {
  width: 56px; height: 56px;
  background: var(--color-bg-blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin-bottom: 16px;
}
.qual-card.featured .qual-icon { background: var(--color-accent); color: var(--color-white); }
.qual-card h3 { font-size: 18px; margin-bottom: 8px; }
.qual-meta { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  background: var(--color-bg-blue);
  color: var(--color-primary);
}
.badge-green { background: var(--color-bg-green); color: var(--color-accent); }
.badge-yellow { background: #FEF3DD; color: #B8740A; }
.qual-desc { color: var(--color-text-muted); font-size: 14px; flex: 1; margin-bottom: 16px; }
.qual-link { font-weight: 600; color: var(--color-primary); font-size: 14px; }
.qual-link::after { content: ' →'; transition: margin var(--transition); }
.qual-link:hover::after { margin-left: 4px; }

/* ============ F-GAS БЛОК ============ */
.fgas-block {
  background: linear-gradient(135deg, var(--color-bg-green) 0%, #D4ECD9 100%);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.fgas-block .eu-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
}
.fgas-block h2 { color: var(--color-accent-dark); }
.fgas-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 24px 0 32px; }
.fgas-feature { display: flex; gap: 10px; align-items: flex-start; }
.fgas-feature-icon {
  flex-shrink: 0;
  width: 36px; height: 36px;
  background: var(--color-white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.fgas-feature strong { display: block; font-size: 14px; color: var(--color-text); }
.fgas-feature small { color: var(--color-text-muted); font-size: 13px; }

.fgas-comparison {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}
.fgas-comparison h4 { color: var(--color-accent-dark); margin-bottom: 16px; font-size: 15px; }
.fgas-comparison ul { list-style: none; }
.fgas-comparison li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
}
.fgas-comparison li:last-child { border-bottom: none; }
.fgas-comparison li span:last-child { color: var(--color-accent); font-weight: 700; }

/* ============ ЕТАПИ — 4 КРОКИ ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.step {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  text-align: center;
}
.step-num {
  width: 48px; height: 48px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}
.step h4 { color: var(--color-primary); margin-bottom: 8px; }
.step p { font-size: 14px; color: var(--color-text-muted); margin: 0; }

/* ============ НОВИНИ ============ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-img {
  height: 200px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  position: relative;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-white);
  font-size: 48px;
}
.news-body { padding: 24px; }
.news-date { font-size: 13px; color: var(--color-text-muted); margin-bottom: 8px; }
.news-card h3 { font-size: 18px; margin-bottom: 8px; }
.news-card p { font-size: 14px; color: var(--color-text-muted); margin-bottom: 16px; }

/* ============ ПАРТНЕРИ ============ */
.partners {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  align-items: center;
}
.partner-logo {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  height: 100px;
  display: flex; align-items: center; justify-content: center;
  color: var(--color-text-muted);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
  transition: all var(--transition);
}
.partner-logo:hover { border-color: var(--color-primary); color: var(--color-primary); }

/* ============ FOOTER ============ */
.main-footer {
  background: #0E3050;
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h4 { color: var(--color-white); font-size: 16px; margin-bottom: 20px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.7); font-size: 14px; }
.footer-col ul a:hover { color: var(--color-white); }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.7); margin-bottom: 12px; }
.footer-logo { color: var(--color-white); font-weight: 800; font-size: 20px; margin-bottom: 12px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}
.footer-bottom a { color: rgba(255,255,255,0.7); margin-left: 16px; }
.newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.newsletter-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--color-white);
  border-radius: 6px;
  font-size: 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.5); }
.newsletter-form button {
  background: var(--color-accent);
  color: var(--color-white);
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

/* ============ PAGE HEADER (для внутрішніх сторінок) ============ */
.page-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-white);
  padding: 64px 0;
  text-align: center;
}
.page-header h1 { color: var(--color-white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 720px; margin: 0 auto; }
.breadcrumbs {
  display: flex;
  gap: 8px;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 24px;
}
.breadcrumbs a { color: rgba(255,255,255,0.85); }
.breadcrumbs a:hover { color: var(--color-white); }

/* ============ КРОКИ (вертикальні, для Здобувачам) ============ */
.steps-vertical { max-width: 860px; margin: 0 auto; }
.step-row {
  display: flex;
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
  align-items: flex-start;
}
.step-row:last-child { border-bottom: none; }
.step-row-num {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: var(--color-white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.step-row-body h3 { margin-bottom: 8px; }
.step-row-body p { color: var(--color-text-muted); margin-bottom: 12px; }

/* ============ ТАБЛИЦІ ============ */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--color-border); }
table { width: 100%; border-collapse: collapse; background: var(--color-white); }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--color-border); font-size: 14px; }
th { background: var(--color-bg-blue); color: var(--color-primary); font-weight: 600; }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--color-bg-light); }

/* ============ FAQ ============ */
.faq-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
}
.faq-question::after { content: '+'; font-size: 24px; color: var(--color-primary); font-weight: 300; }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}
.faq-item.open .faq-answer { padding: 0 24px 20px; max-height: 500px; }
.faq-answer p { color: var(--color-text-muted); margin-bottom: 0; }

/* ============ КОНТАКТНА ФОРМА ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
}
.contact-info-card {
  background: var(--color-bg-blue);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.contact-info-card h3 { margin-bottom: 24px; }
.contact-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.contact-item-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--color-white);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  color: var(--color-primary);
}
.contact-item strong { display: block; color: var(--color-text); font-size: 14px; }
.contact-item a, .contact-item span:not(strong) { color: var(--color-text-muted); font-size: 14px; }

.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 500; font-size: 14px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 15px;
  font-family: inherit;
  background: var(--color-white);
  transition: border-color var(--transition);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(30, 90, 142, 0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.checkbox-group { display: flex; gap: 10px; align-items: flex-start; }
.checkbox-group input { width: auto; margin-top: 4px; }
.checkbox-group label { font-size: 13px; color: var(--color-text-muted); font-weight: 400; }

/* ============ ДОКУМЕНТИ ============ */
.doc-list { display: grid; gap: 12px; }
.doc-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all var(--transition);
}
.doc-item:hover { border-color: var(--color-primary); box-shadow: var(--shadow-sm); }
.doc-icon {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: #FEE;
  color: #C0392B;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
}
.doc-icon.docx { background: #E3F2FD; color: #1565C0; }
.doc-icon.xlsx { background: #E8F5E9; color: #2E7D32; }
.doc-body { flex: 1; }
.doc-body strong { display: block; font-size: 15px; margin-bottom: 4px; }
.doc-meta { font-size: 13px; color: var(--color-text-muted); }
.doc-meta .required { color: #C0392B; font-weight: 700; margin-right: 4px; }

/* ============ АДАПТИВНІСТЬ ============ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .qual-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .fgas-block { grid-template-columns: 1fr; padding: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .partners { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  body { font-size: 16px; }

  .top-bar-info { gap: 12px; font-size: 12px; }
  .top-bar-info span:nth-child(1) { display: none; }

  .main-header .container { padding: 12px 24px; }
  .nav-main, .header-cta .btn { display: none; }
  .mobile-toggle { display: block; }
  .header-cta { gap: 8px; }

  .nav-main.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--color-white);
    box-shadow: var(--shadow-md);
    padding: 12px;
    gap: 4px;
    border-top: 1px solid var(--color-border);
  }
  .nav-main.mobile-open > li { width: 100%; }
  .nav-main.mobile-open > li > a { width: 100%; padding: 14px 16px; min-height: 44px; }
  .nav-main.mobile-open .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding: 0 0 0 16px; }

  .hero { padding: 60px 0; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { grid-template-columns: 1fr; gap: 16px; }

  .usp-grid { grid-template-columns: 1fr; gap: 16px; }
  .qual-grid, .news-grid, .steps { grid-template-columns: 1fr; }
  .fgas-features { grid-template-columns: 1fr; }
  .fgas-block { padding: 28px; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .partners { grid-template-columns: repeat(2, 1fr); }

  .step-row { flex-direction: column; gap: 16px; padding: 24px 0; }
  .step-row-num { width: 48px; height: 48px; font-size: 18px; }

  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }

  .btn { padding: 14px 24px; }
  .btn-lg { padding: 16px 28px; }
}

/* Print-friendly */
@media print {
  .main-header, .main-footer, .hero-cta, .top-bar { display: none; }
}
