/* ===== Variables ===== */
:root {
  --color-primary: #b02f00;
  --color-primary-dark: #ff5722;
  --color-text: #1e1b18;
  --color-text-secondary: #5b4039;
  --color-cream: #fff8f5;
  --color-beige: #f5ece7;
  --color-pink: #fbf2ed;
  --color-accent: #ffddb4;
  --color-gold: #835500;
  --color-gray: #5c5c5b;
  --color-border: #e9e1dc;
  --color-white: #ffffff;
  --font: 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --container-max: 1400px;
  --header-height: 80px;
  --consult-height: 112px;
  --mobile-dock-height: 54px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}
body {
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.5;
  padding-bottom: var(--consult-height);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select { font-family: inherit; font-size: 14px; }

/* ===== Container ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 48px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  border-radius: 8px;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
  white-space: nowrap;
}
.btn:hover {
  opacity: 1;
  transform: translateY(-2px);
  box-shadow: 0 14px 20px -4px rgba(176,47,0,0.28), 0 6px 8px -4px rgba(176,47,0,0.15);
}
.btn--white:hover {
  box-shadow: 0 14px 20px -4px rgba(0,0,0,0.12), 0 6px 8px -4px rgba(0,0,0,0.08);
}
.btn:active { transform: translateY(0) scale(0.98); transition-duration: 0.1s; }
.btn--pulse {
  animation: btnPulse 0.45s ease;
}
@keyframes btnPulse {
  0% { box-shadow: 0 0 0 0 rgba(176, 47, 0, 0.35); }
  100% { box-shadow: 0 0 0 12px rgba(176, 47, 0, 0); }
}
.btn--white.btn--pulse {
  animation-name: btnPulseWhite;
}
@keyframes btnPulseWhite {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  100% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
}
.btn--primary {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 10px 15px -3px rgba(176,47,0,0.2), 0 4px 6px -4px rgba(176,47,0,0.2);
}
.btn--white {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
}
.btn--sm { padding: 10px 32px; font-size: 14px; line-height: 20px; }
.btn--lg { padding: 16px 48px; font-size: 18px; line-height: 28px; }
.btn--block {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  line-height: 20px;
}
.btn--block img { width: 16px; height: 16px; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: box-shadow 0.35s ease, background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
}
.header--on-hero:not(.is-scrolled) .header__logo-text,
.header--on-hero:not(.is-scrolled) .header__nav-link:not(.active) {
  color: rgba(255, 255, 255, 0.88);
}
.header--on-hero:not(.is-scrolled) .header__nav-link.active {
  color: var(--color-white);
}
.header--on-hero:not(.is-scrolled) .header__nav-link::after {
  background: var(--color-white);
}
.header--on-hero:not(.is-scrolled) .header__menu-btn span {
  background: var(--color-white);
}
.header.is-scrolled,
.header:not(.header--on-hero) {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom-color: var(--color-border);
}
.header.is-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.header--on-hero:not(.is-scrolled) {
  box-shadow: none;
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: var(--header-height);
  gap: 24px;
}
.header__logo {
  justify-self: start;
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__nav {
  justify-self: center;
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 40px;
  height: 100%;
}

@media (min-width: 993px) {
  .header__nav {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    height: var(--header-height);
    z-index: 1;
  }
}
.header__cta {
  justify-self: end;
  grid-column: 3;
}
.header__menu-btn {
  justify-self: end;
  grid-column: 3;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.header__logo-icon {
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  flex-shrink: 0;
}
.header__logo-icon img { width: 100%; height: 100%; object-fit: cover; }
.header__logo-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: -0.6px;
  color: var(--color-text);
}
.header__nav-link {
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  color: var(--color-text-secondary);
  padding-bottom: 6px;
  position: relative;
  transition: color 0.25s ease;
}
.header__nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--color-primary);
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.header__nav-link:hover,
.header__nav-link.active {
  color: var(--color-primary);
}
.header__nav-link:hover::after,
.header__nav-link.active::after {
  transform: translateX(-50%) scaleX(1);
}
.header__menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}
.header__menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header__menu-btn.open span:nth-child(2) { opacity: 0; }
.header__menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Main ===== */
.main {
  padding-top: 0;
  overflow-x: clip;
  max-width: 100%;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  height: 810px;
  overflow: hidden;
  background: var(--color-primary);
  isolation: isolate;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
  transform: scaleX(-1);
  transition: transform 0.12s linear;
  will-change: transform;
}

.hero__panel {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  background: linear-gradient(
    90deg,
    #b02f00 0%,
    #b02f00 28%,
    rgba(176, 47, 0, 0.92) 42%,
    rgba(176, 47, 0, 0.55) 52%,
    rgba(176, 47, 0, 0) 62%
  );
  pointer-events: none;
}

.hero__panel-inner {
  width: 100%;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  pointer-events: auto;
}

.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero__content {
  max-width: 576px;
  /* padding-left: 48px; */
}

.hero__title {
  font-size: 72px;
  font-weight: 700;
  line-height: 72px;
  letter-spacing: -3.6px;
  color: var(--color-white);
  margin-bottom: 30px;
}

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

.hero__tags {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.hero__tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 17px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  backdrop-filter: blur(6px);
  font-size: 24px;
  font-weight: 500;
  line-height: 32px;
  color: var(--color-white);
  letter-spacing: 0.6px;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.hero__tag-pill:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.hero__tag-dot {
  width: 8px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.hero__tag-plus {
  color: var(--color-accent);
  padding: 0 4px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--color-accent);
  border-radius: 8px;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: #633f00;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.hero__badge:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 24px -4px rgba(0, 0, 0, 0.18), 0 6px 10px -4px rgba(0, 0, 0, 0.1);
}

.hero__badge:active {
  transform: translateY(0) scale(0.98);
}

.hero__badge-icon {
  width: 20px;
  height: 16px;
  flex-shrink: 0;
}

.hero__anim {
  opacity: 0;
  transform: translateY(32px);
  animation: heroFadeUp 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--hero-delay, 0s) both;
}

.hero__tag-dot {
  animation: dotPulse 2.5s ease-in-out infinite;
  animation-delay: 1s;
}

/* ===== Section ===== */
.section { padding: 96px 0; }
.section--white { background: var(--color-white); padding: 128px 0; }
.section--cream { background: var(--color-cream); }
.section--cream-light { background: var(--color-pink); padding: 160px 0; }
.section--beige {
  background: var(--color-beige);
  padding: 128px 0;
  position: relative;
  overflow: hidden;
}
.section--beige::before {
  content: '';
  position: absolute;
  right: -192px;
  top: -192px;
  width: 384px;
  height: 384px;
  background: rgba(176,47,0,0.05);
  border-radius: 50%;
  filter: blur(32px);
}
.section--beige::after {
  content: '';
  position: absolute;
  left: -128px;
  bottom: -128px;
  width: 256px;
  height: 256px;
  background: rgba(131,85,0,0.05);
  border-radius: 50%;
  filter: blur(32px);
}
.section--pink { background: #fbf2ed; padding: 128px 0; }
.section--media { padding: 128px 0; }
.section--env { padding: 160px 0 96px; }
.section__header--env {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  margin-bottom: 64px;
}
.section__header--env .section__header-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.section__header--env .section__title {
  margin-bottom: 0;
}
.section__header--env .section__divider {
  margin-bottom: 0;
}
.section--env .section__header { margin-bottom: 0; }
.section--beige .section__header { margin-bottom: 140px; }
.section__header {
  text-align: center;
  margin-bottom: 64px;
}
.section--white .section__header { margin-bottom: 48px; }
.section--pink .section__header { margin-bottom: 80px; }
.section__header--pink .section__title { margin-bottom: 16px; }
.section__divider-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.section__divider-dots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.section__divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 87, 34, 0.42);
  flex-shrink: 0;
}

.section__divider--pink {
  width: 120px;
  height: 4px;
  margin: 0;
  background: var(--color-primary-dark);
  border-radius: 99px;
}
.section__subtitle--pink {
  font-size: 16px;
  line-height: 24px;
  color: #503228;
}
.section--cream-light .section__header { margin-bottom: 96px; }
.media-section { display: flex; flex-direction: column; gap: 160px; }
.section__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 48px;
  color: var(--color-text);
  margin-bottom: 16px;
}
.section__title--md { font-size: 36px; line-height: 40px; }
.section__title-accent { color: var(--color-primary-dark); }
.section__divider {
  width: 80px;
  height: 4px;
  background: var(--color-primary-dark);
  border-radius: 99px;
  margin: 0 auto 16px;
  transform-origin: center;
}
.section__header.reveal.is-visible .section__divider {
  animation: dividerGrow 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0.15s) forwards;
}
.section__subtitle {
  font-size: 18px;
  line-height: 24px;
  color: var(--color-text-secondary);
}
.section__subtitle--accent {
  color: var(--color-primary);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  line-height: 20px;
}
.section__action { text-align: center; margin-top: 64px; }

/* ===== Cards Grid ===== */
.cards-grid {
  display: grid;
  gap: 32px;
}
.cards-grid--3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(176, 47, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.06);
}
.card__img {
  height: 232px;
  overflow: hidden;
}
.card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover .card__img img {
  transform: scale(1.06);
}
.card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.card__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 8px;
}
.card__desc {
  font-size: 14px;
  line-height: 22.75px;
  color: var(--color-text-secondary);
}

/* ===== Class Cards ===== */
.class-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding-top: 32px;
}
.class-card {
  position: relative;
  background: var(--color-white);
  border: 1px solid rgba(233,225,220,0.3);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}
.class-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(176, 47, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
}
.class-card__img img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.class-card:hover .class-card__img img {
  transform: scale(1.05);
}
.class-card__ribbon {
  position: absolute;
  top: 0;
  right: 0;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-white);
  letter-spacing: 0.7px;
  border-radius: 0 0 0 12px;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1);
  z-index: 2;
}
.class-card__ribbon--primary { background: var(--color-primary); }
.class-card__ribbon--gold { background: var(--color-gold); }
.class-card__ribbon--gray { background: var(--color-gray); }
.class-card__ribbon--orange { background: var(--color-primary-dark); }
.class-card__img {
  height: 225px;
  background: var(--color-beige);
  overflow: hidden;
}
.class-card__img img {
  width: 102.67%;
  height: 100%;
  object-fit: cover;
  margin-left: -1.34%;
}
.class-card__body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.class-card__body .btn { margin-top: auto; }
.class-card__title {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  text-align: center;
  margin-bottom: 16px;
}
.class-card__list {
  margin-bottom: 24px;
}
.class-card__list li {
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 8px;
  color: var(--color-text-secondary);
}
.class-card__list strong { font-weight: 700; }
.class-card__list--primary strong { color: var(--color-primary); }
.class-card__list--gold strong { color: var(--color-gold); }
.class-card__list--gray strong { color: var(--color-gray); }
.class-card__list--orange strong { color: var(--color-primary-dark); }

/* ===== Staircase ===== */
.staircase {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1152px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  align-items: end;
}
.staircase__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}
.staircase__item--1 { padding-bottom: 0; }
.staircase__item--2 { padding-bottom: 48px; }
.staircase__item--3 { padding-bottom: 96px; }
.staircase__item--4 { padding-bottom: 144px; }
.staircase__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 16px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
}
.staircase__num--1 {
  background: #ffdbd1;
  border: 1px solid rgba(176,47,0,0.1);
  color: var(--color-primary);
}
.staircase__num--2 {
  background: var(--color-accent);
  border: 1px solid rgba(131,85,0,0.1);
  color: var(--color-gold);
}
.staircase__num--3 {
  background: #e4e2e1;
  border: 1px solid rgba(92,92,91,0.1);
  color: var(--color-gray);
}
.staircase__num--4 {
  background: #feb64c;
  border: 1px solid rgba(131,85,0,0.1);
  color: #704800;
}
.staircase__card {
  width: 100%;
  padding: 33px;
  border-radius: 16px;
  backdrop-filter: blur(4px);
  position: relative;
  min-height: 280px;
  overflow: hidden;
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease,
    background 0.35s ease,
    border-color 0.35s ease;
}
.staircase__item:hover .staircase__card {
  transform: translateY(-6px) scale(1.02);
  background: linear-gradient(116.48deg, #b02f00 0%, #ff5722 100%);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.staircase__card--1 {
  background: rgba(255,255,255,0.6);
  border: 1px solid #dbeafe;
  box-shadow: 0 8px 30px rgba(0,0,0,0.04);
}
.staircase__card--2 {
  background: rgba(255,255,255,0.8);
  border: 1px solid #ccfbf1;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}
.staircase__card--3 {
  background: rgba(255,255,255,0.9);
  border: 1px solid #e0e7ff;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.staircase__card--4 {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid #e4e2e1;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.staircase__card-inner {
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.staircase__card-inner--default {
  opacity: 1;
}

.staircase__card-inner--hover {
  position: absolute;
  inset: 0;
  padding: 33px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
}

.staircase__item:hover .staircase__card-inner--default {
  opacity: 0;
}

.staircase__item:hover .staircase__card-inner--hover {
  opacity: 1;
}

.staircase__date--4-default {
  background: #feb64c;
  color: #704800;
}

.staircase__date--hover {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: var(--color-white);
  margin-bottom: 24px;
}

.staircase__item:hover .staircase__card h3 {
  font-size: 24px;
  line-height: 32px;
  color: var(--color-white);
  margin-bottom: 24px;
}

.staircase__card p:not(.staircase__final) {
  color: var(--color-text-secondary);
}

.staircase__sparkle {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
}
/* .staircase__item:not(:last-child) .staircase__card::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 2px;
} */
.staircase__item--1 .staircase__card::after { background: #dbeafe; }
.staircase__item--2 .staircase__card::after { background: #ccfbf1; }
.staircase__item--3 .staircase__card::after { background: #e0e7ff; }
.staircase__date {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  line-height: 16px;
  margin-bottom: 16px;
}
.staircase__date--1 { background: #ffdbd1; color: var(--color-primary); }
.staircase__date--2 { background: var(--color-accent); color: var(--color-gold); }
.staircase__date--3 { background: #e4e2e1; color: var(--color-gray); }
.staircase__card h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  margin-bottom: 16px;
}
.staircase__card p {
  font-size: 14px;
  line-height: 22.75px;
  color: var(--color-text-secondary);
}
.staircase__card-inner--hover .staircase__highlight {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.staircase__card-inner--hover .staircase__highlight span {
  font-size: 14px;
  font-weight: 500;
  line-height: 20px;
  color: var(--color-white);
}

.staircase__card-inner--hover .staircase__progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  margin-bottom: 16px;
  overflow: hidden;
}

.staircase__card-inner--hover .staircase__progress-bar {
  height: 100%;
  width: 100%;
  background: var(--color-white);
  border-radius: 9999px;
}

.staircase__item:hover .staircase__progress-bar {
  animation: progressShine 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

.staircase__card-inner--hover .staircase__final {
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: 3px;
  color: var(--color-white);
  text-align: center;
}

/* ===== Media Block ===== */
.media-block {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
  min-height: 477px;
}
.media-block__img {
  border-radius: 16px;
  overflow: hidden;
  height: 477px;
  grid-row: 1;
}
.media-block--right .media-block__img {
  grid-column: 5 / 13;
  margin-left: 0;
}
.media-block--left .media-block__img {
  grid-column: 1 / 9;
}
.media-block__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.media-block__panel {
  grid-row: 1;
  padding: 57px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--color-white);
  border: 1px solid rgba(255, 87, 34, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 2;
  transition:
    background 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.45s ease;
}
.media-block--right .media-block__panel {
  grid-column: 1 / 7;
  margin-right: -40px;
}
.media-block--left .media-block__panel {
  grid-column: 5 / 13;
  margin-left: -40px;
}
.media-block__header {
  display: flex;
  align-items: center;
  gap: 16px;
}
.media-block__icon {
  width: 48px;
  height: 48px;
  background: rgba(176, 47, 0, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.35s ease;
}

.media-block__icon img {
  width: 24px;
  height: auto;
  transition: filter 0.35s ease;
}

.media-block__header h2 {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  color: var(--color-text);
  transition: color 0.35s ease;
}
.media-block__panel p {
  font-size: 18px;
  line-height: 28px;
  flex: 1;
  color: var(--color-text-secondary);
  transition: color 0.35s ease;
}
.media-block__panel .btn {
  padding: 16px 32px;
  font-size: 16px;
  line-height: 24px;
  gap: 12px;
  border-radius: 12px;
  align-self: flex-start;
  transition:
    background 0.35s ease,
    color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-block__panel .btn img {
  width: auto;
  height: 20px;
}

.media-block__btn-icon {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-block;
}

.media-block__btn-img {
  position: absolute;
  left: 0;
  top: 0;
  width: auto;
  height: 20px;
  transition: opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-block__btn-img--default {
  opacity: 1;
}

.media-block__btn-img--hover {
  opacity: 0;
}

.media-block:hover .media-block__btn-img--default {
  opacity: 0;
}

.media-block:hover .media-block__btn-img--hover {
  opacity: 1;
}

.media-block:hover .media-block__icon {
  background: rgba(255, 255, 255, 0.1);
}

.media-block:hover .media-block__icon img {
  filter: brightness(0) invert(1);
}

.media-block:hover .media-block__panel {
  background: var(--color-primary);
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: 0 32px 60px -12px rgba(0, 0, 0, 0.28);
}

.media-block:hover .media-block__header h2 {
  color: var(--color-white);
}

.media-block:hover .media-block__panel p {
  color: rgba(255, 255, 255, 0.9);
}

.media-block:hover .media-block__panel .btn--primary {
  background: var(--color-white);
  color: var(--color-primary);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.media-block:hover .media-block__panel .btn--primary:hover {
  box-shadow: 0 14px 20px -4px rgba(0, 0, 0, 0.12), 0 6px 8px -4px rgba(0, 0, 0, 0.08);
}

/* ===== Cooperation ===== */
.cooperation {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.cooperation__stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px) minmax(0, 1fr);
  align-items: center;
  column-gap: 0;
  min-height: 400px;
  position: relative;
  isolation: isolate;
}

.cooperation__center {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  justify-self: center;
  width: 100%;
  max-width: 400px;
  padding: 0 20px;
}

.cooperation__avatar {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  padding: 8px;
  border: 8px solid var(--color-white);
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 20px 40px -12px rgba(0, 0, 0, 0.12),
    0 8px 20px -8px rgba(0, 0, 0, 0.06);
  background: var(--color-white);
}

.cooperation__avatar img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.cooperation__bubble {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 33px;
  background: var(--color-white);
  border: 1px solid rgba(176, 47, 0, 0.08);
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  z-index: 2;
  transition:
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.4s ease;
}

.cooperation__bubble--left {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  width: 100%;
  max-width: 455px;
  margin-right: -44px;
}

.cooperation__bubble--right {
  grid-column: 3;
  grid-row: 1;
  justify-self: start;
  width: calc(100% + 44px);
  max-width: 499px;
  margin-left: -44px;
  align-self: center;
}

.cooperation__arrow {
  position: absolute;
  top: 50%;
  width: 16px;
  height: 16px;
  background: var(--color-white);
  border: 1px solid rgba(176, 47, 0, 0.08);
  transform: translateY(-50%) rotate(45deg);
  z-index: 1;
  pointer-events: none;
}

.cooperation__arrow--right {
  right: -8px;
  border-left: none;
  border-bottom: none;
  box-shadow: 3px 0 8px rgba(0, 0, 0, 0.04);
}

.cooperation__arrow--left {
  left: -8px;
  border-right: none;
  border-top: none;
  box-shadow: -3px 0 8px rgba(0, 0, 0, 0.04);
}

.cooperation__icon {
  width: 48px;
  height: 48px;
  background: #f9ebe8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cooperation__icon img { width: 20px; height: auto; }

.cooperation__bubble h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-primary);
  padding-top: 2px;
}

.cooperation__bubble p {
  font-size: 14px;
  line-height: 22.75px;
  color: var(--color-text-secondary);
  letter-spacing: 0.01em;
}

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

.cooperation__feature-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 200px;
  padding: 28px;
  background: var(--color-white);
  border: 1px solid rgba(176, 47, 0, 0.12);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.cooperation__feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.cooperation__feature-icon {
  position: relative;
  width: 48px;
  height: 48px;
  background: rgba(176, 47, 0, 0.12);
  border-radius: 12px;
  flex-shrink: 0;
}

.cooperation__feature-num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--color-primary);
}

.cooperation__feature-card h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-primary);
}

.cooperation__feature-card p {
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text-secondary);
}

/* ===== Environment Gallery (Swiper) ===== */
.env-gallery {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  overflow: hidden;
}

.env-swiper {
  width: 100%;
  overflow: hidden;
}

.env-swiper__card {
  height: 385px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.env-swiper__card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.swiper-slide:hover .env-swiper__card {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.swiper-slide:hover .env-swiper__card img {
  transform: scale(1.04);
}

.env-swiper-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  bottom: auto;
  left: auto;
}

.env-swiper-pagination .swiper-pagination-bullet {
  width: 48px;
  height: 6px;
  border-radius: 9999px;
  background: var(--color-border);
  opacity: 1;
  margin: 0;
  transition: background 0.35s ease, transform 0.35s ease;
  cursor: pointer;
}

.env-swiper-pagination .swiper-pagination-bullet:hover {
  transform: scaleY(1.25);
}

.env-swiper-pagination .swiper-pagination-bullet-active {
  background: var(--color-primary);
}

/* ===== Cities Grid ===== */
.cities-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 24px;
}
.cities-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 17px;
  background: var(--color-white);
  border: 1px solid rgba(233,225,220,0.3);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  box-shadow: 0 1px 1px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}
.cities-grid span:hover {
  transform: translateY(-3px);
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 8px 20px rgba(176, 47, 0, 0.2);
}

/* ===== Footer ===== */
.footer {
  background: var(--color-text);
  padding: 80px 0 0;
  padding-bottom: var(--consult-height);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-bottom: 40px;
}
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 31px;
  max-width: 448px;
}
.footer__brand-row {
  display: flex;
  align-items: center;
  gap: 16px;
}
.footer__logo {
  width: 48px;
  height: 48px;
  background: var(--color-white);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.footer__logo img { width: 100%; height: 100%; object-fit: cover; }
.footer__name {
  font-size: 30px;
  font-weight: 700;
  line-height: 36px;
  letter-spacing: -0.75px;
  color: var(--color-white);
  margin-bottom: 0;
}
.footer__desc {
  font-size: 18px;
  line-height: 29.25px;
  color: rgba(255,255,255,0.6);
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer__col h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 28px;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.footer__col ul li {
  font-size: 16px;
  line-height: 24px;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer__col ul li a:hover { color: rgba(255,255,255,0.7); }
.footer__col--contact .footer__contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.footer__contact-label {
  font-size: 12px;
  line-height: 18px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.4px;
}
.footer__contact-value {
  font-size: 14px;
  line-height: 22px;
  color: rgba(255,255,255,0.72);
}
.footer__contact-tel {
  color: var(--color-primary-dark);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__contact-tel:hover {
  color: #ff8a65;
}
.footer__col:last-child ul li {
  font-size: 14px;
  line-height: 22.75px;
}
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 41px 0;
  text-align: center;
}
.footer__bottom p {
  font-size: 14px;
  font-weight: 400;
  line-height: 22px;
  letter-spacing: 0.2px;
  color: rgba(255,255,255,0.3);
}
.footer__bottom a {
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer__bottom a:hover {
  color: rgba(255,255,255,0.55);
}

/* ===== Consult Bar ===== */
.consult-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-primary);
  border-top: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 -10px 20px rgba(0,0,0,0.5);
  z-index: 999;
  animation: consultSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.5s both;
}
.consult-bar__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 24px 48px 40px;
  position: relative;
  min-height: 112px;
}

.consult-bar__badge {
  flex-shrink: 0;
  width: 88px;
  margin-top: -56px;
  align-self: flex-start;
  z-index: 2;
}

.consult-bar__badge-link {
  display: block;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.consult-bar__badge-hang {
  display: block;
  width: 3px;
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.55) 0%,
    rgba(255, 255, 255, 0.22) 100%
  );
  border-radius: 2px;
  position: relative;
}

.consult-bar__badge-hang::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.12);
}

.consult-bar__badge-hang::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.consult-bar__badge-tag {
  display: block;
  margin-top: 6px;
  padding: 14px 11px 15px;
  background: linear-gradient(155deg, #ff6218 0%, #ff4e00 45%, #e84300 100%);
  border-radius: 8px;
  text-align: center;
  transform: rotate(-12deg);
  transform-origin: top center;
  box-shadow:
    0 12px 22px -6px rgba(0, 0, 0, 0.35),
    0 6px 10px -4px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s ease;
  animation: badgeSwing 4s ease-in-out infinite;
}

.consult-bar__badge-link:hover .consult-bar__badge-tag {
  animation-play-state: paused;
  transform: rotate(-9deg) translateY(-4px) scale(1.05);
  box-shadow:
    0 16px 28px -6px rgba(0, 0, 0, 0.4),
    0 8px 14px -4px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.consult-bar__badge-link:active .consult-bar__badge-tag {
  transform: rotate(-11deg) translateY(-1px) scale(1.02);
}

.consult-bar__badge-line {
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 13px;
  color: var(--color-white);
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.consult-bar__badge-line + .consult-bar__badge-line {
  margin-top: 1px;
}

.consult-bar__form {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex: 1;
  min-width: 0;
  padding-left: 16px;
}
.consult-bar__field {
  position: relative;
  width: 180px;
  max-width: 180px;
}
.consult-bar__field input,
.consult-bar__field select {
  width: 100%;
  height: 48px;
  padding: 14px 17px 14px 41px;
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
  color: var(--color-white);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.consult-bar__field input:focus,
.consult-bar__field select:focus {
  background-color: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

.consult-bar__field input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.consult-bar__field--select {
  position: relative;
}

.consult-bar__field--select::after {
  content: '';
  position: absolute;
  right: 14px;
  top: 50%;
  width: 7px;
  height: 7px;
  margin-top: -1px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.75);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.75);
  transform: translateY(-50%) rotate(45deg);
  pointer-events: none;
  transition: border-color 0.25s ease;
}

.consult-bar__field--select:focus-within::after {
  border-color: rgba(255, 255, 255, 0.95);
}

.consult-bar__field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
  color: var(--color-white);
}

.consult-bar__field select:required:invalid {
  color: rgba(255, 255, 255, 0.4);
}

.consult-bar__field select option {
  color: var(--color-text);
  background-color: var(--color-white);
}

.consult-bar__field select option[disabled] {
  color: rgba(91, 64, 57, 0.5);
}
.consult-bar__field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: auto;
  pointer-events: none;
}
.consult-bar__submit {
  padding: 12px 40px;
  font-size: 14px;
  line-height: 20px;
  flex-shrink: 0;
}
.consult-bar__slogan {
  font-size: 11px;
  line-height: 15px;
  color: rgba(255,255,255,0.8);
  max-width: 264px;
  flex-shrink: 0;
}

/* ===== Mobile Dock (hidden on desktop) ===== */
.mobile-dock,
.mobile-consult {
  display: none;
}

@media (max-width: 768px) {
  .mobile-dock {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    align-items: stretch;
    min-height: var(--mobile-dock-height);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid rgba(30, 27, 24, 0.08);
    box-shadow: 0 -8px 24px rgba(30, 27, 24, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }

  .mobile-dock__btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: var(--mobile-dock-height);
    padding: 6px 8px;
    border: 0;
    background: transparent;
    color: var(--color-text-secondary);
    text-decoration: none;
    font-family: inherit;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color 0.2s ease, background 0.2s ease;
  }

  .mobile-dock__btn:active {
    background: rgba(176, 47, 0, 0.06);
  }

  .mobile-dock__btn--primary {
    color: var(--color-primary);
    font-weight: 700;
  }

  .mobile-dock__btn--phone {
    color: var(--color-primary-dark);
    font-weight: 600;
  }

  .mobile-dock__icon {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-dock__icon svg {
    width: 20px;
    height: 20px;
  }

  .mobile-dock__label {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.2px;
  }

  .mobile-consult {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1300;
    pointer-events: none;
    visibility: hidden;
    transition: visibility 0.3s ease;
  }

  .mobile-consult.is-open {
    pointer-events: auto;
    visibility: visible;
  }

  .mobile-consult__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(30, 27, 24, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .mobile-consult.is-open .mobile-consult__backdrop {
    opacity: 1;
  }

  .mobile-consult__sheet {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: min(88vh, 560px);
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom, 0px));
    background: var(--color-white);
    border-radius: 18px 18px 0 0;
    box-shadow: 0 -12px 40px rgba(30, 27, 24, 0.16);
    transform: translateY(100%);
    transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .mobile-consult.is-open .mobile-consult__sheet {
    transform: translateY(0);
  }

  .mobile-consult__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
  }

  .mobile-consult__title {
    font-size: 18px;
    line-height: 26px;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
  }

  .mobile-consult__close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    background: var(--color-cream);
    color: var(--color-text-secondary);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
  }

  .mobile-consult__form {
    display: grid;
    gap: 14px;
  }

  .mobile-consult__field {
    display: grid;
    gap: 6px;
  }

  .mobile-consult__label {
    font-size: 13px;
    line-height: 18px;
    font-weight: 600;
    color: var(--color-text-secondary);
  }

  .mobile-consult__field input,
  .mobile-consult__field select {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--color-border);
    border-radius: 10px;
    background: var(--color-white);
    font-size: 15px;
    color: var(--color-text);
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .mobile-consult__field input:focus,
  .mobile-consult__field select:focus {
    border-color: rgba(176, 47, 0, 0.45);
    box-shadow: 0 0 0 3px rgba(176, 47, 0, 0.08);
  }

  .mobile-consult__submit {
    margin-top: 4px;
    min-height: 48px;
    font-size: 16px;
    border-radius: 12px;
  }

  body.mobile-consult-open {
    overflow: hidden;
  }
}

/* ===== Responsive ===== */
@media (max-width: 1400px) {
  .container { padding: 0 32px; }
  .env-gallery { padding: 0 32px; }
  .cooperation__bubble--left,
  .cooperation__bubble--right { max-width: 380px; }
  .cooperation__bubble--left { margin-right: -36px; }
  .cooperation__bubble--right {
    max-width: calc(380px + 36px);
    margin-left: -36px;
  }
  .media-block--right .media-block__panel { margin-right: -24px; }
  .media-block--left .media-block__panel { margin-left: -24px; }
}

@media (max-width: 1200px) {
  .header__inner { grid-template-columns: auto 1fr auto; }
  .class-cards { grid-template-columns: repeat(2, 1fr); }
  .staircase { grid-template-columns: repeat(2, 1fr); }
  .staircase__item--2,
  .staircase__item--3,
  .staircase__item--4 { padding-bottom: 0; }
  .staircase__item:nth-child(3) { padding-bottom: 48px; }
  .staircase__item:nth-child(4) { padding-bottom: 96px; }
  .staircase__card::after { display: none; }
  .cities-grid { grid-template-columns: repeat(4, 1fr); }
  .footer__inner { grid-template-columns: 1fr; }
  .consult-bar__slogan { display: none; }
  .consult-bar__inner { gap: 24px; }
  .consult-bar__form { padding-left: 8px; }
  .cooperation__features {
    grid-template-columns: repeat(2, 1fr);
  }
  .cooperation__stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: auto;
    gap: 32px;
  }
  .cooperation__center {
    padding: 0;
    width: 100%;
    max-width: 400px;
  }
  .cooperation__bubble--left,
  .cooperation__bubble--right {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .cooperation__arrow {
    display: none;
  }
  .media-section { gap: 80px; }
}

@media (max-width: 992px) {
  .header,
  .header.is-scrolled,
  .header:not(.header--on-hero),
  .header.menu-open,
  .header:has(.header__nav.open) {
    backdrop-filter: none;
  }

  .header__inner {
    grid-template-columns: 1fr auto;
  }
  .header__logo { grid-column: 1; }
  .header__cta { display: none; }
  .header__menu-btn {
    display: flex;
    grid-column: 2;
  }
  .header__nav {
    grid-column: unset;
    justify-self: auto;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 12px 20px 32px;
    gap: 8px;
    min-height: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    background: var(--color-cream);
    border-bottom: none;
    box-shadow: none;
    transform: translate3d(0, -8px, 0);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
      opacity 0.28s ease,
      visibility 0.36s ease,
      box-shadow 0.36s ease;
  }
  .header__nav::before {
    content: '';
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 27, 24, 0.22);
    opacity: 0;
    transition: opacity 0.32s ease;
    pointer-events: none;
    z-index: -1;
  }
  .header__nav.open {
    transform: translate3d(0, 0, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    box-shadow: 0 18px 40px rgba(30, 27, 24, 0.08);
  }
  .header__nav.open::before {
    opacity: 1;
  }
  .header__nav.is-closing {
    pointer-events: none;
  }
  .header__nav .header__nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    text-align: left;
    padding: 16px 18px;
    font-size: 17px;
    font-weight: 700;
    line-height: 26px;
    color: var(--color-text);
    background: var(--color-white);
    border: 1px solid rgba(233, 225, 220, 0.65);
    border-radius: 12px;
    box-shadow: 0 1px 2px rgba(30, 27, 24, 0.04);
    opacity: 0;
    transform: translate3d(0, 10px, 0);
    flex-shrink: 0;
    transition:
      color 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease;
  }
  .header__nav .header__nav-link::after {
    content: '';
    position: static;
    left: auto;
    bottom: auto;
    width: 7px;
    height: 7px;
    background: transparent;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    border-radius: 0;
    transform: rotate(-45deg);
    opacity: 0.28;
    flex-shrink: 0;
    margin-left: 12px;
    transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  }
  .header__nav .header__nav-link:hover,
  .header__nav .header__nav-link:active {
    color: var(--color-primary);
    border-color: rgba(176, 47, 0, 0.18);
    box-shadow: 0 4px 14px rgba(176, 47, 0, 0.08);
  }
  .header__nav .header__nav-link:hover::after,
  .header__nav .header__nav-link:active::after {
    opacity: 0.55;
    transform: rotate(-45deg) translateX(1px);
    border-color: var(--color-primary);
  }
  .header__nav .header__nav-link.active {
    color: var(--color-primary);
    background: rgba(255, 255, 255, 0.96);
    border-color: rgba(176, 47, 0, 0.22);
    box-shadow:
      inset 3px 0 0 var(--color-primary),
      0 4px 16px rgba(176, 47, 0, 0.1);
  }
  .header__nav .header__nav-link.active::after {
    opacity: 0.85;
    border-color: var(--color-primary);
    transform: rotate(-45deg) translateX(2px);
  }
  .header__nav.open.nav-animate .header__nav-link {
    animation: mobileNavItemIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) both;
  }
  .header__nav.open.nav-animate .header__nav-link:nth-child(1) { animation-delay: 0.08s; }
  .header__nav.open.nav-animate .header__nav-link:nth-child(2) { animation-delay: 0.14s; }
  .header__nav.open.nav-animate .header__nav-link:nth-child(3) { animation-delay: 0.2s; }
  .header__nav.open.nav-animate .header__nav-link:nth-child(4) { animation-delay: 0.26s; }
  .header--on-hero:not(.is-scrolled) .header__nav .header__nav-link {
    color: var(--color-text);
  }
  .header--on-hero:not(.is-scrolled) .header__nav .header__nav-link.active {
    color: var(--color-primary);
  }
  .header--on-hero:not(.is-scrolled) .header__nav .header__nav-link::after {
    background: transparent;
  }
  .header:has(.header__nav.open),
  .header.menu-open {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom-color: var(--color-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  }
  .header:has(.header__nav.open) .header__logo-text,
  .header.menu-open .header__logo-text {
    color: var(--color-text);
  }
  .header:has(.header__nav.open) .header__menu-btn span,
  .header.menu-open .header__menu-btn span {
    background: var(--color-text);
  }
  body.nav-open {
    overflow: hidden;
    touch-action: none;
  }
  html:has(body.nav-open) {
    overflow: hidden;
  }

  .section,
  .section--env {
    overflow-x: clip;
    max-width: 100%;
  }

  .env-swiper,
  .swiper {
    max-width: 100%;
    overflow: hidden;
  }

  .class-card__img img {
    width: 100%;
    margin-left: 0;
  }

  .reveal--from-left,
  .reveal--from-right {
    transform: translateY(36px);
  }

  .reveal--from-left.is-visible,
  .reveal--from-right.is-visible {
    transform: translateY(0);
  }

  .cooperation__bubble--left,
  .cooperation__bubble--right {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .footer__bottom p {
    white-space: normal;
    word-break: break-word;
  }

  .footer__col a:hover {
    transform: none;
  }

  .cooperation__bubble.reveal--from-left.is-visible:hover,
  .cooperation__bubble.reveal--from-right.is-visible:hover {
    transform: none;
  }

  .hero {
    height: auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
  }

  .hero__media {
    position: relative;
    height: 320px;
    order: -1;
    z-index: 1;
  }

  .hero__media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
      180deg,
      rgba(30, 27, 24, 0.42) 0%,
      rgba(30, 27, 24, 0.12) 36%,
      rgba(30, 27, 24, 0) 62%
    );
    z-index: 1;
    pointer-events: none;
  }

  .hero__media::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(180deg, rgba(176, 47, 0, 0) 0%, rgba(176, 47, 0, 0.92) 100%);
    z-index: 1;
    pointer-events: none;
  }

  .hero__media-img {
    object-position: 62% 18%;
  }

  .hero__panel {
    position: relative;
    z-index: 2;
    margin-top: -20px;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(180deg, #c43808 0%, #b02f00 100%);
    padding: 28px 0 40px;
  }

  .hero__panel-inner {
    height: auto;
    padding-top: 0;
  }

  .hero__content {
    padding-left: 0;
    max-width: 100%;
  }

  .hero__title {
    font-size: 48px;
    line-height: 52px;
    letter-spacing: -2px;
    margin-bottom: 20px;
  }
  .hero__tags { gap: 14px; }
  .hero__tag-pill { font-size: 18px; line-height: 24px; }
  .cards-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .media-block {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .media-block__img,
  .media-block--right .media-block__img,
  .media-block--left .media-block__img {
    grid-column: 1;
    grid-row: 1;
    height: 320px;
  }
  .media-block__panel,
  .media-block--right .media-block__panel,
  .media-block--left .media-block__panel {
    grid-column: 1;
    grid-row: 2;
    margin: -48px 0 0;
    width: auto;
    max-width: 100%;
  }
  .env-swiper__card { height: 280px; }
  .cooperation__avatar { max-width: 280px; }
  .consult-bar__form { flex-wrap: wrap; gap: 12px; }
  .consult-bar__field { width: 140px; max-width: 140px; }
}

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

  .container { padding: 0 20px; }
  .env-gallery { padding: 0 20px; }

  /* Header */
  .header__inner { gap: 12px; }
  .header__logo { gap: 10px; }
  .header__logo-icon { width: 40px; height: 40px; }
  .header__logo-text { font-size: 18px; line-height: 24px; letter-spacing: -0.4px; }
  .header__nav { padding: 10px 16px 28px; gap: 6px; }
  .header__nav .header__nav-link {
    padding: 15px 16px;
    font-size: 16px;
    line-height: 24px;
    border-radius: 10px;
  }

  /* Sections */
  .section { padding: 48px 0; }
  .section--white { padding: 48px 0; }
  .section--cream-light { padding: 56px 0; }
  .section--beige { padding: 48px 0; }
  .section--pink { padding: 48px 0; }
  .section--media { padding: 48px 0; }
  .section--env { padding: 56px 0 40px; }
  .section--beige .section__header { margin-bottom: 36px; }
  .section__header { margin-bottom: 28px; }
  .section--white .section__header { margin-bottom: 28px; }
  .section--pink .section__header { margin-bottom: 36px; }
  .section--cream-light .section__header { margin-bottom: 36px; }
  .section__header--env { gap: 16px; margin-bottom: 32px; }
  .section__title { font-size: 28px; line-height: 34px; margin-bottom: 10px; }
  .section__title--md { font-size: 26px; line-height: 32px; }
  .section__divider { width: 48px; height: 3px; margin-bottom: 10px; }
  .section__subtitle { font-size: 15px; line-height: 24px; }
  .section__action { margin-top: 32px; }

  /* Cards */
  .cards-grid { gap: 16px; }
  .cards-grid--3 { grid-template-columns: 1fr; }
  .card { border-radius: 12px; }
  .card:hover { transform: none; box-shadow: none; }
  .card:hover .card__img img { transform: none; }
  .card__img { height: 180px; }
  .card__body { padding: 16px 18px 20px; }
  .card__title { font-size: 16px; line-height: 24px; margin-bottom: 6px; }
  .card__desc { font-size: 13px; line-height: 21px; }

  /* Class cards */
  .class-cards { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; }
  .class-card:hover { transform: none; box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
  .class-card:hover .class-card__img img { transform: none; }
  .class-card__img { height: 200px; }
  .class-card__body { padding: 20px; }
  .class-card__title { font-size: 18px; line-height: 26px; margin-bottom: 12px; }
  .class-card__list { margin-bottom: 16px; }
  .class-card__list li { font-size: 13px; line-height: 20px; margin-bottom: 6px; }
  .class-card__ribbon { font-size: 12px; line-height: 18px; padding: 6px 12px; }

  /* Buttons */
  .btn--lg { padding: 14px 28px; font-size: 16px; line-height: 24px; }

  /* Hero */
  .hero__media { height: 260px; }
  .hero__media::after { height: 48px; }
  .hero__panel {
    margin-top: -16px;
    border-radius: 16px 16px 0 0;
    padding: 24px 0 36px;
  }
  .hero__title { font-size: 40px; line-height: 44px; letter-spacing: -1.5px; margin-bottom: 16px; }
  .hero__tags { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero__tag-pill { font-size: 15px; line-height: 22px; padding: 10px 16px; }
  .hero__badge { font-size: 14px; padding: 10px 16px; line-height: 22px; }

  /* Staircase */
  .staircase { grid-template-columns: 1fr; gap: 16px; }
  .staircase__item--1,
  .staircase__item--2,
  .staircase__item--3,
  .staircase__item--4 { padding-bottom: 0; }
  .staircase__card { padding: 24px; min-height: auto; border-radius: 12px; }
  .staircase__item:hover .staircase__card { transform: none; }

  /* Media blocks */
  .media-section { gap: 40px; }
  .media-block__img,
  .media-block--right .media-block__img,
  .media-block--left .media-block__img { height: 220px; }
  .media-block__panel,
  .media-block--right .media-block__panel,
  .media-block--left .media-block__panel {
    margin: -28px 0 0;
    padding: 24px 20px;
    border-radius: 12px;
  }
  .media-block__header h2 { font-size: 24px; line-height: 30px; }
  .media-block__panel p { font-size: 15px; line-height: 24px; }
  .media-block__panel .btn { width: 100%; justify-content: center; align-self: stretch; }

  /* Cooperation */
  .cooperation { gap: 32px; }
  .cooperation__features { grid-template-columns: 1fr; gap: 16px; }
  .cooperation__bubble { padding: 24px 20px; }
  .cooperation__bubble h3 { font-size: 18px; }
  .cooperation__bubble p { font-size: 14px; line-height: 22px; }
  .cooperation__feature-card { padding: 20px; }

  /* Environment */
  .env-swiper__card { height: 220px; border-radius: 12px; }
  .env-swiper-pagination .swiper-pagination-bullet { width: 32px; height: 4px; }

  /* Cities */
  .cities-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .cities-grid span { padding: 12px 8px; font-size: 14px; line-height: 20px; }
  .cities-grid span:hover { transform: none; }

  /* Footer */
  .footer {
    padding-top: 48px;
    padding-bottom: max(24px, env(safe-area-inset-bottom, 0px));
  }
  .footer__inner {
    gap: 32px;
    margin-bottom: 0;
  }
  .footer__brand {
    gap: 14px;
    max-width: 100%;
    align-items: center;
    text-align: center;
  }
  .footer__brand-row {
    justify-content: center;
  }
  .footer__logo {
    width: 44px;
    height: 44px;
  }
  .footer__name {
    font-size: 22px;
    line-height: 28px;
    letter-spacing: -0.5px;
  }
  .footer__desc {
    font-size: 14px;
    line-height: 22px;
    max-width: 340px;
    margin: 0 auto;
  }
  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
  .footer__col h4 {
    font-size: 14px;
    line-height: 20px;
    margin-bottom: 12px;
    letter-spacing: 0.6px;
  }
  .footer__col ul li {
    font-size: 14px;
    line-height: 22px;
    margin-bottom: 8px;
  }
  .footer__col ul li:last-child {
    margin-bottom: 0;
  }
  .footer__col--contact {
    grid-column: 1 / -1;
    padding: 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }
  .footer__col--contact h4 {
    margin-bottom: 14px;
  }
  .footer__col--contact ul {
    display: grid;
    gap: 12px;
  }
  .footer__col--contact .footer__contact-item {
    gap: 6px;
    margin-bottom: 0;
  }
  .footer__col--contact .footer__contact-label {
    font-size: 12px;
    line-height: 16px;
  }
  .footer__col--contact .footer__contact-value {
    font-size: 15px;
    line-height: 22px;
    word-break: break-word;
  }
  .footer__col--contact .footer__contact-tel {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 18px;
    line-height: 24px;
    letter-spacing: 0.3px;
  }
  .footer__bottom {
    padding: 20px 0 28px;
    margin-top: 8px;
  }
  .footer__bottom p {
    font-size: 12px;
    line-height: 1.65;
    letter-spacing: 0.1px;
    max-width: 22em;
    margin: 0 auto;
    padding: 0 4px;
  }

  /* Consult bar hidden on mobile */
  .consult-bar { display: none; }
  body {
    padding-bottom: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px));
  }
  .footer {
    padding-bottom: calc(12px + var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 480px) {
  :root {
    --header-height: 56px;
  }

  .container { padding: 0 16px; }
  .env-gallery { padding: 0 16px; }

  .section { padding: 40px 0; }
  .section--white { padding: 40px 0; }
  .section--cream-light { padding: 48px 0; }
  .section--beige { padding: 40px 0; }
  .section--pink { padding: 40px 0; }
  .section--media { padding: 40px 0; }
  .section--env { padding: 48px 0 32px; }
  .section__header { margin-bottom: 24px; }
  .section--white .section__header { margin-bottom: 24px; }
  .section__title { font-size: 24px; line-height: 30px; }
  .section__title--md { font-size: 22px; line-height: 28px; }
  .section__subtitle { font-size: 14px; line-height: 22px; }
  .section__action { margin-top: 28px; }

  .header__logo-icon { width: 36px; height: 36px; }
  .header__logo-text { font-size: 17px; line-height: 22px; }

  .hero__media { height: 220px; }
  .hero__panel {
    margin-top: -12px;
    border-radius: 14px 14px 0 0;
    padding: 20px 0 28px;
  }
  .hero__title { font-size: 32px; line-height: 36px; letter-spacing: -1px; margin-bottom: 14px; }
  .hero__tag-pill { font-size: 14px; line-height: 20px; padding: 8px 14px; }
  .hero__badge { font-size: 13px; padding: 9px 14px; }

  .cards-grid { gap: 12px; }
  .card__img { height: 160px; }
  .card__body { padding: 14px 16px 18px; }

  .class-card__img { height: 180px; }
  .class-card__body { padding: 16px; }

  .btn--lg { padding: 13px 24px; font-size: 15px; width: 100%; }

  .media-block__img,
  .media-block--right .media-block__img,
  .media-block--left .media-block__img { height: 180px; }
  .media-block__panel,
  .media-block--right .media-block__panel,
  .media-block--left .media-block__panel {
    margin: -24px 0 0;
    padding: 20px 16px;
  }
  .media-block__header h2 { font-size: 20px; line-height: 26px; }

  .staircase__card { padding: 20px; }
  .env-swiper__card { height: 180px; }

  .cities-grid span { padding: 10px 6px; font-size: 13px; }

  .footer {
    padding-top: 36px;
    padding-bottom: calc(12px + var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px));
  }
  .footer__inner { gap: 28px; }
  .footer__desc { font-size: 13px; line-height: 21px; }
  .footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }
  .footer__col--contact {
    grid-column: 1 / -1;
    padding: 14px;
  }
  .footer__col h4 { margin-bottom: 10px; font-size: 13px; }
  .footer__col ul li { font-size: 13px; line-height: 20px; margin-bottom: 6px; }
  .footer__bottom {
    padding: 16px 0 24px;
  }
  .footer__bottom p {
    font-size: 11px;
    line-height: 1.7;
    max-width: 100%;
  }
}

/* ===== Animations ===== */
@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(32px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mobileNavItemIn {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes heroFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes dividerGrow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes badgeSwing {
  0%, 100% {
    transform: rotate(-12deg) translateY(0);
  }
  50% {
    transform: rotate(-10deg) translateY(-3px);
  }
}

@keyframes consultSlideUp {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes consultSlideUp {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 221, 180, 0.55);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(255, 221, 180, 0);
  }
}

@keyframes progressShine {
  0% { transform: scaleX(0); transform-origin: left; }
  100% { transform: scaleX(1); transform-origin: left; }
}

.cooperation__avatar {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.cooperation__center.is-visible .cooperation__avatar {
  animation: cooperationPop 0.8s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes cooperationPop {
  0% {
    opacity: 0;
    transform: scale(0.85);
  }
  60% {
    transform: scale(1.03);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}

.media-block__img img {
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.media-block:hover .media-block__img img {
  transform: scale(1.03);
}

.cooperation__bubble {
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.cooperation__bubble.reveal.is-visible:hover {
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.cooperation__bubble.reveal--from-left.is-visible:hover,
.cooperation__bubble.reveal--from-right.is-visible:hover {
  transform: translateX(0) translateY(-4px);
}

.footer__col a {
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer__col a:hover {
  transform: translateX(4px);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0s);
  will-change: opacity, transform;
}

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

.reveal--from-left {
  transform: translateX(-48px);
}

.reveal--from-right {
  transform: translateX(48px);
}

.reveal--from-left.is-visible,
.reveal--from-right.is-visible {
  transform: translateX(0) translateY(0);
}

.reveal--scale {
  transform: scale(0.92);
}

.reveal--scale.is-visible {
  transform: scale(1);
}

.section__header.reveal .section__divider {
  transform: scaleX(0);
}

.section__header.reveal.is-visible .section__divider {
  animation: dividerGrow 0.65s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0.15s) forwards;
}

.section__header.reveal .section__divider-dots {
  opacity: 0;
}

.section__header.reveal.is-visible .section__divider-dots {
  animation: dividerDotsIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) calc(var(--reveal-delay, 0.15s) + 0.35s) forwards;
}

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .hero__anim {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .hero__tag-dot,
  .consult-bar__badge-tag {
    animation: none;
  }

  .section__header.reveal .section__divider-dots {
    opacity: 1;
    transform: none;
  }

  .header__nav.open .header__nav-link {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ===== Baidu embed messageboard (爱番番在线咨询) ===== */
#aff-im-root,
#aff-im-root .embed-messageboard-base,
.embed-messageboard-base {
  right: 20px !important;
  left: auto !important;
}

.embed-messageboard-base {
  position: fixed !important;
  z-index: 1100 !important;
}

.embed-icon-base {
  right: 20px !important;
  left: auto !important;
  z-index: 1100 !important;
}

@media (min-width: 769px) {
  .embed-icon-base {
    bottom: 24px !important;
    top: auto !important;
  }

  .embed-messageboard-base {
    bottom: 24px !important;
    top: auto !important;
  }
}

@media (max-width: 768px) {
  .embed-icon-base,
  .embed-messageboard-base,
  #aff-im-root .embed-messageboard-base {
    right: 12px !important;
    bottom: calc(var(--mobile-dock-height) + env(safe-area-inset-bottom, 0px) + 10px) !important;
    top: auto !important;
  }
}
