/* ═══════════════════════════════════════════════════════════════
   КонсультантПлюс Волгоград — Premium Redesign
   ═══════════════════════════════════════════════════════════════ */

/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:       #D62B27;
  --red-dark:  #B71C1C;
  --red-light: #FFEBEE;
  --navy:      #1B2A4A;
  --navy-dark: #0D1B35;
  --navy-mid:  #243354;
  --white:     #FFFFFF;
  --gray-50:   #F8F9FA;
  --gray-100:  #F1F3F5;
  --gray-200:  #E9ECEF;
  --gray-400:  #ADB5BD;
  --gray-600:  #6C757D;
  --gray-800:  #343A40;
  --text:      #1A1A2E;
  --text-light:#4A5568;

  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 16px 60px rgba(0,0,0,0.16);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--transition);
  white-space: nowrap;
  text-decoration: none;
}
.btn--red {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.btn--red:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(214,43,39,0.4);
}
.btn--outline-white {
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.5);
}
.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}
.btn--outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn--outline-navy:hover {
  background: var(--navy);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,42,74,0.3);
}
.btn--large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: var(--radius-md);
}
.btn--pill {
  border-radius: 50px;
  padding: 10px 22px;
  font-size: 14px;
}
.btn--full { width: 100%; justify-content: center; }

/* ─── Section Commons ─── */
.section {
  padding: 100px 0;
}
.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  background: var(--red-light);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section__label--light {
  color: rgba(255,255,255,0.7);
  background: rgba(255,255,255,0.1);
}
.section__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.section__title--white { color: white; }
.section__subtitle {
  font-size: 17px;
  color: var(--text-light);
  max-width: 560px;
  margin: 0 auto;
}
.section__subtitle--light { color: rgba(255,255,255,0.65); }

/* ─── Fade-in animations ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  animation: fadeInUp 0.8s ease forwards;
}
.fade-in--delay { animation-delay: 0.3s; }
@keyframes fadeInUp {
  to { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════
   HEADER
   ═══════════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.85);
  box-shadow: var(--shadow-md);
}
.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 70px;
}
.header__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.logo__icon { flex-shrink: 0; }
.logo__text {
  display: flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
}
.logo__brand {
  font-size: 16px;
  font-weight: 800;
  color: var(--red);
  letter-spacing: -0.01em;
}
.logo__region {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-600);
}
.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav__link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-light);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav__link:hover {
  color: var(--navy);
  background: var(--gray-100);
}
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.header__phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  transition: color var(--transition);
}
.header__phone:hover { color: var(--red); }
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.header__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.header__burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__burger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.header__burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.header__mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--gray-200);
  background: white;
}
.header__mobile-nav.open { display: flex; }
.header__mobile-nav .nav__link {
  padding: 10px 12px;
  font-size: 15px;
}
.nav__link--phone {
  color: var(--red) !important;
  font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 70px;
  overflow: hidden;
}

/* Geometric pattern */
.hero__bg-pattern {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero__bg-pattern::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.04);
  background: radial-gradient(circle, rgba(214,43,39,0.06) 0%, transparent 70%);
}
.hero__bg-pattern::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.03);
  background: radial-gradient(circle, rgba(255,255,255,0.03) 0%, transparent 70%);
}
/* Extra pattern shapes */
.hero::before {
  content: '';
  position: absolute;
  top: 20%;
  right: 15%;
  width: 300px;
  height: 300px;
  border: 1px solid rgba(214,43,39,0.08);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphShape 12s ease-in-out infinite alternate;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 15%;
  right: 5%;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 50%;
}
@keyframes morphShape {
  0% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  100% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  padding: 80px 24px;
}
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero__title {
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 900;
  color: white;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}
.hero__title--accent {
  color: var(--red);
  display: block;
}
.hero__subtitle {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255,255,255,0.65);
  max-width: 580px;
  line-height: 1.6;
  margin-bottom: 40px;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 64px;
}
.hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 680px;
}
.hero__stat {
  flex: 1;
  min-width: 120px;
  padding: 20px 24px;
  text-align: center;
}
.hero__stat-value {
  display: block;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 800;
  color: white;
  line-height: 1.1;
}
.hero__stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 4px;
  font-weight: 500;
}
.hero__stat-divider {
  width: 1px;
  background: rgba(255,255,255,0.1);
  margin: 16px 0;
}
.hero__scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 6px;
}
.hero__scroll-indicator span {
  display: block;
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: scrollBounce 1.5s ease-in-out infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(8px); opacity: 0.3; }
}

/* ═══════════════════════════════════════════════════════════════
   ABOUT / FEATURES
   ═══════════════════════════════════════════════════════════════ */
.about { background: var(--white); }
.about__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}
.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.feature-card__icon--blue  { background: #EFF6FF; color: #3B82F6; }
.feature-card__icon--red   { background: var(--red-light); color: var(--red); }
.feature-card__icon--green { background: #F0FDF4; color: #16A34A; }
.feature-card__icon--purple{ background: #F5F3FF; color: #7C3AED; }
.feature-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card__text {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════════════════════════════ */
.products {
  background: var(--gray-50);
}
.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.product-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 2px solid var(--gray-200);
  box-shadow: var(--shadow-md);
  transition: all var(--transition);
  position: relative;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.product-card--featured {
  border-color: var(--red);
  padding-top: 44px;
}
.product-card--featured:hover {
  box-shadow: 0 16px 60px rgba(214,43,39,0.2);
}
.product-card__badge {
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: white;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 5px 16px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
}
.product-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.product-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.product-card__icon--red { background: var(--red-light); }
.product-card__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.product-card__tier {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
}
.product-card__desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.product-card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}
.product-card__features li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.product-card__footer { }

/* ═══════════════════════════════════════════════════════════════
   HOT DOCUMENTS
   ═══════════════════════════════════════════════════════════════ */
.documents { background: white; }
.documents__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
}
.documents__header .section__title { margin-bottom: 8px; }
.documents__title {
  padding-left: 20px;
  border-left: 4px solid var(--red);
}
.documents__all-link {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  white-space: nowrap;
  margin-top: 8px;
  transition: gap var(--transition);
}
.documents__all-link:hover { gap: 10px; }
.documents__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.doc-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-200);
  transition: background var(--transition);
}
.doc-item:first-child { border-top: 1px solid var(--gray-200); }
.doc-item:hover .doc-item__title { color: var(--red); }
.doc-item__date {
  flex-shrink: 0;
  background: var(--red);
  color: white;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  white-space: nowrap;
  margin-top: 2px;
}
.doc-item__title {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
  line-height: 1.5;
  transition: color var(--transition);
}

/* Skeleton loaders */
.doc-skeleton, .webinar-skeleton {
  border-radius: var(--radius-md);
  background: linear-gradient(90deg, var(--gray-100) 25%, var(--gray-200) 50%, var(--gray-100) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}
.doc-skeleton {
  height: 54px;
  margin-bottom: 1px;
}
.webinar-skeleton {
  height: 180px;
}
@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ═══════════════════════════════════════════════════════════════
   WEBINARS
   ═══════════════════════════════════════════════════════════════ */
.webinars {
  background: var(--navy);
  padding: 100px 0;
}
.webinars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.webinar-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.webinar-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  transform: translateY(-4px);
}
.webinar-card__date {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--red);
  text-transform: uppercase;
  background: rgba(214,43,39,0.15);
  padding: 4px 10px;
  border-radius: 50px;
  display: inline-block;
}
.webinar-card__title {
  font-size: 15px;
  font-weight: 600;
  color: white;
  line-height: 1.5;
  flex: 1;
}
.webinar-card .btn {
  align-self: flex-start;
  padding: 8px 18px;
  font-size: 13px;
  background: transparent;
  color: white;
  border-color: rgba(255,255,255,0.3);
  border-radius: 50px;
}
.webinar-card .btn:hover {
  background: var(--red);
  border-color: var(--red);
  transform: none;
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════
   NEWS
   ═══════════════════════════════════════════════════════════════ */
.news { background: var(--gray-50); }
.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.news-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.news-card__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.news-card__date {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}
.news-card__tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.04em;
}
.news-card__tag--event  { background: #FFF3E0; color: #E65100; }
.news-card__tag--update { background: #E3F2FD; color: #1565C0; }
.news-card__tag--law    { background: #F3E5F5; color: #6A1B9A; }
.news-card__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  flex: 1;
}
.news-card__excerpt {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}
.news-card__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: var(--red);
  margin-top: auto;
  transition: gap var(--transition);
}
.news-card__link:hover { gap: 8px; }

/* ═══════════════════════════════════════════════════════════════
   WHY US
   ═══════════════════════════════════════════════════════════════ */
.whyus { background: var(--gray-100); }
.whyus__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.whyus__left .section__title { margin-bottom: 32px; text-align: left; }
.whyus__left .section__label { margin-bottom: 12px; }
.whyus__list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.whyus__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.whyus__item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--red-light);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.whyus__item strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}
.whyus__item span {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}
.whyus__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.stat-box {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  border: 1px solid var(--gray-200);
  transition: all var(--transition);
}
.stat-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.stat-box__value {
  display: block;
  font-size: 40px;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-box__unit {
  display: inline-block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-top: 2px;
}
.stat-box__label {
  display: block;
  font-size: 13px;
  color: var(--text-light);
  font-weight: 500;
  margin-top: 6px;
}

/* ═══════════════════════════════════════════════════════════════
   CONTACT / FORM
   ═══════════════════════════════════════════════════════════════ */
.contact { background: white; }
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
.contact__title {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}
.contact__subtitle {
  font-size: 15px;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 40px;
}
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact__detail {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact__detail-icon {
  width: 36px;
  height: 36px;
  background: var(--red-light);
  border-radius: var(--radius-sm);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact__detail-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gray-400);
  margin-bottom: 2px;
}
.contact__detail-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--navy);
}
.contact__detail-value a {
  color: var(--navy);
  transition: color var(--transition);
}
.contact__detail-value a:hover { color: var(--red); }

/* Form */
.contact__form-wrap {
  background: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 40px;
  border: 1px solid var(--gray-200);
  position: relative;
}
.contact__form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}
.form__req { color: var(--red); }
.form__input {
  width: 100%;
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: white;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  outline: none;
  transition: all var(--transition);
  appearance: none;
}
.form__input:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(214,43,39,0.1);
}
.form__input::placeholder { color: var(--gray-400); }
.form__input.error { border-color: var(--red); }
.form__select-wrap {
  position: relative;
}
.form__select {
  padding-right: 36px;
  cursor: pointer;
}
.form__select-arrow {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-600);
  pointer-events: none;
}
.form__group--checkbox { flex-direction: row; align-items: flex-start; gap: 0; }
.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-light);
}
.form__checkbox input[type="checkbox"] { display: none; }
.form__checkbox-mark {
  width: 18px;
  height: 18px;
  border: 2px solid var(--gray-200);
  border-radius: 4px;
  flex-shrink: 0;
  margin-top: 1px;
  transition: all var(--transition);
  position: relative;
  background: white;
}
.form__checkbox input:checked + .form__checkbox-mark {
  background: var(--red);
  border-color: var(--red);
}
.form__checkbox input:checked + .form__checkbox-mark::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 8px;
  height: 5px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}
.form__link { color: var(--red); text-decoration: underline; }

/* Success state */
.form__success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: 40px 20px;
  min-height: 300px;
}
.form__success.visible { display: flex; }
.form__success h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
}
.form__success p {
  font-size: 15px;
  color: var(--text-light);
  max-width: 300px;
}

/* ═══════════════════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════════════════ */
.footer {
  background: var(--navy);
  padding-top: 64px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.footer__logo-brand {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: white;
}
.footer__logo-region {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 260px;
}
.footer__social {
  display: flex;
  gap: 8px;
}
.footer__social-link {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all var(--transition);
}
.footer__social-link:hover {
  background: rgba(255,255,255,0.1);
  color: white;
  border-color: rgba(255,255,255,0.3);
}
.footer__col-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer__links a:hover { color: white; }
.footer__links--contact li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
}
.footer__links--contact svg { flex-shrink: 0; margin-top: 1px; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer__partner {
  font-weight: 500;
  color: rgba(255,255,255,0.45);
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .section { padding: 72px 0; }
  .header__nav { display: none; }
  .header__phone { display: none; }
  .header__actions .btn--pill { display: none; }
  .header__burger { display: flex; }

  .products__grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .webinars__grid { grid-template-columns: 1fr 1fr; }
  .news__grid { grid-template-columns: 1fr 1fr; }
  .whyus__inner { grid-template-columns: 1fr; gap: 48px; }
  .contact__inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 56px 0; }

  .hero__inner { padding: 60px 16px; }
  .hero__title { font-size: 40px; }
  .hero__stats { flex-direction: column; gap: 0; }
  .hero__stat-divider { width: 100%; height: 1px; margin: 0 16px; }
  .hero__stat { padding: 16px 20px; }

  .about__grid { grid-template-columns: 1fr; }
  .webinars__grid { grid-template-columns: 1fr; }
  .news__grid { grid-template-columns: 1fr; }
  .whyus__stats { grid-template-columns: 1fr 1fr; }

  .documents__header { flex-direction: column; gap: 12px; }
  .documents__all-link { align-self: flex-start; }

  .contact__form-wrap { padding: 24px 16px; }
  .form__row { grid-template-columns: 1fr; }

  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }

  .hero__cta { flex-direction: column; }
  .btn--large { width: 100%; justify-content: center; }
}

@media (max-width: 400px) {
  .hero__title { font-size: 32px; }
  .stat-box__value { font-size: 32px; }
}

/* ─── Print ─── */
@media print {
  .header, .hero__scroll-indicator, .contact, .footer { display: none; }
  * { box-shadow: none !important; }
}
