:root {
  --color-dark: #0f172a;
  --color-light: #ffffff;
  --color-accent: #2563eb;
  --color-bg: #f5f6fb;
  --transition: all 0.3s ease;
  --font-main: 'Inter', sans-serif;
}

/* Общие */
body {
  font-family: var(--font-main);
  margin: 0;
  background: var(--color-bg);
  color: var(--color-dark);
}
a { text-decoration: none; transition: var(--transition); }
.container { max-width: 1310px; padding: 0 15px; margin: 0 auto; }


/* .header { position: fixed; width: 100%; top: 0; left: 0; z-index: 1000; background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(8px); } 
.header__inner { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; } 
.logo { display: flex; align-items: center; gap: 10px; } 
.logo span { font-size: 20px; font-weight: 700; background: linear-gradient(90deg, #fff, #60a5fa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; } 
.logo:hover span { background: none; -webkit-background-clip: initial; -webkit-text-fill-color: initial; } 
.nav__list { display: flex; gap: 28px; } .nav__list li a { color: #fff; font-weight: 500; transition: 0.3s; } 
.nav__list li a:hover { color: var(--color-accent); } */


/* ====== HEADER ====== */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
}

/* ====== ЛОГО ====== */
.logo span {
  font-size: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #fff, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ====== ДЕСКТОПНОЕ МЕНЮ ====== */
.nav--desktop {
  display: block;
}

.nav--desktop .nav__list {
  display: flex;
  gap: 28px;
}

.nav--desktop .nav__list li a {
  color: #fff;
  font-weight: 500;
  transition: 0.3s;
}

.nav--desktop .nav__list li a:hover {
  color: #60a5fa;
}

/* ====== БУРГЕР ====== */
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1101;
}

.burger span {
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 2px;
}

/* ====== МОБИЛЬНОЕ МЕНЮ ====== */
.mobile-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50vh; /* половина экрана */
  background: #0f172a;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateY(-100%);
  transition: transform 0.35s ease;
  z-index: 3001; /* меню НАД overlay */
}

.mobile-nav.active {
  transform: translateY(0);
}

.mobile-nav__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: center;
}

.mobile-nav__list li a {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  transition: 0.3s;
}

.mobile-nav__list li a:hover {
  color: #60a5fa;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 2002; /* выше меню */
}

/* ====== ФОН (blur overlay) ====== */
/* .overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.3);
  backdrop-filter: blur(6px);        
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
} */

/* ====== РЕСПОНСИВ ====== */
@media (max-width: 768px) {
  .nav--desktop {
    display: none;
  }
  .burger {
    display: flex;
  }
}

@media (min-width: 769px) {
  .mobile-nav,
  .burger,
  .overlay {
    display: none !important;
  }
}




/* ====== INSTAGRAM ICON DESKTOP ====== */
.nav__social a {
  display: flex;
  align-items: center;
}

.insta-icon {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  transition: 0.25s;
}

.nav__social a:hover .insta-icon {
  fill: #60a5fa;
}

/* ====== MOBILE INSTAGRAM ICON ====== */
.mobile-nav__social a {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.mobile-insta-icon {
  width: 26px;
  height: 26px;
  fill: #60a5fa;
  transition: 0.25s;
}

.mobile-insta-icon:hover {
  fill: #ffffff;
}










.hero--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100vh;
  background: #0f172a;
  color: #fff;
}

.hero__image {
  background: url("../img/img/hero-main.jpg") center/cover no-repeat;
  position: relative;
}

.hero__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}

.hero__content {
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* опускаем вниз */
  align-items: flex-start;
  padding: 80px 60px;
  text-align: left;
}

.hero__logo {
  max-width: 160px; /* увеличенный логотип */
  margin-bottom: 25px;
  filter: drop-shadow(0 0 30px rgba(96,165,250,0.9));
  animation: float 4s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(32px, 4.5vw, 60px); /* чуть уменьшили */
  font-weight: 900;
  margin-bottom: 20px;
  text-transform: uppercase;
  line-height: 1.2;         /* компактнее */
  word-break: break-word;   /* если совсем не влезает — перенос */
  text-align: left;
}

.hero__title span {
  display: inline-block; /* каждая часть может быть на своей строке */
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__hours {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 600;
  margin-bottom: 30px;
  text-shadow: 0 0 15px rgba(96,165,250,0.8);
}

/* Кнопка как в блоке Packages */
.hero__btn {
  background: linear-gradient(90deg,#2563eb,#1e40af);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.3s;
}

.hero__btn:hover {
  background: linear-gradient(90deg,#1e40af,#2563eb);
}

/* Анимация плавания */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Адаптив */
@media (max-width: 900px) {
  .hero--split {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }
  .hero__image {
    height: 50vh;
  }
  .hero__content {
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }
  .hero__title {
    text-align: center;          /* центрируем */
    font-size: clamp(28px, 6vw, 46px);
    line-height: 1.3;
  }
}







/* PACKAGES */
/* .packages {
  background: #000;
  padding: 100px 20px;
  text-align: center;
}

.packages__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.packages__note {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.package {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.package__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
}

.package__title span {
  font-weight: 400;
  color: #60a5fa;
  font-size: 14px;
}

.package__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package__list li {
  color: #ddd;
  font-size: 15px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}

.package__list li::before {
  content: "✔";
  color: #22c55e;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.packages__cta {
  margin-top: 40px;
}

.btn--primary {
  background: linear-gradient(90deg,#2563eb,#1e40af);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.btn--primary:hover {
  background: linear-gradient(90deg,#1e40af,#2563eb);
} */

/* === Packages base === */
.packages {
  background: #000;
  padding: 100px 20px;
  text-align: center;
}

.packages__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  margin-bottom: 10px;
  text-shadow: 0 0 20px rgba(255,255,255,0.4);
}

.packages__note {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 50px;
  letter-spacing: 1px;
}

.packages__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.package {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 30px;
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.6);
}

.package__title {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.package__title span {
  font-weight: 400;
  color: #60a5fa;
  font-size: 14px;
}

.package__time {
  font-size: 14px;
  color: #bbb;
  margin-bottom: 18px;
}

/* === Main list === */
.package__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.package__list li {
  color: #ddd;
  font-size: 15px;
  margin-bottom: 10px;
  position: relative;
  padding-left: 24px;
}

.package__list li::before {
  content: "✔";
  color: #22c55e;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* === Sublist (подпункты) === */
.package__sublist {
  list-style: none;
  margin: 6px 0 10px 32px;
  padding: 0;
}

.package__sublist li {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 6px;
  position: relative;
  padding-left: 22px;
}

.package__sublist li::before {
  content: "✔";
  color: #22c55e;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 12px;
}

/* === Button === */
.packages__cta {
  margin-top: 40px;
}

.btn--primary {
  background: linear-gradient(90deg,#2563eb,#1e40af);
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: 0.3s;
}

.btn--primary:hover {
  background: linear-gradient(90deg,#1e40af,#2563eb);
}

.package__note {
  color: #999;
  font-size: clamp(12px, 1.4vw, 13px);
  font-weight: 400;
  display: inline-block;
  line-height: 1.4;
}



/* .services {
  background: #000;
  padding: 100px 20px;
  text-align: center;
}

.services__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.service-card {
  perspective: 1000px;
  position: relative;
  height: 220px;
}

.service-card__front,
.service-card__back {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 16px;
  padding: 40px 20px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  height: 100%;      
  width: 100%;       
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  transition: transform 0.8s;
  position: absolute; 
  top: 0;
  left: 0;
}

.service-card__front {
  background: linear-gradient(135deg, #111, #222);
  z-index: 2; 
}

.service-card__back {
  transform: rotateY(180deg);
  text-align: left;
  z-index: 1;
}

.service-card__back ul {
  list-style: none;
  padding: 0;
}

.service-card__back li {
  font-size: 14px;
  margin-bottom: 8px;
}


.service-card:hover .service-card__front {
  transform: rotateY(180deg);
  z-index: 1;
}

.service-card:hover .service-card__back {
  transform: rotateY(360deg);
  z-index: 2;
}


.hint {
  margin-top: 12px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  text-transform: uppercase;
}


@keyframes pulseHint {
  0%, 100% { opacity: 0.6; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-2px); }
} */

/* ===== Services (static cards, no hover/flip) ===== */
.services {
  background: #000;
  padding: 100px 20px;
  text-align: center;
}

.services__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 60px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

/* Card */
.service-card {
  background: linear-gradient(135deg, #0f1117, #1b1f2a);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  padding: 22px 20px;
  color: #fff;
  text-align: left;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 10px 30px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,.45);
  border-color: rgba(96,165,250,.35);
}

/* Title */
.service-card__title {
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  margin: 6px 0 14px;
  line-height: 1.25;
  letter-spacing: .2px;
}

/* Clean list — no icons, no bullets */
.service-card__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.service-card__list li {
  font-size: 15px;
  line-height: 1.35;
  color: rgba(255,255,255,.9);
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08); /* аккуратный разделитель */
}
.service-card__list li:first-child {
  border-top: 0;
  padding-top: 0;
}

/* Убираем старые стили flip/hint, если подключены где-то ещё */
.service-card__front,
.service-card__back,
.hint { display: none !important; }

/* Mobile tweaks */
@media (max-width: 480px) {
  .services { padding: 60px 16px; }
  .services__title { margin-bottom: 36px; }
  .service-card { padding: 18px 16px; }
  .service-card__title { margin-bottom: 10px; }
}






.gallery {
  background: #000;
  padding: 100px 20px;
  text-align: center;
}

.gallery__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  color: #fff;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.gallery__item {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
  opacity: 0;
  transition: opacity 0.4s ease;
  text-transform: uppercase;
}

.gallery__item:hover img {
  transform: scale(1.1);
}

.gallery__item:hover .gallery__overlay {
  opacity: 1;
}


.contact {
  background: #000;
  padding: 100px 20px;
  color: #fff;
  text-align: center;
}

.contact__title {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
  margin-bottom: 50px;
  text-transform: uppercase;
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 40px;
}

.contact__info {
  text-align: left;
  font-size: 18px;
  line-height: 1.8;
}

.contact__info strong {
  color: #60a5fa;
}

.contact__info a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.contact__info a:hover {
  color: #60a5fa;
}

/* Карта и подпись */
.contact__map {
  text-align: center;
}

.contact__map img {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  margin-bottom: 20px; /* отступ для Areas We Serve */
}

/* Areas We Serve */
.contact__areas {
  margin-top: 0; /* убрали лишний верхний отступ */
}

.contact__areas h3 {
  font-size: 22px;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-block;
  position: relative;
  padding-bottom: 6px;
}

.contact__areas h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  border-radius: 2px;
}


/* === CONTACT PAGE INSTAGRAM === */

.contact__instagram {
  display: flex;
  align-items: center;
  gap: 6px;
}

.contact__instagram strong {
  color: #60a5fa;      /* как Email/Phone */
  font-weight: 600;
  margin-right: 4px;
}

.contact-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff;
}

.contact-instagram-link:hover {
  color: #60a5fa;
}

.contact-insta-icon {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  position: relative;
  top: 1px;
  transition: .25s;
}

.contact-instagram-link:hover .contact-insta-icon {
  fill: #60a5fa;
}


/* адаптив */
@media (max-width: 768px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
  .contact__info {
    text-align: center;
  }
}



.footer {
  background: #0f172a; /* фон как в хедере */
  padding: 60px 20px 20px;
  color: #fff;
  font-size: 15px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 30px;
  text-align: left; /* всё строго по левому краю */
}

/* Лого + название */
.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__logo {
  max-width: 80px;
}

.footer__name {
  font-size: 22px;
  font-weight: 800;
  background: linear-gradient(90deg, #2563eb, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Меню */
.footer__nav h4,
.footer__contacts h4 {
  font-size: 16px;
  margin-bottom: 12px;
  text-transform: uppercase;
  color: #60a5fa;
}

.footer__nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__nav li {
  margin-bottom: 8px;
}

.footer__nav a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

.footer__nav a:hover {
  color: #60a5fa;
}

/* Контакты */
.footer__contacts p {
  margin: 6px 0;
  font-size: 15px;
}

.footer__contacts strong {
  color: #60a5fa;
}

.footer__contacts a {
  color: #fff;
  text-decoration: none;
}

.footer__contacts a:hover {
  color: #60a5fa;
}

/* Нижняя полоса */
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  padding-top: 15px;
  font-size: 13px;
  color: rgba(255,255,255,0.6);
}

/* адаптив */
@media (max-width: 768px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}




/* Instagram — ровное выравнивание */
.footer__instagram {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* 👇 ЭТО ИСПРАВЛЕНО — теперь как Email/Phone */
.footer__instagram strong {
  display: inline-block;
  margin-right: 4px;
  color: #60a5fa; /* СИНИЙ, как у "Email:" и "Phone:" */
  font-weight: 600;
}

/* Ссылка Instagram */
.footer-instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-weight: 400;
}

/* SVG иконка */
.footer-insta-icon {
  width: 18px;
  height: 18px;
  fill: #ffffff;
  position: relative;
  top: 1px;
  transition: 0.25s;
}

/* Hover — как у остальных ссылок */
.footer-instagram-link:hover {
  color: #60a5fa;
}

.footer-instagram-link:hover .footer-insta-icon {
  fill: #60a5fa;
}





/* Базовое всплытие снизу вверх */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .8s ease-out, transform .8s ease-out;
  will-change: opacity, transform;
}
[data-animate].active {
  opacity: 1;
  transform: translateY(0);
}

/* Для интерактивных элементов (карточки/пакеты) — только fade, без сдвига.
   Так не конфликтуем с их собственным transform: hover. */
[data-animate].no-shift {
  transform: none;
}
[data-animate].no-shift.active {
  transform: none;
}



/* ====== MODAL (общее) ====== */
.modal {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.9);
  width: 90%;
  max-width: 420px;
  background: #fff;
  padding: 24px 20px;
  border-radius: 14px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  z-index: 3001;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.modal.active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: auto;
}

.modal__content {
  position: relative;
}

/* ====== ШАПКА (заголовок + крестик) ====== */
.modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.modal__header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #121722;
  margin: 0;
  flex: 1;
  text-align: center;
}

/* ====== КРЕСТИК ====== */
.modal__close {
  flex-shrink: 0;
  margin-left: auto;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
  background: none;
  border: none;
  color: #333;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
}

.modal__close:hover {
  background: rgba(37,99,235,0.1);
  color: #2563eb;
}

/* ====== ФОРМА ====== */
.modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__form input,
.modal__form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  transition: border 0.2s, box-shadow 0.2s;
}

.modal__form input:focus,
.modal__form textarea:focus {
  border-color: #2563eb;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.15);
}

.modal__form textarea {
  min-height: 90px;
  resize: vertical;
}

.modal__form button {
  padding: 14px;
  border: none;
  border-radius: 8px;
  background: #2563eb;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s;
}

.modal__form button:hover {
  background: #1d4ed8;
}

/* ====== ФОН (overlay) ====== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 3000;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ====== АДАПТИВ ====== */
@media (max-width: 480px) {
  .modal {
    width: 95%;
    max-width: 360px;
    padding: 20px 16px;
  }

  .modal__header h2 {
    font-size: 20px;
  }

  .modal__form input,
  .modal__form textarea {
    font-size: 15px;
    padding: 10px 12px;
  }

  .modal__form button {
    font-size: 15px;
    padding: 12px;
  }

  .modal__close {
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
}



