/* Fargo group — ремонт под ключ, Астана */
:root {
  --bg: #F3F3F2;
  --surface: #FDFDFC;
  --raised: #EAEAE8;
  --line: rgba(27, 25, 28, .09);
  --line-strong: rgba(27, 25, 28, .18);
  --text: #1B191C;
  --text-2: #4C4A44;
  --text-3: #696964;
  --ink: #1B191C;
  --ink-hover: #36333A;
  --accent: #C42A24;
  --brand: #E3312F;
  --dark: #1B191C;
  --dark-surface: #242126;
  --on-dark: #F3F3F2;
  --on-dark-2: #B5B2AC;
  --dark-line: rgba(243, 243, 242, .14);
  --font: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --pad: 20px;
  --header-h: 60px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 76px;
}

@media (min-width: 1250px) {
  h2 { letter-spacing: -0.02em; }
}

@media (min-width: 960px) {
  :root { --pad: 32px; --header-h: 64px; }
  body { font-size: 17px; padding-bottom: 0; }
}

img, video { display: block; max-width: 100%; }

h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: 500;
}

h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.1;
  letter-spacing: 0;
  text-wrap: balance;
}

h3 { font-size: 20px; line-height: 1.3; }

p { margin: 0; }

a { color: inherit; }

.mono {
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}

@media (min-width: 960px) {
  .mono { font-size: 15px; }
}

.num { font-variant-numeric: tabular-nums; }
.nw { white-space: nowrap; }

.icon { display: block; flex-shrink: 0; }

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

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip {
  position: absolute;
  left: 8px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus { top: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: 500 16px/1.25 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .16s var(--ease);
}
.btn:active { transform: scale(.98); }

.btn-primary { background: var(--ink); color: #FDFDFC; }
.btn-primary:hover { background: var(--ink-hover); }

.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--raised); }

.btn-light { background: var(--on-dark); color: var(--text); }
.btn-light:hover { background: #FFFFFF; }

.btn-sm { min-height: 44px; padding: 8px 16px; font-size: 15px; }

.btn-icon {
  width: 48px;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-icon:hover { background: var(--raised); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: var(--text);
  font-weight: 500;
  text-decoration: none;
  transition: color .16s var(--ease);
}
.link-arrow:hover { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 243, 242, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .18s var(--ease), background-color .18s var(--ease);
}
.site-header.is-scrolled { background: var(--bg); border-bottom-color: var(--line); }

.header-in {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--pad);
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
  min-height: 44px;
  align-self: center;
  padding-top: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}
.logo-dot {
  width: 6px;
  height: 6px;
  background: var(--brand);
  border-radius: 1px;
  margin-left: 2px;
}

.main-nav { display: none; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 8px;
  color: var(--text-2);
  text-decoration: none;
  font-size: 15px;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.main-nav a:hover { background: var(--raised); color: var(--text); }

.header-tools {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang {
  display: flex;
  align-items: center;
  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(--font);
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--raised); color: var(--text); }

.header-tools > .lang { display: none; }
.header-phone { display: none; }
.header-cta { display: none; }

.menu { position: static; }
.menu > summary {
  list-style: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.menu > summary::-webkit-details-marker { display: none; }
.menu .i-x { display: none; }
.menu[open] .i-x { display: block; }
.menu[open] .i-menu { display: none; }

.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: var(--header-h);
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .06);
  padding: 8px var(--pad) 24px;
  max-height: calc(100vh - var(--header-h));
  overflow-y: auto;
}
.menu-panel nav { display: grid; }
.menu-panel nav a {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--text);
  text-decoration: none;
  font-size: 18px;
}
.menu-panel .lang { margin: 16px 0; }
.menu-panel .lang button { font-size: 16px; }
.menu-actions { display: grid; gap: 8px; }

@media (min-width: 960px) {
  .header-tools > .lang { display: flex; }
  .header-cta { display: inline-flex; }
}
@media (min-width: 1140px) {
  .main-nav { display: flex; gap: 2px; margin-left: 24px; }
  .menu { display: none; }
}
@media (min-width: 1260px) {
  .header-phone {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    white-space: nowrap;
  }
}

/* Hero: mobile — фото фоном, текст поверх */
.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 160px var(--pad) 100px;
  overflow: hidden;
  color: #fff;
}
.hero-text { position: relative; z-index: 1; }
.hero-media { position: absolute; inset: 0; }
.hero-media > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 30%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04) 0%, rgba(0, 0, 0, .24) 22%, rgba(0, 0, 0, .64) 40%, rgba(0, 0, 0, .78) 65%, rgba(0, 0, 0, .84) 100%);
}

.hero h1 {
  color: #fff;
  font-size: clamp(32px, 9vw, 60px);
  line-height: 1.06;
  letter-spacing: 0;
  text-wrap: balance;
}
.hero-lead {
  margin-top: 16px;
  max-width: 34rem;
  color: rgba(255, 255, 255, .88);
  font-size: 17px;
  line-height: 1.5;
}
.hero-actions {
  margin-top: 24px;
  display: grid;
  gap: 8px;
}
.hero-actions .btn-primary { background: #FDFDFC; color: var(--text); }
.hero-actions .btn-primary:hover { background: #fff; }
.hero-actions .btn-secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .55);
}
.hero-actions .btn-secondary:hover { background: rgba(255, 255, 255, .1); }

.hero-status {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .86);
  font-size: 16px;
}

.hero-facts {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  display: grid;
  gap: 8px;
}
.hero-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: rgba(255, 255, 255, .9);
  font-size: 16px;
  line-height: 1.4;
}
.hero-facts .icon { margin-top: 1px; }

@media (max-width: 599px) {
  .hero-actions .btn-secondary { display: none; }
}
@media (min-width: 600px) and (max-width: 959px) {
  .hero-actions { grid-template-columns: auto auto; justify-content: start; }
}

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 64px;
    max-width: 1280px;
    margin-inline: auto;
    min-height: 0;
    padding: 40px var(--pad) 72px;
    overflow: visible;
    color: var(--text-2);
  }
  .hero-media {
    position: relative;
    inset: auto;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 96px);
    min-height: 520px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--raised);
  }
  .hero-media > * { object-position: 50% 0%; }
  .hero-media::after { display: none; }
  .hero h1 { color: var(--text); font-size: clamp(44px, 4.8vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
  .hero-lead { color: var(--text-2); font-size: 19px; margin-top: 20px; }
  .hero-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
  .hero-actions .btn-primary { background: var(--ink); color: #FDFDFC; }
  .hero-actions .btn-primary:hover { background: var(--ink-hover); }
  .hero-actions .btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
  .hero-actions .btn-secondary:hover { background: var(--raised); }
  .hero-status { color: var(--text-3); font-size: 15px; }
  .hero-facts {
    margin-top: 40px;
    padding-top: 20px;
    border-top-color: var(--line-strong);
    display: flex;
    flex-wrap: wrap;
    gap: 12px 0;
  }
  .hero-facts li {
    color: var(--text);
    font-size: 15px;
    padding-right: 20px;
    margin-right: 20px;
    border-right: 1px solid var(--line-strong);
  }
  .hero-facts li:last-child { border-right: 0; margin-right: 0; padding-right: 0; }
  .hero-facts .icon { color: var(--text-3); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-text { animation: rise .6s var(--ease) both; }
  .hero-media { animation: fade .7s var(--ease) both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* Sections */
.section { padding-block: 56px; }
@media (min-width: 960px) { .section { padding-block: 104px; } }

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.section-lead { max-width: 38rem; color: var(--text-2); }
@media (min-width: 960px) {
  .section-head {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: end;
    gap: 32px;
    margin-bottom: 48px;
  }
  .section-head .section-lead { justify-self: end; }
}

/* Packages */
.packages {
  display: grid;
  gap: 16px;
}
@media (min-width: 960px) {
  .packages { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
}

.pkg {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
@media (min-width: 960px) { .pkg { padding: 28px; } }

.pkg-head {
  display: grid;
  gap: 4px;
}
.pkg-name { font-size: 22px; }
.pkg-city { color: var(--text-3); }
.pkg-price {
  color: var(--accent);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0;
  font-variant-numeric: tabular-nums;
}
.pkg-price .unit { font-size: 18px; letter-spacing: 0; }
.pkg-note { color: var(--text-2); margin-top: -8px; }

.pkg-list {
  list-style: none;
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 10px;
}
.pkg-list li {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 10px;
  font-size: 16px;
  line-height: 1.45;
  color: var(--text);
}
.pkg-list .icon { margin-top: 3px; color: var(--text-3); }
@media (min-width: 960px) { .pkg-list .mono { font-size: 15px; } }

.pkg-more > summary {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  color: var(--text);
  font-weight: 500;
  cursor: pointer;
}
.pkg-more > summary::-webkit-details-marker { display: none; }
.pkg-more > summary .icon { color: var(--text-3); transition: transform .18s var(--ease); }
.pkg-more[open] > summary .icon { transform: rotate(180deg); }
.pkg-more .pkg-list { border-top: 0; padding-top: 4px; }
.pkg-cta { margin-top: auto; width: 100%; }

.extra {
  margin-top: 48px;
}
.extra h3 { font-size: 22px; margin-bottom: 8px; }
.extra-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-strong);
}
.extra-row {
  display: grid;
  gap: 4px 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.extra-row h4 { font-size: 18px; line-height: 1.35; }
.extra-row p { color: var(--text-2); }
.extra-row .link-arrow { justify-self: start; }
@media (min-width: 960px) {
  .extra { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 3fr); gap: 32px; margin-top: 64px; }
  .extra-row { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.6fr) auto; align-items: center; padding: 12px 0; }
}

/* Works */
.works {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px 12px;
}
@media (min-width: 960px) {
  .works { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; }
}

.work-media {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  border: 0;
  border-radius: 12px;
  overflow: hidden;
  background: var(--raised);
  cursor: pointer;
}
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
.work-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 25, 28, 0);
  transition: background-color .18s var(--ease);
}
.work-media:hover::after { background: rgba(27, 25, 28, .08); }
html:not(.js) .work-media { cursor: default; }

.work-title { margin-top: 14px; font-size: 17px; line-height: 1.3; }
.work-meta { margin-top: 4px; color: var(--text-3); }
.work-desc { display: none; margin-top: 8px; color: var(--text-2); }
@media (min-width: 600px) { .work-desc { display: block; } }
@media (min-width: 960px) { .work-title { font-size: 20px; margin-top: 16px; } }

.stories {
  display: grid;
  gap: 16px;
  margin-top: 48px;
}
@media (min-width: 960px) {
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 72px; }
}
.story {
  display: grid;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.story-media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--raised);
}
.story-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.story-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px;
}
.story-text h3 { font-size: 22px; }
.specs {
  margin: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 16px;
}
.specs dt { color: var(--text-3); }
.specs dd { margin: 0; color: var(--text); }
.story .link-arrow { margin-top: auto; }
@media (min-width: 600px) {
  .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .story-media { aspect-ratio: 3 / 4; height: 100%; }
  .story-text { padding: 28px; }
}

/* Quality */
.quality { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .quality { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
}
.quality-media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
}
@media (min-width: 960px) { .quality-media { gap: 16px; } }
.quality-media figure { margin: 0; }
.quality-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
  background: var(--raised);
}
.quality-media figcaption { margin-top: 8px; color: var(--text-3); font-size: 16px; line-height: 1.4; }
@media (min-width: 960px) { .quality-media figcaption { font-size: 15px; } }

.quality-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.quality-list li {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.tile {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--text-2);
}
.quality-list h3 { font-size: 18px; line-height: 1.35; }
.quality-list p { margin-top: 4px; color: var(--text-2); }

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.steps li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 20px 0;
  align-content: start;
  border-top: 1px solid var(--line-strong);
}
.step-num { color: var(--accent); grid-row: span 2; padding-top: 2px; }
.steps h3 { font-size: 18px; line-height: 1.35; }
.steps p { color: var(--text-2); }
@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .steps li { grid-template-columns: 1fr; gap: 12px; padding-top: 20px; }
  .step-num { grid-row: auto; }
}

/* Calc */
.calc { background: var(--dark); color: var(--on-dark-2); }
.calc h2 { color: var(--on-dark); }
.calc-grid { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .calc-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
}
.calc-intro p { margin-top: 16px; max-width: 30rem; }
.calc-alt { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.calc-alt a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--on-dark);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(243, 243, 242, .4);
}
.calc-form {
  margin: 0;
  padding: 24px;
  border-radius: 16px;
  background: var(--dark-surface);
  border: 1px solid var(--dark-line);
}
@media (min-width: 960px) { .calc-form { padding: 32px; } }
.calc-form fieldset { border: 0; margin: 0 0 24px; padding: 0; min-width: 0; }
.calc-form legend { padding: 0; margin-bottom: 12px; color: var(--on-dark); font-weight: 500; font-size: 17px; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 600px) { .opts-area { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.opt { position: relative; display: block; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.opt span {
  display: flex;
  align-items: center;
  min-height: 52px;
  height: 100%;
  padding: 10px 14px;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  color: var(--on-dark);
  font-size: 16px;
  line-height: 1.3;
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease);
}
.opt span:hover { border-color: rgba(243, 243, 242, .36); }
.opt input:checked + span { background: var(--on-dark); border-color: var(--on-dark); color: var(--text); }
.opt input:focus-visible + span { outline: 2px solid var(--on-dark); outline-offset: 2px; }
.calc-send { width: 100%; }
.calc :focus-visible { outline-color: var(--on-dark); }
html:not(.js) .calc-form fieldset { display: none; }

/* Reviews */
.reviews { display: grid; gap: 16px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; } }
.review {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 0;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.review blockquote { margin: 0; color: var(--text); line-height: 1.55; }
.review figcaption { margin-top: auto; display: grid; gap: 2px; }
.review-author { color: var(--text); font-weight: 500; }
.review-meta { color: var(--text-3); }
.reviews-foot { margin-top: 24px; }

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

/* Instagram */
.ig-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.ig-profile {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  color: var(--text);
  text-decoration: none;
}
.ig-profile .tile { flex-shrink: 0; }
.ig-profile b { display: block; font-weight: 500; }
.ig-profile .mono { color: var(--text-3); }
.ig-profile:hover b { color: var(--accent); }
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (min-width: 960px) { .ig-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; } }
.ig-grid a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: var(--raised);
}
.ig-grid img { width: 100%; height: 100%; object-fit: cover; }
.ig-grid a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(27, 25, 28, 0);
  transition: background-color .18s var(--ease);
}
.ig-grid a:hover::after { background: rgba(27, 25, 28, .1); }

/* Contacts */
.contacts { display: grid; gap: 32px; }
@media (min-width: 960px) { .contacts { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; } }
.c-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.c-row {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.c-label { color: var(--text-3); font-size: 16px; line-height: 1.4; }
@media (min-width: 960px) { .c-label { font-size: 15px; } }
.c-value { color: var(--text); font-weight: 500; text-decoration: none; }
a.c-value { display: inline-flex; align-items: center; min-height: 32px; }
a.c-value:hover { color: var(--accent); }
.c-sub { color: var(--text-2); }
.phones { display: grid; gap: 0; }
.phones span.mono { color: var(--text-3); margin-left: 8px; font-weight: 400; }
.hours { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 2px; }
.hours li { display: flex; justify-content: space-between; gap: 16px; color: var(--text-2); max-width: 340px; }
.hours li.is-today { color: var(--text); font-weight: 500; }
.c-status { margin-top: 2px; color: var(--text); }

.map-col { display: flex; flex-direction: column; gap: 16px; }
.map {
  position: relative;
  flex: 1;
  min-height: 320px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--raised);
}
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-col .btn { align-self: flex-start; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px 32px;
  align-items: center;
}
.footer-in p { color: var(--text-3); max-width: 44rem; }
.footer-links { display: flex; gap: 8px; }
.footer-links a {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  border: 1px solid var(--line);
  color: var(--text-2);
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.footer-links a:hover { background: var(--raised); color: var(--text); }

/* Mobile bar */
.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  gap: 8px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(243, 243, 242, .97);
  border-top: 1px solid var(--line);
}
.mobile-bar .btn-primary { flex: 1; }
@media (min-width: 960px) { .mobile-bar { display: none; } }

/* Viewer */
.viewer {
  width: min(100vw - 24px, 1100px);
  max-width: none;
  max-height: none;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: var(--dark);
  color: var(--on-dark);
  box-shadow: 0 24px 48px rgba(0, 0, 0, .24);
}
.viewer::backdrop { background: rgba(15, 14, 16, .78); }
.viewer-in { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: min(92svh, 1000px); }
.viewer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 20px;
}
.viewer-title { color: var(--on-dark); font-weight: 500; }
.viewer-count { color: var(--on-dark-2); margin-left: 12px; }
.viewer-stage { position: relative; min-height: 0; touch-action: pan-y; }
.viewer-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.viewer-nav { display: flex; justify-content: center; gap: 8px; padding: 12px; }
.viewer .vbtn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  border: 1px solid var(--dark-line);
  background: transparent;
  color: var(--on-dark);
  cursor: pointer;
  transition: background-color .16s var(--ease), transform .16s var(--ease);
}
.viewer .vbtn:hover { background: rgba(243, 243, 242, .08); }
.viewer .vbtn:active { transform: scale(.98); }
.viewer .vbtn.prev .icon { transform: scaleX(-1); }
.viewer :focus-visible { outline-color: var(--on-dark); }

/* Reveal */
html.js .reveal { opacity: 0; transform: translateY(10px); }
html.js .reveal.is-in {
  opacity: 1;
  transform: none;
  transition: opacity .45s var(--ease), transform .45s var(--ease);
  transition-delay: calc(var(--i, 0) * 50ms);
}
html.js .reveal.is-instant { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .hero-text, .hero-media { animation: none; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
