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

html {
  scroll-behavior: smooth;
}

:root {
  --font-heading: "Playfair Display", serif;
  --font-body: "Inter", sans-serif;
  --color-text-primary: #1e1e1c;
  --color-bg-primary: #fbf9f6;
  --color-accent-green: #b1d49a;
  --color-accent-blue: #dceef6;
  --color-accent-gold: #d6ba8a;
  --color-border-soft-blue: #cde2ec;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  text-align: left;
}

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

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section__title-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0 10px;
  margin-bottom: 60px;
}

.section__title-content .section__title {
  margin: 0;
}

.section--way .section__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 100%;
  color: var(--color-text-primary);
}

.section__title-accent {
  color: var(--color-accent-green);
}

.btn {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 140%;
  text-align: center;
  border-radius: 34px;
  padding: 10px 20px;
  color: var(--color-text-primary);
}

.btn--outline {
  border: 1px solid var(--color-accent-gold);
}

.btn--outline:hover {
  background: var(--color-accent-gold);
  color: var(--color-bg-primary);
}

.btn--primary {
  background: var(--color-accent-gold);
  border: 1px solid var(--color-accent-gold);
  color: var(--color-text-primary);
  cursor: pointer;
}

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

.btn--large {
  padding: 14px 32px;
  font-size: 16px;
}

.icon-arrow {
  display: inline-block;
  width: 22px;
  height: 4px;
  background: url("../images/arrow.svg") center / contain no-repeat;
  flex-shrink: 0;
  vertical-align: middle;
}

/* Header */
.header {
  padding: 24px 0;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 32px 48px;
  position: relative;
}

.header__left {
  display: flex;
  gap: 0 45px;
}

.header__menu {
  display: flex;
  flex-grow: 2;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.header__logo-img {
  width: 100px;
  object-fit: contain;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.header__nav a {
  font-size: 16px;
  color: var(--color-text-primary);
}

.header__nav a:hover {
  color: var(--color-accent-green);
}

.header__dropdown {
  position: relative;
  z-index: 10;
}

.header__dropdown-trigger {
  display: inline-flex;
  align-items: center;
}

.header__dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 0;
  min-width: 220px;
  padding: 25px 35px;
  background: var(--color-accent-green);
  border-radius: 27px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    transform 0.2s ease;
}

.header__dropdown-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 14px;
}

.header__dropdown:hover .header__dropdown-menu,
.header__dropdown:focus-within .header__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.header__dropdown-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.header__dropdown-item {
  font-size: 15px;
  line-height: 1.4;
  white-space: nowrap;
}

.header__dropdown-item a {
  color: var(--color-text-primary);
  text-decoration: none;
}

.header__dropdown-item a:hover,
.header__dropdown-item a:focus {
  color: var(--color-text-primary);
  text-decoration: underline;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header__link {
  font-size: 16px;
}

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

/* «Войти»/«Выйти» — слева от кнопки «Записаться на знакомство».
   Габариты те же, что у кнопки, чтобы пара смотрелась ровно.
   Финальный вид уточняем у Вики. */
.header__login {
  padding: 10px 20px;
  border-radius: 20px;
  background: var(--color-accent-blue);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text-primary);
  transition: background 0.2s;
}

.header__login:hover {
  background: var(--color-border-soft-blue);
  color: var(--color-text-primary);
}

.header__cta {
  padding: 10px 20px;
  border: 1px solid var(--color-accent-green);
  border-radius: 20px;
  font-size: 16px;
  transition: background 0.2s;
}

.header__cta:hover {
  background: var(--color-accent-green);
  color: var(--color-bg-primary);
}

.header__burger {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 12px;
  background: transparent;
  padding: 10px 8px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.header__burger-line {
  display: block;
  width: 100%;
  height: 2px;
  background: #1e1e1c;
  border-radius: 1px;
}

/* Hero */
.hero {
  padding: 30px 24px 50px;
  text-align: center;
}

.hero__inner {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 40px;
  background: url("../images/main_back.svg") top right no-repeat;
}

.hero__content {
  position: relative;
  width: 60%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.hero__text {
  position: absolute;
  bottom: 0;
  color: var(--color-bg-primary);
  padding: 40px;
  width: 100%;
  text-align: left;
  z-index: 1;
}

.hero__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 35px;
  line-height: 100%;
}

.hero__tagline {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.2em;
}

.hero__media {
  /* Высота тянется под оба правых блока (событие + метод). */
  flex: 1 1 auto;
  min-height: 0;
  height: 100%;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  border-radius: 40px;
}

.hero__method {
  width: 40%;
  display: flex;
  flex-direction: column;
}

.hero__method > .block-card:first-child {
  margin-top: 0;
}

.block-card {
  background: var(--color-accent-green);
  border-radius: 40px;
  padding: 30px 25px 20px;
  margin-top: 25px;
  text-align: left;
}

.block-card__blue {
  background: var(--color-accent-blue);
}

.block-card__title {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 25px;
  line-height: 100%;
  color: var(--color-text-primary);
  margin-top: 0;
}

.block-card__content {
  text-align: right;
}
.block-card__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 125%;
  color: var(--color-text-primary);
  margin: 0 0 10px;
  text-align: left;
}

.block-card__button {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 14px;
  line-height: 125%;
  background-color: var(--color-bg-primary);
  border-radius: 30px;
  color: var(--color-text-primary);
  padding: 10px 15px;
  display: inline-flex;
  align-items: center;
  gap: 0 5px;
  margin-top: 10px;
}

.block-card__events {
  position: relative;
  overflow: hidden;
  background: none;
  border: 1px solid rgba(214, 186, 138, 0.95);
  padding-top: 22px;
  padding-bottom: 22px;
}

.block-card__events-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.block-card__events-tag {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: #dcc084;
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.2;
  color: var(--color-text-primary);
}

.block-card__events-date {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.2;
  color: var(--color-text-primary);
  white-space: nowrap;
}

.block-card__events .block-card__title,
.block-card__events .block-card__content {
  position: relative;
  z-index: 1;
}

.block-card__events .block-card__button {
  border: 1px solid rgba(214, 186, 138, 0.95);
  background: none;
}

.block-card__events .block-card__button:hover {
  background: var(--color-bg-primary);
}

/* Programs */
.program-cards {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  align-items: stretch;
}

.program-cards::before {
  content: " ";
  position: absolute;
  top: 145px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  border-bottom: 2px solid var(--color-border-soft-blue);
}

.program-card {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.program-card__name {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 22px;
  line-height: 105%;
  text-align: center;
  color: var(--color-text-primary);
  border: 2px solid var(--color-border-soft-blue);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    var(--color-accent-blue) 0%,
    var(--color-bg-primary) 50%
  );
  width: 80%;
  padding: 35% 0;
  margin: 0 auto;
  margin-bottom: 24px;
  max-width: 280px;
  max-height: 280px;
}

.program-card__name--toddler {
  background: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
}

.program-card__name--casa {
  background: radial-gradient(circle, #dce8ce 0%, var(--color-bg-primary) 50%);
  border: 1px solid var(--color-accent-green);
}

.program-card__schedule,
.program-card__meta {
  font-size: 14px;
  margin: 0 0 8px;
  line-height: 1.5;
}

.program-card__meta {
  margin-bottom: 30px;
}

.program-card__age {
  font-size: 16px;
  font-weight: 500;
  margin: 0 0 16px;
}

.program-card .btn {
  margin-top: auto;
}

/* Mission */
.mission__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.mission__content {
  width: 50%;
  background-color: var(--color-accent-blue);
  padding: 40px;
  border-radius: 40px;
  text-align: left;
}

.mission__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 100%;
  color: var(--color-text-primary);
  margin-top: 0;
}

.mission__content p {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.45;
  color: var(--color-text-primary);
}

.mission__content strong {
  font-weight: 400;
}

.mission__content p:last-child {
  margin-bottom: 0;
}

.mission__image {
  width: 50%;
  margin: 0 auto;
  border-radius: 40px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

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

/* Why */
.why__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.why__title {
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1em;
  color: var(--color-text-primary);
  width: 30%;
}

.why__grid {
  width: 60%;
  padding-top: 60px;
}

.why-item {
  padding: 24px 0;
  border-top: 1px solid var(--color-accent-gold);
  display: grid;
  grid-template-columns: 10% 40% auto;
  gap: 20px;
  align-items: start;
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  color: var(--color-text-primary);
}

.why-item::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -60px;
  background-color: var(--color-accent-green);
  opacity: 0.2;
  border-radius: 50%;
}

.why-item:nth-child(1)::before {
  transform: translateY(-220%) translateX(-50%);
  width: 16px;
  height: 16px;
}

.why-item:nth-child(2)::before {
  transform: translateY(-230%) translateX(-50%);
  width: 29px;
  height: 29px;
}

.why-item:nth-child(3)::before {
  transform: translateY(-210%) translateX(-50%);
  width: 42px;
  height: 42px;
}

.why-item:nth-child(4)::before {
  transform: translateY(-170%) translateX(-50%);
  width: 55px;
  height: 55px;
}

.why-item:nth-child(5)::before {
  transform: translateY(-120%) translateX(-50%);
  width: 67px;
  height: 67px;
}

.why-item:nth-child(6)::before {
  transform: translateY(-90%) translateX(-50%);
  width: 80px;
  height: 80px;
}

.why-item:nth-child(7)::before {
  transform: translateY(-40%) translateX(-50%);
  width: 93px;
  height: 93px;
}

.why-item:nth-child(8)::before {
  transform: translateY(0) translateX(-50%);
  width: 106px;
  height: 106px;
}

.why-item__num {
  width: auto;
  text-align: left;
}

.why-item__title {
  width: auto;
  font-weight: 400;
  font-size: 16px;
  margin: 0;
}

.why-item__text {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 14px;
  line-height: 125%;
  color: var(--color-text-primary);
  margin: 0;
}

/* Contact */
.contact-section {
  background: var(--color-accent-blue);
  text-align: left;
}

.contact-section__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.contact-section__content {
  width: 50%;
  text-align: left;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  color: var(--color-text-primary);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-section__content > div > p:not(.contact-section__email) {
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-primary);
}

.contact-section__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 40px;
  line-height: 1em;
  color: var(--color-text-primary);
  margin-top: 0;
}

.contact-section__email {
  margin: 20px 0;
}

.contact-section__email a {
  background-color: var(--color-bg-primary);
  display: inline-block;
  padding: 10px 20px;
  border-radius: 15px;
  font-weight: 500;
  color: var(--color-text-primary);
}

.contact-section__email a:hover {
  text-decoration: underline;
}

.contact-section__tagline {
  text-align: right;
  font-size: 20px;
}

.contact-section__image {
  width: 50%;
}

.contact-section__image img {
  width: 100%;
  border-radius: 40px;
}

.meet-section {
  background: var(--color-accent-green) url("../images/meet_back.svg") no-repeat
    bottom right;
}

.meet__title {
  font-family: var(--font-heading);
  font-weight: 300;
  font-size: 40px;
  line-height: 1em;
  margin-top: 0;
  color: var(--color-text-primary);
}

.form {
  max-width: 600px;
  margin: 0 auto;
}

.form__note {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 20px;
  line-height: 125%;
  color: var(--color-text-primary);
  margin: 0 0 24px;
}

.form__label {
  display: block;
  margin-bottom: 20px;
  position: relative;
}

.form__input + span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 20px;
  font-size: 16px;
  color: #1e1e1c80;
  cursor: text;
  transition:
    opacity 0.2s ease,
    visibility 0.2s ease,
    top 0.2s ease,
    transform 0.2s ease,
    font-size 0.2s ease;
}

.form__input:focus + span {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.form__label.is-filled:not(:focus-within) .form__input + span,
.form__input.is-filled:not(:focus) + span {
  opacity: 1;
  visibility: visible;
  top: 0;
  left: 0;
  transform: translateY(calc(-100% - 4px));
  font-size: 14px;
}

.form__input:not(:placeholder-shown):not(:focus) + span,
.form__input:-webkit-autofill:not(:focus) + span {
  opacity: 1;
  visibility: visible;
  top: 0;
  left: 0;
  transform: translateY(calc(-100% - 4px));
  font-size: 14px;
}

.form__label--message {
  margin-top: 4px;
}

.form__label--message .form__input + span {
  position: absolute;
  top: 20px;
  left: 20px;
  transform: none;
  font-size: 15px;
  color: #1e1e1c80;
  cursor: text;
  transition:
    top 0.2s ease,
    transform 0.2s ease,
    font-size 0.2s ease;
}

.form__label--message .form__input:focus + span {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.form__label--message.is-filled:not(:focus-within) .form__input + span,
.form__label--message .form__input:not(:placeholder-shown):not(:focus) + span,
.form__label--message .form__input.is-filled:not(:focus) + span,
.form__label--message .form__input:-webkit-autofill:not(:focus) + span {
  opacity: 1;
  visibility: visible;
  top: 0;
  transform: translateY(calc(-100% - 4px));
  font-size: 13px;
}

.form__input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 14px;
  background: var(--color-bg-primary);
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
}

.form__input::placeholder {
  color: transparent;
}

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

.form__row--three {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  align-items: start;
  margin-bottom: 20px;
}

.form__row--three .form__label {
  margin-bottom: 0;
}

.form__checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 8px 0 20px;
  cursor: pointer;
  color: var(--color-text-primary);
}

.form__checkbox-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.form__checkbox-box {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  border: 1px solid rgba(30, 30, 28, 0.45);
  border-radius: 6px;
  background: var(--color-bg-primary);
  position: relative;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.form__checkbox-text {
  font-size: 14px;
  line-height: 1.45;
}

.form__checkbox-text a,
.form__checkbox a {
  color: inherit;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  border-bottom: 1px solid currentColor;
}

.form__checkbox-input:checked + .form__checkbox-box {
  background: #2a5a4b;
  border-color: #2a5a4b;
}

.form__checkbox-input:checked + .form__checkbox-box::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #fbf9f6;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.form__checkbox-input:focus-visible + .form__checkbox-box {
  outline: 2px solid rgba(42, 90, 75, 0.35);
  outline-offset: 2px;
}

.form__row--submit {
  text-align: right;
}

.form .btn--primary {
  margin: 8px auto;
  background: var(--color-accent-blue);
  border-color: var(--color-accent-blue);
  color: var(--color-text-primary);
}

.form .btn--primary:hover {
  background: var(--color-bg-primary);
  border-color: var(--color-accent-blue);
  color: var(--color-text-primary);
}

/* Newsletter */
.newsletter-section {
  padding-bottom: 24px;
}

.newsletter-section__card {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  padding: 36px 40px;
  border-radius: 40px;
  background: linear-gradient(135deg, #dceef6 0%, #eef7fb 100%);
}

.newsletter-section__content {
  width: 52%;
}

.newsletter-section__eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a5a4b;
}

.newsletter-section__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1;
  color: var(--color-text-primary);
}

.newsletter-section__text {
  margin: 0;
  max-width: 560px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-primary);
}

.newsletter-form {
  width: 42%;
  align-self: center;
}

.newsletter-form__label {
  display: block;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(30, 30, 28, 0.7);
}

.newsletter-form__row {
  display: flex;
  gap: 12px;
}

.newsletter-form__input {
  width: 100%;
  min-height: 54px;
  padding: 14px 18px;
  border: 1px solid rgba(30, 30, 28, 0.12);
  border-radius: 18px;
  background: rgba(251, 249, 246, 0.92);
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-primary);
}

.newsletter-form__input::placeholder {
  color: rgba(30, 30, 28, 0.45);
}

.newsletter-form__button {
  min-height: 54px;
  padding: 14px 24px;
  white-space: nowrap;
}

.newsletter-form__note {
  margin: 12px 0 0;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(30, 30, 28, 0.68);
}

.newsletter-form__note a {
  color: inherit;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  border-bottom: 1px solid currentColor;
}

.form.is-submitting,
.newsletter-form.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

.meet-section .alert,
.newsletter-section .alert {
  display: none;
}

.form-modal-open {
  overflow: hidden;
}

.form-modal[hidden] {
  display: none;
}

.form-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.form-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 24, 22, 0.48);
}

.form-modal__dialog {
  position: relative;
  width: min(100%, 460px);
  padding: 32px 28px 28px;
  border-radius: 28px;
  background: #fbf9f6;
  box-shadow: 0 24px 64px rgba(20, 24, 22, 0.18);
}

.form-modal__dialog--success {
  border: 1px solid rgba(42, 90, 75, 0.18);
}

.form-modal__dialog--error {
  border: 1px solid rgba(138, 31, 23, 0.18);
}

.form-modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(30, 30, 28, 0.06);
  color: rgba(30, 30, 28, 0.72);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.form-modal__title {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.1;
  color: var(--color-text-primary);
}

.form-modal__text {
  margin: 0 0 24px;
  font-size: 18px;
  line-height: 1.45;
  color: rgba(30, 30, 28, 0.82);
}

.form-modal__button {
  min-width: 140px;
}

/* Map */
.map-section {
  padding-bottom: 0;
}

.map__content {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 48px;
}

.map__intro {
  width: 48%;
  max-width: none;
}

.map__eyebrow {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a5a4b;
}

.map__title {
  margin: 0 0 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1em;
  color: var(--color-text-primary);
}

.map__text {
  margin: 0;
  max-width: 520px;
  font-size: 18px;
  line-height: 1.45;
  color: var(--color-text-primary);
}

.map__card {
  width: 40%;
  margin-top: 84px;
}

.map__address {
  display: grid;
  gap: 18px;
}

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

.map__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  color: #2a5a4b;
}

.map__icon svg {
  width: 22px;
  height: 22px;
}

.map__icon img {
  width: 22px;
  height: 22px;
  display: block;
}

.map__item-content {
  display: grid;
  gap: 2px;
}

.map__item-label {
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(30, 30, 28, 0.48);
}

.map__item-link {
  font-size: 17px;
  line-height: 1.4;
  color: var(--color-text-primary);
  text-decoration: none;
}

.map__item-link:hover {
  text-decoration: underline;
}

.map__fullwidth {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.map__image {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Шторка над картой (js/map-lock.js): пока карта не активна, скролл проходит мимо неё. */
.map__lock {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  width: 100% !important;
  padding: 0 16px 24px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.map__image.is-active .map__lock {
  display: none;
}

.map__lock-hint {
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(30, 30, 28, 0.72);
  color: #fff;
  font: inherit;
  font-size: 14px;
  line-height: 1.3;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.map__lock:hover .map__lock-hint,
.map__lock:focus-visible .map__lock-hint {
  opacity: 1;
}

@media (hover: none) {
  .map__lock-hint {
    opacity: 1;
  }
}

.map__image iframe,
.map__image ymaps,
.map__image > div {
  width: 100% !important;
}

/* Footer */
.footer {
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  padding: 64px 0 40px;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.footer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px 80px;
}

.footer__brand {
  max-width: 420px;
}

.footer__logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.footer__logo {
  width: 89px;
  height: auto;
}

.footer__tagline {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--color-text-primary);
}

.footer__desc {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: rgba(30, 30, 28, 0.65);
}

.footer__nav {
  flex-shrink: 0;
  padding-top: 4px;
}

.footer__nav-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer__nav-list a {
  font-size: 16px;
  line-height: 1.4;
  color: var(--color-text-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer__nav-list a:hover {
  color: var(--color-accent-green);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid rgba(69, 72, 67, 0.2);
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px 14px;
}

.footer__sep {
  color: rgba(30, 30, 28, 0.35);
  font-size: 12px;
  line-height: 1;
}

.footer__link {
  text-align: center;
  font-size: 13px;
  line-height: 1.4;
  color: rgba(30, 30, 28, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

.footer__copy {
  margin: 0;
  text-align: center;
  font-size: 14px;
  line-height: 1.4;
  color: rgba(30, 30, 28, 0.55);
}

/* Responsive */
@media (max-width: 1099px) {
  .why__inner {
    flex-direction: column;
  }

  .why__title,
  .why__grid {
    width: 100%;
  }

  .why__grid {
    padding-top: 0;
  }

  .section__title-content {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .container {
    padding: 0 40px;
  }

  .hero {
    padding: 30px 0 50px;
  }

  .footer {
    padding: 48px 0 32px;
  }

  .footer__top {
    flex-direction: column;
    gap: 32px;
  }

  .footer__brand {
    max-width: none;
  }

  .footer__nav-list {
    align-items: flex-start;
  }

  .header__burger {
    display: inline-flex;
  }

  .header__menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 20px;
    z-index: 20;
    background: var(--color-bg-primary);
    border: none;
    border-radius: 0 0 15px 15px;
    padding: 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: max-content;
    box-shadow: 0 6px 18px rgba(30, 30, 28, 0.08);
  }

  .header--menu-open .header__menu {
    display: flex;
  }

  .header__nav {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header__dropdown {
    width: 100%;
  }

  .header__dropdown-trigger {
    width: 100%;
  }

  .header__dropdown-menu {
    display: none;
    position: static;
    min-width: auto;
    margin-top: 8px;
    padding: 0 0 0 16px;
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
    pointer-events: none;
  }

  .header__dropdown-menu::before {
    display: none;
  }

  .header__dropdown--open .header__dropdown-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__dropdown-list {
    gap: 8px;
  }

  .header__dropdown-item {
    white-space: normal;
  }

  .header__right {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .header__cta {
    display: inline-block;
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: var(--color-accent-green);
  }

  .header__login,
  .header__login:hover {
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

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

  .block-card__events-meta,
  .block-card__events .block-card__content {
    flex-direction: column;
    align-items: flex-start;
  }

  .block-card__events .block-card__button {
    min-width: 0;
  }

  .hero__inner,
  .mission__inner,
  .why__inner,
  .newsletter-section__card,
  .contact-section__inner,
  .map__content {
    flex-direction: column;
  }

  .hero__content,
  .hero__method,
  .mission__content,
  .mission__image,
  .why__title,
  .why__grid,
  .newsletter-section__content,
  .newsletter-form,
  .contact-section__content,
  .contact-section__image,
  .map__intro,
  .map__card {
    width: 100%;
  }

  .hero__media {
    flex: none;
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .form__row--three {
    grid-template-columns: 1fr;
  }

  .newsletter-form__row {
    flex-direction: column;
  }

  .map__content {
    margin-bottom: 32px;
  }

  .program-cards {
    flex-direction: column;
    align-items: stretch;
    gap: 32px;
  }

  .program-cards::before {
    display: none;
  }

  .program-card {
    width: 100%;
    margin-bottom: 40px;
  }

  .program-card__name {
    width: 260px;
    padding: 110px 0;
    margin: 0 0 20px;
  }
}

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

  .why-item {
    grid-template-columns: 10% 1fr;
    gap: 12px;
  }

  .why-item__text {
    grid-column: 1 / -1;
    width: 100%;
  }

  .header__right {
    gap: 12px;
  }

  .program-card {
    width: 100%;
  }

  .hero__text {
    position: relative;
    padding: 20px 0;
    color: var(--color-text-primary);
  }

  .newsletter-section__card {
    padding: 28px 24px;
  }

  .newsletter-section__title,
  .mission__title,
  .method-intro__subtitle {
    font-size: 25px;
  }

  .newsletter-section__text {
    font-size: 16px;
  }

  .contact-section__content > div > p:not(.contact-section__email) {
    font-size: 16px;
  }

  .map__card {
    margin-top: 24px;
  }

  .map__text {
    font-size: 16px;
  }

  .map__item {
    grid-template-columns: 22px 1fr;
    gap: 14px;
  }

  .map__icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
  }

  .map__item-link {
    font-size: 16px;
  }

  .block-card__events-meta {
    margin-bottom: 12px;
  }

  .block-card__events-tag {
    padding: 10px 20px;
  }

  .block-card__events .block-card__title {
    font-size: 28px;
  }

  .block-card__events .block-card__text,
  .block-card__events .block-card__button,
  .block-card__events-date {
    font-size: 15px;
  }
}

.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  padding: 16px 24px;
  background: var(--color-bg-primary);
  border-top: 1px solid var(--color-border-soft-blue);
  box-shadow: 0 -4px 24px rgba(30, 30, 28, 0.08);
  animation: cookie-consent-in 0.35s ease-out;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-consent__text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-primary);
}

.cookie-consent__link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-consent__btn {
  flex-shrink: 0;
  white-space: nowrap;
}

@keyframes cookie-consent-in {
  from {
    opacity: 0;
    transform: translateY(100%);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .cookie-consent {
    padding: 16px;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .cookie-consent__btn {
    width: 100%;
  }
}

/* Method page */
.method-hero {
  position: relative;
}

.method-hero__media {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
}

.method-hero__media img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.method-hero__inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding-bottom: 48px;
}

.method-hero__title {
  margin: 0;
  max-width: 560px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 48px;
  line-height: 1.1;
  color: #fbf9f6;
}

.method-intro__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.method-intro__content {
  width: 58%;
  font-size: 16px;
  line-height: 1.6;
}

.method-intro__content p {
  margin: 0 0 20px;
}

.method-intro__subtitle {
  margin: 32px 0 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.1;
}

.method-intro__image {
  width: 34%;
  flex-shrink: 0;
  border-radius: 40px;
  overflow: hidden;
}

.method-intro__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.method-foundation__title {
  margin: 0 0 60px;
  max-width: 480px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
}

.method-foundation__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 48px 80px;
  min-height: 420px;
}

.method-foundation__grid::before {
  content: "";
  position: absolute;
  inset: 0;
  /* Три декоративные линии — точные пути из макета Figma */
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 521 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.63619 22.75C-5.76702 41.8442 -0.926612 76.9042 38.3401 79.1396C87.4235 81.9338 214.594 30.9383 306.068 12.0771C390.329 -5.29699 507.607 -3.98993 520.25 19.0628' stroke='%23D6BA8A' stroke-width='0.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 617 66' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M616.25 9.84213C602.574 32.0595 451.367 78.1733 363.755 62.5643C292.24 49.8229 190.034 -12.8712 94.25 2.72571C38.7447 11.7638 0.25 36.4542 0.25 62.5643' stroke='%23D6BA8A' stroke-width='0.5'/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg viewBox='0 0 544 50' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.219299 0.120117C14.1848 25.6201 36.111 39.519 74.6848 41.1201C122.902 43.1215 238.733 33.5167 328.592 20.0074C411.367 7.56313 499.39 0.120117 543.685 49.1201' stroke='%23D6BA8A' stroke-width='0.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position:
    292px 4px,
    314px 30px,
    320px 261px;
  background-size:
    521px 80px,
    506px 232px,
    492px 37px;
  pointer-events: none;
  opacity: 0.9;
}

.method-foundation__item {
  position: relative;
  z-index: 1;
}

.method-foundation__item--1 {
  grid-column: 2;
  grid-row: 1;
  max-width: 340px;
  justify-self: end;
}

.method-foundation__item--2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 320px;
  align-self: center;
}

.method-foundation__item--3 {
  grid-column: 2;
  grid-row: 2;
  max-width: 340px;
  justify-self: end;
  align-self: end;
}

.method-foundation__item-title {
  position: relative;
  margin: 0 0 12px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
}

/* Мягкое размытое свечение за заголовком — как в макете */
.method-foundation__item-title::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 230px;
  height: 230px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(184, 150, 101, 0.42) 0%,
    rgba(184, 150, 101, 0.16) 42%,
    rgba(184, 150, 101, 0) 70%
  );
  filter: blur(8px);
  z-index: -1;
  pointer-events: none;
}

.method-foundation__item-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  text-align: justify;
  color: rgba(30, 30, 28, 0.62);
}

.method-ami {
  background: var(--color-accent-blue);
}

.method-ami__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.method-ami__content {
  width: 65%;
  font-size: 16px;
  line-height: 1.6;
}

.method-ami__content p {
  margin: 0 0 16px;
}

.method-ami__content p:last-child {
  margin-bottom: 0;
}

.method-ami__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
}

.method-ami__logo {
  flex-shrink: 0;
}

.method-ami__logo a {
  display: block;
}

.method-ami__content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.method-ami__content a:hover {
  opacity: 0.75;
}

.method-day__title {
  margin: 0 0 48px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
}

.method-day__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  max-width: 1070px;
  margin: 0 auto;
}

.method-day__card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--color-accent-gold);
  border-radius: 55px;
  background: var(--color-bg-primary);
}

.method-day__card-image {
  flex-shrink: 0;
  overflow: hidden;
  aspect-ratio: 254 / 153;
  margin-bottom: 0;
}

.method-day__card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.method-day__card-text {
  margin: 0;
  padding: 24px 24px 28px;
  font-size: 14px;
  line-height: 1.5;
  text-align: center;
  flex: 1;
}

.method-adult {
  padding-top: 60px;
  padding-bottom: 60px;
}

.method-adult__inner {
  max-width: 840px;
  margin: 0 auto;
  padding: 72px 0;
  text-align: center;
  border-top: 1px solid var(--color-accent-gold);
  border-bottom: 1px solid var(--color-accent-gold);
}

.method-adult__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
}

.method-adult__inner p {
  max-width: 640px;
  margin: 0 auto 16px;
  font-size: 16px;
  line-height: 1.6;
}

.method-adult__inner p:last-child {
  margin-bottom: 0;
}

.method-traits {
  background: var(--color-accent-blue);
}

.method-traits__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
}

.method-traits__title {
  margin: 0;
  max-width: 360px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
}

.method-traits__lead {
  margin: 0;
  max-width: 400px;
  font-size: 16px;
  line-height: 1.5;
  text-align: right;
}

.method-traits__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
}

.method-traits__list::before {
  content: "";
  position: absolute;
  left: 8%;
  right: 8%;
  top: 50%;
  height: 1px;
  background: rgba(30, 30, 28, 0.2);
  z-index: 0;
}

.method-traits__item {
  position: relative;
  z-index: 1;
  flex: 1;
  max-width: 140px;
  padding: 20px 12px;
  border-radius: 50%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg-primary);
  font-size: 13px;
  line-height: 1.25;
}

.method-why__inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: flex-start;
}

.method-why__content {
  width: 50%;
  font-size: 16px;
  line-height: 1.6;
}

.method-why__content p {
  margin: 0 0 16px;
}

.method-why__title {
  margin: 0 0 24px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.1;
}

.method-why__image {
  width: 46%;
  border-radius: 40px;
  overflow: hidden;
}

.method-why__image img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.method-why__quote {
  margin: 48px 0 0;
  padding: 0;
  border: none;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 30px;
  line-height: 1.4;
  text-align: center;
  color: var(--color-text-primary);
}

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

  .method-traits__list {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }

  .method-traits__list::before {
    display: none;
  }

  .method-traits__item {
    flex: 0 1 calc(33.333% - 16px);
    max-width: none;
    border-radius: 24px;
    aspect-ratio: auto;
    min-height: 88px;
  }
}

@media (max-width: 768px) {
  .method-hero__title {
    font-size: 32px;
  }

  .method-hero__media img {
    height: 360px;
  }

  .method-intro__inner,
  .method-ami__inner,
  .method-why__inner,
  .method-traits__header {
    flex-direction: column;
  }

  .method-intro__content,
  .method-intro__image,
  .method-ami__content,
  .method-ami__logo,
  .method-why__content,
  .method-why__image {
    width: 100%;
  }

  .method-intro__image img {
    min-height: 280px;
  }

  .method-foundation__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 32px;
    min-height: 0;
  }

  .method-foundation__grid::before {
    display: none;
  }

  .method-foundation__item--1,
  .method-foundation__item--2,
  .method-foundation__item--3 {
    grid-column: 1;
    grid-row: auto;
    max-width: none;
    justify-self: stretch;
    align-self: stretch;
  }

  /* justify из макета — только для десктопной раскладки; в узкой колонке
     он даёт растянутые пробелы, поэтому на мобильном выравниваем влево */
  .method-foundation__item-text {
    text-align: left;
  }

  .method-foundation__title,
  .method-day__title,
  .method-ami__title,
  .method-adult__title,
  .method-traits__title,
  .method-why__title {
    font-size: 32px;
  }

  /* На мобильном .method-adult__inner (класс .container) заменяет padding
     контейнера на «72px 0», обнуляя боковые отступы — блок и линии липнут
     к краям. Возвращаем горизонтальный отступ на самой секции. */
  .method-adult {
    padding-left: 24px;
    padding-right: 24px;
  }

  .method-traits__lead {
    text-align: left;
  }

  .method-traits__item {
    flex: 1 1 calc(50% - 8px);
  }

  .method-day__grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  .method-day__card {
    border-radius: 55px;
  }

  .method-day__card-text {
    padding: 20px 24px 24px;
  }

  .method-why__quote {
    font-size: 20px;
    margin-top: 32px;
  }
}

.privacy-page {
  padding-top: 48px;
  padding-bottom: 80px;
}

.privacy-page__container {
  max-width: 860px;
}

.privacy-page__title {
  margin: 0 0 40px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 40px;
  line-height: 1.15;
  color: var(--color-text-primary);
}

.privacy-page__content h2 {
  margin: 40px 0 16px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.3;
  color: var(--color-text-primary);
}

.privacy-page__content h2:first-child {
  margin-top: 0;
}

.privacy-page__content p {
  margin: 0 0 16px;
  font-size: 16px;
  line-height: 1.7;
}

.privacy-page__content ul {
  margin: 0 0 16px;
  padding-left: 24px;
}

.privacy-page__content li {
  margin-bottom: 8px;
  line-height: 1.7;
}

.privacy-page__content a {
  color: var(--color-text-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-page__content a:hover {
  color: var(--color-accent-green);
}

.privacy-page__table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.6;
}

.privacy-page__table th,
.privacy-page__table td {
  padding: 14px 16px;
  border: 1px solid var(--color-border-soft-blue);
  vertical-align: top;
  text-align: left;
}

.privacy-page__table th {
  width: 34%;
  font-weight: 600;
  background: var(--color-accent-blue);
}

.privacy-page__table ul {
  margin: 0;
  padding-left: 18px;
}

.privacy-page__table li:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .privacy-page {
    padding-top: 32px;
    padding-bottom: 60px;
  }

  .privacy-page__title {
    font-size: 32px;
    margin-bottom: 28px;
  }

  .privacy-page__content h2 {
    font-size: 20px;
    margin-top: 28px;
  }

  .privacy-page__table,
  .privacy-page__table tbody,
  .privacy-page__table tr,
  .privacy-page__table th,
  .privacy-page__table td {
    display: block;
    width: 100%;
  }

  .privacy-page__table tr {
    margin-bottom: 12px;
    border: 1px solid var(--color-border-soft-blue);
  }

  .privacy-page__table th,
  .privacy-page__table td {
    border: none;
  }

  .privacy-page__table th {
    padding-bottom: 8px;
  }
}

/* ---------- Кнопка «наверх» (только мобильная версия) ---------- */
.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--color-accent-green);
  color: var(--color-text-primary);
  box-shadow: 0 6px 18px rgba(30, 30, 28, 0.18);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.scroll-top svg {
  display: block;
}

.scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .scroll-top {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-top {
    transition: none;
  }
}
