/* ===== FONTS (loaded async in HTML head) ===== */

/* ===== CSS VARIABLES ===== */
:root {
  --color-orange: #F5A623;
  --color-orange-light: #FFB84D;
  --color-orange-dark: #E08E0B;
  --color-orange-glow: rgba(245, 166, 35, 0.15);
  --color-blue: #1B4F9B;
  --color-blue-light: #2D6FD4;
  --color-blue-dark: #0D3570;
  --color-blue-glow: rgba(27, 79, 155, 0.10);
  --color-white: #FFFFFF;
  --color-bg: #F4F6FA;
  --color-bg-card: #FFFFFF;
  --color-text: #1A1F36;
  --color-text-secondary: #5A6178;
  --color-border: #E2E6EF;
  --color-success: #2ECC71;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --shadow-sm: 0 2px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.08);
  --shadow-glow-orange: 0 8px 32px rgba(245, 166, 35, 0.25);
  --shadow-glow-blue: 0 8px 32px rgba(27, 79, 155, 0.20);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1280px;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
}

ul, ol {
  list-style: none;
}

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

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: var(--radius-lg);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: var(--transition);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
  color: var(--color-white);
  box-shadow: var(--shadow-glow-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(245, 166, 35, 0.35);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  color: var(--color-white);
  box-shadow: var(--shadow-glow-blue);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(27, 79, 155, 0.30);
}

.btn-outline {
  background: transparent;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
}

.btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
  transform: translateY(-3px);
}

.btn-white {
  background: var(--color-white);
  color: var(--color-blue);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.btn-sm {
  padding: 12px 24px;
  font-size: 14px;
  border-radius: var(--radius-md);
}

.btn-lg {
  padding: 20px 48px;
  font-size: 17px;
  border-radius: var(--radius-xl);
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: none;
  transition: var(--transition);
}

.header::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 0;
  right: 0;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 20' preserveAspectRatio='none'%3E%3Cpath d='M0,0 L1440,0 L1440,4 C1200,18 960,20 720,12 C480,4 240,14 0,18 Z' fill='rgba(255,255,255,0.92)'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  pointer-events: none;
  z-index: 1000;
}

.header.scrolled {
  box-shadow: var(--shadow-md);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.header__logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.header__logo-text {
  display: flex;
  flex-direction: column;
}

.header__logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--color-blue-dark);
  line-height: 1.2;
}

.header__logo-desc {
  font-size: 11px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.header__contacts {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header__phone {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.header__phone-number {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-blue-dark);
  transition: var(--transition);
}

.header__phone-number:hover {
  color: var(--color-orange);
}

.header__phone-sep {
  color: var(--color-border);
  font-size: 18px;
  line-height: 1;
}

.header__contact-icon {
  flex-shrink: 0;
  transition: var(--transition);
}

.header__contact-icon:hover {
  transform: scale(1.1);
}

.header__phone-label {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.header__cta .btn {
  padding: 12px 28px;
  font-size: 14px;
}

/* Mobile phone button */
.header__burger {
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  border: none;
  background: var(--color-orange);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(245, 166, 35, 0.4);
  transition: var(--transition);
}

.header__burger svg {
  stroke: white;
  width: 22px;
  height: 22px;
}

.header__burger:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.5);
}

.header__burger span {
  display: none;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 120px 0 60px;
  position: relative;
  overflow: hidden;
  background-image: url('images/school_hero_bg.png');
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

/* Dark gradient overlay for readability */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(13, 53, 112, 0.88) 0%,
    rgba(13, 53, 112, 0.75) 30%,
    rgba(27, 79, 155, 0.60) 60%,
    rgba(13, 53, 112, 0.72) 100%
  );
  z-index: 0;
  pointer-events: none;
}

.hero::after {
  display: none;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__content {
  animation: fadeInLeft 0.8s ease;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(245, 166, 35, 0.18);
  border: 1px solid rgba(245, 166, 35, 0.35);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-orange-light);
  margin-bottom: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero__badge svg {
  width: 16px;
  height: 16px;
}

.hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 44px;
  font-weight: 900;
  line-height: 1.15;
  color: #FFFFFF;
  margin-bottom: 20px;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero__title span {
  color: var(--color-orange-light);
}

.hero__subtitle {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  margin-bottom: 32px;
  max-width: 520px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero__stats {
  display: inline-flex;
  gap: 40px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 20px;
  padding: 20px 28px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  width: fit-content;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.15);
}

.hero__stat-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
  max-width: 120px;
}

.hero__visual {
  position: relative;
  animation: fadeInRight 0.8s ease;
  min-height: 520px;
}

/* ===== INFOGRAPHIC HERO ===== */
.hero__infographic {
  position: relative;
  width: 100%;
  height: 520px;
}

.hero__infographic-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(27, 79, 155, 0.10) 0%, rgba(245, 166, 35, 0.06) 40%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
  50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

/* Central Sphere */
.hero__central-sphere {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  width: 110px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__central-sphere-inner {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, #F5A623 0%, #E8920F 40%, #1B56A8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 
    0 0 30px rgba(245,166,35,0.4),
    0 0 60px rgba(27,86,168,0.2),
    inset 0 -4px 12px rgba(0,0,0,0.15),
    inset 0 4px 12px rgba(255,255,255,0.2);
  animation: sphereFloat 6s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

.hero__central-sphere-inner span {
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  text-align: center;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.hero__central-sphere-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid rgba(245,166,35,0.3);
  animation: spherePulse 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes sphereFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes spherePulse {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
  50% { transform: translate(-50%, -50%) scale(1.6); opacity: 0; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

/* Connecting lines */
.hero__infographic-lines line {
  stroke-width: 1.5;
  opacity: 0.35;
  stroke-linecap: round;
}

.hero__infographic-item {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  cursor: default;
  z-index: 2;
}

.hero__infographic-item img {
  width: 95px;
  height: 95px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  padding: 0;
  border: 2px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 6px 24px rgba(0,0,0,0.18);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s ease;
}

.hero__infographic-item:hover img {
  transform: scale(1.15);
  box-shadow: 0 10px 36px rgba(0,0,0,0.25);
}

.hero__infographic-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #FFFFFF;
  background: rgba(13, 53, 112, 0.75);
  backdrop-filter: blur(8px);
  padding: 5px 12px;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.hero__infographic-item:hover .hero__infographic-label {
  opacity: 1;
  transform: translateY(0);
}

/* Float animations — each unique */
@keyframes fi1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(6px, -16px) rotate(1.5deg); }
  66% { transform: translate(-5px, -10px) rotate(-1deg); }
}
@keyframes fi2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-10px, -8px) rotate(-2deg); }
  66% { transform: translate(4px, -18px) rotate(1deg); }
}
@keyframes fi3 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(8px, -14px) rotate(1deg); }
  66% { transform: translate(-6px, -8px) rotate(-1.5deg); }
}
@keyframes fi4 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-8px, -12px) rotate(-1deg); }
  66% { transform: translate(6px, -20px) rotate(2deg); }
}
@keyframes fi5 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(10px, -10px) rotate(2deg); }
  66% { transform: translate(-4px, -16px) rotate(-1deg); }
}
@keyframes fi6 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-8px, -14px) rotate(-1.5deg); }
  66% { transform: translate(6px, -6px) rotate(1deg); }
}
@keyframes fi7 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(5px, -18px) rotate(1deg); }
  66% { transform: translate(-7px, -12px) rotate(-2deg); }
}
@keyframes fi8 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-12px, -6px) rotate(-1deg); }
  66% { transform: translate(8px, -14px) rotate(1.5deg); }
}
@keyframes fi9 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(7px, -12px) rotate(1.5deg); }
  66% { transform: translate(-5px, -20px) rotate(-1deg); }
}
@keyframes fi10 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-6px, -16px) rotate(-2deg); }
  66% { transform: translate(10px, -8px) rotate(1deg); }
}
@keyframes fi11 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(12px, -10px) rotate(1deg); }
  66% { transform: translate(-8px, -18px) rotate(-1.5deg); }
}
@keyframes fi12 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-10px, -12px) rotate(-1deg); }
  66% { transform: translate(5px, -16px) rotate(2deg); }
}

/* Row 1 — top */
.hero__infographic-item--1 {
  top: 0%; left: 5%;
  animation: fi1 6s ease-in-out infinite;
}
.hero__infographic-item--1 img { width: 100px; height: 100px; }

.hero__infographic-item--2 {
  top: 0%; left: 38%;
  animation: fi2 7s ease-in-out infinite 0.4s;
}
.hero__infographic-item--2 img { width: 85px; height: 85px; }

.hero__infographic-item--3 {
  top: 2%; right: 8%;
  animation: fi3 5.5s ease-in-out infinite 0.8s;
}
.hero__infographic-item--3 img { width: 95px; height: 95px; }

.hero__infographic-item--7 {
  top: 5%; right: 38%;
  animation: fi7 6.5s ease-in-out infinite 1.2s;
}
.hero__infographic-item--7 img { width: 80px; height: 80px; }

/* Row 2 — middle */
.hero__infographic-item--4 {
  top: 35%; left: 0%;
  animation: fi4 6.5s ease-in-out infinite 0.6s;
}
.hero__infographic-item--4 img { width: 90px; height: 90px; }

.hero__infographic-item--8 {
  top: 33%; left: 30%;
  animation: fi8 5.8s ease-in-out infinite 1.5s;
}
.hero__infographic-item--8 img { width: 85px; height: 85px; }

.hero__infographic-item--9 {
  top: 35%; right: 25%;
  animation: fi9 7.2s ease-in-out infinite 0.3s;
}
.hero__infographic-item--9 img { width: 88px; height: 88px; }

.hero__infographic-item--5 {
  top: 38%; right: 0%;
  animation: fi5 7s ease-in-out infinite 1s;
}
.hero__infographic-item--5 img { width: 95px; height: 95px; }

/* Row 3 — bottom */
.hero__infographic-item--10 {
  bottom: 8%; left: 8%;
  animation: fi10 6.8s ease-in-out infinite 0.7s;
}
.hero__infographic-item--10 img { width: 90px; height: 90px; }

.hero__infographic-item--6 {
  bottom: 5%; left: 35%;
  animation: fi6 6s ease-in-out infinite 1.8s;
}
.hero__infographic-item--6 img { width: 100px; height: 100px; }

.hero__infographic-item--11 {
  bottom: 10%; right: 22%;
  animation: fi11 5.5s ease-in-out infinite 0.5s;
}
.hero__infographic-item--11 img { width: 85px; height: 85px; }

.hero__infographic-item--12 {
  bottom: 3%; right: 2%;
  animation: fi12 6.2s ease-in-out infinite 1.3s;
}
.hero__infographic-item--12 img { width: 90px; height: 90px; }

/* ===== SECTION COMMON ===== */
.section {
  padding: 80px 0;
}

.section--bg {
  background: var(--color-white);
}

.section__header {
  text-align: center;
  margin-bottom: 56px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  background: var(--color-blue-glow);
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-blue);
  margin-bottom: 16px;
}

.section__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 36px;
  font-weight: 800;
  color: var(--color-blue-dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section__title span {
  color: var(--color-orange);
}

.section__subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ===== PAIN POINTS SECTION ===== */
.pains {
  padding: 80px 0;
  background: linear-gradient(135deg, #0D3570 0%, #1B4F9B 100%);
  position: relative;
  overflow: hidden;
}

.pains::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.pains .section__header {
  color: var(--color-white);
}

.pains .section__title {
  color: var(--color-white);
}

.pains .section__subtitle {
  color: rgba(255,255,255,0.7);
}

.pains__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.pain-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.pain-card:hover {
  background: rgba(255,255,255,0.12);
  transform: translateY(-4px);
  border-color: rgba(245, 166, 35, 0.3);
}

.pain-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--color-orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.pain-card__icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-orange);
}

.pain-card__problem {
  font-size: 13px;
  font-weight: 600;
  color: rgba(245, 166, 35, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.pain-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 12px;
  line-height: 1.3;
}

.pain-card__solution {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  line-height: 1.6;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.pain-card__solution strong {
  color: var(--color-orange-light);
}

/* ===== PAINS FLOW ARROWS ANIMATION ===== */
.pains__flow-arrows {
  margin-top: 24px;
  margin-bottom: -6px;
  max-width: 100%;
  overflow: visible;
}

.pains__flow-arrows svg {
  width: 100%;
  height: 100px;
  overflow: visible;
}

.pains__flow-path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  animation: flowDraw 3s ease-in-out infinite;
  filter: drop-shadow(0 0 4px rgba(245, 166, 35, 0.4));
  opacity: 0.7;
}

.pains__flow-path--1 { animation-delay: 0s; }
.pains__flow-path--2 { animation-delay: 0.4s; }
.pains__flow-path--3 { animation-delay: 0.2s; }
.pains__flow-path--4 { animation-delay: 0.6s; }

@keyframes flowDraw {
  0% { stroke-dashoffset: 400; opacity: 0; }
  15% { opacity: 0.7; }
  50% { stroke-dashoffset: 0; opacity: 0.9; }
  75% { stroke-dashoffset: 0; opacity: 0.7; }
  100% { stroke-dashoffset: -400; opacity: 0; }
}

@media (max-width: 768px) {
  .pains__flow-arrows svg {
    height: 80px;
  }
}

@media (max-width: 480px) {
  .pains__flow-arrows {
    display: none;
  }
}

/* ===== ADVANTAGES ===== */
.advantages-layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
}

.advantages-left {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 100px;
  align-self: start;
}

.director-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 28px 24px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  max-width: 360px;
  width: 100%;
}

.director-card__speech {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 18px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-blue-dark);
  line-height: 1.4;
  margin-bottom: 20px;
  animation: speechPulse 3s ease-in-out infinite;
}

.director-card__photo-wrap {
  width: 220px;
  height: 270px;
  margin: 0 auto 16px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #1B4F9B 0%, #0D3570 60%, #0A2A5C 100%);
  box-shadow: 0 8px 32px rgba(13, 53, 112, 0.3);
}

.director-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.director-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-blue-dark);
  margin-bottom: 4px;
}

.director-card__role {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.director-card__btn {
  width: 100%;
  font-size: 15px;
  padding: 14px 24px;
}

.advantages__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.advantage-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
  overflow: hidden;
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-orange), var(--color-blue));
  opacity: 0;
  transition: var(--transition);
}

.advantage-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.advantage-card:hover::before {
  opacity: 1;
}

.advantage-card__icon {
  width: 72px;
  height: 72px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.advantage-card__icon--orange {
  background: var(--color-orange-glow);
}

.advantage-card__icon--blue {
  background: var(--color-blue-glow);
}

.advantage-card:hover .advantage-card__icon--orange {
  background: var(--color-orange);
}

.advantage-card:hover .advantage-card__icon--blue {
  background: var(--color-blue);
}

.advantage-card:hover .advantage-card__icon svg {
  color: var(--color-white);
}

.advantage-card__icon svg {
  width: 32px;
  height: 32px;
  transition: var(--transition);
}

.advantage-card__icon--orange svg {
  color: var(--color-orange);
}

.advantage-card__icon--blue svg {
  color: var(--color-blue);
}

.advantage-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 12px;
}

.advantage-card__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== CATEGORIES / BENTO GRID ===== */
.categories-swipe-hint {
  display: none;
}

.categories__bento {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  min-height: 180px;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-orange);
}

.category-card--wide {
  grid-column: span 5;
}

.category-card--tall {
  grid-row: span 2;
}

.category-card__bg {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 140px;
  height: 140px;
  opacity: 0.06;
  transition: var(--transition);
}

.category-card:hover .category-card__bg {
  opacity: 0.12;
  transform: scale(1.1);
}

.category-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.category-card__icon svg {
  width: 26px;
  height: 26px;
}

.category-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.category-card__count {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-top: auto;
}

.category-card__arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.category-card:hover .category-card__arrow {
  background: var(--color-orange);
  color: white;
}

.category-card__arrow svg {
  width: 18px;
  height: 18px;
}

/* Photo-based category cards */
.category-card.category-card--photo {
  padding: 0;
  min-height: 220px;
  border: none;
  border-radius: var(--radius-xl);
}

.category-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease;
}

.category-card--photo:hover .category-card__img {
  transform: scale(1.08);
}

.category-card__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.75) 100%);
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
  z-index: 1;
}

.category-card--photo .category-card__title {
  color: #fff;
  font-size: 15px;
  margin-bottom: 4px;
}

.category-card--photo .category-card__count {
  color: rgba(255,255,255,0.7);
  font-size: 12px;
}

.category-card--photo .category-card__arrow {
  background: rgba(255,255,255,0.2);
  color: #fff;
  backdrop-filter: blur(4px);
}

.category-card--photo:hover .category-card__arrow {
  background: var(--color-orange);
}

/* ===== PROCESS / HOW WE WORK ===== */
.process__timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.process-step {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
}

.process-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.process-step__number {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-orange), var(--color-orange-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-white);
  margin-bottom: 20px;
}

.process-step__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 10px;
}

.process-step__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* ===== PORTFOLIO ===== */
.portfolio__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.portfolio-card__image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-card__image {
  transform: scale(1.05);
}

.portfolio-card__image-wrap {
  overflow: hidden;
  position: relative;
}

.portfolio-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 53, 112, 0.7), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.portfolio-card:hover .portfolio-card__overlay {
  opacity: 1;
}

.portfolio-card__body {
  padding: 24px;
}

.portfolio-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.portfolio-card__location {
  font-size: 13px;
  color: var(--color-text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-card__location svg {
  width: 14px;
  height: 14px;
  color: var(--color-orange);
}

.portfolio-card__year {
  display: inline-block;
  padding: 4px 12px;
  background: var(--color-orange-glow);
  border-radius: 50px;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-orange-dark);
  margin-top: 10px;
}

/* ===== REVIEWS / MARQUEE CAROUSELS ===== */
.marquee-wrap {
  overflow: hidden;
  width: 100%;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
}

.marquee-track--right {
  animation: marqueeRight 40s linear infinite;
}

.marquee-track--left {
  animation: marqueeLeft 35s linear infinite;
}

.marquee-wrap:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marqueeRight {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marqueeLeft {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: var(--transition);
  position: relative;
  min-width: 420px;
  max-width: 420px;
  flex-shrink: 0;
}

.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.review-card__quote {
  position: absolute;
  top: 24px;
  right: 28px;
  font-size: 64px;
  font-family: Georgia, serif;
  color: var(--color-orange-glow);
  line-height: 1;
  font-weight: 700;
}

.review-card__text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.review-card__author {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}

.review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--color-blue), var(--color-blue-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--color-white);
}

.review-card__info {
  display: flex;
  flex-direction: column;
}

.review-card__name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--color-text);
}

.review-card__role {
  font-size: 12px;
  color: var(--color-text-secondary);
}

/* Certificate cards */
.cert-card {
  flex-shrink: 0;
  width: 180px;
  height: 250px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  background: #fff;
}

.cert-card:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.cert-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.lightbox--active {
  display: flex;
  animation: lightboxFadeIn 0.3s ease;
}

@keyframes lightboxFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 10001;
}

.lightbox__close:hover {
  background: rgba(255,255,255,0.3);
}

.lightbox__content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: lightboxZoomIn 0.3s ease;
}

@keyframes lightboxZoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
/* ===== TENDER PLATFORMS ===== */
.tenders {
  padding: 80px 0;
  background: var(--color-blue-dark);
  position: relative;
  overflow: hidden;
}

.tenders::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245,166,35,0.12), transparent 70%);
  pointer-events: none;
}

.tenders::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -60px;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(45,111,212,0.15), transparent 70%);
  pointer-events: none;
}

.tenders__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 900px;
  margin: 0 auto;
}

.tender-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  padding: 20px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  min-height: 72px;
  overflow: hidden;
}

.tender-card:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(245,166,35,0.4);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

.tender-card__logo {
  text-align: center;
}

.tender-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.3px;
  display: inline-flex;
  align-items: baseline;
  gap: 3px;
  white-space: nowrap;
}

.tender-logo__sub {
  font-weight: 500;
  font-size: 10px;
  opacity: 0.7;
  display: block;
  margin-top: -2px;
}

.tender-logo__accent {
  font-weight: 900;
}

/* Individual platform colors — bright for dark bg */
.tender-logo--rts { color: #FF5252; }
.tender-logo--gpb { color: #64B5F6; }
.tender-logo--portal { color: #4FC3F7; }
.tender-logo--sber { color: #66BB6A; }
.tender-logo--ots { color: #FFAB91; }
.tender-logo--rosel { color: #90CAF9; }
.tender-logo--zakaz { color: #FF8A80; }
.tender-logo--zakaz .tender-logo__accent { color: #81C784; }
.tender-logo--tek { color: #82B1FF; }
.tender-logo--fabr { color: #FFB74D; }
.tender-logo--berezka { color: #A5D6A7; font-style: italic; }
.tender-logo--rad { color: #CE93D8; }

/* Last row centering (5 items in second row) */


/* ===== ABOUT COMPANY ===== */
.about {
  padding: 80px 0;
  background: var(--color-bg);
}

.about__intro {
  max-width: 900px;
  margin-bottom: 60px;
}

.about__heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-text);
  line-height: 1.3;
  margin-bottom: 32px;
}

.about__mission {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.about__mission-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
}

.about__mission-icon svg {
  width: 48px;
  height: 48px;
}

.about__mission-text {
  font-size: 16px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Timeline */
.timeline {
  position: relative;
}

.timeline__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 32px;
}

.timeline__nav-row {
  position: relative;
  margin-bottom: 48px;
}

.timeline__progress {
  position: relative;
  padding-bottom: 36px;
}

.timeline__track {
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--color-border);
  border-radius: 2px;
}

.timeline__track-fill {
  height: 100%;
  background: var(--color-orange);
  border-radius: 2px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 0%;
}

.timeline__dots {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.timeline__dot {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 0;
  position: relative;
}

.timeline__dot::before {
  content: '';
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--color-border);
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-border);
  transition: var(--transition);
  flex-shrink: 0;
}

.timeline__dot.active::before,
.timeline__dot.passed::before {
  background: var(--color-orange);
  box-shadow: 0 0 0 2px var(--color-orange);
}

.timeline__dot span {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text-secondary);
  transition: var(--transition);
}

.timeline__dot.active span {
  color: var(--color-text);
  font-weight: 700;
}

.timeline__arrows {
  display: flex;
  gap: 8px;
  position: absolute;
  right: 0;
  top: -52px;
}

.timeline__arrow {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.timeline__arrow svg {
  width: 20px;
  height: 20px;
}

.timeline__arrow--prev {
  background: var(--color-border);
  color: var(--color-text-secondary);
}

.timeline__arrow--prev:hover {
  background: var(--color-blue);
  color: white;
}

.timeline__arrow--next {
  background: var(--color-blue);
  color: white;
}

.timeline__arrow--next:hover {
  background: var(--color-blue-dark);
}

/* Timeline Slides */
.timeline__slides {
  position: relative;
  min-height: 300px;
}

.timeline__slide {
  display: none;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  align-items: center;
  animation: fadeSlideIn 0.5s ease;
}

.timeline__slide.active {
  display: grid;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.timeline__slide-img {
  width: 320px;
  height: 280px;
  flex-shrink: 0;
}

.timeline__slide-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.timeline__slide-year {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 4px;
}

.timeline__slide-subtitle {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.timeline__slide-text {
  font-size: 14px;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Wave: CTA → About */
.section-wave--cta-about {
  background: var(--color-white);
  height: 120px;
}

@media (max-width: 768px) {
  .about__heading { font-size: 22px; }
  .timeline__slide { grid-template-columns: 1fr; gap: 24px; }
  .timeline__slide-img { width: 100%; max-width: 260px; height: 200px; margin: 0 auto; }
  .timeline__dot span { font-size: 12px; }
  .section-wave--cta-about { height: 70px; }
}

@media (max-width: 480px) {
  .about__heading { font-size: 18px; }
  .timeline__title { font-size: 22px; }
  .timeline__nav-row { flex-direction: column; align-items: flex-start; }
  .timeline__arrows { align-self: flex-end; }
  .section-wave--cta-about { height: 50px; }
}

/* ===== CTA / LEAD FORM ===== */
.cta {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--color-white);
}

.cta__card {
  background: linear-gradient(135deg, #0D3570 0%, #1B4F9B 60%, #2D6FD4 100%);
  border-radius: var(--radius-xl);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.cta__card::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.15), transparent 70%);
  pointer-events: none;
}

.cta__card::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: 20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(45, 111, 212, 0.2), transparent 70%);
  pointer-events: none;
}

.cta__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cta__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--color-white);
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta__text {
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin-bottom: 24px;
}

.cta__features {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cta__feature {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}

.cta__feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(245, 166, 35, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta__feature-icon svg {
  width: 14px;
  height: 14px;
  color: var(--color-orange-light);
}

.cta__portrait {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  border: 3px solid rgba(255,255,255,0.15);
  margin: 0 auto 16px;
}

.cta__portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}

.cta__person-info {
  text-align: center;
  margin-bottom: 24px;
}

.cta__person-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 4px;
}

.cta__person-role {
  font-size: 14px;
  color: var(--color-orange-light);
  font-weight: 500;
}
.cta__form-wrapper {
  position: relative;
  z-index: 1;
}

.form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}

.form-card__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  text-align: center;
}

.form-card__subtitle {
  font-size: 13px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: var(--color-text);
  transition: var(--transition);
  background: var(--color-bg);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-orange);
  box-shadow: 0 0 0 4px var(--color-orange-glow);
  background: var(--color-white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #A0A5B8;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-card .btn {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
  display: block;
  text-align: center;
}

.form-card form {
  text-align: center;
}

.form-card__field {
  text-align: left;
}

.form-card__privacy {
  font-size: 11px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-top: 14px;
  line-height: 1.5;
}

.form-card__privacy a {
  color: var(--color-blue);
  text-decoration: underline;
}

/* Checkbox consent */
.form-group--checkbox {
  margin-top: 4px;
  margin-bottom: 4px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0;
  cursor: pointer;
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
  -webkit-appearance: checkbox;
  appearance: checkbox;
  width: 16px;
  height: 16px;
  min-width: 16px;
  margin: 0 10px 0 0;
  accent-color: var(--color-blue);
  cursor: pointer;
  flex-shrink: 0;
  display: inline-block;
}

.checkbox-label span {
  flex: 1;
}

.checkbox-label a {
  color: var(--color-blue);
  text-decoration: underline;
}

/* Form validation - red highlight */
input.invalid,
textarea.invalid,
select.invalid {
  border-color: #e74c3c !important;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.15) !important;
}

.checkbox-label.invalid {
  color: #e74c3c;
}

.checkbox-label.invalid input[type="checkbox"] {
  outline: 2px solid #e74c3c;
  outline-offset: 1px;
}

.form-card__close {
  display: flex;
  margin-left: auto;
}

/* ===== COMPLIANCE BADGES ===== */
.compliance {
  padding: 60px 0;
  background: var(--color-white);
}

.compliance .section__header {
  margin-bottom: 24px;
}

.compliance__grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.compliance-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 28px;
  background: var(--color-bg);
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.compliance-badge:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.compliance-badge__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.compliance-badge__icon--blue {
  background: var(--color-blue-glow);
}

.compliance-badge__icon--orange {
  background: var(--color-orange-glow);
}

.compliance-badge__icon svg {
  width: 24px;
  height: 24px;
}

.compliance-badge__icon--blue svg {
  color: var(--color-blue);
}

.compliance-badge__icon--orange svg {
  color: var(--color-orange);
}

.compliance-badge__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
}

.compliance-badge__sub {
  font-size: 12px;
  color: var(--color-text-secondary);
  font-weight: 400;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--color-blue-dark);
  padding: 56px 0 32px;
  color: rgba(255,255,255,0.7);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer__logo-icon {
  width: 40px;
  height: 40px;
}

.footer__logo-name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--color-white);
}

.footer__desc {
  font-size: 14px;
  line-height: 1.7;
  max-width: 320px;
}

.footer__col-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-white);
  margin-bottom: 20px;
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__link {
  font-size: 14px;
  transition: var(--transition);
}

.footer__link:hover {
  color: var(--color-orange-light);
}

.footer__contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 14px;
}

.footer__contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-orange);
  flex-shrink: 0;
}

.footer__bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

/* ===== STICKY CTA BAR ===== */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--color-white);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
  padding: 14px 0;
  transform: translateY(100%);
  transition: var(--transition);
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.sticky-cta__text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
}

.sticky-cta__text span {
  color: var(--color-text-secondary);
  font-weight: 400;
  font-size: 13px;
}

.sticky-cta__actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.sticky-cta__phone {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-blue);
}

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px;
  max-width: 500px;
  width: 100%;
  position: relative;
  animation: scaleIn 0.3s ease;
}

.modal form .btn {
  width: 100%;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-bg);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.modal__close:hover {
  background: var(--color-border);
}

.modal__close svg {
  width: 20px;
  height: 20px;
}

.modal__title {
  font-family: 'Montserrat', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 8px;
  text-align: center;
}

.modal__subtitle {
  font-size: 14px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 28px;
}

/* ===== COUNTER ANIMATION ===== */
.counter {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 40px 0;
}

.counter__item {
  text-align: center;
}

.counter__number {
  font-family: 'Montserrat', sans-serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--color-white);
  line-height: 1;
}

.counter__label {
  font-size: 14px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero__title {
    font-size: 36px;
  }
  
  .hero__visual {
    order: -1;
  }
  
  .hero__image-main img {
    height: 320px;
  }
  
  .advantages-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .advantages-left {
    order: 2;
    justify-content: center;
  }
  .advantages-right {
    order: 1;
  }
  
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .categories__bento {
    grid-template-columns: repeat(3, 1fr);
  }
  .category-card--wide {
    grid-column: span 3;
  }
  
  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portfolio__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .cta__card {
    grid-template-columns: 1fr;
    padding: 48px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 56px 0;
  }
  
  .section__title {
    font-size: 28px;
  }
  
  .hero {
    padding: 100px 0 40px;
  }
  
  .hero__title {
    font-size: 30px;
  }
  
  .hero__stats {
    gap: 24px;
  }
  
  .hero__stat-number {
    font-size: 28px;
  }
  
  .hero__float-card {
    display: none;
  }
  
  .header__phone {
    display: none;
  }
  
  .header__burger {
    display: flex;
  }
  
  .header__cta {
    display: none;
  }

  .hero__visual {
    display: none;
  }
  
  .advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .advantage-card {
    padding: 16px 10px;
  }
  .advantage-card__title {
    font-size: 13px;
  }
  .advantage-card__text {
    font-size: 11px;
  }
  
  .categories__bento {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .categories__bento::-webkit-scrollbar {
    display: none;
  }
  .categories__bento .category-card {
    flex: 0 0 42%;
    scroll-snap-align: start;
  }
  .categories__bento .category-card--wide {
    flex: 0 0 42%;
    grid-column: unset;
  }
  .categories__bento .category-card.category-card--photo {
    min-height: 180px;
  }
  .category-card__overlay {
    padding: 12px;
  }
  .category-card--photo .category-card__title {
    font-size: 13px;
  }
  .category-card--photo .category-card__count {
    font-size: 10px;
  }

  /* Hide desktop CTA card and old mobile CTA in carousel */
  .categories-cta-desktop {
    display: none !important;
  }
  .category-card--cta {
    display: none !important;
  }
  .cta-oval-mobile {
    display: none !important;
  }
  /* Show mobile CTA button below carousel */
  .categories-cta-mobile {
    display: block !important;
    text-align: center;
    margin-top: 20px;
  }
  .categories-cta-mobile .btn {
    width: 100%;
    font-size: 15px;
    padding: 16px 24px;
    border-radius: 50px;
    font-weight: 700;
  }

  /* Swipe navigation arrows */
  .categories-swipe-hint {
    display: flex !important;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
  }
  .categories-swipe-btn {
    width: 52px;
    height: 36px;
    border-radius: 20px;
    border: 2px solid var(--color-blue);
    background: rgba(27, 79, 155, 0.08);
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
  }
  .categories-swipe-btn:active {
    background: var(--color-blue);
    color: #fff;
  }
  .pains__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .pain-card {
    padding: 16px 12px;
  }
  .pain-card__title {
    font-size: 13px;
  }
  .pain-card__solution {
    font-size: 11px;
  }
  
  .process__timeline {
    grid-template-columns: 1fr;
  }
  
  .portfolio__grid {
    grid-template-columns: 1fr;
  }
  
  .reviews__slider {
    grid-template-columns: 1fr;
  }
  
  .cta__card {
    padding: 32px 24px;
  }
  
  .cta__title {
    font-size: 24px;
  }
  
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  
  .sticky-cta__text {
    display: none;
  }
  
  .compliance__grid {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-lg {
    padding: 16px 32px;
    font-size: 15px;
  }

  .counter {
    gap: 24px;
  }

  .counter__number {
    font-size: 36px;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 26px;
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__stats {
    flex-direction: column;
    gap: 16px;
  }
  
  .hero__stat {
    flex-direction: row;
    align-items: center;
    gap: 12px;
  }
  
  .header__inner {
    height: 64px;
  }
  
  .hero {
    padding: 84px 0 32px;
  }
  
  .form-card {
    padding: 24px;
  }
}

/* ===== WORKFLOW / CLIENT TIMELINE ===== */
.workflow {
  padding: 80px 0;
  background: linear-gradient(135deg, #0a0e1a 0%, #111827 50%, #0f172a 100%);
  position: relative;
  overflow: hidden;
}

.workflow::before {
  content: '';
  position: absolute;
  top: -150px;
  right: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(245, 166, 35, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.workflow::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27, 79, 155, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.workflow__steps {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
  margin-top: 56px;
  position: relative;
}

.workflow__steps::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 166, 35, 0.12), rgba(27, 86, 168, 0.12), transparent);
  z-index: 0;
}

.workflow__step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.workflow__number {
  width: 56px;
  height: 56px;
  border: 2px solid rgba(245, 166, 35, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: rgba(245, 166, 35, 0.6);
  background: #0a0e1a;
  position: relative;
  animation: circleGlow 14s ease-in-out infinite;
}

.workflow__step:hover .workflow__number {
  background: var(--color-orange) !important;
  color: #0a0e1a !important;
  box-shadow: 0 0 30px rgba(245, 166, 35, 0.5) !important;
  transform: scale(1.1);
}

.workflow__step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.workflow__step-text {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.5;
}

/* ===== WORKFLOW ELECTRIC CURRENT ANIMATION ===== */

/* Traveling spark along the line */
.workflow__steps::after {
  content: '';
  position: absolute;
  top: 19px;
  width: 100px;
  height: 20px;
  background: radial-gradient(ellipse at center, rgba(245, 166, 35, 0.9) 0%, rgba(245, 166, 35, 0.4) 30%, rgba(245, 166, 35, 0.1) 55%, transparent 75%);
  filter: blur(3px);
  z-index: 1;
  animation: sparkTravel 14s ease-in-out infinite;
  border-radius: 50%;
  pointer-events: none;
}

@keyframes sparkTravel {
  0% { left: 5%; opacity: 0; }
  2% { left: 5%; opacity: 1; }
  3% { left: 8%; }
  39% { left: 86%; opacity: 1; }
  44% { left: 90%; opacity: 0; }
  100% { left: 5%; opacity: 0; }
}

/* Circle sequential glow */
@keyframes circleGlow {
  0% {
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: 0 0 0 0 rgba(245, 166, 35, 0);
    background: #0a0e1a;
    color: rgba(245, 166, 35, 0.6);
  }
  3% {
    border-color: #FFB84D;
    box-shadow: 0 0 20px rgba(245, 166, 35, 0.7), 0 0 60px rgba(245, 166, 35, 0.3), 0 0 0 8px rgba(245, 166, 35, 0.15);
    background: linear-gradient(135deg, #F5A623, #FFB84D);
    color: #0a0e1a;
  }
  6% {
    border-color: #F5A623;
    box-shadow: 0 0 18px rgba(245, 166, 35, 0.5), 0 0 40px rgba(245, 166, 35, 0.2);
    background: linear-gradient(135deg, #F5A623, #FFB84D);
    color: #0a0e1a;
  }
  50% {
    border-color: #F5A623;
    box-shadow: 0 0 12px rgba(245, 166, 35, 0.35);
    background: linear-gradient(135deg, #F5A623, #FFB84D);
    color: #0a0e1a;
  }
  57% {
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: none;
    background: #0a0e1a;
    color: rgba(245, 166, 35, 0.6);
  }
  100% {
    border-color: rgba(245, 166, 35, 0.3);
    box-shadow: none;
    background: #0a0e1a;
    color: rgba(245, 166, 35, 0.6);
  }
}

/* Sequential delays for each step */
.workflow__step:nth-child(1) .workflow__number { animation-delay: 0s; }
.workflow__step:nth-child(2) .workflow__number { animation-delay: 1s; }
.workflow__step:nth-child(3) .workflow__number { animation-delay: 2s; }
.workflow__step:nth-child(4) .workflow__number { animation-delay: 3s; }
.workflow__step:nth-child(5) .workflow__number { animation-delay: 4s; }
.workflow__step:nth-child(6) .workflow__number { animation-delay: 5s; }

/* Hide spark on mobile where line is hidden */
@media (max-width: 1024px) {
  .workflow__steps::after {
    display: none;
  }
}

/* ===== FILE UPLOAD COMPONENT ===== */
.file-upload {
  border: 2px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(244, 246, 250, 0.5);
}

.file-upload:hover,
.file-upload.drag-over {
  border-color: var(--color-orange);
  background: var(--color-orange-glow);
}

.file-upload__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.file-upload__text {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}

.file-upload__hint {
  font-size: 12px;
  color: var(--color-text-secondary);
}

.file-upload__selected {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px;
  background: rgba(46, 204, 113, 0.1);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-success);
}

.file-upload__remove {
  border: none;
  background: rgba(231, 76, 60, 0.15);
  color: #E74C3C;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.file-upload__remove:hover {
  background: #E74C3C;
  color: white;
}

/* ===== WORKFLOW RESPONSIVE ===== */
@media (max-width: 1024px) {
  .workflow__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
  .workflow__steps::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .workflow__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .workflow__steps {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .workflow__step {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-align: left;
  }
  .workflow__number {
    margin: 0;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    font-size: 18px;
  }
  .workflow__step-title {
    font-size: 13px;
  }
}

/* ===== HERO INFOGRAPHIC RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero__infographic {
    height: 380px;
  }
  .hero__infographic-item img {
    width: 100px !important;
    height: 100px !important;
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 0 40px;
  }
  .hero__title {
    font-size: 32px;
  }
  .hero__infographic {
    height: auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    justify-items: center;
  }
  .hero__infographic-glow {
    display: none;
  }
  .hero__infographic-item {
    position: static !important;
    animation: none !important;
  }
  .hero__infographic-item img {
    width: 90px !important;
    height: 90px !important;
  }
  .hero__infographic-label {
    opacity: 1;
    transform: none;
    font-size: 11px;
    padding: 4px 10px;
  }
  .hero__stats {
    gap: 24px;
  }
  .hero__stat-number {
    font-size: 28px;
  }
  .header__contacts {
    display: none;
  }
  .header__burger {
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 26px;
  }
  .hero__subtitle {
    font-size: 15px;
  }
  .hero__infographic {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .hero__infographic-item img {
    width: 75px !important;
    height: 75px !important;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
}

/* ===== PORTFOLIO CAROUSEL ===== */
.portfolio-carousel {
  overflow: hidden;
  width: 100%;
  padding: 0 0 20px;
  margin-top: -20px;
}

.portfolio-carousel__track {
  display: flex;
  gap: 20px;
  animation: portfolioScroll 40s linear infinite;
  width: max-content;
}

.portfolio-carousel:hover .portfolio-carousel__track {
  animation-play-state: paused;
}

.portfolio-carousel__card {
  position: relative;
  flex-shrink: 0;
  width: 320px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.portfolio-carousel__card:hover {
  transform: scale(1.03);
}

.portfolio-carousel__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portfolio-carousel__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
}

.portfolio-carousel__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 4px;
}

.portfolio-carousel__loc {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  opacity: 0.8;
}

.portfolio-carousel__loc svg {
  flex-shrink: 0;
}

@keyframes portfolioScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .portfolio-carousel__card {
    width: 260px;
    height: 260px;
  }
}

/* ===== SEAMLESS SECTION FLOW ===== */
.section-wave {
  position: relative;
  z-index: 2;
  line-height: 0;
  overflow: hidden;
  pointer-events: none;
  margin-top: -1px;
  margin-bottom: -1px;
}

.section-wave svg {
  display: block;
  width: 100%;
  height: 100%;
}

.section-wave--hero-portfolio {
  background: transparent;
  height: 100px;
  margin-top: -100px;
  position: relative;
  z-index: 3;
}

.section-wave--portfolio-compliance {
  background: var(--color-white);
  height: 80px;
}

.section-wave--compliance-pains {
  background: var(--color-bg);
  height: 140px;
}

.section-wave--pains-workflow {
  background: #1B4F9B;
  height: 90px;
}

.section-wave--workflow-advantages {
  background: #0f172a;
  height: 140px;
}

.section-wave--advantages-categories {
  background: var(--color-bg);
  height: 120px;
}

.section-wave--categories-reviews {
  background: var(--color-white);
  height: 120px;
}

.section-wave--reviews-tenders {
  background: var(--color-bg);
  height: 120px;
}

.section-wave--tenders-cta {
  background: var(--color-blue-dark);
  height: 120px;
}

.section-wave--cta-footer {
  background: var(--color-bg);
  height: 140px;
}

@media (max-width: 768px) {
  .section-wave--hero-portfolio { height: 70px; margin-top: -70px; }
  .section-wave--portfolio-compliance { height: 50px; }
  .section-wave--compliance-pains { height: 80px; }
  .section-wave--pains-workflow { height: 55px; }
  .section-wave--workflow-advantages { height: 80px; }
  .section-wave--advantages-categories { height: 70px; }
  .section-wave--categories-reviews { height: 70px; }
  .section-wave--reviews-tenders { height: 70px; }
  .section-wave--tenders-cta { height: 70px; }
  .section-wave--cta-footer { height: 80px; }
  .tenders__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tender-card { padding: 16px 10px; min-height: 64px; }
  .tender-logo { font-size: 12px; }
}

@media (max-width: 480px) {
  .section-wave--hero-portfolio { height: 50px; margin-top: -50px; }
  .section-wave--portfolio-compliance { height: 35px; }
  .section-wave--compliance-pains { height: 55px; }
  .section-wave--pains-workflow { height: 40px; }
  .section-wave--workflow-advantages { height: 55px; }
  .section-wave--advantages-categories { height: 50px; }
  .section-wave--categories-reviews { height: 50px; }
  .section-wave--reviews-tenders { height: 50px; }
  .section-wave--tenders-cta { height: 50px; }
  .section-wave--cta-footer { height: 55px; }
  .tenders__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .tender-logo { font-size: 12px; }
  .tender-card { padding: 14px 8px; min-height: 60px; }
}

/* ===== COMPLIANCE v2 (with Expert) ===== */
.compliance-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: end;
}

.compliance-left .section__title {
  margin-bottom: 12px;
}

.compliance-left .section__subtitle {
  margin-bottom: 32px;
}

.compliance-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compliance-card-v2 {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  transition: var(--transition);
  cursor: default;
}

.compliance-card-v2:hover {
  border-color: var(--color-orange);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.compliance-card-v2__title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text);
  margin-top: 12px;
  margin-bottom: 8px;
  line-height: 1.35;
}

.compliance-card-v2__desc {
  font-size: 13px;
  color: var(--color-text-secondary);
  line-height: 1.55;
}

/* Expert card (right column) */
.compliance-right {
  display: flex;
  justify-content: center;
}

.expert-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 28px 24px 32px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  position: relative;
  max-width: 360px;
  width: 100%;
}

.expert-card__speech {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: 16px 16px 16px 4px;
  padding: 14px 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-blue-dark);
  line-height: 1.4;
  margin-bottom: 20px;
  position: relative;
  animation: speechPulse 3s ease-in-out infinite;
}

@keyframes speechPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(245, 166, 35, 0); }
  50% { box-shadow: 0 0 0 6px rgba(245, 166, 35, 0.12); }
}

.expert-card__photo-wrap {
  width: 200px;
  height: 250px;
  margin: 0 auto 16px;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(160deg, #1B4F9B 0%, #0D3570 60%, #0A2A5C 100%);
  position: relative;
  box-shadow: 0 8px 32px rgba(13, 53, 112, 0.3);
}

.expert-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.expert-card__name {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--color-blue-dark);
  margin-bottom: 4px;
}

.expert-card__role {
  font-size: 13px;
  color: var(--color-text-secondary);
  margin-bottom: 20px;
}

.expert-card__btn {
  width: 100%;
  margin-bottom: 10px;
  font-size: 15px;
  padding: 14px 24px;
}

.expert-card__btn-outline {
  width: 100%;
  border-color: var(--color-blue);
  color: var(--color-blue);
  font-size: 13px;
  padding: 10px 20px;
}

.expert-card__btn-outline:hover {
  background: var(--color-blue);
  color: var(--color-white);
}

@media (max-width: 1024px) {
  .compliance-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .compliance-right {
    justify-content: center;
  }
  .compliance-left .section__title,
  .compliance-left .section__subtitle {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .compliance-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .compliance-card-v2 {
    padding: 14px 10px;
  }
  .compliance-card-v2__title {
    font-size: 12px;
  }
  .compliance-card-v2__desc {
    font-size: 11px;
  }
  .expert-card__photo-wrap {
    width: 160px;
    height: 200px;
  }
}

/* ===== COOKIE CONSENT BANNER ===== */
.cookie-banner {
  display: none;
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--color-white);
  border-radius: 16px;
  padding: 16px 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
  max-width: 720px;
}

.cookie-banner__text {
  font-size: 14px;
  color: var(--color-text);
  line-height: 1.5;
  margin: 0;
}

.cookie-banner__link {
  color: var(--color-blue);
  text-decoration: none;
  font-weight: 500;
}

.cookie-banner__link:hover {
  text-decoration: underline;
}

.cookie-banner__btn {
  flex-shrink: 0;
  background: var(--color-blue);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 12px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.cookie-banner__btn:hover {
  background: var(--color-blue-dark);
  transform: scale(1.03);
}

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    transform: none;
  }

  .cookie-banner__inner {
    flex-direction: column;
    gap: 12px;
    padding: 16px 20px;
    text-align: center;
  }

  .cookie-banner__text {
    font-size: 13px;
  }

  .cookie-banner__btn {
    width: 100%;
    padding: 12px;
  }
}

/* ===== COMPREHENSIVE MOBILE FIXES ===== */

/* --- Tablet: 768px --- */
@media (max-width: 768px) {
  /* Hero infographic */
  .hero__infographic {
    width: 280px;
    height: 280px;
  }

  .hero__infographic-item img {
    width: 36px;
    height: 36px;
  }

  .hero__infographic-label {
    font-size: 9px;
  }

  #centralSphere {
    width: 90px !important;
    height: 90px !important;
  }

  #centralSphere span {
    font-size: 11px !important;
  }

  /* Workflow grid */
  .workflow__steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .workflow__steps::before {
    display: none;
  }

  .workflow__number {
    width: 48px;
    height: 48px;
    font-size: 18px;
  }

  .workflow__step-title {
    font-size: 12px;
  }

  .workflow__step-text {
    font-size: 11px;
  }

  /* Timeline */
  .timeline__dots {
    gap: 0;
  }

  .timeline__dot-label {
    font-size: 12px;
  }

  .timeline__arrows {
    top: -48px;
  }

  .timeline__arrow {
    width: 36px;
    height: 36px;
  }

  .timeline__slide-content {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }

  .timeline__slide-img {
    max-width: 280px;
    margin: 0 auto;
  }

  /* About section */
  .about__heading {
    font-size: 22px !important;
  }

  /* CTA orange strip in categories */
  .category-card--cta > div[style*="position:absolute"][style*="right:0"] {
    width: 100% !important;
    position: relative !important;
    top: auto !important;
    bottom: auto !important;
    padding: 12px 20px !important;
    font-size: 13px !important;
  }

  /* Modal */
  .modal {
    padding: 24px 20px;
    margin: 16px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .modal__title {
    font-size: 20px;
  }

  /* Tender form */
  .tender-form__grid {
    grid-template-columns: 1fr !important;
  }

  /* Reviews carousel */
  .reviews-carousel__card {
    min-width: 280px;
  }

  .cert-carousel__card {
    min-width: 200px;
  }

  /* Hide decorative floating elements on mobile */
  .section__dot,
  .hero__float-card,
  .floating-dot {
    display: none !important;
  }

  /* CTA oval: hide both old elements */
  .cta-oval-desktop {
    display: none !important;
  }
  .cta-oval-mobile {
    display: none !important;
  }
  .categories-cta-desktop {
    display: none !important;
  }
  .category-card--cta {
    display: none !important;
  }
}

/* --- Small Mobile: 480px --- */
@media (max-width: 480px) {
  /* Hero infographic */
  .hero__infographic {
    width: 240px;
    height: 240px;
  }

  .hero__infographic-item img {
    width: 30px;
    height: 30px;
  }

  .hero__infographic-label {
    font-size: 8px;
  }

  #centralSphere {
    width: 75px !important;
    height: 75px !important;
  }

  #centralSphere span {
    font-size: 10px !important;
  }

  #infographicLines {
    display: none;
  }

  /* Workflow grid 2 columns */
  .workflow__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .workflow__number {
    width: 42px;
    height: 42px;
    font-size: 16px;
    margin-bottom: 12px;
  }

  /* Categories 2 columns on mobile */
  .categories__bento {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    gap: 10px;
    padding-bottom: 10px;
  }
  .categories__bento .category-card {
    flex: 0 0 44% !important;
    scroll-snap-align: start;
  }
  .category-card--wide {
    flex: 0 0 44% !important;
    grid-column: unset !important;
  }

  /* Category card CTA - stack orange strip below */
  .category-card--cta {
    flex-direction: column !important;
  }

  /* Timeline */
  .about__heading {
    font-size: 18px !important;
  }

  .timeline__slide-img {
    max-width: 220px;
  }

  .timeline__slide-title {
    font-size: 18px;
  }

  .timeline__slide-text {
    font-size: 13px;
  }

  /* Section titles */
  .section__title {
    font-size: 22px;
  }

  .section__subtitle {
    font-size: 14px;
  }

  /* Counter */
  .counter {
    flex-direction: column;
    gap: 20px;
  }

  .counter__item {
    flex-direction: row;
    gap: 12px;
  }

  .counter__number {
    font-size: 32px;
  }

  /* Forms */
  .form-group label {
    font-size: 13px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 12px 14px;
  }

  .checkbox-label {
    font-size: 11px;
  }

  /* Footer */
  .footer__col-title {
    font-size: 14px;
    margin-bottom: 12px;
  }

  .footer__link {
    font-size: 13px;
  }

  .footer__contact-item {
    font-size: 13px;
  }

  .footer__bottom {
    font-size: 12px;
  }

  /* Modals */
  .modal {
    padding: 20px 16px;
    margin: 8px;
    border-radius: 16px;
  }

  .modal__title {
    font-size: 18px;
  }

  .modal__subtitle {
    font-size: 13px;
  }

  /* Sticky CTA */
  .sticky-cta {
    padding: 10px 16px;
  }

  .sticky-cta .btn {
    font-size: 13px;
    padding: 10px 20px;
  }

  /* Pain points */
  .pain-card,
  .solution-card {
    padding: 20px;
  }

  /* Compliance */
  .compliance-card-v2 {
    padding: 16px;
  }

  .expert-card {
    padding: 24px 16px;
  }

  /* Reviews */
  .reviews-carousel__card {
    min-width: 260px;
    padding: 20px;
  }

  .cert-carousel__card {
    min-width: 160px;
  }
}

/* --- iPhone SE / very small: 375px --- */
@media (max-width: 375px) {
  .container {
    padding: 0 12px;
  }

  .hero__title {
    font-size: 22px;
  }

  .hero__subtitle {
    font-size: 14px;
  }

  .hero__infographic {
    width: 220px;
    height: 220px;
  }

  .btn-lg {
    font-size: 14px;
    padding: 14px 24px;
  }

  .section__title {
    font-size: 20px;
  }

  .workflow__steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .form-card {
    padding: 20px 16px;
  }

  .modal {
    margin: 4px;
    padding: 16px 12px;
  }
}

/* ===== HERO MOBILE BACKGROUND IMAGE ===== */
@media (max-width: 768px) {
  .hero {
    background-image: url('images/school_hero_bg.png') !important;
    background-size: cover !important;
    background-position: center 30% !important;
    background-repeat: no-repeat !important;
    position: relative !important;
    padding: 100px 0 80px !important;
  }

  /* Dark gradient overlay for text readability */
  .hero::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(
      180deg,
      rgba(13, 53, 112, 0.88) 0%,
      rgba(13, 53, 112, 0.72) 35%,
      rgba(27, 79, 155, 0.55) 60%,
      rgba(13, 53, 112, 0.80) 100%
    ) !important;
    z-index: 0 !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    pointer-events: none !important;
  }

  /* Remove the second decorative pseudo-element */
  .hero::after {
    display: none !important;
  }

  /* Ensure content is above overlay */
  .hero > .container {
    position: relative !important;
    z-index: 1 !important;
  }

  /* White text for contrast over dark overlay */
  .hero__title {
    color: #FFFFFF !important;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.3) !important;
  }

  .hero__title span {
    color: var(--color-orange-light) !important;
  }

  .hero__subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2) !important;
  }

  /* Badge on dark bg */
  .hero__badge {
    background: rgba(245, 166, 35, 0.2) !important;
    border-color: rgba(245, 166, 35, 0.4) !important;
    color: var(--color-orange-light) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  /* Stats with frosted glass effect */
  .hero__stats {
    background: rgba(255, 255, 255, 0.1) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-radius: 20px !important;
    padding: 20px 24px !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    margin-top: 8px !important;
  }

  .hero__stat-number {
    color: #FFFFFF !important;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.15) !important;
  }

  .hero__stat-label {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  /* Outline button on dark bg */
  .hero__actions .btn-outline {
    border-color: rgba(255, 255, 255, 0.5) !important;
    color: #FFFFFF !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }

  .hero__actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    color: #FFFFFF !important;
  }

  /* Hide infographic grid on mobile — the photo is the visual now */
  .hero__visual {
    display: none !important;
  }
}

/* Fine-tune for small phones */
@media (max-width: 480px) {
  .hero {
    background-position: center 25% !important;
    padding: 84px 0 36px !important;
  }

  .hero__stats {
    padding: 16px 16px !important;
    border-radius: 16px !important;
  }
}
