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

:root {
  --bg-page: #0a0f0a;
  --bg-card: #0f1612;
  --bg-card-hover: #152019;
  --text: #e8f5e9;
  --text-muted: #86a38a;
  --accent: #8f9b4f;
  --accent-hover: #7f8a46;
  --green: #aeb97a;
  --radius: 16px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  background: var(--bg-page);
}

body {
  font-family: var(--font);
  background: transparent;
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
}

/* Экран загрузки — буква P рисуется по линии, затем закрашивается */
.loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-page);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease-out;
}

.loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.loader__svg {
  width: 110px;
  height: 154px;
}

.loader__path {
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
}

.loader__path-fill {
  fill-opacity: 0;
}

.loader.is-filled .loader__path-fill {
  fill-opacity: 1;
  transition: fill-opacity 0.4s ease-out;
}

.loader #loader-path {
  stroke: var(--accent);
}

.loader #loader-fill {
  fill: var(--accent);
}

/* Видео-фон + Aurora (бело-сине-зелёный) + еле видные квадраты */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

/* Еле видная сетка квадратов на заднем фоне */
.page-bg__overlay {
  background-image:
    linear-gradient(rgba(34, 197, 94, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(34, 197, 94, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: 0 0, 0 0;
}

.page-bg__aurora {
  position: absolute;
  inset: -30%;
  z-index: 1;
  overflow: hidden;
}

.aurora {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  animation: aurora-float 18s ease-in-out infinite;
  opacity: 0.4;
}

.aurora--1 {
  width: 70vmax;
  height: 70vmax;
  top: -15%;
  left: -15%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.2) 0%, transparent 65%);
  animation-delay: 0s;
}

.aurora--2 {
  width: 55vmax;
  height: 55vmax;
  top: 35%;
  left: 45%;
  background: radial-gradient(circle, rgba(52, 211, 153, 0.15) 0%, transparent 65%);
  animation-delay: -6s;
  animation-duration: 22s;
}

.aurora--3 {
  width: 65vmax;
  height: 65vmax;
  top: 5%;
  right: -20%;
  background: radial-gradient(circle, rgba(22, 163, 74, 0.18) 0%, transparent 65%);
  animation-delay: -12s;
  animation-duration: 20s;
}

@keyframes aurora-float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(4%, -4%) scale(1.03); }
  66% { transform: translate(-4%, 2%) scale(0.97); }
}

.page-bg__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.page-bg__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(10, 15, 10, 0.5) 0%, rgba(10, 15, 10, 0.7) 50%, rgba(10, 15, 10, 0.85) 100%);
}

.page-bg__aurora {
  z-index: 2;
}

/* Волнистая линия в блоке 3 — поднимается снизу вверх (фон) */
.impact-chart__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.impact-chart__wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60px;
  display: block;
  animation: impact-wave-rise 22s linear infinite;
}

.impact-chart__wave-svg--2 {
  animation-delay: -11s;
}

.impact-chart__wave-line {
  fill: none;
  stroke: rgba(96, 255, 170, 0.95);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 8px rgba(34, 197, 94, 0.6));
}

@keyframes impact-wave-rise {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-150%);
  }
}

/* Меню — glassmorphism, как на референсе */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 24px;
}

.header__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
}

.header__nav {
  grid-column: 2;
  justify-self: center;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 6px;
  background: rgba(15, 22, 18, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 9999px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.header__brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: #fff;
  transition: background 0.2s, border-color 0.2s;
}

.header__brand--active {
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.header__brand--active:hover {
  background: var(--accent-hover);
}

.header__logo {
  width: 18px;
  height: 24px;
  flex-shrink: 0;
}

.header__brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  line-height: 1.2;
}

.header__brand-name {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.header__brand-tagline {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.9;
  letter-spacing: 0.02em;
}

.header__link {
  padding: 8px 16px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: color 0.2s, background 0.2s;
}

.header__link:hover {
  color: var(--text);
  background: rgba(34, 197, 94, 0.12);
}

.header__cta {
  grid-column: 3;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  padding: 12px 24px;
  background: var(--accent);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9999px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
  transition: background 0.2s, border-color 0.2s;
}

.header__cta:hover {
  background: var(--accent-hover);
}

.header__menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(15, 22, 18, 0.9);
  color: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.header__menu-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.9);
  display: block;
  margin: 2px 0;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(3, 8, 12, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__panel {
  position: absolute;
  inset: 10px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(5, 10, 14, 0.97);
  display: flex;
  flex-direction: column;
  padding: 16px 18px 22px;
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.mobile-menu__brand {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 1rem;
}

.mobile-menu__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-size: 1.7rem;
  line-height: 1;
  cursor: pointer;
}

.mobile-menu__links {
  margin-top: 10px;
  display: flex;
  flex-direction: column;
}

.mobile-menu__link {
  color: rgba(235, 240, 248, 0.96);
  text-decoration: none;
  font-size: clamp(2.1rem, 8vw, 3.1rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  padding: 14px 2px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu__cta-wrap {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.mobile-menu__cta {
  width: 100%;
  justify-content: center;
}

/* Адаптив меню — на узких экранах сворачивать */
@media (max-width: 640px) {
  .mobile-menu__panel {
    inset: 8px;
    padding: 14px 14px 18px;
  }

  .mobile-menu__brand {
    padding: 7px 14px;
    font-size: 0.95rem;
  }
}

.page {
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
  padding: 48px 24px 120px;
  background: transparent;
}

/* Hero — главный блок, текст слева + иконки справа; фон — видео prism.webm */
.hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: center;
  padding: 100px 32px 80px;
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  isolation: isolate;
}

.hero .hero__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 64px;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero .hero__content {
  flex: 1;
  max-width: 560px;
}

.hero .hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 9999px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 24px;
}

.hero .hero__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

.hero .hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero .hero__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.hero .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.hero .hero__icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-shrink: 0;
}

.hero .hero__icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.85;
  transition: transform 0.2s, opacity 0.2s;
}

.hero .hero__icon:hover {
  transform: scale(1.1);
  opacity: 1;
}

@media (max-width: 900px) {
  .hero .hero__inner {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }

  .hero .hero__content {
    max-width: none;
  }

  .hero .hero__actions {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .hero {
    min-height: auto;
    padding: 80px 20px 64px;
  }

  .hero .hero__icons {
    gap: 16px;
  }

  .hero .hero__icon {
    width: 36px;
    height: 36px;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  background: var(--accent-hover);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(34, 197, 94, 0.08);
}

/* Сетка 3×3 (позиции 1–9) */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: minmax(280px, auto) minmax(280px, auto) minmax(280px, auto);
  gap: 20px;
}

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

  .card[style*="grid-column"],
  .card[style*="grid-row"] {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .card--featured {
    flex-direction: column;
  }

  .card--featured .card__content {
    flex: 0 0 auto;
  }
}

@media (max-width: 600px) {
  .cards {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow), 4px 0 20px -4px rgba(34, 197, 94, 0.06);
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  transition: background 0.3s, box-shadow 0.3s;
}

/* Градиенты карточек — тёмно-зелёные */
.cards .card:nth-child(1) {
  background: linear-gradient(145deg, #0f1612 0%, #0d1a14 50%, #112018 100%);
}

.cards .card:nth-child(2) {
  background: linear-gradient(160deg, #0d1410 0%, #0f1c16 40%, #0e1814 100%);
}

.cards .card:nth-child(3) {
  background: linear-gradient(180deg, #0a120e 0%, #0d1814 60%, #112018 100%);
}

.cards .card:nth-child(4) {
  background: linear-gradient(135deg, #0f1612 0%, #112018 50%, #0d1a14 100%);
}

.cards .card:nth-child(5) {
  background: linear-gradient(150deg, #0d1410 0%, #0f1c16 40%, #112018 100%);
}

.cards .card:nth-child(1):hover,
.cards .card:nth-child(2):hover,
.cards .card:nth-child(3):hover,
.cards .card:nth-child(4):hover,
.cards .card:nth-child(5):hover {
  background: linear-gradient(145deg, #152019 0%, #16261d 50%, #152a1d 100%);
}

.card--featured::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.03));
  pointer-events: none;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.card--featured {
  padding: 24px;
  gap: 20px;
  flex-direction: row;
  align-items: stretch;
}

.card--featured .card__content {
  flex: 0 0 45%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.card--featured .card__visual {
  flex: 1;
  min-height: 0;
  min-width: 0;
}

/* Карточка ПО и ИИ: блокнот сверху, текст снизу */
.card--code {
  flex-direction: column !important;
}

.card--code .card__visual {
  flex: 1;
  min-height: 180px;
}

.card--code .card__content {
  flex: 0 0 auto;
}

.card__content {
  flex: 0 0 auto;
}

.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  font-size: 1.25rem;
  color: var(--text-muted);
}

.card__icon--globe::before {
  content: '';
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.card__icon--paw::before {
  content: '';
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23a1a1aa'%3E%3Cpath d='M12 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-4 4c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm8 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-4-6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z'/%3E%3Cpath d='M18 8c0-2.2-1.8-4-4-4S10 5.8 10 8c0 1.5.8 2.8 2 3.5V14h4v-2.5c1.2-.7 2-2 2-3.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.card__icon--code {
  font-weight: 600;
  font-size: 1rem;
}

.card__icon--video::before {
  content: '';
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Crect x='2' y='4' width='20' height='16' rx='2'/%3E%3Cpath d='m10 9 6 4-6 4V9z'/%3E%3C/svg%3E") center/contain no-repeat;
}

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

.card__title--large {
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  font-weight: 700;
  text-align: center;
  margin: auto;
  padding: 24px;
  line-height: 1.2;
  max-width: 90%;
}

.card__desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.5;
}

.card__link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: opacity 0.2s;
}

.card__link:hover {
  opacity: 0.85;
}

/* Card visuals */
.card__visual {
  flex: 1;
  min-height: 140px;
  min-width: 0;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.card__visual--laptop {
  background: linear-gradient(145deg, #152019 0%, #18261d 100%);
}

.card__visual-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.laptop-mock {
  position: relative;
  padding: 12px 12px 24px;
}

.laptop-mock__screen {
  background: #0d1410;
  border-radius: 8px 8px 0 0;
  overflow: hidden;
  border: 2px solid rgba(34, 197, 94, 0.2);
}

.laptop-mock__browser-bar {
  height: 28px;
  background: #152019;
  border-bottom: 1px solid rgba(34, 197, 94, 0.15);
}

.laptop-mock__content {
  padding: 16px;
  min-height: 80px;
}

.laptop-mock__line {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.laptop-mock__img {
  height: 40px;
  background: linear-gradient(90deg, #1a2a20 0%, #152019 100%);
  border-radius: 4px;
}

.laptop-mock__base {
  height: 8px;
  width: 120%;
  margin-left: -10%;
  background: #2d3d32;
  border-radius: 0 0 4px 4px;
}

.card__visual--abstract {
  background: linear-gradient(160deg, #0d1a14 0%, #112018 30%, #0f1c16 100%);
}

.card--center .card__visual--abstract {
  background-image: url('../media/images/Pyron.png');
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.card--center .card__visual--abstract::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(34, 197, 94, 0.06) 0%, rgba(52, 211, 153, 0.04) 50%, rgba(15, 22, 18, 0.3) 100%);
  border-radius: inherit;
}

.abstract-shape {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
}

.card__visual--glow {
  background: #0d1612;
}

.glow-lines {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 100% 80% at 20% 30%, rgba(34, 197, 94, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse 80% 100% at 80% 70%, rgba(52, 211, 153, 0.15) 0%, transparent 50%);
  opacity: 0.9;
}

.glow-lines::before,
.glow-lines::after {
  content: '';
  position: absolute;
  width: 120%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.35), transparent);
  border-radius: 2px;
  top: 40%;
  left: -10%;
  transform: rotate(-15deg);
  box-shadow: 0 0 12px rgba(34, 197, 94, 0.2);
}

.glow-lines::after {
  top: 55%;
  transform: rotate(10deg);
  background: linear-gradient(90deg, transparent, rgba(52, 211, 153, 0.3), transparent);
}

/* Брендинг: текст сверху, слайдер картинок снизу */
.card--branding {
  flex-direction: column !important;
}

.card--branding .card__content {
  flex: 0 0 auto;
}

.card--branding .card__visual {
  flex: 1;
  min-height: 160px;
}

.card__visual--branding {
  background: transparent;
  padding: 0;
  overflow: hidden;
}

.branding-slider {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.branding-slider__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: branding-scroll 30s linear infinite;
}

.branding-slider__track:hover {
  animation-play-state: paused;
}

.branding-slider__list {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-shrink: 0;
  padding: 0 16px;
}

.branding-slider__slide {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.branding-slider__img {
  max-width: 80px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}

.branding-slider__slide:hover .branding-slider__img {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes branding-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Блокнот / IDE + видео — тёмно-зелёный стиль */
.card__visual--code {
  background: linear-gradient(180deg, #0d1612 0%, #0f1c16 100%);
  padding: 0;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(34, 197, 94, 0.15);
  position: relative;
  overflow: hidden;
}

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

.card__visual-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card__visual-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 15, 10, 0.75) 0%, rgba(13, 22, 16, 0.85) 50%, rgba(15, 26, 18, 0.9) 100%);
  pointer-events: none;
}

.card__visual--code .code-notebook {
  position: relative;
  z-index: 2;
}

.code-notebook {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding: 12px 0;
}

.code-notebook__lines {
  display: flex;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.code-notebook__nums {
  flex-shrink: 0;
  padding: 0 12px 0 8px;
  font-family: 'Consolas', 'Monaco', 'Menlo', monospace;
  font-size: 0.7rem;
  line-height: 1.7;
  color: var(--text-muted);
  text-align: right;
  user-select: none;
  display: flex;
  flex-direction: column;
}

.code-notebook__num {
  display: block;
}

.code-notebook__code {
  flex: 1;
  font-family: 'Consolas', 'Monaco', 'Menlo', monospace;
  font-size: 0.72rem;
  line-height: 1.7;
  color: var(--text);
  overflow: hidden;
}

.code-notebook__line {
  white-space: pre;
  overflow: hidden;
  text-overflow: ellipsis;
}

.code-notebook__line .kw { color: var(--accent); }
.code-notebook__line .fn { color: var(--text); }
.code-notebook__line .str { color: var(--green); }
.code-notebook__line .num { color: #fbbf24; }
.code-notebook__line .prop { color: var(--text); }
.code-notebook__line .param { color: var(--text-muted); }
.code-notebook__line .ty { color: #4ade80; }

.code-notebook__icon {
  margin-top: auto;
  padding: 8px 12px 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Consolas', monospace;
}

.code-notebook__code--typing {
  white-space: pre;
}

.code-notebook__discount {
  padding: 12px 12px 16px;
  border-top: 1px solid rgba(34, 197, 94, 0.12);
}

.code-notebook__discount-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.code-notebook__discount-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.code-notebook__discount-input {
  flex: 1;
  padding: 8px 12px;
  background: rgba(15, 22, 18, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 8px;
  color: var(--text);
  font-size: 0.85rem;
}

.code-notebook__discount-input::placeholder {
  color: var(--text-muted);
}

.code-notebook__discount-btn {
  padding: 8px 16px;
  background: var(--accent);
  border: none;
  border-radius: 8px;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s;
}

.code-notebook__discount-btn:hover {
  background: var(--accent-hover);
}

.code-notebook__discount-msg {
  font-size: 0.8rem;
  margin: 0;
  min-height: 1.2em;
}

.code-notebook__discount-msg--success {
  color: #4ade80;
}

.code-notebook__discount-msg--error {
  color: #f87171;
}

.code-notebook__line .cm { color: var(--text-muted); }

.card__visual--3d {
  background: linear-gradient(180deg, #0f1c16 0%, #112018 100%);
}

.ui-mock {
  padding: 16px;
  position: relative;
  height: 100%;
}

.ui-mock__wave {
  height: 24px;
  background: linear-gradient(90deg, transparent, rgba(34,197,94,0.25), transparent);
  border-radius: 4px;
  margin-bottom: 12px;
}

.ui-mock__thumbnails {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.ui-mock__thumbnails::before,
.ui-mock__thumbnails::after {
  content: '';
  width: 32px;
  height: 24px;
  background: rgba(34, 197, 94, 0.15);
  border-radius: 4px;
}

.ui-mock__n {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(34, 197, 94, 0.3);
  letter-spacing: -0.05em;
}

.card--center {
  justify-content: center;
  align-items: center;
  padding: 24px;
  flex-direction: column;
}

.card--center .card__visual--abstract {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border-radius: 0;
  z-index: 0;
}

.card--center .card__title--large {
  position: relative;
  z-index: 1;
}

.card--empty .card__visual--gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #0d1612 0%, #112018 100%);
  min-height: 100%;
}

.card--empty {
  min-height: 320px;
}

/* Избранные работы — блок как на референсе */
.selected-works {
  margin-top: 80px;
  margin-bottom: 48px;
}

.selected-works__header {
  text-align: center;
  margin-bottom: 48px;
}

.selected-works__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--text);
}

.selected-works__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.selected-works__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.selected-works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
}

.sw-card {
  background: linear-gradient(145deg, #0f1612 0%, #0d1a14 50%, #112018 100%);
  border-radius: var(--radius);
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  border: 1px solid rgba(34, 197, 94, 0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}

.sw-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 8px 30px rgba(34, 197, 94, 0.12);
}

.sw-card__visual {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.sw-card__visual--web {
  background: linear-gradient(180deg, #0f1c16 0%, #112018 100%);
}

.sw-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sw-card__visual--brand {
  background: linear-gradient(180deg, #0f1c16 0%, #112018 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.sw-card__brand-icon {
  width: 48px;
  height: 48px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.3) 0%, transparent 70%);
  border-radius: 50%;
}

.sw-card__brand-text {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text);
  letter-spacing: 0.02em;
}

.sw-card__visual--dashboard {
  background: linear-gradient(180deg, #0f1c16 0%, #112018 100%);
}

.sw-card__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(52, 211, 153, 0.25) 0%, transparent 65%);
}

.sw-card__title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--text);
  margin: 20px 20px 4px;
}

.sw-card__category {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin: 0 20px;
  display: block;
}

.sw-card__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 12px 20px 20px;
  flex: 1;
}

.selected-works__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.selected-works__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.2);
  background: rgba(21, 32, 25, 0.9);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.selected-works__arrow:hover {
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent);
  border-color: rgba(34, 197, 94, 0.3);
}

@media (max-width: 900px) {
  .selected-works__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .selected-works__grid {
    grid-template-columns: 1fr;
  }
}

/* Результаты в масштабе — метрики + среда разработки */
.impact {
  margin-top: 96px;
  margin-bottom: 64px;
}

.impact__header {
  text-align: center;
  margin-bottom: 48px;
}

.impact__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: var(--text);
}

.impact__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.impact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.impact__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 24px;
  margin-bottom: 48px;
}

.impact__stats .impact-stats:nth-child(3) {
  grid-column: 1 / -1;
}

.impact-stats {
  background: linear-gradient(145deg, #0f1612 0%, #0d1a14 40%, #112018 100%);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid rgba(34, 197, 94, 0.1);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.impact-stats[data-impact-bars] {
  padding-bottom: 110px;
}

.impact-stats[data-impact-chart] {
  padding-bottom: 100px;
}

.impact-stats:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 8px 30px rgba(34, 197, 94, 0.08);
}

.impact-stats__visual {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.8;
}

.impact-stats__visual--bars {
  right: 0;
  left: auto;
  bottom: 0;
  top: auto;
  transform: none;
  height: 80px;
  width: auto;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0 20px 0;
}

.impact-stats__visual--preview {
  width: 120px;
  height: 70px;
}

.impact-stats__visual--chart {
  width: 100%;
  height: 80px;
}

.impact__stats .impact-stats:nth-child(3) .impact-stats__visual--chart {
  right: 0;
  left: 0;
  bottom: 0;
  top: auto;
  width: 100%;
  height: 80px;
  transform: none;
}

.impact-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 80px;
}

.impact-bars__bar {
  width: 12px;
  background: linear-gradient(180deg, #ffb088 0%, #f5a26a 30%, #e07c50 70%, #c96a45 100%);
  border-radius: 8px 8px 0 0;
  min-height: 25%;
  transform-origin: bottom;
  transform: scaleY(var(--bar-scale, 0.6));
  transition: transform 0.12s ease-out;
}

.impact-preview {
  background: linear-gradient(135deg, #152019 0%, #16261d 100%);
  border-radius: 8px;
  padding: 12px;
  font-size: 0.7rem;
  color: var(--text);
}

.impact-preview__text {
  font-weight: 600;
  margin-bottom: 4px;
}

.impact-preview__hint {
  color: var(--text-muted);
  font-size: 0.65rem;
}

.impact-chart {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 0 16px 0;
  overflow: visible;
}

.impact-chart__svg {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 72px;
  display: block;
  overflow: visible;
}

.impact-chart__path-glow {
  fill: none;
  stroke: rgba(255, 184, 135, 0.55);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: url(#impact-line-glow);
}

.impact-chart__path {
  fill: none;
  stroke: url(#impact-line-grad);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(255, 198, 150, 0.45));
}

.impact-chart__fill {
  fill: url(#impact-fill-grad);
}

.impact-chart__dot-ui {
  position: absolute;
  left: 0;
  top: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #0e1220;
  border: 3px solid #ffd5af;
  box-shadow: 0 0 10px rgba(255, 186, 138, 0.7);
  transform: translate(-50%, -50%);
  z-index: 3;
  pointer-events: none;
}

.impact-stats__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.impact-stats__value {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.impact-stats__desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
  max-width: 85%;
}

.impact-build {
  display: flex;
  align-items: center;
  gap: 48px;
  background: linear-gradient(145deg, #0f1612 0%, #0d1a14 40%, #112018 100%);
  border-radius: var(--radius);
  padding: 40px 48px;
  border: 1px solid rgba(34, 197, 94, 0.12);
  box-shadow: var(--shadow);
  transition: background 0.3s;
  position: relative;
}

.impact-build__spotlight {
  position: absolute;
  width: 200px;
  height: 200px;
  left: var(--spot-x, 50%);
  top: var(--spot-y, 50%);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  z-index: 2;
}

.impact-build__left {
  flex: 0 0 45%;
}

.impact-build__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}

.impact-build__subtitle {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  max-width: 420px;
  line-height: 1.6;
}

.impact-build__tools {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  opacity: 1;
  --spot-x: 50%;
  --spot-y: 50%;
  -webkit-mask-image: radial-gradient(circle 110px at var(--spot-x) var(--spot-y), black 0%, transparent 100%);
  mask-image: radial-gradient(circle 110px at var(--spot-x) var(--spot-y), black 0%, transparent 100%);
}

.impact-build__tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 12px;
  background: rgba(21, 32, 25, 0.8);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.25s ease;
  min-height: 86px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.impact-build__tool:hover {
  background: rgba(26, 42, 32, 0.95);
  border-color: rgba(34, 197, 94, 0.25);
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.12);
}

.impact-build__icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.impact-build__icon.icon-mask {
  display: inline-block;
  background-color: var(--icon-color, #64748b);
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

@media (max-width: 768px) {
  .impact__stats {
    grid-template-columns: 1fr;
  }

  .impact__stats .impact-stats:nth-child(3) {
    grid-column: auto;
  }

  .impact-stats__visual {
    position: relative;
    right: auto;
    top: auto;
    transform: none;
    margin-top: 16px;
    order: 4;
    align-self: stretch;
  }

  .impact-stats__title { order: 1; }
  .impact-stats__value { order: 2; }
  .impact-stats__desc { order: 3; }

  .impact-stats[data-impact-bars],
  .impact-stats[data-impact-chart] {
    padding-bottom: 24px;
  }

  .impact-stats__visual--bars,
  .impact-stats__visual--chart {
    width: 100%;
    margin-top: auto;
  }

  .impact-stats__desc {
    max-width: 100%;
  }

  .impact-build {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .impact-build__left {
    flex: none;
  }

  .impact-build__tools {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 600px) {
  .impact-build__tools {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .impact-build__tools {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-build {
    padding: 28px 24px;
  }
}

/* Отзывы клиентов — тёмный блок, карусель по референсу */
.testimonials {
  margin-top: 96px;
  margin-bottom: 64px;
  border-radius: var(--radius);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.testimonials::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 50%),
    linear-gradient(-45deg, rgba(255,255,255,0.02) 0%, transparent 40%);
  pointer-events: none;
}

.testimonials__header {
  text-align: center;
  margin-bottom: 48px;
}

.testimonials__title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  color: #f1f5f9;
}

.testimonials__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
}

.testimonials__carousel {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.testimonials__arrow {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.3);
  background: rgba(30, 41, 59, 0.8);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.testimonials__arrow:hover {
  background: rgba(51, 65, 85, 0.9);
  color: #f1f5f9;
  border-color: rgba(148, 163, 184, 0.5);
}

.testimonials__track {
  flex: 1;
  position: relative;
  min-height: 260px;
  width: 100%;
}

.testimonials__slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s;
}

.testimonials__slide--active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.testimonial-card__quote {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #e2e8f0;
  margin-bottom: 28px;
  font-style: normal;
  max-width: 580px;
}

.testimonial-card__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: 10%;
}

.testimonial-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: rgba(15, 23, 42, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.testimonial-card__avatar svg {
  width: 24px;
  height: 24px;
  color: var(--text-muted);
}

.testimonial-card__info {
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.25);
  border-radius: 10px;
  padding: 10px 18px;
  text-align: left;
}

.testimonial-card__author {
  display: block;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #f1f5f9;
  font-style: normal;
  margin-bottom: 2px;
}

.testimonial-card__company {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .testimonials {
    padding: 48px 24px;
  }

  .testimonials__carousel {
    gap: 16px;
  }

  .testimonials__arrow {
    width: 40px;
    height: 40px;
  }

  .testimonial-card__meta {
    margin-left: 0;
  }
}

/* CTA блок — «Готовы к следующему шагу?» с чипом */
.cta {
  margin-top: 96px;
  margin-bottom: 64px;
  border-radius: var(--radius);
  padding: 64px 48px;
  position: relative;
  overflow: hidden;
  background: transparent;
}

.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(34, 197, 94, 0.12) 0%, transparent 45%),
    linear-gradient(-45deg, transparent 55%, rgba(52, 211, 153, 0.08) 100%);
  pointer-events: none;
}

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.cta__content {
  flex: 0 0 45%;
}

.cta__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #f1f5f9;
  margin-bottom: 16px;
}

.cta__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.6;
}

.cta__actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta__btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%) !important;
  border: none !important;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.35);
}

.cta__btn:hover {
  background: linear-gradient(135deg, #34d399 0%, #22c55e 100%) !important;
  box-shadow: 0 6px 24px rgba(34, 197, 94, 0.4);
}

.cta__link {
  color: #f1f5f9;
  font-size: 1rem;
  text-decoration: none;
  transition: color 0.2s, opacity 0.2s;
}

.cta__link:hover {
  color: #fff;
}

.cta__chip {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 380px;
}

.cta__chip-svg {
  width: 100%;
  max-width: 280px;
  filter: drop-shadow(0 0 30px rgba(34, 197, 94, 0.15));
  transform: perspective(400px) rotateY(-8deg) rotateX(5deg);
}

.cta__chip-base {
  fill: #000000;
  stroke: #000000;
  stroke-width: 1;
}

.cta__chip-letter {
  fill: #334155;
  font-size: 56px;
  font-weight: 700;
  font-family: var(--font);
  text-anchor: middle;
  dominant-baseline: central;
}

.cta__chip-pin {
  fill: url(#cta-chip-glow);
  opacity: 0.9;
  filter: drop-shadow(0 0 4px rgba(34, 197, 94, 0.6));
}

.cta__chip-trace {
  stroke: url(#cta-chip-glow);
  stroke-width: 1.5;
  opacity: 0.7;
  filter: drop-shadow(0 0 2px rgba(34, 197, 94, 0.5));
}

@media (max-width: 900px) {
  .cta__inner {
    flex-direction: column;
    text-align: center;
  }

  .cta__content {
    flex: none;
  }

  .cta__actions {
    justify-content: center;
  }

  .cta__chip {
    max-width: 240px;
  }
}

@media (max-width: 600px) {
  .cta {
    padding: 48px 24px;
  }
}

/* Tech stack — логотип + название, в самом верху страницы */
.tech-stack {
  margin-top: 0;
  margin-bottom: 32px;
  overflow: hidden;
  padding: 16px 0;
}

.tech-stack__track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: tech-stack-scroll 45s linear infinite;
}

.tech-stack__track:hover {
  animation-play-state: paused;
}

.tech-stack__list {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-shrink: 0;
  padding: 0 20px;
}

.tech-stack__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

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

.tech-stack__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.tech-stack__icon.icon-mask {
  display: inline-block;
  background-color: var(--icon-color, #64748b);
  mask-image: var(--icon-url);
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-image: var(--icon-url);
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  opacity: 0.9;
}

@keyframes tech-stack-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Футер — нижнее меню */
.footer {
  background: transparent;
  padding: 72px 48px 32px;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: 'P';
  position: absolute;
  left: 5%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.03);
  font-family: var(--font);
  pointer-events: none;
}

.footer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 90% 80%, rgba(34, 197, 94, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.footer__brand {
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
  background: linear-gradient(
    110deg,
    #c9c9c9 0%,
    #f0f0f0 15%,
    #ffffff 30%,
    #f5e6c8 45%,
    #e8dcc4 60%,
    #ffffff 75%,
    #d8d8d8 90%,
    #c9c9c9 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: footer-gradient 6s ease-in-out infinite;
}

@keyframes footer-gradient {
  0%, 100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.footer__nav {
  display: flex;
  justify-content: center;
  gap: 120px;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.footer__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer__col:first-child {
  align-items: flex-start;
}

.footer__col:last-child {
  align-items: flex-end;
}

.footer__col-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.footer__link {
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.25s ease;
}

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

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(34, 197, 94, 0.15);
  position: relative;
  z-index: 1;
}

.footer__copyright {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.footer__social {
  display: flex;
  gap: 16px;
}

.footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.footer__social-link img {
  width: 20px;
  height: 20px;
  opacity: 0.85;
  transition: opacity 0.2s, filter 0.2s;
}

.footer__social-link:hover img {
  opacity: 1;
  filter: brightness(1.2);
}

@media (max-width: 768px) {
  .footer {
    padding: 48px 24px 24px;
  }

  .footer__nav {
    flex-direction: column;
    align-items: center;
    gap: 32px;
  }

  .footer__col:first-child,
  .footer__col:last-child {
    align-items: center;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* ===== КОНТАКТЫ — страница «Работайте с нами» ===== */
.contacts {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 180px);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 120px 32px 80px;
}

.contacts__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  width: 100%;
}

.contacts__content {
  max-width: 480px;
}

.contacts__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
  margin-bottom: 16px;
  line-height: 1.2;
}

.contacts__subtitle {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 40px;
}

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

.contacts__card {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px 24px;
  background: rgba(15, 22, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  transition: background 0.2s, border-color 0.2s;
}

.contacts__card:hover {
  background: rgba(21, 32, 25, 0.9);
  border-color: rgba(34, 197, 94, 0.25);
}

.contacts__card--btn {
  cursor: pointer;
  border: none;
  text-align: left;
  font-family: inherit;
}

.contacts__card[data-contact="address"] {
  cursor: default;
}

.contacts__card[data-contact="address"]:hover {
  background: rgba(15, 22, 18, 0.85);
  border-color: rgba(34, 197, 94, 0.15);
}

.contacts__tech-stack {
  width: 100%;
  margin-top: 64px;
  max-width: 1200px;
}

.contacts__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.contacts__value {
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--text);
}

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

.contacts__chip {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1.2;
  perspective: 800px;
}

.contacts__chip-inner {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a1f1c 0%, #0d1210 50%, #151a17 100%);
  border-radius: 12px;
  transform: perspective(800px) rotateY(-8deg) rotateX(5deg);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.12);
  overflow: hidden;
}

.contacts__chip-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
  font-weight: 800;
  color: rgba(34, 197, 94, 0.4);
  font-family: var(--font);
  letter-spacing: -0.05em;
}

.contacts__chip-pins {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 19px,
      rgba(34, 197, 94, 0.08) 19px,
      rgba(34, 197, 94, 0.08) 20px
    ),
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 19px,
      rgba(34, 197, 94, 0.08) 19px,
      rgba(34, 197, 94, 0.08) 20px
    );
}

.contacts__chip-lines::before,
.contacts__chip-lines::after {
  content: '';
  position: absolute;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.2), transparent);
  top: 35%;
  left: 20%;
  transform: rotate(-10deg);
}

.contacts__chip-lines::after {
  top: 60%;
  transform: rotate(8deg);
}

@media (max-width: 900px) {
  .contacts__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contacts__visual {
    order: -1;
  }

  .contacts__chip {
    max-width: 280px;
  }

  .contacts__chip-logo {
    font-size: 3rem;
  }
}

@media (max-width: 600px) {
  .contacts {
    padding: 100px 20px 64px;
  }

  .contacts__card {
    padding: 16px 20px;
  }
}

/* ===== О НАС — страница «О нас» ===== */
.about {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 180px);
  padding: 120px 32px 80px;
  overflow-x: clip;
}

.about__inner {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  overflow-x: clip;
}

.about__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  line-height: 1.2;
  background: linear-gradient(
    110deg,
    #c0c0c0 0%,
    #e8e8e8 15%,
    #f5e6d3 35%,
    #e8dcc8 50%,
    #f5e6d3 65%,
    #c0c0c0 80%,
    #e8dcc8 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: about-title-shimmer 4s ease-in-out infinite;
}

.about__subtitle {
  font-size: 1.0625rem;
  line-height: 1.65;
  margin-bottom: 48px;
  background: linear-gradient(
    110deg,
    #a8a8a8 0%,
    #c8c8c8 20%,
    #e8dcc8 40%,
    #d4c4a8 60%,
    #c8c8c8 80%,
    #a8a8a8 100%
  );
  background-size: 200% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  animation: about-title-shimmer 5s ease-in-out infinite 0.5s;
}

@keyframes about-title-shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.team {
  width: 100%;
  margin-bottom: 56px;
}

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

.team__cell {
  background: rgba(15, 22, 18, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius);
  overflow: hidden;
  transition: background 0.2s, border-color 0.2s;
}

.team__cell:hover {
  background: rgba(21, 32, 25, 0.9);
  border-color: rgba(34, 197, 94, 0.2);
}

.team__cell > div {
  height: 100%;
  min-height: 240px;
}

/* Фото на весь блок */
.team__cell--photo {
  padding: 0;
  background: linear-gradient(145deg, rgba(16, 26, 78, 0.5) 0%, rgba(164, 108, 86, 0.35) 52%, rgba(10, 14, 20, 0.9) 100%);
}

.team__cell--photo > div {
  min-height: 280px;
}

.team-card__photo-full {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  overflow: hidden;
}

.team-card__photo-full img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.team-card__photo-full .team-card__photo--placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  border: none;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.25) 0%, rgba(22, 163, 74, 0.4) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.team-card__photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 28px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  z-index: 3;
}

.team-card__photo-overlay .team-card__name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin: 0 0 4px;
}

.team-card__photo-overlay .team-card__title {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card__photo--placeholder {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(22, 163, 74, 0.5) 100%);
  border: 2px solid rgba(34, 197, 94, 0.3);
}

.team-card__initials {
  font-size: 2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: -0.02em;
}

.team-card__meta {
  margin-top: 20px;
  text-align: center;
}

.team-card__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 4px;
}

.team-card__title {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin: 0;
}

.team__cell--2,
.team__cell--4 {
  background: linear-gradient(145deg, rgba(40, 30, 28, 0.9) 0%, rgba(14, 18, 18, 0.92) 100%);
}

.team-card__bio-wrap {
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: 24px 28px 20px;
  height: 100%;
  min-height: 280px;
}

.team-card__name--bio {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0;
  text-align: left;
  color: #f4f4f4;
  line-height: 1.2;
}

.team-card__bio {
  align-self: end;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(236, 241, 238, 0.95);
  margin: 12px 0 14px;
}

.team-card__links {
  display: flex;
  gap: 12px;
  margin-top: 0;
}

.team-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(34, 197, 94, 0.1);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}

.team-card__link:hover {
  background: rgba(34, 197, 94, 0.2);
}

.team-card__link img {
  opacity: 0.9;
}

.about-quote {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: visible;
  border: none;
  background: transparent;
}

.about-quote::before {
  content: none;
}

.about-quote__inner {
  position: relative;
  z-index: 1;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 56px;
}

.about-quote__text {
  max-width: 900px;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.75rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 700;
  color: rgba(232, 236, 244, 0.92);
}

/* ===== РАБОТЫ — страница works ===== */
.works-page {
  position: relative;
  z-index: 1;
  padding: 120px 32px 80px;
}

.works-showcase {
  max-width: 1240px;
  margin: 0 auto;
}

.works-showcase__head {
  text-align: center;
  margin-bottom: 34px;
}

.works-showcase__title {
  margin: 0 0 8px;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.02;
  background: linear-gradient(180deg, #f1f3f8 0%, #bcc4d2 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.works-showcase__subtitle {
  margin: 0 auto 18px;
  max-width: 640px;
  font-size: 1.05rem;
  color: rgba(214, 220, 230, 0.88);
}

.works-showcase__actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.works-scroll {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.works-row {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
}

.works-track {
  display: flex;
  width: max-content;
  gap: 18px;
  will-change: transform;
}

.works-row--top .works-track {
  animation: works-scroll-left 34s linear infinite;
}

.works-row--bottom .works-track {
  animation: works-scroll-right 34s linear infinite;
}

.works-row:hover .works-track {
  animation-play-state: paused;
}

.work-card {
  flex: 0 0 auto;
  width: 360px;
  height: 230px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 9, 20, 0.86);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}

.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work-card--dark img {
  filter: brightness(0.75) contrast(1.1);
}

.work-card--glow img {
  filter: saturate(1.2) brightness(0.95);
}

.work-card--light img {
  filter: brightness(0.98);
}

@keyframes works-scroll-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 9px)); }
}

@keyframes works-scroll-right {
  0% { transform: translateX(calc(-50% - 9px)); }
  100% { transform: translateX(0); }
}

.works-next {
  margin-top: 52px;
}

.works-next__inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  min-height: 360px;
  padding: 44px 48px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 22px;
  background: transparent;
  border: none;
}

.works-next__title {
  margin: 0 0 14px;
  max-width: 390px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: rgba(240, 244, 250, 0.95);
}

.works-next__subtitle {
  margin: 0 0 24px;
  max-width: 380px;
  color: rgba(214, 220, 230, 0.84);
  font-size: 1.06rem;
  line-height: 1.52;
}

.works-next__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.works-next__visual {
  display: flex;
  justify-content: center;
}

.works-chip {
  width: 250px;
  aspect-ratio: 1;
  border-radius: 28px;
  position: relative;
  background:
    radial-gradient(70% 70% at 32% 24%, rgba(255, 255, 255, 0.24) 0%, transparent 58%),
    linear-gradient(145deg, #2b2f38 0%, #161a22 42%, #0f1218 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 32px 52px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transform: rotate(-20deg);
}

.works-chip::before {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.works-chip__core {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 108px;
  height: 108px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 3.2rem;
  font-weight: 700;
  color: rgba(214, 221, 233, 0.95);
  background: linear-gradient(180deg, #232933 0%, #121720 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.works-chip__pins {
  position: absolute;
  top: 20px;
  bottom: 20px;
  width: 12px;
  background: repeating-linear-gradient(
    180deg,
    rgba(205, 122, 74, 0.95) 0 8px,
    rgba(205, 122, 74, 0.15) 8px 16px
  );
  filter: drop-shadow(0 0 4px rgba(205, 122, 74, 0.55));
}

.works-chip__pins--left { left: 12px; }
.works-chip__pins--right { right: 12px; }

.capabilities {
  margin-top: 56px;
}

.capabilities__layout {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(560px, 1.35fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
}

.capabilities__swap {
  position: relative;
  width: min(760px, 100%);
  height: 620px;
  perspective: 900px;
  overflow: visible;
  justify-self: end;
  margin-top: 0;
}

.swap-card {
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(560px, 96%);
  height: 390px;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(7, 8, 18, 0.68);
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

.swap-card__top {
  height: 46px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  font-size: 1.8rem;
  font-weight: 500;
  color: rgba(241, 245, 255, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.swap-card__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.45);
  flex: 0 0 auto;
}

.swap-card__media {
  height: calc(100% - 46px);
  border-radius: 0 0 22px 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background-size: cover;
  background-position: center;
}

.swap-card__media--web {
  background:
    radial-gradient(45% 40% at 65% 55%, rgba(139, 94, 255, 0.72) 0%, transparent 60%),
    radial-gradient(35% 30% at 78% 62%, rgba(255, 196, 240, 0.42) 0%, transparent 75%),
    radial-gradient(50% 30% at 30% 70%, rgba(129, 255, 253, 0.35) 0%, transparent 70%),
    linear-gradient(180deg, rgba(10, 8, 24, 0.72) 0%, rgba(5, 5, 16, 0.92) 100%);
}

.swap-card__media--branding {
  background:
    linear-gradient(160deg, rgba(117, 64, 219, 0.72) 0%, rgba(20, 14, 46, 0.9) 45%, rgba(8, 8, 24, 0.95) 100%),
    url("../media/images/Pyron.png");
  background-blend-mode: screen, normal;
  background-position: center, center;
  background-size: cover, 52%;
  background-repeat: no-repeat;
}

.swap-card__media--ai {
  background:
    radial-gradient(60% 55% at 65% 65%, rgba(109, 76, 255, 0.58) 0%, transparent 65%),
    radial-gradient(45% 40% at 38% 72%, rgba(100, 220, 255, 0.35) 0%, transparent 72%),
    linear-gradient(180deg, rgba(9, 12, 35, 0.76) 0%, rgba(5, 8, 18, 0.95) 100%);
}

.swap-card__media--jewelry {
  background:
    linear-gradient(160deg, rgba(74, 54, 138, 0.78) 0%, rgba(18, 12, 44, 0.9) 58%, rgba(7, 7, 22, 0.95) 100%),
    url("../media/images/веб%20разработка.png");
  background-blend-mode: screen, normal;
  background-position: center, center;
  background-size: cover, 70%;
  background-repeat: no-repeat;
}

.capabilities__content {
  text-align: left;
  order: 1;
  max-width: 540px;
}

.capabilities__swap {
  order: 2;
}

.capabilities__title {
  margin: 0 0 16px;
  font-size: clamp(2.2rem, 4vw, 4.4rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  background: linear-gradient(180deg, #f0f2f7 0%, #b6bcc8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.capabilities__subtitle {
  margin: 0 0 28px;
  max-width: 620px;
  font-size: clamp(1.1rem, 2vw, 1.8rem);
  line-height: 1.42;
  color: rgba(216, 222, 232, 0.88);
}

.capabilities__actions {
  margin-top: 0;
  display: flex;
  gap: 16px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

/* Единый мобильный режим: все многоколоночные блоки в один столбец */
@media (max-width: 900px) {
  .header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .header__nav {
    grid-column: auto;
    justify-self: auto;
    padding: 6px 10px;
  }

  .header__nav .header__link {
    display: none;
  }

  .header__brand {
    padding: 8px 14px;
  }

  .header__brand--active {
    background: rgba(15, 22, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .header__cta {
    display: none;
  }

  .header__menu-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .cards,
  .selected-works__grid,
  .impact__stats,
  .team__grid,
  .contacts__inner,
  .capabilities__layout {
    grid-template-columns: 1fr !important;
  }

  /* Главная (5 карточек): в один столбец и с нужным порядком */
  .cards .card:nth-child(1) { order: 1; }
  .cards .card:nth-child(3) { order: 2; } /* Всё в одном месте */
  .cards .card:nth-child(2) { order: 3; }
  .cards .card:nth-child(4) { order: 4; }
  .cards .card:nth-child(5) { order: 5; }

  .impact-build__tools {
    grid-template-columns: 1fr !important;
  }

  .works-next__inner {
    grid-template-columns: 1fr;
  }

  .about,
  .about__inner,
  .capabilities,
  .capabilities__layout,
  .capabilities__swap {
    max-width: 100%;
    overflow-x: clip;
  }

  .capabilities__swap {
    width: 100%;
    height: 390px;
    margin-inline: auto;
  }

  .swap-card {
    right: 4px;
    left: auto;
    width: min(360px, calc(100% - 8px));
  }

  .work-card {
    width: min(280px, 88vw);
    height: 180px;
  }

  .works-showcase__head,
  .selected-works__head,
  .impact__head,
  .capabilities__content {
    text-align: left;
  }

  .works-showcase__actions,
  .capabilities__actions,
  .impact__actions,
  .selected-works__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 1100px) {
  .team__grid {
    grid-template-columns: 1fr 1fr;
  }

  .about-quote__inner {
    min-height: 240px;
    padding: 40px 36px;
  }

  .works-page {
    padding: 110px 24px 72px;
  }

  .work-card {
    width: 320px;
    height: 210px;
  }

  .works-next__inner {
    grid-template-columns: 1fr;
    justify-items: start;
    padding: 36px 28px;
    min-height: 0;
  }

  .works-next__visual {
    width: 100%;
    justify-content: flex-end;
  }

  .works-chip {
    width: 210px;
  }

  .capabilities__swap {
    width: min(520px, 100%);
    height: 470px;
  }

  .swap-card {
    width: min(420px, 95%);
    height: 300px;
  }
}

@media (max-width: 700px) {
  .team__grid {
    grid-template-columns: 1fr 1fr;
  }

  .team__cell--photo .team-card__photo-full {
    min-height: 220px;
  }

  .about-quote__text {
    font-size: clamp(1.4rem, 4vw, 2rem);
  }

  .works-showcase__head {
    text-align: left;
  }

  .works-showcase__subtitle {
    margin-left: 0;
  }

  .works-showcase__actions {
    justify-content: flex-start;
  }

  .work-card {
    width: 270px;
    height: 180px;
  }

  .works-next__visual {
    justify-content: center;
  }

  .works-chip {
    transform: rotate(-14deg);
  }

  .capabilities__swap {
    width: min(460px, 100%);
    height: 430px;
  }

  .swap-card {
    width: min(360px, 92%);
    height: 260px;
    border-radius: 18px;
  }

  .swap-card__top {
    font-size: 1.4rem;
    height: 40px;
  }

  .swap-card__media {
    height: calc(100% - 40px);
  }
}

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

  .team__cell--photo .team-card__photo-full {
    min-height: 260px;
  }

  .team-card__photo-overlay {
    padding: 20px 24px;
  }

  .team-card__bio-wrap {
    padding: 24px 20px 24px;
    min-height: auto;
  }

  .about {
    padding: 100px 20px 64px;
  }

  .works-page {
    padding: 98px 16px 60px;
  }

  .works-showcase__title {
    font-size: clamp(2rem, 10vw, 2.7rem);
  }

  .work-card {
    width: 230px;
    height: 155px;
  }

  .works-next {
    margin-top: 38px;
  }

  .works-next__inner {
    padding: 28px 20px;
  }

  .works-next__title {
    font-size: clamp(1.7rem, 8vw, 2.4rem);
  }

  .works-next__subtitle {
    font-size: 0.98rem;
  }

  .works-chip {
    width: 168px;
    border-radius: 20px;
  }

  .works-chip__core {
    width: 82px;
    height: 82px;
    font-size: 2.4rem;
  }

  .team {
    margin-bottom: 40px;
  }

  .about-quote__inner {
    min-height: 210px;
    padding: 32px 20px;
  }

  .capabilities__swap {
    height: 370px;
  }

  .swap-card {
    width: min(320px, calc(100% - 8px));
    height: 230px;
  }

  .swap-card__top {
    font-size: 1.2rem;
    padding: 0 12px;
  }
}

/* ===== Модальное окно календаря ===== */
.calendar-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.calendar-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.calendar-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.calendar-modal__box {
  position: relative;
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  background: linear-gradient(145deg, #151a17 0%, #0f1412 100%);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  overflow-y: auto;
}

/* Cookie блок внутри модалки */
.calendar-modal__cookie {
  display: none;
  position: relative;
  overflow: visible;
}

.calendar-modal__cookie.is-visible {
  display: block;
}

.calendar-modal__cookie.is-hidden {
  display: none !important;
}

.calendar-modal__content {
  display: block;
}

.calendar-modal__content.is-hidden {
  display: none !important;
}

.calendar-modal__cookie .cookie-banner__inner {
  max-width: none;
}

.calendar-modal__cookie .cookie-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100%;
}

.calendar-modal__body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: start;
}

.calendar-modal__left {
  min-width: 0;
}

.calendar-modal__right {
  min-height: 200px;
  border-left: 1px solid rgba(34, 197, 94, 0.15);
  padding-left: 20px;
}

.calendar-modal__times-empty {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding: 24px 0;
}

.calendar-modal__times-date {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 12px;
}

.calendar-modal__times-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.calendar-modal__time-slot {
  display: block;
  width: 100%;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 10px;
  color: var(--accent);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.calendar-modal__time-slot:hover {
  background: rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.5);
}

.calendar-modal__confirm {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(34, 197, 94, 0.15);
}

.calendar-modal__confirm-slot {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.calendar-modal__input {
  display: block;
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 10px;
  font-family: inherit;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  color: var(--text);
}

.calendar-modal__input::placeholder {
  color: var(--text-muted);
}

.calendar-modal__btn-confirm {
  width: 100%;
  padding: 12px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.calendar-modal__btn-confirm:hover {
  background: var(--accent-hover);
}

@media (max-width: 560px) {
  .calendar-modal__body {
    grid-template-columns: 1fr;
  }

  .calendar-modal__right {
    border-left: none;
  }
}

.calendar-modal__logo {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--accent);
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.3), rgba(22, 163, 74, 0.15));
  border-radius: 50%;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.calendar-modal__sep {
  border: none;
  height: 1px;
  background: rgba(34, 197, 94, 0.15);
  margin: 16px 0;
}

.calendar-modal__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.calendar-modal__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0 0 16px;
}

.calendar-modal__subtitle {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 16px;
}

.calendar-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.calendar-modal__close:hover {
  color: var(--text);
  background: rgba(34, 197, 94, 0.1);
}

.calendar-modal__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin: 0;
  padding-right: 0;
}

.calendar-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calendar-modal__month {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
}

.calendar-modal__nav {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent);
  font-size: 1.25rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.calendar-modal__nav:hover {
  background: rgba(34, 197, 94, 0.25);
}

.calendar-modal__weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}

.calendar-modal__weekdays span {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.calendar-modal__grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-modal__day {
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  background: transparent;
  border: none;
  font-family: inherit;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.calendar-modal__day:hover {
  background: rgba(34, 197, 94, 0.15);
}

.calendar-modal__day--current {
  color: var(--text);
}

.calendar-modal__day--available {
  background: rgba(34, 197, 94, 0.2);
  color: var(--accent);
  border-radius: 50%;
}

.calendar-modal__day--available:hover {
  background: rgba(34, 197, 94, 0.35);
}

.calendar-modal__day--unavailable {
  color: var(--text-muted);
  opacity: 0.6;
  cursor: default;
}

.calendar-modal__day--unavailable:hover {
  background: transparent;
}

.calendar-modal__day--selected {
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
}

.calendar-modal__day--selected:hover {
  background: var(--accent-hover);
}

.calendar-modal__day--other {
  opacity: 0.4;
  cursor: default;
}

.calendar-modal__day--today {
  border: 2px solid var(--accent);
}

/* ===== Баннер cookie ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1500;
  padding: 24px;
  background: linear-gradient(145deg, #151a17 0%, #0f1412 100%);
  border-top: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
}

.cookie-banner.is-hidden {
  display: none;
}

.cookie-banner__inner {
  max-width: 900px;
  margin: 0 auto;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.6;
  margin: 0 0 20px;
}

.cookie-banner__link {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

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

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.cookie-banner__btn {
  padding: 12px 20px;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  border: none;
  text-decoration: none;
}

.cookie-banner__btn--decline {
  background: rgba(34, 197, 94, 0.1);
  color: var(--text);
}

.cookie-banner__btn--decline:hover {
  background: rgba(34, 197, 94, 0.2);
}

.cookie-banner__btn--accept {
  background: var(--accent);
  color: #fff;
}

.cookie-banner__btn--accept:hover {
  background: var(--accent-hover);
}

.cookie-banner__footer {
  margin: 16px 0 0;
  font-size: 0.9rem;
}

.cookie-banner__settings-link {
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  color: #c4751b;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.cookie-banner__settings-link:hover {
  color: #e89b2e;
}

/* Боковая панель настроек cookie */
.cookie-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 400px;
  background: linear-gradient(145deg, #1a1f1c 0%, #121714 100%);
  border-left: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.35s ease;
  z-index: 10;
  overflow-y: auto;
}

.cookie-banner .cookie-panel.is-open {
  transform: translateX(0);
}

.cookie-panel__inner {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cookie-panel__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 8px;
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-panel__close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.cookie-panel__title {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0;
  padding-right: 44px;
  color: var(--text);
}

.cookie-panel__desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
}

.cookie-panel__subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 8px 0 0;
  color: var(--text);
}

.cookie-panel__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cookie-panel__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.cookie-panel__label {
  font-size: 0.9rem;
  color: var(--text);
}

.cookie-panel__badge {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.cookie-panel__toggle {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
  cursor: pointer;
}

.cookie-panel__toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.cookie-panel__toggle span {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  transition: background 0.25s;
}

.cookie-panel__toggle span::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  background: var(--text);
  border-radius: 50%;
  transition: transform 0.25s;
}

.cookie-panel__toggle input:checked + span {
  background: var(--accent);
}

.cookie-panel__toggle input:checked + span::after {
  transform: translateX(20px);
}

.cookie-panel__actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.cookie-panel__actions .cookie-banner__btn {
  flex: 1;
}

@media (max-width: 600px) {
  .cookie-banner {
    padding: 20px 16px;
  }

  .cookie-banner__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-panel {
    max-width: 100%;
  }
}

/* ===== Админка — заявки и встречи ===== */
.admin {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - 180px);
  padding: 120px 32px 80px;
}

.admin__inner {
  max-width: 900px;
  margin: 0 auto;
}

.admin__title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 40px;
}

.admin__section {
  margin-bottom: 48px;
}

.admin__subtitle {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 16px;
}

.admin__desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

.admin__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin__empty {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

.admin__card {
  padding: 16px 20px;
  background: rgba(15, 22, 18, 0.9);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin__card-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.admin__card-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.admin__card-email {
  font-size: 0.85rem;
  color: var(--accent);
  text-decoration: none;
}

.admin__card-email:hover {
  text-decoration: underline;
}

.admin__card-status {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
}

.admin__card-status--pending {
  background: rgba(234, 179, 8, 0.2);
  color: #eab308;
}

.admin__card-status--confirmed {
  background: rgba(34, 197, 94, 0.2);
  color: var(--accent);
}

.admin__card-status--rejected {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.admin__card-actions {
  display: flex;
  gap: 8px;
}

.admin__btn {
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}

.admin__btn--confirm {
  background: var(--accent);
  color: #fff;
}

.admin__btn--confirm:hover {
  background: var(--accent-hover);
}

.admin__btn--reject {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.admin__btn--reject:hover {
  background: rgba(239, 68, 68, 0.3);
}

.admin__availability {
  padding: 20px;
  background: rgba(15, 22, 18, 0.85);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: 14px;
}

.admin__month-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.admin__month-nav button {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent);
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
}

.admin__month-nav button:hover {
  background: rgba(34, 197, 94, 0.25);
}

.admin__month-nav span {
  font-weight: 600;
  color: var(--text);
}

.admin__schedule {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
  max-height: 400px;
  overflow-y: auto;
}

.admin__schedule-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(34, 197, 94, 0.1);
  border-radius: 10px;
}

.admin__schedule-date {
  flex-shrink: 0;
  width: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
}

.admin__schedule-times {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.admin__schedule-times .admin__time-check {
  padding: 4px 8px;
  font-size: 0.8rem;
}

.admin__time-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-family: monospace;
  color: var(--text);
}

.admin__time-check:has(input:checked) {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
}

.admin__time-check input:checked + span {
  color: var(--accent);
}

.admin__days {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.admin__day-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--text);
}

.admin__day-check input:checked + span {
  color: var(--accent);
}

.admin__day-check:has(input:checked) {
  border-color: rgba(34, 197, 94, 0.5);
  background: rgba(34, 197, 94, 0.1);
}

.admin__btn-save {
  padding: 12px 24px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s;
}

.admin__btn-save:hover {
  background: var(--accent-hover);
}
