/* Страницы городов (12.11.2026): у каждого города своя обложка, палитра и подача разделов.
   Подключается только на страницах с полем design (web/city.html). Анимация обложки — js/cityfx.js. */

/* ---------- общая основа ---------- */
.cy{--c-band:transparent;--c-card:var(--surface);--c-ink:var(--ink);--c-muted:var(--muted);--c-kicker:var(--muted);
  --c-chip:var(--surface-2);--c-cta:var(--ink);--c-cta-ink:#fff;--c-accent:var(--accent);--c-soft:var(--accent-50);--c-line:var(--line)}
.cyh{padding:10px 0 4px;background:var(--c-band)}
.cyh .crumbs{margin-bottom:12px}
.cyh__stage{position:relative;display:grid;gap:16px}
.cyh__media{position:relative;margin:0;overflow:hidden;border-radius:var(--r-xl);background:var(--c-soft);min-height:260px;isolation:isolate}
.cyh__img{display:block;width:100%;height:100%;object-fit:cover}
.cyh__fx{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;z-index:1}
.cyh__ai{position:absolute;right:16px;bottom:12px;z-index:2;margin:0;font-size:11px;line-height:1.3;color:rgba(255,255,255,.88);
  text-shadow:0 1px 6px rgba(0,0,0,.6)}
.cyh__card{display:flex;flex-direction:column;justify-content:center;gap:18px;min-width:0;padding:clamp(22px,3.4vw,46px);
  border-radius:var(--r-xl);background:var(--c-card);color:var(--c-ink)}
.cyh__kicker{font-size:13px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--c-kicker)}
.cyh h1{font-size:clamp(34px,4.6vw,62px);line-height:1.02;letter-spacing:-.03em}
.cyh__lead{font-size:clamp(16px,1.35vw,19px);line-height:1.5;color:var(--c-muted);max-width:56ch}
.cyh__chips{list-style:none;display:flex;flex-wrap:wrap;gap:8px}
.cyh__chips li{display:inline-flex;align-items:center;gap:7px;padding:8px 13px;border-radius:999px;background:var(--c-chip);
  font-size:14px;font-weight:600;line-height:1.25}
.cyh__chips .icon{color:var(--c-accent)}
.cyh__btns{display:flex;flex-wrap:wrap;gap:10px}
.cyh__cta{background:var(--c-cta);color:var(--c-cta-ink);border-color:var(--c-cta)}
.cyh__cta:hover{filter:brightness(1.08)}
.cyh__cities{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;margin-top:18px;font-size:14px;color:var(--muted)}
.cyh__cities a{font-weight:600;color:var(--ink);text-decoration:none;padding:3px 10px;border-radius:999px}
.cyh__cities a:hover{background:var(--c-soft)}
.cyh__cities a[aria-current]{background:var(--c-accent);color:#fff}
@media (min-width:1001px){
  .cyh__stage{grid-template-columns:minmax(0,1.08fr) minmax(0,1fr);min-height:560px}
}
@media (max-width:620px){
  .cyh__media{min-height:0;aspect-ratio:1/1}
  .cyh__btns .btn{flex:1 1 100%}
}
.cy-photo{margin:0;display:grid;gap:14px 40px;align-items:center}
.cy-photo img{display:block;width:100%;height:auto;aspect-ratio:1024/572;object-fit:cover;border-radius:var(--r-l);background:var(--c-soft)}
.cy-photo figcaption{font-size:clamp(18px,1.7vw,24px);font-weight:600;line-height:1.35;letter-spacing:-.01em;color:var(--ink);
  max-width:34ch}
@media (min-width:1001px){
  .cy-photo{grid-template-columns:minmax(0,1.55fr) minmax(0,1fr)}
  .cy-sec--photo:nth-child(even) .cy-photo .aiw{order:2}
}

/* ---------- Шымкент: южное солнце, арка, полосатые навесы рынка ---------- */
.cy--shymkent{--c-card:#FFF1C7;--c-kicker:#9A5B00;--c-accent:#F08A00;--c-soft:#FFE3A3;--c-chip:#FFFFFF;--c-muted:#5B4A2E}
.cy--shymkent .cyh__media{border-radius:min(42vw,340px) min(42vw,340px) var(--r-xl) var(--r-xl)}
.cy--shymkent .cyh__card{background:radial-gradient(120% 90% at 100% 0%,#FFE08A 0,#FFF1C7 55%)}
.cy--shymkent .card__icon{background:#FFE9A8;color:#9A5B00}
.cy--shymkent .table thead th{background:#FFE08A}
.cy--shymkent .checklist .icon{color:#F08A00}
.cy--shymkent .step__num{background:#FFD84D;color:var(--ink);border-radius:50%;box-shadow:0 0 0 6px #FFF1C7}

/* ---------- Караганда: сталь, холодный свет, жёлто-чёрная разметка, техпаспорт ---------- */
.cy--karaganda{--c-card:#1E2833;--c-ink:#F3F6F9;--c-muted:#C3CCD6;--c-kicker:#FFC93C;--c-accent:#FFC93C;--c-soft:#2B3846;
  --c-chip:rgba(255,255,255,.08);--c-cta:#FFC93C;--c-cta-ink:#16181D}
.cy--karaganda .cyh__card{border-radius:var(--r-xl)}
.cy--karaganda .cyh__kicker,.cy--karaganda .tl__day,.cy--karaganda .card h3{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;letter-spacing:.02em}
.cy--karaganda .cyh__alt{background:transparent;color:#F3F6F9;border-color:rgba(255,255,255,.28)}
.cy--karaganda .cyh__chips .icon{color:#FFC93C}

@media (min-width:1001px){
  .cy--karaganda .cyh__stage{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr)}
  .cy--karaganda .cyh__card{order:-1}
}
.cy--karaganda .card{border:1px solid #D5DDE5;box-shadow:none;border-radius:10px;background:linear-gradient(#fff,#fff) padding-box}
.cy--karaganda .card__icon{background:#1E2833;color:#FFC93C;border-radius:8px}
.cy--karaganda .tl__day{background:#FFC93C;color:#16181D;border-radius:6px;padding:3px 8px;font-size:13px;font-weight:700}
.cy--karaganda .table thead th{background:#1E2833;color:#F3F6F9}
.cy--karaganda .chips li{border-radius:6px;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:13px}

/* ---------- Актобе: степь, песок и небо, маршрут с остановками ---------- */
.cy--aktobe{--c-card:#F4E9D4;--c-kicker:#0F766E;--c-accent:#0F766E;--c-soft:#E8D9BA;--c-chip:#FFFFFF;--c-cta:#0F766E;--c-cta-ink:#fff;--c-muted:#4E4A40}
.cy--aktobe .cyh__media{border-radius:var(--r-xl)}
.cy--aktobe .steps{position:relative}
.cy--aktobe .step__num{background:#0F766E;color:#fff;border-radius:50%}
.cy--aktobe .card__icon{background:#F4E9D4;color:#0F766E}
.cy--aktobe .table thead th{background:#F4E9D4}
.cy--aktobe .table tbody th{color:#0F766E}
.cy--aktobe .checklist .icon{color:#0F766E}
.cy--aktobe .cy-sec--text .panel{background:linear-gradient(180deg,#fff 0,#fff 70%,#FBF6EC 100%)}

/* ---------- Атырау: Каспий на закате, нефть и золото, тёмная обложка ---------- */
.cy--atyrau{--c-band:linear-gradient(180deg,#082A31 0,#0B3640 100%);--c-card:transparent;--c-ink:#F1FAFA;--c-muted:#B9D6D8;
  --c-kicker:#F2B544;--c-accent:#3CC6C0;--c-soft:#0E4450;--c-chip:rgba(60,198,192,.14);--c-cta:#F2B544;--c-cta-ink:#16181D}
.cy--atyrau .cyh{padding:18px 0 22px}
.cy--atyrau .cyh .crumbs,.cy--atyrau .cyh .crumbs a,.cy--atyrau .cyh__cities,.cy--atyrau .cyh__cities a{color:#D6ECEC}
.cy--atyrau .cyh__cities a:hover{background:rgba(60,198,192,.18)}
.cy--atyrau .cyh__cities a[aria-current]{background:#3CC6C0;color:#082A31}
.cy--atyrau .cyh__card{padding-left:0}
.cy--atyrau .cyh__alt{background:transparent;color:#F1FAFA;border-color:rgba(255,255,255,.3)}
.cy--atyrau .cyh__chips li{border:1px solid rgba(60,198,192,.35)}
.cy--atyrau .cyh__media{border-radius:var(--r-xl);-webkit-mask:radial-gradient(140% 95% at 50% 0%,#000 78%,#0000 78.4%);mask:radial-gradient(140% 95% at 50% 0%,#000 78%,#0000 78.4%)}
@media (max-width:1000px){.cy--atyrau .cyh__card{padding-left:clamp(4px,1vw,12px)}}
.cy--atyrau .card__icon{background:#E3F6F5;color:#0B3640}
.cy--atyrau .table thead th{background:#0B3640;color:#F1FAFA}
.cy--atyrau .checklist .icon{color:#0B3640;background:#E3F6F5;border-radius:50%;padding:3px}
.cy--atyrau .step__num{background:#0B3640;color:#F2B544}

/* ---------- Москва: деловой мегаполис, цветные линии как схема транспорта ---------- */
.cy--moscow{--c-card:#FFFFFF;--c-kicker:#C8102E;--c-accent:#E4405F;--c-soft:#E9EDF3;--c-chip:#F2F4F7;--c-muted:#4B5260}
@media (min-width:1001px){
  .cy--moscow .cyh__stage{grid-template-columns:1fr;min-height:0}
  .cy--moscow .cyh__media{height:420px;min-height:0}
  .cy--moscow .cyh__card{position:relative;z-index:3;width:min(760px,64%);margin:-150px 0 0 40px;box-shadow:0 24px 60px rgba(22,24,29,.16)}
}
.cy--moscow .cyh__card{position:relative;overflow:hidden}
.cy--moscow .step__num{background:#16181D;color:#fff;border-radius:50%;box-shadow:0 0 0 4px #fff,0 0 0 7px #E4405F}
.cy--moscow .table thead th{background:#16181D;color:#fff}
.cy--moscow .chips li{background:#fff;border:1px solid #E2E6EB}

/* ---------- Тюмень: морозный свет, лёд и тёплый янтарь ---------- */
.cy--tyumen{--c-card:rgba(234,246,255,.9);--c-kicker:#0E7490;--c-accent:#0E7490;--c-soft:#D7EEFB;--c-chip:#FFFFFF;
  --c-cta:#F59E0B;--c-cta-ink:#16181D;--c-muted:#3E5566}
.cy--tyumen .cyh{background:linear-gradient(180deg,#F3FAFF 0,var(--bg) 100%)}
@media (min-width:1001px){
  .cy--tyumen .cyh__stage{grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr)}
  .cy--tyumen .cyh__card{order:-1;margin-right:-90px;z-index:3;align-self:center;backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);border:1px solid rgba(14,116,144,.18);box-shadow:0 20px 50px rgba(14,116,144,.14)}
}
.cy--tyumen .card{border:1px solid #CFE7F5;background:linear-gradient(180deg,#FFFFFF 0,#F4FAFE 100%)}
.cy--tyumen .card__icon{background:#E0F2FE;color:#0E7490}
.cy--tyumen .step__num{background:#F59E0B;color:#16181D;border-radius:12px}
.cy--tyumen .table thead th{background:#E0F2FE}
.cy--tyumen .checklist .icon{color:#0E7490}

/* ---------- Сочи: море, песок и коралл, волна по краю обложки ---------- */
.cy--sochi{--c-card:#FFF6E5;--c-kicker:#0E7C86;--c-accent:#0E9AA7;--c-soft:#CDEFF1;--c-chip:#FFFFFF;--c-cta:#0E9AA7;--c-cta-ink:#fff;--c-muted:#4D4A42}
@media (min-width:1001px){
  .cy--sochi .cyh__stage{grid-template-columns:1fr;min-height:0}
  .cy--sochi .cyh__media{height:440px;min-height:0;border-radius:var(--r-xl) var(--r-xl) 48% 48% / var(--r-xl) var(--r-xl) 60px 60px}
  .cy--sochi .cyh__card{width:min(980px,86%);margin:-110px auto 0;position:relative;z-index:3;text-align:center;align-items:center;
    box-shadow:0 22px 56px rgba(14,124,134,.16)}
  .cy--sochi .cyh__lead{margin-inline:auto}
  .cy--sochi .cyh__chips,.cy--sochi .cyh__btns{justify-content:center}
}
.cy--sochi .card{position:relative;padding-top:30px}
.cy--sochi .card::after{content:"";position:absolute;top:14px;right:16px;width:10px;height:10px;border-radius:50%;background:#FF7A59;box-shadow:16px 0 0 #FFC857}
.cy--sochi .card__icon{background:#CDEFF1;color:#0E7C86}
.cy--sochi .step__num{background:#0E9AA7;color:#fff;border-radius:50%}
.cy--sochi .table thead th{background:#0E9AA7;color:#fff}
.cy--sochi .checklist .icon{color:#FF7A59}

/* ---------- Алматы: горы и яблоневый цвет ---------- */
.cy--almaty{--c-card:#F1F8EC;--c-kicker:#2F7D32;--c-accent:#3FA34D;--c-soft:#DCEFD6;--c-chip:#FFFFFF;--c-cta:#2F7D32;--c-cta-ink:#fff;--c-muted:#45513F}
.cy--almaty .cyh__media{clip-path:polygon(0 12%,10% 5%,19% 11%,31% 0,43% 9%,55% 2%,67% 11%,79% 4%,90% 10%,100% 6%,100% 100%,0 100%);border-radius:0 0 var(--r-xl) var(--r-xl)}
@media (min-width:1001px){.cy--almaty .cyh__card{order:-1}}
.cy--almaty .card__icon{background:#DCEFD6;color:#2F7D32}
.cy--almaty .card:nth-child(even) .card__icon{background:#FDE2E8;color:#B4415E}
.cy--almaty .step__num{background:#3FA34D;color:#fff;border-radius:50% 50% 50% 8px}
.cy--almaty .table thead th{background:#DCEFD6}
.cy--almaty .checklist .icon{color:#3FA34D}

/* ---------- Астана: небо и золото степной столицы ---------- */
.cy--astana{--c-card:#E6F7FB;--c-kicker:#007C98;--c-accent:#00AFCA;--c-soft:#CBEFF6;--c-chip:#FFFFFF;--c-cta:#FEC50C;--c-cta-ink:#16181D;--c-muted:#3D5560}
@media (min-width:1001px){
  .cy--astana .cyh__stage{grid-template-columns:1fr;min-height:0}
  .cy--astana .cyh__media{height:430px;min-height:0}
  .cy--astana .cyh__card{position:relative;z-index:3;width:min(720px,60%);margin:-170px 40px 0 auto;box-shadow:0 24px 60px rgba(0,124,152,.16)}
}
.cy--astana .card__icon{background:#CBEFF6;color:#007C98}
.cy--astana .step__num{background:#FEC50C;color:#16181D;border-radius:10px}
.cy--astana .table thead th{background:#00AFCA;color:#fff}
.cy--astana .checklist .icon{color:#00AFCA}

/* ---------- карта в обложке (Актобе, 12.11.2026: «тогда уж карту полноценную сделай») ---------- */
@media (min-width:1001px){
  .cy--aktobe .cyh__stage{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr)}
  .cy--aktobe .cyh__card{order:-1}
}
.cyh__media--map{min-height:0;align-self:center;aspect-ratio:1000/652;background:#CFE6EE}
.kzmap{display:block;width:100%;height:100%}
.kzmap__sea{fill:#CFE6EE}
.kzmap__land{fill:#ECE4D3;stroke:#D8CDB4;stroke-width:1}
.kzmap__kz{fill:#F8F1E2;stroke:#C9B48A;stroke-width:1.6}
.kzmap__route{fill:none;stroke:#0F766E;stroke-width:3.2;stroke-linecap:round;stroke-dasharray:10 9;animation:kzmap-run 1.6s linear infinite}
.kzmap__truck{fill:#FFD84D;stroke:#0F766E;stroke-width:3}
.kzmap__city circle{fill:#fff;stroke:#0F766E;stroke-width:3}
.kzmap__city--main circle{fill:#0F766E;stroke:#fff;stroke-width:3}
.kzmap__city text{font:600 21px var(--font);fill:#3A3A32;paint-order:stroke;stroke:#F8F1E2;stroke-width:4px;stroke-linejoin:round}
.kzmap__city--main text{font-size:28px;font-weight:800;fill:#0F766E}
.kzmap__note{font:500 13px var(--font);fill:#7A7462}
@keyframes kzmap-run{to{stroke-dashoffset:-19}}
@media (max-width:620px){
  .cyh__media--map{aspect-ratio:1000/652}
  .kzmap__city text{font-size:34px;stroke-width:7px}
  .kzmap__city--main text{font-size:42px}
  .kzmap__city--2{display:none}
  .kzmap__note{font-size:18px}
}
@media (prefers-reduced-motion:reduce){.kzmap__route{animation:none}}

/* на телефоне у карточек с рамкой (Караганда, Актобе) иконка встаёт над текстом — текст не сужается */
@media (max-width:620px){
  .cy--karaganda .card,.cy--aktobe .card{grid-template-columns:1fr}
  .cy--karaganda .card__icon,.cy--aktobe .card__icon{grid-row:auto}
}

@media (prefers-reduced-motion:reduce){.cyh__fx{display:none}}
