/* ================================================================
   БЕЛУГА АРТ — Deep Apple Redesign (Mesh / Aurora)
   ================================================================ */

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

:root {
  /* Apple Neutral Palette */
  --bg-body: #F5F5F7;
  --bg-card: #FFFFFF;
  --bg-alt: #E5E5EA;
  --bg-dark: #1D1D1F;
  --text-main: #1D1D1F;
  --text-mut: #86868B;
  --border: rgba(0, 0, 0, 0.06);
  --white: #FFFFFF;

  /* Beluga Art Accents (from logo) */
  --bel-cyan: #38B6FF;
  --bel-blue: #0071E3;
  --bel-pink: #FF1053;
  --bel-orange: #FF9F1C;
  --bel-yellow: #FFD60A;
  --bel-green: #34C759;

  /* Backwards compatibility */
  --brand: var(--bel-blue);
  --brand-dk: #004F9E;
  --brand-lt: #E8F4FD;
  --brand-mid: var(--bel-cyan);
  --accent: var(--bel-pink);
  --bg: var(--bg-body);
  --text: var(--text-main);
  --text-sec: var(--text-mut);
  --vk-blue: var(--bel-blue);
  --vk-navy: #1D1D1F;
  --vk-text: #1D1D1F;
  --vk-cream: #F5F5F7;
  --vk-gray: #86868B;
  --vk-gray-lt: rgba(0, 0, 0, .06);
  --orange: var(--bel-orange);
  --peach: var(--bel-orange);
  --teal: var(--bel-cyan);

  /* Geometry & Physics */
  --rad-sm: 12px;
  --rad-md: 18px;
  --rad-lg: 24px;
  --rad-xl: 32px;
  --rad-pill: 9999px;

  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.12);

  --trans: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --trans-fast: 0.2s ease;

  --font: 'Inter', -apple-system, 'SF Pro Display', sans-serif;
  --font-h: 'Inter', -apple-system, 'SF Pro Display', sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--bel-blue);
  text-decoration: none;
  transition: color var(--trans-fast);
}

a:hover {
  color: var(--bel-cyan);
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--rad-md);
}

ul {
  list-style: none;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ================================================================
   AURORA MESH GRADIENT BG (Redo / Apple style)
   ================================================================ */
.mesh-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #f7f9fc;
  overflow: hidden;
  pointer-events: none;
}

.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: meshFloat 20s infinite alternate ease-in-out;
}

.mesh-blob--1 {
  width: 600px;
  height: 600px;
  background: var(--bel-cyan);
  top: -200px;
  left: -100px;
}

.mesh-blob--2 {
  width: 500px;
  height: 500px;
  background: var(--bel-orange);
  bottom: -150px;
  right: -50px;
  animation-delay: -5s;
}

.mesh-blob--3 {
  width: 450px;
  height: 450px;
  background: var(--bel-pink);
  top: 30%;
  right: 20%;
  animation-delay: -10s;
  opacity: 0.4;
}

.mesh-blob--4 {
  width: 550px;
  height: 550px;
  background: var(--bel-yellow);
  bottom: 20%;
  left: 10%;
  animation-delay: -15s;
  opacity: 0.5;
}

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

  50% {
    transform: translate(100px, 80px) scale(1.1);
  }

  100% {
    transform: translate(-50px, -60px) scale(0.9);
  }
}

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.75em 1.6em;
  border-radius: var(--rad-pill);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all var(--trans);
  color: var(--text-main);
  background: var(--white);
  box-shadow: var(--shadow-xs);
  backdrop-filter: blur(10px);
}

.btn:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--text-main);
  color: var(--white);
}

.btn--primary:hover {
  background: #000;
  color: var(--white);
}

.btn--vk {
  background: #0077FF;
  color: var(--white);
}

.btn--vk:hover {
  background: #005ACC;
  color: var(--white);
  box-shadow: 0 6px 16px rgba(0, 119, 255, .3);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn--outline:hover {
  background: var(--bg-body);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.7);
}

.btn--white {
  background: var(--white);
  color: var(--text-main);
}

.btn--danger {
  background: var(--bel-pink);
  color: var(--white);
}

.btn--sm {
  font-size: 0.85rem;
  padding: 0.5em 1.2em;
}

.btn--lg {
  font-size: 1.05rem;
  padding: 0.9em 2em;
}

.btn--full {
  width: 100%;
  justify-content: center;
}

.btn--icon-only {
  padding: 0.6em;
  gap: 0;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ---- FORM FIELDS ---- */
.field {
  width: 100%;
  padding: 0.8em 1.2em;
  border: 1px solid var(--border);
  border-radius: var(--rad-md);
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text-main);
  background: var(--bg-body);
  transition: all var(--trans-fast);
  outline: none;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.field:focus {
  background: var(--white);
  border-color: var(--bel-blue);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.15);
}

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

.label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-mut);
}

/* ================================================================
   SECTION
   ================================================================ */
.section {
  padding: 120px 0;
  position: relative;
}

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

.section--cream {
  background: var(--bg-body);
}

.section-head {
  text-align: center;
  margin-bottom: 64px;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mut);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 18px;
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.section-desc {
  color: var(--text-mut);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.6;
}

/* BADGES */
.badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.3em 0.8em;
  border-radius: var(--rad-pill);
}

.badge--cat {
  background: rgba(0, 0, 0, 0.05);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.badge--easy {
  background: rgba(52, 199, 89, 0.1);
  color: #1B8A36;
}

.badge--medium {
  background: rgba(255, 159, 28, 0.1);
  color: #B36800;
}

.badge--hard {
  background: rgba(255, 16, 83, 0.1);
  color: #BA0034;
}

/* ================================================================
   HEADER (Glassmorphic)
   ================================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--trans-fast);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-main);
}

.logo__icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  overflow: hidden;
}

.logo__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.logo__name {
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

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

.nav__link {
  padding: 0.5em 1em;
  border-radius: var(--rad-pill);
  color: var(--text-mut);
  font-weight: 500;
  font-size: 0.9rem;
  transition: all var(--trans-fast);
}

.nav__link:hover {
  color: var(--text-main);
  background: rgba(0, 0, 0, 0.04);
}

.header__actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text-main);
  border-radius: 2px;
}

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 120px 20px 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.hero__title {
  font-size: clamp(3rem, 6vw, 4.5rem);
  color: var(--text-main);
  line-height: 1.05;
  margin-bottom: 24px;
  font-weight: 600;
  letter-spacing: -0.05em;
}

.hero__title em {
  font-style: normal;
  color: var(--bel-cyan);
}

.hero__desc {
  color: var(--text-mut);
  font-size: 1.2rem;
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.5;
  font-weight: 400;
}

.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero__stat strong {
  display: block;
  font-size: 2rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-main);
  letter-spacing: -0.03em;
}

.hero__stat span {
  font-size: 0.85rem;
  color: var(--text-mut);
}

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

.hero__photo {
  width: 100%;
  height: 100%;
  border-radius: var(--rad-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  background: var(--bg-alt);
}

.hero__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--rad-xl) - 4px);
}

/* ================================================================
   ABOUT
   ================================================================ */
.about {
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about__text .section-title {
  text-align: left;
}

.about__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 32px 0;
}

.about__features li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
  font-size: 1rem;
  color: var(--text-main);
}

.about__features span {
  font-size: 1.5rem;
  background: var(--bg-body);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

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

.about-card {
  border-radius: var(--rad-xl);
  padding: 32px;
  background: var(--bg-body);
  transition: transform var(--trans);
  border: 1px solid var(--border);
}

.about-card:hover {
  transform: translateY(-4px) scale(1.02);
}

.about-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 16px 0 8px;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.about-card p {
  font-size: 0.9rem;
  color: var(--text-mut);
}

.about-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  font-size: 1.8rem;
  background: var(--white);
  box-shadow: var(--shadow-xs);
}

/* ================================================================
   MASTERCLASSES (Cards)
   ================================================================ */
.mcs {
  background: var(--bg-body);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 48px;
}

.filter-btn {
  padding: 0.6em 1.4em;
  border-radius: var(--rad-pill);
  border: 1px solid transparent;
  background: var(--border);
  color: var(--text-mut);
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.filter-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  color: var(--text-main);
}

.filter-btn.active {
  background: var(--text-main);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.mc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.mc-card {
  background: var(--bg-card);
  border-radius: var(--rad-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans), box-shadow var(--trans);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

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

.mc-card.hidden {
  display: none;
}

.mc-card__head {
  height: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: #F8F9FA;
}

.mc-card__emoji-layer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: absolute;
  inset: 0;
  z-index: 2;
  transition: opacity var(--trans);
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.3);
}

.mc-card:hover .mc-card__emoji-layer {
  opacity: 0;
  pointer-events: none;
}

.mc-card__slider {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  overflow: hidden;
}

.mc-card__slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
  border-radius: 0;
}

.mc-card__slider img.active {
  opacity: 1;
}

.mc-card__emoji {
  font-size: 4.5rem;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.mc-card__badges {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  z-index: 3;
}

.mc-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.mc-card__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.mc-card__desc {
  font-size: 0.95rem;
  color: var(--text-mut);
  margin-bottom: 20px;
  line-height: 1.5;
  flex: 1;
}

.mc-card__meta {
  display: flex;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--text-mut);
  margin-bottom: 20px;
}

.mc-card__meta-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.mc-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

.mc-card__price strong {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.mc-card__gallery {
  display: flex;
  gap: 8px;
  padding: 0 24px 20px;
}

.mc-card__thumb {
  width: 64px;
  height: 50px;
  border-radius: var(--rad-sm);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  transition: transform var(--trans);
}

.mc-card__thumb:hover {
  transform: scale(1.05);
}

.mc-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.mc-card__thumb--more {
  width: 64px;
  height: 50px;
  border-radius: var(--rad-sm);
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-mut);
  cursor: pointer;
}

/* ================================================================
   HOW IT WORKS
   ================================================================ */
.how {
  background: var(--white);
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  text-align: left;
  padding: 32px;
  border-radius: var(--rad-xl);
  background: var(--bg-body);
  position: relative;
}

.step__num {
  width: 40px;
  height: 40px;
  background: var(--text-main);
  color: var(--white);
  border-radius: 50%;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.step p {
  font-size: 0.95rem;
  color: var(--text-mut);
  line-height: 1.6;
}

/* ================================================================
   REVIEWS
   ================================================================ */
.testimonials {
  background: var(--bg-body);
  overflow: hidden;
}

.reviews-track {
  display: flex;
  gap: 24px;
  padding: 10px 0 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: var(--rad-xl);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.review-card__top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.review-card__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-main);
  font-weight: 600;
}

.review-card__name {
  font-weight: 600;
  font-size: 1.05rem;
}

.review-card__date {
  font-size: 0.85rem;
  color: var(--text-mut);
}

.review-card__stars {
  margin-left: auto;
  color: var(--bel-orange);
  font-size: 1.1rem;
}

.review-card__text {
  font-size: 1rem;
  color: var(--text-mut);
  line-height: 1.6;
}

.reviews-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.reviews-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  color: var(--text-main);
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.reviews-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-md);
}

/* ================================================================
   CTA BANNER (Mesh Background)
   ================================================================ */
.cta-banner {
  background: var(--bg-dark);
  border-radius: var(--rad-xl);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  box-shadow: var(--shadow-lg);
}

.cta-banner__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
  opacity: 0.8;
}

.cta-banner__blob1 {
  position: absolute;
  width: 400px;
  height: 400px;
  background: var(--bel-orange);
  filter: blur(60px);
  top: -100px;
  right: -50px;
  border-radius: 50%;
  opacity: 0.6;
}

.cta-banner__blob2 {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--bel-pink);
  filter: blur(50px);
  bottom: -100px;
  left: 100px;
  border-radius: 50%;
  opacity: 0.5;
}

.cta-banner__blob3 {
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--bel-cyan);
  filter: blur(70px);
  top: 20%;
  right: 40%;
  border-radius: 50%;
  opacity: 0.4;
}

.cta-banner__text {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 300px;
}

.cta-banner h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  line-height: 1.6;
  max-width: 500px;
}

.cta-banner__actions {
  position: relative;
  z-index: 1;
}

/* ================================================================
   CONTACTS & FOOTER
   ================================================================ */
.contacts {
  background: var(--white);
}

.contacts__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 32px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-icon {
  font-size: 1.8rem;
  line-height: 1;
  background: var(--bg-body);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}

.contact-list strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-mut);
  margin-bottom: 4px;
}

.contact-list a {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
}

.contact-form-wrap {
  background: var(--bg-body);
  border-radius: var(--rad-xl);
  padding: 40px;
}

.contact-form-wrap h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

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

.footer {
  background: var(--white);
  padding: 80px 0 32px;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 64px;
}

.footer__brand .logo__name {
  color: var(--text-main);
  font-size: 1.4rem;
}

.footer__brand p {
  margin-top: 20px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-mut);
  max-width: 320px;
}

.footer__col h4 {
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer__col a {
  display: block;
  color: var(--text-mut);
  font-size: 0.95rem;
  margin-bottom: 12px;
  transition: color var(--trans-fast);
}

.footer__col a:hover {
  color: var(--text-main);
}

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-mut);
  flex-wrap: wrap;
  gap: 16px;
}

/* ================================================================
   MODALS
   ================================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--trans-fast);
}

.modal-overlay.visible {
  opacity: 1;
}

.modal {
  background: var(--white);
  border-radius: var(--rad-xl);
  padding: 40px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: transform var(--trans);
  max-height: 90vh;
  overflow-y: auto;
}

.modal-overlay.visible .modal {
  transform: none;
}

.modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--bg-body);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  color: var(--text-mut);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background var(--trans-fast);
}

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

.modal__title {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.modal__sub {
  text-align: center;
  color: var(--text-mut);
  font-size: 0.95rem;
  margin-bottom: 32px;
  line-height: 1.5;
}

.order-form .form-group {
  margin-bottom: 20px;
}

.price-preview {
  background: var(--bg-body);
  border-radius: var(--rad-md);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.price-preview__val {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-main);
}

/* ================================================================
   CABINET
   ================================================================ */
.cabinet-page {
  background: var(--bg-body);
}

.cab-hero {
  background: var(--white);
  padding: 60px 0 40px;
  border-bottom: 1px solid var(--border);
}

.cab-hero__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.cab-hero__avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.cab-hero__avatar--placeholder {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--bg-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--text-mut);
}

.cab-hero__info h1 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
  color: var(--text-main);
}

.cab-hero__info p {
  color: var(--text-mut);
  font-size: 1.1rem;
}

.cab-stats {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.cab-stat strong {
  display: block;
  font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--text-main);
}

.cab-stat span {
  font-size: 0.85rem;
  color: var(--text-mut);
}

.cab-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  padding: 48px 24px 80px;
  max-width: 1160px;
  margin: 0 auto;
}

.cab-sidebar {
  background: var(--white);
  border-radius: var(--rad-lg);
  padding: 24px;
  box-shadow: var(--shadow-xs);
  position: sticky;
  top: 100px;
  border: 1px solid var(--border);
}

.cab-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 32px;
}

.cab-nav__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.7em 1.2em;
  border-radius: var(--rad-md);
  color: var(--text-mut);
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--trans-fast);
}

.cab-nav__link:hover,
.cab-nav__link.active {
  background: var(--bg-body);
  color: var(--text-main);
}

.cab-main {
  min-height: 500px;
}

.cab-section-title {
  font-size: 1.6rem;
  font-weight: 600;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

.cab-tab {
  display: none;
}

.cab-tab.active {
  display: block;
}

.status-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.35em 1em;
  border-radius: var(--rad-pill);
}

.status--pending {
  background: rgba(255, 159, 28, 0.15);
  color: #B36800;
}

.status--confirmed {
  background: rgba(52, 199, 89, 0.15);
  color: #1B8A36;
}

.status--cancelled {
  background: rgba(255, 59, 48, 0.15);
  color: #BA0034;
}

.status--completed {
  background: rgba(0, 113, 227, 0.15);
  color: #0056B3;
}

.order-card {
  background: var(--white);
  border-radius: var(--rad-lg);
  padding: 32px;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--trans);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.order-card:hover {
  box-shadow: var(--shadow-md);
}

.order-card__head {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.order-card__emoji {
  font-size: 3rem;
  line-height: 1;
}

.order-card__info h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.order-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
}

.order-card__meta span {
  font-size: 0.9rem;
  color: var(--text-mut);
  font-weight: 500;
}

.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.schedule-card {
  background: var(--white);
  border-radius: var(--rad-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
  transition: transform var(--trans), box-shadow var(--trans);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.schedule-card__date {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 1.05rem;
}

.schedule-card__date-day {
  width: 60px;
  height: 60px;
  border-radius: var(--rad-md);
  background: var(--bg-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.1;
}

.schedule-card__date-day span {
  font-size: 0.7rem;
  color: var(--text-mut);
  text-transform: uppercase;
}

.schedule-card__title {
  font-weight: 600;
  font-size: 1.1rem;
}

.schedule-card__meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-mut);
}

/* ================================================================
   LIGHTBOX
   ================================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox[hidden] {
  display: none;
}

.lightbox.visible {
  display: flex;
}

.lightbox__inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 60px 20px;
}

.lightbox__close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all var(--trans-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans-fast);
  backdrop-filter: blur(10px);
}

.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.25);
}

.lightbox__prev {
  left: 32px;
}

.lightbox__next {
  right: 32px;
}

.lightbox__img-wrap img {
  max-width: 85vw;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--rad-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  color: rgba(255, 255, 255, 0.8);
  margin-top: 16px;
  font-weight: 500;
  font-size: 1rem;
}

.lightbox__counter {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  margin-top: 8px;
}

.lightbox__thumbs {
  display: flex;
  gap: 8px;
  margin-top: 24px;
  overflow-x: auto;
  max-width: 90vw;
  padding-bottom: 8px;
}

.lightbox__thumb {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  cursor: pointer;
  overflow: hidden;
  border-radius: 8px;
  opacity: 0.4;
  transition: all var(--trans-fast);
  border: 2px solid transparent;
}

.lightbox__thumb.active {
  opacity: 1;
  border-color: var(--white);
}

.lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 900px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding: 100px 20px 60px;
    text-align: center;
  }

  .hero__desc {
    margin: 0 auto 40px;
  }

  .hero__btns {
    justify-content: center;
  }

  .hero__stats {
    justify-content: center;
  }

  .about__inner,
  .contacts__inner,
  .cab-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 600px) {
  .nav {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero__title {
    font-size: 2.4rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .cta-banner {
    padding: 48px 32px;
    border-radius: 0;
  }

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

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

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

/* ================================================================
   APPLE-STYLE OVERRIDES (Catalog, About, Schedule, Footer)
   ================================================================ */
/* Catalog */
.filter-btn {
  padding: 10px 24px;
  border-radius: 999px;
  background: #fff;
  color: var(--text-sec);
  font-weight: 600;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
}

.filter-btn:hover {
  border-color: var(--text-sec);
  color: var(--text);
}

.filter-btn.active {
  background: var(--text);
  border-color: var(--text);
  color: #fff;
}

.mc-grid {
  gap: 32px;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
}

.mc-card {
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .04);
  border: none;
  background: #fff;
}

.mc-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .12);
}

.mc-card__head {
  height: 280px;
  background: #f4f4f4;
  border-radius: 32px 32px 0 0;
}

.mc-card__slider img {
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: scale(1.05);
}

.mc-card__slider img.active {
  opacity: 1;
  transform: scale(1);
}

.mc-card:hover .mc-card__slider img.active {
  transform: scale(1.08);
}

.mc-card__badges {
  top: 20px;
  left: 20px;
  right: 20px;
}

.mc-badge {
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .1);
  border-radius: 999px;
}

.mc-card__body {
  padding: 55px 24px 24px;
  margin-top: -24px;
  border-radius: 24px 24px 0 0;
  position: relative;
  z-index: 5;
}

.mc-card__title {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 8px;
}

.mc-card__desc {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.6;
  margin-bottom: 24px;
}

.mc-card__meta-item {
  background: var(--bg-sec);
  padding: 8px 14px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-sec);
}

.mc-card__footer {
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.mc-card__price strong {
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  display: block;
}

.mc-card__price span {
  font-size: 0.85rem;
  color: var(--text-sec);
  margin-top: 4px;
  display: block;
}

.mc-card__actions {
  gap: 12px;
}

/* Bento About */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  gap: 24px;
}

.bento-item {
  background: var(--bg-body);
  border-radius: 32px;
  padding: 32px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
}

.bento-item--large {
  grid-column: span 2;
  grid-row: span 2;
  background: #fff;
  border: none;
  box-shadow: 0 4px 24px rgba(0, 0, 0, .04);
}

.bento-item--wide {
  grid-column: span 2;
}

.bento-item--img {
  padding: 0;
}

.bento-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bento-item__title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
  color: var(--text);
}

.bento-item__desc {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.6;
}

.bento-item__icon {
  width: 56px;
  height: 56px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .05);
}

/* Schedule Timeline */
.timeline-card {
  display: flex;
  align-items: stretch;
  gap: 24px;
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, .03);
  transition: transform .3s, box-shadow .3s;
}

.timeline-card:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.timeline-card__date {
  width: 100px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-sec);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.timeline-card__day {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--brand);
  letter-spacing: -0.05em;
}

.timeline-card__month {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-sec);
  margin-top: 4px;
}

.timeline-card__time {
  font-size: 0.85rem;
  color: var(--text);
  font-weight: 700;
  margin-top: 8px;
  background: #fff;
  padding: 4px 8px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .05);
}

.timeline-card__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-card__title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}

.timeline-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.timeline-card__actions {
  margin-top: auto;
}

/* Reviews Floating */
.review-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 32px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .05);
  width: 400px;
  flex-shrink: 0;
}

/* New Modern Footer */
.footer-modern {
  background: var(--bg);
  padding: 80px 0 40px;
  border-top: 1px solid var(--border);
}

.footer-grid-m {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  text-decoration: none;
}

.footer-logo img {
  width: 48px;
  border-radius: 12px;
}

.footer-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.03em;
}

.footer-desc {
  font-size: 1rem;
  color: var(--text-sec);
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  margin-bottom: 12px;
  color: var(--text-sec);
  font-weight: 500;
  transition: color .2s;
  text-decoration: none;
}

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

.footer-bottom-m {
  padding-top: 32px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-mut);
  font-size: 0.9rem;
  font-weight: 500;
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .bento-item--large,
  .bento-item--wide {
    grid-column: auto;
    grid-row: auto;
  }

  .bento-item {
    padding: 24px;
    min-height: 200px;
  }

  .footer-grid-m {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}