/* Zoo Planeta — site styles. Brand: yellow #FDCC27 + black, Onest. */

:root {
  --yellow: #FDCC27;
  --yellow-600: #F2B705;
  --yellow-50: #FFF7D6;
  --black: #111111;
  --ink: #1B1B1B;
  --muted: #666660;
  --line: #E8E6E0;
  --bg: #FFFFFF;
  --bg-2: #F6F5F1;
  --green: #17894E;
  --red: #C93C3C;
  --radius: 14px;
  --radius-lg: 22px;
  --container: 1240px;
  --header-h: 76px;
  --shadow: 0 1px 2px rgba(17, 17, 17, .04), 0 8px 24px -12px rgba(17, 17, 17, .14);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--bg);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.12; letter-spacing: -.02em; font-weight: 800; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--yellow-600); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: 16px; top: -60px; background: var(--black); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
.icon { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 56px 0; }
.section-alt { background: var(--bg-2); }
.section:not(.section-alt):not(.section-dark) + .section:not(.section-alt):not(.section-dark) { padding-top: 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.section-head h2, .h2 { font-size: clamp(28px, 3.4vw, 40px); }
.section-head p { color: var(--muted); margin-top: 10px; max-width: 620px; font-size: 17px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; border-bottom: 2px solid var(--yellow); padding-bottom: 2px; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(3px); }
.muted { color: var(--muted); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px;
  border-radius: 12px; font-weight: 700; font-size: 16px; line-height: 1; white-space: nowrap; transition: background .15s, color .15s, border-color .15s, transform .15s; border: 2px solid transparent; }
.btn:active { transform: translateY(1px); }
.btn .icon { width: 20px; height: 20px; }
.btn-dark { background: var(--black); color: #fff; }
.btn-dark:hover { background: #2a2a2a; }
.btn-yellow { background: var(--yellow); color: var(--black); }
.btn-yellow:hover { background: var(--yellow-600); }
.btn-outline { border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.35); color: #fff; }
.btn-ghost-light:hover { border-color: #fff; }
.btn-sm { height: 42px; padding: 0 18px; font-size: 15px; border-radius: 10px; }
.btn-block { width: 100%; }

/* ── header ─────────────────────────────────────────────────────────────── */
.topbar { background: var(--black); color: rgba(255,255,255,.78); font-size: 13.5px; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 20px; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 22px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 600; }
.topbar-phone .icon { width: 16px; height: 16px; color: var(--yellow); }
.lang-switch { display: flex; gap: 2px; }
.lang-switch a { padding: 4px 8px; border-radius: 6px; font-weight: 600; letter-spacing: .02em; }
.lang-switch a.active { background: var(--yellow); color: var(--black); }

.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line);
  backdrop-filter: saturate(1.6) blur(10px); -webkit-backdrop-filter: saturate(1.6) blur(10px); }
.header .container { display: flex; align-items: center; height: var(--header-h); gap: 36px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand img { width: 54px; height: 54px; }
.nav { display: flex; align-items: center; gap: 4px; margin-right: auto; }
.nav a { padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 15.5px; color: #333; transition: background .15s, color .15s; }
.nav a:hover { background: var(--bg-2); color: var(--black); }
.nav a.active { color: var(--black); box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; align-items: center; justify-content: center; margin-left: auto; }
.burger .icon { width: 26px; height: 26px; }
.burger:hover { background: var(--bg-2); }

.mobile-nav { position: fixed; inset: 0; z-index: 80; background: #fff; display: flex; flex-direction: column; transform: translateX(100%);
  transition: transform .25s ease; visibility: hidden; }
.mobile-nav.open { transform: none; visibility: visible; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); padding: 0 24px; border-bottom: 1px solid var(--line); }
.mobile-nav-body { padding: 12px 24px 32px; overflow: auto; flex: 1; display: flex; flex-direction: column; }
.mobile-nav-body > a { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 20px; font-weight: 700; }
.mobile-nav-body .btn { margin-top: 24px; }
.mobile-nav-foot { margin-top: auto; padding-top: 28px; display: grid; gap: 14px; }
.mobile-nav .lang-switch a { border: 1px solid var(--line); padding: 8px 14px; }

@media (max-width: 1080px) {
  .nav, .header .btn-find { display: none; }
  .burger { display: inline-flex; }
  .topbar-hide-md { display: none; }
}
@media (max-width: 640px) {
  :root { --header-h: 66px; }
  .brand img { width: 46px; height: 46px; }
  .topbar-hours { display: none; }
}

/* ── page header (inner pages) ──────────────────────────────────────────── */
.page-head { background: var(--bg-2); padding: 36px 0 56px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a:hover { color: var(--black); text-decoration: underline; }
.crumbs span[aria-hidden] { opacity: .5; }
.page-head h1 { font-size: clamp(34px, 5vw, 56px); max-width: 900px; }
.page-head .lead { margin-top: 18px; font-size: 19px; color: #444; max-width: 760px; }
.page-head-split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.page-head-split .media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.page-head-split .media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-head-split { grid-template-columns: 1fr; } }

/* image placeholder until real photos are uploaded */
.ph { position: relative; width: 100%; height: 100%; min-height: 100%; background: var(--bg-2); display: grid; place-items: center; overflow: hidden; }
.ph svg { width: 34%; max-width: 120px; color: #D9D6CC; }
.ph-yellow { background: var(--yellow-50); }
.ph-yellow svg { color: #F3DC8A; }

/* ── hero slider ────────────────────────────────────────────────────────── */
.hero { padding: 28px 0 0; }
.slider { position: relative; border-radius: var(--radius-lg); overflow: hidden; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 480px; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide-yellow { background: var(--yellow); color: var(--black); }
.slide-dark { background: var(--black); color: #fff; }
.slide-light { background: var(--bg-2); color: var(--black); }
.slide-text { padding: 64px 56px 88px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.slide-text h1, .slide-text h2 { font-size: clamp(34px, 4.6vw, 60px); line-height: 1.04; }
.slide-text p { margin-top: 20px; font-size: 19px; max-width: 480px; opacity: .85; }
.slide-text .btn { margin-top: 32px; }
.slide-media { position: relative; }
.slide-media img, .slide-media .ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-yellow .ph { background: #F8C21B; } .slide-yellow .ph svg { color: rgba(17,17,17,.12); max-width: 240px; width: 46%; }
.slide-dark .ph { background: #1d1d1d; } .slide-dark .ph svg { color: rgba(253,204,39,.22); max-width: 240px; width: 46%; }
.slider-ui { position: absolute; left: 56px; bottom: 32px; display: flex; align-items: center; gap: 14px; z-index: 2; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 28px; height: 4px; border-radius: 2px; background: currentColor; opacity: .25; transition: opacity .2s, width .2s; }
.slider-dots button.is-active { opacity: 1; width: 44px; }
.slider-arrow { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; opacity: .55; transition: opacity .15s; }
.slider-arrow:hover { opacity: 1; }
.slider-arrow .icon { width: 18px; height: 18px; }
@media (max-width: 860px) {
  .slide { grid-template-columns: 1fr; min-height: 0; }
  .slide-media { aspect-ratio: 16/10; order: -1; }
  .slide-text { padding: 32px 24px 84px; }
  .slider-ui { left: 24px; bottom: 24px; }
}

/* quick links under the hero */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.quick a { display: flex; align-items: center; gap: 16px; padding: 22px; border-radius: var(--radius); background: var(--bg-2); transition: background .15s; }
.quick a:hover { background: #EFEDE6; }
.quick-ic { width: 48px; height: 48px; border-radius: 12px; background: #fff; display: grid; place-items: center; flex: none; }
.quick-ic .icon { width: 24px; height: 24px; }
.quick b { display: block; font-size: 17px; }
.quick span { font-size: 14px; color: var(--muted); }
@media (max-width: 960px) { .quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .quick { grid-template-columns: 1fr; gap: 10px; } .quick a { padding: 16px; } }

/* ── cards / grids ──────────────────────────────────────────────────────── */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } .grid { gap: 16px; } }

.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .2s, transform .2s; }
a.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card-media { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--bg-2); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
a.card:hover .card-media img { transform: scale(1.03); }
.card-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 19px; line-height: 1.25; letter-spacing: -.01em; }
.card-body p { color: var(--muted); font-size: 15px; }
.card-meta { font-size: 14px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.card-meta .icon { width: 16px; height: 16px; }
.badge { position: absolute; top: 14px; left: 14px; background: var(--yellow); color: var(--black); font-weight: 800; font-size: 18px; padding: 6px 12px; border-radius: 10px; letter-spacing: -.01em; }
.badge-muted { background: #fff; color: var(--muted); font-size: 13px; font-weight: 700; }
.card.is-over { opacity: .65; }
.price { display: flex; align-items: baseline; gap: 10px; margin-top: auto; padding-top: 6px; }
.price s { color: var(--muted); font-size: 15px; }
.price b { font-size: 20px; }

/* promo page */
.promo { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.promo-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; position: relative; background: var(--bg-2); }
.promo-media img { width: 100%; height: 100%; object-fit: cover; }
.promo-dates { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow-50); padding: 8px 14px; border-radius: 10px; font-weight: 600; }
.promo-info h1 { font-size: clamp(30px, 4vw, 46px); margin: 18px 0 14px; }
.promo-info .price { margin: 24px 0; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 28px; }
.promo-info .price div span { display: block; font-size: 13px; color: var(--muted); }
.promo-info .price b { font-size: 30px; }
.promo-info .price s { font-size: 20px; }
.note { font-size: 14px; color: var(--muted); margin-top: 24px; }
@media (max-width: 860px) { .promo { grid-template-columns: 1fr; gap: 28px; } }

/* ── store finder band ──────────────────────────────────────────────────── */
.section-dark { background: var(--black); color: #fff; }
.finder { display: grid; grid-template-columns: 1.2fr .8fr; gap: 64px; align-items: center; }
.finder h2 { font-size: clamp(30px, 3.6vw, 44px); }
.finder p { color: rgba(255,255,255,.7); margin-top: 14px; font-size: 17px; max-width: 520px; }
.finder-form { display: flex; gap: 10px; margin-top: 30px; max-width: 620px; }
.finder-form .field-search { flex: 1; }
.finder-count { border-left: 1px solid #2c2c2c; padding-left: 56px; }
.finder-count b { display: block; font-size: clamp(64px, 9vw, 112px); line-height: .9; color: var(--yellow); letter-spacing: -.04em; }
.finder-count span { font-size: 19px; color: rgba(255,255,255,.8); }
.district-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.district-chips a { font-size: 14px; padding: 7px 12px; border-radius: 999px; border: 1px solid #333; color: rgba(255,255,255,.8); }
.district-chips a:hover { border-color: var(--yellow); color: #fff; }
@media (max-width: 900px) { .finder { grid-template-columns: 1fr; gap: 36px; } .finder-count { border-left: 0; padding-left: 0; border-top: 1px solid #2c2c2c; padding-top: 28px; } .finder-form { flex-wrap: wrap; } .finder-form .btn { flex: 1; } }

.field-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border-radius: 12px; background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.field-search:focus-within { border-color: var(--black); }
.field-search .icon { color: var(--muted); }
.field-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 16px; min-width: 0; height: 100%; }

/* ── stores page ────────────────────────────────────────────────────────── */
.store-tools { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.store-tools .field-search { flex: 1 1 320px; }
.select { height: 52px; padding: 0 40px 0 16px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; appearance: none; -webkit-appearance: none; font-weight: 500; }
.toggle { display: inline-flex; align-items: center; gap: 8px; height: 52px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; }
.toggle[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }
.store-count { font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.store-layout { display: grid; grid-template-columns: 440px 1fr; gap: 20px; height: min(720px, calc(100vh - 140px)); min-height: 520px; }
.store-list { overflow: auto; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); scrollbar-width: thin; }
.store-item { padding: 18px 20px; border-bottom: 1px solid var(--line); cursor: pointer; transition: background .15s; }
.store-item:last-child { border-bottom: 0; }
.store-item:hover { background: #FBFAF7; }
.store-item.is-selected { background: var(--yellow-50); box-shadow: inset 4px 0 0 var(--yellow); }
.store-item-top { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.store-item h3 { font-size: 17px; letter-spacing: -.01em; }
.store-item h3 a:hover { text-decoration: underline; }
.store-item .addr { color: #444; font-size: 15px; margin-top: 4px; }
.store-item .sub { color: var(--muted); font-size: 14px; margin-top: 2px; }
.store-item-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; margin-top: 10px; font-size: 14px; }
.store-item-foot a { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.store-item-foot a:hover { text-decoration: underline; }
.store-item-foot .icon { width: 16px; height: 16px; }
.dist { font-size: 13px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 14px; white-space: nowrap; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status-open { color: var(--green); }
.status-closed { color: var(--red); }
.map { border-radius: var(--radius); overflow: hidden; background: var(--bg-2); z-index: 0; }
.view-tabs { display: none; }
.empty { padding: 48px 24px; text-align: center; color: var(--muted); }
@media (max-width: 960px) {
  .store-layout { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .view-tabs { display: flex; gap: 6px; background: var(--bg-2); padding: 4px; border-radius: 12px; margin-bottom: 14px; }
  .view-tabs button { flex: 1; height: 42px; border-radius: 9px; font-weight: 700; }
  .view-tabs button[aria-selected="true"] { background: #fff; box-shadow: var(--shadow); }
  .store-layout[data-view="list"] .map { display: none; }
  .store-layout[data-view="map"] .store-list { display: none; }
  .map { height: 70vh; }
}

/* leaflet marker */
.pin { width: 30px; height: 40px; }
.pin svg { width: 30px; height: 40px; filter: drop-shadow(0 3px 4px rgba(0,0,0,.25)); }
.pin .body { fill: var(--black); }
.pin .dot { fill: var(--yellow); }
.pin.is-selected .body { fill: var(--yellow-600); }
.pin.is-selected .dot { fill: var(--black); }
.pin.is-closed .body { fill: #8a8a85; }
.leaflet-popup-content-wrapper { border-radius: 12px; }
.leaflet-popup-content { font-family: var(--font); font-size: 14px; margin: 14px 16px; line-height: 1.45; }
.leaflet-popup-content b { font-size: 15px; display: block; margin-bottom: 2px; }
.leaflet-popup-content a { font-weight: 600; text-decoration: underline; }
.leaflet-container { font-family: var(--font); }

/* single store */
.store { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
.store-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 16/10; background: var(--bg-2); }
.store-media img { width: 100%; height: 100%; object-fit: cover; }
.info-card { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; display: grid; gap: 20px; position: sticky; top: calc(var(--header-h) + 20px); }
.info-row { display: grid; grid-template-columns: 24px 1fr; gap: 14px; }
.info-row .icon { color: var(--muted); margin-top: 2px; }
.info-row small { display: block; color: var(--muted); font-size: 13px; margin-bottom: 2px; }
.info-row b { font-weight: 600; }
.info-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { background: var(--bg-2); padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; }
.store-map { height: 340px; border-radius: var(--radius-lg); overflow: hidden; margin-top: 24px; }
@media (max-width: 960px) { .store { grid-template-columns: 1fr; } .info-card { position: static; } }

/* ── content blocks ─────────────────────────────────────────────────────── */
.prose { font-size: 17px; line-height: 1.7; max-width: 760px; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; margin-top: 1.6em; }
.prose h3 { font-size: 22px; margin-top: 1.4em; }
.prose a { text-decoration: underline; text-decoration-color: var(--yellow-600); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose ul li::marker { color: var(--yellow-600); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }

.block + .block { margin-top: 72px; }
.block-heading h2 { font-size: clamp(28px, 3.4vw, 40px); }
.block-heading p { color: var(--muted); font-size: 17px; margin-top: 12px; max-width: 680px; }
.block-image figure { margin: 0; }
.block-image img { border-radius: var(--radius-lg); width: 100%; }
.block-image figcaption { color: var(--muted); font-size: 14px; margin-top: 10px; }
.block-image:not(.wide) { max-width: 900px; }

.stats { display: grid; grid-template-columns: repeat(var(--n, 4), 1fr); border-top: 2px solid var(--black); }
.stats div { padding: 24px 24px 4px 0; }
.stats b { display: block; font-size: clamp(36px, 4.4vw, 56px); letter-spacing: -.03em; line-height: 1; font-weight: 800; }
.stats span { display: block; color: var(--muted); margin-top: 10px; font-size: 15px; max-width: 220px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

.text-image { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.text-image.img-left .ti-media { order: -1; }
.ti-media { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 5/4; background: var(--bg-2); }
.ti-media img { width: 100%; height: 100%; object-fit: cover; }
.text-image h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.text-image .btn { margin-top: 28px; }
@media (max-width: 860px) { .text-image { grid-template-columns: 1fr; gap: 28px; } .text-image .ti-media { order: -1; } }

.feature { padding: 28px; border-radius: var(--radius); background: var(--bg-2); display: flex; flex-direction: column; gap: 10px; }
.feature h3 { font-size: 19px; letter-spacing: -.01em; }
.feature p { color: var(--muted); font-size: 15px; }
.feature-num { font-size: 15px; font-weight: 800; width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); display: grid; place-items: center; margin-bottom: 8px; }
a.feature:hover { background: #EFEDE6; }

.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); aspect-ratio: 1 / 1.08; display: flex; flex-direction: column; justify-content: flex-end; }
.cat-media { position: absolute; inset: 0; }
.cat-media img { width: 100%; height: 100%; object-fit: cover; }
.cat-media .ph svg { width: 40%; }
.cat-text { position: relative; padding: 18px; background: linear-gradient(to top, rgba(255,255,255,.98) 60%, rgba(255,255,255,0)); padding-top: 40px; }
.cat h3 { font-size: 19px; letter-spacing: -.01em; }
.cat p { font-size: 14px; color: var(--muted); margin-top: 4px; }
@media (max-width: 960px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .cat-grid { gap: 10px; } .cat-text { padding: 14px; padding-top: 32px; } .cat h3 { font-size: 16px; } .cat p { font-size: 13px; } }

.timeline { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0; border-top: 2px solid var(--black); }
.timeline > div { padding: 22px 24px 0 0; position: relative; }
.timeline > div::before { content: ""; position: absolute; top: -7px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--yellow); border: 2px solid var(--black); }
.timeline b { display: block; font-size: 30px; letter-spacing: -.02em; }
.timeline h3 { font-size: 17px; margin-top: 8px; letter-spacing: -.01em; }
.timeline p { color: var(--muted); font-size: 15px; margin-top: 6px; }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--black); } .timeline > div { padding: 0 0 26px 24px; } .timeline > div::before { top: 8px; left: -7px; } }

.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
.logos > * { height: 88px; border-radius: var(--radius); border: 1px solid var(--line); display: grid; place-items: center; padding: 16px; font-weight: 800; font-size: 17px; letter-spacing: -.01em; color: #333; text-align: center; }
.logos img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .8; transition: filter .2s, opacity .2s; }
.logos > *:hover img { filter: none; opacity: 1; }

.faq { border-top: 1px solid var(--line); max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-size: 18px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 28px; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .prose { padding-bottom: 22px; color: #444; }

.cta { border-radius: var(--radius-lg); padding: 56px; display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.cta-yellow { background: var(--yellow); }
.cta-dark { background: var(--black); color: #fff; }
.cta h2 { font-size: clamp(26px, 3vw, 38px); }
.cta p { margin-top: 12px; font-size: 17px; opacity: .8; max-width: 640px; }
@media (max-width: 760px) { .cta { flex-direction: column; align-items: flex-start; padding: 32px 24px; } }

/* ── careers ────────────────────────────────────────────────────────────── */
.vacancies { border-top: 1px solid var(--line); }
.vacancy-row { display: grid; grid-template-columns: 1fr auto auto 32px; gap: 28px; align-items: center; padding: 26px 4px; border-bottom: 1px solid var(--line); transition: background .15s; }
.vacancy-row:hover { background: #FBFAF7; }
.vacancy-row h3 { font-size: 21px; letter-spacing: -.01em; }
.vacancy-row p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.vacancy-row .meta { font-size: 15px; color: #444; white-space: nowrap; }
.vacancy-row .salary { font-weight: 700; white-space: nowrap; }
@media (max-width: 760px) { .vacancy-row { grid-template-columns: 1fr 24px; gap: 8px 16px; } .vacancy-row .meta, .vacancy-row .salary { grid-column: 1; } .vacancy-row > .icon { grid-row: 1; grid-column: 2; } }

.vacancy { display: grid; grid-template-columns: 1fr 360px; gap: 56px; align-items: start; }
.vacancy .prose h2 { font-size: 24px; margin-top: 1.8em; }
.vacancy .prose h2:first-child { margin-top: 0; }
.facts { display: grid; gap: 18px; }
.facts small { display: block; font-size: 13px; color: var(--muted); }
.facts b { font-size: 17px; }
@media (max-width: 960px) { .vacancy { grid-template-columns: 1fr; gap: 32px; } }

/* ── forms ──────────────────────────────────────────────────────────────── */
.form-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.form-wrap h2 { font-size: clamp(28px, 3.2vw, 38px); }
.form-wrap .intro { color: var(--muted); margin-top: 14px; font-size: 17px; }
@media (max-width: 900px) { .form-wrap { grid-template-columns: 1fr; gap: 28px; } }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 16px; }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input:not([type=checkbox]):not([type=file]), .field select, .field textarea { width: 100%; height: 50px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 16px; transition: border-color .15s; }
.field textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 120px; }
.field select { appearance: none; -webkit-appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23111' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--black); }
.field input[type=file] { width: 100%; padding: 12px; border: 1.5px dashed var(--line); border-radius: 12px; background: var(--bg-2); font-size: 14px; }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--red); }
.field .err { color: var(--red); font-size: 13px; margin-top: 6px; }
.req { color: var(--red); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #444; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--black); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px 18px; border-radius: 12px; font-weight: 500; }
.alert-error { background: #FBEAEA; color: #8B2222; }
.success { padding: 36px; border-radius: var(--radius-lg); background: var(--yellow-50); display: flex; gap: 18px; align-items: flex-start; }
.success .icon { width: 36px; height: 36px; flex: none; color: var(--green); }
.success h3 { font-size: 22px; }
.success p { margin-top: 6px; color: #444; }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* contacts */
.contact-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; transition: border-color .15s; }
a.contact-card:hover { border-color: var(--black); }
.contact-card .icon { width: 28px; height: 28px; margin-bottom: 14px; }
.contact-card small { color: var(--muted); font-size: 14px; }
.contact-card b { font-size: 18px; word-break: break-word; }
@media (max-width: 960px) { .contact-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } }

/* pagination */
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.pager a, .pager span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 10px; display: grid; place-items: center; border: 1px solid var(--line); font-weight: 600; }
.pager .current { background: var(--black); color: #fff; border-color: var(--black); }

/* article */
.article { max-width: 820px; margin: 0 auto; }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 40px; aspect-ratio: 16/9; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }

/* ── footer ─────────────────────────────────────────────────────────────── */
.footer { background: var(--black); color: rgba(255,255,255,.72); padding: 72px 0 0; font-size: 15px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr) 1.2fr; gap: 40px; padding-bottom: 56px; }
.footer h4 { color: #fff; font-size: 15px; letter-spacing: 0; font-weight: 700; margin-bottom: 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a:hover { color: #fff; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand p { margin-top: 18px; max-width: 280px; }
.footer-phone { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -.01em; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid #333; display: grid; place-items: center; transition: border-color .15s, background .15s, color .15s; }
.socials a:hover { background: var(--yellow); border-color: var(--yellow); color: var(--black); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid #262626; padding: 22px 0; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; font-size: 13.5px; color: rgba(255,255,255,.5); }
@media (max-width: 1080px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 600px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .footer-contacts { grid-column: 1 / -1; } }

.notfound { text-align: center; padding: 120px 0; }
.notfound b { display: block; font-size: 120px; line-height: 1; letter-spacing: -.05em; }
.notfound h1 { font-size: 32px; margin-top: 18px; }
.notfound p { color: var(--muted); margin: 12px 0 28px; }

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .section { padding: 60px 0; }
  .section-head { flex-direction: column; align-items: flex-start; margin-bottom: 26px; }
  .block + .block { margin-top: 56px; }
  .page-head { padding: 24px 0 40px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

@media (max-width: 640px) {
  .store-tools .select { flex: 1 1 100%; }
  .store-tools .toggle { flex: 1 1 0; justify-content: center; padding: 0 10px; font-size: 15px; white-space: nowrap; }
}
