/* ============================================================
   ACRO WAVE — style.css
   Design system: CSS custom properties + mobile-first layout
   ============================================================ */

/* ============================================================
   1. DESIGN SYSTEM — CSS VARIABLES
   ============================================================ */
:root {
  /* --- Colors --- */
  --color-primary:      #1a1a2e;       /* deep navy for text & dark backgrounds */
  --color-accent:       #e84393;       /* warm pink — CTAs & highlights */
  --color-accent-dark:  #d63384;       /* hover state */
  --color-accent-light: #fd79a8;       /* lighter accent for gradients */
  --color-accent-glow:  rgba(232, 67, 147, 0.25);
  --color-secondary:    #6c5ce7;       /* lavender accent for variety */
  --color-bg:           #fafaf8;       /* warm off-white page background */
  --color-bg-alt:       #f5f3ef;       /* slightly warmer alt section bg */
  --color-card:         #ffffff;       /* card surface */
  --color-text-muted:   #64748b;       /* secondary / supporting text */
  --color-border:       #e2e8f0;       /* subtle dividers */
  --color-dark-bg:      #0f0f1a;       /* rich dark for mission/social/footer */

  /* --- Typography --- */
  --font-heading: 'Poppins', sans-serif;
  --font-body:    'Nunito', sans-serif;

  /* --- Shape --- */
  --radius-card:  20px;
  --radius-btn:   50px;

  /* --- Shadows --- */
  --shadow-card:       0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 20px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 8px 40px rgba(0, 0, 0, 0.10), 0 2px 12px rgba(0, 0, 0, 0.06);

  /* --- Spacing scale (8px base unit) --- */
  --sp-1:   8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-8:  64px;
  --sp-10: 80px;
  --sp-12: 96px;

  /* --- Layout --- */
  --container-max:     1200px;
  --container-pad:     var(--sp-3);
  --section-pad:       var(--sp-12);

  /* --- Buttons (shared) --- */
  --btn-height:    52px;
  --btn-pad-x:     var(--sp-4);
  --btn-font-size: 0.95rem;

  /* --- Transitions --- */
  --ease:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-slow: 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-primary);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul { list-style: none; }
a  { color: inherit; text-decoration: none; }

/* ============================================================
   3. UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.accent { color: var(--color-accent); }

/* ============================================================
   4. SCROLL ANIMATIONS (IntersectionObserver driven)
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Staggered delay variants — applied via CSS nth-child */
.prepare__item.fade-up:nth-child(2) { transition-delay: 0.10s; }
.prepare__item.fade-up:nth-child(3) { transition-delay: 0.20s; }
.prepare__item.fade-up:nth-child(4) { transition-delay: 0.30s; }

/* Second element in a two-column "hero-style" layout */
.hero__visual--delayed,
.why__visual--delayed,
.apart__visual--delayed { transition-delay: 0.20s; }

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-1);
  height: var(--btn-height);
  padding: 0 var(--btn-pad-x);
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-size: var(--btn-font-size);
  font-weight: 700;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background    var(--ease),
    color         var(--ease),
    border-color  var(--ease),
    transform     var(--ease),
    box-shadow    var(--ease);
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
  transform: translateY(-2px);
  box-shadow: 0 8px 32px var(--color-accent-glow);
}

.btn--nav {
  height: 44px;
  padding: 0 var(--sp-3);
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: #fff;
  border-color: transparent;
}

.btn--nav:hover,
.btn--nav:focus-visible {
  background: linear-gradient(135deg, var(--color-accent-dark), var(--color-accent));
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--color-accent-glow);
}

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

.btn--outline:hover,
.btn--outline:focus-visible {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: #fff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--color-accent-glow);
}

.btn--sm {
  height: 40px;
  padding: 0 var(--sp-3);
  font-size: 0.875rem;
}

/* ============================================================
   6. CARDS (shared site-wide)
   ============================================================ */
.card {
  background-color: var(--color-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(232, 67, 147, 0.15);
}

/* ============================================================
   7. HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: rgba(250, 250, 248, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: box-shadow var(--ease), border-color var(--ease);
}

.site-header.is-scrolled {
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.06);
  border-bottom-color: transparent;
}

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

.nav__logo-text {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-primary);
}

.nav__actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.nav__link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-primary);
  transition: color var(--ease);
  position: relative;
}

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

.nav__link:hover {
  color: var(--color-accent);
}

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

.nav__logo-img {
  height: calc(72px * 0.8);
  width: auto;
  display: block;
}

/* ============================================================
   8. SCROLLSPY NAV
   ============================================================ */
/* Progress bar */
.scrollspy__bar {
  position: sticky;
  top: 72px;
  z-index: 190;
  height: 3px;
  background-color: var(--color-border);
}

.scrollspy__progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
  transition: width 0.1s linear;
}

/* ============================================================
   9. HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #2d1b4e 100%);
  color: #fff;
  padding-top: calc(var(--sp-12) + var(--sp-6));
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}

/* ---- Hero slideshow ---- */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero__slide.active {
  opacity: 1;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero__slides-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15,15,26,0.85) 0%, rgba(26,26,46,0.72) 50%, rgba(45,27,78,0.65) 100%),
    radial-gradient(ellipse 600px 400px at 75% 40%, rgba(232,67,147,0.15) 0%, transparent 70%);
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
  padding-bottom: var(--sp-12);
  position: relative;
  z-index: 1;
}

.hero__wave {
  position: relative;
  z-index: 1;
}

.hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-3);
}

.hero__subheadline {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 44ch;
  margin-bottom: var(--sp-5);
  line-height: 1.75;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  text-align: center;
  gap: 4px;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 60px rgba(232, 67, 147, 0.35), 0 0 120px rgba(108, 92, 231, 0.15);
}

.hero__badge-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.hero__badge-age {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
}

/* Animated rings */
.hero__badge-ring {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgba(232, 67, 147, 0.20);
  animation: ring-pulse 3.5s ease-in-out infinite;
  pointer-events: none;
}

.hero__badge-ring--1 {
  width: 260px;
  height: 260px;
  animation-delay: 0s;
}

.hero__badge-ring--2 {
  width: 320px;
  height: 320px;
  animation-delay: 1s;
}

@keyframes ring-pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50%       { opacity: 0.8; transform: scale(1.04); }
}

.hero__wave {
  line-height: 0;
  position: relative;
  z-index: 1;
}

.hero__wave svg {
  width: 100%;
  height: 80px;
  display: block;
}

/* ============================================================
   9. SECTION SHARED
   ============================================================ */
.section {
  padding-block: var(--section-pad);
}

.section__header {
  text-align: center;
  margin-bottom: var(--sp-8);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--sp-2);
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.2;
  color: var(--color-primary);
  margin-bottom: var(--sp-2);
}

.section__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  max-width: 52ch;
  margin-inline: auto;
  line-height: 1.7;
}

/* ============================================================
   10. CAROUSEL (shared — both carousels use identical styles)
   ============================================================ */
.carousel {
  position: relative;
}

.carousel__track-wrap {
  overflow: hidden;
}

.carousel__track {
  display: flex;
  gap: var(--sp-3);
  transition: transform var(--ease-slow);
  will-change: transform;
  /* Prevent height collapse during transition */
  align-items: stretch;
}

.carousel__slide {
  flex: 0 0 calc((100% - var(--sp-3) * 2) / 3);
  min-width: 0;
  display: flex;
}

.carousel__slide > .card {
  width: 100%;
}

/* Controls row */
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  margin-top: var(--sp-4);
}

/* Arrow buttons */
.carousel__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  background: var(--color-card);
  color: var(--color-primary);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--ease), color var(--ease), border-color var(--ease), transform var(--ease), box-shadow var(--ease);
}

.carousel__btn:hover {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  border-color: transparent;
  color: #fff;
  transform: scale(1.06);
  box-shadow: 0 4px 16px var(--color-accent-glow);
}

.carousel__btn:disabled {
  opacity: 0.30;
  cursor: not-allowed;
  transform: none;
}

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

/* Dot indicators */
.carousel__dots {
  display: flex;
  gap: var(--sp-1);
  align-items: center;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color var(--ease), transform var(--ease), width var(--ease);
}

.carousel__dot:hover {
  background-color: var(--color-accent-light);
  transform: scale(1.3);
}

.carousel__dot.active {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  width: 24px;
  border-radius: 4px;
  transform: none;
}

/* ============================================================
   11. CARD VARIANTS
   ============================================================ */

/* Instructor card */
.card--instructor {
  flex-direction: column;
}

.card__image-wrap {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  flex-shrink: 0;
}

.card__image-wrap--wide {
  aspect-ratio: 16 / 10;
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.card__body {
  padding: var(--sp-3);
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
  flex: 1;
}

.card__name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.card__bio {
  font-size: 0.93rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* Class card */
.card--class .card__body {
  gap: var(--sp-2);
  justify-content: space-between;
}

/* ============================================================
   12. MISSION / VALUES
   ============================================================ */
.mission {
  color: #fff;
  position: relative;
  background-color: var(--color-dark-bg);
  background-image: url('../media/mission-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.mission::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,26,0.88) 0%, rgba(26,26,46,0.80) 100%);
  pointer-events: none;
}

.mission .container {
  position: relative;
  z-index: 1;
}

.mission .section__label {
  color: var(--color-accent);
  -webkit-text-fill-color: var(--color-accent-light);
}

.mission__inner {
  text-align: center;
  max-width: 740px;
  margin-inline: auto;
}

.mission__quote {
  font-family: var(--font-heading);
  font-size: clamp(1.15rem, 2.5vw, 1.65rem);
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  margin-block: var(--sp-4);
  font-style: normal;
}

.mission__values {
  display: flex;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-top: var(--sp-5);
}

.mission__value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  padding: var(--sp-3) var(--sp-4);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: background var(--ease), transform var(--ease);
}

.mission__value:hover {
  background: rgba(255, 255, 255, 0.10);
  transform: translateY(-2px);
}

.mission__icon {
  color: var(--color-accent-light);
  width: 28px;
  height: 28px;
}

/* ============================================================
   13. HOW TO PREPARE
   ============================================================ */
.prepare {
  background-color: var(--color-bg-alt);
}

.prepare__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-3);
}

.prepare__item {
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
}

.prepare__icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(232, 67, 147, 0.08), rgba(108, 92, 231, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.prepare__item:hover .prepare__icon-wrap {
  background: linear-gradient(135deg, rgba(232, 67, 147, 0.15), rgba(108, 92, 231, 0.15));
  transform: scale(1.08) rotate(-3deg);
  box-shadow: 0 4px 20px rgba(232, 67, 147, 0.12);
}

.prepare__icon-wrap svg {
  width: 26px;
  height: 26px;
}

.prepare__title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
}

.prepare__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ============================================================
   14. WHY ACROBATICS
   ============================================================ */
.why__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.why__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
  line-height: 1.75;
}

.why__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.why__list-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.why__check {
  color: var(--color-accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.why__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3);
}

.why__stat {
  padding: var(--sp-4) var(--sp-3);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-1);
}

.why__stat-num {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.why__stat--accent .why__stat-num {
  font-size: 2rem;
}

.why__stat-label {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ============================================================
   15. CLASS TYPES
   ============================================================ */
.classes {
  background-color: var(--color-bg-alt);
}

/* ============================================================
   16. WHAT SETS US APART
   ============================================================ */
.apart__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-8);
  align-items: center;
}

.apart__text {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: var(--sp-4);
  line-height: 1.75;
}

.apart__list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-5);
}

.apart__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.95rem;
  font-weight: 500;
}

.apart__list svg {
  color: var(--color-accent);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.apart__highlight {
  padding: var(--sp-6) var(--sp-5);
  background: linear-gradient(135deg, var(--color-dark-bg), #1a1a2e);
  color: #fff;
  border-color: rgba(232, 67, 147, 0.15);
  transition: transform var(--ease), box-shadow var(--ease);
}

.apart__highlight:hover {
  border-color: rgba(232, 67, 147, 0.25);
}

.apart__quote-icon {
  color: var(--color-accent-light);
  width: 36px;
  height: 36px;
  margin-bottom: var(--sp-3);
}

.apart__highlight p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: var(--sp-3);
}

.apart__highlight cite {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.50);
  font-style: normal;
}

/* ============================================================
   17. TESTIMONIALS
   ============================================================ */
.testimonials {
  background-color: var(--color-bg-alt);
}

.card--testimonial {
  padding: var(--sp-4);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  border-left: 3px solid var(--color-accent-light);
}

.testimonial__stars {
  display: flex;
  gap: 4px;
}

.testimonial__stars svg {
  width: 16px;
  height: 16px;
  fill: #fbbf24;
  stroke: none;
  color: #fbbf24;
}

.testimonial__text {
  font-size: 0.95rem;
  line-height: 1.72;
  color: var(--color-primary);
  font-style: normal;
  flex: 1;
}

.testimonial__author {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-accent);
  font-style: normal;
}

/* ============================================================
   18. SOCIAL MEDIA
   ============================================================ */
.social {
  color: #fff;
  position: relative;
  background-color: var(--color-dark-bg);
  background-image: url('../media/mission-bg.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.social::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,15,26,0.88) 0%, rgba(26,26,46,0.80) 100%);
  pointer-events: none;
}

.social .container {
  position: relative;
  z-index: 1;
}

.social__inner {
  text-align: center;
  max-width: 620px;
  margin-inline: auto;
}

.social__title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: var(--sp-2);
}

.social__subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  margin-bottom: var(--sp-5);
}

.social__links {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.social__link {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: 0 var(--sp-4);
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: border-color var(--ease), background var(--ease), transform var(--ease), box-shadow var(--ease);
}

.social__link:hover,
.social__link:focus-visible {
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  transform: translateY(-3px);
  box-shadow: 0 6px 24px var(--color-accent-glow);
}

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

/* ============================================================
   19. FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-dark-bg);
  color: rgba(255, 255, 255, 0.75);
  padding-top: var(--sp-10);
  padding-bottom: var(--sp-4);
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
  padding-bottom: var(--sp-8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  align-items: start;
  text-align: center;
}

.footer__contact,
.footer__social-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer__social-links {
  justify-content: center;
}

.footer__link {
  justify-content: center;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.footer__logo-link {
  display: inline-block;
  margin-bottom: var(--sp-2);
}

.footer__logo {
  font-size: 1.8rem;
}

.footer__logo-img {
  height: 100px;
  width: 100px;
  object-fit: contain;
  display: block;
}

.footer__tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.40);
  line-height: 1.65;
}

.footer__heading {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: var(--sp-3);
}

.footer__link {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.60);
  margin-bottom: var(--sp-2);
  transition: color var(--ease);
}

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

.footer__link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.footer__social-links {
  display: flex;
  gap: var(--sp-2);
  margin-bottom: var(--sp-3);
}

.footer__social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.60);
  transition: border-color var(--ease), color var(--ease), background var(--ease), transform var(--ease);
}

.footer__social-icon:hover {
  border-color: transparent;
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: #fff;
  transform: translateY(-2px);
}

.footer__social-icon svg {
  width: 18px;
  height: 18px;
}

.footer__cta {
  width: auto;
  background: transparent;
  color: var(--color-accent-light);
  border-color: var(--color-accent);
}

.footer__cta:hover,
.footer__cta:focus-visible {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 6px 24px var(--color-accent-glow);
  transform: translateY(-2px);
}

.footer__bottom {
  padding-top: var(--sp-4);
  text-align: center;
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.25);
}

/* ============================================================
   20. COOKIE BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: var(--sp-3);
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 9999;
  width: calc(100% - var(--sp-6));
  max-width: 780px;
  background-color: rgba(15, 15, 26, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

.cookie-banner.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-4);
  flex-wrap: wrap;
}

.cookie-banner__text {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  flex: 1;
  min-width: 240px;
}

.cookie-banner__text svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent-light);
  flex-shrink: 0;
}

.cookie-banner__text p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.6;
}

.cookie-banner__text a {
  color: var(--color-accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-banner__text a:hover {
  color: var(--color-accent);
}

.cookie-banner__actions {
  display: flex;
  gap: var(--sp-2);
  flex-shrink: 0;
}

/* ============================================================
   21. RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  :root {
    --section-pad: var(--sp-10);
  }

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

  .carousel__slide {
    flex: 0 0 calc((100% - var(--sp-3)) / 2);
  }

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

/* ============================================================
   21. RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --container-pad: var(--sp-2);
    --section-pad:   var(--sp-8);
    --sp-8:          48px;
    --sp-10:         56px;
    --sp-12:         64px;
  }

  /* Hero */
  .hero {
    padding-top: calc(var(--sp-8) + var(--sp-4));
  }

  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    padding-bottom: var(--sp-8);
    gap: var(--sp-5);
  }

  .hero__visual {
    order: -1;
  }

  .hero__subheadline {
    margin-inline: auto;
  }

  .hero__badge {
    width: 160px;
    height: 160px;
  }

  .hero__badge-age {
    font-size: 1.8rem;
  }

  .hero__badge-ring--1 { width: 210px; height: 210px; }
  .hero__badge-ring--2 { width: 260px; height: 260px; }

  /* Carousel: 1 slide on mobile */
  .carousel__slide {
    flex: 0 0 100%;
  }

  /* Two-column layouts → single column */
  .apart__inner {
    grid-template-columns: 1fr;
  }

  .apart__visual {
    display: none;
  }

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

  /* Testimonials → single column */
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: var(--sp-5);
  }

  .footer__brand {
    grid-column: auto;
  }
}

/* ============================================================
   22. RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */
@media (max-width: 480px) {
  .prepare__grid {
    grid-template-columns: 1fr;
  }

  .mission__values {
    gap: var(--sp-3);
  }

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