/* ════════════════════════════════════════════════════════════
   КОНСТРУКТОР ТУРАГЕНТСТВ — базовый каркас дизайна
   Все цвета/радиусы/шрифты — токены из theme.css (генерируется
   из config.json клиента). Здесь НЕТ фирменных значений.
   Варианты шапки: body[data-header="pill" | "bar" | "center"]
   Стиль сайта:    body[data-style="modern" | "classic" | "premium"
                     | "rainbow" | "itaka" | "holidaycheck"
                     | "wakacje" | "travelata" | "multitour"]
   ════════════════════════════════════════════════════════════ */

*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior:smooth; overflow-x:clip; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01","cv11";
  overflow-x: hidden;
}
img { max-width:100%; display:block; }
a { text-decoration:none; color:inherit; }
section[id] { scroll-margin-top: 96px; }

/* shared mono "eyebrow" pill */
.eyebrow {
  display:inline-flex; align-items:center; gap:8px;
  font-family: var(--font-mono);
  font-size: 11.5px; font-weight:500; letter-spacing:.08em; text-transform:uppercase;
  color: var(--brand);
  background: var(--surface-3);
  border:1px solid var(--hairline);
  padding:6px 13px; border-radius: var(--r-pill);
}
.eyebrow .dot { width:6px; height:6px; border-radius:999px; background: var(--accent); }
[data-style="classic"] .eyebrow { font-family: var(--font); font-size:12px; letter-spacing:.05em; }

/* shared buttons */
.btn {
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  height:50px; padding:0 26px; border-radius: var(--r-btn);
  font-family: var(--font); font-size:15px; font-weight:600; white-space:nowrap;
  border:none; cursor:pointer; transition: background .18s, transform .12s, box-shadow .18s;
}
.btn-accent { background: var(--accent); color: var(--on-accent,#fff); box-shadow: var(--shadow-accent); }
.btn-accent:hover { background: var(--accent-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; color:#fff; border:1px solid rgba(255,255,255,.35); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-line { background:#fff; color: var(--brand); border:1px solid var(--hairline-2); }
.btn-line:hover { background: var(--surface-3); }

/* ── HEADER (базовый вариант: pill — плавающая «таблетка») ── */
header { position: sticky; top:0; z-index:200; padding:16px 0 0; }
.hdr {
  max-width: 1180px; margin: 0 auto; padding: 9px 12px 9px 22px;
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border:1px solid var(--hairline);
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-md);
}
.logo { display:flex; align-items:center; gap:11px; }
.logo-gem { height:var(--logo-h,32px); width:auto; display:block; }
/* форма логотипа-картинки */
.logo--rect { border-radius:0; }
.logo--rounded { border-radius:8px; }
.logo--square { width:var(--logo-h,32px); height:var(--logo-h,32px); object-fit:cover; border-radius:8px; }
.logo--circle { width:var(--logo-h,32px); height:var(--logo-h,32px); object-fit:cover; border-radius:50%; }
.logo-word {
  font-family: var(--font); font-weight:600; font-size:18px; line-height:1;
  letter-spacing:-0.01em; color:var(--ink);
}
.logo-word b { font-weight:600; color: var(--brand); }

.dnav { display:flex; gap:30px; }
.dnav a { font-size:14px; font-weight:450; color:var(--muted); transition: color .15s; }
.dnav a:hover { color: var(--ink); }
.dnav a.act { color: var(--brand); font-weight:600; }

.hdr-actions { display:flex; align-items:center; gap:10px; }
.hdr-cta {
  display:inline-flex; align-items:center; gap:8px;
  height:44px; padding:0 20px; border-radius: var(--r-btn);
  background: var(--accent); color: var(--on-accent,#fff);
  font-size:14px; font-weight:600; white-space:nowrap;
  box-shadow: var(--shadow-accent);
  transition: background .18s, transform .12s;
}
.hdr-cta:hover { background: var(--accent-deep); transform: translateY(-1px); }
.hdr-cta svg { width:16px; height:16px; stroke-width:1.9; flex:none; }

/* burger (mobile only) */
.burger {
  display:none; width:44px; height:44px; flex:none;
  border-radius: var(--r-btn); border:1px solid var(--hairline);
  background:#fff; cursor:pointer; position:relative;
}
.burger span {
  position:absolute; left:13px; right:13px; height:2px; border-radius:2px;
  background: var(--brand); transition: transform .22s, opacity .18s, top .22s;
}
.burger span:nth-child(1) { top:16px; }
.burger span:nth-child(2) { top:21px; }
.burger span:nth-child(3) { top:26px; }
body.nav-open .burger span:nth-child(1) { top:21px; transform: rotate(45deg); }
body.nav-open .burger span:nth-child(2) { opacity:0; }
body.nav-open .burger span:nth-child(3) { top:21px; transform: rotate(-45deg); }

/* mobile menu panel */
.mnav {
  display:none;
  max-width: 1180px; margin: 10px auto 0; padding: 10px;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border:1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  flex-direction:column; gap:2px;
}
body.nav-open .mnav { display:flex; }
.mnav a {
  padding:13px 16px; border-radius: var(--r-sm);
  font-size:15px; font-weight:500; color: var(--ink);
  transition: background .15s, color .15s;
}
.mnav a:hover { background: var(--surface-3); color: var(--brand); }
.mnav a.act { background: var(--surface-3); color: var(--brand); font-weight:600; }
.mnav .mnav-tel {
  margin-top:6px; background: var(--accent); color: var(--on-accent,#fff); text-align:center;
  font-weight:600; box-shadow: var(--shadow-accent);
}
.mnav .mnav-tel:hover { background: var(--accent-deep); color: var(--on-accent,#fff); }

/* ── вариант шапки: bar — строгая полноширинная полоса ── */
[data-header="bar"] header { padding:0; }
[data-header="bar"] .hdr {
  max-width:none; border-radius:0; border:none;
  border-bottom:1px solid var(--hairline); box-shadow:none;
  background: rgba(255,255,255,.88);
  padding-top:12px; padding-bottom:12px;
  padding-left: max(24px, calc((100% - var(--container)) / 2 + 24px));
  padding-right: max(24px, calc((100% - var(--container)) / 2 + 24px));
}
[data-header="bar"] .mnav { max-width:none; margin:0; border-radius:0 0 var(--r-lg) var(--r-lg); }

/* ── вариант шапки: center — логотип по центру, навигация под ним ── */
[data-header="center"] header { padding:0; }
[data-header="center"] .hdr {
  max-width:none; border-radius:0; border:none;
  border-bottom:1px solid var(--hairline); box-shadow:none;
  background: rgba(255,255,255,.92);
  display:grid; grid-template-columns:1fr auto 1fr;
  grid-template-areas:"left logo right" "nav nav nav";
  padding-top:14px; padding-bottom:0;
  padding-left: max(24px, calc((100% - var(--container)) / 2 + 24px));
  padding-right: max(24px, calc((100% - var(--container)) / 2 + 24px));
}
[data-header="center"] .logo { grid-area:logo; justify-self:center; }
[data-header="center"] .hdr-actions { grid-area:right; justify-self:end; }
[data-header="center"] .dnav {
  grid-area:nav; justify-content:center; gap:34px; width:100%;
  border-top:1px solid var(--hairline); margin-top:12px; padding:13px 0;
}
[data-header="center"] .mnav { max-width:none; margin:0; border-radius:0 0 var(--r-lg) var(--r-lg); }

/* ── HERO (главная) ── */
.hero {
  height: 46vh; min-height:380px; max-height:520px;
  position:relative; overflow:hidden;
  display:flex; align-items:center; justify-content:center; text-align:center;
}
.hero-bg {
  position:absolute; inset:0;
  background-color: var(--ink-deep);
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.hero-bg::after {
  content:''; position:absolute; inset:0;
  background: var(--hero-overlay);
}
.hero-body { position:relative; z-index:2; max-width:880px; padding: 0 24px 70px; }
.hero .eyebrow {
  background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.22);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero h1 {
  margin:16px 0 0; color:#fff;
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(32px, 4.4vw, 54px); line-height:1.06; letter-spacing: var(--head-tracking);
  text-wrap: balance;
}
.hero h1 i { font-style: normal; color: var(--accent); }
[data-style="premium"] .hero h1 i, [data-style="premium"] .page-hero h1 i { font-style: italic; }
.hero-sub {
  margin:14px auto 0; max-width:540px;
  font-size:16px; font-weight:400; color: rgba(255,255,255,.82); line-height:1.5;
}

/* ── PAGE HERO (внутренние страницы) ── */
.page-hero {
  position:relative; overflow:hidden; text-align:center;
  background: var(--grad-page-hero);
  padding: clamp(64px, 8vw, 104px) 0 clamp(96px, 11vw, 140px);
}
.page-hero::after {
  content:''; position:absolute; inset:auto 0 0;
  height:120px;
  background: var(--page-hero-fade);
  pointer-events:none;
}
.page-hero .wrap { position:relative; z-index:2; }
.page-hero .eyebrow {
  background: rgba(255,255,255,.10); color:#fff; border-color: rgba(255,255,255,.20);
}
.page-hero h1 {
  margin:16px auto 0; color:#fff; max-width:760px;
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(30px, 4vw, 50px); line-height:1.08; letter-spacing: var(--head-tracking);
  text-wrap: balance;
}
.page-hero h1 i { font-style:normal; color: var(--accent); }
.page-hero p {
  margin:14px auto 0; max-width:560px;
  font-size:16px; color: rgba(255,255,255,.78); line-height:1.55;
}

/* ── SEARCH SECTION (Otpusk onsite) ── */
.search-section { position:relative; z-index:50; margin-top:-84px; }
.search-widget { position:relative; }

/* ── SECTION COMMONS ── */
.sec { padding: clamp(72px,9vw,120px) 0; position:relative; }
.sec-tight { padding: clamp(48px,6vw,80px) 0; position:relative; }
/* подряд идущие витрины горящих туров — без двойной пустоты между ними */
.sec-hot + .sec-hot { padding-top:0; }
.sec-warm { background: var(--bg-tint); }
.wrap { max-width: var(--container); margin:0 auto; padding:0 24px; position:relative; }

.sh { display:flex; justify-content:space-between; align-items:flex-end; gap:24px; margin-bottom:42px; }
.sh-center { flex-direction:column; align-items:center; text-align:center; }
.stitle {
  font-family: var(--font-head); font-weight: var(--head-weight); color: var(--ink);
  font-size: clamp(30px,3.6vw,46px); line-height:1.08; letter-spacing: var(--head-tracking);
}
.stitle span { color: var(--brand); }
.ssub { font-size:15px; color: var(--muted); margin-top:10px; }
.see-all {
  display:inline-flex; align-items:center; gap:7px;
  font-family: var(--font-mono); font-size:12px; font-weight:500; letter-spacing:.04em;
  color: var(--brand); white-space:nowrap; transition:gap .15s, color .15s;
}
.see-all::after { content:'→'; font-size:14px; }
.see-all:hover { gap:11px; color: var(--accent); }

/* ── PACKAGE CARDS ── */
.cards { display:grid; grid-template-columns: repeat(4,1fr); gap:22px; }
.card {
  background: var(--surface); border-radius: var(--r-lg);
  border:1px solid var(--hairline); box-shadow: var(--shadow-sm);
  overflow:hidden; cursor:pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-img { height:196px; overflow:hidden; position:relative; }
.card-img img { width:100%; height:100%; object-fit:cover; transition: transform .5s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-badge {
  position:absolute; top:12px; left:12px;
  font-family: var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.02em;
  color: var(--on-accent,#fff); background: var(--accent); padding:5px 11px; border-radius: var(--r-pill);
  box-shadow: var(--shadow-accent);
}
.card-body { padding:18px 20px 20px; }
.card-dest {
  font-family: var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.06em; text-transform:uppercase;
  color: var(--brand); margin-bottom:7px;
}
.card-name { font-weight:600; font-size:18px; color: var(--ink); line-height:1.25; letter-spacing:-0.01em; margin-bottom:8px; }
.card-meta { font-size:13px; color: var(--muted); }

/* ── DESTINATIONS bento grid ── */
.dest-grid { display:grid; grid-template-columns: repeat(12,1fr); grid-template-rows: 300px 230px; gap:16px; }
.dc { position:relative; overflow:hidden; cursor:pointer; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display:block; }
.dc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.dc:nth-child(1) { grid-column: span 5; grid-row: span 2; }
.dc:nth-child(2) { grid-column: span 4; }
.dc:nth-child(3) { grid-column: span 3; }
.dc:nth-child(4) { grid-column: span 3; }
.dc:nth-child(5) { grid-column: span 4; }
.dc-bg { width:100%; height:100%; background-size:cover; background-position:center; display:flex; align-items:flex-end; padding:24px; position:relative; transition: transform .5s; }
.dc:hover .dc-bg { transform: scale(1.05); }
.dc-bg::after { content:''; position:absolute; inset:0; background: var(--card-overlay); }
.dc-info { position:relative; z-index:2; }
.dc-tag { font-family: var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.06em; text-transform:uppercase; color: var(--accent-soft-text); margin-bottom:5px; }
.dc-name { font-weight:600; font-size:26px; color:#fff; line-height:1.1; letter-spacing:-0.02em; }
.dc:nth-child(1) .dc-name { font-size:40px; }
.dc-price { font-size:13px; color: rgba(255,255,255,.80); margin-top:5px; }

/* uniform destinations grid */
.dest-all { display:grid; grid-template-columns: repeat(4,1fr); gap:16px; }
.dest-all .dc { height:230px; }
.dest-all .dc:nth-child(n) { grid-column:auto; grid-row:auto; }
.dest-all .dc .dc-name { font-size:26px; }

/* ── FEATURES ── */
.feats { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.feats--3 { grid-template-columns: repeat(3,1fr); }
.feat {
  background: var(--surface); border:1px solid var(--hairline);
  border-radius: var(--r-lg); padding:28px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-ic {
  width:52px; height:52px; border-radius: var(--r-md);
  background: var(--surface-3); color: var(--brand);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.feat-ic svg { width:24px; height:24px; stroke-width:1.8; }
.feat h3 { font-size:17px; font-weight:600; letter-spacing:-0.01em; margin-bottom:8px; }
.feat p { font-size:14px; color: var(--muted); line-height:1.6; }

/* ── STATS band ── */
.stats {
  background: var(--grad-stats);
  border-radius: var(--r-xl);
  padding: clamp(40px,5vw,64px) clamp(28px,5vw,72px);
  display:grid; grid-template-columns: repeat(4,1fr); gap:32px;
  position:relative; overflow:hidden;
}
.stat { text-align:center; }
.stat-num {
  font-family: var(--font-head); font-weight: var(--head-weight);
  font-size: clamp(34px,3.6vw,50px); letter-spacing: var(--head-tracking); color:#fff; line-height:1;
}
.stat-num i { font-style:normal; color: var(--accent); }
.stat-lbl {
  margin-top:10px; font-family: var(--font-mono); font-size:11px; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase; color: var(--on-dark-muted);
}

/* ── STEPS ── */
.steps { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; counter-reset: step; }
.step {
  position:relative; background: var(--surface); border:1px solid var(--hairline);
  border-radius: var(--r-lg); padding:30px 28px; box-shadow: var(--shadow-sm);
}
.step-num {
  font-family: var(--font-mono); font-weight:600; font-size:13px;
  width:40px; height:40px; border-radius: var(--r-pill);
  background: var(--accent); color: var(--on-accent,#fff); box-shadow: var(--shadow-accent);
  display:flex; align-items:center; justify-content:center; margin-bottom:18px;
}
.step h3 { font-size:17px; font-weight:600; letter-spacing:-0.01em; margin-bottom:8px; }
.step p { font-size:14px; color: var(--muted); line-height:1.6; }

/* ── TESTIMONIALS ── */
.tsts { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.tst {
  background: var(--surface); border:1px solid var(--hairline);
  border-radius: var(--r-lg); padding:28px 26px; box-shadow: var(--shadow-sm);
  display:flex; flex-direction:column; gap:16px;
}
.tst-stars { color: var(--warn); font-size:13px; letter-spacing:2px; }
.tst-text { font-size:14.5px; line-height:1.65; color: var(--ink); flex:1; }
.tst-who { display:flex; align-items:center; gap:12px; }
.tst-av {
  width:42px; height:42px; border-radius: var(--r-pill); flex:none;
  background: var(--grad-av-1);
  color:#fff; font-weight:600; font-size:14px;
  display:flex; align-items:center; justify-content:center;
}
.tst-av.alt { background: var(--grad-av-2); color: var(--on-accent,#fff); }
.tst-name { font-size:14px; font-weight:600; }
.tst-meta { font-size:12px; color: var(--muted-2); }

/* ── CTA band ── */
.cta {
  position:relative; overflow:hidden; border-radius: var(--r-xl);
  background: var(--grad-cta);
  padding: clamp(48px,6vw,80px) clamp(28px,6vw,80px);
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
}
.cta h2 {
  color:#fff; font-family: var(--font-head); font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking); line-height:1.12;
  font-size: clamp(26px,3.2vw,40px); max-width:560px; text-wrap:balance;
}
.cta h2 i { font-style:normal; color: var(--accent); }
[data-style="premium"] .cta h2 i { font-style:italic; }
.cta p { margin-top:12px; color: rgba(255,255,255,.75); font-size:15px; max-width:480px; }
.cta-actions { display:flex; gap:12px; flex-wrap:wrap; }

/* ── ABOUT — story split ── */
.about-split { display:grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px,5vw,72px); align-items:center; }
.about-media { position:relative; }
.about-media img {
  width:100%; height:460px; object-fit:cover;
  border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.about-chip {
  position:absolute; bottom:22px; left:22px;
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border:1px solid var(--hairline); border-radius: var(--r-md);
  padding:14px 18px; box-shadow: var(--shadow-md);
}
.about-chip b { display:block; font-size:22px; font-weight:600; letter-spacing:-0.02em; color: var(--brand); }
.about-chip span { font-size:12px; color: var(--muted); }
.about-copy h2 {
  font-family: var(--font-head); font-weight: var(--head-weight);
  letter-spacing: var(--head-tracking); line-height:1.1;
  font-size: clamp(28px,3.2vw,42px); margin:14px 0 18px;
}
.about-copy h2 span { color: var(--brand); }
.about-copy p { font-size:15.5px; color: var(--muted); line-height:1.75; margin-bottom:14px; }
.about-copy p b { color: var(--ink); font-weight:600; }

/* team */
.team { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.tm {
  background: var(--surface); border:1px solid var(--hairline); border-radius: var(--r-lg);
  padding:28px 24px; text-align:center; box-shadow: var(--shadow-sm);
}
.tm-av {
  width:72px; height:72px; margin:0 auto 16px; border-radius: var(--r-pill);
  background: var(--grad-av-1);
  color:#fff; font-weight:600; font-size:22px;
  display:flex; align-items:center; justify-content:center;
}
.tm:nth-child(even) .tm-av { background: var(--grad-av-2); color: var(--on-accent,#fff); }
.tm-photo { padding:0; object-fit:cover; }
.tm:nth-child(even) .tm-photo { background: none; }
.tm-name { font-size:16px; font-weight:600; }
.tm-role { font-family: var(--font-mono); font-size:11px; letter-spacing:.06em; text-transform:uppercase; color: var(--muted-2); margin-top:5px; }
.tm-phone { display:inline-block; margin-top:10px; font-family: var(--font-mono); font-size:12px; color: var(--brand); text-decoration:none; }
.tm-phone:hover { color: var(--accent-deep, var(--accent)); }
.tm-bio { margin-top:12px; font-size:13px; line-height:1.6; color: var(--muted); }
/* карточка во всю ширину (напр. основатель): аватар слева, текст справа */
.tm--wide { grid-column: 1 / -1; display:flex; align-items:center; gap:28px; text-align:left; padding:28px 32px; }
.tm--wide .tm-av { width:92px; height:92px; margin:0; flex-shrink:0; font-size:28px; }
.tm--wide .tm-info { flex:1; }
.tm--wide .tm-name { font-size:20px; }
.tm--wide .tm-bio { max-width:62ch; }
/* выравнивание wide-карточек */
.tm--walign-center { justify-content:center; }
.tm--walign-center .tm-info { flex:0 0 auto; text-align:center; }
.tm--walign-center .tm-av { margin:0; }
.tm--walign-spread .tm-bio { max-width:none; }

/* ── CONTACT ── */
.contact-cards { display:grid; grid-template-columns: repeat(4,1fr); gap:18px; }
.cc {
  background: var(--surface); border:1px solid var(--hairline); border-radius: var(--r-lg);
  padding:26px 24px; box-shadow: var(--shadow-sm);
  transition: transform .2s, box-shadow .2s; display:block;
}
a.cc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cc-ic {
  width:46px; height:46px; border-radius: var(--r-md);
  background: var(--surface-3); color: var(--brand);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.cc-ic svg { width:21px; height:21px; stroke-width:1.8; }
.cc-lbl { font-family: var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color: var(--muted-2); margin-bottom:6px; }
.cc-val { font-size:16px; font-weight:600; letter-spacing:-0.01em; line-height:1.35; }
.cc-sub { font-size:13px; color: var(--muted); margin-top:4px; }

.contact-split { display:grid; grid-template-columns: 1fr 1.1fr; gap:24px; align-items:stretch; }
.cform {
  background: var(--surface); border:1px solid var(--hairline); border-radius: var(--r-xl);
  padding: clamp(26px,3.5vw,40px); box-shadow: var(--shadow-md);
}
.cform h3 { font-size:22px; font-weight:600; letter-spacing:-0.02em; margin-bottom:6px; }
.cform > p { font-size:14px; color: var(--muted); margin-bottom:22px; }
.frow { display:grid; grid-template-columns:1fr 1fr; gap:14px; margin-bottom:14px; }
.fgrp { display:flex; flex-direction:column; gap:7px; }
.fgrp.full { grid-column: 1 / -1; }
.fgrp label {
  font-family: var(--font-mono); font-size:10.5px; font-weight:500;
  letter-spacing:.1em; text-transform:uppercase; color: var(--muted-2);
}
.fgrp input, .fgrp textarea, .fgrp select {
  font-family: var(--font); font-size:15px; color: var(--ink);
  background: var(--surface-2); border:1px solid var(--hairline);
  border-radius: var(--r-field); padding:13px 16px; outline:none; width:100%;
  transition: border-color .15s, background .15s, box-shadow .15s;
}
.fgrp textarea { min-height:120px; resize:vertical; }
.fgrp input:focus, .fgrp textarea:focus, .fgrp select:focus {
  border-color: var(--brand-3); background:#fff;
  box-shadow: 0 0 0 3px var(--focus-ring);
}
.cform .btn { width:100%; margin-top:6px; }
.cform-note { margin-top:12px; font-size:12px; color: var(--muted-2); text-align:center; }
.cform-note a { color: var(--brand); font-weight:500; }

.cmap {
  border-radius: var(--r-xl); overflow:hidden; border:1px solid var(--hairline);
  box-shadow: var(--shadow-md); min-height:420px; position:relative;
}
.cmap iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }

/* ── DOCUMENTS ── */
.docs { display:grid; grid-template-columns: repeat(3,1fr); gap:18px; }
.doc {
  background: var(--surface); border:1px solid var(--hairline); border-radius: var(--r-lg);
  padding:26px 24px; box-shadow: var(--shadow-sm); display:flex; flex-direction:column; gap:0;
  transition: transform .2s, box-shadow .2s;
}
.doc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.doc-ic {
  width:46px; height:46px; border-radius: var(--r-md);
  background: var(--accent-soft); color: var(--accent-deep);
  display:flex; align-items:center; justify-content:center; margin-bottom:16px;
}
.doc-ic svg { width:21px; height:21px; stroke-width:1.8; }
/* превью первой страницы PDF (рендерится pdf.js на клиенте) */
.doc-prev {
  display:none; position:relative; margin:-26px -24px 18px; height:170px; overflow:hidden;
  border-bottom:1px solid var(--hairline); border-radius: var(--r-lg) var(--r-lg) 0 0;
  background: var(--surface-3);
}
.doc-prev.ready { display:block; }
.doc-prev canvas { width:100%; height:auto; display:block; }
.doc-prev::after { content:''; position:absolute; inset:auto 0 0; height:40px;
  background: linear-gradient(transparent, rgba(0,0,0,.06)); }
/* превью документа-картинки (лицензия, бревет, полиса…) — в той же ячейке */
.doc-prev--img { display:block; }
.doc-prev--img img { width:100%; height:100%; object-fit:cover; display:block; }
.doc h3 { font-size:16.5px; font-weight:600; letter-spacing:-0.01em; margin-bottom:7px; }
.doc p { font-size:13.5px; color: var(--muted); line-height:1.6; flex:1; margin-bottom:16px; }
.doc .see-all { font-size:11.5px; }
/* лайтбокс просмотра PDF (открытие для чтения вместо скачивания) */
.pdf-lb {
  display:none; position:fixed; inset:0; z-index:1000;
  background: rgba(20,12,30,.62); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  padding: clamp(12px,3vw,40px);
}
.pdf-lb.open { display:flex; align-items:center; justify-content:center; }
body.pdf-lb-open { overflow:hidden; }
.pdf-lb__bd {
  position:relative; width:min(960px,100%); height:100%;
  background: var(--surface-3,#eee); border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  overflow:hidden; display:flex; flex-direction:column;
}
.pdf-lb__bar {
  display:flex; justify-content:flex-end; gap:8px; align-items:center;
  padding:8px 10px; background: var(--ink); flex:none;
}
.pdf-lb__pages {
  flex:1; overflow-y:auto; -webkit-overflow-scrolling:touch;
  padding: clamp(10px,2vw,22px); display:flex; flex-direction:column; gap:14px; align-items:center;
}
.pdf-lb__page {
  width:100%; max-width:820px; height:auto; display:block;
  background:#fff; border-radius:6px; box-shadow: var(--shadow-md);
}
.pdf-lb__spin {
  width:36px; height:36px; margin:48px auto; border-radius:50%;
  border:3px solid rgba(255,255,255,.25); border-top-color:#fff; animation: pdflb-spin .8s linear infinite;
}
@keyframes pdflb-spin { to { transform: rotate(360deg); } }
.pdf-lb__dl, .pdf-lb__x {
  width:38px; height:38px; border:0; border-radius:50%; cursor:pointer; text-decoration:none;
  background: rgba(255,255,255,.14); color:#fff; font-size:20px; line-height:1;
  display:flex; align-items:center; justify-content:center; transition: background .15s;
}
.pdf-lb__x { font-size:24px; }
.pdf-lb__dl:hover, .pdf-lb__x:hover { background: var(--accent); color: var(--on-accent,#fff); }

/* legal text blocks */
.legal { max-width:860px; margin:0 auto; }
.legal-block {
  background: var(--surface); border:1px solid var(--hairline); border-radius: var(--r-lg);
  padding: clamp(26px,3.5vw,40px); box-shadow: var(--shadow-sm); margin-bottom:18px;
  scroll-margin-top: 110px;
}
.legal-block h2 { font-family: var(--font-head); font-weight: var(--head-weight); font-size:22px; letter-spacing:-0.02em; margin-bottom:14px; }
.legal-block h2 span { color: var(--brand); }
.legal-block p { font-size:14.5px; color: var(--muted); line-height:1.75; margin-bottom:12px; }
.legal-block p:last-child { margin-bottom:0; }
.legal-block ul { margin:0 0 12px 20px; }
.legal-block li { font-size:14.5px; color: var(--muted); line-height:1.75; margin-bottom:6px; }
.legal-block b { color: var(--ink); font-weight:600; }
.legal-block a { color: var(--brand); font-weight:500; }

/* ── BLOG: список статей ── */
.blog-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:22px; }
.post-card {
  display:flex; flex-direction:column; overflow:hidden;
  background: var(--surface); border:1px solid var(--hairline); border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-cover { display:block; height:190px; background: var(--surface-3); overflow:hidden; }
.post-cover img { width:100%; height:100%; object-fit:cover; display:block; }
.post-cover--empty { background: var(--grad-page-hero, var(--surface-3)); }
.post-body { display:flex; flex-direction:column; flex:1; padding:22px 22px 24px; }
.post-body h3 { font-size:18px; font-weight:600; letter-spacing:-0.01em; line-height:1.3; margin-bottom:9px; }
.post-body p { font-size:13.5px; color: var(--muted); line-height:1.6; flex:1; margin-bottom:14px; }
.post-body .see-all { font-size:12px; }
.blog-empty { color: var(--muted); font-size:15px; }

/* ── BLOG: страница статьи ── */
.article-hero { padding-bottom: clamp(64px,8vw,96px); }
.article-wrap { max-width:760px; margin:0 auto; padding-top:40px; padding-bottom:20px; }
.article-cover { margin:-104px 0 28px; border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-md); position:relative; z-index:2; }
.article-cover img { width:100%; height:auto; display:block; }
.article .prose { font-size:16px; color: var(--ink); line-height:1.8; }
.article .prose h2 { font-family: var(--font-head); font-weight: var(--head-weight); font-size:24px; letter-spacing:-0.02em; margin:32px 0 14px; }
.article .prose h3 { font-size:19px; font-weight:600; margin:26px 0 12px; }
.article .prose p { margin:0 0 16px; }
.article .prose ul, .article .prose ol { margin:0 0 16px 22px; }
.article .prose li { margin-bottom:6px; line-height:1.7; }
.article .prose a { color: var(--brand); font-weight:500; }
.article .prose img { max-width:100%; height:auto; border-radius: var(--r-md); margin:8px 0; }
.article-fig { margin:26px 0; }
.article-fig img { width:100%; height:auto; display:block; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.article-fig figcaption { font-size:13px; color: var(--muted); text-align:center; margin-top:10px; }
.article-gallery { display:grid; grid-template-columns: repeat(2,1fr); gap:12px; margin:26px 0; }
.article-gallery img { width:100%; height:240px; object-fit:cover; display:block; border-radius: var(--r-md); }
.article-quote { margin:28px 0; padding:18px 24px; border-left:3px solid var(--accent); background: var(--surface-3); border-radius:0 var(--r-md) var(--r-md) 0; }
.article-quote p { font-size:18px; font-style:italic; color: var(--ink); line-height:1.6; margin:0; }
.article-quote cite { display:block; margin-top:10px; font-size:13.5px; font-style:normal; color: var(--muted); }
.article-video { position:relative; padding-top:56.25%; margin:26px 0; border-radius: var(--r-lg); overflow:hidden; box-shadow: var(--shadow-sm); }
.article-video iframe { position:absolute; inset:0; width:100%; height:100%; border:0; }
.article-back { display:inline-block; margin-top:32px; font-size:14px; font-weight:500; color: var(--brand); }

/* info ribbon (reg data) */
.reg-ribbon {
  display:grid; grid-template-columns: repeat(4,1fr); gap:18px;
  background: var(--surface); border:1px solid var(--hairline); border-radius: var(--r-lg);
  padding:26px 28px; box-shadow: var(--shadow-sm);
}
.reg-item .cc-lbl { margin-bottom:4px; }
.reg-item .cc-val { font-size:15px; }

/* ── FOOTER ── */
footer { background: var(--ink-deep); color: var(--on-dark-muted); padding: 64px 0 30px; position:relative; overflow:hidden; }
.ft { max-width: var(--container); margin:0 auto; padding:0 24px; position:relative; z-index:1; }
.ft-top { display:grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap:48px; margin-bottom:44px; }
.ft-logo { margin-bottom:18px; gap:11px; }
.ft-logo .logo-gem { height:var(--logo-fh,34px); }
.ft-logo .logo-word { color:#fff; font-size:19px; }
.ft-logo .logo-word b { color: var(--accent); }
.ft-desc { font-size:14px; line-height:1.75; margin-bottom:22px; color: var(--on-dark-muted); max-width:340px; }
.ft-soc { display:flex; gap:9px; }
.fs {
  width:38px; height:38px; border-radius: var(--r-sm); border:1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-mono); font-size:11px; font-weight:500; color: rgba(255,255,255,.6);
  transition: all .18s;
}
.fs:hover { border-color: var(--accent); color: var(--on-accent,#fff); background: var(--accent); }
.fs--ic svg { width:18px; height:18px; display:block; }
.ft-col h4 { font-family: var(--font-mono); font-size:11px; font-weight:500; letter-spacing:.08em; text-transform:uppercase; color: rgba(255,255,255,.85); margin-bottom:16px; }
.ft-links { list-style:none; display:flex; flex-direction:column; gap:10px; }
.ft-links a { font-size:14px; color: var(--on-dark-muted); transition: color .15s; }
.ft-links a:hover { color: var(--accent); }
.ft-trust { border-top:1px solid rgba(255,255,255,.08); padding:20px 0; }
.ft-trust-pay { display:flex; justify-content:center; align-items:center; gap:12px; margin-bottom:16px; }
.ft-pay-img { height:30px; width:auto; display:block; }
.ft-trust-anpc { display:flex; justify-content:center; align-items:center; gap:14px; flex-wrap:wrap; }
.ft-anpc-img { height:38px; width:auto; display:block; }
.ft-bot { border-top:1px solid rgba(255,255,255,.08); padding-top:22px; display:flex; justify-content:space-between; align-items:center; gap:16px; flex-wrap:wrap; }
.ft-copy { font-size:12px; color: rgba(255,255,255,.45); }
.ft-phone { font-weight:600; font-size:17px; color:#fff; }

/* decorative blobs (отключаются пресетом: --blob-a/b = transparent) */
.blob { position:absolute; border-radius:50%; pointer-events:none; z-index:0; filter: blur(90px); }
.blob--a { background: var(--blob-a); }
.blob--b { background: var(--blob-b); }

/* ════════ ПРЕСЕТЫ ПО МОТИВАМ ТРЕВЕЛ-САЙТОВ ════════
   Фирменные штрихи каждого стиля; палитра — токены theme.css */

/* ── Rainbow (r.pl): радужная полоса над шапкой, сочные кнопки ── */
[data-style="rainbow"] header::before {
  content:''; display:block; height:4px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand-3) 35%, var(--accent) 65%, var(--accent-deep) 100%);
}
[data-style="rainbow"] .dnav a.act { position:relative; }
[data-style="rainbow"] .dnav a.act::after {
  content:''; position:absolute; left:0; right:0; bottom:-9px; height:3px;
  border-radius:2px; background: var(--accent);
}
[data-style="rainbow"] .btn, [data-style="rainbow"] .hdr-cta { font-weight:700; }
[data-style="rainbow"] .eyebrow { background: var(--brand); color:#fff; border-color: var(--brand); }
[data-style="rainbow"] .card-badge { border-radius:6px; font-family: var(--font); font-weight:700; letter-spacing:0; }

/* ── Itaka (itaka.pl): тёмная шапка, прописная навигация, плоские карточки ── */
[data-style="itaka"] .hdr { background: rgba(34,34,41,.94); border-color: rgba(255,255,255,.08); }
[data-style="itaka"] .logo-word { color:#fff; }
[data-style="itaka"] .logo-word b { color: var(--accent); }
[data-style="itaka"] .dnav a {
  color: rgba(255,255,255,.70);
  font-size:12.5px; font-weight:600; letter-spacing:.07em; text-transform:uppercase;
}
[data-style="itaka"] .dnav a:hover, [data-style="itaka"] .dnav a.act { color:#fff; }
[data-style="itaka"] .burger { background:transparent; border-color: rgba(255,255,255,.25); }
[data-style="itaka"] .burger span { background:#fff; }
[data-style="itaka"] .mnav { background: rgba(34,34,41,.97); border-color: rgba(255,255,255,.08); }
[data-style="itaka"] .mnav a { color: rgba(255,255,255,.85); }
[data-style="itaka"] .mnav a:hover, [data-style="itaka"] .mnav a.act { background: rgba(255,255,255,.08); color:#fff; }
[data-style="itaka"] .eyebrow {
  background:transparent; border:none; padding:0; border-radius:0;
  letter-spacing:.16em; color: var(--accent);
}
[data-style="itaka"] .card, [data-style="itaka"] .feat, [data-style="itaka"] .step,
[data-style="itaka"] .tst, [data-style="itaka"] .cc, [data-style="itaka"] .doc,
[data-style="itaka"] .tm, [data-style="itaka"] .reg-ribbon { box-shadow:none; }
[data-style="itaka"] .card:hover, [data-style="itaka"] .feat:hover,
[data-style="itaka"] a.cc:hover, [data-style="itaka"] .doc:hover {
  transform: translateY(-2px); box-shadow:none; border-color: var(--hairline-2);
}
[data-style="itaka"] .see-all { color: var(--accent); }

/* ── HolidayCheck (holidaycheck.de): солнечные пилюли, крупные звёзды отзывов ── */
[data-style="holidaycheck"] .eyebrow { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
[data-style="holidaycheck"] .eyebrow .dot { background: var(--on-accent); }
[data-style="holidaycheck"] .btn, [data-style="holidaycheck"] .hdr-cta { font-weight:700; }
[data-style="holidaycheck"] .feat-ic, [data-style="holidaycheck"] .cc-ic, [data-style="holidaycheck"] .doc-ic {
  border-radius:999px; background: var(--accent-soft); color: var(--brand);
}
[data-style="holidaycheck"] .tst-stars { font-size:16px; letter-spacing:3px; }
[data-style="holidaycheck"] .dnav a { font-weight:550; }

/* ── Wakacje (wakacje.pl): плотный промо-ритм, ценовые плашки ── */
[data-style="wakacje"] .sec { padding: clamp(60px,7.5vw,96px) 0; }
[data-style="wakacje"] .cards { gap:18px; }
[data-style="wakacje"] .card-img { height:178px; }
[data-style="wakacje"] .card-badge { border-radius:6px; font-family: var(--font); font-weight:700; letter-spacing:0; }
[data-style="wakacje"] .dnav a.act { position:relative; }
[data-style="wakacje"] .dnav a.act::after {
  content:''; position:absolute; left:0; right:0; bottom:-9px; height:3px;
  border-radius:2px; background: var(--accent);
}
[data-style="wakacje"] .btn, [data-style="wakacje"] .hdr-cta { font-weight:600; }
[data-style="wakacje"] .stitle span { color: var(--brand); }

/* ── Travelata (travelata.ru): тёплый оранжевый CTA, дружелюбные формы ── */
[data-style="travelata"] .eyebrow { background: var(--accent-soft); border-color: transparent; color: var(--accent-deep); }
[data-style="travelata"] .eyebrow .dot { background: var(--accent); }
[data-style="travelata"] .feat-ic, [data-style="travelata"] .cc-ic { border-radius:999px; }
[data-style="travelata"] .see-all { color: var(--accent-deep); }
[data-style="travelata"] .see-all:hover { color: var(--accent); }

/* ── Multitour (multitour.pl): фиолетовые градиенты, градиентные заголовки ── */
[data-style="multitour"] .stitle span {
  background: linear-gradient(95deg, var(--brand-3), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
[data-style="multitour"] .logo-word b { color: var(--accent); }
[data-style="multitour"] .eyebrow { color: var(--brand-3); }
[data-style="multitour"] .dnav a.act { color: var(--brand-3); }

/* ════════ RESPONSIVE ════════ */
@media (max-width: 1080px) {
  .feats, .contact-cards, .team { grid-template-columns: repeat(2,1fr); }
  .dest-all { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 980px) {
  .dnav { display:none; }
  .burger { display:block; }
  [data-header="center"] .hdr { display:flex; padding-bottom:14px; }
  .cards { grid-template-columns: repeat(2,1fr); }
  .ft-top { grid-template-columns: 1fr 1fr; gap:32px; }
  .dest-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .dest-grid .dc, .dest-grid .dc:nth-child(n) { grid-column: auto; grid-row: auto; height:240px; }
  .dest-grid .dc:nth-child(1) { grid-column: 1 / -1; }
  .dest-grid .dc:nth-child(1) .dc-name { font-size:32px; }
  .steps, .tsts, .feats--3 { grid-template-columns: 1fr 1fr; }
  .about-split, .contact-split { grid-template-columns: 1fr; }
  .about-media img { height:380px; }
  .stats { grid-template-columns: repeat(2,1fr); gap:36px 20px; }
  .reg-ribbon { grid-template-columns: 1fr 1fr; }
  .docs { grid-template-columns: 1fr 1fr; }
  .blog-grid { grid-template-columns: 1fr 1fr; }
  .cmap { min-height:340px; }
}
@media (max-width: 720px) {
  header { padding:12px 12px 0; }
  [data-header="bar"] header, [data-header="center"] header { padding:0; }
  .steps, .tsts, .feats--3, .docs, .blog-grid { grid-template-columns: 1fr; }
  .dest-all { grid-template-columns: 1fr 1fr; }
  .article-cover { margin-top:-72px; }
  .article-gallery { grid-template-columns: 1fr; }
  .sh { flex-direction:column; align-items:flex-start; gap:12px; margin-bottom:30px; }
  .sh-center { align-items:center; }
  .cta { flex-direction:column; align-items:flex-start; text-align:left; }
  .search-section { margin-top:-64px; }
  /* плотнее ритм секций, меньше «воздуха» на телефоне */
  .sec { padding:56px 0; }
  .sec-tight { padding:40px 0; }
  .wrap { padding:0 18px; }
  .hero-body { padding:0 18px 56px; }
  /* мобильное меню: прокрутка при длинном списке, крупные пункты */
  .mnav { max-height: calc(100dvh - 110px); overflow-y:auto; }
  .mnav a { padding:13px 16px; font-size:15px; }
  /* декоративные пятна — меньше, чтобы не растягивали страницу вбок */
  .blob { width:280px !important; height:280px !important; filter: blur(70px); }
  .about-media img { height:300px; }
  .cmap { min-height:280px; }
}
@media (max-width: 620px) {
  .cards { grid-template-columns: 1fr; }
  .hdr { padding-left:16px; gap:12px; }
  .feats, .contact-cards, .team { grid-template-columns: 1fr; }
  .dest-grid { grid-template-columns: 1fr; }
  .dest-grid .dc, .dest-grid .dc:nth-child(n) { height:200px; }
  .stats { grid-template-columns: 1fr 1fr; gap:28px 16px; }
  .frow { grid-template-columns: 1fr; }
  .reg-ribbon { grid-template-columns: 1fr; }
  .ft-top { grid-template-columns: 1fr; gap:28px; }
  .hero { min-height:340px; height:auto; padding-top:24px; }
  .hero h1 { font-size: clamp(28px, 8.5vw, 38px); }
  .page-hero h1 { font-size: clamp(26px, 8vw, 36px); }
  .hero-sub, .page-hero p { font-size:15px; }
  .stitle { font-size: clamp(25px, 7vw, 32px); }
  /* кнопки CTA — во всю ширину, удобно жать пальцем */
  .cta-actions { width:100%; }
  .cta-actions .btn { flex:1 1 100%; }
  .about-chip { transform:scale(.85); transform-origin: bottom left; }
}
@media (max-width: 470px) {
  .hdr-cta .tel-txt { display:none; }
  .hdr-cta { padding:0 14px; }
  .dest-all { grid-template-columns: 1fr; }
  .wrap { padding:0 14px; }
  .hero-body { padding:0 14px 48px; }
  .legal-block, .legal-block p, .ft-links a { overflow-wrap:anywhere; }
  .card-img { height:170px; }
  .about-media img { height:230px; }
}
