/* ===========================
   ANTARES SWIM KIDS — LANDING 1
   style1.css
   =========================== */

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

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Nunito', sans-serif;
  background: #ffffff;
  color: #1B2733;
}

a { color: #0069B2; text-decoration: none; }
a:hover { color: #12B8EC; }

input, button, textarea {
  font-family: 'Nunito', sans-serif;
}

input::placeholder { color: #8AA0AE; }

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ===========================
   HEADER
   =========================== */

.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 84px;
  background: #ffffff;
  box-shadow: 0 2px 16px rgba(0,40,80,0.08);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 60px;
  gap: 16px;
}

.header__logo {
  height: 60px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 25px;
  flex: 1;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.header__nav a {
  color: #0069B2;
  font-weight: 700;
  font-size: 15px;
  transition: color 0.2s;
}

.header__nav a:hover { color: #EB6020; }

.header__right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.header__contacts {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
}

.header__phone {
  font-weight: 800;
  font-size: 16px;
  color: #0069B2;
  white-space: nowrap;
}

.header__email {
  font-size: 13px;
  color: #8AA0AE;
  white-space: nowrap;
}

.header-spacer { height: 84px; }

/* ===========================
   BUTTONS
   =========================== */

.btn {
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-family: 'Nunito', sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: opacity 0.2s, transform 0.1s;
}

.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }

.btn--primary {
  background: #EB6020;
  color: #ffffff;
  padding: 14px 24px;
  font-size: 14px;
  white-space: nowrap;
}

.btn--primary-lg {
  background: #EB6020;
  color: #ffffff;
  padding: 18px 40px;
  font-size: 16px;
}

.btn--primary-full {
  background: #EB6020;
  color: #ffffff;
  padding: 16px;
  font-size: 15px;
  width: 100%;
}

.btn--hero {
  background: #EB6020;
  color: #ffffff;
  padding: 16px;
  font-size: 15px;
}

/* ===========================
   HERO
   =========================== */

.hero {
  width: 100%;
  padding: 48px 60px 96px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero__image {
  border-radius: 24px;
  overflow: hidden;
  min-height: 520px;
  position: relative;
}

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

.hero__form-block {
  background: #12B8EC;
  border-radius: 24px;
  padding: 48px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero__decor-circle-1 {
  position: absolute;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  top: -80px; right: -80px;
}

.hero__decor-circle-2 {
  position: absolute;
  width: 140px; height: 140px;
  border-radius: 50%;
  background: rgba(252,191,0,0.15);
  bottom: -50px; left: -50px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 50px;
  padding: 8px 18px 8px 8px;
  width: fit-content;
  position: relative;
  z-index: 1;
}

.hero__badge img {
  width: 32px; height: 32px;
  display: block;
}

.hero__badge span {
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #0069B2;
}

.hero__title {
  margin: 0;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 900;
  text-transform: uppercase;
  color: #f7d467;
  position: relative;
  z-index: 1;
}

.hero__subtitle {
  margin: 0;
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.hero__success {
  background: rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px;
  font-weight: 700;
  font-size: 16px;
  position: relative;
  z-index: 1;
  animation: fadeIn 0.3s ease;
  display: none;
}

.hero__form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.hero__form-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.hero__form input[type="text"],
.hero__form input[type="tel"] {
  flex: 1;
  min-width: 140px;
  border: none;
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 15px;
  outline: none;
}

/* ===========================
   CHECKBOX
   =========================== */

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: #ffffff;
  cursor: pointer;
  position: relative;
  z-index: 1;
  text-align: left;
  font-weight: 700;
}

.checkbox-wrap {
  position: relative;
  width: 18px; height: 18px;
  flex-shrink: 0;
  margin-top: 1px;
  display: inline-block;
}

.checkbox-wrap input[type="checkbox"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
  width: 18px; height: 18px;
}

.checkbox-custom {
  position: absolute;
  inset: 0;
  border-radius: 4px;
  border: 2px solid #0088CE;
  background: #ffffff;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.checkbox-wrap input[type="checkbox"]:checked + .checkbox-custom {
  background: #EB6020;
}

.checkbox-wrap input[type="checkbox"]:checked + .checkbox-custom::after {
  content: '';
  display: block;
  width: 10px; height: 6px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg) translateY(-2px);
}

.checkbox-label--dark {
  color: #555;
  font-weight: 400;
}

/* ===========================
   SECTION ОБЩЕЕ
   =========================== */

.section {
  scroll-margin-top: 84px;
}

.section__title {
  text-align: center;
  text-transform: uppercase;
  font-weight: 900;
}

.section__title--orange { color: #EB6020; font-size: 30px; }
.section__title--white  { color: #ffffff;  font-size: 32px; }
.section__title--blue   { color: #0069B2;  font-size: 30px; }

.container {
  max-width: 1400px;
  margin: 0 auto;
}

/* ===========================
   О ПРОЕКТЕ
   =========================== */

.about {
  background: #ffffff;
  padding: 20px 48px 80px;
}

.about__intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__intro p {
  margin: 0;
  font-size: 22px;
  color: #1B2733;
  line-height: 1.5;
}

.cards-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.cards-grid-3:first-of-type { margin-top: 48px; }

.card-icon {
  background: #F0F9FF;
  border-radius: 24px;
  padding: 32px;
  text-align: center;
}

.card-icon__circle {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #0069B2;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.card-icon__title {
  margin-top: 18px;
  font-size: 17px;
  font-weight: 900;
  color: #1B2733;
}

.card-icon__value {
  margin-top: 8px;
  font-size: 26px;
  font-weight: 900;
  color: #EB6020;
}

/* ===========================
   ПРЕИМУЩЕСТВА
   =========================== */

.advantages {
  position: relative;
  padding: 100px 48px;
  background-image: url('uploads/bg2.jpg');
  background-size: cover;
  background-position: center;
}

.advantages__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,105,178,0.85);
}

.advantages__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
}

.advantages__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.advantage-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 36px;
}

.advantage-card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: #F0F9FF;
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-card h3 {
  margin: 20px 0 8px;
  font-size: 19px;
  font-weight: 900;
  color: #1B2733;
}

.advantage-card p {
  margin: 0;
  font-size: 15px;
  color: #5A6B78;
  line-height: 1.6;
}

.advantages__cta {
  text-align: center;
  margin-top: 48px;
}

/* ===========================
   ЧТО ВХОДИТ В ПРОДАЖУ
   =========================== */

.included {
  background: #ffffff;
  padding: 80px 60px;
}

.included__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
}

.included__left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.asset-card {
  background: #F0F9FF;
  border-radius: 20px;
  padding: 28px;
}

.asset-card__icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.asset-card__icon--orange { background: #EB6020; }
.asset-card__icon--blue   { background: #0069B2; }

.asset-card h3 {
  font-size: 18px;
  font-weight: 900;
  text-transform: uppercase;
  color: #1B2733;
  margin: 18px 0 10px;
}

.asset-card p {
  margin: 0 0 18px;
  color: #5A6B78;
  font-size: 15px;
  line-height: 1.7;
}

.asset-card a {
  font-weight: 800;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.why-card {
  background: linear-gradient(160deg, #0069B2 0%, #0088CE 100%);
  border-radius: 20px;
  padding: 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.why-card__decor {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}

.why-card__icon {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h3 {
  position: relative;
  z-index: 1;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  color: #ffffff;
  margin: 22px 0 0;
}

.why-card__divider {
  position: relative;
  z-index: 1;
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 20px 0;
}

.why-card p {
  position: relative;
  z-index: 1;
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: #ffffff;
}

.why-card__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 32px;
}

.why-card__list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
}

.why-card__check {
  flex-shrink: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 900;
}

/* ===========================
   3D ТУР
   =========================== */

.tour {
  position: relative;
  padding: 96px 48px;
  overflow: hidden;
}

.tour__bg {
  position: absolute;
  inset: 0;
  background-image: url('uploads/bg3.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.tour__overlay {
  position: absolute;
  inset: 0;
  background: rgba(235,247,253,0.92);
}

.tour__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  text-align: center;
}

.tour__subtitle {
  margin: 14px 0 0;
  color: #0069B2;
  font-size: 17px;
}

.tour__iframe-wrap {
  margin-top: 48px;
  border-radius: 24px;
  overflow: hidden;
  height: 500px;
}

.tour__iframe-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* ===========================
   ФОТОГАЛЕРЕЯ
   =========================== */

.gallery {
  background: #ffffff;
  padding: 96px 48px;
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery__item {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: pointer;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.gallery__item:hover img { transform: scale(1.04); }

/* ===========================
   CTA
   =========================== */

.cta {
  position: relative;
  padding: 80px 60px;
  overflow: hidden;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background-image: url('uploads/bg1.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(235,247,253,0.92);
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 65% 35%;
  gap: 48px;
  align-items: center;
}

.cta__title {
  margin: 0;
  color: #0069B2;
  font-weight: 800;
  font-size: 36px;
}

.cta__text {
  margin: 14px 0 0;
  color: #333333;
  font-size: 17px;
  line-height: 1.6;
  max-width: 640px;
}

.cta__points {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.cta__point {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta__point-check {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: #EB6020;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__point span {
  font-size: 15px;
  color: #333333;
  font-weight: 600;
  white-space: nowrap;
}

.cta__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.cta__action p {
  margin: 16px 0 0;
  text-align: center;
  color: #666;
  font-size: 15px;
}

/* ===========================
   FOOTER
   =========================== */

.footer {
  background: #0069B2;
  color: #ffffff;
  padding: 64px 48px 32px;
  position: relative;
  overflow: hidden;
}

.footer__waves {
  position: absolute;
  right: -20px;
  bottom: -10px;
  opacity: 0.25;
}

.footer__grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  position: relative;
  z-index: 1;
}

.footer__logo { display: block; }

.footer__copy {
  margin-top: 18px;
  font-size: 15px;
  color: rgba(255,255,255,0.9);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.footer__links a {
  color: rgba(255,255,255,0.7);
  font-size: 13px;
}

.footer__links a:hover { color: #ffffff; }

.footer__social {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.footer__social-icons {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__social-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer__social-icon--white { background: #ffffff; color: #0069B2; }
.footer__social-icon--blue  { background: #0069B2; }

.footer__social-label {
  font-size: 13px;
  color: #ffffff;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 15px;
  color: #ffffff;
  text-align: right;
}

.footer__contacts-title {
  font-weight: 800;
  font-size: 16px;
}

.footer__contacts a { color: #ffffff; }
.footer__contacts a:hover { color: #FCBF00; }

.footer__inn {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  margin-top: 8px;
}

/* ===========================
   MODAL
   =========================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal-overlay.is-open { display: flex; }

.modal {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px;
  max-width: 480px;
  width: 100%;
  position: relative;
}

.modal__close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #7A8894;
  line-height: 1;
}

.modal__title {
  margin: 0 0 24px;
  font-size: 22px;
  font-weight: 900;
  color: #1B2733;
}

.modal__success {
  font-size: 16px;
  font-weight: 700;
  color: #0069B2;
  padding: 12px 0 4px;
  display: none;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.modal__form input {
  border: 1px solid #E1E9EE;
  border-radius: 50px;
  padding: 14px 20px;
  font-size: 15px;
  outline: none;
  width: 100%;
}

/* ===========================
   LIGHTBOX
   =========================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,10,20,0.92);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.is-open { display: flex; }

.lightbox__close {
  position: absolute;
  top: 24px; right: 32px;
  background: none;
  border: none;
  font-size: 32px;
  cursor: pointer;
  color: #ffffff;
  line-height: 1;
}

.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  border-radius: 50%;
  width: 52px; height: 52px;
  font-size: 22px;
  cursor: pointer;
  color: #ffffff;
}

.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

.lightbox__img {
  max-width: 88vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 12px;
}

/* ===========================
   ADAPTIVE — 1200px
   =========================== */

@media (max-width: 1200px) {
  .header__nav { display: none; }

  .hero__title { font-size: 38px; }
  .hero__subtitle { font-size: 20px; }

  .cards-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .advantages__cards { grid-template-columns: repeat(2, 1fr); }

  .cta__inner { grid-template-columns: 1fr; gap: 32px; }
  .cta__points { gap: 16px; }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__social { grid-column: span 2; flex-direction: row; justify-content: center; }
}

/* ===========================
   ADAPTIVE — 768px
   =========================== */

@media (max-width: 768px) {
  .header { padding: 0 16px; height: 70px; }
  .header-spacer { height: 70px; }
  .header__contacts { display: none; }
  .header__logo { height: 44px; }
  .btn--primary { padding: 10px 16px; font-size: 12px; }

  .hero {
    grid-template-columns: 1fr;
    padding: 24px 16px 48px;
    gap: 16px;
  }

  .hero__image { min-height: 280px; order: 1; }
  .hero__form-block { order: 2; padding: 28px 20px; }
  .hero__title { font-size: 28px; }
  .hero__subtitle { font-size: 17px; }

  .about { padding: 32px 16px 48px; }
  .about__intro p { font-size: 16px; }
  .cards-grid-3 { grid-template-columns: 1fr; }

  .advantages { padding: 60px 16px; }
  .advantages__cards { grid-template-columns: 1fr; }

  .included { padding: 48px 16px; }
  .included__grid { grid-template-columns: 1fr; }

  .tour { padding: 48px 16px; }
  .tour__iframe-wrap { height: 280px; }

  .gallery { padding: 48px 16px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }

  .cta { padding: 48px 16px; }
  .cta__inner { grid-template-columns: 1fr; }
  .cta__points { flex-direction: column; align-items: flex-start; }
  .cta__point span { white-space: normal; }
  .cta__action { width: 100%; }
  .btn--primary-full { font-size: 14px; }

  .footer { padding: 48px 16px 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .footer__social { grid-column: auto; }
  .footer__contacts { text-align: left; }

  .section__title--orange,
  .section__title--white,
  .section__title--blue { font-size: 22px; }
}

/* ===========================
   ADAPTIVE — 480px
   =========================== */

@media (max-width: 480px) {
  .hero__title { font-size: 22px; }
  .hero__form-block { padding: 20px 16px; }
  .hero__form-row { flex-direction: column; }

  .gallery__grid { grid-template-columns: 1fr; }

  .modal { padding: 24px 16px; }

  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
}
.checkbox-label a {color: inherit;}
.grecaptcha-badge {display: none;}

.cookie_window {
    background-color: #fff;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px 0;
    border-top: 4px solid #0069B2;
	z-index: 1000;
}
.cookie_window .container {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-right: 250px !important;
    padding-left: 15px;
}
.a_more {
    display: flex;
    align-items: center;
    gap: 20px;
}
.a_more a {
    color: #EB6020;
    font-size: 14px;
    line-height: 1;
}
button.hide_cookie {
    font-size: 14px;
    width: 80px;
    background-color: #EB6020;
    height: 37px;
    border: none;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
}
@media (max-width: 1300px){
	.cookie_window .wrap {
		height: auto;
		padding: 0px 10px;
  		max-height: none;
	}
}
@media (max-width: 767px){
	.cookie_window .container {
		flex-direction: column;
  		align-content: flex-start;
  		justify-content: flex-start;
		padding-right: 10px !important;
	}
	.cookie_window .container .a_more {width: 100%; justify-content: flex-end;}
}
.cookie_window p {margin: 0;}
.cookie_window p a {color: #0069B2;}
.field.has-error input,
.field.has-error select {
    border-color: #ff1111 !important;
}

.field-error {
    color: #ff1111;
    font-size: 12px;
    margin-top: 5px;
}

.checkbox.has-error label {
    color: #ff1111;
}