/* ==================== WebDigital - Main Styles ==================== */
/* Файл: css/styles.css */

/* ==================== RESET & CSS VARIABLES ==================== */

:root {
  /* Hero секция */
  --hero-bg: #ffffff;
  --hero-bg2: #f6f8fc;
  --hero-text: #0f172a;
  --hero-muted: rgba(15,23,42,.72);
  --hero-stroke: rgba(15,23,42,.12);
  --hero-shadow: 0 26px 70px rgba(15,23,42,.10);
  --hero-radius: 18px;
  --hero-blue: #1d9bf0;
  --hero-blue2: #2f7cff;

  /* Общие переменные */
  --brand: #268CF6;
  --brand-deep: #1f76d6;
  --brand-light: #E6F3FE;
  --text-primary: #0F172A;
  --text-secondary: #64748B;
  --heading-gradient-black-blue: linear-gradient(90deg, #0f172a 0%, #114a86 55%, #268cf6 100%);
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(36, 142, 245, 0.3);
  --shadow-lg: 0 40px 100px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1400px;
  --border-radius: 12px;
  --border-radius-lg: 16px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
}

/* Design pages: section headings should be dark -> noble violet */
.page-design,
.page-website-design,
.page-website-redesign,
.page-ux-ui-design {
  --heading-gradient-black-blue: linear-gradient(90deg, #0f172a 0%, #2a1f54 55%, #5b46a6 100%);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body.nav-open {
  overflow: hidden;
}

/* ==================== UTILITIES ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  top: 10px;
  left: 10px;
  width: auto;
  height: auto;
  padding: 12px 20px;
  background: var(--brand);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  z-index: 9999;
}

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

/* Reserve space before async header include loads to prevent hero CLS jump */
[data-include="partials/header.html"] {
  display: block;
  min-height: 144px;
}

/* ==================== GLOBAL HEADING GRADIENT ==================== */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .services-title,
  .stages-title,
  .landing-services-block .headline h2,
  .preimslick__head h2,
  .landing-pricing__head h2,
  .landing-types-packages__head h2,
  .landing-calc__head h2,
  .landing-calc .landing-calc__head h2,
  .landing-steps__head h2,
  .landing-snake__head h2,
  .landing-advantages__head h2,
  .landing-process-wide__head h2,
  .landing-faq__head h2,
  .service-card h2,
  .service-prices h2,
  .service-works h2,
  .service-cta h2 {
    background-image: var(--heading-gradient-black-blue) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
  }
}

/* ==================== INFO BAR ==================== */
.info-bar {
  background: linear-gradient(90deg,
    rgba(38, 140, 246, 0.03) 0%,
    rgba(38, 140, 246, 0.08) 25%,
    rgba(94, 179, 255, 0.1) 50%,
    rgba(38, 140, 246, 0.08) 75%,
    rgba(38, 140, 246, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: shimmer-bg 8s ease infinite;
  padding: 14px 0;
  border-bottom: 1px solid rgba(38, 140, 246, 0.1);
  position: relative;
  overflow: hidden;
}

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

.info-bar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
  opacity: 0.35;
  pointer-events: none;
}

@keyframes info-shine {
  0% { left: -100%; }
  50%, 100% { left: 150%; }
}

.info-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.info-badge {
  background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%);
  color: var(--white);
  font-size: 10px;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  animation: pulse-glow 2s infinite, float-badge 3s ease-in-out infinite;
  box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35);
  position: relative;
}

.info-badge::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff6b6b, #ff8e53, #ffcc00);
  z-index: -1;
  opacity: 0;
  animation: badge-glow 2s ease-in-out infinite;
}

@keyframes badge-glow {
  0%, 100% { opacity: 0; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.1); }
}

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

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 4px 15px rgba(255, 107, 107, 0.35); }
  50% { box-shadow: 0 4px 25px rgba(255, 107, 107, 0.5); }
}

.info-text {
  color: var(--text-primary);
  font-weight: 600;
  position: relative;
}

.info-text::before {
  content: "✨";
  margin-right: 8px;
  animation: sparkle 1.5s ease infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.info-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 4px 12px;
  border-radius: 6px;
  background: rgba(38, 140, 246, 0.08);
}

.info-link::after {
  content: " →";
  display: inline-block;
  transition: transform 0.3s ease;
}

.info-link:hover {
  background: rgba(38, 140, 246, 0.15);
  color: var(--brand-deep);
}

.info-link:hover::after {
  transform: translateX(4px);
}

/* ==================== HEADER ==================== */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.05),
    0 4px 20px rgba(15, 23, 42, 0.03);
  transition: all 0.3s ease;
  isolation: isolate;
}

.site-header:hover {
  background: rgba(255, 255, 255, 0.95);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-md);
}

/* Logo */
.logo {
  font-size: 34px;
  font-weight: 900;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -2px;
  background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 50%, var(--brand-deep) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), #5eb3ff);
  border-radius: 2px;
  transition: width 0.3s ease;
}

.logo:hover {
  background-position: 100% 50%;
  transform: scale(1.03);
}

.logo:hover::after {
  width: 100%;
}

/* ==================== BURGER MENU ==================== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  padding: 10px;
  background: transparent;
  border: none;
  z-index: 1001;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: var(--brand);
  border-radius: 3px;
  transition: var(--transition);
}

/* ==================== NAVIGATION ==================== */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  z-index: 998;
  backdrop-filter: blur(4px);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 34px;
  margin: 0;
  padding: 0;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
  padding: 6px 8px;
  border-radius: 6px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--brand);
  background: var(--brand-light);
}

/* Mobile Nav */
.mobile-nav-header {
  display: none;
}

.nav-accordion {
  display: none;
}

/* ==================== HEADER CONTACT ==================== */
.header-contact {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-phone {
  text-decoration: none;
  color: var(--brand);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.2px;
  white-space: nowrap;
  transition: var(--transition);
}

.contact-phone:hover {
  color: var(--brand-deep);
}

.contact-email {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
}

.contact-email a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

.contact-email a:hover {
  color: var(--brand);
}

/* ==================== HEADER ACTIONS ==================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.btn-consultation {
  background: linear-gradient(135deg, var(--brand) 0%, #4da3f7 50%, var(--brand-deep) 100%);
  background-size: 200% 200%;
  color: var(--white);
  padding: 13px 26px;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow:
    0 8px 20px rgba(38, 140, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-consultation::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.btn-consultation:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow:
    0 14px 32px rgba(38, 140, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.btn-consultation:hover::before {
  left: 100%;
}

.social-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--white);
  text-decoration: none;
  box-shadow:
    0 6px 18px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-btn i {
  font-size: 20px;
  position: relative;
  z-index: 1;
  transition: transform 0.3s ease;
}

.social-btn--telegram {
  background: linear-gradient(135deg, #2AABEE 0%, #229ED9 50%, #1E8ED3 100%);
  background-size: 200% 200%;
}

.social-btn--viber {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 50%, #6D28D9 100%);
  background-size: 200% 200%;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.08);
  background-position: 100% 50%;
}

.social-btn:hover::before {
  opacity: 1;
}

.social-btn:hover i {
  transform: scale(1.15);
}

/* ==================== MEGA MENU ==================== */
.mega-menu-wrapper {
  background: linear-gradient(135deg, #0a2a4a 0%, var(--brand) 50%, var(--brand-deep) 100%);
  background-size: 200% 200%;
  box-shadow:
    0 4px 30px rgba(38, 140, 246, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 99;
  overflow: visible;
}

.mega-menu-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 800px 400px at 20% 50%, rgba(94, 179, 255, 0.15), transparent),
    radial-gradient(ellipse 600px 300px at 80% 50%, rgba(255, 255, 255, 0.08), transparent);
  pointer-events: none;
}

.mega-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.mega-item {
  position: static;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 28px;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

.mega-link::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 12px;
}

.mega-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #5eb3ff, transparent);
  border-radius: 2px;
  transition: transform 0.3s ease;
}

.mega-link i {
  font-size: 18px;
  opacity: 0.85;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 1;
}

.mega-link span {
  position: relative;
  z-index: 1;
}

.mega-item > .mega-link:focus-visible::before,
.mega-item.is-open .mega-link::before {
  opacity: 1;
}

.mega-item > .mega-link:focus-visible::after,
.mega-item.is-open .mega-link::after {
  transform: translateX(-50%) scaleX(1);
}

.mega-item > .mega-link:focus-visible i,
.mega-item.is-open .mega-link i {
  transform: scale(1.2) rotate(-8deg);
  opacity: 1;
  filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}

/* Mega Panel */
.mega-panel {
  position: absolute;
  left: 0;
  top: 100%;
  width: 100%;
  background: linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(250,252,255,0.98) 100%);
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  box-shadow:
    0 25px 80px rgba(15, 23, 42, 0.15),
    0 10px 30px rgba(38, 140, 246, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-15px) scale(0.98);
  padding: 50px 0;
  border-top: 2px solid rgba(38, 140, 246, 0.1);
  transition:
    opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 0s linear 0s;
}

@media (max-width: 1280px) {
  .mega-panel {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }
}

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

.mega-item > .mega-link:focus-visible + .mega-panel,
.mega-item.is-open .mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

@media (hover: hover) {
  .mega-item:hover .mega-link::before {
    opacity: 1;
  }

  .mega-item:hover .mega-link::after {
    transform: translateX(-50%) scaleX(1);
  }

  .mega-item:hover .mega-link i {
    transform: scale(1.2) rotate(-8deg);
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
  }

  .mega-item:hover .mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

.panel-column-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--brand);
  margin-bottom: 25px;
  display: block;
}

.panel-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-list li {
  margin-bottom: 12px;
}

.panel-list a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 10px 14px;
  margin: 0 -14px;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.panel-list a::before {
  content: '→';
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--brand);
  transform: translateX(-5px);
}

.panel-list a::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 0;
  background: linear-gradient(180deg, var(--brand), #5eb3ff);
  border-radius: 2px;
  transition: height 0.3s ease;
}

.panel-list a:hover {
  color: var(--brand);
  gap: 10px;
  background: rgba(38, 140, 246, 0.06);
}

.panel-list a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.panel-list a:hover::after {
  height: 60%;
}

.featured-box {
  background: var(--brand-light);
  padding: 25px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(36, 142, 245, 0.1);
}

.featured-box .panel-column-title {
  color: var(--text-primary);
}

.featured-text {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0 0 12px;
}

.featured-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.featured-link {
  color: var(--brand);
  font-weight: 800;
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.featured-link:hover {
  text-decoration: underline;
}

.tech-icons {
  display: flex;
  gap: 14px;
  font-size: 20px;
  color: var(--brand);
  opacity: 0.55;
  margin-top: 14px;
  align-items: center;
}

/* ==================== HERO SECTION ==================== */
.hero-light {
  position: relative;
  background:
    radial-gradient(800px 420px at 14% 20%, rgba(29,155,240,.10), transparent 60%),
    radial-gradient(700px 380px at 86% 78%, rgba(47,124,255,.10), transparent 62%),
    linear-gradient(180deg, var(--hero-bg), var(--hero-bg2));
  padding: clamp(28px, 4vw, 56px) 0;
  overflow: hidden;
  isolation: isolate;
  min-height: 520px;
  max-height: 720px;
}

.hero-honey {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
}

.honey-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-shell { 
  position: relative; 
  z-index: 2;
  width: min(1400px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(14px, 2.2vw, 26px);
  align-items: center;
}

.hero-left {
  position: relative;
  z-index: 3;
}

.hero-panel {
  position: relative;
  max-width: 760px;
  padding: clamp(16px, 2vw, 24px);
  border-radius: 22px;
  background: rgba(255,255,255,.50);
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: 0 22px 60px rgba(15,23,42,.08);
  backdrop-filter: blur(12px) saturate(120%);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.44), rgba(255,255,255,.32));
  pointer-events: none;
}

.hero-panel > * { 
  position: relative; 
  z-index: 1; 
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(15,23,42,.75);
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(38, 140, 246, 0.15);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(250,252,255,0.85));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow:
    0 4px 15px rgba(15, 23, 42, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
  font-weight: 600;
  animation: float-gentle 4s ease-in-out infinite;
}

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

.hero-h1 {
  margin: 14px 0 10px;
  font-weight: 800;
  letter-spacing: -0.9px;
  line-height: 1.06;
  color: var(--hero-text);
  font-size: clamp(36px, 4.6vw, 58px);
}

.hero-h1-accent {
  display: inline-block;
  background: linear-gradient(90deg, var(--hero-blue), var(--hero-blue2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 0 0 18px;
  color: var(--hero-muted);
  font-size: clamp(15px, 1.35vw, 18px);
  line-height: 1.6;
  max-width: 64ch;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 16px;
  align-items: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 28px;
  border-radius: 16px;
  border: 1px solid rgba(15,23,42,.12);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.hero-btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--hero-blue) 0%, #4da3f7 50%, var(--hero-blue2) 100%);
  background-size: 200% 200%;
  border-color: rgba(29,155,240,.25);
  box-shadow:
    0 12px 35px rgba(29,155,240,.25),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

.hero-btn--primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.hero-btn--primary:hover {
  transform: translateY(-4px);
  background-position: 100% 50%;
  box-shadow:
    0 18px 50px rgba(29,155,240,.32),
    inset 0 1px 0 rgba(255,255,255,0.25);
}

.hero-btn--primary:hover::before {
  left: 100%;
}

.hero-btn--ghost {
  color: rgba(15,23,42,.9);
  background: linear-gradient(135deg, rgba(255,255,255,0.9), rgba(255,255,255,0.75));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 15px rgba(15, 23, 42, 0.05);
}

.hero-btn--ghost::after {
  content: "→";
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.hero-btn--ghost:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,0.95);
  border-color: rgba(38, 140, 246, 0.2);
  box-shadow: 0 8px 25px rgba(38, 140, 246, 0.1);
}

.hero-btn--ghost:hover::after {
  transform: translateX(4px);
}

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  padding: 14px 0 8px;
  color: rgba(15,23,42,.75);
  font-size: 14px;
}

.hero-point {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255,255,255,0.6);
  border-radius: 10px;
  border: 1px solid rgba(15,23,42,0.06);
  transition: all 0.3s ease;
  font-weight: 600;
}

.hero-point:hover {
  background: rgba(255,255,255,0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15,23,42,0.08);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero-badge {
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(38,140,246,.12);
  background: linear-gradient(135deg, rgba(255,255,255,0.85), rgba(250,252,255,0.75));
  color: rgba(15,23,42,.8);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 10px rgba(15,23,42,0.04);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  border-color: rgba(38,140,246,.25);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(38,140,246,0.1);
}

/* Hero Page Variant (без canvas) */
.hero-light--page {
  min-height: 480px;
  max-height: none;
  padding: clamp(40px, 5vw, 80px) 0;
}

/* Hero Price */
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 20px 0;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid var(--brand);
  border-radius: 12px;
  width: fit-content;
}

.hero-price-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-secondary);
}

.hero-price-value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  color: var(--brand);
}

/* Hero Features List */
.hero-features {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero-features li {
  position: relative;
  padding-left: 28px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-features li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  border-radius: 50%;
}

.hero-features li strong {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-features li span {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Hero Image Frame */
.hero-image-frame {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--hero-shadow);
  width: min(1400px, 100%);
  max-width: 1400px;
}

.hero-image {
  width: 100%;
  max-width: 1400px;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* ==================== MEDIA FRAME (VIDEO) ==================== */
.media-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(15,23,42,.10);
  box-shadow: var(--hero-shadow);
  width: 100%;
  aspect-ratio: 2 / 1;
  isolation: isolate;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: -64px;
  border-radius: 34px;
  background:
    conic-gradient(
      from 180deg,
      rgba(120, 70, 255, .55),
      rgba(29, 155, 240, .55),
      rgba(0, 217, 255, .42),
      rgba(165, 80, 255, .52),
      rgba(120, 70, 255, .55)
    );
  filter: blur(46px);
  opacity: .22;
  pointer-events: none;
  z-index: 0;
  animation: neonSpin 14s linear infinite;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(120,70,255,.70), rgba(29,155,240,.55), rgba(0,217,255,.35), rgba(255,255,255,0));
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: .32;
  pointer-events: none;
  z-index: 4;
}

@keyframes neonSpin {
  0%{ transform: rotate(0deg); filter: blur(28px) hue-rotate(0deg); }
  50%{ transform: rotate(180deg); filter: blur(30px) hue-rotate(18deg); }
  100%{ transform: rotate(360deg); filter: blur(28px) hue-rotate(0deg); }
}

.media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(1.02) contrast(1.02);
  z-index: 1;
  opacity: 0;
  transition: opacity .28s ease;
  will-change: opacity;
}

.media-video.is-active { 
  opacity: 1; 
  z-index: 2; 
}

.media-glow {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 70% 30%, rgba(29,155,240,.20), transparent 60%),
    radial-gradient(60% 55% at 25% 70%, rgba(47,124,255,.14), transparent 62%);
}

/* Clear Canvas Button */
.clear-canvas-btn {
  position: absolute;
  bottom: 24px;
  right: 24px;
  z-index: 5;
  padding: 12px 20px;
  border-radius: 12px;
  border: 1px solid #a8c232;
  background: #C0DE3D;
  color: #1a2e05;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all .2s ease;
  box-shadow: 0 4px 20px rgba(192, 222, 61, 0.35);
}

.clear-canvas-btn:hover {
  background: #b3d22f;
  box-shadow: 0 6px 25px rgba(192, 222, 61, 0.5);
}

/* ==================== FOOTER ==================== */
.site-footer {
  background: linear-gradient(180deg, #fafcff 0%, #ffffff 50%, #f8fafc 100%);
  padding: 90px 0 30px;
  border-top: none;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, #5eb3ff 25%, var(--brand-deep) 50%, #5eb3ff 75%, var(--brand) 100%);
  background-size: 200% 100%;
  animation: gradient-flow 4s linear infinite;
}

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

.site-footer::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  top: 0;
  background:
    radial-gradient(ellipse 800px 400px at 10% 90%, rgba(38, 140, 246, 0.04), transparent),
    radial-gradient(ellipse 600px 300px at 90% 20%, rgba(94, 179, 255, 0.03), transparent);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.25fr;
  gap: 64px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.footer-brand {
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -1.5px;
  margin: 0 0 20px;
  line-height: 1;
  position: relative;
  display: inline-block;
}

.footer-brand-web {
  background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.footer-brand-digital {
  color: var(--text-primary);
}

.footer-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.8;
  margin: 0 0 28px;
  max-width: 380px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--brand) 0%, #4da3f7 50%, var(--brand-deep) 100%);
  background-size: 200% 200%;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 16px 30px;
  border-radius: 14px;
  box-shadow:
    0 10px 30px rgba(38, 140, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.footer-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.6s ease;
}

.footer-cta::after {
  content: "→";
  transition: transform 0.3s ease;
}

.footer-cta:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow:
    0 16px 40px rgba(38, 140, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.footer-cta:hover::before {
  left: 100%;
}

.footer-cta:hover::after {
  transform: translateX(4px);
}

.footer-column-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 22px;
  position: relative;
  padding-bottom: 14px;
  letter-spacing: -0.3px;
}

.footer-column-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), #5eb3ff);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin: 14px 0;
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0;
  position: relative;
  padding: 4px 0;
}

.footer-links a::before {
  content: "→";
  opacity: 0;
  transform: translateX(-8px);
  transition: all 0.3s ease;
  color: var(--brand);
}

.footer-links a:hover {
  color: var(--brand);
  gap: 8px;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.contact-row {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.6;
}

.contact-row i {
  color: var(--brand);
  font-size: 18px;
  margin-top: 3px;
  opacity: 0.95;
}

.contact-row a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.contact-row a:hover {
  color: var(--brand);
}

.footer-social {
  display: flex;
  gap: 14px;
  margin-top: 12px;
}

.social-pill {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  border: 2px solid transparent;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--brand), #5eb3ff, var(--brand-deep)) border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.social-pill i {
  font-size: 22px;
  transition: all 0.3s ease;
}

.social-pill:hover {
  background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 100%);
  transform: translateY(-4px) scale(1.05);
  color: white;
  box-shadow: 0 10px 25px rgba(38, 140, 246, 0.3);
}

.social-pill:hover i {
  transform: scale(1.1);
}

.footer-bottom {
  margin-top: 64px;
  padding-top: 22px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 14px;
}

.footer-bottom a {
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-bottom a:hover {
  color: var(--brand);
}

.footer-bottom-right {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1200px) {
  .main-nav {
    gap: 15px;
  }

  .nav-list {
    gap: 15px;
  }

  .nav-link {
    font-size: 13px;
    padding: 6px;
  }

  .mega-menu {
    gap: 20px;
  }

  .mega-link {
    padding: 20px 15px;
    font-size: 15px;
  }
}

/* ==================== MOBILE (≤1024px) ==================== */
@media (max-width: 1024px) {
  [data-include="partials/header.html"] {
    min-height: 76px;
  }

  .burger {
    display: flex;
    min-width: 44px;
    min-height: 44px;
  }

  body.nav-open .burger {
    opacity: 0;
    pointer-events: none;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(340px, 85vw);
    height: 100vh;
    height: 100svh;
    height: 100dvh;
    background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    box-shadow:
      -20px 0 60px rgba(15, 23, 42, 0.15),
      -5px 0 20px rgba(38, 140, 246, 0.08);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s ease;
    z-index: 999;
    gap: 0;
    border-left: none;
    border-radius: 28px 0 0 28px;
    overflow: hidden;
    transform: translateX(110%);
    visibility: hidden;
  }

  .main-nav::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--brand) 0%, #5eb3ff 50%, var(--brand-deep) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
  }

  .main-nav.active {
    transform: translateX(0);
    visibility: visible;
  }

  .main-nav.active::before {
    opacity: 1;
  }

  .mobile-nav-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 14px;
    padding: 18px 16px;
    background: linear-gradient(135deg, rgba(38, 140, 246, 0.05), rgba(94, 179, 255, 0.03));
    position: relative;
    z-index: 2;
    border-bottom: 1px solid rgba(38, 140, 246, 0.1);
  }

  .mobile-logo {
    font-weight: 900;
    letter-spacing: -1px;
    text-decoration: none;
    background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-size: 20px;
    line-height: 1;
  }

  .mobile-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 8px;
    text-decoration: none;
    color: var(--brand);
    font-weight: 700;
    font-size: clamp(10px, 3.0vw, 15px);
    text-align: center;
  }

  .mobile-close {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    border: none;
    background: linear-gradient(135deg, rgba(38, 140, 246, 0.1), rgba(94, 179, 255, 0.08));
    color: var(--brand);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 18px;
  }

  .mobile-close:hover {
    background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 100%);
    color: white;
    transform: rotate(90deg);
    box-shadow: 0 4px 15px rgba(38, 140, 246, 0.3);
  }

  .nav-list {
    display: none;
  }

  .nav-accordion {
    display: block;
    width: 100%;
    padding: 8px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .accordion-group {
    border-radius: 14px;
    margin-bottom: 8px;
    background: linear-gradient(165deg, #ffffff 0%, #fafcff 100%);
    border: 1px solid rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.03);
  }

  .accordion-group:hover {
    border-color: rgba(38, 140, 246, 0.15);
    box-shadow: 0 4px 15px rgba(38, 140, 246, 0.08);
  }

  .accordion-trigger {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: transparent;
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    gap: 12px;
  }

  .accordion-trigger:hover {
    background: linear-gradient(135deg, rgba(38, 140, 246, 0.06), rgba(94, 179, 255, 0.04));
  }

  .accordion-trigger.active {
    background: linear-gradient(135deg, rgba(38, 140, 246, 0.08), rgba(94, 179, 255, 0.05));
  }

  .accordion-trigger.active .accordion-text {
    color: var(--brand);
    font-weight: 700;
  }

  .accordion-icon {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 100%);
    color: white;
    font-size: 15px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(38, 140, 246, 0.25);
  }

  .accordion-trigger:hover .accordion-icon {
    transform: scale(1.05) rotate(-3deg);
  }

  .accordion-trigger.active .accordion-icon {
    background: linear-gradient(135deg, var(--brand-deep) 0%, var(--brand) 100%);
  }

  .accordion-text {
    flex: 1;
    font-size: 14px;
    letter-spacing: -0.2px;
  }

  .accordion-arrow {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(38, 140, 246, 0.08);
    color: var(--brand);
    font-size: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .accordion-trigger.active .accordion-arrow {
    transform: rotate(90deg);
    background: var(--brand);
    color: white;
  }

  .accordion-content {
    display: none;
    background: linear-gradient(180deg, rgba(38, 140, 246, 0.03), transparent);
    padding: 0 8px 8px;
  }

  .accordion-content.active {
    display: block;
    animation: slideDown 0.3s ease;
  }

  .accordion-content a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px 12px 58px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 4px;
    transition: all 0.3s ease;
    position: relative;
  }

  .accordion-content a::before {
    content: "";
    position: absolute;
    left: 42px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(38, 140, 246, 0.3);
    transition: all 0.3s ease;
  }

  .accordion-content a:hover {
    background: rgba(38, 140, 246, 0.08);
    color: var(--brand);
    padding-left: 62px;
  }

  .accordion-content a:hover::before {
    background: var(--brand);
    transform: translateY(-50%) scale(1.3);
  }

  .accordion-content .accordion-arrow {
    width: 22px;
    height: 22px;
    font-size: 10px;
    background: transparent;
    opacity: 0;
    transition: all 0.3s ease;
  }

  .accordion-content a:hover .accordion-arrow {
    opacity: 1;
    transform: translateX(4px);
  }

  .contact-info {
    display: none;
  }

  .header-container {
    gap: 12px;
  }

  .header-contact {
    margin-left: auto;
    min-width: 0;
    gap: 8px;
  }

  .header-actions {
    gap: 6px;
    flex-wrap: nowrap;
  }

  .social-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
  }

  .btn-consultation {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 13px;
    min-height: 44px;
    font-size: 12px;
    line-height: 1;
  }

  .mega-menu-wrapper {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .footer-grid > :first-child,
  .footer-grid > :last-child {
    grid-column: 1 / -1;
  }

  .site-footer {
    padding: 50px 0 20px;
  }
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-right {
    justify-content: center;
  }

  .media-frame {
    aspect-ratio: 16 / 9;
  }

  .hero-light {
    min-height: 480px;
    max-height: none;
  }

  .hero-light--page {
    padding: clamp(32px, 4vw, 60px) 0;
  }

  .hero-image-frame {
    width: min(1400px, 100%);
    max-width: 1400px;
    margin: 0 auto;
  }

  .hero-price {
    margin: 16px 0;
    padding: 14px 18px;
  }

  .hero-features {
    margin-top: 20px;
  }
}

@media (max-width: 768px) {
  .header-container {
    gap: 10px;
  }

  .header-contact {
    gap: 6px;
  }

  .logo {
    font-size: 26px;
  }

  .info-content {
    font-size: 12px;
    text-align: center;
  }

  .info-badge {
    font-size: 10px;
    padding: 3px 10px;
  }

  .site-header {
    padding: 15px 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  .mega-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.97);
  }

  .nav-overlay {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(15, 23, 42, 0.7);
  }

  .social-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 12px;
  }

  .social-btn i {
    font-size: 15px;
  }

  .footer-brand {
    font-size: 28px;
  }

  .footer-description {
    font-size: 14px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

@media (max-width: 640px) {
  .hero-shell { 
    width: min(1400px, calc(100% - 28px)); 
  }
  
  .media-frame { 
    aspect-ratio: 4 / 3; 
  }
  
  .hero-light {
    min-height: 440px;
    max-height: none;
    padding: 24px 0;
  }
  
  .clear-canvas-btn {
    bottom: 20px;
    right: 20px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .hero-panel {
    max-width: 100%;
    padding: 16px;
    border-radius: 18px;
    background: rgba(255,255,255,.55);
  }

  .hero-points,
  .hero-badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-points {
    padding: 12px 0 8px;
  }

  .hero-point,
  .hero-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    text-align: center;
    white-space: nowrap;
  }

  .hero-points .hero-point:nth-child(3),
  .hero-badges .hero-badge:nth-child(3) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }

  .header-container {
    gap: 6px;
  }

  .header-contact {
    min-width: 0;
    gap: 6px;
  }

  .header-actions {
    min-width: 0;
    gap: 4px;
    align-items: center;
  }

  .btn-consultation {
    padding: 7px 8px;
    max-width: 80px;
    height: 44px;
    min-height: 44px;
    font-size: 12px;
    border-radius: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .social-btn {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
    flex-shrink: 0;
    border-radius: 11px;
  }

  .social-btn i {
    font-size: 14px;
  }

  .social-btn--viber i {
    font-size: 15px;
  }

  .logo {
    font-size: 18px;
    letter-spacing: -1px;
  }

  .burger {
    padding: 7px;
    gap: 4px;
    min-width: 44px;
    min-height: 44px;
  }

  .burger-line {
    width: 21px;
    height: 2.5px;
  }

  .main-nav {
    width: min(280px, 85vw);
  }
}

@media (max-width: 390px) {
  .container {
    padding: 0 10px;
  }

  .header-container {
    gap: 2px;
  }

  .header-actions {
    gap: 3px;
  }

  .logo {
    font-size: 17px;
    letter-spacing: -0.8px;
  }

  .btn-consultation {
    max-width: 66px;
    padding: 7px 6px;
    font-size: 11px;
  }

  .hero-points,
  .hero-badges {
    grid-template-columns: 1fr;
  }

  .hero-point,
  .hero-badge {
    white-space: normal;
  }

  .hero-points .hero-point:nth-child(3),
  .hero-badges .hero-badge:nth-child(3) {
    grid-column: auto;
  }
}

/* ==================== ACCESSIBILITY ==================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .media-frame::before { 
    animation: none; 
  }
  
  .media-video { 
    transition: none; 
  }
}

@media (hover: none) {
  .btn-consultation:hover,
  .social-btn:hover {
    transform: none;
    box-shadow:
      0 6px 18px rgba(0, 0, 0, 0.12),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    filter: none;
  }

  .social-btn:hover i {
    transform: none;
  }
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ==================== SERVICES SECTION ==================== */
.services-section {
  position: relative;
  padding: 0 0 70px;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  overflow-x: clip;
  overflow-y: visible;
}

.services-section > .container {
  position: relative;
  z-index: 1;
}

.services-header {
  position: relative;
  padding: 60px 0;
  margin: 0 calc(-50vw + 50%) 60px;
  background: linear-gradient(180deg, #0a2a4a 0%, #237FE2 100%);
  overflow: hidden;
}

.waves-canvas,
#waves-canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.services-header-grid {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max-width);
  padding: 0 var(--spacing-md);
  margin: 0 auto;
}

.services-header-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.services-header-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.services-title {
  font-size: clamp(28px, 4.2vw, 44px);
  font-weight: 800;
  color: #fff;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.5px;
  text-align: left;
}

.services-description {
  font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(255,255,255,0.85);
  margin: 0;
  line-height: 1.7;
  text-align: left;
}

.services-meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.services-meta-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  padding: 16px 22px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.services-meta-item:hover {
  background: rgba(255,255,255,0.16);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.35);
}

.services-meta-item i {
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  flex-shrink: 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 24px;
  margin-top: 24px;
  align-items: stretch;
}

.service-card {
  position: relative;
  background: linear-gradient(165deg, #ffffff 0%, #fafcff 100%);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 20px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 20px rgba(15, 23, 42, 0.04),
    0 1px 3px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  color: var(--text-primary);
  isolation: isolate;
  height: 100%;
}

/* Декоративный градиент на фоне */
.service-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle at 70% 30%,
    rgba(38, 140, 246, 0.08) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: -1;
}

/* Цветная полоса сверху */
.service-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, #5eb3ff 50%, var(--brand-deep) 100%);
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transform: scaleX(0.3);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(38, 140, 246, 0.15);
  box-shadow:
    0 20px 50px rgba(38, 140, 246, 0.12),
    0 8px 25px rgba(15, 23, 42, 0.08),
    0 0 0 1px rgba(38, 140, 246, 0.08);
}

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

.service-card:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.service-list {
  margin: 12px 0 8px;
  padding: 16px;
  background: linear-gradient(135deg, rgba(38, 140, 246, 0.04) 0%, rgba(94, 179, 255, 0.02) 100%);
  border-radius: 12px;
  border: 1px solid rgba(38, 140, 246, 0.08);
  transition: all 0.3s ease;
}

.service-card:hover .service-list {
  background: linear-gradient(135deg, rgba(38, 140, 246, 0.06) 0%, rgba(94, 179, 255, 0.04) 100%);
  border-color: rgba(38, 140, 246, 0.12);
}

.service-list-title {
  font-weight: 700;
  font-size: 13px;
  color: var(--brand);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-list-title::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--brand);
  border-radius: 50%;
}

.service-list-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-list-items li {
  position: relative;
  padding-left: 26px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
  transition: all 0.25s ease;
}

.service-list-items li:hover {
  color: var(--text-primary);
  transform: translateX(2px);
}

.service-list-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-list-items li::after {
  content: "✓";
  position: absolute;
  left: 4px;
  top: 5px;
  color: white;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
}

.service-card-top {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 16px;
  row-gap: 6px;
  align-items: start;
}

.service-card-top .service-title {
  margin-top: 2px;
  grid-column: 2;
}

.service-card-top .service-description {
  margin-top: 0;
  grid-column: 1 / -1;
}

.service-card-top-text {
  display: contents;
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 50%, var(--brand-deep) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  font-size: 20px;
  flex-shrink: 0;
  box-shadow:
    0 8px 24px rgba(38, 140, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.service-icon::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(38, 140, 246, 0.3), rgba(94, 179, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.service-card:hover .service-icon {
  background-position: 100% 50%;
  transform: scale(1.08) rotate(-3deg);
  box-shadow:
    0 12px 32px rgba(38, 140, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card:hover .service-icon::before {
  opacity: 1;
}

.service-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: 2.7em;
}

.service-card:hover .service-title {
  color: var(--brand-deep);
}

.service-description {
  margin: 0;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  position: relative;
  padding-left: 0;
  transition: all 0.3s ease;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  min-height: 5.1em;
}

.service-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.service-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.service-price {
  font-weight: 800;
  font-size: 20px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: -0.3px;
}

.service-term {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  padding: 5px 12px;
  background: rgba(15, 23, 42, 0.04);
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-term::before {
  content: "⏱";
  font-size: 12px;
}

.service-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  border-radius: 999px;
  background: #f5f3ff;
  color: #5b46a6;
  font-weight: 700;
  font-size: 12px;
  border: 1px solid #e4ddff;
  transition: all 0.3s ease;
}

.service-card:hover .service-tag {
  background: #ede8ff;
}

.service-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--brand) 0%, #4da3f7 50%, var(--brand-deep) 100%);
  background-size: 200% 200%;
  background-position: 0% 50%;
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 14px 32px;
  border-radius: 14px;
  box-shadow:
    0 8px 24px rgba(38, 140, 246, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

.service-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s ease;
}

.service-cta:hover {
  transform: translateY(-3px);
  background-position: 100% 50%;
  box-shadow:
    0 14px 36px rgba(38, 140, 246, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.service-cta:hover::before {
  left: 100%;
}

.service-cta::after {
  content: "→";
  font-size: 16px;
  transition: transform 0.3s ease;
}

.service-cta:hover::after {
  transform: translateX(4px);
}

.services-note {
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: var(--border-radius-lg);
  border: 1px dashed rgba(38, 140, 246, 0.35);
  background: rgba(230, 243, 254, 0.45);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.services-note p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.services-asterisk {
  color: var(--brand);
  font-weight: 800;
  margin-right: 6px;
}

.services-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-deep) 100%);
  color: var(--white);
  text-decoration: none;
  font-weight: 800;
  font-size: 14px;
  padding: 12px 18px;
  border-radius: var(--border-radius);
  box-shadow: 0 14px 32px rgba(38, 140, 246, 0.28);
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.08);
}

.services-cta:hover {
  transform: translateY(-2px);
  background: linear-gradient(90deg, var(--brand-deep) 0%, #155bb1 100%);
  box-shadow: 0 16px 36px rgba(38, 140, 246, 0.34);
}

.services-group {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.services-group:first-of-type {
  margin-top: 0;
}

.services-group-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}

.services-group-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.5px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.services-group-title::before {
  content: "";
  width: 5px;
  height: 28px;
  background: linear-gradient(180deg, var(--brand) 0%, #5eb3ff 100%);
  border-radius: 3px;
  flex-shrink: 0;
}

.services-group-title::after {
  content: "";
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, rgba(38,140,246,0.2), transparent);
  margin-left: 20px;
  min-width: 100px;
}

/* Unified Services Block (обгортка для секції) */
.services-unified-block {
  background: linear-gradient(135deg, #f6f9fe 0%, #eef5fd 50%, #f8fbff 100%);
  border-radius: 24px;
  border: 1px solid rgba(38, 140, 246, 0.1);
  padding: 36px 36px 28px;
  box-shadow: 0 4px 24px rgba(38, 140, 246, 0.06);
}

.services-unified-block .services-info-block {
  margin-bottom: 28px;
}

.services-unified-block .services-grid {
  margin-top: 0;
}

.services-unified-block .category-cta-wrap {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(38, 140, 246, 0.08);
}

/* Services Info Block */
.services-info-block {
  margin-bottom: 20px;
}

/* Collapsible service list (гармошка) */
.service-list--collapsible {
  padding: 10px 12px;
  background: #e9f2ff;
  border: 1px solid #d6e6ff;
  border-radius: 12px;
  margin: 10px 0 6px;
}

.service-list--collapsible.is-open {
  padding: 16px;
}

.service-list-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 2px 0;
  background: transparent;
  border: none;
  border-radius: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.service-list--collapsible.is-open .service-list-toggle {
  padding: 0 0 10px;
}

.service-list-toggle:hover {
  background: transparent;
  border-color: transparent;
}

.service-list-toggle .service-list-title {
  margin: 0;
  padding: 0;
}

.service-list-toggle .service-list-title::before {
  display: none;
}

.service-list-arrow {
  font-size: 11px;
  color: var(--brand);
  transition: transform 0.3s ease;
}

.service-list--collapsible.is-open .service-list-arrow {
  transform: rotate(180deg);
}

.service-list-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 0;
}

.service-list--collapsible.is-open .service-list-body {
  max-height: 400px;
  padding-top: 10px;
}

.service-list-body .service-list-items {
  padding-top: 0;
}

.services-info-title {
  font-size: clamp(28px, 3.5vw, 38px);
  font-weight: 900;
  color: var(--text-primary);
  margin: 0 0 24px;
  letter-spacing: -0.8px;
  line-height: 1.1;
}

.services-info-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px 28px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(38, 140, 246, 0.1);
}

.services-info-layout--design {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.9fr);
  gap: clamp(20px, 3vw, 42px);
  align-items: stretch;
  margin-bottom: 16px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(38, 140, 246, 0.1);
}

.services-info-content--design {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.services-info-content--design .services-info-title {
  margin: 0 0 20px;
}

.services-info-layout--design .services-info-features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 24px;
  flex: 1;
  margin: 0;
  padding: 0;
  border-bottom: 0;
  align-content: space-between;
}

.services-info-layout--design .info-feature {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(38, 140, 246, 0.12);
  background: rgba(255, 255, 255, 0.34);
}

.services-info-layout--design-compact {
  grid-template-columns: minmax(0, 1.55fr) minmax(220px, 0.75fr);
  gap: clamp(14px, 2vw, 24px);
  margin-bottom: 12px;
  padding-bottom: 18px;
}

.services-info-layout--design-compact .services-info-title {
  margin-bottom: 30px;
}

.services-info-layout--design .services-info-features.services-info-features--compact {
  gap: 10px 14px;
  align-content: start;
  flex: 0 0 auto;
  grid-auto-rows: minmax(64px, auto);
}

.services-info-features--compact .info-feature {
  gap: 10px;
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  min-height: 64px;
}

.services-info-features--compact .info-feature-icon {
  width: 24px;
  height: 24px;
  min-width: 24px;
  margin-top: 0;
}

.services-info-features--compact .info-feature-icon i {
  font-size: 10px;
}

.services-info-media-highlight {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-radius: 20px;
  border: 1px solid rgba(38, 140, 246, 0.16);
  background:
    radial-gradient(circle at 16% 16%, rgba(38, 140, 246, 0.18), transparent 45%),
    linear-gradient(165deg, rgba(255, 255, 255, 0.76) 0%, rgba(237, 245, 255, 0.95) 100%);
  box-shadow: 0 10px 30px rgba(38, 140, 246, 0.12);
  overflow: hidden;
  padding: 16px;
}

.services-info-media-highlight::after {
  content: "";
  position: absolute;
  right: -64px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(38, 140, 246, 0.1);
  pointer-events: none;
}

.services-info-media-highlight img {
  width: min(100%, 213px);
  height: auto;
  display: block;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 12px 22px rgba(14, 59, 114, 0.2));
}

.services-info-media-highlight--cover {
  align-items: stretch;
  padding: 0;
}

.services-info-media-highlight--cover::after {
  display: none;
}

.services-info-media-highlight--cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: none;
}

.services-info-media-highlight.services-info-media-highlight--no-frame {
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  min-height: 0;
}

.services-info-media-highlight.services-info-media-highlight--no-frame::after {
  display: none;
}

.services-info-media-highlight.services-info-media-highlight--no-frame img {
  width: min(100%, 340px);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 12px 22px rgba(14, 59, 114, 0.18));
}

.services-info-media-highlight.services-info-media-highlight--design-compact img {
  width: min(100%, 272px);
}

.services-info-media-highlight.services-info-media-highlight--marketing-compact img {
  width: min(100%, 340px);
}

.info-feature {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.45;
}

.info-feature-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #d4e94c 0%, #b8d935 100%);
  border-radius: 50%;
  margin-top: 1px;
}

.info-feature-icon i {
  color: #1a2e05;
  font-size: 12px;
  font-weight: 900;
}

.services-info-benefits {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.info-benefit {
  padding: 16px 20px;
  position: relative;
  transition: all 0.3s ease;
}

.info-benefit:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: rgba(15, 23, 42, 0.1);
}

.info-benefit:hover {
  transform: translateY(-2px);
}

.benefit-title {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
  line-height: 1.15;
}

.benefit-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
}

@media (max-width: 1600px) and (min-width: 1025px) {
  .services-group {
    margin-top: 10px;
    gap: 4px;
  }

  .services-unified-block {
    padding: 9px 14px 0;
    border-radius: 14px;
  }

  .services-unified-block .services-info-block {
    margin-bottom: 4px;
  }

  .services-unified-block .category-cta-wrap {
    margin-top: -2px;
    padding-top: 0;
    border-top: 0;
  }

  .services-info-layout--design-compact {
    gap: 6px;
    margin-bottom: 1px;
    padding-bottom: 2px;
  }

  .services-info-layout--design .services-info-features.services-info-features--compact {
    gap: 4px 6px;
    grid-auto-rows: minmax(42px, auto);
  }

  .services-info-features--compact .info-feature {
    min-height: 42px;
    padding: 5px 7px;
    font-size: 10.5px;
    line-height: 1.15;
  }

  .services-info-features--compact .info-feature-icon {
    width: 16px;
    height: 16px;
    min-width: 16px;
  }

  .services-info-features--compact .info-feature-icon i {
    font-size: 7px;
  }

  .services-info-media-highlight.services-info-media-highlight--design-compact img {
    width: min(100%, 176px);
  }

  .info-benefit {
    padding: 3px 5px;
  }

  .benefit-title {
    font-size: clamp(13px, 1.15vw, 16px);
    margin-bottom: 1px;
  }

  .benefit-desc {
    font-size: 10px;
    line-height: 1.15;
  }

  .services-grid {
    margin-top: 1px;
    gap: 4px;
  }

  .service-card {
    padding: 8px 8px 4px;
    border-radius: 12px;
    gap: 3px;
  }

  .service-card::after {
    left: 12px;
    right: 12px;
  }

  .service-icon {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 13px;
  }

  .service-title {
    font-size: 13px;
    min-height: 2em;
  }

  .service-description {
    font-size: 11px;
    line-height: 1.25;
    -webkit-line-clamp: 2;
    min-height: 2.2em;
  }

  .service-list--collapsible {
    padding: 3px 6px;
    margin: 1px 0 0;
  }

  .service-list--collapsible.is-open {
    padding: 9px;
  }

  .service-list-title {
    font-size: 10px;
    margin-bottom: 1px;
  }

  .service-list-items {
    gap: 4px;
  }

  .service-list-items li {
    font-size: 10px;
    line-height: 1.2;
    padding-left: 18px;
  }

  .service-list-items li::before {
    width: 10px;
    height: 10px;
    top: 3px;
    border-radius: 3px;
  }

  .service-list-items li::after {
    left: 2px;
    top: 2px;
    font-size: 7px;
  }

  .service-footer {
    padding-top: 2px;
    gap: 2px;
  }

  .service-meta {
    gap: 4px;
  }

  .service-price {
    font-size: 14px;
  }

  .service-term {
    font-size: 10px;
    padding: 2px 6px;
  }

  .service-tag {
    font-size: 10px;
    padding: 3px 7px;
  }

  .service-cta {
    font-size: 10px;
    padding: 5px 10px;
    border-radius: 9px;
  }

  .category-cta {
    margin-top: -4px;
    padding: 7px 16px;
    border-radius: 10px;
    font-size: 12px;
  }
}

@media (min-width: 1025px) {
  .services-section .services-group:first-of-type {
    margin-top: 4px;
    gap: 1px;
  }

  .services-section .services-group:first-of-type .services-unified-block {
    padding: 6px 10px 0 !important;
  }

  .services-section .services-group:first-of-type .services-info-block {
    margin-bottom: 1px !important;
  }

  .services-section .services-group:first-of-type .services-info-title {
    margin-bottom: 8px !important;
    font-size: clamp(24px, 2.2vw, 32px) !important;
  }

  .services-section .services-group:first-of-type .services-info-layout--design-compact {
    gap: 4px !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  .services-section .services-group:first-of-type .services-info-layout--design .services-info-features.services-info-features--compact {
    gap: 3px 5px !important;
    grid-auto-rows: minmax(34px, auto) !important;
  }

  .services-section .services-group:first-of-type .services-info-features--compact .info-feature {
    min-height: 34px !important;
    padding: 3px 6px !important;
    font-size: 10px !important;
    line-height: 1.1 !important;
  }

  .services-section .services-group:first-of-type .services-info-media-highlight.services-info-media-highlight--design-compact img {
    width: min(100%, 158px) !important;
  }

  .services-section .services-group:first-of-type .info-benefit {
    padding: 2px 4px !important;
  }

  .services-section .services-group:first-of-type .benefit-title {
    font-size: clamp(12px, 1vw, 15px) !important;
    margin-bottom: 0 !important;
  }

  .services-section .services-group:first-of-type .benefit-desc {
    font-size: 9.5px !important;
    line-height: 1.1 !important;
  }

  .services-section .services-group:first-of-type .services-grid {
    margin-top: 0 !important;
    gap: 2px !important;
  }

  .services-section .services-group:first-of-type .service-card {
    padding: 6px 7px 3px !important;
    gap: 2px !important;
    border-radius: 10px !important;
  }

  .services-section .services-group:first-of-type .service-card-top {
    column-gap: 10px !important;
    row-gap: 2px !important;
  }

  .services-section .services-group:first-of-type .service-icon {
    width: 28px !important;
    height: 28px !important;
    border-radius: 8px !important;
    font-size: 12px !important;
  }

  .services-section .services-group:first-of-type .service-title {
    font-size: 11.5px !important;
    min-height: 1.8em !important;
  }

  .services-section .services-group:first-of-type .service-description {
    font-size: 10px !important;
    line-height: 1.2 !important;
    min-height: 2.05em !important;
    margin-bottom: 0 !important;
  }

  .services-section .services-group:first-of-type .service-list--collapsible {
    margin: 0 !important;
    padding: 2px 5px !important;
  }

  .services-section .services-group:first-of-type .service-footer {
    padding-top: 1px !important;
    gap: 1px !important;
  }

  .services-section .services-group:first-of-type .service-meta {
    gap: 3px !important;
  }

  .services-section .services-group:first-of-type .service-price {
    font-size: 13px !important;
  }

  .services-section .services-group:first-of-type .service-term {
    font-size: 9px !important;
    padding: 1px 5px !important;
  }

  .services-section .services-group:first-of-type .service-tag {
    font-size: 9px !important;
    padding: 2px 6px !important;
  }

  .services-section .services-group:first-of-type .service-cta {
    font-size: 9px !important;
    padding: 4px 8px !important;
    border-radius: 8px !important;
  }

  .services-section .services-group:first-of-type .category-cta-wrap {
    margin-top: -18px !important;
  }

  .services-section .services-group:first-of-type .category-cta {
    margin-top: -8px !important;
    padding: 5px 12px !important;
    border-radius: 8px !important;
    font-size: 11px !important;
  }
}

@media (max-height: 900px) and (min-width: 1025px) {
  .services-section {
    padding: 0 0 36px;
  }

  .services-header {
    padding: 26px 0;
    margin-bottom: 12px;
  }

  .services-header-grid {
    gap: 14px;
  }

  .services-title {
    font-size: clamp(30px, 3.1vw, 44px);
  }

  .services-description {
    font-size: 14px;
    line-height: 1.45;
    margin-top: 10px;
  }
}

@media (max-width: 1024px) {
  .services-info-features {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 24px;
  }

  .services-info-layout--design {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services-info-layout--design-compact {
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 14px;
  }

  .services-info-layout--design .services-info-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    align-content: start;
  }

  .services-info-layout--design .services-info-features.services-info-features--compact {
    gap: 10px 12px;
    grid-auto-rows: minmax(62px, auto);
  }

  .services-info-content--design .services-info-title {
    margin-bottom: 16px;
  }

  .services-info-media-highlight {
    min-height: 220px;
    align-items: center;
    padding: 14px;
  }

  .services-info-media-highlight img {
    width: min(100%, 280px);
  }

  .services-info-media-highlight.services-info-media-highlight--design-compact img {
    width: min(100%, 248px);
  }

  .services-info-media-highlight.services-info-media-highlight--marketing-compact img {
    width: min(100%, 310px);
  }

  .services-info-benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .info-benefit:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 640px) {
  .services-unified-block {
    padding: 24px 16px 20px;
    border-radius: 18px;
  }

  .services-info-title {
    font-size: 26px;
    margin-bottom: 18px;
  }

  .services-info-features {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 18px;
  }

  .services-info-layout--design {
    margin-bottom: 14px;
    padding-bottom: 18px;
    gap: 12px;
  }

  .services-info-layout--design .services-info-features {
    grid-template-columns: 1fr;
    gap: 10px;
    align-content: start;
  }

  .services-info-layout--design .services-info-features.services-info-features--compact {
    gap: 8px;
    grid-auto-rows: minmax(58px, auto);
  }

  .services-info-content--design .services-info-title {
    margin-bottom: 14px;
  }

  .services-info-layout--design .info-feature {
    padding: 10px 12px;
    border-radius: 12px;
  }

  .services-info-features--compact .info-feature {
    padding: 9px 11px;
    gap: 8px;
    font-size: 12.5px;
  }

  .services-info-media-highlight {
    min-height: 170px;
    border-radius: 16px;
  }

  .services-info-media-highlight img {
    width: min(100%, 220px);
  }

  .services-info-media-highlight.services-info-media-highlight--design-compact img {
    width: min(100%, 206px);
  }

  .services-info-media-highlight.services-info-media-highlight--marketing-compact img {
    width: min(100%, 258px);
  }

  .info-feature {
    font-size: 13px;
  }

  .info-feature-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
  }

  .info-feature-icon i {
    font-size: 10px;
  }

  .services-info-benefits {
    grid-template-columns: 1fr 1fr;
  }

  .info-benefit {
    padding: 12px 14px;
  }

  .benefit-title {
    font-size: 16px;
  }

  .benefit-desc {
    font-size: 12px;
  }
}

.category-cta-wrap {
  margin: 20px 0 0;
  display: flex;
  justify-content: center;
}

.category-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 14px;
  border: 2px solid #b0ce34;
  background: #c2df3c;
  color: #1b2a12;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(194, 223, 60, 0.35);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.category-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #b3d22f;
  opacity: 0;
  z-index: 0;
  transition: opacity 0.4s ease;
}

.category-cta::after {
  content: "→";
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
}

.category-cta span,
.category-cta {
  position: relative;
  z-index: 2;
}

.category-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(194, 223, 60, 0.45);
  color: #1b2a12;
}

.category-cta:hover::before {
  opacity: 1;
}

.category-cta:hover::after {
  transform: translateX(4px);
}

/* ==================== CTA OFFER ==================== */
.cta-offer {
  position: relative;
  padding: 24px 0 32px;
  background: linear-gradient(180deg, #0a2a4a 0%, #237fe2 100%);
  overflow: hidden;
}

.cta-offer .container {
  max-width: var(--max-width);
  position: relative;
  z-index: 1;
}

.cta-offer-inner {
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  border-radius: 24px;
  padding: 0;
  display: flex;
  width: 100%;
  gap: clamp(20px, 2.5vw, 36px);
  align-items: flex-start;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.cta-offer-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1 1 720px;
  max-width: 100%;
}

.cta-offer-title {
  margin: 0 0 6px;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.25;
  letter-spacing: -0.4px;
}

.cta-offer-text {
  margin: 0 0 15px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  line-height: 1.5;
  max-width: none;
  white-space: normal;
  font-weight: 400;
}

.cta-offer-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: linear-gradient(165deg, #ffffff 0%, #fafcff 100%);
  padding: 18px 20px 16px;
  border-radius: 20px;
  box-shadow:
    0 20px 60px rgba(0,0,0,0.18),
    0 8px 25px rgba(0,0,0,0.1),
    inset 0 1px 0 rgba(255,255,255,0.9);
  max-width: none;
  width: 100%;
  position: relative;
  overflow: hidden;
}

.cta-offer-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, #5eb3ff 50%, var(--brand-deep) 100%);
}

.cta-form-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 8px;
}

.cta-form-row--inline {
  display: grid;
  grid-template-columns: 1.3fr 1.3fr 1.6fr 1.4fr;
  gap: 10px;
  margin-bottom: 8px;
}

.cta-offer-form input[type="text"],
.cta-offer-form input[type="tel"],
.cta-offer-form input[type="url"] {
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid rgba(15, 23, 42, 0.08);
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  font-size: 14px;
  color: #2b2b2b;
  font-weight: 500;
  outline: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: inset 0 2px 4px rgba(15, 23, 42, 0.03);
  width: 100%;
}

.cta-offer-form input::placeholder {
  color: rgba(43, 43, 43, 0.45);
  font-weight: 400;
}

.cta-offer-form input:hover {
  border-color: rgba(38, 140, 246, 0.25);
  background: linear-gradient(135deg, #fafcff 0%, #f5f8fc 100%);
}

.cta-offer-form input:focus {
  border-color: var(--brand);
  background: #ffffff;
  box-shadow:
    0 0 0 4px rgba(38, 140, 246, 0.1),
    inset 0 2px 4px rgba(38, 140, 246, 0.03);
  transform: translateY(-1px);
}

.cta-offer-form textarea {
  width: 100%;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: var(--white);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  font-family: inherit;
  outline: none;
  resize: vertical;
  min-height: 64px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.cta-offer-form textarea::placeholder {
  color: rgba(15, 23, 42, 0.4);
  font-weight: 400;
}

.cta-offer-form textarea:hover {
  border-color: rgba(38, 140, 246, 0.3);
  background: rgba(255,255,255,1);
}

.cta-offer-form textarea:focus {
  border-color: var(--brand);
  box-shadow:
    0 0 0 3px rgba(38, 140, 246, 0.1),
    0 4px 12px rgba(38, 140, 246, 0.15);
}

.cta-offer-form input:focus-visible,
.cta-offer-form textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

.cta-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.cta-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #ff4757 0%, #ff6b6b 50%, #ff8e53 100%);
  background-size: 200% 200%;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  box-shadow:
    0 12px 35px rgba(255, 71, 87, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  margin-bottom: 6px;
  position: relative;
  overflow: hidden;
}

.cta-submit::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.cta-submit::after {
  content: "🚀";
  font-size: 18px;
  transition: transform 0.3s ease;
}

.cta-submit:hover {
  transform: translateY(-4px);
  background-position: 100% 50%;
  box-shadow:
    0 18px 45px rgba(255, 71, 87, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.cta-submit:hover::before {
  left: 100%;
}

.cta-submit:hover::after {
  transform: translateX(4px) rotate(15deg);
}

.cta-submit:active {
  transform: translateY(-2px);
}

.cta-checkbox {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(43, 43, 43, 0.62);
  line-height: 1.5;
}

.cta-checkbox input {
  width: 19px;
  height: 19px;
  accent-color: #268cf6;
  margin-top: 1px;
  flex-shrink: 0;
  cursor: pointer;
}

.cta-checkbox span {
  flex: 1;
}

.cta-checkbox span a {
  color: #268cf6;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.cta-checkbox span a:hover {
  color: #1a6fd4;
}

.cta-offer-form .cta-checkbox + .cta-checkbox {
  margin-top: 4px;
}

.cta-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 8px 14px;
  max-width: 360px;
}

.cta-features li {
  position: relative;
  padding-left: 28px;
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
}

.cta-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: -1px;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0d3d6e;
  font-weight: 900;
  font-size: 12px;
  background: linear-gradient(135deg, #5fd8f7 0%, #38c4f5 100%);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(95, 216, 247, 0.45);
}

.cta-submit--hot {
  background: linear-gradient(135deg, #ff3939 0%, #ff5544 48%, #ff6644 100%);
  box-shadow:
    0 10px 28px rgba(255, 57, 57, 0.38),
    0 3px 10px rgba(0,0,0,0.14);
}

.cta-submit--hot:hover {
  box-shadow:
    0 14px 36px rgba(255, 57, 57, 0.48),
    0 5px 14px rgba(0,0,0,0.18);
  background: linear-gradient(135deg, #ff4545 0%, #ff6550 48%, #ff7550 100%);
}

.cta-offer-figure {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  max-width: 260px;
  flex: 0 0 260px;
}

.cta-offer-circle {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1;
  background: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: none;
  overflow: visible;
  box-shadow: none;
  position: relative;
  z-index: 2;
}

.cta-offer-circle::after {
  content: "✦";
  position: absolute;
  right: -20px;
  bottom: 32%;
  font-size: 44px;
  color: rgba(255,255,255,0.55);
  animation: twinkle 2.8s ease-in-out infinite;
  text-shadow: 0 0 24px rgba(255,255,255,0.35);
  z-index: 1;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.35; transform: scale(1) rotate(0deg); }
  50% { opacity: 0.75; transform: scale(1.18) rotate(18deg); }
}

.cta-offer-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.cta-quote {
  background: #ffffff;
  border: 3px solid #f5c142;
  border-radius: 18px;
  padding: 18px 20px 16px;
  box-shadow:
    0 14px 40px rgba(0,0,0,0.20),
    0 5px 16px rgba(0,0,0,0.14);
  max-width: 270px;
  width: 100%;
  color: #2b2b2b;
  font-size: 14px;
  line-height: 1.5;
  position: relative;
  z-index: 3;
  margin-top: -55px;
}

.cta-quote p {
  margin: 0;
  color: #2b2b2b;
}

.cta-quote strong {
  color: #14548f;
  font-weight: 700;
}

.cta-quote-name {
  margin-top: 10px;
  font-weight: 700;
  color: #14548f;
  font-size: 13px;
}

@media (max-width: 1024px) {
  .cta-offer {
    padding: 40px 0;
  }

  .cta-offer-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .cta-offer-content {
    flex: 1 1 auto;
    width: 100%;
  }

  .cta-offer-figure {
    flex: 0 0 auto;
    order: -1;
    align-items: center;
    max-width: 100%;
  }

  .cta-offer-circle {
    max-width: 260px;
    margin: 0 auto;
  }

  .cta-quote {
    margin-top: -55px;
    max-width: 240px;
  }

  .cta-offer-form {
    max-width: 100%;
    padding: 28px 24px;
  }

  .cta-offer-text {
    white-space: normal;
  }

  .cta-features {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-bottom: 16px;
  }
}

@media (max-width: 640px) {
  .cta-offer {
    padding: 32px 0;
  }

  .cta-offer-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .cta-offer-text {
    font-size: 14px;
    margin-bottom: 18px;
  }

  .cta-offer-circle {
    max-width: 220px;
    border-width: 8px;
  }

  .cta-offer-circle::after {
    font-size: 34px;
    right: -14px;
  }

  .cta-quote {
    max-width: 220px;
    padding: 14px 16px 12px;
    margin-top: -45px;
    font-size: 13px;
  }

  .cta-quote-name {
    font-size: 12px;
    margin-top: 8px;
  }

  .cta-offer-form {
    padding: 22px 18px;
  }

  .cta-form-row--inline {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cta-submit {
    padding: 13px 28px;
    font-size: 14px;
  }

  .cta-features li {
    font-size: 13px;
  }
}

@media (max-width: 1024px) {
  .services-section {
    padding: 0 0 60px;
  }

  .services-header {
    padding: 50px 0;
    margin: 0 calc(-50vw + 50%) 40px;
  }

  .services-header-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }

  .services-header-left {
    align-items: center;
  }

  .services-title {
    text-align: center;
  }

  .services-description {
    text-align: center;
  }

  .services-header-right {
    justify-content: center;
  }

  .services-meta {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .services-title {
    font-size: 26px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 22px 20px;
    border-radius: 18px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
    border-radius: 14px;
  }

  .service-title {
    font-size: 17px;
  }

  .service-title,
  .service-description {
    display: block;
    -webkit-line-clamp: unset;
    min-height: 0;
    overflow: visible;
  }

  .service-list {
    padding: 14px;
    margin: 10px 0 6px;
  }

  .service-list-items li {
    font-size: 13px;
    padding-left: 24px;
  }

  .service-list-items li::before {
    width: 16px;
    height: 16px;
    top: 5px;
    border-radius: 5px;
  }

  .service-list-items li::after {
    font-size: 10px;
    left: 3px;
  }

  .service-price {
    font-size: 18px;
  }

  .service-cta {
    padding: 13px 28px;
    font-size: 13px;
  }
}

@media (max-width: 640px) {
  .services-note {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .services-section {
    padding: 0 0 50px;
  }

  .services-header {
    padding: 40px 0;
    margin: 0 -15px 32px;
  }

  .services-header-grid {
    padding: 0 15px;
  }

  .services-meta {
    flex-direction: column;
    align-items: center;
  }

  .services-meta-item {
    padding: 12px 16px;
    font-size: 13px;
    width: 100%;
    max-width: 320px;
    border-radius: 12px;
  }

  .services-meta-item i {
    width: 30px;
    height: 30px;
    font-size: 14px;
    border-radius: 8px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 20px 18px;
    border-radius: 16px;
  }

  .service-card::after {
    left: 18px;
    right: 18px;
  }

  .service-icon {
    width: 46px;
    height: 46px;
    font-size: 18px;
    border-radius: 12px;
  }

  .service-title {
    font-size: 16px;
  }

  .service-description {
    font-size: 14px;
  }

  .service-list {
    padding: 12px;
    border-radius: 10px;
  }

  .service-list-title {
    font-size: 12px;
  }

  .service-footer {
    gap: 14px;
    padding-top: 14px;
  }

  .service-price {
    font-size: 17px;
  }

  .service-term {
    font-size: 12px;
    padding: 4px 10px;
  }

  .service-cta {
    padding: 12px 24px;
    font-size: 13px;
    border-radius: 12px;
  }
}

/* ==================== STAGES SECTION ==================== */
.stages-section {
  background: linear-gradient(180deg, #ffffff, #f9fbff 50%, #ffffff);
  padding: 80px 0;
  position: relative;
}

.stages-grid {
  display: grid;
  grid-template-columns: 1fr 430px;
  gap: 60px;
  align-items: stretch;
}

.stages-head {
  margin: 0 0 24px;
}

.stages-content {
  display: flex;
  flex-direction: column;
}

/* Title & Description */
.stages-title {
  font-size: clamp(32px, 4vw, 44px);
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.15;
  margin: 0 0 20px;
  letter-spacing: -1px;
}

.stages-title b {
  background: linear-gradient(135deg, var(--brand) 0%, #5eb3ff 50%, var(--brand-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.stages-title b::after {
  content: "";
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, rgba(38, 140, 246, 0.15), rgba(94, 179, 255, 0.1));
  border-radius: 4px;
  z-index: -1;
}

.stages-description {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 32px;
  max-width: 65ch;
  font-weight: 500;
}

/* Accordion */
.stages-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stage-item {
  background: linear-gradient(165deg, #ffffff 0%, #fafcff 100%);
  border-radius: 18px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 4px 15px rgba(15, 23, 42, 0.04),
    0 1px 3px rgba(15, 23, 42, 0.03);
  position: relative;
}

.stage-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--brand), #5eb3ff);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stage-header {
  width: 100%;
  display: grid;
  grid-template-columns: 48px 1fr 28px;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.stage-header[aria-expanded="true"] {
  background: var(--brand-light);
}

.stage-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C2DF3C 0%, #d4e94c 50%, #b3d22f 100%);
  background-size: 200% 200%;
  color: #1a2e05;
  border-radius: 14px;
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow:
    0 6px 18px rgba(194, 223, 60, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  position: relative;
}

.stage-icon::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(194, 223, 60, 0.4), rgba(212, 233, 76, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

@media (hover: hover) {
  .stage-item:hover {
    border-color: rgba(38, 140, 246, 0.15);
    box-shadow:
      0 12px 35px rgba(38, 140, 246, 0.12),
      0 4px 15px rgba(15, 23, 42, 0.05);
    transform: translateY(-3px);
  }

  .stage-item:hover::before {
    opacity: 1;
  }

  .stage-header:hover {
    background: rgba(38,140,246,0.03);
  }

  .stage-header:hover .stage-icon {
    transform: scale(1.1) rotate(-5deg);
    background-position: 100% 50%;
    box-shadow:
      0 10px 25px rgba(194, 223, 60, 0.45),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }

  .stage-header:hover .stage-icon::after {
    opacity: 1;
  }
}

.stage-title-wrap {
  flex: 1;
}

.stage-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.stage-header[aria-expanded="true"] .stage-title {
  color: var(--brand);
  font-weight: 800;
}

.stage-arrow {
  color: var(--brand);
  font-size: 14px;
  transition: var(--transition);
  opacity: 0.6;
}

.stage-header[aria-expanded="true"] .stage-arrow {
  transform: rotate(180deg);
  opacity: 1;
}

.stage-content {
  display: none;
  padding: 0 20px 20px 84px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.7;
  font-weight: 500;
}

.stage-content.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stage-content p {
  margin: 0 0 12px;
}

.stage-content p:last-of-type {
  margin-bottom: 0;
}

.stage-content p strong {
  color: var(--brand);
  font-weight: 700;
}

.stage-content ul {
  margin: 12px 0;
  padding-left: 20px;
}

.stage-content li {
  margin: 6px 0;
  color: var(--text-secondary);
}

.stage-content li::marker {
  color: var(--brand);
}

/* Image */
.stages-image-wrap {
  position: relative;
  top: 0;
  height: 100%;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #f4f8fe;
}

.stages-image {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  display: block;
}

/* ==================== STAGES RESPONSIVE ==================== */
@media (max-width: 1024px) {
  .stages-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stages-head {
    margin-bottom: 20px;
  }

  .stages-image-wrap {
    position: relative;
    top: 0;
    height: auto;
    max-width: 500px;
    margin: 0 auto;
  }

  .stages-image {
    height: auto;
  }

  .stage-content {
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .stages-section {
    padding: 60px 0;
  }

  .stages-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .stages-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .stage-header {
    grid-template-columns: 40px 1fr 20px;
    gap: 12px;
    padding: 14px 16px;
  }

  .stage-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
    border-radius: 8px;
  }

  .stage-title {
    font-size: 15px;
  }

  .stage-content {
    padding: 0 16px 20px 68px;
    font-size: 14px;
  }

  .stages-accordion {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .stages-section {
    padding: 40px 0;
  }

  .stage-header {
    grid-template-columns: 36px 1fr 18px;
    gap: 10px;
    padding: 12px 14px;
  }

  .stage-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }

  .stage-title {
    font-size: 14px;
  }

  .stage-content {
    padding: 0 14px 16px 60px;
    font-size: 13px;
  }
}
