/* ============================================
   Flash Kids — Landing Page Styles
   ============================================ */

/* ---------- TOKENS ---------- */
:root {
  --color-yellow: #FFD234;
  --color-yellow-light: #FFECA0;
  --color-blue: #3A7BD5;
  --color-blue-light: #D0E2FF;
  --color-accent: #FF6B6B;
  --color-dark: #1A1A2E;
  --color-text: #3A3A4A;
  --color-muted: #7A7A8A;
  --color-light: #FFF9EC;
  --color-white: #FFFFFF;
  --color-bg: #FFF4D6;
  --color-border: #E8E8EE;
  --color-viber: #7360F2;
  --color-telegram: #2AABEE;
  --color-instagram: #E1306C;

  --font-display: 'Comfortaa', cursive;
  --font-body: 'Nunito', sans-serif;

  --radius-sm: 8px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-yellow: 0 8px 32px rgba(255, 210, 52, 0.3);

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --header-h: 72px;
  --container: 1200px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-dark);
  line-height: 1.2;
}

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

.fk-section {
  padding: 100px 0;
}

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

.fk-section__header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.fk-section__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  background: var(--color-blue-light);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

.fk-section__title {
  font-size: clamp(28px, 5vw, 40px);
  margin-bottom: 16px;
}

.fk-section__desc {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.7;
}

/* ---------- BUTTONS ---------- */
.fk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.fk-btn--primary {
  background: var(--color-yellow);
  color: var(--color-dark);
  border-color: var(--color-yellow);
  box-shadow: var(--shadow-yellow);
}

.fk-btn--primary:hover {
  background: #f0c420;
  border-color: #f0c420;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(255, 210, 52, 0.4);
}

.fk-btn--outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-dark);
}

.fk-btn--outline:hover {
  background: var(--color-dark);
  color: var(--color-white);
  transform: translateY(-2px);
}

.fk-btn--full {
  width: 100%;
}

/* Gift CTA — badge style */
.fk-btn--gift {
  position: relative;
  font-size: 18px;
  padding: 12px 32px 12px 12px;
  gap: 14px;
  background: linear-gradient(135deg, #FFD234 0%, #FFB020 100%);
  border-color: transparent;
  box-shadow: 0 6px 24px rgba(255, 176, 32, 0.35);
  animation: giftBtnBounce 3s ease-in-out infinite;
}

.fk-btn--gift .fk-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border-radius: 50%;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.fk-btn--gift:hover {
  background: linear-gradient(135deg, #FFC800 0%, #FF9F00 100%);
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 36px rgba(255, 176, 32, 0.45);
}

.fk-btn--gift:hover .fk-btn__icon {
  transform: rotate(-15deg) scale(1.1);
}

@keyframes giftBtnBounce {

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

  15% {
    transform: translateY(-6px);
  }

  30% {
    transform: translateY(0);
  }

  45% {
    transform: translateY(-4px);
  }

  60% {
    transform: translateY(0);
  }
}

/* ---------- ANIMATIONS ---------- */
.fk-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.fk-animate.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- SCROLL PROGRESS BAR ---------- */
.fk-scroll-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--color-yellow), var(--color-blue));
  z-index: 1001;
  will-change: transform;
}

/* ---------- EMOJI BOUNCE ---------- */
@keyframes emojiBounce {
  0% {
    transform: scale(0) rotate(-10deg);
  }

  50% {
    transform: scale(1.2) rotate(5deg);
  }

  70% {
    transform: scale(0.9);
  }

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

@keyframes emojiJelly {
  0% {
    transform: scale(1, 1);
  }

  25% {
    transform: scale(1.2, 0.8);
  }

  50% {
    transform: scale(0.85, 1.15);
  }

  75% {
    transform: scale(1.1, 0.9);
  }

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

.is-visible .fk-program-card__emoji,
.is-visible .fk-whyus__icon,
.is-visible .fk-advantage__icon,
.is-visible .fk-security__icon {
  animation: emojiBounce 0.6s ease-out both;
}

.fk-program-card:hover .fk-program-card__emoji,
.fk-whyus__card:hover .fk-whyus__icon,
.fk-advantage:hover .fk-advantage__icon,
.fk-security__item:hover .fk-security__icon {
  animation: emojiJelly 0.4s ease;
}

/* ---------- HERO STAT COUNTERS ---------- */
.fk-hero__stat-num {
  font-variant-numeric: tabular-nums;
}

/* ---------- CURSOR SPARKLE ---------- */
@media (pointer: fine) {
  .fk-sparkle {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    font-size: 14px;
    animation: sparkleFade 0.8s ease-out forwards;
    will-change: transform, opacity;
  }

  @keyframes sparkleFade {
    0% {
      opacity: 1;
      transform: translate(0, 0) scale(1) rotate(0deg);
    }

    100% {
      opacity: 0;
      transform: translate(var(--sx), -30px) scale(0) rotate(180deg);
    }
  }
}

/* ---------- 3D TILT PROGRAM CARDS ---------- */
@media (hover: hover) {
  .fk-programs__grid {
    perspective: 800px;
  }

  .fk-program-card {
    transform-style: preserve-3d;
    will-change: transform;
  }
}

/* ---------- WORD-BY-WORD REVEAL ---------- */
.fk-word-mask {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.fk-word {
  display: inline-block;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.fk-title-revealed .fk-word {
  transform: translateY(0);
  opacity: 1;
}

/* ---------- STEP CONNECTOR SVG ---------- */
.fk-steps__grid {
  position: relative;
}

.fk-step-connector {
  position: absolute;
  top: 52px;
  left: 0;
  width: 100%;
  height: 40px;
  pointer-events: none;
  z-index: 0;
}

.fk-step-connector path {
  stroke-dasharray: var(--path-length);
  stroke-dashoffset: var(--path-length);
  transition: stroke-dashoffset 1.5s ease-in-out;
}

.fk-step-connector.is-drawn path {
  stroke-dashoffset: 0;
}

/* ---------- WAVY SVG SECTION DIVIDERS ---------- */
.fk-wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}

.fk-wave-divider--top {
  top: -1px;
}

.fk-wave-divider--bottom {
  bottom: -1px;
}

.fk-wave-divider svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Sections with waves need position relative */
.fk-whyus,
.fk-programs,
.fk-security {
  position: relative;
}

/* ---------- PRICING SPOTLIGHT GLOW ---------- */
@media (hover: hover) {
  .fk-price-card {
    overflow: hidden;
  }

  .fk-price-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(300px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 210, 52, 0.12), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: 0;
  }

  .fk-price-card:hover::after {
    opacity: 1;
  }

  .fk-price-card--featured {
    overflow: visible;
  }

  .fk-price-card--featured::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: var(--radius-xl);
    background: conic-gradient(from var(--border-angle, 0deg), var(--color-yellow), var(--color-blue), var(--color-yellow));
    z-index: -1;
    animation: rotateBorder 4s linear infinite;
  }

  @keyframes rotateBorder {
    to {
      --border-angle: 360deg;
    }
  }

  @property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
  }
}

/* ---------- HEADER ---------- */
.fk-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition);
}

.fk-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.fk-header__inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.fk-header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.fk-logo-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.fk-logo-img--sm {
  width: 36px;
  height: 36px;
}

.fk-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}

.fk-nav__link {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
  position: relative;
  padding: 4px 0;
}

.fk-nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-yellow);
  border-radius: 2px;
  transition: width var(--transition);
}

.fk-nav__link:hover::after,
.fk-nav__link.is-active::after {
  width: 100%;
}

.fk-header__phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--color-dark);
  flex-shrink: 0;
  margin-left: 16px;
}

.fk-header__phone:hover {
  color: var(--color-blue);
}

/* Burger */
.fk-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: auto;
}

.fk-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition);
}

.fk-burger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.fk-burger.is-active span:nth-child(2) {
  opacity: 0;
}

.fk-burger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- HERO ---------- */
.fk-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #FFD966 0%, #B3D4FF 50%, #FFCC33 100%);
  padding-top: var(--header-h);
}

.fk-hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.fk-hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.25;
}

.fk-hero__shape--1 {
  width: 500px;
  height: 500px;
  background: var(--color-yellow);
  top: -100px;
  right: -100px;
}

.fk-hero__shape--2 {
  width: 300px;
  height: 300px;
  background: var(--color-blue);
  bottom: -50px;
  left: -50px;
}

.fk-hero__shape--3 {
  width: 200px;
  height: 200px;
  background: var(--color-accent);
  top: 30%;
  left: 10%;
}

.fk-hero__shape--4 {
  width: 150px;
  height: 150px;
  background: var(--color-yellow);
  bottom: 20%;
  right: 15%;
}

.fk-hero__shape {
  transition: transform 0.15s ease-out;
}

@keyframes float {

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

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

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

/* ---------- CONFETTI CANVAS ---------- */
#confettiCanvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
}

.fk-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 60px 24px;
}

.fk-hero__heading {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

.fk-hero__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-blue);
  background: rgba(58, 123, 213, 0.1);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
  animation: fadeInDown 0.8s ease-out;
}

.fk-hero__title {
  display: block;
  font-size: clamp(48px, 10vw, 88px);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -1px;
  background: linear-gradient(270deg, var(--color-yellow), #FF8C00, var(--color-blue), #7B2FBE, var(--color-yellow));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInDown 0.8s ease-out 0.1s both, gradientShift 6s ease infinite;
}

.fk-hero__title--accent {
  -webkit-text-fill-color: transparent;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.fk-hero__subtitle {
  font-size: clamp(18px, 3vw, 24px);
  color: var(--color-muted);
  margin-bottom: 40px;
  line-height: 1.5;
  animation: fadeInDown 0.8s ease-out 0.2s both;
}

.fk-hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 48px;
  animation: fadeInDown 0.8s ease-out 0.3s both;
}

.fk-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fk-hero__stat-num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 700;
  color: var(--color-dark);
}

.fk-hero__stat-label {
  font-size: 14px;
  color: var(--color-muted);
  margin-top: 4px;
}

.fk-hero__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInDown 0.8s ease-out 0.4s both;
}

.fk-hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-muted);
  font-size: 13px;
  animation: bounce 2s infinite 2s;
}

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

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

@keyframes bounce {

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

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

/* ---------- WHY US ---------- */
.fk-whyus__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fk-whyus__card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border-top: 4px solid var(--color-yellow);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.fk-whyus__icon {
  font-size: 56px;
  margin-bottom: 20px;
  line-height: 1;
}

.fk-whyus__title {
  font-size: 22px;
  margin-bottom: 12px;
}

.fk-whyus__desc {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- ABOUT ---------- */
.fk-about__principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fk-about__principle {
  text-align: center;
  padding: 40px 32px;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

.fk-about__principle:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.fk-about__principle-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-bg);
  margin: 0 auto 20px;
}

.fk-about__principle h3 {
  font-size: 22px;
  margin-bottom: 12px;
}

.fk-about__principle p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- PROGRAMS ---------- */
.fk-programs__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fk-program-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.fk-program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--color-yellow);
  transform: scaleX(0);
  transition: transform var(--transition);
}

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

.fk-program-card:hover::before {
  transform: scaleX(1);
}

.fk-program-card__emoji {
  font-size: 40px;
  margin-bottom: 16px;
  line-height: 1;
}

.fk-program-card__title {
  font-size: 20px;
  margin-bottom: 8px;
}

.fk-program-card__desc {
  color: var(--color-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- ADVANTAGES ---------- */
.fk-advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fk-advantage {
  text-align: center;
  padding: 32px 24px;
}

.fk-advantage__icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.fk-advantage h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.fk-advantage p {
  color: var(--color-muted);
  font-size: 15px;
}

/* ---------- GALLERY ---------- */
.fk-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.fk-gallery__item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--color-yellow-light);
}

.fk-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}

.fk-gallery__item:hover img {
  transform: scale(1.05);
}

.fk-gallery__item--hidden {
  display: none;
}

.fk-gallery__more {
  text-align: center;
  margin-top: 32px;
}

/* ---------- SECURITY ---------- */
.fk-security__content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.fk-security__item {
  background: var(--color-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}

.fk-security__item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.fk-security__icon {
  font-size: 48px;
  margin-bottom: 16px;
  line-height: 1;
}

.fk-security__item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.fk-security__item p {
  color: var(--color-muted);
}

/* ---------- TEAM ---------- */
.fk-team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.fk-team-card {
  text-align: center;
}

.fk-team-card__img-wrap {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--color-bg);
  position: relative;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.10);
}

.fk-team-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.fk-team-card__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-border) 0%, var(--color-bg) 100%);
  color: var(--color-muted);
  font-weight: 600;
  font-family: var(--font-display);
}

.fk-team-card__name {
  font-size: 20px;
  margin-bottom: 4px;
}

.fk-team-card__role {
  color: var(--color-muted);
}

/* ---------- REVIEWS ---------- */
.fk-reviews__carousel {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
}

.fk-reviews__track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.fk-review-card {
  min-width: 100%;
  padding: 48px 40px;
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  text-align: center;
}

.fk-review-card__stars {
  font-size: 24px;
  margin-bottom: 20px;
  letter-spacing: 4px;
}

.fk-review-card__text {
  font-size: 18px;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 28px;
  font-style: italic;
}

.fk-review-card__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.fk-review-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-yellow);
  color: var(--color-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
}

.fk-review-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-dark);
}

.fk-review-card__role {
  font-size: 14px;
  color: var(--color-muted);
}

.fk-reviews__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}

.fk-reviews__btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--color-text);
}

.fk-reviews__btn:hover {
  border-color: var(--color-yellow);
  background: var(--color-yellow-light);
}

.fk-reviews__dots {
  display: flex;
  gap: 8px;
}

.fk-reviews__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-border);
  cursor: pointer;
  transition: all var(--transition);
}

.fk-reviews__dot.is-active {
  background: var(--color-yellow);
  width: 28px;
  border-radius: 5px;
}

/* ---------- PRICE ---------- */
.fk-price__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.fk-price-card {
  width: 100%;
  padding: 40px 24px;
  border-radius: var(--radius-xl);
  text-align: center;
  position: relative;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  border: 2px solid transparent;
  transition: all var(--transition);
}

.fk-price-card--featured {
  transform: scale(1.05);
  z-index: 2;
  box-shadow: var(--shadow-lg);
  border-color: var(--color-yellow);
}

.fk-price-card__time {
  font-weight: 700;
  font-size: 18px;
  margin: 16px 0 8px;
  color: var(--color-dark);
}

.fk-price-card__month {
  font-size: 13px;
  color: var(--color-muted);
  margin-bottom: 24px;
  background: var(--color-bg);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  display: inline-block;
}

.fk-price-card__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-dark);
  background: var(--color-yellow);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

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

.fk-price-card__currency {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-dark);
}

.fk-price-card__number {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 700;
  color: var(--color-dark);
  line-height: 1;
}

.fk-price-card__period {
  font-size: 18px;
  color: var(--color-muted);
}

.fk-price-card__features {
  text-align: left;
  margin-bottom: 32px;
}

.fk-price-card__features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  color: var(--color-text);
}

.fk-price-card__features li:last-child {
  border-bottom: none;
}

.fk-price__note {
  text-align: center;
  color: var(--color-muted);
  font-size: 14px;
  margin-top: 24px;
}

/* ---------- CONTACTS ---------- */
.fk-contacts__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.fk-form {
  background: var(--color-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
}

.fk-form__group {
  margin-bottom: 20px;
}

.fk-form__group label {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.fk-form__group input,
.fk-form__group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition);
  outline: none;
}

.fk-form__group input:focus,
.fk-form__group textarea:focus {
  border-color: var(--color-yellow);
}

.fk-form__group textarea {
  resize: vertical;
}

.fk-form__success {
  display: none;
  text-align: center;
  color: #2E7D32;
  font-weight: 600;
  margin-top: 16px;
  padding: 12px;
  background: #E8F5E9;
  border-radius: var(--radius-sm);
}

.fk-form__success.is-visible {
  display: block;
}

.fk-contacts__info {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.fk-contacts__block h3 {
  font-size: 16px;
  margin-bottom: 6px;
}

.fk-contacts__block p,
.fk-contacts__block a {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.6;
}

.fk-contacts__block a:hover {
  color: var(--color-blue);
}

.fk-contacts__messengers {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.fk-messenger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-white);
  transition: all var(--transition);
}

.fk-messenger--viber {
  background: var(--color-viber);
}

.fk-messenger--telegram {
  background: var(--color-telegram);
}

.fk-messenger--instagram {
  background: var(--color-instagram);
}

.fk-messenger:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.fk-contacts__map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

/* ---------- FOOTER ---------- */
.fk-footer {
  background: var(--color-dark);
  padding: 32px 0;
}

.fk-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.fk-footer__logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--color-white);
}

.fk-footer__copy {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

.fk-footer__links {
  display: flex;
  gap: 24px;
}

.fk-footer__links a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}

.fk-footer__links a:hover {
  color: var(--color-yellow);
}

/* ---------- FAQ ---------- */
.fk-faq__accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.fk-faq__item {
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
}

.fk-faq__item:hover {
  border-color: var(--color-yellow);
}

.fk-faq__item.is-active {
  border-color: var(--color-yellow);
  box-shadow: var(--shadow);
}

.fk-faq__header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 32px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--color-dark);
  transition: color var(--transition);
}

.fk-faq__item.is-active .fk-faq__header {
  color: var(--color-blue);
}

.fk-faq__icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-left: 16px;
}

.fk-faq__icon::before,
.fk-faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform var(--transition);
  border-radius: 2px;
}

.fk-faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.fk-faq__item.is-active .fk-faq__icon::after {
  transform: translate(-50%, -50%) rotate(0);
}

.fk-faq__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition) ease-out;
}

.fk-faq__text {
  padding: 0 32px 32px;
  color: var(--color-muted);
  line-height: 1.7;
  font-size: 16px;
}

.fk-faq__text strong {
  color: var(--color-dark);
}

/* ---------- FOUNDER ---------- */
.fk-founder__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.fk-founder__img-wrap {
  flex: 0 0 45%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg);
  position: relative;
  box-shadow: var(--shadow);
}

.fk-founder__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-border) 0%, var(--color-yellow-light) 100%);
  color: var(--color-muted);
  font-weight: 600;
  font-family: var(--font-display);
}

.fk-founder__content {
  flex: 1;
}

.fk-founder__text {
  font-size: 18px;
  color: var(--color-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.fk-founder__name {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.fk-founder__role {
  color: var(--color-blue);
  font-weight: 600;
}

/* ---------- STEPS ---------- */
.fk-steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.fk-step {
  background: var(--color-bg);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition);
}

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

.fk-step__num {
  width: 64px;
  height: 64px;
  background: var(--color-yellow);
  color: var(--color-dark);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin: 0 auto 24px;
  box-shadow: var(--shadow-yellow);
}

.fk-step h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.fk-step p {
  color: var(--color-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- GIFT MODAL ---------- */
.fk-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.fk-modal.is-open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.fk-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.fk-modal__card {
  position: relative;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: 48px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: scale(0.85) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

.fk-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-bg);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: var(--color-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.fk-modal__emoji {
  font-size: 64px;
  margin-bottom: 16px;
  line-height: 1;
  animation: giftBounce 0.6s ease-out 0.3s both;
}

@keyframes giftBounce {
  0% {
    transform: scale(0) rotate(-15deg);
    opacity: 0;
  }

  60% {
    transform: scale(1.2) rotate(5deg);
    opacity: 1;
  }

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

.fk-modal__title {
  font-size: clamp(22px, 4vw, 28px);
  margin-bottom: 16px;
  color: var(--color-dark);
}

.fk-modal__text {
  font-size: 16px;
  color: var(--color-muted);
  line-height: 1.7;
  margin-bottom: 28px;
}

.fk-modal__cta {
  margin-bottom: 20px;
  font-size: 17px;
  padding: 16px 32px;
}

.fk-modal__messengers {
  display: flex;
  justify-content: center;
  gap: 12px;
}

/* ===========================================
   RESPONSIVE
   =========================================== */

@media (max-width: 1024px) {
  .fk-programs__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fk-gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .fk-team__grid,
  .fk-price__cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .fk-section {
    padding: 64px 0;
  }

  .fk-section__header {
    margin-bottom: 40px;
  }

  /* Header mobile */
  .fk-nav {
    position: absolute;
    top: var(--header-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-h));
    flex-direction: column;
    background: var(--color-white);
    padding: 32px 24px;
    gap: 16px;
    transform: translateX(100%);
    transition: transform var(--transition);
    z-index: 999;
    overflow-y: auto;
  }

  .fk-nav.is-open {
    transform: translateX(0);
  }

  .fk-nav__link {
    font-size: 20px;
    padding: 12px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
  }

  .fk-header__phone {
    display: none;
  }

  .fk-burger {
    display: flex;
  }

  /* Hero mobile */
  .fk-hero {
    min-height: auto;
    padding: calc(var(--header-h) + 48px) 0 64px;
  }

  .fk-hero__title {
    font-size: clamp(40px, 12vw, 60px);
  }

  .fk-hero__stats {
    gap: 24px;
  }

  .fk-hero__stat-num {
    font-size: 28px;
  }

  .fk-hero__scroll {
    display: none;
  }

  /* Why Us mobile */
  .fk-whyus__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fk-whyus__card {
    padding: 32px 24px;
  }

  /* About mobile */
  .fk-about__principles {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Founder mobile */
  .fk-founder__inner {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }

  .fk-founder__img-wrap {
    width: 100%;
    aspect-ratio: 1;
  }

  /* Steps mobile */
  .fk-steps__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .fk-step-connector {
    display: none;
  }

  /* Programs mobile */
  .fk-programs__grid {
    grid-template-columns: 1fr;
  }

  /* Advantages mobile */
  .fk-advantages__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .fk-advantage {
    padding: 24px 16px;
  }

  /* Gallery mobile */
  .fk-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Security mobile */
  .fk-security__content {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Team mobile */
  .fk-team__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Reviews mobile */
  .fk-review-card {
    padding: 32px 24px;
  }

  .fk-review-card__text {
    font-size: 16px;
  }

  /* Price mobile */
  .fk-price__cards {
    grid-template-columns: 1fr;
  }

  .fk-price-card {
    padding: 36px 28px;
  }

  .fk-price-card__number {
    font-size: 48px;
  }

  /* Contacts mobile */
  .fk-contacts__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .fk-form {
    padding: 28px 20px;
  }

  /* Footer mobile */
  .fk-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}

/* ---------- SOAP BUBBLES ---------- */
.fk-bubbles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  overflow: hidden;
}

.fk-bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  will-change: transform, opacity;
  /* Iridescent gradient base */
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255,255,255,0.85) 0%,
    rgba(255,255,255,0.3) 15%,
    rgba(173,216,250,0.2) 30%,
    rgba(255,182,255,0.15) 50%,
    rgba(150,255,220,0.12) 65%,
    rgba(200,200,255,0.08) 80%,
    transparent 100%
  );
  box-shadow:
    inset 0 0 20px rgba(255,255,255,0.3),
    inset -4px -4px 12px rgba(200,220,255,0.25),
    inset 4px 4px 12px rgba(255,200,255,0.2),
    0 0 6px rgba(255,255,255,0.15);
  backdrop-filter: blur(0.5px);
}

/* Rainbow shimmer overlay */
.fk-bubble::before {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: conic-gradient(
    from var(--bubble-hue, 0deg),
    rgba(255,100,100,0.12),
    rgba(255,255,100,0.1),
    rgba(100,255,100,0.12),
    rgba(100,200,255,0.14),
    rgba(180,100,255,0.12),
    rgba(255,100,200,0.1),
    rgba(255,100,100,0.12)
  );
  animation: bubbleShimmer var(--shimmer-speed, 4s) linear infinite;
}

/* Specular highlight (light reflection) */
.fk-bubble::after {
  content: '';
  position: absolute;
  width: 35%;
  height: 25%;
  top: 15%;
  left: 20%;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at center,
    rgba(255,255,255,0.8) 0%,
    rgba(255,255,255,0.3) 40%,
    transparent 70%
  );
  transform: rotate(-30deg);
}

/* Shimmer rotation */
@keyframes bubbleShimmer {
  to { --bubble-hue: 360deg; }
}

@property --bubble-hue {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

/* Float upward animation */
.fk-bubble.is-floating {
  animation:
    bubbleFloat var(--float-duration, 6s) ease-out forwards,
    bubbleWobble var(--wobble-speed, 3s) ease-in-out infinite;
}

@keyframes bubbleFloat {
  0% {
    opacity: 0;
    transform: translate(var(--start-x, 0px), var(--start-y, 100vh)) scale(0.2);
  }
  5% {
    opacity: var(--bubble-opacity, 0.7);
    transform: translate(var(--start-x, 0px), calc(var(--start-y, 100vh) - 5vh)) scale(var(--bubble-size, 1));
  }
  20% {
    opacity: var(--bubble-opacity, 0.7);
    transform: translate(calc(var(--start-x, 0px) + var(--drift-x, 20px)), calc(var(--start-y, 100vh) - 25vh)) scale(var(--bubble-size, 1));
  }
  40% {
    opacity: var(--bubble-opacity, 0.65);
    transform: translate(calc(var(--start-x, 0px) - var(--drift-x, 20px) * 0.5), calc(var(--start-y, 100vh) - 45vh)) scale(calc(var(--bubble-size, 1) * 1.05));
  }
  60% {
    opacity: var(--bubble-opacity, 0.6);
    transform: translate(calc(var(--start-x, 0px) + var(--drift-x, 20px) * 0.8), calc(var(--start-y, 100vh) - 65vh)) scale(calc(var(--bubble-size, 1) * 1.1));
  }
  80% {
    opacity: calc(var(--bubble-opacity, 0.5) * 0.6);
    transform: translate(calc(var(--start-x, 0px) - var(--drift-x, 20px) * 0.3), calc(var(--start-y, 100vh) - 85vh)) scale(calc(var(--bubble-size, 1) * 1.15));
  }
  95% {
    opacity: 0.15;
    transform: translate(calc(var(--start-x, 0px) + var(--drift-x, 20px) * 0.6), calc(var(--start-y, 100vh) - 100vh)) scale(calc(var(--bubble-size, 1) * 1.2));
  }
  100% {
    opacity: 0;
    transform: translate(calc(var(--start-x, 0px) + var(--drift-x, 20px)), calc(var(--start-y, 100vh) - 110vh)) scale(calc(var(--bubble-size, 1) * 0.6));
  }
}

/* Gentle wobble side-to-side */
@keyframes bubbleWobble {
  0%, 100% { margin-left: 0; margin-top: 0; }
  25% { margin-left: calc(var(--wobble-x, 8px)); margin-top: -3px; }
  50% { margin-left: calc(var(--wobble-x, 8px) * -0.6); margin-top: 2px; }
  75% { margin-left: calc(var(--wobble-x, 8px) * 0.8); margin-top: -2px; }
}

/* Pop effect when bubble "bursts" */
@keyframes bubblePop {
  0% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.3); opacity: 0.3; }
  100% { transform: scale(0); opacity: 0; }
}

.fk-bubble.is-popping {
  animation: bubblePop 0.3s ease-out forwards !important;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
  .fk-bubbles { display: none; }
}

/* Smaller bubbles on mobile for performance */
@media (max-width: 600px) {
  .fk-bubble {
    --bubble-size: 0.6 !important;
  }
}

@media (max-width: 480px) {
  .fk-hero__stats {
    flex-direction: column;
    gap: 16px;
  }

  .fk-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .fk-advantages__grid {
    grid-template-columns: 1fr;
  }

  .fk-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fk-contacts__messengers {
    flex-direction: column;
  }

  .fk-messenger {
    justify-content: center;
  }
}