/* ============================================
   SEO-специалист Романов Константин
   Design System + Hero Block Styles
   ============================================ */

/* --- Google Fonts --- */
@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Rubik:wght@300;400;500;600;700&display=swap");

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Colors */
  --color-primary: #0f172a;
  --color-secondary: #3b82f6;
  --color-accent: #f97316;
  --color-accent-hover: #ea580c;
  --color-gradient-start: #8b5cf6;
  --color-gradient-mid: #3b82f6;
  --color-gradient-end: #06b6d4;
  --color-bg: #f8fafc;
  --color-bg-card: #ffffff;
  --color-text: #0f172a;
  --color-text-secondary: #64748b;
  --color-text-light: #94a3b8;
  --color-border: #e2e8f0;
  --color-success: #10b981;

  /* Typography */
  --font-heading: "Outfit", sans-serif;
  --font-body: "Rubik", sans-serif;

  /* Font Sizes (fluid) */
  --fs-hero: clamp(1.8rem, 3vw, 2.35rem);
  --fs-h1: clamp(2rem, 4vw, 3rem);
  --fs-h2: clamp(1.5rem, 3vw, 2.25rem);
  --fs-h3: clamp(1.25rem, 2vw, 1.5rem);
  --fs-body: 1rem;
  --fs-body-lg: 1.125rem;
  --fs-small: 0.875rem;
  --fs-xs: 0.75rem;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 8px 30px rgba(15, 23, 42, 0.12);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.15);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.15);

  /* Transitions */
  --transition-fast: 200ms ease;
  --transition-base: 300ms ease;
  --transition-slow: 500ms ease;
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Layout */
  --max-width: 1280px;
  --header-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* --- Utility: Gradient Text --- */
.gradient-text {
  background: linear-gradient(135deg,
      var(--color-gradient-start),
      var(--color-secondary),
      var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* --- Utility: Section Headers --- */
.section {
  padding: var(--space-2xl) 0;
}

.section__header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.section__header-split {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
  text-align: left;
}

.section__header-split .section__title {
  margin-bottom: 0;
  flex-shrink: 0;
  max-width: none;
}

.section__header-split .section__subtitle {
  text-align: left;
  max-width: 480px;
  margin-bottom: 0;
  margin-left: 0;
}

@media (max-width: 768px) {
  .section__header-split {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }

  .section__header-split .section__title,
  .section__header-split .section__subtitle {
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }
}

.section__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.section__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
  position: fixed;
  top: 10px;
  left: 0;
  right: 0;
  height: auto;
  z-index: 1000;
  background: transparent;
  transition: transform var(--transition-base);
}

.header.scrolled {
  background: transparent;
}

/* Header inner provides the bubble shape */
.header__inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: var(--radius-full);
  padding: 8px 16px 8px 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.header__inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: -1;
  border-radius: inherit;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-text);
  font-family: var(--font-heading);
}

.header__logo-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  line-height: 1.15;
}

.header__logo-name {
  font-size: 1.125rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.header__logo-title {
  font-weight: 400;
  font-size: 0.65rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.02em;
  font-family: var(--font-body);
  white-space: nowrap;
}

.header__logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg,
      var(--color-secondary),
      var(--color-gradient-end));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  flex: 1;
  margin-left: var(--space-xl);
}

.header__socials {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  margin-right: 0px;
}

.header__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #94a3b8;
  transition: all 0.2s ease;
}

.header__social-link:hover {
  transform: translateY(-2px);
}

.header__social-link--max:hover {
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.1);
}

.header__social-link--tg:hover {
  color: #2aabee;
  background: rgba(42, 171, 238, 0.1);
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.header__nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  position: relative;
  padding: 4px 6px;
  white-space: nowrap;
  border-radius: var(--radius-full);
  transition:
    background-color 0.25s ease,
    color 0.25s ease;
}

.header__nav-link::after {
  display: none;
}

.header__nav-link:hover {
  color: var(--color-accent);
  background-color: transparent;
}

.header__nav-link:hover::after {
  width: 0;
}

.header__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 8px 16px;
  white-space: nowrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), #fb923c);
  border-radius: var(--radius-full);
  transition:
    transform var(--transition-spring),
    box-shadow var(--transition-base);
  box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.header__cta:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

/* Mobile burger */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
  z-index: 1001;
}

.header__burger span {
  display: block;
  width: 100%;
  height: 2.5px;
  background: var(--color-primary);
  border-radius: var(--radius-full);
  transition:
    transform var(--transition-base),
    opacity var(--transition-fast);
}

.header__burger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.header__burger.active span:nth-child(2) {
  opacity: 0;
}

.header__burger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-xl);
  overflow: hidden;
}

/* Background decorative blobs */
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

.hero__blob--1 {
  width: 500px;
  height: 500px;
  background: linear-gradient(135deg,
      rgba(139, 92, 246, 0.4),
      rgba(59, 130, 246, 0.3));
  top: -100px;
  right: -150px;
  animation: blobFloat1 12s ease-in-out infinite;
}

.hero__blob--2 {
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg,
      rgba(6, 182, 212, 0.3),
      rgba(59, 130, 246, 0.2));
  bottom: -80px;
  left: -100px;
  animation: blobFloat2 15s ease-in-out infinite;
}

.hero__blob--3 {
  width: 250px;
  height: 250px;
  background: linear-gradient(135deg,
      rgba(249, 115, 22, 0.25),
      rgba(251, 146, 60, 0.15));
  top: 30%;
  left: 45%;
  animation: blobFloat3 10s ease-in-out infinite;
}

@keyframes blobFloat1 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(-30px, 20px) scale(1.05);
  }

  66% {
    transform: translate(20px, -15px) scale(0.95);
  }
}

@keyframes blobFloat2 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  33% {
    transform: translate(25px, -20px) scale(1.08);
  }

  66% {
    transform: translate(-15px, 25px) scale(0.92);
  }
}

@keyframes blobFloat3 {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-20px, 15px) scale(1.1);
  }
}

/* Hero Grid */
.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Left content */
.hero__content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: var(--radius-full);
  font-size: var(--fs-xs);
  font-weight: 600;
  color: var(--color-secondary);
  width: fit-content;
  animation: fadeInDown 0.6s ease-out both;
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(1.3);
  }
}

.hero__title {
  font-size: var(--fs-hero);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero__title-accent {
  display: block;
  background: linear-gradient(135deg,
      var(--color-accent),
      #fb923c,
      var(--color-accent));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s linear infinite;
}

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

  100% {
    background-position: 200% center;
  }
}

.hero__subtitle {
  font-size: var(--fs-body-lg);
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 540px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__subtitle strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* CTA Buttons */
.hero__cta-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px 32px;
  font-family: var(--font-heading);
  font-size: var(--fs-body);
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-spring);
  white-space: nowrap;
}

.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-accent), #fb923c);
  box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
}

.btn--primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 35px rgba(249, 115, 22, 0.45);
}

.btn--primary:active {
  transform: translateY(-1px) scale(1.01);
}

.btn--secondary {
  color: var(--color-primary);
  background: var(--color-bg-card);
  border: 1.5px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn__icon {
  font-size: 1.1em;
}

/* Right side — Photo area */
.hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease-out 0.3s both;
}

.hero__photo-wrapper {
  position: relative;
  width: 420px;
  height: 480px;
}

.hero__photo-bg {
  position: absolute;
  inset: -15px;
  background: linear-gradient(160deg, #fde8d0, #fdcfa1, #fbb97a);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morphBg 8s ease-in-out infinite;
  opacity: 0.45;
}

@keyframes morphBg {

  0%,
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }

  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }

  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }

  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
}

.hero__photo {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  overflow: hidden;
  animation: morphBg 8s ease-in-out infinite;
  background: linear-gradient(160deg,
      rgba(59, 130, 246, 0.12),
      rgba(6, 182, 212, 0.08),
      rgba(139, 92, 246, 0.1));
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 1;
}

/* Floating badges around photo */
.hero__float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 18px;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-small);
  font-weight: 600;
  color: var(--color-primary);
  z-index: 2;
  animation: floatBadge 4s ease-in-out infinite;
}

.hero__float-badge--1 {
  top: -5px;
  right: -50px;
  animation-delay: 0s;
}

.hero__float-badge--2 {
  bottom: 15%;
  left: -40px;
  animation-delay: 1.5s;
}

.hero__float-badge--3 {
  top: 42%;
  right: -50px;
  animation-delay: 3s;
}

.hero__float-badge-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero__float-badge-label {
  font-size: 0.7rem;
  color: var(--color-text-secondary);
  font-weight: 400;
}

.hero__float-badge-icon--green {
  background: rgba(16, 185, 129, 0.12);
  color: var(--color-success);
}

.hero__float-badge-icon--blue {
  background: rgba(59, 130, 246, 0.12);
  color: var(--color-secondary);
}

.hero__float-badge-icon--orange {
  background: rgba(249, 115, 22, 0.12);
  color: var(--color-accent);
}

@keyframes floatBadge {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* Stats Bar */
.hero__stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
  grid-column: 1 / -1;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat-value {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: var(--space-xs);
}

.hero__stat-value .accent {
  color: var(--color-secondary);
}

.hero__stat-label {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
  font-weight: 400;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ==========================================================================
   5. ABOUT SECTION
   ========================================================================== */
.about {
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  margin-top: var(--space-2xl);
}

.about__story {
  display: flex;
  flex-direction: column;
  gap: var(--space-2xl);
}

.about__block h3 {
  font-size: var(--fs-h3);
  margin-top: 0;
  margin-bottom: var(--space-md);
  color: var(--color-text);
}

.about__block p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.about__block p strong {
  color: var(--color-text);
  font-weight: 600;
}

.about__vision {
  background: linear-gradient(145deg,
      rgba(59, 130, 246, 0.05),
      rgba(139, 92, 246, 0.05));
  border: 1px solid rgba(59, 130, 246, 0.1);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.about__vision-icon {
  width: 48px;
  height: 48px;
  background: var(--color-secondary);
  color: white;
  border-radius: var(--radius-calc);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about__vision h3 {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.about__vision p {
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.about__benefits-title {
  font-size: var(--fs-h3);
  margin-top: -7px;
  line-height: 1.2;
  margin-bottom: var(--space-xl);
  color: var(--color-text);
}

.about__benefits {
  padding-top: 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
}

.benefit-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  transition: var(--transition-bounce);
  position: relative;
  z-index: 1;
}

.benefit-card:hover {
  transform: translateY(-5px);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 10px 40px -10px rgba(59, 130, 246, 0.1);
}

.benefit-card {
  position: relative;
  overflow: hidden;
}

.benefit-card__icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 48px;
  height: 48px;
  background: none;
  color: var(--color-secondary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  opacity: 0.15;
  pointer-events: none;
  transition: opacity 0.3s ease, color 0.3s ease;
}

.benefit-card__icon svg {
  width: 40px;
  height: 40px;
}

.benefit-card:hover .benefit-card__icon {
  opacity: 0.8;
  color: var(--color-accent);
}

.benefit-card h4 {
  font-size: 1.125rem;
  margin-bottom: var(--space-sm);
  color: var(--color-text);
}

.benefit-card p {
  color: var(--color-text-secondary);
  font-size: var(--fs-small);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   6. RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__photo-wrapper {
    width: 340px;
    height: 400px;
  }

  .hero__float-badge--1 {
    right: -15px;
  }

  .hero__float-badge--2 {
    left: -20px;
  }

  .hero__float-badge--3 {
    right: -25px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .header__inner {
    padding: 8px 16px;
    gap: 12px;
    justify-content: space-between;
  }

  .header__nav-list,
  .header__cta,
  .header__socials {
    display: none;
  }

  .header__burger {
    display: flex;
  }

  /* Mobile nav overlay */
  .header__nav.active {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 250, 252, 0.96); /* Ensure background covers everything */
    z-index: 990;
    overflow-y: auto;
    padding-top: calc(var(--header-height) + var(--space-xl));
    padding-bottom: 120px;
  }

  .header__nav.active .header__nav-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl); /* reduced gap slightly to fit more */
    margin-bottom: var(--space-2xl);
  }

  .header__nav.active .header__nav-link {
    font-size: 1.25rem;
    color: var(--color-text);
  }

  .header__nav.active .header__socials {
    display: flex;
    position: static;
    transform: none;
    margin-top: auto;
    margin-bottom: var(--space-xl);
  }

  .header__nav.active .header__cta {
    display: inline-flex;
    position: static;
    transform: none;
  }

  .hero {
    padding-top: calc(var(--header-height) + var(--space-xl));
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: var(--space-2xl);
  }

  .hero__content {
    align-items: center;
    order: 0;
  }

  .hero__visual {
    order: 1;
  }

  .hero__stats {
    order: 2;
    grid-column: auto;
  }

  .hero__badge {
    margin: 0 auto;
  }

  .hero__subtitle {
    max-width: 100%;
  }

  .hero__cta-group {
    justify-content: center;
  }

  .hero__photo-wrapper {
    width: 280px;
    height: 320px;
  }

  .hero__float-badge {
    padding: 8px 14px;
    font-size: var(--fs-xs);
  }

  .hero__float-badge--1 {
    right: -10px;
    top: -5px;
  }

  .hero__float-badge--2 {
    left: -10px;
  }

  .hero__float-badge--3 {
    right: -15px;
    top: 42%;
  }

  .hero__stats {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }

  .about__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

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

/* ==========================================================================
   6. CASES
   ========================================================================== */

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

.cases__filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  margin-bottom: var(--space-lg);
}

.cases__filter {
  background-color: white;
  color: var(--color-text-secondary);
  border: 1px solid var(--border-light);
  border-radius: 100px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

.cases__filter:hover {
  border-color: var(--color-secondary);
  color: var(--color-secondary);
}

.cases__filter.active {
  background-color: var(--color-secondary);
  color: white;
  border-color: var(--color-secondary);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 450px));
  justify-content: center;
  gap: var(--space-xl);
}

.case-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  border: 1px solid var(--border-light);
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
}

.case-card__header {
  margin-bottom: var(--space-sm);
}

.case-card__meta {
  margin-top: var(--space-xs);
}

.case-card__period {
  font-size: var(--fs-small);
  color: var(--color-text-tertiary);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.case-card__period time {
  color: var(--color-text-secondary);
}

.case-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-top: var(--space-sm);
}

.case-card__tag {
  background-color: rgba(59, 130, 246, 0.1);
  color: var(--color-secondary);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.case-card__title {
  font-size: var(--fs-h3);
  color: var(--color-text);
  line-height: 1.3;
}

.case-card__image-wrapper {
  margin-bottom: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-light);
  height: 220px;
  display: flex;
  align-items: center;
  background-color: white;
}

.case-card__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.case-card__body {
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.case-card__desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.case-card__subtitle {
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: var(--space-sm);
}

.case-card__list {
  padding-left: 1.25rem;
  color: var(--color-text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin: 0;
}

.case-card__results {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--space-lg);
  justify-content: space-around;
  text-align: center;
  padding: var(--space-sm) 0;
  margin-bottom: var(--space-sm);
}

.case-card__result-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.case-card__result-value {
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--color-secondary);
  line-height: 1;
}

.case-card__result-value.accent {
  color: var(--color-accent);
}

.case-card__result-label {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 0.25rem;
  font-weight: 500;
}

@media (max-width: 768px) {
  .case-card {
    padding: var(--space-lg);
  }
}

/* ==========================================================================
   6.3 WORKFLOW (How I Work)
   ========================================================================== */

.workflow {
  background-color: white;
}

.workflow__track {
  display: flex;
  align-items: stretch;
  gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
  scrollbar-width: thin;
  scrollbar-color: rgba(139, 92, 246, 0.2) transparent;
}

.workflow__track::-webkit-scrollbar {
  height: 4px;
}

.workflow__track::-webkit-scrollbar-track {
  background: transparent;
}

.workflow__track::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.2);
  border-radius: 4px;
}

.workflow__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: rgba(139, 92, 246, 0.3);
  padding: 0 var(--space-xs);
}

.workflow__card {
  position: relative;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, transparent, transparent) border-box;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  min-width: 260px;
  max-width: 280px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  overflow: hidden;
  border: 2px solid transparent;
}

.workflow__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--color-secondary), var(--color-accent)) border-box;
}

.workflow__card-num {
  position: absolute;
  top: -4px;
  right: 8px;
  font-size: 4rem;
  font-weight: 800;
  color: rgba(139, 92, 246, 0.06);
  line-height: 1;
  pointer-events: none;
  user-select: none;
  transition:
    color 0.3s ease,
    background 0.3s ease;
}

.workflow__card:hover .workflow__card-num {
  color: transparent;
  background: linear-gradient(135deg,
      var(--color-gradient-start),
      var(--color-secondary),
      var(--color-gradient-end));
  -webkit-background-clip: text;
  background-clip: text;
}

.workflow__card-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg,
      rgba(139, 92, 246, 0.1),
      rgba(59, 130, 246, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-secondary);
  margin-bottom: var(--space-sm);
}

.workflow__card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-xs);
  line-height: 1.3;
}

.workflow__card-text {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-xs);
}

.workflow__card-text--muted {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
  font-style: italic;
}

.workflow__card-list {
  list-style: none;
  padding: 0;
  margin: var(--space-xs) 0 0 0;
}

.workflow__card-list li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.35rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.workflow__card-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      var(--color-secondary),
      var(--color-accent));
}

.workflow__card-accent {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  background: rgba(139, 92, 246, 0.05);
  border-radius: var(--radius-sm);
  padding: var(--space-xs) var(--space-sm);
  margin-top: auto;
  color: var(--color-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.4;
}

.workflow__card-accent svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.workflow__card-contact {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  background: white;
  border-radius: var(--radius-sm);
  padding: var(--space-sm);
  margin-top: auto;
  text-decoration: none;
  transition: box-shadow 0.2s ease;
}

.workflow__card-contact:hover {
  box-shadow: 0 2px 12px rgba(139, 92, 246, 0.12);
}

.workflow__card-contact-photo {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.workflow__card-contact-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.workflow__card-contact strong {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.workflow__card-contact span {
  font-size: 0.75rem;
  color: var(--color-secondary);
}

@media (max-width: 768px) {
  .workflow__card {
    min-width: 240px;
    max-width: 260px;
    padding: var(--space-md);
  }

  .workflow__arrow {
    padding: 0 2px;
  }

  .workflow__arrow svg {
    width: 18px;
    height: 18px;
  }
}

/* ==========================================================================
   6.3.5 SERVICES (COMPACT)
   ========================================================================== */

.services-compact {
  background-color: var(--color-bg);
  position: relative;
  overflow: hidden;
}

/* Header */
.services-compact__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.services-compact__header-left {
  flex-shrink: 0;
}

.services-compact__header-right {
  max-width: 480px;
}

@media (max-width: 768px) {
  .services-compact__header {
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
  }
}

.services-compact__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  color: var(--color-text);
  margin-bottom: 0;
  line-height: 1.2;
  text-align: left;
}

.services-compact__subtitle {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  text-align: left;
  margin: 0;
}

/* Grid */
.services-compact__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

/* Card */
.services-compact__card {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.95)) padding-box,
    linear-gradient(135deg, transparent, transparent) border-box;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-light);
  overflow: hidden;
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s ease,
    border-color 0.3s ease;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.services-compact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.09);
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--color-secondary), var(--color-accent)) border-box;
  border-color: transparent;
}

/* AI Highlight */
.services-compact__card--ai {
  position: relative;
}

.services-compact__card--ai::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-secondary), var(--color-accent), var(--color-gradient-end));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.services-compact__card--ai:hover::before {
  opacity: 1;
}

/* Card Top */
.services-compact__card-top {
  padding: var(--space-md) var(--space-md) var(--space-sm);
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Icon */
.services-compact__icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  flex-shrink: 0;
}

.services-compact__card:hover .services-compact__icon {
  transform: scale(1.1) rotate(-3deg);
}

.services-compact__icon--blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(59, 130, 246, 0.04));
  color: #3b82f6;
}

.services-compact__icon--green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.12), rgba(34, 197, 94, 0.04));
  color: #22c55e;
}

.services-compact__icon--orange {
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.12), rgba(249, 115, 22, 0.04));
  color: #f97316;
}

.services-compact__icon--purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.12), rgba(139, 92, 246, 0.04));
  color: #8b5cf6;
}

/* Title */
.services-compact__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 6px;
  line-height: 1.3;
}

/* Text */
.services-compact__card-text {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  line-height: 1.55;
  margin-bottom: var(--space-sm);
}

/* Badges */
.services-compact__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.services-compact__badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px 12px 4px 20px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  background: rgba(241, 245, 249, 0.8);
  border-radius: 100px;
  white-space: nowrap;
  position: relative;
}

.services-compact__badge::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-accent));
}

/* Card Bottom */
.services-compact__card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  border-top: 1px solid var(--border-light);
}

.services-compact__price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.services-compact__btn {
  display: inline-flex;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #3b82f6;
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color 0.2s ease, gap 0.2s ease;
}

.services-compact__btn:hover {
  color: #2563eb;
}

/* Responsive */
@media (max-width: 1024px) {
  .services-compact__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Unified horizontal swipe grids in Mobile layout placed below */

/* ==========================================================================
   6.3.6 TOOLS INTERACTIVE TABS
   ========================================================================== */

.tools-interactive {
  background-color: var(--color-bg);
  padding: var(--space-2xl) 0 var(--space-3xl);
}

/* Layout: Left sidebar (Title + Desc), Right main (Tabs + Cloud) */
.tools-interactive__layout {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

/* Sidebar */
.tools-interactive__sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.tools-interactive__title {
  font-size: var(--fs-h3);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(135deg, #8b5cf6, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.tools-interactive__descriptions {
  position: relative;
}

.tools-desc {
  display: none;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
  animation: toolsPanelIn 0.4s ease;
}

.tools-desc.active {
  display: block;
}

/* Main Area */
.tools-interactive__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

/* Horizontal tab pills */
.tools-interactive__tabs-wrap {
  display: flex;
  flex-wrap: wrap;
}

.tools-interactive__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tools-tab {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  border: 1.5px solid #e2e8f0;
  background: transparent;
  border-radius: 100px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: #64748b;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.tools-tab:hover {
  color: var(--color-text);
  border-color: #cbd5e1;
  background: #f8fafc;
}

.tools-tab.active {
  color: #ea580c;
  /* Orange */
  font-weight: 600;
  /* Orange outline */
  background: transparent;
}

/* Content Area */
.tools-interactive__content {
  position: relative;
  min-height: 200px;
}

.tools-panel {
  display: none;
  animation: toolsPanelIn 0.4s ease;
}

.tools-panel.active {
  display: block;
}

@keyframes toolsPanelIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Tag cloud */
.tools-panel__cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* Badge base — gray, colored on hover */
.tools-badge {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 100px;
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #64748b;
  cursor: default;
  opacity: 0;
  transform: scale(0.85) translateY(6px);
  animation: badgePopIn 0.35s ease forwards;
  animation-delay: calc(var(--i, 0) * 0.06s);
  transition: all 0.3s ease;
}

@keyframes badgePopIn {
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.tools-badge:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.1);
}

/* Blue */
.tools-badge--blue:hover {
  border-color: rgba(59, 130, 246, 0.5);
  background: rgba(59, 130, 246, 0.08);
  color: #2563eb;
}

/* Purple */
.tools-badge--purple:hover {
  border-color: rgba(139, 92, 246, 0.5);
  background: rgba(139, 92, 246, 0.08);
  color: #7c3aed;
}

/* Green */
.tools-badge--green:hover {
  border-color: rgba(16, 185, 129, 0.5);
  background: rgba(16, 185, 129, 0.08);
  color: #059669;
}

/* Orange */
.tools-badge--orange:hover {
  border-color: rgba(249, 115, 22, 0.5);
  background: rgba(249, 115, 22, 0.08);
  color: #ea580c;
}

/* Responsive */
@media (max-width: 1024px) {
  .tools-interactive__layout {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }
}

@media (max-width: 768px) {

  .tools-interactive__header {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
  }

  .tools-interactive__tabs {
    gap: 6px;
  }

  .tools-tab {
    padding: 6px 14px;
    font-size: 0.8rem;
  }
}


/* ==========================================================================
   6.4 PRICING / TARIFFS
   ========================================================================== */

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

.pricing__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-2xl);
  margin-bottom: var(--space-xl);
}

.pricing__header-left {
  flex-shrink: 0;
}

.pricing__header-right {
  max-width: 480px;
}

.pricing__disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(234, 180, 56, 0.1);
  border-left: 3px solid #eab308;
  padding: 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: var(--space-xl);
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-secondary);
}

.pricing__disclaimer svg {
  flex-shrink: 0;
  color: #eab308;
  margin-top: 2px;
}

.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  align-items: start;
}

/* Card */
.pricing__card {
  border-radius: var(--radius-xl);
  background: white;
  box-shadow: 0 2px 16px rgba(15, 23, 42, 0.05);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
}

.pricing__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  z-index: 10;
}

/* Featured card */
.pricing__card--featured {
  box-shadow: 0 4px 24px rgba(139, 92, 246, 0.15);
  border: 2px solid rgba(139, 92, 246, 0.2);
  z-index: 2;
  /* always slightly higher than regular cards */
}

.pricing__card--featured:hover {
  box-shadow: 0 16px 40px rgba(139, 92, 246, 0.2);
  z-index: 10;
}

.pricing__card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: white;
  color: var(--color-secondary);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

/* Card head — gradient */
.pricing__card-head {
  padding: var(--space-lg) var(--space-lg) var(--space-md);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
}

.pricing__card-head-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pricing__card-head--light {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.pricing__card-head--main {
  background: linear-gradient(135deg, #f97316 0%, #ec4899 50%, #8b5cf6 100%);
  color: white;
}

.pricing__card-head--premium {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  color: white;
}

.pricing__card-label {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.pricing__card-hours {
  font-size: 0.85rem;
  opacity: 0.85;
  font-weight: 500;
}

.pricing__card-desc {
  font-size: 0.8rem;
  opacity: 0.6;
  font-weight: 400;
  margin-top: 2px;
}

.pricing__card-head-icon {
  flex-shrink: 0;
}

/* Card body */
.pricing__card-body {
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
}

.pricing__card-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: 4px;
}

.pricing__card-price-from {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
}

.pricing__card-price-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}

.pricing__card-price-period {
  font-size: 0.85rem;
  color: var(--color-text-tertiary);
}

.pricing__card-hours-bar {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
  padding: 2px 0 10px;
  margin-bottom: var(--space-lg);
  position: relative;
}

.pricing__card-hours-bar::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg,
      var(--color-secondary),
      var(--color-accent));
  opacity: 0.4;
}

.pricing__card-includes {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
  font-weight: 500;
  margin-bottom: var(--space-sm);
}

/* Feature list */
.pricing__list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg) 0;
  flex: 1;
}

.pricing__list li {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 0;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.4;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.pricing__list li:last-child {
  border-bottom: none;
}

.pricing__list li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--color-secondary);
  flex-shrink: 0;
  opacity: 0.5;
}

.pricing__list-bonus {
  color: var(--color-accent) !important;
  font-weight: 600;
}

.pricing__list-bonus::before {
  display: none !important;
}

.pricing__list-bonus svg {
  color: var(--color-accent);
  flex-shrink: 0;
}

/* Gift badge */
.pricing__gift-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg,
      rgba(249, 115, 22, 0.08),
      rgba(139, 92, 246, 0.08));
  border: 1px solid rgba(249, 115, 22, 0.15);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: var(--space-lg);
  color: var(--color-accent);
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
}

.pricing__gift-badge svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Tooltip */
.pricing__tooltip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.1);
  color: var(--color-secondary);
  font-size: 0.65rem;
  font-weight: 700;
  cursor: help;
  flex-shrink: 0;
  position: relative;
  transition: background 0.2s ease;
}

.pricing__tooltip:hover {
  background: var(--color-secondary);
  color: white;
}

.pricing__tooltip:hover::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: white;
  font-size: 0.75rem;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  white-space: normal;
  width: 220px;
  line-height: 1.4;
  z-index: 100;
  pointer-events: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pricing__tooltip:hover::before {
  content: "";
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  border: 4px solid transparent;
  border-top-color: var(--color-primary);
  z-index: 101;
}

/* CTA Button */
.pricing__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 14px;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent), #fb923c);
  color: white;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.pricing__btn:hover {
  transform: translateY(-2px);
  color: white;
}

@media (max-width: 1024px) {
  .pricing__grid {
    grid-template-columns: 1fr;
    max-width: 440px;
    margin: 0 auto;
  }

  .pricing__header {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

/* ---- Pricing comparison table (details/summary) ---- */

.pricing__details {
  margin-top: var(--space-lg);
}

.pricing__details-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--color-text-tertiary);
  padding: 0;
  border: none;
  background: none;
  transition: color 0.2s ease;
  list-style: none;
  margin: 0 auto;
  width: 100%;
  justify-content: center;
}

.pricing__details-toggle::-webkit-details-marker {
  display: none;
}

.pricing__details-toggle:hover {
  color: var(--color-secondary);
}

.pricing__details-arrow {
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.pricing__details[open] .pricing__details-arrow {
  transform: rotate(180deg);
}

.pricing__details[open]>.pricing__details-toggle {
  margin-bottom: var(--space-md);
}

.pricing__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-lg);
  border: 1px solid var(--glass-border);
  background: var(--color-surface);
  animation: tableSlideIn 0.4s ease;
}

@keyframes tableSlideIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.pricing__table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.85rem;
  line-height: 1.5;
}

.pricing__table thead {
  position: sticky;
  top: 0;
  z-index: 2;
  /* Solid dark backdrop to prevent 'chopped' gradient bugs on table cells across different browsers */
  background: #14141e;
}

.pricing__table th {
  padding: 14px 14px;
  font-weight: 700;
  text-align: center;
  background: transparent;
  color: white !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.pricing__table th span {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  color: #cbd5e1 !important;
  margin-top: 2px;
}

.pricing__table-feature {
  text-align: left !important;
  min-width: 240px;
}

.pricing__table-plan {
  min-width: 140px;
}

.pricing__table-plan--featured {
  /* Only highlight the text via weight since it sits on a dark gradient */
  font-weight: 800 !important;
}

.pricing__table td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
  color: var(--color-text-secondary);
  vertical-align: middle;
  font-size: 0.83rem;
}

.pricing__table td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--color-text);
}

.pricing__table tbody tr {
  transition: background 0.2s ease;
}

.pricing__table tbody tr:hover td {
  background: rgba(0, 0, 0, 0.02) !important;
}

/* Ensure JS column hover remains visible but subtle beneath/above row hover */
.pricing__table .hover-col {
  background: rgba(139, 92, 246, 0.08) !important;
}

/* Row hover override for JS column hover */
.pricing__table tbody tr:hover td.hover-col {
  background: rgba(139, 92, 246, 0.12) !important;
}

/* Group header rows */
.pricing__table-group td {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-secondary);
  background: rgba(139, 92, 246, 0.06);
  padding: 10px 14px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.12);
  border-top: 2px solid rgba(139, 92, 246, 0.1);
}

.pricing__table-group td:first-child {
  border-left: 3px solid var(--color-secondary);
}

/* Highlighted hour row */
.pricing__table-header-row td {
  background: rgba(139, 92, 246, 0.04);
  font-weight: 600;
  border-bottom: 2px solid rgba(139, 92, 246, 0.12);
}

.pricing__table-header-row td strong {
  color: var(--color-secondary);
  font-size: 0.85rem;
}

/* Check / Cross icons */
.pricing__table-check {
  color: #10b981;
  display: inline-block;
  vertical-align: middle;
}

.pricing__table-cross {
  color: var(--color-text-tertiary);
  opacity: 0.3;
  display: inline-block;
  vertical-align: middle;
}

.pricing__table-text-accent {
  font-weight: 600;
  color: var(--color-secondary);
  font-size: 0.78rem;
}

/* Универсальный column subtle highlight */
.pricing__table tbody td:nth-child(3) {
  background: rgba(249, 115, 22, 0.02);
}

.pricing__table-group td:nth-child(1) {
  background: rgba(139, 92, 246, 0.06) !important;
  /* Keep purple for category row headers */
}

/* CTA buttons inside table */
.pricing__table-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-accent), #fb923c);
  color: white;
  border: none;
  text-decoration: none;
  transition: transform 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

.pricing__table-btn:hover {
  transform: translateY(-2px);
  color: white;
}

/* Collapse button */
.pricing__details-collapse {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: var(--space-md) auto 0;
  padding: 0;
  border: none;
  background: none;
  color: var(--color-text-tertiary);
  font-size: var(--fs-small);
  font-weight: 500;
  cursor: pointer;
  transition: color 0.2s ease;
}

.pricing__details-collapse:hover {
  color: var(--color-secondary);
}

/* ==========================================================================
   6.5 WHY TRUST ME
   ========================================================================== */

.trust {
  background-color: var(--color-bg);
  overflow: hidden;
  padding-bottom: var(--space-lg) !important;
}

.trust__highlight {
  position: relative;
  display: inline-block;
}

.trust__highlight::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: -4px;
  right: -4px;
  height: 12px;
  background: linear-gradient(90deg,
      rgba(249, 115, 22, 0.25),
      rgba(139, 92, 246, 0.25));
  border-radius: 4px;
  z-index: -1;
}

/* Main layout: cards left, video right */
.trust__layout {
  display: flex;
  gap: var(--space-xl);
  align-items: center;
  margin-bottom: var(--space-2xl);
}

/* Cards 2x2 grid */
.trust__cards {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

/* Card base — unified style */
.trust__card {
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    background 0.3s ease;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--border-light), var(--border-light)) border-box;
  border: 2px solid transparent;
}

.trust__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--color-secondary), var(--color-accent)) border-box;
}

/* Decorative SVG icon */
.trust__card-deco {
  position: absolute;
  top: 14px;
  right: 14px;
  opacity: 0.18;
  width: 56px;
  height: 56px;
  color: var(--color-secondary);
  pointer-events: none;
  transition:
    opacity 0.3s,
    color 0.3s;
}

.trust__card:hover .trust__card-deco {
  opacity: 1;
  color: var(--color-accent);
}

/* Dark card variant */
.trust__card--dark {
  background:
    linear-gradient(135deg, #1e293b 0%, #0f172a 100%) padding-box,
    linear-gradient(135deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.06)) border-box;
  border: 2px solid transparent;
}

.trust__card--dark:hover {
  background:
    linear-gradient(135deg, #1e293b 0%, #0f172a 100%) padding-box,
    linear-gradient(135deg, var(--color-secondary), var(--color-accent)) border-box;
}

.trust__card--dark .trust__card-deco {
  opacity: 0.15;
  color: rgba(255, 255, 255, 0.6);
}

.trust__card--dark:hover .trust__card-deco {
  opacity: 1;
  color: var(--color-accent);
}

.trust__card--dark .trust__card-title {
  color: #fff;
}

.trust__card--dark .trust__card-text {
  color: rgba(255, 255, 255, 0.65);
}

.trust__card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 8px;
  line-height: 1.25;
  position: relative;
  z-index: 1;
}

.trust__card-text {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Video area — right side */
.trust__video-wrap {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
}

.trust__video-area {
  position: relative;
  width: 340px;
  height: 340px;
}

.trust__video-circle {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.trust__video-el {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Floating bubbles */
.trust__bubble {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
}

.trust__bubble--1 {
  width: 18px;
  height: 18px;
  background: var(--color-accent);
  opacity: 0.5;
  top: -10px;
  left: 40px;
  animation: bubble-float 4s ease-in-out infinite;
}

.trust__bubble--2 {
  width: 12px;
  height: 12px;
  background: var(--color-secondary);
  opacity: 0.4;
  top: 60px;
  right: -10px;
  animation: bubble-float 5s ease-in-out infinite 0.5s;
}

.trust__bubble--3 {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-accent);
  opacity: 0.35;
  bottom: 40px;
  left: -14px;
  animation: bubble-float 6s ease-in-out infinite 1s;
}

.trust__bubble--4 {
  width: 10px;
  height: 10px;
  background: var(--color-secondary);
  opacity: 0.3;
  bottom: -6px;
  right: 60px;
  animation: bubble-float 4.5s ease-in-out infinite 1.5s;
}

.trust__bubble--5 {
  width: 16px;
  height: 16px;
  border: 2px solid var(--color-secondary);
  opacity: 0.3;
  top: 30%;
  right: -18px;
  animation: bubble-float 5.5s ease-in-out infinite 2s;
}

@keyframes bubble-float {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-12px) scale(1.1);
  }
}

/* Telegram link */
.trust__tg-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.trust__tg-link:hover {
  transform: translateY(-2px);
}

.trust__tg-label {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
  font-weight: 500;
}

.trust__tg-handle {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #229ed9;
}

.trust__tg-handle svg {
  color: #229ed9;
}

/* =================== MARQUEE =================== */

.trust__marquee-section {
  padding-top: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.trust__marquee {
  overflow: hidden;
  position: relative;
  padding: 4px 0;
}

.trust__marquee::before,
.trust__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}

.trust__marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--color-bg), transparent);
}

.trust__marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--color-bg), transparent);
}

.trust__marquee-track {
  display: flex;
  gap: var(--space-sm);
  width: max-content;
}

.trust__marquee--left .trust__marquee-track {
  animation: marquee-left 40s linear infinite;
}

.trust__marquee--right .trust__marquee-track {
  animation: marquee-right 45s linear infinite;
}

@keyframes marquee-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@keyframes marquee-right {
  0% {
    transform: translateX(-50%);
  }

  100% {
    transform: translateX(0);
  }
}

/* Badge */
.trust__badge {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 100px;
  white-space: nowrap;
  flex-shrink: 0;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--border-light), var(--border-light)) border-box;
  border: 2px solid transparent;
  transition: background 0.3s;
}

.trust__badge:hover {
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--color-secondary), var(--color-accent)) border-box;
}

.trust__badge strong {
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(135deg,
      var(--color-gradient-start),
      var(--color-secondary),
      var(--color-gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.trust__badge span {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

/* Responsive */
@media (max-width: 1024px) {
  .trust__layout {
    flex-direction: column-reverse;
    gap: var(--space-lg);
  }

  .trust__video-area,
  .trust__video-circle {
    width: 260px;
    height: 260px;
  }
}

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

  .trust__video-area,
  .trust__video-circle {
    width: 200px;
    height: 200px;
  }
}

/* ==========================================================================
   6.6 CTA BANNER
   ========================================================================== */

.cta-banner {
  background: linear-gradient(135deg, var(--color-primary) 0%, #4c1d95 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
  margin-top: var(--space-xl);
}

.cta-banner__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.2;
}

.cta-banner__content {
  position: relative;
  z-index: 2;
  max-width: 600px;
}

.cta-banner__title {
  color: white;
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.cta-banner__text {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--fs-h3);
  margin-bottom: var(--space-lg);
}

.cta-banner__btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 1rem 2rem;
  font-size: var(--fs-body);
  border-radius: 100px;
  background: var(--color-accent);
  color: white;
  border: none;
  font-weight: 600;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow: 0 10px 25px rgba(249, 115, 22, 0.4);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.cta-banner__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 30px rgba(249, 115, 22, 0.6);
  background: #ea580c;
  color: white;
}

/* Floating search engine icons */
.cta-banner__icon {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.cta-banner__icon--yandex {
  top: 24px;
  right: 120px;
  background: #fc3f1d;
  color: white;
  width: 42px;
  height: 42px;
  animation: icon-float 4s ease-in-out infinite;
}

.cta-banner__icon--google {
  bottom: 40px;
  right: 180px;
  background: white;
  width: 46px;
  height: 46px;
  animation: icon-float 5s ease-in-out infinite 1s;
}

.cta-banner__icon--yandex-maps {
  top: 16px;
  right: 320px;
  background: white;
  width: 42px;
  height: 42px;
  animation: icon-float 4.2s ease-in-out infinite 0.3s;
}

.cta-banner__icon--metrika {
  bottom: 30px;
  right: 360px;
  background: white;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  animation: icon-float 5.2s ease-in-out infinite 0.7s;
}

.cta-banner__icon--search {
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #8b5cf6, #6366f1);
  color: white;
  animation: icon-float 5.5s ease-in-out infinite 1.5s;
}


@keyframes icon-float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.cta-banner__decoration {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.cta-banner__blob {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg,
      rgba(59, 130, 246, 0.5),
      rgba(139, 92, 246, 0.5));
  filter: blur(80px);
  border-radius: 50%;
  mix-blend-mode: screen;
}

@media (max-width: 992px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    gap: var(--space-lg);
  }

  .cta-banner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .cta-banner__blob {
    top: auto;
    bottom: -50%;
    right: 50%;
    transform: translateX(50%);
    width: 300px;
    height: 300px;
  }

  .cta-banner__icon--yandex {
    top: 10px;
    right: 10px;
  }

  .cta-banner__icon--google {
    bottom: 10px;
    right: 10px;
  }
}

/* ==========================================================================
   6.8 CLIENTS / REVIEWS CAROUSEL
   ========================================================================== */

.clients {
  overflow: hidden;
  padding-top: var(--space-sm) !important;
}

.clients__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: var(--space-md);
}

.clients__header .section__title {
  margin-bottom: 0;
}

.clients__carousel {
  padding: var(--space-sm) 0;
}

.clients__track {
  display: flex;
  gap: var(--space-md);
  padding: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: flex-start;
}

.clients__track::-webkit-scrollbar {
  display: none;
}

.clients__card {
  flex-shrink: 0;
  width: 340px;
  min-height: 260px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 28px;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  scroll-snap-align: start;
}

.clients__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
}

.clients__card--cta {
  background: linear-gradient(145deg, #14172a 0%, #1a2550 50%, #1e3a8a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  text-align: center;
  border: 1px solid rgba(99, 130, 246, 0.25);
  box-shadow: 0 20px 40px -15px rgba(30, 58, 138, 0.5);
  padding: 28px 22px;
  gap: 14px;
}

.clients__card--cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(30, 58, 138, 0.6);
}

/* CTA card — heading row with icons flanking title */
.cta-card__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cta-card__se-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}

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

.cta-card__se-icon--y {
  background: #fc3f1d;
}

.cta-card__se-icon--g {
  background: #fff;
}

.cta-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin: 0;
  flex: 1;
}

.cta-card__text {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.cta-card__btn {
  width: 100%;
  justify-content: center;
  padding: 12px 20px;
  font-size: 0.95rem;
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.35);
}

.clients__card--accent {
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border-color: rgba(249, 115, 22, 0.15);
}

.clients__card--dark {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-color: rgba(255, 255, 255, 0.06);
}

.clients__slider-nav {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.clients__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-light);
  background: transparent;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.clients__btn:hover {
  background: var(--color-secondary);
  color: #fff;
  border-color: var(--color-secondary);
}

.clients__card-top-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}

.clients__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid var(--border-light);
}

.clients__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg,
      var(--color-secondary),
      var(--color-accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.clients__name {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-text);
  margin-bottom: 2px;
}

.clients__role {
  font-size: 0.8rem;
  color: var(--color-text-tertiary);
}

.clients__stars {
  color: var(--color-accent);
  font-size: 0.85rem;
  letter-spacing: 2px;
  flex-shrink: 0;
}

.clients__industry {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0;
}

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

.clients__quote {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  font-style: italic;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.is-expanded .clients__quote {
  -webkit-line-clamp: unset;
  line-clamp: unset;
}

.clients__read-more {
  background: none;
  border: none;
  padding: 0;
  color: var(--color-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  align-self: flex-start;
  transition: opacity var(--transition-short);
}

.is-expanded .clients__read-more {
  opacity: 0.7;
}

.is-expanded .clients__read-more::before {
  content: 'Свернуть';
}

.clients__read-more::before {
  content: 'Читать полностью';
}



@media (max-width: 640px) {
  .clients__card {
    width: 300px;
    padding: 22px;

    min-height: auto;
    padding: var(--space-xl);
  }

  .clients__metric-value {
    font-size: 1.6rem;
  }
}

/* ==========================================================================
   6.9 FAQ ACCORDION
   ========================================================================== */

.faq__list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq__item {
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  background: white;
  overflow: hidden;
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.faq__item:hover {
  border-color: rgba(139, 92, 246, 0.2);
}

.faq__item.active {
  border-color: var(--color-secondary);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.08);
}

.faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  line-height: 1.4;
  font-family: inherit;
  transition: color 0.2s ease;
}

.faq__question h3 {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
  line-height: inherit;
}

.faq__question:hover {
  color: var(--color-secondary);
}

.faq__chevron {
  flex-shrink: 0;
  transition: transform 0.35s ease;
  color: var(--color-text-tertiary);
}

.faq__item.active .faq__chevron {
  transform: rotate(180deg);
  color: var(--color-secondary);
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.3s ease;
  padding: 0 24px;
}

.faq__item.active .faq__answer {
  max-height: 800px;
  padding: 0 24px 24px;
}

.faq__answer p {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.faq__answer p:last-child {
  margin-bottom: 0;
}

.faq__answer ul,
.faq__answer ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.faq__answer li {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 6px;
}

.faq__answer li::marker {
  color: var(--color-accent);
}

.faq__answer strong {
  color: var(--color-text);
}

.faq__answer em {
  color: var(--color-accent);
  font-style: normal;
  font-weight: 600;
}

/* ==========================================================================
   6.10 TELEGRAM CHANNEL
   ========================================================================== */

.tg-channel__banner {
  background: linear-gradient(135deg, #229ed9 0%, #1a7ab5 50%, #0f5a8a 100%);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(34, 158, 217, 0.25);
}

.tg-channel__canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.tg-channel__content {
  position: relative;
  z-index: 2;
  max-width: 520px;
}

.tg-channel__badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: white;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-md);
}

.tg-channel__title {
  color: white;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: var(--space-sm);
  line-height: 1.2;
}

.tg-channel__text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: var(--space-lg);
}

.tg-channel__text strong {
  color: white;
}

.tg-channel__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  background: white;
  color: #229ed9;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.tg-channel__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  color: #1a7ab5;
}

/* Phone mockup */
.tg-channel__visual {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

.tg-channel__phone {
  width: 260px;
  background: white;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  transform: rotate(3deg);
  transition: transform 0.3s ease;
}

.tg-channel__phone:hover {
  transform: rotate(0deg) translateY(-4px);
}

.tg-channel__phone-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid #eee;
  margin-bottom: 12px;
  color: #229ed9;
}

.tg-channel__phone-header span {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-text);
}

.tg-channel__phone-msg {
  background: #e3f2fd;
  border-radius: 12px 12px 12px 4px;
  padding: 10px 14px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  color: var(--color-text);
  line-height: 1.5;
  animation: msg-appear 0.5s ease forwards;
  opacity: 0;
  transform: translateY(10px);
}

.tg-channel__phone-msg--1 {
  animation-delay: 0.3s;
}

.tg-channel__phone-msg--2 {
  animation-delay: 0.7s;
}

.tg-channel__phone-msg--3 {
  animation-delay: 1.1s;
}

@keyframes msg-appear {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .tg-channel__banner {
    flex-direction: column;
    text-align: center;
    padding: var(--space-xl);
  }

  .tg-channel__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .tg-channel__phone {
    width: 220px;
    transform: rotate(0);
  }
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */

.footer {
  background: linear-gradient(180deg, #0f172a 0%, #020617 100%);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-2xl) 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: var(--space-2xl);
  padding-bottom: var(--space-2xl);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

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

.footer__logo-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg,
      var(--color-secondary),
      var(--color-accent));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.footer__logo-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: white;
}

.footer__logo-desc {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__brand-text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.5);
}

.footer__legal-mini {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.35);
}

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

.footer__nav-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: white;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer__nav-link {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.footer__nav-link:hover {
  color: white;
  transform: translateX(3px);
}

.footer__nav-link--highlight {
  color: #229ed9;
  font-weight: 600;
}

.footer__nav-link--highlight:hover {
  color: #5cb9e6;
}

.footer__cta-btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--color-accent), #ea580c);
  color: white;
  font-weight: 700;
  font-size: 0.85rem;
  border: none;
  cursor: pointer;
  text-align: center;
  margin-top: 4px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
  white-space: nowrap;
}

.footer__cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(249, 115, 22, 0.3);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-lg) 0;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.3);
}

.footer__bottom-links {
  display: flex;
  gap: var(--space-md);
}

.footer__bottom-links a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__bottom-links a:hover {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 768px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .footer__nav {
    grid-template-columns: 1fr 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer__bottom-links {
    flex-direction: column;
    gap: 8px;
  }
}

/* ==========================================================================
   7. FLOATING CTA & MODAL
   ========================================================================== */

/* FLOATER (BOTTOM RIGHT COMPACT MENU) */
.floater {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-end;
  gap: 12px;
  pointer-events: none;
}

.floater.is-hidden {
  opacity: 0;
  transform: translateY(20px);
}

.floater:hover {
  pointer-events: auto;
}

.floater.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.floater__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

/* Show menu when `.is-open` class is attached */
.floater.is-open .floater__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.floater__item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: white;
  border-radius: 100px;
  padding: 6px 16px 6px 6px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.floater__item:hover {
  transform: translateX(-4px);
}

.floater__icon-holder {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  flex-shrink: 0;
  transition: all 0.2s ease;
}

/* Telegram Brand Hover */
.floater__item--tg:hover {
  color: #0088cc;
}
.floater__item--tg:hover .floater__icon-holder {
  background: #0088cc;
  color: white;
}

/* MAX Brand Hover */
.floater__item--max:hover {
  color: #8b5cf6;
}
.floater__item--max:hover .floater__icon-holder {
  background: #8b5cf6;
  color: white;
}

/* CTA Brand Hover */
.floater__item--cta:hover {
  color: var(--color-primary);
}
.floater__item--cta:hover .floater__icon-holder {
  background: var(--color-primary);
  color: white;
}

.floater__main {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: white;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  pointer-events: auto;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  animation: floatVibrate 5s infinite;
}

.floater__main:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(249, 115, 22, 0.2);
  animation: none;
}

@keyframes floatVibrate {

  0%,
  90%,
  100% {
    transform: scale(1) rotate(0deg);
  }

  92% {
    transform: scale(1.05) rotate(5deg);
  }

  94% {
    transform: scale(1.05) rotate(-5deg);
  }

  96% {
    transform: scale(1.05) rotate(5deg);
  }

  98% {
    transform: scale(1.05) rotate(-5deg);
  }
}

.floater__main-icons {
  position: absolute;
  width: 24px;
  height: 24px;
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.floater-cycle-icon {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  animation: fIconCycle 6s infinite;
}

.floater-cycle-icon:nth-child(1) {
  animation-delay: 0s;
  color: #0088cc;
}

.floater-cycle-icon:nth-child(2) {
  animation-delay: 3s;
  color: #8b5cf6;
}

@keyframes fIconCycle {

  0%,
  40% {
    opacity: 1;
    transform: scale(1);
  }

  50%,
  95% {
    opacity: 0;
    transform: scale(0.8);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.floater__main-close {
  position: absolute;
  opacity: 0;
  transform: scale(0.8) rotate(-45deg);
  transition:
    opacity 0.3s,
    transform 0.3s;
}

.floater.is-open .floater__main-icons {
  opacity: 0;
  transform: scale(0.8) rotate(45deg);
}

.floater.is-open .floater__main-close {
  opacity: 1;
  transform: scale(1) rotate(0);
}

/* SCROLL TO TOP */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 96px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: white;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  z-index: 80;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.scroll-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-to-top:hover {
  color: var(--color-primary);
  border-color: var(--color-secondary);
}

/* Modal Overlay */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: var(--space-md);
}

.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* Modal Box */
.modal {
  background: white;
  width: 100%;
  max-width: 440px;
  border-radius: var(--radius-xl);
  padding: var(--space-xl) var(--space-xl) var(--space-lg);
  position: relative;
  transform: translateY(30px) scale(0.95);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  max-height: 85vh;
  overflow-y: auto;
}

.modal-overlay.is-open .modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.modal__close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: transparent;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  padding: var(--space-xs);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s,
    color 0.2s;
}

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

.modal__header {
  margin-bottom: var(--space-xl);
  text-align: center;
}

.modal__title {
  font-size: var(--fs-h3);
  margin-bottom: var(--space-xs);
  color: var(--color-text);
}

.modal__subtitle {
  font-size: var(--fs-small);
  color: var(--color-text-secondary);
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.modal__input {
  width: 100%;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--border-light), var(--border-light)) border-box;
  border: 1px solid transparent;
  background-color: rgba(139, 92, 246, 0.03);
  font-family: inherit;
  font-size: var(--fs-body);
  color: var(--color-text);
  transition: all 0.3s ease;
}

.modal__input:focus {
  outline: none;
  background:
    linear-gradient(white, white) padding-box,
    linear-gradient(135deg, var(--color-secondary), var(--color-accent)) border-box;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.modal__input::placeholder {
  color: var(--color-text-light);
}

.modal__textarea {
  resize: vertical;
  min-height: 100px;
}

.modal__select-wrapper {
  position: relative;
}

.modal__select-wrapper::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--color-text-secondary);
  pointer-events: none;
}

select.modal__input {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.5rem;
}

.modal__submit {
  width: 100%;
  margin-top: var(--space-sm);
  padding: 1rem;
}

.modal__checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  margin-top: var(--space-sm);
  cursor: pointer;
}

.modal__checkbox {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  background-color: white;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: all 0.2s;
}

.modal__checkbox:checked {
  background-color: var(--color-secondary);
  border-color: var(--color-secondary);
}

.modal__checkbox:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 4px;
  height: 8px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.modal__checkbox-label a {
  color: var(--color-secondary);
  text-decoration: none;
}

.modal__checkbox-label a:hover {
  text-decoration: underline;
}

.modal__disclaimer {
  font-size: 0.72rem;
  color: var(--color-text-tertiary);
  text-align: center;
  line-height: 1.5;
}

.modal__dynamic-field {
  position: relative;
}

.modal__field-error {
  display: block;
  font-size: 0.73rem;
  color: #ef4444;
  margin-top: 4px;
  min-height: 16px;
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: var(--space-md);
    padding: 0 var(--space-md);
  }

  .floating-cta__inner {
    width: 100%;
    justify-content: space-between;
    padding: var(--space-sm);
  }

  .floating-cta__btn {
    flex-grow: 1;
    text-align: center;
    padding: 0.75rem 1rem;
  }

  .modal {
    padding: var(--space-xl);
  }
}

.about__benefits-title {
  margin-top: var(--space-lg);
}

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

  .hero__photo-wrapper {
    width: 240px;
    height: 280px;
  }

  .btn {
    padding: 12px 24px;
    font-size: var(--fs-small);
  }

  .hero__float-badge--3 {
    display: none;
  }
}

/* --- Accessibility: Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   HORIZONTAL SCROLLABLE GRIDS AND SWIPE HINT (MOBILE)
   ========================================================================== */

.swipe-hint {
  display: none;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
  opacity: 0.8;
}

.swipe-hint svg {
  animation: swipePulse 2s infinite ease-in-out;
  color: var(--color-primary);
}

.swipe-hint--accent {
  color: var(--color-text);
  margin-bottom: var(--space-lg);
}

@keyframes swipePulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(5px); }
}

@media (max-width: 768px) {
  .swipe-hint {
    display: flex;
  }

  .cases__grid,
  .pricing__grid {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: unset;
    gap: var(--space-md);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    margin-right: calc(-1 * var(--space-xl));
    margin-left: calc(-1 * var(--space-xl));
    padding-right: var(--space-xl);
    padding-left: var(--space-xl);
    padding-bottom: var(--space-md);
    max-width: none;
    justify-content: flex-start;
  }

  .cases__grid::-webkit-scrollbar,
  .pricing__grid::-webkit-scrollbar {
    display: none;
  }

  .case-card,
  .pricing__card {
    min-width: 85vw;
    max-width: 85vw;
    scroll-snap-align: center;
    flex-shrink: 0;
  }

  .services-compact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  /* Reduce gap and make sure titles wrap for services */
  .services-compact {
    padding-top: var(--space-xl);
  }
  .services-compact__title {
    white-space: normal;
  }
}