/* ===== FONTS ===== */
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-SemiBold.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Manrope';
  src: url('../assets/fonts/Manrope-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Prata';
  src: url('../assets/fonts/Prata-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Manrope', sans-serif;
  font-weight: 400;
  color: #1a2744;
  line-height: 1.6;
  overflow-x: hidden;
  background: #0d1b3e;
}
img { max-width: 100%; height: auto; display: block; }
*, *::before, *::after { max-width: 100vw; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  font-family: 'Prata', serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2.5rem;
  color: #1a2744;
}
.section-title--light { color: #fff; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all .3s ease;
  min-height: 44px;
  line-height: 1.3;
}
.btn--primary {
  background: linear-gradient(135deg, #f5a623, #e8852a);
  color: #fff;
  box-shadow: 0 4px 15px rgba(245,166,35,.4);
  position: relative;
  overflow: hidden;
}
.btn--primary::after {
  content: '';
  position: absolute;
  top: -50%; left: -60%;
  width: 40%; height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.3), transparent);
  transform: skewX(-20deg);
  animation: btnShine 3s infinite;
}
@keyframes btnShine {
  0% { left: -60%; }
  100% { left: 120%; }
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,.5); }
.btn--outline {
  background: transparent;
  border: 2px solid #1a2744;
  color: #1a2744;
}
.btn--outline:hover { background: #1a2744; color: #fff; }
.btn--outline-light {
  background: transparent;
  border: 2px solid rgba(255,255,255,.6);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255,255,255,.15); }
.btn--full { width: 100%; }

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(13, 27, 62, .9);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header__logos {
  display: flex;
  align-items: center;
  gap: 16px;
}
.header__logo { height: 32px; width: auto; }
.header__logo--pac { height: 28px; }
.header__logo--msc { height: 36px; }
.header__nav { display: flex; gap: 24px; }
.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: 18px;
}
.header__phone {
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  white-space: nowrap;
}
.header__callback {
  min-height: 40px;
  padding: 10px 16px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 8px;
  color: #fff;
  font-size: .84rem;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
  background: rgba(255,255,255,.08);
  transition: all .3s ease;
}
.header__callback:hover {
  border-color: transparent;
  background: linear-gradient(135deg, #f5a623, #e8852a);
  color: #fff;
}
.header__nav-close,
.header__nav-backdrop { display: none; }
.header__nav-close {
  width: 44px;
  height: 44px;
  margin-left: auto;
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
}
.header__nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 15, 36, .48);
  opacity: 0;
  visibility: hidden;
  transition: all .3s ease;
  z-index: 140;
}
.header__nav-backdrop.active { opacity: 1; visibility: visible; }
.header__link {
  color: #fff;
  font-size: .9rem;
  font-weight: 500;
  transition: color .3s;
}
.header__link:hover { color: #f5a623; }
.header__link--phone,
.header__callback--menu { display: none; }
.header__burger { display: none; flex-direction: column; gap: 5px; }
.header__burger span { display: block; width: 24px; height: 2px; background: #fff; transition: .3s; }

/* ===== HERO + GALLERY SHELL ===== */
.hero-gallery-shell {
  position: relative;
  background:
    linear-gradient(180deg, rgba(8, 20, 48, .18) 0%, rgba(8, 20, 48, .48) 35%, rgba(8, 20, 48, .74) 100%),
    url('../assets/hero/hero.webp') center top / cover no-repeat;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .header__nav { gap: 12px; }
  .header__link { font-size: .82rem; }
  .header__actions { gap: 8px; margin-left: 10px; }
  .header__phone { font-size: .84rem; }
  .header__callback { padding: 9px 12px; font-size: .76rem; max-width: 140px; white-space: normal; }
}

/* ===== HERO ===== */
.hero {
  min-height: auto;
  background: transparent;
  display: flex;
  align-items: flex-start;
  padding: 100px 0 46px;
  position: relative;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13,27,62,.2) 0%, rgba(13,27,62,.42) 42%, rgba(13,27,62,.12) 100%);
}
.hero__content { position: relative; z-index: 2; max-width: 700px; }
.hero__title {
  font-family: 'Prata', serif;
  font-size: 3.5rem;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.15;
}
.hero__points {
  list-style: none;
  color: #fff;
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.hero__points li {
  padding: 6px 0 6px 28px;
  position: relative;
}
.hero__points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #f5a623;
  font-weight: 700;
}
.hero__highlight {
  display: inline-block;
  color: #ffd44f;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: .01em;
  margin-bottom: 1.65rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .28);
}
.hero__cta { font-size: 1.1rem; padding: 16px 40px; }

/* ===== GALLERY ===== */
.gallery {
  background: transparent;
  padding: 8px 0 76px;
}
.gallery .section-title { color: #fff; }
.gallery__slider { position: relative; overflow: hidden; }
.gallery__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 10px 0 20px;
  scrollbar-width: none;
}
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__card {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
.gallery__card img { width: 100%; height: 380px; object-fit: cover; }
.gallery__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-weight: 600;
  font-size: .95rem;
}
.gallery__arrow {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  z-index: 5;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  color: #fff;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background .3s;
}
.gallery__arrow:hover { background: rgba(255,255,255,.4); }
.gallery__arrow--left { left: 8px; }
.gallery__arrow--right { right: 8px; }

/* ===== CRUISE CARDS ===== */
.cruise-cards {
  background: #f0f4fa;
  padding: 80px 0;
}
.cruise-cards__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 2rem;
}
.cruise-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.cruise-card__img img { width: 100%; height: 260px; object-fit: cover; }
.cruise-card__title {
  font-family: 'Prata', serif;
  font-size: 1.4rem;
  padding: 20px 20px 8px;
  color: #1a2744;
}
.cruise-card__price {
  padding: 0 20px 16px;
  font-weight: 600;
  color: #e8852a;
  font-size: 1.1rem;
}
.cruise-card__buttons {
  padding: 0 20px 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cruise-card__buttons .btn { flex: 1; min-width: 160px; font-size: .9rem; padding: 12px 16px; }
.cruise-cards__quote {
  text-align: center;
  font-size: 1.1rem;
  color: #1a2744;
  max-width: 700px;
  margin: 0 auto;
  font-style: italic;
}

/* ===== INCLUDED ===== */
.included {
  background: linear-gradient(180deg, #7fc8f4 0%, #59addf 52%, #3d8bc7 100%);
  padding: 80px 0;
}
.included .section-title {
  color: #fff;
  text-shadow: 0 10px 28px rgba(12, 43, 93, .18);
}
.included__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.included__item {
  text-align: center;
  padding: 30px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(6px);
}
.included__icon {
  color: #fff;
  margin-bottom: 16px;
}
.included__icon svg { display: inline-block; }
.included__icon img {
  display: inline-block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}
.included__name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: #fff;
}
.included__desc { color: rgba(255,255,255,.92); font-size: .95rem; }

/* ===== ADVANTAGES ===== */
.advantages {
  background: url('../assets/backgrounds/advantages_bg.webp') center/cover no-repeat;
  padding: 80px 0;
}
.advantages__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.advantages__col {
  color: #fff;
  padding: 24px;
  border-radius: 12px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(4px);
}
.advantages__icon { margin-bottom: 12px; }
.advantages__icon svg { display: inline-block; width: 44px; height: 44px; }
.advantages__name {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: #f5a623;
}
.advantages__text {
  font-size: .9rem;
  line-height: 1.5;
  margin-bottom: 6px;
}

/* ===== DAY IN CRUISE ===== */
.day-in-cruise {
  background: #f0f4fa;
  padding: 80px 0;
  text-align: center;
}
.day-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
  margin-bottom: 2rem;
}
.day-gallery__item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}
.day-gallery__item--1 { grid-column: 1 / 2; }
.day-gallery__item--2 { grid-column: 2 / 3; }
.day-gallery__item--3 { grid-column: 3 / 4; }
.day-gallery__item--4 { grid-column: 1 / 3; }
.day-gallery__item--5 { grid-column: 3 / 4; }
.day-gallery__item img { width: 100%; height: 300px; object-fit: cover; }
.day-gallery__item--4 img { height: 260px; }
.day-gallery__caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px 16px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  color: #fff;
  font-size: .9rem;
  text-align: left;
  line-height: 1.4;
}
.day-in-cruise__quote {
  font-size: 1.15rem;
  max-width: 700px;
  margin: 0 auto 1rem;
  font-weight: 500;
  color: #1a2744;
}
.day-in-cruise__note {
  font-size: .85rem;
  color: #888;
  margin-bottom: 2rem;
}

/* ===== LINERS ===== */
.liners {
  background: url('../assets/liners/liners_bg.webp') center/cover no-repeat;
  padding: 80px 0;
}
.liners__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.liner-card {
  background: rgba(255,255,255,.1);
  border-radius: 16px;
  overflow: hidden;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,.15);
}
.liner-card__img img { width: 100%; height: 200px; object-fit: cover; }
.liner-card__name {
  font-family: 'Prata', serif;
  color: #fff;
  padding: 16px 16px 8px;
  font-size: 1.1rem;
}
.liner-card__arrow { color: #f5a623; }
.liner-card__specs {
  list-style: none;
  color: rgba(255,255,255,.8);
  font-size: .85rem;
  padding: 0 16px 16px;
}
.liner-card__specs li { padding: 2px 0; }
.liner-card .btn { margin: 0 16px 16px; font-size: .9rem; }

/* ===== ABOUT ===== */
.about {
  background: #fff;
  padding: 80px 0;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.about__photo img {
  width: 100%;
  border-radius: 16px;
}
.about__content { padding-left: 20px; }
.about__content .btn { margin-top: 1rem; }
.about__main {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1a2744;
  margin-bottom: .5rem;
}
.about__sub {
  color: #555;
  margin-bottom: .5rem;
}
.about__badge {
  display: inline-block;
  color: #1f5fa8;
  padding: 0 0 8px;
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border-bottom: 3px solid #f2953f;
}
.about__facts { margin-bottom: 2rem; }
.about__fact {
  margin-bottom: 1rem;
  padding-left: 16px;
  border-left: 3px solid #f5a623;
}
.about__fact h4 {
  font-weight: 600;
  color: #1a2744;
  margin-bottom: 4px;
}
.about__fact p { color: #555; font-size: .95rem; }

/* ===== FAQ ===== */
.faq {
  position: relative;
  background: url('../assets/faq/faq.webp') center/cover no-repeat;
  padding: 80px 0;
}
.faq::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 41, .5), rgba(7, 16, 41, .64));
}
.faq > .container {
  position: relative;
  z-index: 1;
}
.faq .section-title { color: #fff; }
.faq__list { max-width: 800px; margin: 0 auto; }
.faq__item {
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.faq__question {
  width: 100%;
  text-align: left;
  padding: 18px 20px;
  font-size: 1rem;
  font-weight: 600;
  color: #1a2744;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq__toggle {
  font-size: 1.4rem;
  transition: transform .3s;
  color: #f5a623;
}
.faq__item.active .faq__toggle { transform: rotate(45deg); }
.faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s;
  padding: 0 20px;
}
.faq__item.active .faq__answer {
  max-height: 600px;
  padding: 0 20px 18px;
}
.faq__answer p { margin-bottom: 8px; font-size: .95rem; color: #444; }

/* ===== FOOTER ===== */
.footer {
  background: url('../assets/footer/footer.webp') center/cover no-repeat;
  padding: 60px 0 40px;
  color: #fff;
}
.footer__inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 30px;
}
.footer__contacts h4,
.footer__menu h4,
.footer__social h4 {
  font-weight: 600;
  margin-bottom: 12px;
  color: #f5a623;
}
.footer__contacts p { margin-bottom: 6px; font-size: .9rem; }
.footer__contacts a { color: #fff; transition: color .3s; }
.footer__contacts a:hover { color: #f5a623; }
.footer__menu a {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  transition: color .3s;
}
.footer__menu a:hover { color: #f5a623; }
.footer__social-link {
  display: block;
  margin-bottom: 8px;
  color: rgba(255,255,255,.8);
  font-size: .9rem;
  transition: color .3s;
}
.footer__social-link:hover { color: #f5a623; }

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 88px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(13, 27, 62, .92);
  color: #fff;
  font-size: 1.4rem;
  box-shadow: 0 10px 28px rgba(0,0,0,.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all .3s ease;
  z-index: 130;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-cta-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 125;
  display: flex;
  gap: 10px;
  padding: 12px;
  background: rgba(8, 20, 48, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 -10px 26px rgba(0,0,0,.16);
}
.mobile-cta-bar__btn {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 10px;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .02em;
}
.mobile-cta-bar__btn--primary {
  background: linear-gradient(135deg, #f5a623, #e8852a);
  color: #fff;
}
.mobile-cta-bar__btn--secondary {
  border: 1px solid rgba(255,255,255,.32);
  color: #fff;
  background: rgba(255,255,255,.08);
}
@media (min-width: 769px) {
  .mobile-cta-bar { display: none; }
  .back-to-top { bottom: 24px; }
}

/* ===== POPUPS ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 200;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
.popup-overlay.active { opacity: 1; visibility: visible; }

.popup {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 210;
  background: #fff;
  border-radius: 16px;
  max-height: 90vh;
  overflow-y: auto;
  width: 90%;
  max-width: 560px;
  opacity: 0;
  visibility: hidden;
  transition: all .3s;
}
.popup.active { opacity: 1; visibility: visible; }
.popup__body--wide { max-width: 780px; }
.popup__close {
  position: absolute;
  top: 12px; right: 16px;
  font-size: 2rem;
  color: #999;
  z-index: 5;
  line-height: 1;
}
.popup__close:hover { color: #333; }
.popup__body { padding: 32px 24px; }
.popup__title {
  font-family: 'Prata', serif;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #1a2744;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 500;
  color: #1a2744;
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e0e4ec;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color .3s;
  background: #fff;
}
.form-input:focus { border-color: #f5a623; outline: none; }
.phone-input { display: flex; gap: 8px; }
.phone-input select {
  width: 100px;
  padding: 12px 8px;
  border: 2px solid #e0e4ec;
  border-radius: 8px;
  font-size: .85rem;
  background: #fff;
}
.phone-input .form-input { flex: 1; }

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  padding: 12px;
  border: 1px solid #e0e4ec;
  border-radius: 8px;
  background: #f7f8fb;
  color: #4b5567;
  font-size: .82rem;
  line-height: 1.4;
  cursor: pointer;
}
.consent-checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: #f5a623;
  cursor: pointer;
}
.consent-checkbox a {
  color: #1a2744;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.consent-checkbox a:hover { color: #e8852a; }

.tourists-selector { border: 2px solid #e0e4ec; border-radius: 8px; padding: 12px; }
.tourists-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}
.counter { display: flex; align-items: center; gap: 10px; }
.counter__btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 2px solid #e0e4ec;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #1a2744;
  transition: all .2s;
}
.counter__btn:hover { border-color: #f5a623; color: #f5a623; }
.btn-add-child {
  color: #f5a623;
  font-weight: 600;
  font-size: .9rem;
  padding: 8px 0;
}
.btn-add-child:hover { text-decoration: underline; }
.child-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 124px;
  gap: 10px 16px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px solid #e0e4ec;
}
.child-row__label {
  grid-column: 2;
  font-size: .78rem;
  color: #6b7280;
  margin-top: -6px;
}
.child-row select {
  padding: 8px;
  border: 2px solid #e0e4ec;
  border-radius: 8px;
  font-size: .9rem;
}

/* ===== ROUTE CARDS (Form-2 / Form-3) ===== */
.route-card {
  border: 2px solid #e0e4ec;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}
.route-card h3 {
  font-family: 'Prata', serif;
  font-size: 1.3rem;
  color: #1a2744;
  margin-bottom: .3rem;
}
.route-card__liner {
  color: #e8852a;
  font-weight: 600;
  margin-bottom: 1rem;
}
.route-card__collage {
  display: flex;
  justify-content: center;
  gap: -10px;
  margin-bottom: 1rem;
}
.route-card__collage img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin-left: -12px;
}
.route-card__collage img:first-child { margin-left: 0; }
.route-card__dates { margin-bottom: .5rem; font-size: .9rem; }
.dates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}
.route-card__dates strong { display: block; margin-bottom: 4px; }
.route-card__route { font-size: .9rem; margin-bottom: 1rem; line-height: 1.5; }
.route-card__map { margin-bottom: 1rem; }
.route-card__map img { width: 100%; border-radius: 8px; }
.route-card .btn { width: 100%; }

/* ===== LINER POPUP ===== */
.liner-popup__desc { color: #555; margin-bottom: 1rem; line-height: 1.5; }
.liner-popup__photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 1.5rem;
}
.liner-popup__photos .liner-photo {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.liner-popup__photos .liner-photo img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}
.liner-popup__photos .liner-photo .photo-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  color: #fff;
  font-weight: 600;
  font-size: .85rem;
  text-align: center;
}
.liner-popup__about { margin-bottom: 1rem; }
.liner-popup__about h4 { font-weight: 600; margin-bottom: 8px; }
.liner-popup__about p { color: #555; font-size: .95rem; }
.liner-popup__cruises { margin-bottom: 1.5rem; }
.liner-popup__cruises h4 { font-weight: 600; margin-bottom: 8px; }
.liner-popup__cruises p { color: #1a2744; }
.liner-popup__sub {
  text-align: center;
  color: #888;
  font-size: .85rem;
  margin-top: .5rem;
}

/* ===== QUIZ ===== */
.quiz__step { display: none; }
.quiz__step.active { display: block; }
.quiz__title {
  font-family: 'Prata', serif;
  font-size: 1.3rem;
  color: #1a2744;
  margin-bottom: 1rem;
  line-height: 1.3;
}
.quiz__subtitle {
  color: #888;
  font-size: .9rem;
  margin-bottom: 1rem;
}
.quiz__nav {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}
.quiz__nav .btn { flex: 1; }
.quiz__options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.quiz__option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 2px solid #e0e4ec;
  border-radius: 10px;
  cursor: pointer;
  transition: all .2s;
}
.quiz__option:hover { border-color: #f5a623; }
.quiz__option input { display: none; }
.quiz__option:has(input:checked) {
  border-color: #f5a623;
  background: rgba(245,166,35,.08);
}
.quiz__option span { font-weight: 500; }

/* ===== CABIN CARDS ===== */
.cabin-cards {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 8px 0;
  scroll-snap-type: x mandatory;
}
.cabin-card {
  flex: 0 0 160px;
  min-height: 224px;
  scroll-snap-align: start;
  border: 3px solid #e0e4ec;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: all .3s;
  background: #fff;
}
.cabin-card.selected {
  border-color: #e53935;
  box-shadow: 0 0 0 3px rgba(229,57,53,.3);
}
.cabin-card img { width: 100%; height: 120px; object-fit: cover; }
.cabin-card h4 { padding: 8px 10px 4px; font-size: .85rem; font-weight: 600; }
.cabin-card p { padding: 0 10px 10px; font-size: .75rem; color: #888; }
.cabin-card--undecided {
  display: flex;
  flex-direction: column;
}
.cabin-card__question {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f5f7fb, #e9eef7);
  color: #0d1b3e;
  font-size: 3rem;
  font-weight: 700;
}

/* ===== THANK YOU PAGE ===== */
.thank-you-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #0d1b3e, #1a3a6e);
}
.thank-you {
  text-align: center;
  color: #fff;
  padding: 40px;
}
.thank-you h1 {
  font-family: 'Prata', serif;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}
.thank-you p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===== MOBILE ===== */
@media (max-width: 1024px) {
  .liners__grid { grid-template-columns: repeat(2, 1fr); }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 768px) {
  body { padding-bottom: 82px; }
  .header__nav {
    position: fixed;
    top: 0; right: -280px;
    width: 280px;
    height: 100vh;
    background: #0d1b3e;
    flex-direction: column;
    padding: 20px 24px 24px;
    gap: 16px;
    transition: right .3s;
    z-index: 150;
  }
  .header__nav.open { right: 0; }
  .header__nav-close { display: inline-flex; align-items: center; justify-content: center; }
  .header__nav-backdrop { display: block; }
  .header__link--phone { display: block; color: #f5a623; font-weight: 700; }
  .header__callback--menu { display: inline-flex; align-items: center; justify-content: center; width: 100%; margin-top: 4px; color: #fff; background: linear-gradient(135deg, #f5a623, #e8852a); border-color: transparent; }
  .header__actions { margin-left: auto; gap: 8px; }
  .header__phone { display: none; }
  .header__callback { min-height: 38px; padding: 9px 12px; font-size: .75rem; max-width: 150px; white-space: normal; }
  .header__burger { display: flex; }
  .hero__title { font-size: 2.2rem; }
  .gallery { padding-top: 0; }
  .hero__points { font-size: 1rem; }
  .gallery__card { flex: 0 0 260px; }
  .cruise-cards__grid { grid-template-columns: 1fr; }
  .included__grid { grid-template-columns: repeat(2, 1fr); }
  .advantages__grid { grid-template-columns: 1fr; }
  .day-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .day-gallery__item--1,
  .day-gallery__item--2,
  .day-gallery__item--3,
  .day-gallery__item--4,
  .day-gallery__item--5 { grid-column: auto; }
  .day-gallery__item img { height: 240px; }
  .liners__grid { grid-template-columns: 1fr; }
  .about__inner { grid-template-columns: 1fr; }
  .about__content { padding-left: 0; }
  .footer__inner { grid-template-columns: 1fr; }
  .section-title { font-size: 1.5rem; }
  .popup {
    width: 96%;
    max-width: none;
    max-height: 95vh;
    border-radius: 12px;
  }
  .popup__body--wide { max-width: none; }
  .liner-popup__photos { grid-template-columns: 1fr; }
  .cabin-cards { gap: 8px; }
  .cabin-card { flex: 0 0 140px; }
}
@media (max-width: 480px) {
  .container { padding: 0 12px; }
  .hero { padding-top: 86px; padding-bottom: 32px; }
  .hero__title { font-size: 1.8rem; }
  .hero__points { font-size: .9rem; }
  .hero__highlight { font-size: .95rem; }
  .btn { padding: 12px 20px; font-size: .9rem; }
  .header__actions .header__callback { display: none; }
  .gallery__card { flex: 0 0 220px; }
  .gallery__card img { height: 300px; }
  .included__grid { grid-template-columns: 1fr; }
  .cabin-card { flex: 0 0 120px; }
  .cabin-card img { height: 100px; }
  .route-card__collage img { width: 65px; height: 65px; }
  .popup__body { padding: 24px 16px; }
  .consent-checkbox { font-size: .78rem; padding: 10px; }
}

/* ===== UTILS ===== */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
}

/* ===== QUIZ VALIDATION / UNDECIDED CABIN FIX ===== */
.quiz__error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #fff3f0;
  color: #e53935;
  font-size: .9rem;
  font-weight: 600;
}
.cabin-card--undecided {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: #f7f8fb;
}
.cabin-card--undecided .cabin-card__question {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eef2f7;
  color: #f5a623;
  font-family: 'Prata', serif;
  font-size: 48px;
}
@media (max-width: 480px) {
  .cabin-card--undecided .cabin-card__question { height: 100px; }
}

/* Messenger floating widget */
.messenger-widget {display:none!important;
  position: fixed;
  right: 104px;
  bottom: 24px;
  z-index: 135;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.messenger-widget__button {
  width: 58px;
  height: 58px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #f5a623, #e8852a);
  color: #0d1b3e;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(13, 27, 62, .28);
  transition: transform .2s ease, box-shadow .2s ease;
}

.messenger-widget__button svg {
  width: 29px;
  height: 29px;
}

.messenger-widget__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(13, 27, 62, .34);
}

.messenger-widget__panel {
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

.messenger-widget.open .messenger-widget__panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.messenger-widget__link {
  min-width: 164px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: #fff;
  color: #0d1b3e;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(13, 27, 62, .18);
  border: 1px solid rgba(13, 27, 62, .08);
}

.messenger-widget__link:hover {
  transform: translateX(-2px);
}

.messenger-widget__icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
}

.messenger-widget__link--whatsapp .messenger-widget__icon { background: #25d366; }
.messenger-widget__link--telegram .messenger-widget__icon { background: #229ed9; }
.messenger-widget__link--max .messenger-widget__icon { background: #2b7cff; }

@media (max-width: 768px) {
  .messenger-widget {
    right: 74px;
    bottom: calc(22px + env(safe-area-inset-bottom));
    z-index: 136;
  }

  .messenger-widget__button {
    width: 52px;
    height: 52px;
  }

  .messenger-widget__button svg {
    width: 26px;
    height: 26px;
  }

  .messenger-widget__link {
    min-width: 150px;
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 14px;
  }

  .messenger-widget__icon {
    width: 31px;
    height: 31px;
    font-size: 10px;
  }
}

body.popup-open .messenger-widget {
  display: none;
}

/* CHAT WIDGET DISABLED */
.messenger-widget, .messenger-widget__button, .messenger-widget__panel { display: none !important; visibility: hidden !important; pointer-events: none !important; }
