:root {
  --green-950: #031b12;
  --green-900: #05261a;
  --green-800: #073722;
  --green-700: #0a492d;
  --green-600: #0d5a38;
  --gold: #c7a15a;
  --gold-light: #efd18b;
  --cream: #f4f0e6;
  --ink: #112018;
  --muted: #66736b;
  --line: rgba(199, 161, 90, 0.28);
  --white: #fffdf8;
  --shadow: 0 22px 60px rgba(3, 27, 18, 0.15);
  --radius: 22px;
  --max: 1200px;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}

.site-shell {
  overflow: hidden;
}
.container {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(3, 27, 18, 0.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(239, 209, 139, 0.16);
}
.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}
.brand img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}
.brand__text {
  display: grid;
  line-height: 1.1;
}
.brand__text strong {
  font-family: Georgia, serif;
  letter-spacing: 0.12em;
  font-size: 17px;
  color: var(--gold-light);
}
.brand__text small {
  font-size: 8px;
  letter-spacing: 0.25em;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}
.nav a {
  transition:
    color 0.25s ease,
    transform 0.25s ease,
    text-shadow 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}
.nav a:hover {
  color: var(--gold-light);

  text-shadow:
    0 0 5px rgba(239, 209, 139, 0.8),
    0 0 12px rgba(199, 161, 90, 0.6),
    0 0 25px rgba(199, 161, 90, 0.35);

  transform: translateY(-2px);
}
.nav__cta {
  border: 1px solid var(--gold);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--gold-light);
}
.nav__cta:hover {
  color: var(--gold-light) !important;
  border-color: var(--gold-light);

  background: rgba(199, 161, 90, 0.08);

  box-shadow:
    0 0 6px rgba(239, 209, 139, 0.6),
    0 0 15px rgba(199, 161, 90, 0.45),
    0 0 30px rgba(199, 161, 90, 0.25);

  text-shadow: 0 0 6px rgba(239, 209, 139, 0.7);
}
.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  margin: 5px;
  background: var(--gold-light);
}

.hero {
  position: relative;
  min-height: 700px;
  display: grid;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(
      circle at 74% 40%,
      rgba(199, 161, 90, 0.13),
      transparent 25%
    ),
    radial-gradient(circle at 35% 70%, rgba(13, 90, 56, 0.55), transparent 38%),
    linear-gradient(135deg, var(--green-950), var(--green-800));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(199, 161, 90, 0.16);
  pointer-events: none;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
}
.eyebrow {
  margin: 0 0 18px;
  color: var(--green-700);
  font-size: 20px;
  letter-spacing: 0.26em;
  font-weight: 800;
}
.eyebrow--gold {
  color: var(--gold-light);
}
.hero .eyebrow {
  color: var(--gold-light);
}
.hero h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
}
.hero h1 {
  margin: 0;
  font-size: clamp(54px, 6vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.hero h1 em {
  color: var(--gold-light);
  font-style: normal;
}
.hero__lead {
  max-width: 610px;
  margin: 28px 0 0;
  color: rgba(255, 255, 255, 0.74);
  font-size: 18px;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 750;
  transition: 0.25s ease;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--green-950);
  box-shadow: 0 12px 30px rgba(199, 161, 90, 0.18);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(199, 161, 90, 0.28);
}
.btn--ghost {
  border-color: rgba(239, 209, 139, 0.45);
  color: var(--gold-light);
  background: rgba(255, 255, 255, 0.03);
}
.btn--full {
  width: 100%;
  margin-top: 25px;
}
.hero__stats {
  display: flex;
  gap: 34px;
  margin-top: 55px;
}
.hero__stats div {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hero__stats strong {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 20px;
}
.hero__stats span {
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  line-height: 1.4;
}

.hero__visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}
.hero__visual img {
  position: relative;
  z-index: 2;
  width: min(650px, 100%);
  filter: drop-shadow(0 35px 55px rgba(0, 0, 0, 0.28));
}
.hero__ring {
  position: absolute;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(239, 209, 139, 0.28);
  border-radius: 50%;
}
.hero__ring::after {
  content: "";
  position: absolute;
  inset: 28px;
  border: 1px dashed rgba(239, 209, 139, 0.18);
  border-radius: 50%;
}
.hero__target {
  position: absolute;
  width: 130px;
  height: 130px;
  right: 9%;
  top: 28%;
  border: 1px solid rgba(239, 209, 139, 0.35);
  border-radius: 50%;
}
.hero__target::before,
.hero__target::after {
  content: "";
  position: absolute;
  background: rgba(239, 209, 139, 0.35);
}
.hero__target::before {
  width: 100%;
  height: 1px;
  top: 50%;
}
.hero__target::after {
  height: 100%;
  width: 1px;
  left: 50%;
}
.scroll-down {
  position: absolute;
  bottom: 28px;
  left: 50%;
  color: var(--gold);
  font-size: 28px;
  animation: float 2s ease-in-out infinite;
}
@keyframes float {
  50% {
    transform: translateY(7px);
  }
}

.section {
  padding: 80px 0;
}
.section--light {
  background: var(--cream);
}
.section--green {
  background: linear-gradient(135deg, var(--green-900), var(--green-700));
  color: var(--white);
}
.section--dark {
  background: var(--green-950);
  color: var(--white);
}
.section-heading {
  max-width: 760px;
}
.section-heading--center {
  margin: 0 auto 55px;
  text-align: center;
}
.section-heading--split {
  display: grid;
  grid-template-columns: 320px 400px;
  gap: 70px;
  align-items: end;
  margin-bottom: 55px;
}
.section-heading h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.section-heading h2 span {
  color: var(--gold);
}
.section-heading > p:last-child {
  color: var(--muted);
  margin: 0;
}
.section--green .section-heading > p:last-child,
.section--dark .section-heading > p:last-child {
  color: rgba(255, 255, 255, 0.65);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  position: relative;
  padding: 38px;
  min-height: 300px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(17, 32, 24, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.feature-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -80px;
  bottom: -80px;
  border: 1px solid rgba(199, 161, 90, 0.25);
  border-radius: 50%;
}
.feature-card__number {
  position: absolute;
  top: 22px;
  right: 25px;
  color: rgba(17, 32, 24, 0.22);
  font-family: Georgia, serif;
  font-size: 14px;
}
.icon {
  color: var(--gold);
  font-size: 35px;
}
.feature-card h3 {
  font-family: Georgia, serif;
  font-size: 30px;
  margin: 22px 0 10px;
}
.feature-card p {
  color: var(--muted);
  margin: 0;
}

.training-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 25px;
}
.training-tab {
  border: 1px solid rgba(239, 209, 139, 0.25);
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  padding: 10px 16px;
  border-radius: 999px;
}
.training-tab.is-active,
.training-tab:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--green-950);
}
.training-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.training-card {
  padding: 30px;
  border: 1px solid rgba(239, 209, 139, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
  transition:
    transform 0.25s ease,
    border-color 0.25s ease;
}
.training-card:hover {
  transform: translateY(-6px);
  border-color: rgba(239, 209, 139, 0.6);
}
.training-card__top {
  display: flex;
  justify-content: space-between;
  color: var(--gold);
  font-size: 11px;
  letter-spacing: 0.16em;
}
.training-card h3 {
  font:
    500 34px/1.1 Georgia,
    serif;
  margin: 45px 0 14px;
}
.training-card p {
  color: rgba(255, 255, 255, 0.64);
}
.training-card ul {
  list-style: none;
  padding: 0;
  margin: 24px 0;
  color: rgba(255, 255, 255, 0.78);
}
.training-card li {
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.training-card li::before {
  content: "◆";
  color: var(--gold);
  margin-right: 10px;
  font-size: 7px;
}
.training-card a {
  color: var(--gold-light);
  font-weight: 750;
}

.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
}
.step {
  padding: 30px 22px 15px;
  border-right: 1px solid var(--line);
}
.step:last-child {
  border-right: 0;
}
.step__mark {
  color: var(--gold);
  font:
    500 18px Georgia,
    serif;
}
.step h3 {
  font:
    500 24px/1.15 Georgia,
    serif;
  margin: 38px 0 10px;
}
.step p {
  color: rgba(255, 255, 255, 0.58);
  font-size: 14px;
}

.coach {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 90px;
  align-items: center;
}
.year {
  font-weight: 700;
}
.coach__portrait {
  position: relative;
}
/* =========================================================
   ЗАГОЛОВОК НАД ФОТОГРАФИЯМИ ТРЕНЕРА
   ========================================================= */

.coach__photo-title {
  margin: 0 0 50px 0;
  padding: 0;

  text-align: left;

  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.16em;

  color: #c7a15a;
}
.coach__content {
  padding-top: 0;
}
.coach__content h2 {
  margin-top: 0;
}

/* Фотография */

.photo-fade-slider {
  position: relative;
  width: 100%;
  height: 650px;
  overflow: hidden;

  border-radius: 22px;
  background: #031b12;
}

/* Фотографии */

.photo-fade-slider__image {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;

  display: block;

  opacity: 0;

  transition: opacity 2s ease-in-out;

  z-index: 1;
}

/* Активная фотография */

.photo-fade-slider__image.is-active {
  opacity: 1;
  z-index: 2;
}

/* Подпись поверх/под фотографией */

.coach__portrait {
  position: relative;
}

/* Мобильная версия */

@media (max-width: 600px) {
  .coach__photo-title {
    margin-bottom: 14px;
  }

  .photo-fade-slider {
    height: 480px;
    border-radius: 18px;
  }
}
/* =========================================================
   АНИМАЦИЯ ФОТОГРАФИЙ
   ========================================================= */

.photo-fade-slider {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius);
}

/* Все фотографии лежат друг на друге */

.photo-fade-slider__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  opacity: 0;
  transition: opacity 2s ease-in-out;
  z-index: 1;
  cursor: zoom-in; /* Добавляем курсор */
  /* Убираем pointer-events: none */
}

/* Первая / активная фотография */

.photo-fade-slider__image.is-active {
  opacity: 1;
}
.portrait-caption {
  display: block;
  margin-top: 16px;
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--muted);
}
.coach__content h2 {
  margin: 0;
  font:
    500 clamp(48px, 6vw, 76px) Georgia,
    serif;
}
.coach__content .lead {
  font-size: 20px;
  color: var(--green-700);
}
.coach__content > p {
  max-width: 680px;
  color: var(--muted);
}
.coach__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0;
}
.coach__badges span {
  padding: 8px 12px;
  border: 1px solid rgba(199, 161, 90, 0.45);
  border-radius: 999px;
  font-size: 12px;
  color: var(--green-700);
}
.text-link {
  color: var(--green-700);
  font-weight: 800;
}

.tournament-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.tournament-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(239, 209, 139, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}
.date {
  text-align: center;
  border-right: 1px solid rgba(239, 209, 139, 0.2);
  padding-right: 20px;
}
.date strong {
  display: block;
  font:
    500 38px Georgia,
    serif;
  color: var(--gold-light);
}
.date span {
  font-size: 10px;
  letter-spacing: 0.15em;
}
.tag {
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}
.tournament-card h3 {
  margin: 12px 0 6px;
  font:
    500 25px/1.1 Georgia,
    serif;
}
.tournament-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
}

.review-slider {
  display: grid;
  grid-template-columns: 50px minmax(0, 760px) 50px;
  justify-content: center;
  align-items: center;
  gap: 22px;
}
.review-card {
  padding: 50px;
  border: 1px solid rgba(17, 32, 24, 0.09);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  text-align: center;
  box-shadow: var(--shadow);
}
.stars {
  color: var(--gold);
  letter-spacing: 0.15em;
}
.review-card blockquote {
  margin: 22px auto;
  font:
    500 clamp(22px, 3vw, 34px)/1.35 Georgia,
    serif;
  max-width: 650px;
  transition: opacity 0.16s ease;
}
.review-author {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}
.slider-btn {
  width: 50px;
  height: 50px;
  border: 1px solid rgba(17, 32, 24, 0.16);
  border-radius: 50%;
  background: transparent;
  color: var(--green-700);
  font-size: 20px;
}
.slider-btn:hover {
  background: var(--green-700);
  color: var(--gold-light);
}

.booking__grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
  align-items: center;
}
.booking h2 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 1;
  margin: 0;
}
.booking h2 span {
  color: var(--gold-light);
}
.booking .lead {
  color: rgba(255, 255, 255, 0.65);
  max-width: 560px;
  font-size: 18px;
}
.booking__note {
  margin-top: 30px;
  padding-left: 18px;
  border-left: 2px solid var(--gold);
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}
.booking-form {
  padding: 34px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(239, 209, 139, 0.18);
}
.booking-form label {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.booking-form input,
.booking-form select {
  width: 100%;
  border: 1px solid rgba(239, 209, 139, 0.2);
  background: rgba(0, 0, 0, 0.14);
  color: var(--white);
  border-radius: 12px;
  min-height: 50px;
  padding: 0 14px;
  outline: none;
}
.booking-form input:focus,
.booking-form select:focus {
  border-color: var(--gold);
}
.booking-form option {
  color: var(--ink);
}
.form-status {
  min-height: 22px;
  margin: 13px 0 0;
  font-size: 12px;
}
.form-status--error {
  color: #ffb5a7;
}
.form-status--success {
  color: #bfe5c8;
}

.footer {
  background: #02140d;
  color: rgba(255, 255, 255, 0.64);
  padding: 70px 0 20px;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr 0.8fr;
  gap: 45px;
}
.brand--footer {
  margin-bottom: 18px;
}
.footer h3 {
  margin: 0 0 15px;
  color: var(--gold-light);
  font:
    500 18px Georgia,
    serif;
}
.footer__grid > div:not(:first-child) a,
.footer__grid > div:not(:first-child) span {
  display: block;
  margin: 7px 0;
  font-size: 13px;
}
.footer a:hover {
  color: var(--gold-light);
}
.footer__bottom {
  margin-top: 55px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
}

@media (max-width: 1050px) {
  .nav {
    gap: 13px;
    font-size: 12px;
  }
  .hero__grid {
    grid-template-columns: 1fr 0.85fr;
  }
  .hero__visual {
    min-height: 560px;
  }
  .hero__ring {
    width: 430px;
    height: 430px;
  }
  .section-heading--split {
    gap: 35px;
  }
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
  .step:nth-child(3) {
    border-right: 0;
  }
  .step:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  main {
    padding-top: 70px;
  }
  .container {
    width: min(var(--max), calc(100% - 32px));
  }
  .header__inner {
    min-height: 70px;
  }
  .menu-toggle {
    display: block;
  }
  .nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 70px;
    padding: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: rgba(3, 27, 18, 0.98);
    border: 1px solid rgba(239, 209, 139, 0.18);
    border-radius: 18px;
  }
  .nav.is-open {
    display: flex;
  }
  .nav a {
    padding: 12px;
  }
  .hero {
    min-height: auto;
  }
  .hero__grid {
    grid-template-columns: 1fr;
  }
  .hero__content {
    padding: 90px 0 30px;
  }
  .hero__visual {
    min-height: 450px;
    margin-bottom: 40px;
  }
  .hero__visual img {
    width: min(500px, 100%);
  }
  .hero__ring {
    width: 380px;
    height: 380px;
  }
  .hero__target {
    right: 5%;
  }
  .section {
    padding: 80px 0;
  }
  .feature-grid,
  .training-grid,
  .tournament-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 240px;
  }
  .section-heading--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .coach,
  .booking__grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .steps {
    grid-template-columns: 1fr 1fr;
  }
  .step:nth-child(2) {
    border-right: 0;
  }
  .step:nth-child(3) {
    border-right: 1px solid var(--line);
  }
  .step:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
  .review-slider {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px;
  }

  .review-card {
    flex: 0 0 100%;
    padding: 30px 20px;
    order: 1;
  }

  .review-card blockquote {
    font-size: 18px;
    line-height: 1.5;
    margin: 16px auto;
  }

  .stars {
    font-size: 18px;
  }

  .slider-btn {
    display: flex;
    width: 44px;
    height: 44px;
    font-size: 16px;
    align-items: center;
    justify-content: center;
    order: 2;
    flex-shrink: 0;
  }

  .slider-btn--prev {
    order: 2;
  }

  .slider-btn--next {
    order: 3;
  }
}

@media (max-width: 520px) {
  .brand img {
    width: 45px;
    height: 45px;
  }
  .brand__text strong {
    font-size: 14px;
  }
  .hero h1 {
    font-size: 52px;
  }
  .hero__lead {
    font-size: 16px;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    width: 100%;
  }
  .hero__stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
    margin-top: 35px;
    margin-left: 150px;
  }
  .hero__visual {
    min-height: 360px;
  }
  .hero__ring {
    width: 290px;
    height: 290px;
  }
  .hero__target {
    width: 80px;
    height: 80px;
  }
  .section-heading h2 {
    font-size: 44px;
  }
  .feature-card,
  .training-card,
  .tournament-card,
  .booking-form,
  .review-card {
    padding: 24px;
  }
  .steps {
    grid-template-columns: 1fr;
  }
  .step,
  .step:nth-child(3) {
    border-right: 0;
    border-top: 1px solid var(--line);
  }
  .step:first-child {
    border-top: 0;
  }
  .tournament-card {
    grid-template-columns: 60px 1fr;
    gap: 15px;
  }
  .date {
    padding-right: 13px;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 10px;
  }
}
/* =========================================================
   БИЛЬЯРДНЫЕ ШАРЫ
   ДВА ШАРА РЕЗКО СТАЛКИВАЮТСЯ,
   ВСПЫШКА В ТОЧКЕ УДАРА,
   ЗАГОЛОВОК "ВЫБИВАЕТСЯ" ИЗ УДАРА
   ========================================================= */

/* ---------------------------------------------------------
   СЕКЦИЯ
   --------------------------------------------------------- */

.title-animation-section {
  position: relative;
  overflow: hidden;
}

/* Заголовок находится поверх анимации */
.title-animation-section .section-heading {
  position: relative;
  z-index: 30;
}

/* ---------------------------------------------------------
   ИЗНАЧАЛЬНО ЗАГОЛОВОК СКРЫТ
   --------------------------------------------------------- */

.title-animation-section .section-heading h2 {
  opacity: 0;
  transform: translateY(45px) scale(0.72);
  filter: blur(8px);
}

/* ---------------------------------------------------------
   КОНТЕЙНЕР ДЛЯ ШАРОВ
   --------------------------------------------------------- */

.title-ball-animation {
  position: absolute;

  left: 0;
  top: 145px;

  width: 100%;
  height: 80px;

  pointer-events: none;

  z-index: 20;
}

/* ---------------------------------------------------------
   ШАРЫ
   --------------------------------------------------------- */

.title-ball-animation .rolling-ball {
  position: absolute;

  top: 50%;

  width: 64px;
  height: 64px;

  opacity: 0;

  will-change: left, right, transform, opacity;

  filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.25))
    drop-shadow(0 0 18px rgba(199, 161, 90, 0.2));
}

/* Картинка настоящего шара */

.title-ball-animation .rolling-ball img {
  display: block;

  width: 100%;
  height: 100%;

  object-fit: contain;
}

/* ---------------------------------------------------------
   ЛЕВЫЙ ШАР
   --------------------------------------------------------- */

.title-ball-animation .rolling-ball--left {
  left: -90px;

  transform: translateY(-50%) rotate(0deg);
}

/* ---------------------------------------------------------
   ПРАВЫЙ ШАР
   --------------------------------------------------------- */

.title-ball-animation .rolling-ball--right {
  right: -90px;

  transform: translateY(-50%) rotate(0deg);
}

/* =========================================================
   ШАГ 1
   ШАРЫ РЕЗКО ВЫКАТЫВАЮТСЯ НАВСТРЕЧУ
   ========================================================= */

.title-animation-section.title-animation-start .rolling-ball--left {
  animation: ballFromLeft 1s linear forwards;
}

.title-animation-section.title-animation-start .rolling-ball--right {
  animation: ballFromRight 1s linear forwards;
}

/* ---------------------------------------------------------
   ЛЕВЫЙ ШАР
   --------------------------------------------------------- */

@keyframes ballFromLeft {
  0% {
    left: -90px;

    opacity: 0;

    transform: translateY(-50%) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    /*
     * ВАЖНО:
     * шар не соединяется с правым.
     * Они подходят очень близко,
     * после чего начинается удар.
     */

    left: calc(50% - 64px);

    opacity: 1;

    transform: translateY(-50%) rotate(720deg);
  }
}

/* ---------------------------------------------------------
   ПРАВЫЙ ШАР
   --------------------------------------------------------- */

@keyframes ballFromRight {
  0% {
    right: -90px;

    opacity: 0;

    transform: translateY(-50%) rotate(0deg);
  }

  10% {
    opacity: 1;
  }

  70% {
    opacity: 1;
  }

  100% {
    right: calc(50% - 64px);

    opacity: 1;

    transform: translateY(-50%) rotate(-720deg);
  }
}

/* =========================================================
   ШАГ 2
   РЕЗКИЙ УДАР
   ========================================================= */

/*
 * Левый шар
 *
 * Он не "сливается" с правым.
 * В момент удара происходит резкий импульс,
 * затем шар отбрасывает назад.
 */

.title-animation-section.title-animation-collision .rolling-ball--left {
  animation: hardHitLeft 0.42s cubic-bezier(0.12, 0.8, 0.2, 1) forwards;
}

/*
 * Правый шар
 */

.title-animation-section.title-animation-collision .rolling-ball--right {
  animation: hardHitRight 0.42s cubic-bezier(0.12, 0.8, 0.2, 1) forwards;
}

/* ---------------------------------------------------------
   УДАР ЛЕВОГО ШАРА
   --------------------------------------------------------- */

@keyframes hardHitLeft {
  0% {
    left: calc(50% - 32px);
    opacity: 1;
    transform: translateY(-50%) rotate(720deg) scale(1);
  }

  /* Мгновенный удар */
  8% {
    left: calc(50% - 64px);
    transform: translateY(-50%) rotate(735deg) scaleX(1.08) scaleY(0.94);
  }

  /* РЕЗКИЙ ОТСКОК ВЛЕВО */
  25% {
    left: calc(50% - 78px);
    transform: translateY(-50%) rotate(760deg) scale(1.05);
  }

  /* Продолжаем отлетать */
  55% {
    left: calc(50% - 130px);
    opacity: 1;
    transform: translateY(-50%) rotate(810deg) scale(0.92);
  }

  /* Улетает */
  100% {
    left: calc(50% - 230px);
    opacity: 0;
    transform: translateY(-50%) rotate(900deg) scale(0.55);
  }
}

/* ---------------------------------------------------------
   УДАР ПРАВОГО ШАРА
   --------------------------------------------------------- */

@keyframes hardHitRight {
  0% {
    right: calc(50% - 32px);
    opacity: 1;
    transform: translateY(-50%) rotate(-720deg) scale(1);
  }

  /* Мгновенный удар */
  8% {
    right: calc(50% - 64px);
    transform: translateY(-50%) rotate(-735deg) scaleX(1.08) scaleY(0.94);
  }

  /* РЕЗКИЙ ОТСКОК ВПРАВО */
  25% {
    right: calc(50% - 78px);
    transform: translateY(-50%) rotate(-760deg) scale(1.05);
  }

  /* Продолжаем отлетать */
  55% {
    right: calc(50% - 130px);
    opacity: 1;
    transform: translateY(-50%) rotate(-810deg) scale(0.92);
  }

  /* Улетает */
  100% {
    right: calc(50% - 230px);
    opacity: 0;
    transform: translateY(-50%) rotate(-900deg) scale(0.55);
  }
}

/* =========================================================
   ВСПЫШКА В МОМЕНТ СТОЛКНОВЕНИЯ
   ========================================================= */

.ball-impact {
  position: absolute;

  left: 50%;
  top: 50%;

  width: 12px;
  height: 12px;

  border-radius: 50%;

  background: #efd18b;

  opacity: 0;

  transform: translate(-50%, -50%) scale(0);

  z-index: 50;

  pointer-events: none;

  box-shadow:
    0 0 10px #efd18b,
    0 0 25px #c7a15a,
    0 0 50px rgba(239, 209, 139, 0.8),
    0 0 90px rgba(239, 209, 139, 0.45);
}

/*
 * В момент удара вспышка резко расширяется
 */

.title-animation-section.title-animation-collision .ball-impact {
  animation: impactFlash 0.42s ease-out forwards;
}

@keyframes impactFlash {
  0% {
    opacity: 0;

    transform: translate(-50%, -50%) scale(0);
  }

  12% {
    opacity: 1;

    transform: translate(-50%, -50%) scale(1);
  }

  35% {
    opacity: 1;

    transform: translate(-50%, -50%) scale(4);
  }

  65% {
    opacity: 0.65;

    transform: translate(-50%, -50%) scale(7);
  }

  100% {
    opacity: 0;

    transform: translate(-50%, -50%) scale(10);
  }
}

/* =========================================================
   ЗАГОЛОВОК "ВЫБИВАЕТСЯ" ИЗ УДАРА
   ========================================================= */

/*
 * Заголовок появляется не плавно,
 * а резко вылетает из центра.
 */

.title-animation-section.title-animation-done .section-heading h2 {
  animation: titleHit 0.65s cubic-bezier(0.12, 0.8, 0.2, 1) forwards;
}

/* Маленькие задержки,
   чтобы элементы заголовка появлялись последовательно */

.title-animation-section.title-animation-done .section-heading .eyebrow {
  animation-delay: 0.03s;
}

.title-animation-section.title-animation-done .section-heading h2 {
  animation-delay: 0.08s;
}

.title-animation-section.title-animation-done .section-heading > p:last-child {
  animation-delay: 0.16s;
}

/* ---------------------------------------------------------
   САМА АНИМАЦИЯ ЗАГОЛОВКА
   --------------------------------------------------------- */

@keyframes titleHit {
  /*
   * Заголовок находится внутри точки удара
   */

  0% {
    opacity: 0;

    transform: translateY(45px) scale(0.65);

    filter: blur(8px);
  }

  /*
   * Его буквально "выбивает" вверх
   */

  25% {
    opacity: 1;

    transform: translateY(-12px) scale(1.08);

    filter: blur(0);
  }

  /*
   * Небольшая отдача
   */

  45% {
    transform: translateY(4px) scale(0.98);
  }

  /*
   * Ещё один маленький отскок
   */

  65% {
    transform: translateY(-2px) scale(1.01);
  }

  /*
   * Финальная позиция
   */

  100% {
    opacity: 1;

    transform: translateY(0) scale(1);

    filter: blur(0);
  }
}

/* =========================================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================================= */

@media (max-width: 600px) {
  .title-ball-animation {
    top: 130px;
    height: 65px;
  }

  .title-ball-animation .rolling-ball {
    width: 52px;
    height: 52px;
  }

  @keyframes ballFromLeft {
    0% {
      left: -70px;
      opacity: 0;
      transform: translateY(-50%) rotate(0deg);
    }

    12% {
      opacity: 1;
    }

    100% {
      left: calc(50% - 52px);
      opacity: 1;
      transform: translateY(-50%) rotate(720deg);
    }
  }

  @keyframes ballFromRight {
    0% {
      right: -70px;
      opacity: 0;
      transform: translateY(-50%) rotate(0deg);
    }

    12% {
      opacity: 1;
    }

    100% {
      right: calc(50% - 52px);
      opacity: 1;
      transform: translateY(-50%) rotate(-720deg);
    }
  }
}

/* =========================================================
   ЕСЛИ ПОЛЬЗОВАТЕЛЬ ОТКЛЮЧИЛ АНИМАЦИИ
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  .title-animation-section .section-heading > * {
    opacity: 1;

    transform: none;

    filter: none;
  }

  .title-ball-animation {
    display: none;
  }
}
/* =========================================================
   ФОРМА ДОБАВЛЕНИЯ ОТЗЫВА
   ========================================================= */

.review-form-wrapper {
  width: min(680px, 100%);
  margin: 70px auto 0;
  padding: 42px 44px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.review-form-heading {
  text-align: center;
  margin-bottom: 30px;
}

.review-form-heading .eyebrow {
  margin-bottom: 10px;
}

.review-form-heading h3 {
  margin: 0 0 12px;
  color: var(--green-900);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.2;
}

.review-form-heading p:last-child {
  margin: 0 auto;
  max-width: 520px;
  color: var(--muted);
  line-height: 1.6;
}

/* Поле формы */

.review-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.review-form-field {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.review-form-field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-900);
}

.review-form-field input,
.review-form-field textarea {
  width: 100%;
  box-sizing: border-box;

  padding: 15px 17px;

  border: 1px solid rgba(3, 27, 18, 0.18);
  border-radius: 12px;

  background: #fff;
  color: var(--ink);

  font-family: inherit;
  font-size: 16px;

  outline: none;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.review-form-field input {
  min-height: 52px;
}

.review-form-field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.55;
}

.review-form-field input::placeholder,
.review-form-field textarea::placeholder {
  color: #9aa39e;
}

/* Активное поле */

.review-form-field input:focus,
.review-form-field textarea:focus {
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(199, 161, 90, 0.13),
    0 8px 24px rgba(3, 27, 18, 0.07);
}

/* Ошибка */

.review-form-field input.review-field-error,
.review-form-field textarea.review-field-error {
  border-color: #b84b4b;
  box-shadow: 0 0 0 3px rgba(184, 75, 75, 0.1);
}

/* Кнопка */

.review-form-submit {
  align-self: center;

  min-width: 210px;
  min-height: 54px;

  margin-top: 5px;
  padding: 14px 28px;

  border: 1px solid var(--gold);
  border-radius: 12px;

  background: var(--green-900);
  color: var(--gold-light);

  font-family: inherit;
  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease,
    color 0.25s ease;
}

.review-form-submit:hover {
  background: var(--green-800);
  color: var(--white);

  transform: translateY(-2px);

  box-shadow:
    0 0 12px rgba(199, 161, 90, 0.35),
    0 10px 28px rgba(3, 27, 18, 0.18);
}

.review-form-submit:active {
  transform: translateY(0);
}

/* =========================================================
   МОДАЛЬНОЕ ОКНО "СПАСИБО"
   ========================================================= */

.review-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

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

/* Затемнение */

.review-modal__overlay {
  position: absolute;
  inset: 0;

  background: rgba(3, 27, 18, 0.72);

  backdrop-filter: blur(5px);
}

/* Окно */

.review-modal__window {
  position: relative;
  z-index: 1;

  width: min(480px, 100%);

  padding: 42px 38px;

  background: var(--white);

  border: 1px solid var(--gold);
  border-radius: var(--radius);

  text-align: center;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.3),
    0 0 30px rgba(199, 161, 90, 0.15);

  transform: translateY(20px) scale(0.97);

  transition: transform 0.3s ease;
}

.review-modal.is-open .review-modal__window {
  transform: translateY(0) scale(1);
}

/* Крестик */

.review-modal__close {
  position: absolute;

  top: 13px;
  right: 16px;

  width: 38px;
  height: 38px;

  border: 0;
  background: transparent;

  color: var(--muted);

  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.review-modal__close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* Галочка */

.review-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  margin: 0 auto 20px;

  border: 1px solid var(--gold);
  border-radius: 50%;

  background: var(--green-900);
  color: var(--gold-light);

  font-size: 30px;
  font-weight: 600;

  box-shadow: 0 0 22px rgba(199, 161, 90, 0.2);
}

.review-modal__window h3 {
  margin: 0 0 14px;

  color: var(--green-900);

  font-size: 30px;
}

.review-modal__window p {
  margin: 0;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.65;
}

/* Кнопка "Хорошо" */

.review-modal__button {
  min-width: 150px;

  margin-top: 26px;
  padding: 12px 24px;

  border: 1px solid var(--gold);
  border-radius: 10px;

  background: var(--green-900);
  color: var(--gold-light);

  font-family: inherit;
  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.review-modal__button:hover {
  background: var(--green-800);

  box-shadow: 0 0 14px rgba(199, 161, 90, 0.3);

  transform: translateY(-1px);
}

/* =========================================================
   АДАПТИВНОСТЬ
   ========================================================= */

@media (max-width: 700px) {
  .review-form-wrapper {
    margin-top: 50px;
    padding: 30px 22px;
  }

  .review-form-heading h3 {
    font-size: 26px;
  }

  .review-form-submit {
    width: 100%;
  }

  .review-modal__window {
    padding: 38px 24px 30px;
  }
}
/* =========================================================
   КНОПКА "ВАМ ПЕРЕЗВОНИТЬ?"
   ========================================================= */

.callback-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 14px;
  padding: 10px 18px;

  border: 1px solid var(--gold);
  border-radius: 10px;

  background: transparent;
  color: var(--gold-light);

  font-family: inherit;
  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.callback-button:hover {
  background: var(--gold);
  color: var(--green-950);

  transform: translateY(-1px);

  box-shadow:
    0 0 14px rgba(199, 161, 90, 0.35),
    0 6px 18px rgba(0, 0, 0, 0.15);
}

/* =========================================================
   ОСНОВНОЕ ОКНО ОБРАТНОГО ЗВОНКА
   ========================================================= */

.callback-modal {
  position: fixed;
  inset: 0;

  z-index: 10000;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

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

/* Затемнение */

.callback-modal__overlay {
  position: absolute;
  inset: 0;

  background: rgba(3, 27, 18, 0.78);

  backdrop-filter: blur(5px);
}

/* Окно */

.callback-modal__window {
  position: relative;
  z-index: 1;

  width: min(500px, 100%);

  padding: 42px 42px 38px;

  background: var(--white);

  border: 1px solid var(--gold);

  border-radius: var(--radius);

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(199, 161, 90, 0.15);

  transform: translateY(25px) scale(0.96);

  transition: transform 0.3s ease;
}

.callback-modal.is-open .callback-modal__window {
  transform: translateY(0) scale(1);
}

/* Кнопка закрытия */

.callback-modal__close {
  position: absolute;

  top: 12px;
  right: 15px;

  width: 40px;
  height: 40px;

  border: none;
  background: transparent;

  color: var(--muted);

  font-size: 30px;
  line-height: 1;

  cursor: pointer;

  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.callback-modal__close:hover {
  color: var(--gold);
  transform: rotate(90deg);
}

/* Иконка телефона */

.callback-modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  margin: 0 auto 20px;

  border: 1px solid var(--gold);
  border-radius: 50%;

  background: var(--green-900);

  color: var(--gold-light);

  font-size: 27px;

  box-shadow: 0 0 22px rgba(199, 161, 90, 0.2);
}

/* Заголовок */

.callback-modal__heading {
  text-align: center;

  margin-bottom: 28px;
}

.callback-modal__heading .eyebrow {
  margin-bottom: 9px;
}

.callback-modal__heading h2 {
  margin: 0 0 12px;

  color: var(--green-900);

  font-size: clamp(26px, 4vw, 34px);
  line-height: 1.2;
}

.callback-modal__heading > p:last-child {
  max-width: 390px;

  margin: 0 auto;

  color: var(--muted);

  font-size: 15px;
  line-height: 1.6;
}

/* =========================================================
   ПОЛЯ ФОРМЫ
   ========================================================= */

.callback-form {
  display: flex;
  flex-direction: column;

  gap: 20px;
}

.callback-form__field {
  display: flex;
  flex-direction: column;

  gap: 8px;
}

.callback-form__field label {
  color: var(--green-900);

  font-size: 15px;
  font-weight: 600;
}

.callback-form__field input {
  width: 100%;
  box-sizing: border-box;

  min-height: 52px;

  padding: 14px 16px;

  border: 1px solid rgba(3, 27, 18, 0.18);

  border-radius: 12px;

  background: #fff;

  color: var(--ink);

  font-family: inherit;
  font-size: 16px;

  outline: none;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.callback-form__field input::placeholder {
  color: #9aa39e;
}

.callback-form__field input:focus {
  border-color: var(--gold);

  box-shadow:
    0 0 0 3px rgba(199, 161, 90, 0.13),
    0 8px 24px rgba(3, 27, 18, 0.07);
}

/* Ошибка */

.callback-form__field input.callback-field-error {
  border-color: #b84b4b;

  box-shadow: 0 0 0 3px rgba(184, 75, 75, 0.1);
}

/* =========================================================
   КНОПКА "ПЕРЕЗВОНИТЕ МНЕ"
   ========================================================= */

.callback-form__submit {
  width: 100%;

  min-height: 54px;

  margin-top: 4px;

  padding: 14px 24px;

  border: 1px solid var(--gold);

  border-radius: 12px;

  background: var(--green-900);

  color: var(--gold-light);

  font-family: inherit;

  font-size: 16px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.callback-form__submit:hover {
  background: var(--green-800);

  box-shadow:
    0 0 15px rgba(199, 161, 90, 0.3),
    0 10px 25px rgba(3, 27, 18, 0.16);

  transform: translateY(-2px);
}

.callback-form__submit:active {
  transform: translateY(0);
}

/* =========================================================
   ОКНО УСПЕШНОЙ ОТПРАВКИ
   ========================================================= */

.callback-success {
  position: fixed;
  inset: 0;

  z-index: 10001;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 20px;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.callback-success.is-open {
  opacity: 1;
  visibility: visible;
}

.callback-success__overlay {
  position: absolute;
  inset: 0;

  background: rgba(3, 27, 18, 0.78);

  backdrop-filter: blur(5px);
}

.callback-success__window {
  position: relative;
  z-index: 1;

  width: min(450px, 100%);

  padding: 42px 32px;

  background: var(--white);

  border: 1px solid var(--gold);

  border-radius: var(--radius);

  text-align: center;

  box-shadow:
    0 25px 80px rgba(0, 0, 0, 0.35),
    0 0 35px rgba(199, 161, 90, 0.15);

  transform: translateY(20px) scale(0.97);

  transition: transform 0.3s ease;
}

.callback-success.is-open .callback-success__window {
  transform: translateY(0) scale(1);
}

/* Галочка */

.callback-success__icon {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 64px;
  height: 64px;

  margin: 0 auto 20px;

  border: 1px solid var(--gold);

  border-radius: 50%;

  background: var(--green-900);

  color: var(--gold-light);

  font-size: 30px;
  font-weight: 600;
}

.callback-success__window h3 {
  margin: 0 0 14px;

  color: var(--green-900);

  font-size: 30px;
}

.callback-success__window p {
  margin: 0;

  color: var(--muted);

  font-size: 16px;

  line-height: 1.65;
}

/* Кнопка */

.callback-success__button {
  min-width: 150px;

  margin-top: 26px;

  padding: 12px 24px;

  border: 1px solid var(--gold);

  border-radius: 10px;

  background: var(--green-900);

  color: var(--gold-light);

  font-family: inherit;

  font-size: 15px;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.callback-success__button:hover {
  background: var(--green-800);

  box-shadow: 0 0 14px rgba(199, 161, 90, 0.3);

  transform: translateY(-1px);
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 600px) {
  .callback-button {
    width: 100%;
  }

  .callback-modal__window {
    padding: 38px 22px 28px;
  }

  .callback-modal__heading h2 {
    font-size: 27px;
  }

  .callback-success__window {
    padding: 38px 22px 30px;
  }
}
/* =========================================================
   КАСТОМНОЕ ВЫПАДАЮЩЕЕ МЕНЮ ФОРМАТА ОБУЧЕНИЯ
   ========================================================= */

.custom-select-label {
  display: block;
  margin-bottom: 8px;
}

/* Основной блок */

.custom-select {
  position: relative;
  width: 100%;
}

/* Кнопка выбранного значения */

.custom-select__button {
  width: 100%;
  min-height: 52px;

  padding: 14px 48px 14px 16px;

  border: 1px solid rgba(199, 161, 90, 0.45);
  border-radius: 12px;

  background: var(--white);
  color: var(--ink);

  font-family: inherit;
  font-size: 16px;
  text-align: left;

  cursor: pointer;

  position: relative;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

/* Наведение */

.custom-select__button:hover {
  border-color: var(--gold);

  box-shadow: 0 0 0 3px rgba(199, 161, 90, 0.1);
}

/* Когда меню открыто */

.custom-select.is-open .custom-select__button {
  border-color: var(--gold);

  box-shadow:
    0 0 0 3px rgba(199, 161, 90, 0.13),
    0 8px 24px rgba(3, 27, 18, 0.1);
}

/* Значение */

.custom-select__value {
  display: block;
  padding-right: 10px;
}

/* =========================================================
   ЗОЛОТАЯ СТРЕЛКА
   ========================================================= */

.custom-select__arrow {
  position: absolute;

  right: 17px;
  top: 50%;

  transform: translateY(-50%) rotate(0deg);

  color: var(--gold);

  font-size: 23px;
  line-height: 1;

  transition:
    transform 0.25s ease,
    color 0.25s ease;
}

/* Стрелка при наведении */

.custom-select__button:hover .custom-select__arrow {
  color: var(--gold-light);
}

/* Стрелка при открытии */

.custom-select.is-open .custom-select__arrow {
  transform: translateY(-50%) rotate(180deg);

  color: var(--gold-light);
}

/* =========================================================
   СПИСОК ВАРИАНТОВ
   ========================================================= */

.custom-select__options {
  position: absolute;

  left: 0;
  right: 0;

  top: calc(100% + 8px);

  z-index: 100;

  padding: 6px;

  background: var(--green-900);

  border: 1px solid rgba(199, 161, 90, 0.55);
  border-radius: 12px;

  box-shadow: 0 18px 40px rgba(3, 27, 18, 0.3);

  opacity: 0;
  visibility: hidden;

  transform: translateY(-8px);

  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

/* Открытое меню */

.custom-select.is-open .custom-select__options {
  opacity: 1;
  visibility: visible;

  transform: translateY(0);
}

/* =========================================================
   ПУНКТЫ МЕНЮ
   ========================================================= */

.custom-select__option {
  display: block;

  width: 100%;

  padding: 13px 14px;

  border: 0;
  border-radius: 8px;

  background: transparent;

  color: var(--cream);

  font-family: inherit;
  font-size: 15px;

  text-align: left;

  cursor: pointer;

  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    padding-left 0.2s ease;
}

/* Наведение на пункт */

.custom-select__option:hover {
  background: var(--green-700);

  color: var(--gold-light);

  padding-left: 18px;
}

/* Выбранный пункт */

.custom-select__option.is-selected {
  background: rgba(199, 161, 90, 0.16);

  color: var(--gold-light);
}

/* Выбранный пункт + наведение */

.custom-select__option.is-selected:hover {
  background: var(--green-600);

  color: var(--gold-light);
}

/* =========================================================
   МОБИЛЬНЫЕ УСТРОЙСТВА
   ========================================================= */

@media (max-width: 600px) {
  .custom-select__button {
    min-height: 50px;

    font-size: 15px;
  }

  .custom-select__option {
    padding: 12px;

    font-size: 15px;
  }
}
/* =========================================================
   ПОЛНОЭКРАННАЯ ГАЛЕРЕЯ ФОТОГРАФИЙ
   ========================================================= */

.photo-lightbox {
  position: fixed;

  inset: 0;

  z-index: 9999;

  display: flex;

  align-items: center;
  justify-content: center;

  padding: 40px 90px;

  background: rgba(3, 27, 18, 0.94);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

/* Открытая галерея */

.photo-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

/* Затемняющий фон */

.photo-lightbox__overlay {
  position: absolute;

  inset: 0;

  background: radial-gradient(
    circle at center,
    rgba(13, 90, 56, 0.18),
    rgba(3, 27, 18, 0.94) 70%
  );
}

/* =========================================================
   ФОТОГРАФИЯ
   ========================================================= */

.photo-lightbox__content {
  position: relative;

  z-index: 2;

  width: 100%;
  height: 100%;

  display: flex;

  align-items: center;
  justify-content: center;

  pointer-events: none;
}

.photo-lightbox__content img {
  display: block;

  max-width: calc(100vw - 220px);
  max-height: calc(100vh - 100px);

  width: auto;
  height: auto;

  object-fit: contain;

  border-radius: 6px;

  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.55);

  user-select: none;

  pointer-events: none;

  transform: scale(0.96);

  transition: transform 0.3s ease;
}

.photo-lightbox.is-open .photo-lightbox__content img {
  transform: scale(1);
}

/* =========================================================
   КНОПКА ЗАКРЫТИЯ
   ========================================================= */

.photo-lightbox__close {
  position: absolute;

  z-index: 5;

  top: 20px;
  right: 28px;

  width: 48px;
  height: 48px;

  border: 1px solid rgba(199, 161, 90, 0.55);

  border-radius: 50%;

  background: rgba(3, 27, 18, 0.75);

  color: var(--gold-light);

  font-family: inherit;

  font-size: 34px;
  font-weight: 300;

  line-height: 1;

  cursor: pointer;

  display: flex;

  align-items: center;
  justify-content: center;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.photo-lightbox__close:hover {
  background: var(--green-700);

  border-color: var(--gold);

  color: var(--white);

  transform: rotate(90deg);
}

/* =========================================================
   СТРЕЛКИ
   ========================================================= */

.photo-lightbox__arrow {
  position: absolute;

  z-index: 5;

  top: 50%;

  transform: translateY(-50%);

  width: 58px;
  height: 72px;

  border: 1px solid rgba(199, 161, 90, 0.45);

  border-radius: 14px;

  background: rgba(3, 27, 18, 0.72);

  color: var(--gold-light);

  font-family: Arial, sans-serif;

  font-size: 52px;
  font-weight: 200;

  line-height: 1;

  cursor: pointer;

  display: flex;

  align-items: center;
  justify-content: center;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease;
}

.photo-lightbox__arrow:hover {
  background: var(--green-700);

  border-color: var(--gold);

  color: var(--white);
}

/* Левая стрелка */

.photo-lightbox__arrow--prev {
  left: 25px;
}

/* Правая стрелка */

.photo-lightbox__arrow--next {
  right: 25px;
}

/* =========================================================
   НОМЕР ФОТОГРАФИИ
   ========================================================= */

.photo-lightbox__counter {
  position: absolute;

  z-index: 5;

  left: 50%;
  bottom: 20px;

  transform: translateX(-50%);

  padding: 7px 14px;

  border: 1px solid rgba(199, 161, 90, 0.35);

  border-radius: 20px;

  background: rgba(3, 27, 18, 0.75);

  color: var(--cream);

  font-size: 14px;

  letter-spacing: 0.08em;
}

/* =========================================================
   КУРСОР У ФОТОГРАФИЙ
   ========================================================= */

.photo-fade-slider__image {
  cursor: zoom-in;
}

/* =========================================================
   АДАПТИВ
   ========================================================= */

@media (max-width: 900px) {
  .photo-lightbox {
    padding: 30px 65px;
  }

  .photo-lightbox__content img {
    max-width: calc(100vw - 140px);
    max-height: calc(100vh - 90px);
  }

  .photo-lightbox__arrow {
    width: 48px;
    height: 62px;

    font-size: 44px;
  }

  .photo-lightbox__arrow--prev {
    left: 12px;
  }

  .photo-lightbox__arrow--next {
    right: 12px;
  }
}

/* =========================================================
   ТЕЛЕФОН
   ========================================================= */

@media (max-width: 600px) {
  .photo-lightbox {
    padding: 25px 15px 65px;
  }

  .photo-lightbox__content img {
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 120px);

    border-radius: 4px;
  }

  .photo-lightbox__close {
    top: 12px;
    right: 12px;

    width: 42px;
    height: 42px;

    font-size: 29px;
  }

  .photo-lightbox__arrow {
    width: 42px;
    height: 54px;

    font-size: 38px;

    border-radius: 10px;
  }

  .photo-lightbox__arrow--prev {
    left: 8px;
  }

  .photo-lightbox__arrow--next {
    right: 8px;
  }

  .photo-lightbox__counter {
    bottom: 14px;

    font-size: 13px;
  }
}
