/* ==========================================================================
   ПАРШЕ — Школа-студия перманентного макияжа и эстетической реконструкции кожи
   Design System & Stylesheet
   ========================================================================== */

:root {
  /* Burgundy / Wine Silk Palette */
  --wine-950: #1b0507;
  --wine-900: #28080c;
  --wine-850: #350b11;
  --wine-800: #430f16;
  --wine-700: #591620;
  --wine-600: #701e2a;

  /* Cream / Powder Beige Palette */
  --cream-50: #fbf6f3;
  --cream-100: #f5ebe6;
  --cream-200: #efe0d8;
  --cream-300: #e5cfc3;
  --cream-400: #d5b8a9;

  /* Text Colors */
  --text-dark: #261513;
  --text-body: #4a3330;
  --text-muted: #7a5f5a;
  --text-light: #f9f1ec;
  --text-light-muted: rgba(249, 241, 236, 0.78);
  --text-gold: #dec0b0;

  /* Borders & Surfaces */
  --border-light: rgba(249, 241, 236, 0.24);
  --border-dark: rgba(74, 51, 48, 0.18);
  --border-card: rgba(122, 95, 90, 0.22);
  --shadow-soft: 0 14px 38px rgba(38, 21, 19, 0.08);
  --shadow-elevated: 0 22px 54px rgba(27, 5, 7, 0.22);

  /* Typography */
  --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-script: 'Marck Script', 'Caveat', cursive;

  /* Layout */
  --container-max: 1240px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --transition: 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background-color: var(--cream-100);
  line-height: 1.55;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
select,
textarea {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ==========================================================================
   SILK BACKGROUNDS & DECORATIVE ELEMENTS
   ========================================================================== */

.bg-wine-silk {
  background:
    radial-gradient(ellipse 65% 55% at 72% 28%, rgba(115, 28, 40, 0.55) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 18% 75%, rgba(92, 20, 30, 0.48) 0%, transparent 65%),
    linear-gradient(135deg, #1e0508 0%, #380b11 38%, #24060a 72%, #3d0d14 100%);
  color: var(--text-light);
  position: relative;
}

.bg-cream-silk {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 250, 247, 0.85) 0%, transparent 55%),
    radial-gradient(circle at 85% 65%, rgba(229, 207, 195, 0.45) 0%, transparent 60%),
    linear-gradient(180deg, #f6ece6 0%, #efe1d9 50%, #f5ebe5 100%);
  color: var(--text-dark);
  position: relative;
}

/* Subtle botanical SVG watermarks */
.botanical-decor {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.35;
}

.botanical-decor--left {
  left: -20px;
  top: 50%;
  transform: translateY(-50%);
}

.botanical-decor--right {
  right: -15px;
  top: 25%;
}

/* Handwritten script accent */
.script-accent {
  font-family: var(--font-script);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1.15;
  color: rgba(245, 226, 216, 0.78);
  transform: rotate(-14deg);
  display: inline-block;
  user-select: none;
  pointer-events: none;
}

.script-accent--dark {
  color: rgba(122, 82, 74, 0.62);
}

/* ==========================================================================
   TYPOGRAPHY UTILITIES
   ========================================================================== */

.eyebrow {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 500;
}

.eyebrow--light {
  color: var(--text-gold);
}

.eyebrow--line::before {
  content: '';
  width: 36px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.serif-title {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.01em;
}

.h1-hero {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(2.4rem, 4.3vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
}

.h2-section {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(1.95rem, 3.2vw, 3.05rem);
  line-height: 1.1;
}

.section-heading-lined {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  text-align: center;
  margin-bottom: 6px;
}

.section-heading-lined::before,
.section-heading-lined::after {
  content: '';
  flex: 1;
  max-width: 220px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(74, 51, 48, 0.28), transparent);
}

/* ==========================================================================
   BUTTONS (PILL CTA)
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
}

.btn .arrow {
  transition: transform 0.25s ease;
  font-size: 1rem;
  line-height: 1;
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn--cream {
  background: var(--cream-100);
  color: var(--wine-900);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.btn--cream:hover {
  background: #ffffff;
  transform: translateY(-1px);
}

.btn--wine {
  background: linear-gradient(135deg, var(--wine-800), var(--wine-900));
  color: var(--text-light);
  box-shadow: 0 8px 22px rgba(40, 8, 12, 0.25);
}

.btn--wine:hover {
  background: linear-gradient(135deg, var(--wine-700), var(--wine-850));
  transform: translateY(-1px);
}

.btn--outline-light {
  border: 1px solid rgba(249, 241, 236, 0.42);
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.03);
}

.btn--outline-light:hover {
  border-color: var(--cream-100);
  background: rgba(255, 255, 255, 0.1);
}

.btn--outline-dark {
  border: 1px solid rgba(74, 51, 48, 0.35);
  color: var(--text-dark);
  background: transparent;
}

.btn--outline-dark:hover {
  border-color: var(--wine-800);
  background: rgba(67, 15, 22, 0.05);
}

.btn--sm {
  padding: 9px 20px;
  font-size: 0.8rem;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: inherit;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.link-arrow:hover {
  gap: 12px;
  opacity: 0.85;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
  padding: 16px 0;
}

.site-header--dark {
  background: rgba(31, 6, 9, 0.92);
  backdrop-filter: blur(14px);
  color: var(--text-light);
  border-bottom: 1px solid rgba(249, 241, 236, 0.08);
}

.site-header--light {
  background: rgba(245, 235, 230, 0.92);
  backdrop-filter: blur(14px);
  color: var(--text-dark);
  border-bottom: 1px solid rgba(74, 51, 48, 0.09);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-logo__title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  letter-spacing: 0.08em;
  line-height: 0.95;
  font-weight: 500;
}

.brand-logo__sub {
  font-size: 0.56rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.78;
  line-height: 1.25;
  max-width: 240px;
}

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

.main-nav__link {
  font-size: 0.86rem;
  font-weight: 400;
  opacity: 0.84;
  padding: 6px 0;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
}

.main-nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.25s ease;
}

.main-nav__link:hover,
.main-nav__link.is-active {
  opacity: 1;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header--light .header-cta {
  border-color: rgba(74, 51, 48, 0.4);
  color: var(--text-dark);
}

.site-header--light .header-cta:hover {
  background: var(--wine-850);
  color: var(--text-light);
  border-color: var(--wine-850);
}

.burger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  padding: 6px;
  color: inherit;
}

.burger-btn span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: var(--transition);
}

/* Page View Switcher */
.page-view {
  display: none;
  animation: fadePage 0.38s ease;
}

.page-view.is-active {
  display: block;
}

@keyframes fadePage {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   PAGE 1: HOME (ГЛАВНАЯ)
   ========================================================================== */

.home-hero {
  position: relative;
  padding: 36px 0 74px;
  overflow: hidden;
}

.home-hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.75fr;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.home-hero__content {
  z-index: 3;
}

.home-hero__title {
  margin-bottom: 34px;
  max-width: 640px;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.home-hero__portrait-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -44px;
}

.home-hero__portrait {
  width: 100%;
  max-width: 375px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(15, 2, 4, 0.45));
}

.home-hero__bio {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-light-muted);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-left: 12px;
}

.home-hero__bio strong {
  color: var(--text-light);
  font-weight: 600;
}

.hero-wave-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
  z-index: 4;
}

.hero-wave-bottom svg {
  width: 100%;
  height: 46px;
  display: block;
}

/* Home Benefits Row */
.benefits-strip {
  padding: 36px 0 44px;
  border-bottom: 1px solid rgba(74, 51, 48, 0.1);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.benefit-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}

.benefit-item__icon {
  width: 40px;
  height: 40px;
  color: var(--wine-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefit-item__title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
  line-height: 1.3;
}

.benefit-item__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.45;
}

/* Home Intro / Philosophy Section */
.home-intro {
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
}

.home-intro__grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

.home-intro__Visual {
  position: relative;
}

.home-intro__collage {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.home-intro__text p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 18px;
  line-height: 1.6;
}

.dual-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.dual-cta-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

.dual-cta-col__caption {
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Home Main Directions (01 - 04) */
.home-directions {
  padding: 36px 0 72px;
  position: relative;
}

.home-directions__header {
  position: relative;
  margin-bottom: 38px;
  text-align: center;
}

.home-directions__subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  color: var(--text-body);
}

/* Floating Trial Badge on top right of Directions — Tilted, Perspective Tapered & Shimmering */
.trial-floating-wrap {
  position: absolute;
  right: -6px;
  top: -28px;
  z-index: 6;
  perspective: 520px;
  transform-style: preserve-3d;
  padding: 18px 22px;
}

.trial-floating-badge {
  position: relative;
  background:
    radial-gradient(circle at 78% 28%, rgba(162, 42, 60, 0.65) 0%, transparent 60%),
    linear-gradient(125deg, #3c0c13 0%, #631823 52%, #29070b 100%);
  color: var(--text-light);
  padding: 18px 34px 18px 24px;
  /* Узкое скругление в начале (слева) и расширенное объёмное в конце (справа) */
  border-radius: 48px 92px 92px 48px / 34px 78px 78px 34px;
  box-shadow:
    12px 18px 38px rgba(27, 5, 7, 0.34),
    0 0 26px rgba(222, 192, 176, 0.28),
    inset 0 1px 1px rgba(255, 240, 232, 0.35);
  text-align: center;
  max-width: 285px;
  border: 1px solid rgba(249, 241, 236, 0.28);
  /* Наклон + деликатная 3D-перспектива: левый край чуть дальше и уже, правый ближе и шире */
  transform-origin: 20% 50%;
  transform: rotate(-7deg) rotateY(-10deg) rotateX(3deg);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
  animation: badgePerspectiveFloat 4.8s ease-in-out infinite;
  overflow: hidden;
}

.trial-floating-wrap:hover .trial-floating-badge {
  transform: rotate(-5deg) rotateY(-6deg) rotateX(2deg) scale(1.04);
  box-shadow:
    16px 22px 44px rgba(27, 5, 7, 0.42),
    0 0 36px rgba(238, 206, 186, 0.48),
    inset 0 1px 2px rgba(255, 245, 238, 0.5);
}

/* Бегущий зеркальный блик по шёлковой бирке */
.trial-floating-badge__shimmer {
  position: absolute;
  top: -50%;
  left: -120%;
  width: 65%;
  height: 200%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 238, 226, 0.04) 25%,
    rgba(255, 244, 235, 0.28) 50%,
    rgba(255, 238, 226, 0.04) 75%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: badgeShimmerSweep 4.2s ease-in-out infinite;
}

.trial-floating-badge__title {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.14rem;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.badge-star-inline {
  display: inline-block;
  color: #f7d9c4;
  animation: inlineStarPulse 2.2s ease-in-out infinite;
}

.trial-floating-badge__sub {
  font-size: 0.75rem;
  color: var(--text-light-muted);
  margin-bottom: 11px;
  position: relative;
  z-index: 2;
}

.trial-floating-badge .btn {
  position: relative;
  z-index: 2;
}

/* Мерцающая дребедень (искры, звёздочки, золотистые пылинки) вокруг бирки */
.trial-sparkles {
  position: absolute;
  inset: -14px -18px;
  pointer-events: none;
  z-index: 8;
}

.sparkle-item {
  position: absolute;
  color: #b87a68;
  font-size: 1rem;
  line-height: 1;
  text-shadow:
    0 0 8px rgba(255, 226, 204, 0.95),
    0 0 16px rgba(184, 122, 104, 0.65);
  animation: sparkleTwinkle 2.6s ease-in-out infinite;
}

.sparkle-item.s-1 {
  top: 6px;
  left: 10px;
  font-size: 1.25rem;
  color: #8c424c;
  animation-delay: 0s;
}

.sparkle-item.s-2 {
  top: -8px;
  right: 38px;
  font-size: 1.35rem;
  color: #c68b77;
  animation-delay: 0.55s;
}

.sparkle-item.s-3 {
  bottom: 14px;
  left: -4px;
  font-size: 0.95rem;
  color: #a96758;
  animation-delay: 1.1s;
}

.sparkle-item.s-4 {
  top: 38%;
  right: -8px;
  font-size: 1.4rem;
  color: #7c2430;
  animation-delay: 1.65s;
}

.sparkle-item.s-5 {
  bottom: -4px;
  right: 68px;
  font-size: 1.1rem;
  color: #b87b6a;
  animation-delay: 0.85s;
}

.sparkle-item.s-6 {
  top: -6px;
  left: 44%;
  font-size: 0.88rem;
  color: #9e545c;
  animation-delay: 2.05s;
}

/* Светящиеся мерцающие пылинки */
.sparkle-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff8f2 0%, #d9a08c 60%, transparent 100%);
  box-shadow: 0 0 10px 2px rgba(217, 160, 140, 0.85);
  animation: dustFloatTwinkle 3.2s ease-in-out infinite;
}

.sparkle-dot.d-1 {
  top: 18px;
  left: -6px;
  animation-delay: 0.2s;
}

.sparkle-dot.d-2 {
  top: -4px;
  right: 12px;
  width: 8px;
  height: 8px;
  animation-delay: 0.9s;
}

.sparkle-dot.d-3 {
  bottom: 6px;
  right: 18px;
  animation-delay: 1.5s;
}

.sparkle-dot.d-4 {
  bottom: 24px;
  left: 22px;
  width: 5px;
  height: 5px;
  animation-delay: 2.1s;
}

.sparkle-dot.d-5 {
  top: 52%;
  left: -10px;
  width: 7px;
  height: 7px;
  animation-delay: 1.2s;
}

/* Изогнутая стрелка к карточке 04 */
.trial-curved-arrow {
  position: absolute;
  right: 6px;
  bottom: -54px;
  width: 58px;
  height: 76px;
  pointer-events: none;
  opacity: 0.78;
}

@keyframes badgePerspectiveFloat {
  0%, 100% {
    transform: rotate(-7deg) rotateY(-10deg) rotateX(3deg) translateY(0);
  }
  50% {
    transform: rotate(-6deg) rotateY(-8deg) rotateX(1.5deg) translateY(-4px);
  }
}

@keyframes badgeShimmerSweep {
  0% {
    left: -130%;
  }
  45%, 100% {
    left: 160%;
  }
}

@keyframes sparkleTwinkle {
  0%, 100% {
    opacity: 0.22;
    transform: scale(0.65) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.28) rotate(22deg);
  }
}

@keyframes dustFloatTwinkle {
  0%, 100% {
    opacity: 0.15;
    transform: translateY(0) scale(0.6);
  }
  50% {
    opacity: 0.95;
    transform: translateY(-7px) scale(1.35);
  }
}

@keyframes inlineStarPulse {
  0%, 100% {
    transform: scale(0.9) rotate(0deg);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.25) rotate(18deg);
    opacity: 1;
  }
}

.directions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.direction-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.34);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 12px 12px 20px;
  transition: var(--transition);
}

.direction-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
  background: rgba(255, 255, 255, 0.55);
}

.direction-card__img-wrap {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 190 / 127;
  margin-bottom: 16px;
}

.direction-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.direction-card:hover .direction-card__img-wrap img {
  transform: scale(1.04);
}

.direction-card__title {
  font-family: var(--font-serif);
  font-size: 1.22rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.direction-card__desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.48;
  margin-bottom: 18px;
  flex-grow: 1;
}

.direction-card__footer {
  margin-top: auto;
}

/* Bottom Wine Banner */
.wine-cta-banner {
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.wine-cta-banner__grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 44px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.wine-cta-banner__desc {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ==========================================================================
   PAGE 2: TRAINING (ОБУЧЕНИЕ)
   ========================================================================== */

.training-hero {
  padding: 44px 0 48px;
  position: relative;
  overflow: hidden;
}

.training-hero__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 32px;
  align-items: center;
}

.training-scattered-notes {
  position: relative;
  min-height: 290px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.scattered-note {
  position: absolute;
  line-height: 1.12;
  transition: transform 0.35s ease;
}

.scattered-note.note--1 {
  top: 0;
  left: 6%;
  transform: rotate(-14deg);
  font-size: clamp(1.45rem, 2.1vw, 1.95rem);
  color: rgba(112, 30, 42, 0.72);
}

.scattered-note.note--2 {
  top: 38%;
  right: 2%;
  transform: rotate(9deg);
  font-size: clamp(1.3rem, 1.85vw, 1.72rem);
  color: rgba(122, 82, 74, 0.68);
  text-align: right;
}

.scattered-note.note--3 {
  bottom: 4px;
  left: 14%;
  transform: rotate(-7deg);
  font-size: clamp(1.35rem, 1.95vw, 1.8rem);
  color: rgba(94, 48, 46, 0.75);
}

.training-hero__desc {
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 18px 0 28px;
  max-width: 720px;
  line-height: 1.6;
}

.regalia-list {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(74, 51, 48, 0.12);
}

.regalia-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.35;
}

.regalia-item__icon {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  color: var(--wine-800);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Trial Promo Block */
.trial-promo-section {
  padding: 12px 0 56px;
}

.trial-promo-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(249, 241, 236, 0.14);
}

.trial-promo-card__content {
  padding: 46px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trial-promo-card__desc {
  font-size: 0.88rem;
  color: var(--text-light-muted);
  margin: 16px 0 22px;
  line-height: 1.55;
}

.trial-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.trial-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.trial-checklist__icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid rgba(249, 241, 236, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  flex-shrink: 0;
}

.trial-promo-card__image {
  position: relative;
  min-height: 340px;
}

.trial-promo-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Courses Grid (4 Dark Cards) */
.courses-section {
  padding: 20px 0 56px;
}

.section-top-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 28px;
  gap: 16px;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.course-card {
  border-radius: var(--radius-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  min-height: 320px;
  border: 1px solid rgba(249, 241, 236, 0.14);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
}

.course-card__icon {
  width: 36px;
  height: 36px;
  color: var(--text-gold);
  margin-bottom: 16px;
}

.course-card__type {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-gold);
  margin-bottom: 4px;
}

.course-card__name {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.course-card__zone {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(249, 241, 236, 0.9);
  margin-bottom: 14px;
  line-height: 1.35;
}

.course-card__desc {
  font-size: 0.79rem;
  color: var(--text-light-muted);
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-card__price-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  background: var(--cream-100);
  color: var(--wine-900);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 9px 26px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
}

.courses-top-bar {
  position: relative;
}

.courses-top-bar__right {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

.try-free-circle-badge {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: linear-gradient(145deg, #f7e9e0, #e8cfc1);
  border: 1.5px solid rgba(112, 30, 42, 0.22);
  box-shadow:
    0 14px 32px rgba(38, 21, 19, 0.18),
    inset 0 0 0 5px rgba(255, 255, 255, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  gap: 3px;
  font-size: 0.74rem;
  line-height: 1.2;
  color: var(--text-dark);
  margin-bottom: -48px;
  z-index: 6;
  position: relative;
  transform: rotate(-5deg);
  transition: var(--transition);
}

.try-free-circle-badge strong {
  font-weight: 800;
  color: var(--wine-850);
  letter-spacing: 0.03em;
}

.try-free-circle-badge:hover {
  transform: rotate(0deg) scale(1.05);
  box-shadow: 0 18px 38px rgba(40, 8, 12, 0.28);
}

/* Why Learn From Oksana Parykina (7 Columns with dividers) */
.why-training-section {
  padding: 20px 0 56px;
}

.why-grid-7 {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0;
  margin-top: 28px;
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.why-item--centered {
  align-items: center;
  text-align: center;
  padding: 6px 12px;
  border-right: 1px solid rgba(74, 51, 48, 0.14);
}

.why-item--centered:last-child {
  border-right: none;
}

.why-item__icon {
  width: 34px;
  height: 34px;
  color: var(--wine-800);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-item__title {
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.32;
  color: var(--text-body);
}

/* Trainer Quote & Regalia Banner (Oksana Parykina) */
.trainer-quote-banner {
  padding: 0;
  overflow: hidden;
}

.trainer-quote-banner__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.05fr 1.25fr;
  gap: 32px;
  align-items: center;
}

.trainer-quote-banner__photo-wrap {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 18px;
}

.trainer-quote-banner__photo {
  width: 100%;
  max-width: 280px;
  object-fit: cover;
  border-radius: 140px 140px 0 0;
}

.trainer-quote-banner__info {
  padding: 36px 0;
}

.trainer-quote-banner__role {
  font-size: 0.84rem;
  color: var(--text-light-muted);
  margin-bottom: 18px;
  line-height: 1.45;
}

.trainer-achievements {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.trainer-achievements li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-light);
}

.trainer-achievements svg {
  color: var(--text-gold);
  flex-shrink: 0;
}

.trainer-quote-banner__quote {
  padding: 36px 0 36px 32px;
  border-left: 1px solid rgba(249, 241, 236, 0.18);
  position: relative;
}

.trainer-quote-banner__mark {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  line-height: 0.7;
  color: var(--text-gold);
  margin-bottom: 8px;
}

.trainer-quote-banner__quote blockquote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.08rem, 1.45vw, 1.28rem);
  line-height: 1.42;
  color: var(--text-light);
  margin-bottom: 14px;
}

.trainer-quote-banner__sign {
  float: right;
  font-size: 1.85rem;
  transform: rotate(-10deg);
}

/* Student Stories Section */
.student-stories-section {
  padding: 56px 0;
}

.student-stories__layout {
  display: grid;
  grid-template-columns: 0.85fr 2.15fr;
  gap: 32px;
  align-items: center;
}

.student-stories__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.story-card {
  background: var(--cream-100);
  color: var(--text-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.story-card__img {
  height: 92px;
  width: 100%;
  object-fit: cover;
}

.story-card__body {
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  position: relative;
}

.story-card__quote-mark {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 0.8;
  color: var(--cream-400);
  margin-bottom: 6px;
}

.story-card__text {
  font-size: 0.76rem;
  color: var(--text-body);
  line-height: 1.48;
  margin-bottom: 14px;
  flex-grow: 1;
}

.story-card__author {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.story-card__course {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Tariff Comparison & Unified Guide ("Какой тариф выбрать?") */
.pricing-section {
  padding: 56px 0 68px;
}

.tariff-comparison-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.tariff-comparison-header__hint {
  font-size: 0.84rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(74, 51, 48, 0.14);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
}

.tariff-matrix {
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid rgba(74, 51, 48, 0.18);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.tariff-matrix__head {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1.1fr 2.1fr 0.75fr;
  gap: 18px;
  padding: 16px 24px;
  background: rgba(67, 15, 22, 0.06);
  border-bottom: 1px solid rgba(74, 51, 48, 0.15);
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.tariff-matrix__row {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1.1fr 2.1fr 0.75fr;
  gap: 18px;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid rgba(74, 51, 48, 0.12);
  transition: background-color 0.22s ease;
}

.tariff-matrix__row:last-child {
  border-bottom: none;
}

.tariff-matrix__row:hover {
  background: rgba(255, 255, 255, 0.75);
}

.tariff-matrix__name {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.tariff-badge-tag {
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.tariff-matrix__name strong {
  font-family: var(--font-serif);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--text-dark);
}

.price-wine-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--wine-700), var(--wine-900));
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.tariff-matrix__zones {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--text-dark);
}

.tariff-matrix__guide {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(239, 224, 216, 0.55);
  border-left: 3px solid var(--wine-700);
  padding: 10px 14px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.82rem;
  color: var(--text-body);
  line-height: 1.45;
}

.guide-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--wine-700);
  color: var(--wine-800);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.tariff-matrix__action {
  display: flex;
  justify-content: flex-end;
}

/* ==========================================================================
   PAGE 3: PORTFOLIO (ПОРТФОЛИО)
   ========================================================================== */

.portfolio-hero {
  padding: 44px 0 28px;
}

.portfolio-hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
}

/* Two-level filters */
.portfolio-filters {
  padding: 20px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.filter-row-primary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.filter-pill-main {
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(74, 51, 48, 0.28);
  font-size: 0.82rem;
  font-weight: 500;
  text-align: center;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.35);
}

.filter-pill-main:hover {
  border-color: var(--wine-800);
}

.filter-pill-main.is-active {
  background: var(--wine-850);
  color: var(--text-light);
  border-color: var(--wine-850);
}

.filter-row-secondary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.filter-divider {
  width: 1px;
  height: 22px;
  background: rgba(74, 51, 48, 0.2);
  margin: 0 6px;
}

.filter-pill-sub {
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(74, 51, 48, 0.2);
  font-size: 0.78rem;
  color: var(--text-body);
  background: rgba(255, 255, 255, 0.45);
  transition: var(--transition);
}

.filter-pill-sub:hover {
  border-color: var(--wine-800);
}

.filter-pill-sub.is-active {
  background: var(--wine-850);
  color: var(--text-light);
  border-color: var(--wine-850);
}

/* Featured 4 Works Row */
.featured-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 52px;
}

.work-card {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.work-card:hover {
  transform: translateY(-4px);
}

.work-card__img-box {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  aspect-ratio: 178 / 140;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}

.work-card__img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.work-card:hover .work-card__img-box img {
  transform: scale(1.05);
}

.work-card__badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  background: rgba(38, 10, 14, 0.86);
  backdrop-filter: blur(6px);
  color: var(--text-light);
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
}

.work-card__title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 6px;
}

.work-card__master {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.work-card__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: auto;
}

.work-card__book-btn {
  border: 1px solid rgba(38, 21, 19, 0.55);
  color: var(--text-dark);
  padding: 8px 20px;
  font-size: 0.78rem;
}

.work-card__book-btn:hover {
  border-color: var(--wine-850);
  background: var(--wine-850);
  color: var(--text-light);
}

/* More Works + Side-by-Side Detail Panel */
.more-works-section {
  padding: 52px 0;
}

.more-works-layout {
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.mini-works-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.mini-work-card {
  cursor: pointer;
  transition: var(--transition);
  padding: 6px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
}

.mini-work-card:hover,
.mini-work-card.is-selected {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--wine-700);
  transform: translateY(-2px);
}

.mini-work-card__img {
  width: 100%;
  aspect-ratio: 125 / 86;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 8px;
}

.mini-work-card__title {
  font-size: 0.74rem;
  font-weight: 600;
  line-height: 1.25;
  margin-bottom: 2px;
}

.mini-work-card__master {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.show-more-tile {
  border: 1px solid rgba(74, 51, 48, 0.22);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-dark);
  min-height: 125px;
  background: rgba(255, 255, 255, 0.35);
  transition: var(--transition);
}

.show-more-tile:hover {
  background: var(--wine-850);
  color: var(--text-light);
}

/* Case Detail Panel (Right Column in Portfolio) */
.case-detail-panel {
  background: #fbf4f0;
  border: 1px solid rgba(74, 51, 48, 0.16);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 92px;
}

.case-detail__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.case-detail__photo-box {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 118 / 96;
}

.case-detail__photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.case-detail__tag {
  position: absolute;
  left: 8px;
  bottom: 8px;
  background: rgba(31, 6, 9, 0.82);
  color: #fff;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
}

.case-detail__title {
  font-size: 0.96rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.case-detail__master {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.case-detail__desc {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 12px;
}

.case-detail__healed {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.76rem;
  color: var(--wine-800);
  font-weight: 500;
  margin-bottom: 18px;
}

/* Portfolio Masters Section */
.portfolio-masters-section {
  padding: 36px 0 64px;
  border-top: 1px solid rgba(74, 51, 48, 0.1);
}

.portfolio-masters-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
}

.portfolio-masters__cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.mini-master-card img {
  width: 100%;
  aspect-ratio: 130 / 105;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}

.mini-master-card__name {
  font-weight: 700;
  font-size: 0.92rem;
}

.mini-master-card__role {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 6px;
}

/* ==========================================================================
   PAGE 4: ABOUT STUDIO (О НАС / О СТУДИИ)
   ========================================================================== */

.about-hero {
  padding: 40px 0 56px;
  position: relative;
  overflow: hidden;
}

.about-hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.about-hero__sub {
  font-size: 0.84rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light-muted);
  margin: 18px 0 28px;
  line-height: 1.5;
}

.about-hero__visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-bottom: -56px;
}

.about-hero__portrait {
  width: 100%;
  max-width: 430px;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(15, 2, 4, 0.45));
}

/* Founder Story Section */
.founder-story-section {
  padding: 56px 0 44px;
}

.founder-story__grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 44px;
  align-items: center;
}

.founder-story__img {
  width: 100%;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.founder-story__name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  margin: 10px 0 2px;
}

.founder-story__role {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.founder-story__text p {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.6;
  margin-bottom: 12px;
}

/* Values 01 - 04 */
.values-section {
  padding: 32px 0 56px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.value-card {
  padding-right: 16px;
  border-right: 1px solid rgba(74, 51, 48, 0.14);
}

.value-card:last-child {
  border-right: none;
}

.value-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.value-card__num {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  line-height: 1;
  color: var(--wine-700);
}

.value-card__title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
  line-height: 1.3;
}

.value-card__desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Masters Team Section (3 Cards) */
.team-section {
  padding: 28px 0 64px;
}

.team-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 28px;
}

.team-card__img {
  width: 100%;
  aspect-ratio: 175 / 128;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
}

.team-card__name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 600;
}

.team-card__role {
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 2px 0 10px;
}

.team-card__bio {
  font-size: 0.8rem;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 12px;
}

/* Interactive Reviews Block on About Page */
.about-reviews-section {
  padding: 56px 0;
}

.about-reviews__layout {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: 36px;
  align-items: center;
}

.review-filter-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
}

.review-tab-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.84rem;
  color: var(--text-light-muted);
  border: 1px solid transparent;
  transition: var(--transition);
}

.review-tab-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.review-tab-btn.is-active {
  background: var(--cream-100);
  color: var(--wine-900);
  font-weight: 600;
}

.reviews-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.review-media-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  height: 320px;
  background: var(--cream-100);
  color: var(--text-dark);
  box-shadow: var(--shadow-elevated);
}

.review-media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(31, 6, 9, 0.72);
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.review-media-card:hover .video-play-btn {
  transform: scale(1.1);
  background: var(--wine-700);
}

.video-duration-pill {
  position: absolute;
  left: 12px;
  bottom: 12px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 6px;
}

.chat-review-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  background: #efe5de;
}

.chat-bubble {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.76rem;
  line-height: 1.45;
  position: relative;
}

.chat-bubble--client {
  background: #ffffff;
  color: var(--text-dark);
  border-bottom-left-radius: 4px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

.chat-bubble--studio {
  background: #e2f0d9;
  color: #1f3318;
  border-bottom-right-radius: 4px;
  align-self: flex-end;
  max-width: 90%;
}

.chat-time {
  display: block;
  text-align: right;
  font-size: 0.64rem;
  opacity: 0.6;
  margin-top: 4px;
}

.result-floating-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text-dark);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

/* Studio Space Gallery */
.studio-space-section {
  padding: 56px 0 64px;
}

.studio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.studio-gallery-grid img {
  width: 100%;
  aspect-ratio: 175 / 95;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.site-footer {
  background: #1b0507;
  color: var(--text-light);
  padding: 36px 0;
  border-top: 1px solid rgba(249, 241, 236, 0.12);
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.footer-contacts {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--text-light-muted);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icon-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(249, 241, 236, 0.28);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.social-icon-link:hover {
  background: var(--cream-100);
  color: var(--wine-900);
}

/* ==========================================================================
   BOOKING & CONSULTATION MODAL
   ========================================================================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 4, 6, 0.72);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  background: var(--cream-100);
  color: var(--text-dark);
  width: 100%;
  max-width: 480px;
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  box-shadow: var(--shadow-elevated);
  border: 1px solid rgba(74, 51, 48, 0.18);
  transform: translateY(16px);
  transition: transform 0.28s ease;
}

.modal-backdrop.is-open .modal-dialog {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(74, 51, 48, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-body);
}

.form-control {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74, 51, 48, 0.25);
  background: #fff;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease;
}

.form-control:focus {
  border-color: var(--wine-800);
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */

@media (max-width: 1080px) {
  .home-hero__grid,
  .training-hero__grid,
  .pricing-grid {
    grid-template-columns: 1fr 1fr;
  }
  .home-hero__bio {
    grid-column: 1 / -1;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
  }
  .directions-grid,
  .courses-grid,
  .featured-works-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .why-grid-7,
  .regalia-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  .why-item--centered {
    border-right: none;
  }
  .trainer-quote-banner__grid {
    grid-template-columns: 1fr;
    padding: 28px 0;
  }
  .trainer-quote-banner__quote {
    border-left: none;
    border-top: 1px solid rgba(249, 241, 236, 0.18);
    padding: 24px 0 0;
  }
  .tariff-matrix__head {
    display: none;
  }
  .tariff-matrix__row {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .tariff-matrix__guide {
    grid-column: 1 / -1;
  }
  .try-free-circle-badge {
    margin-bottom: 0;
  }
  .trial-floating-wrap {
    position: relative;
    right: auto;
    top: auto;
    display: inline-block;
    margin: 18px auto 0;
  }
  .trial-curved-arrow {
    display: none;
  }
  .more-works-layout,
  .student-stories__layout,
  .about-reviews__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .main-nav.is-mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--wine-900);
    color: var(--text-light);
    padding: 20px 32px;
    gap: 14px;
    box-shadow: var(--shadow-elevated);
  }
  .home-hero__grid,
  .benefits-grid,
  .home-intro__grid,
  .wine-cta-banner__grid,
  .training-hero__grid,
  .trial-promo-card,
  .student-stories__cards,
  .pricing-grid,
  .portfolio-hero__grid,
  .filter-row-primary,
  .mini-works-grid,
  .portfolio-masters-grid,
  .about-hero__grid,
  .founder-story__grid,
  .team-grid-3,
  .reviews-cards-row,
  .studio-gallery-grid {
    grid-template-columns: 1fr;
  }
  .directions-grid,
  .courses-grid,
  .featured-works-grid,
  .values-grid,
  .why-grid-7,
  .regalia-list,
  .tariff-matrix__row {
    grid-template-columns: 1fr;
  }
}
