/* Ardi_remont — ремонт квартир под ключ, Караганда */

:root {
  /* нейтральная шкала: графит с тёплым оттенком */
  --bg: #F3F3F2;
  --surface: #FDFDFC;
  --raised: #EAEAE8;
  --line: rgba(27, 25, 28, 0.09);
  --line-strong: rgba(27, 25, 28, 0.16);
  /* текст */
  --text: #1B191C;
  --text-2: #4C4A44;
  --text-3: #696964;
  /* фирменный акцент: жёлтый ARDI и его тёмная охра для цифр на светлом */
  --accent: #FFD500;
  --accent-hover: #F2C900;
  --on-accent: #0A0A0A;
  --accent-ink: #7A5C00;
  /* тёмная секция расчёта */
  --dark: #141315;
  --dark-raised: #222024;
  --dark-line: rgba(243, 243, 242, 0.14);
  --dark-text: #F3F3F2;
  --dark-text-2: #BDBBB6;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-ctl: 10px;
  --r-card: 12px;
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --wrap: 1240px;
  --pad: 20px;
}
@media (min-width: 960px) { :root { --pad: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: calc(76px + env(safe-area-inset-bottom));
}
@media (min-width: 960px) { body { padding-bottom: 0; } }
img, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4 { color: var(--text); font-weight: 500; margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
b { font-weight: 500; color: var(--text); }
.num { font-variant-numeric: tabular-nums; }
.icon { display: block; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--text); color: var(--bg); padding: 12px 16px; border-radius: var(--r-ctl);
  text-decoration: none; transition: transform 0.16s var(--ease);
}
.skip:focus { transform: translateY(72px); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: var(--r-ctl); border: 1px solid transparent;
  font: 500 16px/1.2 var(--sans); text-decoration: none; text-align: center;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease), transform 0.16s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--accent); color: var(--on-accent); border-color: rgba(10, 10, 10, 0.08); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--raised); }
.btn-sm { min-height: 44px; padding: 0 16px; font-size: 15px; }
.btn-wide { width: 100%; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}
.site-header.is-scrolled, .site-header.menu-open { background: var(--surface); border-bottom-color: var(--line); }
.header-in {
  max-width: var(--wrap); margin-inline: auto; padding: 0 var(--pad);
  height: 64px; display: flex; align-items: center; gap: 8px;
}
@media (min-width: 960px) { .header-in { height: 72px; } }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; text-decoration: none; color: var(--text); min-height: 44px; }
.brand-logo { width: 36px; height: 36px; border-radius: 50%; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-name { font-weight: 600; font-size: 17px; color: var(--text); }
.brand-sub { font-size: 13px; color: var(--text-3); white-space: nowrap; }
.nav { display: none; gap: 0; margin-right: 4px; }
.nav a {
  white-space: nowrap; padding: 10px 10px; border-radius: 8px; text-decoration: none; font-size: 15px; color: var(--text-2);
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.nav a:hover { background: var(--raised); color: var(--text); }
.lang { display: flex; gap: 2px; }
.lang button {
  min-width: 44px; min-height: 44px; padding: 0 8px; border: 0; border-radius: 8px;
  background: transparent; color: var(--text-3); font: 500 14px/1 var(--sans); cursor: pointer;
  transition: background-color 0.16s var(--ease), color 0.16s var(--ease);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--raised); color: var(--text); }
.header-in > .lang { display: none; }
.header-phone { display: none; text-decoration: none; color: var(--text); font-size: 15px; padding: 10px 8px; white-space: nowrap; }
.header-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { display: none; white-space: nowrap; }
.menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-strong); border-radius: var(--r-ctl); background: var(--surface); color: var(--text); cursor: pointer;
}
.menu-btn .menu-close, .menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: block; }
@media (min-width: 960px) {
  .header-in > .lang { display: flex; }
  .header-cta { display: inline-flex; margin-left: 8px; }
}
@media (min-width: 1280px) {
  .nav { display: flex; }
  .header-phone { display: inline-block; }
  .menu-btn { display: none; }
  .mmenu { display: none !important; }
}
.mmenu { border-top: 1px solid var(--line); background: var(--surface); padding: 8px var(--pad) 24px; box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06); }
.mmenu nav { display: grid; max-width: var(--wrap); margin-inline: auto; }
.mmenu nav a {
  display: flex; align-items: center; min-height: 52px; text-decoration: none; color: var(--text); font-size: 18px;
  border-bottom: 1px solid var(--line);
}
.mmenu .lang { margin-top: 16px; }
.mmenu-phone { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 8px; text-decoration: none; color: var(--text); }
.mmenu-phone .icon { color: var(--text-3); }

/* ---------- hero ---------- */
.hero { display: flex; flex-direction: column; }
.hero-media {
  order: -1; position: relative; width: 100%;
  aspect-ratio: 4 / 5; max-height: 56svh; overflow: hidden; background: var(--raised);
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero-text { padding: 24px var(--pad) 32px; }
.hero h1 { font-size: clamp(36px, 4.8vw, 60px); line-height: 1.04; letter-spacing: 0; text-wrap: balance; }
@media (min-width: 840px) { .hero h1 { letter-spacing: -0.03em; } }
.hero-prices { display: grid; grid-template-columns: minmax(0, auto) minmax(0, auto); justify-content: start; margin: 20px 0 0; }
.hero-prices > div { display: flex; flex-direction: column; padding-right: 16px; }
.hero-prices > div + div { padding-left: 16px; padding-right: 0; border-left: 1px solid var(--line-strong); }
@media (max-width: 359px) {
  .hero-prices { grid-template-columns: 1fr; gap: 12px; }
  .hero-prices > div + div { padding-left: 0; border-left: 0; }
}
@media (min-width: 960px) {
  .hero-prices > div { padding-right: 24px; }
  .hero-prices > div + div { padding-left: 24px; }
}
.hero-prices dt { order: 2; font-size: 15px; line-height: 1.4; color: var(--text-3); margin-top: 4px; }
.hero-prices dd { order: 1; margin: 0; font: 500 20px/1.3 var(--sans); color: var(--text); font-variant-numeric: tabular-nums; }
.tag { display: inline; background: var(--accent); color: var(--on-accent); padding: 1px 8px; border-radius: 6px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.hero-lead { margin-top: 20px; font-size: 18px; line-height: 1.55; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-note { margin-top: 16px; font-size: 15px; color: var(--text-3); }

@media (min-width: 960px) {
  .hero {
    display: grid; grid-template-columns: 1.05fr 0.95fr; align-items: center; gap: 56px;
    max-width: var(--wrap); margin-inline: auto; padding: 32px var(--pad) 56px;
  }
  .hero-media {
    order: 0; position: relative; inset: auto; width: 100%;
    aspect-ratio: 4 / 5; max-height: calc(100svh - 140px); min-height: 480px;
    border-radius: var(--r-card);
  }
  .hero-media img { object-position: 50% 50%; }
  .hero-text { padding: 0; }
  .hero-prices dd { font-size: 26px; }
}

/* одна мягкая загрузка первого экрана */
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.hero-text > * { animation: rise 0.5s var(--ease) both; }
.hero-text > :nth-child(2) { animation-delay: 0.05s; }
.hero-text > :nth-child(3) { animation-delay: 0.1s; }
.hero-text > :nth-child(4) { animation-delay: 0.15s; }
.hero-text > :nth-child(5) { animation-delay: 0.2s; }
.hero-media { animation: rise 0.6s var(--ease) 0.05s both; }

/* ---------- facts ---------- */
.facts-list {
  list-style: none; display: grid; grid-template-columns: 1fr;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.facts-list li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 0; font-size: 16px; line-height: 1.45; }
.facts-list li + li { border-top: 1px solid var(--line); }
.ico {
  width: 40px; height: 40px; border-radius: 10px; background: var(--raised); color: var(--text-2);
  display: grid; place-items: center; flex-shrink: 0;
}
.facts-list .ico { margin-top: -2px; }
@media (min-width: 480px) and (max-width: 959px) {
  .facts-list { grid-template-columns: 1fr 1fr; column-gap: 24px; }
  .facts-list li + li { border-top: 0; }
  .facts-list li:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (min-width: 960px) {
  .facts-list { grid-template-columns: repeat(4, 1fr); }
  .facts-list li { padding: 24px 24px 24px 0; }
  .facts-list li + li { border-top: 0; border-left: 1px solid var(--line); padding-left: 24px; }
}

/* ---------- sections ---------- */
.section { padding-block: 64px; }
.section-surface { background: var(--surface); border-block: 1px solid var(--line); }
.section-surface .card { background: var(--bg); }
@media (min-width: 960px) { .section { padding-block: 104px; } }
.sec-head { display: grid; gap: 12px; margin-bottom: 32px; }
.sec-head h2, .section h2, .calc h2 { font-size: clamp(28px, 3.2vw, 40px); line-height: 1.12; }
@media (min-width: 1200px) { .sec-head h2, .section h2, .calc h2 { letter-spacing: -0.02em; } }
.sec-lead { font-size: 17px; max-width: 36rem; }
@media (min-width: 960px) {
  .sec-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; margin-bottom: 48px; }
}
.link { display: inline-flex; align-items: center; gap: 8px; color: var(--text); text-underline-offset: 4px; min-height: 44px; }
.link .icon { color: var(--text-3); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); }

/* ---------- prices ---------- */
.group-title { font: 400 15px/1.4 var(--sans); color: var(--text-3); margin: 0 0 12px; }
.tariffs + .group-title { margin-top: 40px; }
.tariffs { list-style: none; display: grid; gap: 12px; }
@media (min-width: 720px) {
  .tariffs-3 { grid-template-columns: repeat(3, 1fr); }
  .tariffs-2 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) { .tariffs { gap: 16px; } }
.tariff { padding: 24px; display: flex; flex-direction: column; gap: 8px; }
.tariff-name { font-size: 20px; line-height: 1.3; }
.price { font: 500 28px/1.2 var(--sans); color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.tariff-desc { font-size: 16px; margin-top: 4px; }
.tariff-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; }
.incl { list-style: none; display: grid; gap: 10px; margin-top: 16px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: 16px; line-height: 1.45; color: var(--text); }
.incl .icon { color: var(--text-3); margin-top: 1px; }
.tariff-note { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 15px; color: var(--text-3); }
.tariff-wide .incl { margin-bottom: 20px; }
.studio { list-style: none; display: grid; gap: 0; margin-top: 40px; border-top: 1px solid var(--line); }
.studio li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); }
.ig-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-2); text-decoration: none; font-size: 16px; }
.ig-link:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 960px) {
  .studio { grid-template-columns: 1fr 1fr; column-gap: 48px; }
}
.sec-cta { margin-top: 32px; }

/* ---------- works ---------- */
.gallery { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 960px) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
figure { margin: 0; }
.ph {
  display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in;
  aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--r-card); background: var(--raised);
}
.ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.16s var(--ease); }
.ph:hover img { opacity: 0.92; }
.ph-map img { object-position: 50% 42%; }
figcaption { margin-top: 8px; font-size: 15px; line-height: 1.45; color: var(--text-3); }

.journal { margin-top: 64px; }
.journal-head { display: grid; gap: 8px; margin-bottom: 16px; }
.journal-head h3 { font-size: 24px; }
@media (min-width: 960px) { .journal-head { grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; } }
.jr-list { list-style: none; border-top: 1px solid var(--line); }
.jr-list > li { border-bottom: 1px solid var(--line); }
.jr {
  display: grid; grid-template-columns: 1fr 20px; grid-template-areas: "name ic" "area area" "desc desc";
  gap: 4px 16px; padding: 16px 0;
  text-decoration: none; color: var(--text-2);
  transition: background-color 0.16s var(--ease);
}
.jr-name { grid-area: name; color: var(--text); font-weight: 500; }
.jr-area { grid-area: area; font: 400 15px/1.6 var(--mono); color: var(--accent-ink); }
.jr-desc { grid-area: desc; font-size: 16px; }
.jr-area.is-text { font: 400 15px/1.6 var(--sans); color: var(--text-3); }
.jr .icon { grid-area: ic; color: var(--text-3); margin-top: 4px; }
@media (min-width: 960px) {
  .jr {
    grid-template-columns: 260px 200px 1fr 20px; grid-template-areas: "name area desc ic";
    align-items: start; padding: 20px 16px; margin: 4px -16px; border-radius: 8px;
  }
  .jr:hover { background: var(--bg); }
  .jr .icon { margin-top: 3px; }
}

/* ---------- process ---------- */
.process { display: grid; gap: 40px; }
@media (min-width: 960px) { .process { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; align-items: center; } }
.steps { list-style: none; margin-top: 32px; border-bottom: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding: 20px 0; border-top: 1px solid var(--line); }
.step-n { font: 400 15px/1.7 var(--mono); color: var(--accent-ink); }
.steps h3 { font-size: 19px; line-height: 1.4; margin-bottom: 4px; }
.steps p { font-size: 16px; }
.process-media {
  width: 100%; max-width: 440px; justify-self: center;
  aspect-ratio: 3 / 4; border-radius: var(--r-card); overflow: hidden; background: var(--dark);
}
.process-media video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; pointer-events: none; }

/* ---------- quality ---------- */
.quality { list-style: none; display: grid; gap: 12px; }
@media (min-width: 640px) { .quality { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .quality { grid-template-columns: repeat(4, 1fr); gap: 16px; } }
.q { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.ico-lg { width: 48px; height: 48px; }
.q h3 { font-size: 19px; line-height: 1.35; margin-top: 4px; }
.q p { font-size: 16px; }

/* ---------- calculator ---------- */
.calc { background: var(--dark); color: var(--dark-text-2); padding-block: 64px; }
@media (min-width: 960px) { .calc { padding-block: 96px; } }
.calc h2 { color: var(--dark-text); }
.calc :focus-visible { outline-color: var(--accent); }
.calc-in { display: grid; gap: 32px; }
@media (min-width: 960px) { .calc-in { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; } }
.calc-intro p { margin-top: 12px; font-size: 18px; max-width: 28rem; }
.calc-phone {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-top: 20px;
  color: var(--dark-text); text-decoration: none; font-size: 17px;
}
.calc-phone .icon { color: var(--dark-text-2); }
.calc-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.q-set { border: 0; margin: 0 0 28px; padding: 0; min-width: 0; }
.q-set legend { display: flex; gap: 12px; align-items: baseline; padding: 0; margin-bottom: 16px; color: var(--dark-text); font-size: 18px; font-weight: 500; }
.q-n { font: 400 15px/1 var(--mono); color: var(--accent); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: inline-flex; }
.opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt span {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px;
  border-radius: var(--r-ctl); border: 1px solid var(--dark-line); background: var(--dark-raised);
  color: var(--dark-text); font-size: 16px;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease), color 0.16s var(--ease);
}
.opt:hover span { border-color: rgba(243, 243, 242, 0.34); }
.opt input:checked + span { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.opt input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc .btn-primary { border-color: var(--accent); }
@media (min-width: 640px) { .btn-wide { width: auto; } }

/* ---------- reviews ---------- */
.reviews { list-style: none; display: grid; gap: 12px; }
@media (min-width: 720px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.review { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.review blockquote { margin: 0; color: var(--text); font-size: 16px; line-height: 1.6; }
.review footer { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.rv-author { color: var(--text); font-weight: 500; font-size: 15px; }
.rv-date { font-size: 15px; line-height: 1.5; color: var(--text-3); font-variant-numeric: tabular-nums; }

/* ---------- instagram ---------- */
.ig-head { display: grid; gap: 24px; margin-bottom: 32px; }
.ig-head h2 { margin-top: 8px; }
.ig-head .sec-lead { margin-top: 12px; }
.ig-handle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text-2); text-decoration: none; font-size: 16px; }
.ig-handle:hover { color: var(--text); }
.ig-side { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ig-count { font-size: 17px; color: var(--text); }
@media (min-width: 960px) {
  .ig-head { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; margin-bottom: 40px; }
}
.ig-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 960px) { .ig-grid { grid-template-columns: repeat(6, 1fr); gap: 12px; } }
.ig-grid a { display: block; aspect-ratio: 9 / 16; overflow: hidden; border-radius: 10px; background: var(--raised); }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.16s var(--ease); }
.ig-grid a:hover img { opacity: 0.9; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 24px; }
@media (min-width: 960px) { .faq { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 64px; } }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  min-height: 60px; padding: 16px 0; cursor: pointer; color: var(--text); font-size: 18px; font-weight: 500; line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--text-3); transition: transform 0.2s var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-a { padding: 0 40px 20px 0; font-size: 16px; }

/* ---------- contacts ---------- */
.contacts { display: grid; gap: 40px; }
@media (min-width: 960px) { .contacts { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.c-list { list-style: none; display: grid; gap: 16px; margin-top: 28px; }
.c-list li { display: flex; gap: 16px; align-items: flex-start; }
.c-list li > div { display: flex; flex-direction: column; min-width: 0; }
.c-label { font-size: 14px; color: var(--text-3); line-height: 1.4; }
.c-val { color: var(--text); font-size: 17px; line-height: 1.5; text-decoration: none; }
a.c-val:hover { text-decoration: underline; text-underline-offset: 4px; }
.c-sub { font-size: 15px; color: var(--text-2); }
.c-sub a { text-underline-offset: 3px; }
.hours { margin-top: 32px; padding: 20px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--bg); }
.hours-head { display: flex; gap: 16px; align-items: flex-start; }
.hours-head h3 { font-size: 18px; line-height: 1.4; margin-top: 8px; }
.open-now { display: flex; align-items: center; gap: 8px; margin-top: 2px; font-size: 15px; color: var(--text-2); }
.open-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--text-3); flex-shrink: 0; }
.open-now.is-open { color: var(--text); }
.open-now.is-open::before { background: #1F8A4C; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 12px; font-variant-numeric: tabular-nums; }
.hours-table th { width: 56px; padding: 8px 0; text-align: left; font-weight: 400; font-size: 15px; color: var(--text-3); }
.hours-table td { padding: 8px 0; font: 400 15px/1.5 var(--mono); color: var(--text-2); }
.hours-table tr + tr th, .hours-table tr + tr td { border-top: 1px solid var(--line); }
.hours-table tr.is-today th, .hours-table tr.is-today td { color: var(--text); font-weight: 500; }
.hours-table tr.is-today th { position: relative; }
.contacts-map { display: flex; flex-direction: column; gap: 12px; }
@media (min-width: 960px) {
  .contacts { align-items: start; }
  .contacts-map { position: sticky; top: 96px; }
  .contacts-map .map-frame { flex: none; height: min(640px, calc(100vh - 200px)); }
  .contacts-map .map-frame iframe { min-height: 0; }
}
.map-frame { flex: 1; min-height: 360px; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--raised); }
.map-frame iframe { display: block; width: 100%; height: 100%; min-height: 360px; border: 0; }
.map-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 959px) { .map-actions .btn-primary { display: none; } }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 40px; font-size: 15px; color: var(--text-3); }
.foot { display: grid; gap: 20px; }
.foot-brand { display: flex; gap: 12px; align-items: center; }
.foot-brand p { line-height: 1.4; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.foot-links a { color: var(--text-2); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.foot-links a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
@media (min-width: 960px) { .foot { grid-template-columns: auto 1fr auto; align-items: center; gap: 48px; } }

/* ---------- mobile action bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; gap: 8px; padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
}
.mbar .btn-primary { flex: 1; min-width: 0; padding: 0 12px; }
.mbar-call { flex: none; width: 48px; padding: 0; }
@media (max-width: 359px) { .mbar .btn-primary { font-size: 15px; gap: 8px; } }
@media (min-width: 960px) { .mbar { display: none; } }

/* ---------- lightbox ---------- */
.lb { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #F3F3F2; }
.lb::backdrop { background: rgba(10, 10, 10, 0.9); }
.lb-in { position: relative; height: 100%; display: grid; place-items: center; padding: 72px 16px 88px; touch-action: pan-y; }
.lb-img { max-width: min(100%, 1100px); max-height: calc(100vh - 168px); width: auto; height: auto; object-fit: contain; border-radius: 8px; }
.lb-cap { position: absolute; left: 0; right: 0; bottom: 28px; display: flex; justify-content: center; flex-wrap: wrap; gap: 4px 16px; padding: 0 16px; font-size: 15px; line-height: 1.5; color: #D9D8D4; font-variant-numeric: tabular-nums; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; display: grid; place-items: center;
  border-radius: var(--r-ctl); border: 1px solid rgba(243, 243, 242, 0.2); background: rgba(24, 23, 25, 0.72); color: #F3F3F2; cursor: pointer;
  transition: background-color 0.16s var(--ease);
}
.lb-btn:hover { background: rgba(48, 46, 50, 0.9); }
.lb-btn:focus-visible { outline-color: var(--accent); }
.lb-close { top: 16px; right: 16px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev .icon { transform: scaleX(-1); }
@media (max-width: 639px) { .lb-prev, .lb-next { top: auto; bottom: 20px; margin-top: 0; } .lb-cap { bottom: 84px; } .lb-in { padding-bottom: 140px; } .lb-img { max-height: calc(100vh - 220px); } }

/* ---------- reveal on scroll (класс js ставит скрипт) ---------- */
.js .rv { opacity: 0; transform: translateY(10px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); transition-delay: calc(var(--i, 0) * 50ms); }
.js .rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .rv { opacity: 1; transform: none; }
}
