/* ============================================================
   INTERMODUL — Design System
   Modular Buildings Kazakhstan
   ============================================================ */

/* ── Variables ── */
:root {
  /* ── Brand: Dark Navy Blue + Kazakhstan Red ── */
  --primary:       #0E2D6B;
  --primary-dark:  #061535;
  --primary-light: #1A4A9A;
  --accent:        #C8192E;
  --accent-dark:   #A01020;
  --accent-light:  #E8303F;
  --success:       #059669;
  --dark:          #050D22;
  --gray-900:      #111827;
  --gray-700:      #1F2937;
  --gray-500:      #374151;
  --gray-300:      #9CA3AF;
  --gray-100:      #E5E7EB;
  --gray-50:       #F3F4F6;
  --white:         #FFFFFF;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;
  --radius-xl:  24px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.12), 0 1px 2px rgba(0,0,0,.10);
  --shadow:     0 4px 16px rgba(0,0,0,.16);
  --shadow-lg:  0 10px 40px rgba(0,0,0,.22);
  --shadow-xl:  0 20px 60px rgba(0,0,0,.28);

  --transition: 0.22s ease;
  --max-width:  1200px;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.65;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem,  3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem,  2vw, 1.5rem);  }
h4 { font-size: 1.125rem; }
p  { color: var(--gray-700); margin-bottom: 1rem; font-size: .97rem; }
p:last-child { margin-bottom: 0; }

.lead { font-size: 1.125rem; color: var(--gray-700); line-height: 1.7; font-weight: 400; }
.text-accent { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.text-sm { font-size: .875rem; }
.text-xs { font-size: .75rem; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

/* ── Layout ── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-lg { padding: 7rem 0; }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(14,45,107,.4);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14,45,107,.55);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(200,25,46,.35);
  font-weight: 700;
  letter-spacing: .01em;
}
.btn-accent:hover {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200,25,46,.5);
}
.btn-outline {
  border: 2px solid var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px);
}
.btn-lg { padding: 1rem 2.25rem; font-size: 1.1rem; }
.btn-sm { padding: .5rem 1.25rem; font-size: .875rem; }

/* ── Header / Nav ── */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--gray-100);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow); }
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none !important;
  outline: none;
}
.nav-logo:hover { opacity: .85; }
.nav-logo-icon {
  height: 42px;
  width: auto;
  display: block;
  max-width: 280px;
  object-fit: contain;
  object-position: left center;
}
.nav-logo span { display: none; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
}
.nav-links li {
  display: flex;
}
.nav-link {
  position: relative;
  padding: .5rem .7rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: .875rem;
  color: var(--gray-700);
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: -.01em;
}
.nav-link:hover, .nav-link.active { color: var(--accent); background: rgba(200,25,46,.06); }

/* Dropdown */
.nav-item { position: relative; }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: .5rem;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 200;
}
.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: block;
  padding: .6rem 1rem;
  font-size: .875rem;
  color: var(--gray-700);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-dropdown a:hover { background: var(--gray-50); color: var(--primary); }
.nav-dropdown-wide {
  min-width: 480px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.nav-phone {
  font-weight: 700;
  color: var(--accent);
  font-size: .9rem;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .5rem;
  cursor: pointer;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Mobile nav ── */
.mobile-nav {
  position: fixed;
  top: 72px; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 99;
  overflow-y: auto;
  padding: 1.5rem;
  transform: translateX(100%);
  transition: transform var(--transition);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-section { margin-bottom: 1.5rem; }
.mobile-nav-title {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--gray-500);
  margin-bottom: .75rem;
}
.mobile-nav-link {
  display: block;
  padding: .75rem 1rem;
  border-radius: var(--radius);
  font-weight: 500;
  color: var(--gray-700);
  transition: all var(--transition);
  border-bottom: 2px solid var(--gray-100);
}
.mobile-nav-link:hover { color: var(--primary); background: var(--gray-50); }

/* ── Hero ── */
.hero {
  padding: 9rem 0 5rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 35%, var(--primary) 80%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(200,25,46,.15);
  border: 1px solid rgba(200,25,46,.4);
  color: var(--accent);
  padding: .4rem 1rem;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; max-width: 720px; }
.hero .lead { color: rgba(255,255,255,.88); max-width: 600px; margin-bottom: 2.5rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.hero-stat { }
.hero-stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
  margin-bottom: .25rem;
}
.hero-stat-label { font-size: .85rem; color: rgba(255,255,255,.6); }

/* ── Section header ── */
.section-header { margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  background: rgba(200,25,46,.10);
  color: var(--accent);
  padding: .35rem .875rem;
  border-radius: 100px;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 1rem;
  border: 1px solid rgba(200,25,46,.2);
}
.section-header h2 { margin-bottom: .75rem; }
.section-header .lead { max-width: 560px; }
.section-header.centered { text-align: center; }
.section-header.centered .lead { margin: 0 auto; }

/* ── Cards ── */
.card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-300));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-300);
}
.card-body { padding: 1.5rem; }
.card-tag {
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--primary);
  margin-bottom: .5rem;
}
.card h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.card p { font-size: .9rem; margin-bottom: 1rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.card-price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
}
.card-price span { font-size: .8rem; font-weight: 400; color: var(--gray-500); }

/* Product card */
.product-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent);
}
.product-card-img {
  height: 200px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  position: relative;
  overflow: hidden;
}
.product-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M0 0h20v20H0V0zm20 20h20v20H20V20z'/%3E%3C/g%3E%3C/svg%3E");
}
.product-card-body { padding: 1.5rem; flex: 1; }
.product-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-tag {
  display: inline-block;
  background: rgba(14,45,107,.10);
  color: var(--primary);
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: .75rem;
}

/* ── Feature list ── */
.feature-list { list-style: none; }
.feature-list li {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .625rem 0;
  border-bottom: 2px solid var(--gray-100);
  font-size: .9rem;
}
.feature-list li:last-child { border-bottom: none; }
.feature-list-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .7rem;
  margin-top: 1px;
}

/* ── Specs table ── */
.specs-table { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.specs-table th {
  background: var(--primary);
  color: var(--white);
  padding: .875rem 1.25rem;
  text-align: left;
  font-size: .875rem;
  font-weight: 600;
}
.specs-table td {
  padding: .875rem 1.25rem;
  font-size: .9rem;
  border-bottom: 2px solid var(--gray-100);
  vertical-align: top;
}
.specs-table tr:last-child td { border-bottom: none; }
.specs-table tr:nth-child(even) td { background: var(--gray-50); }
.specs-table td:first-child { font-weight: 600; color: var(--gray-700); width: 45%; }

/* ── FAQ ── */
.faq-item {
  border-bottom: 2px solid var(--gray-100);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark);
  font-size: .95rem;
  gap: 1rem;
}
.faq-question:hover { color: var(--accent); }
.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all var(--transition);
  color: var(--primary);
}
.faq-item.open .faq-icon { background: var(--primary); color: white; transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer-inner {
  padding-bottom: 1.25rem;
  color: var(--gray-700);
  font-size: .9rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 1200px; }

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 50%, var(--accent-dark) 100%);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(200,25,46,.2);
}
.cta-banner::before {
  content: '';
  position: absolute;
  right: -80px; top: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: rgba(200,25,46,.08);
}
.cta-banner::after {
  content: '';
  position: absolute;
  left: -40px; bottom: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,.03);
}
.cta-banner h2 { color: var(--white); margin-bottom: .75rem; }
.cta-banner p { color: rgba(255,255,255,.75); margin-bottom: 2rem; max-width: 520px; font-size: 1.05rem; }
.cta-banner-actions { display: flex; gap: 1rem; flex-wrap: wrap; position: relative; z-index: 2; }

/* ── Stats bar ── */
.stats-bar {
  background: linear-gradient(90deg, var(--dark) 0%, var(--primary-dark) 50%, var(--primary) 100%);
  padding: 3rem 0;
  border-top: 3px solid var(--accent);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}
.stat-value {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  margin-bottom: .5rem;
  letter-spacing: -.02em;
}
.stat-label { font-size: .875rem; color: rgba(255,255,255,.75); font-weight: 500; letter-spacing: .01em; }

/* ── Breadcrumbs ── */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .875rem;
  color: var(--gray-500);
  padding: 1.25rem 0;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--gray-500); transition: color var(--transition); }
.breadcrumbs a:hover { color: var(--primary); }
.breadcrumbs-sep { color: var(--gray-300); }
.breadcrumbs-current { color: var(--gray-700); font-weight: 500; }

/* ── Page hero (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary-dark) 60%, var(--primary) 100%);
  padding: 8rem 0 4rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero .breadcrumbs { margin-bottom: 1.5rem; }
.page-hero .breadcrumbs,
.page-hero .breadcrumbs a,
.page-hero .breadcrumbs-sep { color: rgba(255,255,255,.5); }
.page-hero .breadcrumbs-current { color: rgba(255,255,255,.85); }
.page-hero h1 { color: var(--white); max-width: 700px; margin-bottom: 1rem; }
.page-hero .lead { color: rgba(255,255,255,.75); max-width: 580px; margin-bottom: 2rem; }
.page-hero-meta {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}
.page-hero-meta-item {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}
.page-hero-meta-item strong { color: var(--white); }

/* ── Sidebar layout ── */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}
.sidebar { position: sticky; top: 88px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h4 { margin-bottom: 1rem; font-size: 1rem; }
.sidebar-links { display: flex; flex-direction: column; gap: .25rem; }
.sidebar-link {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .5rem .75rem;
  border-radius: var(--radius-sm);
  font-size: .875rem;
  color: var(--gray-700);
  transition: all var(--transition);
}
.sidebar-link:hover, .sidebar-link.active { color: var(--primary); background: var(--gray-50); }
.sidebar-link-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gray-300);
  flex-shrink: 0;
}
.sidebar-link.active .sidebar-link-dot { background: var(--primary); }

/* Contact sidebar */
.contact-sidebar {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  margin-bottom: 1.5rem;
}
.contact-sidebar h4 { color: white; margin-bottom: .5rem; }
.contact-sidebar p { color: rgba(255,255,255,.75); font-size: .875rem; margin-bottom: 1.25rem; }
.contact-sidebar .btn { width: 100%; justify-content: center; margin-bottom: .75rem; }
.contact-sidebar-phone {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  margin-top: .75rem;
  justify-content: center;
}

/* ── Badges ── */
.badge {
  display: inline-flex;
  align-items: center;
  padding: .25rem .75rem;
  border-radius: 100px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-primary { background: rgba(14,45,107,.12); color: var(--primary); border: 1px solid rgba(14,45,107,.2); }
.badge-accent  { background: rgba(200,25,46,.10); color: var(--accent); border: 1px solid rgba(200,25,46,.2); }
.badge-success { background: rgba(16,185,129,.1); color: var(--success); }

/* ── Icons (CSS shapes) ── */
.icon-check::before { content: '✓'; }
.icon-arrow::before { content: '→'; }

/* ── Tags list ── */
.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag {
  padding: .35rem .875rem;
  background: var(--gray-100);
  border-radius: 100px;
  font-size: .8rem;
  color: var(--gray-700);
  transition: all var(--transition);
}
.tag:hover { background: var(--primary); color: white; }

/* ── Benefit grid ── */
.benefit-item {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition);
}
.benefit-item:hover { box-shadow: var(--shadow); border-color: var(--gray-300); }
.benefit-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(14,45,107,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}
.benefit-item h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.benefit-item p { font-size: .875rem; color: var(--gray-500); }

/* ── Numbered Reasons Section ── */
.reasons-section {
  background: var(--primary-dark);
  color: white;
  padding: 6rem 0;
  overflow: hidden;
  position: relative;
}
.reasons-section::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,25,46,.12) 0%, transparent 70%);
  pointer-events: none;
}
.reasons-headline {
  display: flex;
  align-items: flex-end;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}
.reasons-big-num {
  font-size: clamp(5rem, 12vw, 9rem);
  font-weight: 900;
  line-height: .85;
  color: var(--accent);
  letter-spacing: -4px;
  flex-shrink: 0;
  text-shadow: 0 4px 30px rgba(200,25,46,.4);
}
.reasons-headline-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  color: white;
  margin-bottom: .4rem;
  line-height: 1.15;
}
.reasons-headline-text p {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  margin: 0;
}
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
}
@media (max-width: 900px) { .reasons-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .reasons-grid { grid-template-columns: 1fr; } }
.reason-card {
  position: relative;
  padding: 2.5rem 2rem 2rem;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.07);
  transition: background .25s, border-color .25s;
  overflow: hidden;
}
.reason-card:hover {
  background: rgba(255,255,255,.08);
  border-color: rgba(200,25,46,.4);
}
.reason-num {
  position: absolute;
  top: -1rem; right: 1.2rem;
  font-size: 6rem;
  font-weight: 900;
  color: rgba(255,255,255,.05);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  letter-spacing: -3px;
}
.reason-icon {
  margin-bottom: 1rem;
  display: block;
}
.reason-icon svg{ width:46px; height:46px; display:block; filter:drop-shadow(0 3px 8px rgba(232,53,46,.25)); }

.reason-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: .6rem;
}
.reason-card p {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  line-height: 1.65;
  margin: 0;
}
.reason-card-accent {
  position: absolute;
  bottom: 0; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .35s ease;
}
.reason-card:hover .reason-card-accent { width: 100%; }

/* ── City cards ── */
.city-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.city-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.city-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(14,45,107,.10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.city-card h3 { font-size: 1rem; margin-bottom: .25rem; }
.city-card p { font-size: .8rem; color: var(--gray-500); margin-bottom: 0; }

/* ── Article card ── */
.article-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-card-img {
  height: 180px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.article-card-body { padding: 1.25rem; flex: 1; }
.article-meta {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .75rem;
  color: var(--gray-500);
  margin-bottom: .75rem;
}
.article-card h3 { font-size: 1rem; margin-bottom: .5rem; line-height: 1.4; }
.article-card p { font-size: .85rem; color: var(--gray-500); }

/* ── Process steps ── */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  position: relative;
}
.process-step {
  padding: 2rem 1.5rem;
  position: relative;
  text-align: center;
}
.process-step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  position: relative;
  z-index: 2;
}
.process-step h4 { font-size: .95rem; margin-bottom: .5rem; }
.process-step p { font-size: .8rem; color: var(--gray-500); }

/* ── Testimonials ── */
.testimonial {
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--gray-100);
}
.testimonial-text {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: .875rem; }
.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .9rem; }
.testimonial-role { font-size: .8rem; color: var(--gray-500); }
.stars { color: var(--accent); font-size: .9rem; margin-bottom: .75rem; }

/* ── Alert box ── */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  display: flex;
  gap: .875rem;
  align-items: flex-start;
  font-size: .9rem;
}
.alert-info { background: rgba(14,45,107,.08); border: 1px solid rgba(14,45,107,.25); color: var(--primary-dark); }
.alert-accent { background: rgba(245,158,11,.07); border: 1px solid rgba(245,158,11,.25); color: #92400e; }
.alert-success { background: rgba(16,185,129,.07); border: 1px solid rgba(16,185,129,.25); color: #065f46; }

/* ── Footer ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.7);
  padding: 5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-brand { }
.footer-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.45rem;
  font-weight: 900;
  color: white;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.footer-logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: block;
}
.footer-brand p { font-size: .875rem; line-height: 1.7; margin-bottom: 1.5rem; }
.footer-contacts { font-size: .875rem; }
.footer-contact-item { display: flex; gap: .625rem; margin-bottom: .625rem; }
.footer-contact-icon { flex-shrink: 0; margin-top: .1em; color: var(--accent); }
.footer-col h4 { color: white; font-size: .9rem; margin-bottom: 1.25rem; }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-link {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
  transition: color var(--transition);
  line-height: 1.5;
}
.footer-link:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-link { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-bottom-link:hover { color: var(--accent); }

/* ── Utility ── */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: .5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 3rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.bg-gray  { background: #ECEEF2; }
.bg-dark  { background: var(--dark); }
.bg-primary { background: var(--primary); }
.rounded-lg { border-radius: var(--radius-lg); }
.shadow { box-shadow: var(--shadow); }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.border { border: 1px solid var(--gray-100); }

/* ── Lang switcher ── */
.lang-switcher {
  display: flex;
  gap: .25rem;
}
.lang-btn {
  padding: .3rem .625rem;
  border-radius: var(--radius-sm);
  font-size: .8rem;
  font-weight: 600;
  color: var(--gray-500);
  transition: all var(--transition);
}
.lang-btn:hover, .lang-btn.active {
  background: var(--primary);
  color: white;
}

/* ── Comparison table ── */
.compare-table th { background: var(--gray-900); color: white; }
.compare-table th:first-child { background: var(--gray-700); }
.compare-table td { text-align: center; }
.compare-table td:first-child { text-align: left; font-weight: 600; }
.compare-yes { color: var(--success); font-size: 1.1rem; }
.compare-no  { color: #EF4444; font-size: 1.1rem; }

/* ── Form ── */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .875rem; font-weight: 600; margin-bottom: .5rem; color: var(--gray-700); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius);
  font-size: .95rem;
  font-family: inherit;
  color: var(--gray-900);
  background: var(--white);
  transition: border-color var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(27,75,138,.12);
}
.form-textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: .8rem; color: var(--gray-500); margin-top: .4rem; }

/* ── Mobile menu overlay ── */
.mobile-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.5);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-links, .nav-actions .btn, .lang-switcher { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { padding: 7rem 0 4rem; }
  .hero-stats { gap: 1.5rem; }
  .section { padding: 3.5rem 0; }
  .cta-banner { padding: 2.5rem 1.75rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: 1fr; }
  .nav-actions { gap: .5rem; }
  .nav-phone { display: none; }
}
@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .hero-actions { flex-direction: column; }
  .btn-lg { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Print ── */
@media print {
  .header, .footer, .sidebar, .cta-banner { display: none; }
  .content-grid { grid-template-columns: 1fr; }
}

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up { animation: fadeInUp .6s ease both; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }

/* ── Scroll reveal (JS-driven) ── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Photo Gallery ── */
.photo-gallery-uniform {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-photo-item {
  display: flex;
  flex-direction: column;
}
.gallery-photo-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-photo-item img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.gallery-photo-caption {
  margin-top: 0.6rem;
  font-size: 0.875rem;
  color: var(--gray-500);
  text-align: center;
  font-weight: 500;
  line-height: 1.4;
}
@media (max-width: 900px) {
  .photo-gallery-uniform {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .photo-gallery-uniform {
    grid-template-columns: 1fr;
  }
  .gallery-photo-item img { height: 240px; }
}

/* ── Lightbox ── */
#lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
#lightbox.active { display: flex; }
.lb-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.92);
  backdrop-filter: blur(6px);
}
.lb-container {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 92vw;
  max-height: 92vh;
}
.lb-img {
  max-width: 90vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  transition: opacity .15s ease;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
}
.lb-caption {
  color: rgba(255,255,255,.75);
  font-size: .9rem;
  margin-top: .75rem;
  text-align: center;
  max-width: 600px;
}
.lb-counter {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  margin-top: .25rem;
}
.lb-close {
  position: absolute;
  top: -2.5rem;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: .7;
  transition: opacity .2s;
}
.lb-close:hover { opacity: 1; }
.lb-prev, .lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.12);
  border: none;
  color: white;
  font-size: 1.8rem;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.lb-prev { left: 1rem; }
.lb-next { right: 1rem; }
.lb-prev:hover, .lb-next:hover { background: rgba(255,255,255,.25); }
@media (max-width: 600px) {
  .lb-prev { left: .25rem; }
  .lb-next { right: .25rem; }
}

/* ── Floating Action Buttons (WhatsApp + Phone) ── */
.fab-group {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  z-index: 1000;
}
.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,.25);
  transition: transform .2s, box-shadow .2s;
}
.fab:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(0,0,0,.35); }
.fab-wa { background: #25D366; }
.fab-tel { background: var(--accent); }

/* ── Nav equal spacing fix ── */
.nav-links {
  gap: 0;
}
.nav-links li { flex: 1; text-align: center; }
.nav-link {
  display: block;
  padding: .5rem .6rem;
  white-space: nowrap;
  font-size: .875rem;
}

/* ── Language buttons ── */
.lang-btn {
  background: none;
  border: 1px solid transparent;
  color: var(--gray-600);
  font-size: .8rem;
  font-weight: 600;
  padding: .25rem .4rem;
  border-radius: 4px;
  cursor: pointer;
  transition: all .2s;
}
.lang-btn:hover { border-color: var(--primary); color: var(--primary); }
.lang-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ═══════════════════════════════════════════════════════════════
   VISUAL ENHANCEMENTS — Motion, Depth & Polish
   ═══════════════════════════════════════════════════════════════ */

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), #ff6b6b, var(--accent-light));
  width: 0%;
  z-index: 9999;
  transition: width .08s linear;
  box-shadow: 0 0 10px rgba(200,25,46,.55);
  pointer-events: none;
}

/* ── Hero canvas (own compositor layer) ── */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
  will-change: contents;
}

/* ── Hero gradient animation ── */
@keyframes heroGrad {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.hero {
  background: linear-gradient(-45deg, #050D22, #061535, #0a1f52, #0E2D6B, #09193e) !important;
  background-size: 400% 400% !important;
  animation: heroGrad 14s ease infinite;
}

/* ── Hero static orbs (no animation — blur+transform animation is too expensive) ── */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  filter: blur(50px);
  will-change: auto;
}
.hero-orb-1 {
  width: 480px; height: 480px;
  top: -100px; right: -40px;
  background: radial-gradient(circle, rgba(200,25,46,.16) 0%, transparent 65%);
}
.hero-orb-2 {
  width: 320px; height: 320px;
  bottom: -40px; left: 28%;
  background: radial-gradient(circle, rgba(26,74,154,.28) 0%, transparent 65%);
}

/* ── Hero badge float ── */
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-5px); }
}
.hero-badge { animation: badgeFloat 3.5s ease-in-out infinite; }

/* ── Hero stat hover glow ── */
.hero-stat { cursor: default; }
.hero-stat-value {
  transition: color .3s, text-shadow .3s;
}
.hero-stat:hover .hero-stat-value {
  color: #fca5a5;
  text-shadow: 0 0 20px rgba(200,25,46,.5), 0 0 40px rgba(200,25,46,.25);
}

/* ── Hero entrance animations ── */
@keyframes fadeUpHero {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-up {
  animation: fadeUpHero .75s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.animate-delay-1 { animation-delay: .12s; }
.animate-delay-2 { animation-delay: .24s; }
.animate-delay-3 { animation-delay: .36s; }

/* ── Enhanced scroll reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(0.16, 1, 0.3, 1),
              transform .7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── Stagger grid children when parent reveals ── */
.grid.reveal > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s cubic-bezier(0.16, 1, 0.3, 1),
              transform .5s cubic-bezier(0.16, 1, 0.3, 1);
}
.grid.reveal.visible > *        { opacity: 1; transform: none; }
.grid.reveal.visible > *:nth-child(1) { transition-delay: 0s; }
.grid.reveal.visible > *:nth-child(2) { transition-delay: .07s; }
.grid.reveal.visible > *:nth-child(3) { transition-delay: .14s; }
.grid.reveal.visible > *:nth-child(4) { transition-delay: .21s; }
.grid.reveal.visible > *:nth-child(5) { transition-delay: .28s; }
.grid.reveal.visible > *:nth-child(6) { transition-delay: .35s; }
.grid.reveal.visible > *:nth-child(n+7) { transition-delay: .42s; }

/* ── 3D card hover ── */
.card {
  transition: transform .35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow .35s ease,
              border-color .35s ease !important;
}
.card:hover {
  will-change: transform;
  transform: translateY(-8px) scale(1.015) !important;
  box-shadow: 0 22px 60px rgba(14,45,107,.18), 0 4px 12px rgba(14,45,107,.1) !important;
  border-color: rgba(14,45,107,.25) !important;
}
.card:not(:hover) { will-change: auto; }
.card:hover .card-body h3 { color: var(--primary); }

/* ── Shimmer sweep on card hover ── */
.card { position: relative; overflow: hidden; }
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg,
    transparent 40%,
    rgba(255,255,255,.11) 50%,
    transparent 60%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 10;
  transition: transform 0s;
}
.card:hover::after {
  transform: translateX(120%);
  transition: transform .55s ease;
}

/* ── Image zoom on card hover ── */
.card-img { overflow: hidden; }
.card-img img {
  transition: transform .6s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.card:hover .card-img img { transform: scale(1.07) !important; }

/* ── Animated btn-accent pulse (opacity-based — GPU composited) ── */
@keyframes btnPulseRing {
  0%   { transform: scale(1);   opacity: .5; }
  100% { transform: scale(1.5); opacity: 0; }
}
.btn-accent {
  box-shadow: 0 4px 18px rgba(200,25,46,.4);
}
.btn-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(200,25,46,.35);
  animation: btnPulseRing 2.2s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}
.btn-accent:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(200,25,46,.5) !important;
}
.btn-accent:hover::before { animation: none; opacity: 0; }

/* ── Ripple on all buttons ── */
.btn { position: relative; overflow: hidden; }
.btn-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  transform: scale(0);
  animation: rippleAnim .5s linear;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ── Section header underline reveal ── */
.section-header h2 {
  display: inline-block;
  position: relative;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -5px; left: 0;
  height: 3px; width: 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  transition: width .65s cubic-bezier(0.16, 1, 0.3, 1);
}
.section-header.vis h2::after { width: 56px; }

/* ── Stats bar shimmer sweep ── */
@keyframes barShimmer {
  from { left: -100%; }
  to   { left: 150%; }
}
.stats-bar { position: relative; overflow: hidden; }
.stats-bar::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.04), transparent);
  animation: barShimmer 4s ease-in-out infinite 1s;
  pointer-events: none;
}

/* ── CTA banner animation ── */
@keyframes ctaOrb {
  0%, 100% { transform: translate(-50%,-50%) scale(1) rotate(0deg); }
  50%       { transform: translate(-50%,-50%) scale(1.12) rotate(180deg); }
}
.cta-banner::before { animation: ctaOrb 7s ease-in-out infinite; }
.cta-banner::after  { animation: ctaOrb 9s ease-in-out infinite reverse; }

/* ── Process step num pulse (opacity ring — GPU composited) ── */
@keyframes stepRing {
  0%   { transform: scale(1);   opacity: .4; }
  100% { transform: scale(1.8); opacity: 0; }
}
.process-step-num { position: relative; }
.process-step-num::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--primary);
  animation: stepRing 2.5s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}

/* ── Reason card hover lift ── */
.reason-card {
  transition: background .3s, border-color .3s,
              transform .3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.reason-card:hover { transform: translateY(-5px) !important; }

/* ── City card hover lift ── */
.city-card {
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.city-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 14px 44px rgba(14,45,107,.13) !important;
}

/* ── Article card hover lift ── */
.article-card {
  transition: all .35s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.article-card:hover {
  transform: translateY(-7px) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.13) !important;
}

/* ── WhatsApp FAB pulse (opacity ring — GPU composited) ── */
@keyframes fabRing {
  0%   { transform: scale(1);   opacity: .45; }
  100% { transform: scale(1.7); opacity: 0; }
}
.fab { box-shadow: 0 4px 14px rgba(37,211,102,.4); }
.fab::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(37,211,102,.4);
  animation: fabRing 2s ease-out infinite;
  pointer-events: none;
  z-index: -1;
}
.fab:hover::before { animation: none; opacity: 0; }

/* ── Page load fade in (main only, not body to avoid fixed-position issues) ── */
/* page-in via JS class — avoids white flash on load */
main.page-ready { animation: none; }

/* ============================================================
   UX / CRO POLISH LAYER  (v3)
   Эволюция: premium-ощущение, доверие, конверсия.
   Не меняет структуру, бренд-цвета и логотип.
   ============================================================ */

/* — Premium soft shadows + smooth easing (global tokens) — */
:root{
  --shadow-sm: 0 1px 2px rgba(6,21,53,.06), 0 1px 3px rgba(6,21,53,.09);
  --shadow:    0 6px 22px -6px rgba(6,21,53,.14);
  --shadow-lg: 0 18px 46px -12px rgba(6,21,53,.20);
  --shadow-xl: 0 30px 70px -16px rgba(6,21,53,.26);
  --transition: .25s cubic-bezier(.4,0,.2,1);
  --ease: cubic-bezier(.4,0,.2,1);
}

/* — Buttons: unified system + states + micro-interaction — */
.btn{ border-radius:10px; letter-spacing:-.01em; min-height:46px;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease); }
.btn:active{ transform:translateY(0) scale(.97); }
.btn:focus-visible{ outline:none; box-shadow:0 0 0 3px rgba(200,25,46,.4); }
.btn-lg{ min-height:54px; border-radius:12px; }
.btn-sm{ min-height:38px; border-radius:8px; }

/* — Generic cards (projects etc.): premium lift + image zoom — */
.card{ border-radius:18px; }
.card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.card-img{ overflow:hidden; }
.card-img img{ transition:transform .55s var(--ease); }
.card:hover .card-img img{ transform:scale(1.05); }

/* — PRODUCT CARDS: the key conversion zone — */
.product-card{ border-radius:18px; }
.product-card:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); }
.product-card-img{ overflow:hidden; }
.product-card-img img{ transition:transform .55s var(--ease); }
.product-card:hover .product-card-img img{ transform:scale(1.045); }
.product-card-body{ padding:1.85rem 1.75rem 1.35rem; }
.product-card .product-tag{ padding:.35rem .85rem; font-size:.72rem; letter-spacing:.02em; }
.product-card h3{ font-size:1.2rem; letter-spacing:-.01em; margin-bottom:.6rem; }
.product-card-body > p{ color:var(--gray-500); line-height:1.65; }

/* lighter, more scannable feature list */
.product-card .feature-list li{ border-bottom:1px solid var(--gray-100); padding:.7rem 0; font-size:.92rem; color:var(--gray-700); }
.product-card .feature-list-icon{ width:20px; height:20px; background:rgba(200,25,46,.1); color:var(--accent); }

/* stronger price */
.product-card-footer{ padding:1.25rem 1.75rem; }
.product-card-footer .card-price{ font-size:1.35rem; font-weight:800; color:var(--primary); letter-spacing:-.02em; line-height:1.1; }
.product-card-footer .card-price span{ display:block; font-size:.72rem; font-weight:500; color:var(--gray-300); letter-spacing:0; }

/* turn the pale "Заказать" badge into a real CTA button */
.product-card-footer .badge-accent{
  background:var(--accent); color:#fff; border:none;
  padding:.62rem 1.2rem; border-radius:10px; font-size:.9rem; font-weight:700;
  box-shadow:0 4px 12px rgba(200,25,46,.3);
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s var(--ease);
}
.product-card-footer .badge-accent::after{ content:'→'; margin-left:.35rem; transition:transform .25s var(--ease); }
.product-card:hover .product-card-footer .badge-accent{ background:var(--accent-dark); box-shadow:0 8px 20px rgba(200,25,46,.45); }
.product-card:hover .product-card-footer .badge-accent::after{ transform:translateX(3px); }

/* — HERO: more air, readable subtitle, strongest CTA — */
.hero .lead{ font-size:clamp(1.05rem,1.6vw,1.25rem); line-height:1.75; color:rgba(255,255,255,.84); margin-bottom:2.75rem; }
.hero-actions{ margin-bottom:4rem; }
.hero-actions .btn-accent{ box-shadow:0 10px 28px rgba(200,25,46,.45); }
.hero-actions .btn-accent:hover{ box-shadow:0 14px 36px rgba(200,25,46,.6); }
.hero-stat-value{ font-size:clamp(2rem,3.4vw,2.6rem); letter-spacing:-.02em; }

/* — SECTION HEADERS: rhythm + readability — */
.section-header h2{ letter-spacing:-.02em; }
.section-header .lead{ font-size:1.1rem; line-height:1.7; color:var(--gray-500); }

/* — STATS BAR: "wow" scale — */
.stats-bar{ padding:3.5rem 0; }
.stats-bar .stat-value{ font-size:clamp(2.75rem,5.5vw,3.75rem); font-weight:900; letter-spacing:-.03em; }
.stats-bar .stat-label{ font-size:.9rem; color:rgba(255,255,255,.7); }
.stats-grid{ gap:2.5rem; }

/* — BENEFIT CARDS: lighter, more air, icon as system — */
.benefit-item{ padding:2.25rem; background:var(--white); border-radius:18px; }
.benefit-item:hover{ transform:translateY(-4px); box-shadow:var(--shadow); border-color:var(--gray-100); }
.benefit-icon{ background:rgba(14,45,107,.07); color:var(--primary); border-radius:14px; }
.benefit-item h3{ font-size:1.1rem; letter-spacing:-.01em; }
.benefit-item p{ font-size:.92rem; line-height:1.7; color:var(--gray-500); }

/* — Real photo blocks: soft framing for "live" trust feel — */
.content-grid img{ border-radius:14px; }

/* — Mobile: premium breathing room + tappable targets — */
@media (max-width:768px){
  .section-header{ margin-bottom:2.25rem; }
  .product-card-body{ padding:1.5rem 1.4rem 1.1rem; }
  .product-card-footer{ padding:1.1rem 1.4rem; }
  .stats-bar .stat-value{ font-size:2.4rem; }
  .hero .lead{ margin-bottom:2.25rem; }
  .benefit-item{ padding:1.75rem; }
}
@media (max-width:480px){
  .product-card-footer{ flex-wrap:wrap; gap:.85rem; }
  .product-card-footer .badge-accent{ width:100%; justify-content:center; }
  .stats-grid{ gap:1.5rem 1rem; }
}

/* — Accessibility / performance: respect reduced motion — */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* ============================================================
   STAGE 2 — Trust markers + Project "case" cards
   ============================================================ */

/* — Hero trust bar — */
.hero-trust{ display:flex; flex-wrap:wrap; gap:.6rem 1.4rem; margin-bottom:2.5rem; }
.hero-trust-item{ display:inline-flex; align-items:center; gap:.45rem; color:rgba(255,255,255,.82); font-size:.9rem; font-weight:500; }
.hero-trust-item::before{ content:'✓'; display:inline-flex; align-items:center; justify-content:center; width:18px; height:18px; border-radius:50%; background:rgba(200,25,46,.92); color:#fff; font-size:.62rem; font-weight:700; flex-shrink:0; }

/* — Project "case" cards (homepage gallery) — */
.gallery-photo-item{ position:relative; border-radius:16px; overflow:hidden; box-shadow:var(--shadow-sm); transition:transform .3s var(--ease), box-shadow .3s var(--ease); }
.gallery-photo-item:hover{ transform:translateY(-5px); box-shadow:var(--shadow-lg); }
.gallery-photo-item img{ height:280px; width:100%; object-fit:cover; border-radius:0; display:block; cursor:zoom-in; transition:transform .6s var(--ease); }
.gallery-photo-item:hover img{ transform:scale(1.06); }
.gallery-tag{ position:absolute; top:12px; left:12px; z-index:2; background:var(--accent); color:#fff; font-size:.7rem; font-weight:700; letter-spacing:.03em; text-transform:uppercase; padding:.32rem .7rem; border-radius:100px; pointer-events:none; box-shadow:0 2px 8px rgba(0,0,0,.25); }
.gallery-overlay{ position:absolute; left:0; right:0; bottom:0; z-index:2; display:flex; flex-direction:column; gap:.05rem; padding:2.2rem 1.1rem .95rem; background:linear-gradient(transparent, rgba(6,21,53,.88)); pointer-events:none; }
.gallery-title{ color:#fff; font-weight:700; font-size:1.02rem; letter-spacing:-.01em; line-height:1.25; }
.gallery-loc{ color:rgba(255,255,255,.8); font-size:.8rem; font-weight:500; }
@media (max-width:768px){ .hero-trust{ gap:.5rem 1rem; margin-bottom:2rem; } .hero-trust-item{ font-size:.84rem; } }

/* ── Hero background video ── */
.hero{ isolation:isolate; }
.hero-video{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center; z-index:0; }
.hero-overlay{ position:absolute; inset:0; z-index:1; background:linear-gradient(105deg, rgba(5,13,34,.92) 0%, rgba(6,21,53,.74) 42%, rgba(14,45,107,.5) 100%); }
.hero > .container{ position:relative; z-index:2; }
.hero #hero-canvas, .hero .hero-orb{ display:none; }
.hero-sound-toggle{ position:absolute; right:1.5rem; bottom:1.5rem; z-index:3; width:48px; height:48px; padding:0; border-radius:50%; background:rgba(6,21,53,.55); border:1px solid rgba(255,255,255,.35); color:#fff; display:flex; align-items:center; justify-content:center; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); transition:transform .2s var(--ease), background .2s var(--ease); }
.hero-sound-toggle[hidden]{ display:none; }
.hero-sound-toggle:hover{ background:rgba(200,25,46,.9); transform:scale(1.07); }
.hero-sound-toggle.on{ background:rgba(200,25,46,.9); }
.hero-sound-toggle svg{ width:22px; height:22px; }
@media(max-width:768px){ .hero-sound-toggle{ width:42px; height:42px; right:1rem; bottom:1rem; } .hero-sound-toggle svg{ width:19px; height:19px; } }

/* ── Hero: animated photo (Ken Burns) until real video is provided ── */
.hero-media{ position:absolute; inset:0; z-index:0; background:url("../images/hero-poster.jpg") center center / cover no-repeat; animation:heroKenBurns 30s ease-in-out infinite alternate; will-change:transform; }
@keyframes heroKenBurns{ from{ transform:scale(1.06); } to{ transform:scale(1.18); } }
.hero-video{ opacity:0; transition:opacity .9s var(--ease); }
.hero-video.ready{ opacity:1; }
@media (prefers-reduced-motion: reduce){ .hero-media{ animation:none; } }

/* ── Hero: YouTube background (cover, branding hidden) ── */
.hero-yt{ position:absolute; inset:0; z-index:0; overflow:hidden; opacity:0; transition:opacity 1s var(--ease); pointer-events:none; }
.hero-yt.ready{ opacity:1; }
.hero-yt iframe{ position:absolute; top:0; left:0; border:0; pointer-events:none; }

/* ── Hero video: brighter + controls (sound + fullscreen) + modal ── */
.hero-overlay{ background:linear-gradient(105deg, rgba(5,13,34,.8) 0%, rgba(6,21,53,.52) 42%, rgba(14,45,107,.28) 100%); }
.hero-yt{ filter:brightness(1.12) saturate(1.04); }
.hero-controls{ position:absolute; right:1.5rem; bottom:1.5rem; z-index:3; display:flex; gap:.6rem; }
.hero-sound-toggle, .hero-watch-toggle{ position:static; width:48px; height:48px; padding:0; border-radius:50%; background:rgba(6,21,53,.55); border:1px solid rgba(255,255,255,.35); color:#fff; display:flex; align-items:center; justify-content:center; -webkit-backdrop-filter:blur(6px); backdrop-filter:blur(6px); transition:transform .2s var(--ease), background .2s var(--ease); cursor:pointer; }
.hero-sound-toggle[hidden], .hero-watch-toggle[hidden]{ display:none; }
.hero-sound-toggle:hover, .hero-watch-toggle:hover{ background:rgba(200,25,46,.9); transform:scale(1.07); }
.hero-sound-toggle.on{ background:rgba(200,25,46,.9); }
.hero-sound-toggle svg, .hero-watch-toggle svg{ width:22px; height:22px; }
@media(max-width:768px){ .hero-controls{ right:1rem; bottom:1rem; gap:.5rem; } .hero-sound-toggle, .hero-watch-toggle{ width:42px; height:42px; } .hero-sound-toggle svg, .hero-watch-toggle svg{ width:19px; height:19px; } }

/* Fullscreen video modal (watch like YouTube, with sound) */
.hero-vid-modal{ position:fixed; inset:0; z-index:9999; background:rgba(3,8,20,.93); display:none; align-items:center; justify-content:center; padding:4vw; }
.hero-vid-modal.open{ display:flex; }
.hero-vid-modal .hvm-frame{ position:relative; width:100%; max-width:1100px; aspect-ratio:16/9; background:#000; border-radius:12px; overflow:hidden; box-shadow:0 30px 80px rgba(0,0,0,.55); }
.hero-vid-modal .hvm-frame iframe{ position:absolute; inset:0; width:100%; height:100%; border:0; }
.hvm-close{ position:absolute; top:16px; right:22px; z-index:2; width:46px; height:46px; border-radius:50%; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.4); color:#fff; font-size:28px; line-height:1; cursor:pointer; transition:background .2s; }
.hvm-close:hover{ background:var(--accent); }

/* ============================================================
   MOBILE POLISH — комплексная доработка мобильной версии
   ============================================================ */
html, body { overflow-x: hidden; max-width: 100%; }

/* — Плавающие кнопки: меньше, ближе к углу, Safe Area, без перекрытия — */
.fab-group{ bottom: calc(1rem + env(safe-area-inset-bottom)); right: calc(.85rem + env(safe-area-inset-right)); gap: .5rem; }
.fab{ width: 48px; height: 48px; box-shadow: 0 4px 14px rgba(0,0,0,.28); }
.fab svg{ width: 22px; height: 22px; }
@media (max-width: 768px){
  .fab-group{ bottom: calc(.7rem + env(safe-area-inset-bottom)); right: calc(.55rem + env(safe-area-inset-right)); gap: .45rem; }
  .fab{ width: 44px; height: 44px; }
  .fab svg{ width: 20px; height: 20px; }
  .fab::before{ display: none; }   /* убираем пульсацию — она расширяет зону перекрытия */
}

/* — Шапка: безопасный левый отступ (Telegram не перекрывает логотип); бургер справа — */
@media (max-width: 768px){
  .header .container{ padding-left: max(1rem, env(safe-area-inset-left)); padding-right: max(1rem, env(safe-area-inset-right)); }
  .nav-logo{ margin-left: 6px; }
  .nav-logo-icon{ height: 34px; max-width: 200px; }
}

/* — Единый вертикальный ритм + заголовки не прилипают к краям — */
@media (max-width: 768px){
  .section{ padding: 3rem 0; }
  .section-sm{ padding: 2rem 0; }
  .section-lg{ padding: 3.5rem 0; }
  .section-header{ margin-bottom: 1.75rem; }
  .hero{ padding: 6.5rem 0 3.25rem; }
  h1{ letter-spacing:-.01em; } h2{ letter-spacing:-.01em; }
}

/* — Статистика: цифры не переносятся, ровные подписи — */
@media (max-width: 768px){
  .hero-stats{ gap: 1.25rem 1.75rem; }
  .hero-stat-value{ white-space: nowrap; }
  .stats-grid{ gap: 1.6rem 1rem; }
  .stats-bar .stat-value{ white-space: nowrap; }
  .stat-label, .hero-stat-label{ font-size: .8rem; line-height:1.3; }
}

/* — Карточки каталога: единые отступы — */
@media (max-width: 768px){
  .grid{ gap: 1.1rem; }
  .product-card-body{ padding: 1.4rem 1.3rem 1rem; }
  .product-card-footer{ padding: 1rem 1.3rem; }
  .product-card h3{ font-size:1.15rem; }
}

/* — Проекты («кейсы»): ровные отступы, подписи не прилипают — */
@media (max-width: 768px){
  .photo-gallery-uniform{ gap: 1rem; }
  .gallery-photo-item img{ height: 220px; }
  .gallery-overlay{ padding: 1.8rem .95rem .85rem; }
}

/* — Кнопки CTA на узких экранах — */
@media (max-width: 480px){
  .hero-actions{ gap:.75rem; }
  .hero-actions .btn, .cta-banner-actions .btn{ width:100%; justify-content:center; }
}

/* ============================================================
   HERO: показать объект (видео ярче), читаемость без затемнения
   Боковая «шторка» слева под текстом + лёгкая тень текста.
   Правая часть кадра (объект) остаётся чёткой.
   ============================================================ */
.hero-yt{ filter: brightness(1.15) saturate(1.06); }
.hero-overlay{
  background: linear-gradient(90deg,
    rgba(5,13,34,.85) 0%,
    rgba(5,13,34,.6)  34%,
    rgba(5,13,34,.26) 58%,
    rgba(5,13,34,.05) 78%,
    rgba(5,13,34,0)   90%);
}
/* лёгкая тень вместо затемнения всего видео */
.hero h1{ text-shadow: 0 2px 16px rgba(0,0,0,.5), 0 1px 3px rgba(0,0,0,.4); }
.hero .lead{ text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hero-trust-item{ text-shadow: 0 1px 8px rgba(0,0,0,.5); }
.hero-stat-value{ text-shadow: 0 1px 10px rgba(0,0,0,.5); }
.hero-stat-label{ text-shadow: 0 1px 6px rgba(0,0,0,.55); }

/* Мобайл: текст на всю ширину → мягкая вертикальная шторка + тень */
@media (max-width: 768px){
  .hero-overlay{
    background: linear-gradient(180deg,
      rgba(5,13,34,.6) 0%,
      rgba(5,13,34,.4) 38%,
      rgba(5,13,34,.34) 70%,
      rgba(5,13,34,.5) 100%);
  }
}

/* ============================================================
   HERO — premium polish: fade-in, компактная высота, плавный переход
   ============================================================ */
.hero-yt{ transition: opacity .45s var(--ease); }            /* плавное появление видео ~450мс */
.hero-media{ transition: opacity .6s var(--ease); }
.hero{ padding: 8rem 0 4rem; }                                /* чуть компактнее на десктопе */
@media (max-width: 768px){ .hero{ padding: 5.5rem 0 2.5rem; } } /* −~35px на мобиле: оффер+кнопки выше */

/* мягкий переход к следующей секции (без резкого обрыва видео) */
.hero::after{ content:''; position:absolute; left:0; right:0; bottom:0; height:90px; z-index:1; pointer-events:none;
  background:linear-gradient(to bottom, rgba(5,13,34,0), rgba(5,13,34,.5)); }
@media (max-width: 768px){ .hero::after{ height:64px; } }

/* ── Prozess-Schritte: ausgewogenes Raster 3×2 (kein verwaister 6.) ── */
.process-steps{ grid-template-columns: repeat(3, 1fr); gap: .5rem 0; }
@media (max-width: 900px){ .process-steps{ grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .process-steps{ grid-template-columns: 1fr; } }

/* ── База знаний: реальные фото, единый стиль, градиент, hover-zoom ── */
.article-card-img{ position:relative; height:200px; background:var(--gray-100); overflow:hidden; padding:0; font-size:0; display:block; }
.article-card-img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .28s var(--ease); }
.article-card:hover .article-card-img img{ transform:scale(1.03); }
.article-card-img::after{ content:''; position:absolute; inset:0; pointer-events:none; background:linear-gradient(to bottom, transparent 50%, rgba(6,21,53,.42)); }
@media (max-width:768px){ .article-card-img{ height:190px; } }

/* ── Hero на мобильном: видео/постер вписаны по ширине (виден весь объект) ── */
@media (max-width: 768px){
  .hero-media{ background-size: contain; background-position: center; background-color: var(--primary-dark); animation: none; }
}

/* ── Hero мобайл: постер вверху (как видео-полоса) ── */
@media (max-width: 768px){
  .hero-media{ background-position: center top; }
}

/* ── База знаний: пиктограммы на градиенте (как в «Наших продуктах») ── */
.article-card-img{ display:flex; align-items:center; justify-content:center; }
.article-card-img svg{ width:74px; height:74px; transition:transform .28s var(--ease); position:relative; z-index:1; }
.article-card:hover .article-card-img svg{ transform:scale(1.06); }
.article-card-img::after{ background:linear-gradient(135deg, rgba(255,255,255,.07), rgba(0,0,0,.10)); }
@media (max-width:768px){ .article-card-img svg{ width:66px; height:66px; } }

/* ── База знаний: компактнее (полоса-акцент + меньше иконка) ── */
.article-card-img{ height:148px; }
.article-card-img svg{ width:52px; height:52px; }
@media (max-width:768px){
  .article-card-img{ height:132px; }
  .article-card-img svg{ width:46px; height:46px; }
}

/* ── База знаний: реальные фото (разнообразие) ── */
.article-card-img{ height:180px; display:block; padding:0; background:var(--gray-100); }
.article-card-img img{ width:100%; height:100%; object-fit:cover; display:block; transition:transform .35s var(--ease); }
.article-card:hover .article-card-img img{ transform:scale(1.05); }
.article-card-img::after{ background:linear-gradient(to bottom, transparent 55%, rgba(6,21,53,.32)); }
@media (max-width:768px){ .article-card-img{ height:160px; } }

/* ── Kasachstan-Karte (Региональное присутствие) ── */
.kz-map-wrap{ margin-top:2.5rem; }
.kz-map{ width:100%; height:auto; display:block; filter:drop-shadow(0 14px 30px rgba(18,58,143,.28)); }
.kz-city{ cursor:pointer; }
.kz-city circle{ fill:#2ecc71; stroke:#fff; stroke-width:2.5; transition:r .18s ease; }
.kz-city-hq circle{ fill:#e8352e; }
.kz-city text{ font-family:'Inter',sans-serif; font-size:14.5px; font-weight:700; fill:#fff;
  paint-order:stroke; stroke:rgba(10,30,80,.55); stroke-width:3px; letter-spacing:.2px; }
.kz-city:hover circle{ r:11; }
.kz-city:hover text{ text-decoration:underline; }
.kz-legend text{ font-family:'Inter',sans-serif; font-size:13px; font-weight:600; fill:#1c3f7a; }
@media (max-width:768px){
  .kz-map-wrap{ overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:.5rem; }
  .kz-map{ min-width:640px; }
}

/* ── Karte: Flaggen-Türkis + Leucht-Puls wie FAB-Knöpfe ── */
.kz-map{ filter:drop-shadow(0 14px 30px rgba(0,146,180,.32)); }
.kz-city circle{ filter:drop-shadow(0 0 5px rgba(46,204,113,.9)); }
.kz-city-hq circle{ filter:drop-shadow(0 0 7px rgba(232,53,46,.95)); }
@keyframes kzRing { 0%{ transform:scale(1); opacity:.55; } 100%{ transform:scale(2.4); opacity:0; } }
.kz-city circle.kz-halo{
  fill:rgba(46,204,113,.5); stroke:none; filter:none;
  transform-box:fill-box; transform-origin:center;
  animation:kzRing 2s ease-out infinite; pointer-events:none;
}
.kz-city-hq circle.kz-halo{ fill:rgba(232,53,46,.55); }
.kz-city:nth-of-type(2n) circle.kz-halo{ animation-delay:1s; }
.kz-city:hover circle.kz-halo{ animation:none; opacity:0; }

/* ── Проекты: Hero mit Video rechts ── */
.page-hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:2.5rem; align-items:center; }
.page-hero-video{ position:relative; }
.page-hero-video video{
  width:auto; height:100%; max-height:520px; aspect-ratio:9/16; object-fit:cover; display:block; margin:0 auto;
  border-radius:16px; box-shadow:0 20px 50px rgba(0,0,0,.35);
  border:1px solid rgba(255,255,255,.12);
}
@media (max-width:900px){
  .page-hero-grid{ grid-template-columns:1fr; gap:1.75rem; }
  .page-hero-video{ order:2; }
}

/* ── Eigener Datei-Upload-Button (sprachneutral) ── */
.file-upload{ display:flex; align-items:center; gap:.75rem; cursor:pointer; flex-wrap:wrap; }
.file-upload input[type=file]{ position:absolute; width:.1px; height:.1px; opacity:0; overflow:hidden; z-index:-1; }
.file-upload-btn{ display:inline-block; padding:.65rem 1.1rem; background:var(--gray-100); border:1px solid var(--gray-300); border-radius:10px; font-weight:600; color:var(--primary); white-space:nowrap; transition:background .2s; }
.file-upload:hover .file-upload-btn{ background:var(--gray-200); }
.file-upload-name{ color:var(--gray-500); font-size:.9rem; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; max-width:100%; }

/* ── Galerie-Kachel: Video wie Foto ── */
.gallery-photo-item video{ height:280px; width:100%; object-fit:cover; display:block; transition:transform .6s var(--ease); }
.gallery-photo-item:hover video{ transform:scale(1.06); }
@media (max-width:768px){ .gallery-photo-item video{ height:220px; } }

/* ── Icon-Spans ohne Emoji: dezenter Marker ── */
.footer-contact-icon:empty, .contact-icon:empty{
  width:8px; height:8px; min-width:8px; border-radius:50%;
  background:var(--accent, #e8352e); display:inline-block; margin-top:.5em;
}
.benefit-icon:empty{ width:34px; height:4px; border-radius:2px; background:var(--accent,#e8352e); display:block; margin-bottom:1rem; font-size:0; }
.product-card-icon:empty{ width:34px; height:4px; border-radius:2px; background:var(--accent,#e8352e); display:block; margin-bottom:.9rem; font-size:0; }
.feature-icon:empty{ width:34px; height:4px; border-radius:2px; background:var(--accent,#e8352e); display:block; margin:0 auto .9rem; font-size:0; }

/* ── Author-Box (EEAT) ── */
.author-box{ display:flex; align-items:center; gap:1rem; background:var(--gray-100,#f3f4f6); border-radius:14px; padding:1.1rem 1.3rem; margin-top:2.2rem; }
.author-avatar{ width:52px; height:52px; min-width:52px; border-radius:50%; background:var(--primary,#0e2d6b); color:#fff; font-weight:800; display:flex; align-items:center; justify-content:center; font-size:1.05rem; }
.author-name{ font-weight:700; color:var(--primary,#0e2d6b); }
.author-role{ font-size:.86rem; color:var(--gray-500,#6b7280); line-height:1.45; }

/* ── Нам доверяют ── */
.trust-strip{ background:var(--gray-100,#f3f4f6); padding:1.6rem 0; }
.trust-strip-inner{ display:flex; align-items:center; justify-content:center; gap:2.2rem; flex-wrap:wrap; }
.trust-strip-label{ font-size:.8rem; text-transform:uppercase; letter-spacing:.08em; color:var(--gray-500,#6b7280); font-weight:700; }
.trust-strip-name{ font-weight:800; color:#8a94a6; font-size:1.05rem; white-space:nowrap; }
@media (max-width:768px){ .trust-strip-inner{ gap:1.1rem; } .trust-strip-name{ font-size:.95rem; } }
