/* ================= Uzbekistan Travelers — основной стиль ================= */
:root {
  --navy: #0a2340;
  --navy-2: #123c66;
  --teal: #0f8a8f;
  --teal-l: #3fd0c4;
  --gold: #e8b04b;
  --gold-d: #c98f25;
  --sand: #f8f3ea;
  --sand-2: #efe5d3;
  --ink: #1d2733;
  --muted: #66707c;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(10, 35, 64, .10);
  --shadow-lg: 0 20px 50px rgba(10, 35, 64, .18);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--sand); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: var(--teal); text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.section { padding: 90px 0; }
.section--white { background: var(--white); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 50px; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.ornament { display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--gold); margin-bottom: 12px; }
.ornament::before, .ornament::after { content: ""; width: 40px; height: 2px; background: currentColor; border-radius: 2px; }
.ornament span { width: 10px; height: 10px; background: currentColor; transform: rotate(45deg); }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 50px;
  font-weight: 600; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: .25s; font-family: inherit; }
.btn--gold { background: var(--gold); color: var(--navy); }
.btn--gold:hover { background: var(--gold-d); transform: translateY(-2px); box-shadow: 0 10px 25px rgba(232, 176, 75, .4); }
.btn--outline { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--outline:hover { background: #fff; color: var(--navy); }
.btn--teal { background: var(--teal); color: #fff; }
.btn--teal:hover { background: var(--navy); }
.btn--block { width: 100%; }

/* ---------- шапка ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; transition: .3s; }
.header.scrolled, .header--solid { background: rgba(10, 35, 64, .96); backdrop-filter: blur(8px); box-shadow: 0 4px 20px rgba(0,0,0,.15); }
.header__inner { display: flex; align-items: center; gap: 24px; height: 78px; }
.logo { display: flex; align-items: center; gap: 12px; color: #fff; }
.logo img { width: 46px; height: 46px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__text b { font-family: var(--serif); font-size: 1.35rem; letter-spacing: .3px; }
.logo__text small { font-size: .68rem; letter-spacing: 5px; color: var(--gold); font-weight: 700; margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav a { color: rgba(255,255,255,.85); padding: 8px 14px; border-radius: 30px; font-weight: 500; transition: .2s; }
.nav a:hover, .nav a.active { color: #fff; background: rgba(255,255,255,.12); }
.nav .btn { margin-left: 10px; padding: 10px 22px; color: var(--navy); }
.nav .btn:hover { background: var(--gold-d); color: var(--navy); }

.lang { position: relative; }
.lang__btn { display: flex; align-items: center; gap: 6px; background: rgba(255,255,255,.12); color: #fff; border: 0;
  padding: 8px 14px; border-radius: 30px; font: inherit; font-weight: 600; cursor: pointer; }
.lang__btn svg { width: 16px; height: 16px; }
.lang__menu { position: absolute; right: 0; top: calc(100% + 8px); background: #fff; border-radius: 14px; box-shadow: var(--shadow-lg);
  padding: 6px; min-width: 170px; display: none; }
.lang.open .lang__menu { display: block; }
.lang__menu a { display: flex; justify-content: space-between; padding: 9px 14px; border-radius: 10px; color: var(--ink); }
.lang__menu a:hover { background: var(--sand); }
.lang__menu a.active { color: var(--teal); font-weight: 600; }
.lang__menu small { color: var(--muted); font-weight: 600; }
.lang__menu a { align-items: center; gap: 12px; }
.lang__name { display: inline-flex; align-items: center; gap: 10px; }
.flag { width: 22px; height: 16px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); flex-shrink: 0; }
.cf-turnstile { min-height: 65px; }

.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.burger span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }

/* ---------- главный экран ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; color: #fff; overflow: hidden;
  background: url("../img/pattern.svg"), radial-gradient(ellipse at 75% 30%, #1d6f86 0%, transparent 55%),
              linear-gradient(160deg, var(--navy) 0%, var(--navy-2) 55%, #0f6b78 100%); }
.hero::before { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; right: 8%; top: 18%;
  background: radial-gradient(circle, rgba(232,176,75,.55) 0%, rgba(232,176,75,.15) 45%, transparent 70%); }
.hero__skyline { position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: url("../img/skyline.svg") bottom center / cover no-repeat; }
.hero__content { position: relative; z-index: 2; max-width: 720px; padding: 140px 0 220px; }
.hero h1 { color: #fff; }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero p { font-size: 1.2rem; color: rgba(255,255,255,.85); max-width: 600px; }
.badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: 8px 16px; border-radius: 30px; font-size: .9rem; margin-bottom: 24px; }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(232,176,75,.3); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }

.stats { position: relative; z-index: 3; margin-top: -60px; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.stat { padding: 28px 20px; text-align: center; border-right: 1px solid var(--sand-2); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 2.2rem; color: var(--teal); line-height: 1.1; }
.stat span { color: var(--muted); font-size: .95rem; }

/* ---------- карточки туров ---------- */
.grid { display: grid; gap: 28px; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column;
  transition: .3s; color: inherit; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: .5s; }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 14px; left: 14px; background: rgba(255,255,255,.95); color: var(--navy); font-size: .8rem;
  font-weight: 600; padding: 5px 12px; border-radius: 20px; }
.card__days { position: absolute; bottom: 14px; right: 14px; background: var(--navy); color: #fff; font-size: .85rem; font-weight: 600;
  padding: 5px 12px; border-radius: 20px; }
.card__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: 8px; }
.card__body p { color: var(--muted); font-size: .95rem; flex: 1; }
.card__foot { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--sand-2); padding-top: 16px; margin-top: 6px; }
.price { font-family: var(--serif); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.price small { font-family: var(--sans); font-size: .8rem; color: var(--muted); font-weight: 500; }
.price s { font-family: var(--sans); font-size: .9rem; color: var(--muted); font-weight: 400; margin-left: 6px; }
.more { font-weight: 600; color: var(--teal); display: inline-flex; align-items: center; gap: 6px; }
.more::after { content: "→"; transition: .2s; }
.card:hover .more::after { transform: translateX(4px); }

/* обложка без фото — нарисованная */
.cover { width: 100%; height: 100%; display: flex; align-items: flex-end; justify-content: center; position: relative;
  background: url("../img/pattern.svg"), linear-gradient(160deg, var(--navy-2), var(--teal)); }
.cover--silk-road { background: url("../img/pattern.svg"), linear-gradient(160deg, #6b3b1f, var(--gold-d)); }
.cover--adventure { background: url("../img/pattern.svg"), linear-gradient(160deg, #1d4d3a, #3a9d6e); }
.cover--gastro { background: url("../img/pattern.svg"), linear-gradient(160deg, #7a2e2e, #d0703f); }
.cover--culture { background: url("../img/pattern.svg"), linear-gradient(160deg, #3c2a6b, #8a5bc4); }
.cover::after { content: ""; position: absolute; inset: auto 0 0; height: 55%; background: url("../img/skyline.svg") bottom center / cover no-repeat; opacity: .9; }
.cover__sun { position: absolute; top: 22%; right: 18%; width: 70px; height: 70px; border-radius: 50%; background: rgba(232,176,75,.65);
  box-shadow: 0 0 60px rgba(232,176,75,.6); }

/* ---------- направления ---------- */
.dest { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.dest__item { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 340px; padding: 26px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; transition: .3s; isolation: isolate; }
.dest__item::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../img/pattern.svg"), var(--bg); transition: .4s; }
.dest__item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.dest__item:hover::before { transform: scale(1.05); }
.dest__item h3 { color: #fff; font-size: 1.7rem; margin-bottom: 6px; }
.dest__item p { font-size: .92rem; opacity: .9; margin-bottom: 14px; }
.dest__count { align-self: flex-start; background: rgba(255,255,255,.18); padding: 4px 12px; border-radius: 20px; font-size: .85rem; font-weight: 600; }
.dest__icon { position: absolute; top: 24px; right: 24px; width: 54px; height: 54px; opacity: .9; }
.dest--tashkent { --bg: linear-gradient(165deg, #123c66, #1a7f9a); }
.dest--samarkand { --bg: linear-gradient(165deg, #0f6b78, #3fd0c4); }
.dest--bukhara { --bg: linear-gradient(165deg, #7b4a1e, #e8b04b); }
.dest--khiva { --bg: linear-gradient(165deg, #8a3b2a, #e07a4f); }

/* ---------- почему мы ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { padding: 30px 26px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); transition: .3s; }
.section--white .feature { background: var(--sand); box-shadow: none; }
.feature:hover { background: var(--navy); color: #fff; }
.feature:hover h3 { color: #fff; }
.feature:hover p { color: rgba(255,255,255,.8); }
.feature__icon { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; background: var(--teal); color: #fff; margin-bottom: 18px; }
.feature__icon svg { width: 28px; height: 28px; }
.feature p { color: var(--muted); margin: 0; font-size: .95rem; }

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.review { background: #fff; border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow); position: relative; }
.review::before { content: "“"; position: absolute; top: 4px; right: 24px; font-family: var(--serif); font-size: 5rem; color: var(--sand-2); line-height: 1; }
.stars { color: var(--gold); letter-spacing: 2px; margin-bottom: 12px; }
.review p { font-style: italic; color: #3c4652; }
.review__author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; }
.review__author small { display: block; color: var(--muted); }

/* ---------- призыв ---------- */
.cta { border-radius: 28px; padding: 60px; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  background: url("../img/pattern.svg"), linear-gradient(120deg, var(--navy), var(--teal)); box-shadow: var(--shadow-lg); }
.cta h2 { color: #fff; margin-bottom: 8px; }
.cta p { margin: 0; opacity: .85; font-size: 1.1rem; }

/* ---------- шапка внутренних страниц ---------- */
.page-hero { padding: 160px 0 80px; color: #fff; text-align: center; position: relative; overflow: hidden;
  background: url("../img/pattern.svg"), linear-gradient(160deg, var(--navy), var(--navy-2) 60%, #0f6b78); }
.page-hero h1 { color: #fff; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 1.15rem; max-width: 640px; margin: 0 auto; }
.crumbs { font-size: .9rem; margin-bottom: 14px; color: rgba(255,255,255,.6); }
.crumbs a { color: var(--gold); }

.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.chip { padding: 9px 20px; border-radius: 30px; background: #fff; color: var(--ink); font-weight: 500; box-shadow: 0 2px 8px rgba(0,0,0,.05); transition: .2s; }
.chip:hover { color: var(--teal); }
.chip.active { background: var(--navy); color: #fff; }
.empty { text-align: center; color: var(--muted); padding: 40px; }

/* ---------- страница тура ---------- */
.tour-hero { min-height: 520px; display: flex; align-items: flex-end; color: #fff; position: relative; padding: 140px 0 60px; text-align: left; }
.tour-hero__bg { position: absolute; inset: 0; z-index: 0; }
.tour-hero__bg img, .tour-hero__bg .cover { width: 100%; height: 100%; object-fit: cover; }
.tour-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,35,64,.92), rgba(10,35,64,.2) 70%); }
.tour-hero .container { position: relative; z-index: 2; }
.tour-hero h1 { color: #fff; max-width: 800px; }
.tour-hero p { color: rgba(255,255,255,.85); max-width: 700px; font-size: 1.15rem; }
.tour-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.tour-meta span { background: rgba(255,255,255,.14); padding: 8px 16px; border-radius: 30px; font-size: .95rem; }
.tour-layout { display: grid; grid-template-columns: 1fr 380px; gap: 40px; align-items: start; }
.box { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); margin-bottom: 28px; }
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--sand-2); }
.timeline li { position: relative; padding: 0 0 22px 60px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline b { position: absolute; left: 0; top: -2px; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff;
  display: grid; place-items: center; font-size: .9rem; }
.timeline small { display: block; color: var(--gold-d); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 7px 0 7px 32px; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: #dff5f1;
  color: var(--teal); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.checklist--no li::before { content: "✕"; background: #fbe7e3; color: #c0473a; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.booking { position: sticky; top: 100px; }
.booking__price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 6px; }
.booking__note { color: var(--muted); font-size: .9rem; }

/* ---------- формы ---------- */
.form { display: grid; gap: 14px; }
.form label { font-size: .88rem; font-weight: 600; color: var(--navy); display: grid; gap: 6px; }
.form input, .form textarea, .form select { width: 100%; padding: 13px 16px; border: 1.5px solid var(--sand-2); border-radius: 12px; font: inherit;
  background: var(--sand); transition: .2s; color: var(--ink); }
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(15,138,143,.12); }
.form textarea { min-height: 110px; resize: vertical; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form__hint { font-size: .8rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- о нас / контакты ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; align-items: center; }
.about-art { border-radius: 28px; aspect-ratio: 1; position: relative; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-art .cover::after { height: 45%; }
.about-art img.emblem { position: absolute; width: 42%; left: 29%; top: 18%; filter: drop-shadow(0 20px 30px rgba(0,0,0,.35)); }
.lead { font-size: 1.15rem; color: #3c4652; }
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-item .feature__icon { margin: 0; flex-shrink: 0; width: 50px; height: 50px; }
.contact-item small { display: block; color: var(--muted); font-size: .85rem; }
.contact-item b, .contact-item a { color: var(--navy); font-weight: 600; font-size: 1.05rem; }

/* ---------- уведомления ---------- */
.toasts { position: fixed; top: 92px; right: 20px; z-index: 100; display: grid; gap: 10px; max-width: 380px; }
.toast { padding: 14px 20px; border-radius: 14px; background: #fff; box-shadow: var(--shadow-lg); border-left: 5px solid var(--teal); animation: slide .4s; }
.toast--error { border-color: #d0473a; }
.toast--success { border-color: #2a9d6a; }
@keyframes slide { from { transform: translateX(120%); opacity: 0; } }

/* ---------- подвал ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding: 70px 0 30px; margin-top: 90px;
  background-image: url("../img/pattern.svg"); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1fr; gap: 40px; }
.footer h4 { color: #fff; font-size: 1rem; margin: 0 0 16px; }
.footer a { color: rgba(255,255,255,.75); display: block; padding: 4px 0; }
.footer a:hover { color: var(--gold); }
.footer .logo { margin-bottom: 16px; display: flex; color: #fff; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.1); display: grid; place-items: center; padding: 0; }
.socials a:hover { background: var(--gold); color: var(--navy); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 50px; padding-top: 24px; display: flex; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; font-size: .9rem; }

.err { text-align: center; padding: 200px 0 120px; }
.err b { font-family: var(--serif); font-size: 7rem; color: var(--gold); line-height: 1; display: block; }

/* ---------- анимация появления ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1080px) {
  .dest, .features { grid-template-columns: repeat(2, 1fr); }
  .tour-layout { grid-template-columns: 1fr; }
  .booking { position: static; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
/* мобильное меню (бургер) — ниже 1120px, чтобы 6 пунктов меню не переносились */
@media (max-width: 1120px) {
  .burger { display: block; margin-left: auto; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--navy); flex-direction: column; align-items: stretch; padding: 20px;
    gap: 4px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .25s; margin: 0; box-shadow: 0 20px 40px rgba(0,0,0,.25);
    max-height: calc(100vh - 78px); overflow-y: auto; }
  .nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 16px; }
  .nav .btn { margin: 10px 0 0; }
  .lang__menu { position: static; box-shadow: none; margin-top: 6px; }
  .header { background: rgba(10, 35, 64, .96); }
}
@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--sand-2); }
  .about-grid, .two-col { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .cta { padding: 40px 28px; }
}
@media (max-width: 560px) {
  .dest, .features, .footer__grid, .form__row { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; }
  .box { padding: 24px; }
  .hero__content { padding: 120px 0 200px; }
}
.center { text-align: center; margin-top: 44px; }

/* ---------- отзывы ---------- */
.verified { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; padding: 5px 12px; border-radius: 20px;
  background: #dff5f1; color: var(--teal); font-size: .82rem; font-weight: 600; }
.verified svg { width: 15px; height: 15px; }
.verified--big { margin: 0 0 18px; font-size: .95rem; padding: 8px 16px; }
.review--verified { box-shadow: var(--shadow), inset 0 3px 0 var(--teal); }
.reviews-layout { display: grid; grid-template-columns: 1fr 400px; gap: 40px; align-items: start; }
.reviews--list { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.stats__grid--3 { grid-template-columns: repeat(3, 1fr); }
.page-hero:has(+ .stats) { padding-bottom: 120px; }
.narrow { max-width: 720px; }
.center-box { text-align: center; }
.captcha input { max-width: 120px; }
.form__hint svg { width: 14px; height: 14px; vertical-align: -2px; color: var(--teal); }
.form label .form__hint { font-weight: 400; }
@media (max-width: 1080px) { .reviews-layout { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .stats__grid--3 { grid-template-columns: 1fr; } .stats__grid--3 .stat { border-right: 0; border-bottom: 1px solid var(--sand-2); } }
.socials--dark a { background: var(--navy); color: #fff; }
.socials--dark a:hover { background: var(--gold); color: var(--navy); }
.footer { margin-top: 0; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- свой логотип ---------- */
.logo__img { height: 50px; width: auto; max-width: 200px; object-fit: contain; }
.footer .logo__img { height: 56px; }

/* ---------- соцсети: свой значок ---------- */
.socials img { width: 20px; height: 20px; object-fit: contain; border-radius: 4px; }

/* ---------- хэштеги ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; }
.tags--cloud { justify-content: center; margin: -10px 0 36px; }
.tags__title { color: var(--muted); font-size: .9rem; }
.tag { padding: 5px 12px; border-radius: 20px; background: #e7f4f3; color: var(--teal); font-size: .88rem; font-weight: 600; transition: .2s; }
.tag:hover, .tag.active { background: var(--teal); color: #fff; }
.tag--light { background: rgba(255,255,255,.15); color: #fff; }
.tag--light:hover { background: var(--gold); color: var(--navy); }
.tag--reset { background: #fbe7e3; color: #c0473a; }

/* ---------- галерея ---------- */
.gallery { columns: 3 300px; column-gap: 16px; }
.gallery__item { display: block; position: relative; margin-bottom: 16px; border-radius: 14px; overflow: hidden; break-inside: avoid;
  box-shadow: var(--shadow); background: var(--sand-2); }
.gallery__item img { width: 100%; height: auto; transition: .5s; }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__cap { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; color: #fff; font-size: .9rem;
  background: linear-gradient(transparent, rgba(10,35,64,.85)); opacity: 0; transition: .3s; }
.gallery__item:hover .gallery__cap { opacity: 1; }
.gallery--strip { columns: auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery--strip .gallery__item { margin: 0; aspect-ratio: 1; }
.gallery--strip .gallery__item img { height: 100%; object-fit: cover; }
@media (max-width: 860px) { .gallery--strip { grid-template-columns: repeat(2, 1fr); } }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(5, 18, 34, .94); display: flex; align-items: center; justify-content: center;
  flex-direction: column; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 150px); border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox__cap { color: #fff; margin-top: 16px; text-align: center; max-width: 800px; }
.lightbox__count { color: rgba(255,255,255,.6); font-size: .85rem; margin-top: 6px; }
.lightbox button { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 0; width: 50px; height: 50px; border-radius: 50%;
  font-size: 1.6rem; cursor: pointer; display: grid; place-items: center; transition: .2s; }
.lightbox button:hover { background: var(--gold); color: var(--navy); }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 560px) { .lightbox { padding: 60px 10px; } .lightbox__prev, .lightbox__next { top: auto; bottom: 18px; transform: none; } }

/* ---------- карта ---------- */
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 16 / 7; background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 560px) { .map { aspect-ratio: 4 / 5; } }

/* ---------- плавающие кнопки связи ---------- */
.fab { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; gap: 12px; }
.fab__btn { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,.25);
  transition: .25s; animation: fab-in .5s ease; }
.fab__btn svg { width: 28px; height: 28px; }
.fab__btn:hover { transform: scale(1.1); }
.fab__btn--wa { background: #25D366; }
.fab__btn--tg { background: #229ED9; }
@keyframes fab-in { from { transform: scale(0); } }

/* ================= Шрифты: вариант «Элегантный» (Cormorant Garamond + Montserrat) ================= */
:root {
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --logo-font: "Playfair Display", Georgia, serif;   /* надпись логотипа — как в файлах логотипа */
}
/* Cormorant визуально мельче — выравниваем размер букв, чтобы заголовки не стали меньше прежних */
h1, h2, h3, .stat b, .price, .err b { font-weight: 700; font-size-adjust: .5; font-variant-numeric: lining-nums; }
.logo__text b { font-family: var(--logo-font); }

/* ================= Юридические страницы, согласие, cookie, карта по клику ================= */
.legal { max-width: 860px; margin: 0 auto; line-height: 1.75; }
.legal h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.legal h2:first-child { margin-top: 0; }
.legal ul { padding-left: 1.3em; margin: 0 0 1em; }
.legal li { margin-bottom: .35em; }
.legal a { color: var(--teal); text-decoration: underline; }
.consent { display: flex !important; grid-template-columns: none; align-items: flex-start; gap: 10px; font-weight: 400 !important;
  font-size: .85rem !important; color: var(--ink) !important; line-height: 1.5; cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--teal); }
.consent a { color: var(--teal); text-decoration: underline; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.footer__legal a { display: inline; padding: 0; }
.footer__cookie-btn { background: none; border: 0; padding: 0; color: rgba(255,255,255,.75); font: inherit; cursor: pointer; text-decoration: underline; }
.footer__cookie-btn:hover { color: var(--gold); }
.btn--outline-dark { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline-dark:hover { background: var(--navy); color: #fff; }
.cookie-bar { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120; max-width: 760px; margin: 0 auto;
  background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px 22px;
  display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie-bar[hidden] { display: none !important; }
.cookie-bar p { margin: 0; flex: 1 1 320px; font-size: .9rem; }
.cookie-bar a { color: var(--teal); text-decoration: underline; }
.cookie-bar__btns { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-bar .btn { padding: 10px 18px; font-size: .9rem; }
.map__placeholder { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  text-align: center; padding: 30px; background: var(--sand-2) url("../img/pattern.svg"); }
.map__placeholder p { max-width: 560px; margin: 0; color: var(--ink); }
.map__placeholder a:not(.btn) { color: var(--teal); text-decoration: underline; }
.map__actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

/* ================= Главный экран: листающиеся картинки ================= */
.hero--slides { background: var(--navy); }
.hero--slides::before { display: none; }
.hero__slides { position: absolute; inset: 0; }
.hero__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transition: opacity 1.4s ease, transform 7s ease; transform: scale(1.06); }
.hero__slides img.active { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,35,64,.88) 0%, rgba(10,35,64,.6) 45%, rgba(10,35,64,.15) 100%),
              linear-gradient(0deg, rgba(10,35,64,.55) 0%, transparent 40%); }
.hero--slides .hero__skyline { z-index: 1; opacity: .9; }
.hero__dots { position: absolute; z-index: 3; left: 50%; transform: translateX(-50%); bottom: 150px; display: flex; gap: 10px; }
.hero__dots button { width: 11px; height: 11px; padding: 0; border-radius: 50%; border: 2px solid rgba(255,255,255,.85);
  background: transparent; cursor: pointer; transition: .3s; }
.hero__dots button.active { background: var(--gold); border-color: var(--gold); width: 28px; border-radius: 10px; }
@media (max-width: 760px) {
  .hero__shade { background: linear-gradient(0deg, rgba(10,35,64,.9) 0%, rgba(10,35,64,.55) 60%, rgba(10,35,64,.35) 100%); }
  .hero__dots { bottom: 130px; }
}
@media (prefers-reduced-motion: reduce) { .hero__slides img { transition: none; transform: none; } }

/* ================= Программа тура: дни раскрываются ================= */
.day summary { cursor: pointer; list-style: none; display: block; padding-right: 34px; position: relative; }
.day summary::-webkit-details-marker { display: none; }
.day summary span { font-weight: 600; color: var(--navy); }
.day summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -8px;
  border-right: 2px solid var(--teal); border-bottom: 2px solid var(--teal); transform: rotate(45deg); transition: transform .25s; }
.day[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.day summary:hover span { color: var(--teal); }
.day__text { margin-top: 10px; padding: 14px 16px; background: var(--sand); border-radius: 12px; color: var(--ink); animation: day-in .3s ease; }
.day__text p { margin: 0 0 .6em; }
.day__text p:last-child { margin: 0; }
@keyframes day-in { from { opacity: 0; transform: translateY(-6px); } }

/* ================= Картинки в шапке внутренних страниц ================= */
.page-hero:has(.hero__slides) { background: var(--navy); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero__shade { position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,35,64,.78) 0%, rgba(10,35,64,.62) 55%, rgba(10,35,64,.82) 100%); }

/* ================= Телефон с выбором страны ================= */
.phone-field { display: flex; gap: 8px; min-width: 0; }
.phone-field select { flex: 0 0 auto; width: 9.5em; max-width: 45%; text-overflow: ellipsis; }
.phone-field input { flex: 1 1 auto; min-width: 0; }

/* ================= «О нас»: фото рядом с текстом ================= */
.about-art--photos { background: var(--navy); }
.about-art--photos .hero__dots { bottom: 18px; }

/* ================= Бронирование ================= */
.bk__kinds { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.bk__kind { display: block !important; cursor: pointer; }
.bk__kind input { position: absolute; opacity: 0; pointer-events: none; }
.bk__kind span { display: block; text-align: center; padding: 11px 8px; border-radius: 12px; border: 1.5px solid var(--sand-2);
  font-weight: 600; font-size: .85rem; color: var(--navy); transition: .2s; }
.bk__kind input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.bk__kind input:focus-visible + span { box-shadow: 0 0 0 4px rgba(15,138,143,.2); }
.bk__part[hidden] { display: none !important; }
.bk__part { display: grid; gap: 14px; }
.bk__label { font-size: .88rem; color: var(--navy); }
.deps { display: grid; gap: 8px; max-height: 360px; overflow-y: auto; padding-right: 2px; }
.dep { display: grid !important; grid-template-columns: 1fr auto; gap: 2px 10px; align-items: center; padding: 10px 12px;
  border: 1.5px solid var(--sand-2); border-radius: 12px; cursor: pointer; font-weight: 400 !important; position: relative; transition: .2s; }
.dep input { position: absolute; opacity: 0; pointer-events: none; }
.dep__dates { font-weight: 600; color: var(--navy); font-size: .9rem; }
.dep__g { display: block; color: var(--green, #1b7a4b); font-weight: 600; font-size: .75rem; }
.dep__price { font-family: var(--serif); font-weight: 700; font-size: 1.25rem; color: var(--navy); text-align: right; font-variant-numeric: lining-nums; }
.dep__status { font-size: .78rem; color: var(--teal); font-weight: 600; }
.dep--few .dep__status { color: #c26a00; }
.dep--sold_out, .dep--closed { opacity: .55; cursor: not-allowed; }
.dep--sold_out .dep__status, .dep--closed .dep__status { color: var(--muted); }
.dep__btn { justify-self: end; font-size: .78rem; font-weight: 700; color: var(--teal); }
.dep:has(input:checked) { border-color: var(--teal); background: #eef8f7; box-shadow: 0 0 0 3px rgba(15,138,143,.12); }
.dep:has(input:checked) .dep__btn::before { content: "✓ "; }
.bk__total { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; background: var(--sand);
  border-radius: 12px; padding: 12px 14px; }
.bk__total span { font-weight: 600; color: var(--navy); }
.bk__total b { font-family: var(--serif); font-size: 1.6rem; color: var(--navy); font-variant-numeric: lining-nums; }
.bk__total small { grid-column: 1 / -1; color: var(--muted); font-size: .78rem; }
/* календарь */
.dp { position: relative; display: block; }
.dp__btn { width: 100%; text-align: left; padding: 13px 16px; border: 1.5px solid var(--sand-2); border-radius: 12px; background: var(--sand);
  font: inherit; color: var(--ink); cursor: pointer; }
.dp__btn.is-empty { color: var(--muted); }
.dp__btn:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(15,138,143,.12); }
.dp__pop { position: absolute; z-index: 30; top: calc(100% + 6px); left: 0; width: min(320px, 92vw); background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-lg); padding: 14px; font-weight: 400; }
.dp__pop[hidden] { display: none; }
.dp__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.dp__head b { color: var(--navy); }
.dp__nav { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--sand); color: var(--navy); font-size: 1.1rem; cursor: pointer; }
.dp__nav:disabled { opacity: .3; cursor: default; }
.dp__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; text-align: center; }
.dp__wd { font-size: .72rem; color: var(--muted); padding: 4px 0; }
.dp__day { border: 0; background: none; padding: 8px 0; border-radius: 10px; font: inherit; font-size: .9rem; cursor: pointer; color: var(--ink); }
.dp__day:hover:not(:disabled) { background: var(--sand); }
.dp__day:disabled { color: #c9c3b8; cursor: default; }
.dp__day.is-sel { background: var(--teal); color: #fff; font-weight: 700; }
.dp__day.is-today { box-shadow: inset 0 0 0 1.5px var(--gold); }
/* страница подтверждения */
.done { max-width: 640px; margin: 0 auto; text-align: center; }
.done__label { color: var(--muted); margin: 0; }
.done__code { font-family: var(--sans); font-size: 2.2rem; font-weight: 700; letter-spacing: 3px; color: var(--teal); margin: 4px 0 18px; }
.done__table { margin: 10px auto 18px; text-align: left; border-collapse: collapse; }
.done__table th { color: var(--muted); font-weight: 500; padding: 6px 18px 6px 0; }
.done__table td { padding: 6px 0; color: var(--navy); }
