/* Plast com — двери, окна и балконы в Сатпаеве */

:root {
  --bg: #f2f4f3;
  --surface: #fcfdfc;
  --raised: #e6eae9;
  --line: rgba(21, 24, 46, 0.09);
  --line-strong: rgba(21, 24, 46, 0.16);

  --text: #15182e;
  --text-2: #444a5a;
  --text-3: #5f6574;

  --navy: #15184a;
  --navy-hover: #23286b;
  --teal: #0e7770;
  --on-dark: #f2f4f3;
  --on-dark-2: rgba(242, 244, 243, 0.78);

  --r-btn: 10px;
  --r-card: 14px;
  --r-media: 12px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "Geist", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --header-h: 64px;
  --container: 1200px;
  --pad: 20px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 84px;
}

img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 { color: var(--text); font-weight: 500; }
button { font: inherit; color: inherit; }

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

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

.mono { font-family: var(--mono); font-weight: 400; font-variant-numeric: tabular-nums; }
.num { font-variant-numeric: tabular-nums; }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--navy); color: #fff; padding: 8px 16px; border-radius: var(--r-btn);
}
.skip:focus { top: 12px; }

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

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 20px;
  border-radius: var(--r-btn);
  font-family: var(--sans); font-size: 16px; font-weight: 500; line-height: 1.2;
  text-decoration: none; text-align: center;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease), transform 160ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
.btn-secondary:hover { background: var(--raised); }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background-color 180ms var(--ease), border-color 180ms var(--ease);
}
.site-header.is-scrolled { background: var(--surface); border-bottom-color: var(--line); }

.header-inner {
  display: flex; align-items: center; gap: 24px;
  height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; min-height: 44px; }
.brand img { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; background: #fff; }
.brand-name { white-space: nowrap; font-size: 18px; font-weight: 600; color: var(--text); line-height: 1; }
.brand-city { white-space: nowrap; font-size: 15px; color: var(--text-3); line-height: 1; }

.nav { display: none; }
.nav a {
  white-space: nowrap; text-decoration: none; color: var(--text-2); font-size: 16px;
  padding: 10px 0; transition: color 160ms var(--ease);
}
.nav a:hover { color: var(--text); }


.lang { display: flex; gap: 2px; padding: 2px; border-radius: var(--r-btn); background: var(--raised); }
.lang button {
  min-width: 44px; min-height: 40px; padding: 0 8px;
  border: 0; border-radius: 8px; background: transparent;
  font-size: 14px; font-weight: 500; color: var(--text-3); cursor: pointer;
  transition: background-color 160ms var(--ease), color 160ms var(--ease);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--text); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); }
.header-inner > .lang { display: none; }
.header-cta { display: none; }

.menu-btn {
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: var(--r-btn);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--text); cursor: pointer;
}
.menu-btn .icon-x { display: none; }
.menu-open .menu-btn .icon-x { display: block; }
.menu-open .menu-btn .icon-menu { display: none; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 39;
  background: var(--surface); border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  padding: 8px var(--pad) 24px;
  max-height: calc(100svh - var(--header-h)); overflow-y: auto;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav a {
  display: flex; align-items: center; min-height: 52px;
  border-bottom: 1px solid var(--line);
  font-size: 18px; color: var(--text); text-decoration: none;
}
.mobile-menu .lang { margin: 20px 0 16px; width: max-content; }
.mobile-menu .menu-actions { display: grid; gap: 8px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: flex; flex-direction: column; justify-content: flex-end;
  color: #fff;
  overflow: hidden;
}
.hero-text {
  position: relative; z-index: 1;
  padding: 160px var(--pad) 28px;
}
.hero-media { position: absolute; inset: 0; }
.hero-media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 24, 0.1) 0%, rgba(8, 10, 24, 0.12) 20%, rgba(8, 10, 24, 0.62) 44%, rgba(8, 10, 24, 0.88) 100%);
}

.hero h1 {
  color: #fff;
  font-size: clamp(36px, 4.8vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.hero-lead {
  margin-top: 16px; max-width: 36rem;
  font-size: 17px; line-height: 1.55; color: rgba(255, 255, 255, 0.88);
}

.hero-prices {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  margin-top: 20px; max-width: 30rem;
}
.hero-price { display: flex; flex-direction: column; justify-content: space-between; padding-left: 12px; border-left: 1px solid rgba(255, 255, 255, 0.32); }
.hero-price dt { font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, 0.82); }
.hero-price dd { margin-top: 4px; font-size: 22px; font-weight: 500; line-height: 1.2; color: #fff; font-variant-numeric: tabular-nums; }

.hero-actions { display: grid; gap: 8px; margin-top: 24px; }
.hero .btn-primary { background: #fff; color: var(--navy); }
.hero .btn-primary:hover { background: #e9ecf0; }
.hero .btn-secondary { background: rgba(255, 255, 255, 0.06); color: #fff; border-color: rgba(255, 255, 255, 0.5); }
.hero .btn-secondary:hover { background: rgba(255, 255, 255, 0.14); }

.hero-meta {
  display: flex; flex-wrap: wrap; gap: 8px 20px;
  margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, 0.86);
}
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta .icon { width: 18px; height: 18px; }
.hero-meta a { text-decoration: none; }
.hero-meta a:hover { text-decoration: underline; text-underline-offset: 3px; }
[data-open-status]:empty, li:has(> [data-open-status]:empty) { display: none; }

@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.js .hero-text { animation: rise 480ms var(--ease) both; }
.js .hero-media > * { animation: fade 600ms var(--ease) both; }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (min-width: 960px) {
  .hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
    max-width: var(--container);
    margin-inline: auto;
    min-height: 0;
    padding: 32px var(--pad) 40px;
    color: var(--text-2);
    overflow: visible;
  }
  .hero-text { padding: 0; }
  .hero-media {
    position: relative; inset: auto;
    aspect-ratio: 4 / 5;
    max-height: calc(100svh - var(--header-h) - 72px);
    min-height: 520px;
    border-radius: var(--r-media);
    overflow: hidden;
    background: var(--raised);
  }
  .hero-media::after { display: none; }
  .hero h1 { color: var(--text); max-width: 13ch; }
  .hero-lead { color: var(--text-2); font-size: 19px; margin-top: 20px; }
  .hero-prices { margin-top: 28px; }
  .hero-price { border-left-color: var(--line-strong); }
  .hero-price dt { color: var(--text-3); }
  .hero-price dd { color: var(--teal); font-size: 24px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .hero .btn-primary { background: var(--navy); color: #fff; }
  .hero .btn-primary:hover { background: var(--navy-hover); }
  .hero .btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-strong); }
  .hero .btn-secondary:hover { background: var(--raised); }
  .hero-meta { color: var(--text-3); margin-top: 20px; }
}

/* ---------- Facts strip ---------- */

.facts { padding: 8px 0 0; }
.facts-list {
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
}
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 16px; }
.fact:nth-child(odd) { border-right: 1px solid var(--line); }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
.fact-ico {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--raised); color: var(--text-2);
}
.fact b { display: block; font-weight: 500; color: var(--text); font-size: 16px; line-height: 1.35; }
.fact span { display: block; font-size: 15px; line-height: 1.4; color: var(--text-3); margin-top: 2px; }

@media (max-width: 479px) {
  .facts-list { grid-template-columns: 1fr; }
  .fact:nth-child(odd) { border-right: 0; }
  .fact:not(:last-child) { border-bottom: 1px solid var(--line); }
}
@media (min-width: 960px) {
  .facts { padding-top: 0; }
  .facts-list { grid-template-columns: repeat(4, 1fr); }
  .fact { padding: 20px 24px; }
  .fact:nth-child(odd) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 0; }
  .fact + .fact { border-left: 1px solid var(--line); }
}

/* ---------- Sections ---------- */

.section { padding: 56px 0; }
.section-head { max-width: 44rem; margin-bottom: 28px; }
.section h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.12;
}
.section-lead { margin-top: 12px; font-size: 17px; color: var(--text-2); }

@media (min-width: 960px) {
  .section { padding: 96px 0; }
  .section h2 { letter-spacing: -0.02em; }
  .section-head { margin-bottom: 40px; }
  .section-lead { font-size: 18px; }
}

/* ---------- Doors / prices ---------- */

.doors-grid { display: grid; gap: 24px; }

.showroom-video {
  position: relative; overflow: hidden;
  border-radius: var(--r-media);
  background: var(--raised);
  aspect-ratio: 4 / 5;
}
.showroom-video video {
  width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%;
  pointer-events: none;
}

.included {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px;
  padding: 16px 20px; margin-bottom: 16px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
}
.included-title { font-weight: 500; color: var(--text); font-size: 16px; width: 100%; }
.included li { display: flex; align-items: center; gap: 8px; font-size: 16px; color: var(--text-2); }
.included .icon { color: var(--teal); width: 18px; height: 18px; }

.price-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 8px 20px;
}
.price-card + .price-card { margin-top: 16px; }
.price-card h3 {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  font-size: 20px; padding: 16px 0 12px; border-bottom: 1px solid var(--line);
}
.price-card h3 small { font-size: 15px; font-weight: 400; color: var(--text-3); }
.price-row {
  display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: baseline;
  padding: 16px 0;
}
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-name { font-size: 17px; font-weight: 500; color: var(--text); line-height: 1.35; }
.price-value { font-size: 22px; font-weight: 500; color: var(--teal); font-variant-numeric: tabular-nums; white-space: nowrap; line-height: 1.3; }
.price-spec { grid-column: 1 / -1; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.price-dims { grid-column: 1 / -1; font-size: 15px; line-height: 1.4; color: var(--text-2); }

.doors-notes { display: grid; gap: 12px; margin-top: 20px; }
.note { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; color: var(--text-2); line-height: 1.5; }
.note .icon { color: var(--text-3); margin-top: 2px; }

@media (min-width: 960px) {
  .doors-grid { grid-template-columns: minmax(320px, 400px) 1fr; gap: 48px; align-items: start; }
  .showroom-video { position: sticky; top: 96px; }
  .price-card { padding: 8px 28px; }
  .price-row { grid-template-columns: 1fr auto; }
  .price-value { grid-row: 1 / span 3; grid-column: 2; align-self: start; font-size: 24px; }
  .price-spec, .price-dims { grid-column: 1; }
  .included-title { width: auto; margin-right: 4px; }
}

/* ---------- Balcony ---------- */

.balcony-head { display: grid; gap: 24px; margin-bottom: 28px; }
.checklist { display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--text); line-height: 1.45; }
.check-ico {
  display: grid; place-items: center; flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--raised); color: var(--teal);
  margin-top: -2px;
}
.check-ico .icon { width: 16px; height: 16px; }

.works { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.works figure:first-child { grid-column: 1 / -1; }
.work-media { aspect-ratio: 3 / 4; border-radius: var(--r-media); overflow: hidden; background: var(--raised); }
.work-media img { width: 100%; height: 100%; object-fit: cover; }
.works figcaption { margin-top: 12px; font-size: 15px; line-height: 1.4; color: var(--text-3); }

@media (min-width: 720px) {
  .works { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .works figure:first-child { grid-column: auto; }
}
@media (min-width: 960px) {
  .balcony-head { grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; margin-bottom: 40px; }
  .balcony-head .section-head { margin-bottom: 0; }
  .checklist { gap: 12px; }
}

/* ---------- Steps ---------- */

.steps { display: grid; gap: 0; counter-reset: step; }
.step { display: grid; align-content: start; grid-template-columns: 48px 1fr; gap: 4px 12px; padding: 20px 0; border-top: 1px solid var(--line-strong); }
.step-num { grid-row: 1 / span 2; font-family: var(--mono); font-size: 15px; color: var(--teal); line-height: 1.6; }
.step h3 { font-size: 19px; line-height: 1.35; }
.step p { font-size: 16px; color: var(--text-2); line-height: 1.55; }

@media (min-width: 960px) {
  .steps { grid-template-columns: repeat(5, 1fr); gap: 24px; }
  .step { grid-template-columns: 1fr; padding: 20px 0 0; gap: 8px; }
  .step-num { grid-row: auto; }
}

/* ---------- Calc (dark) ---------- */

.calc { background: var(--navy); color: var(--on-dark-2); }
.calc h2 { color: var(--on-dark); }
.calc .section-lead { color: var(--on-dark-2); }
.calc-grid { display: grid; gap: 28px; }
.calc-form { display: grid; gap: 24px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { padding: 0; margin-bottom: 12px; font-size: 16px; font-weight: 500; color: var(--on-dark); }
.calc-fields { display: none; }
.js .calc-fields { display: grid; gap: 24px; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.opts.three { grid-template-columns: 1fr; }
.calc .section-head { margin-bottom: 0; }
.opt { position: relative; display: block; cursor: pointer; }
.opt input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.opt span {
  display: flex; align-items: center; min-height: 52px; height: 100%;
  padding: 12px 16px; border-radius: var(--r-btn);
  border: 1px solid rgba(242, 244, 243, 0.22);
  color: var(--on-dark); font-size: 16px; line-height: 1.3;
  transition: background-color 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.opt:hover span { border-color: rgba(242, 244, 243, 0.5); }
.opt input:checked + span { background: var(--on-dark); color: var(--navy); border-color: var(--on-dark); }
.opt input:focus-visible + span { outline: 2px solid #7fd3cc; outline-offset: 2px; }
.opt .mono { font-size: 15px; }
.q2[hidden] { display: none; }
.calc .btn-light { background: var(--on-dark); color: var(--navy); width: 100%; }
.calc .btn-light:hover { background: #dfe4e3; }

@media (min-width: 960px) {
  .calc-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .opts { grid-template-columns: repeat(4, 1fr); }
  .opts.three { grid-template-columns: repeat(3, 1fr); }
  .calc .btn-light { width: auto; }
}

/* ---------- Reviews ---------- */

.reviews-grid { display: grid; gap: 16px; }
.review {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 24px; display: flex; flex-direction: column; gap: 16px;
}
.stars { display: flex; gap: 2px; color: var(--teal); }
.stars .icon { width: 16px; height: 16px; }
.review blockquote { font-size: 17px; line-height: 1.6; color: var(--text); }
.review-main blockquote { font-size: 18px; }
.review blockquote p + p { margin-top: 12px; }
.review footer { margin-top: auto; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 15px; color: var(--text-3); }
.review footer b { font-weight: 500; color: var(--text); }
.review-side { display: grid; gap: 16px; align-content: start; }
.review-side .section-head { margin-bottom: 8px; }
@media (max-width: 959px) {
  .review-side { display: contents; }
  .review-side .section-head { order: -1; margin-bottom: 12px; }
  .review-side .review { order: 1; }
  .review-side .link-arrow { order: 2; }
}
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  color: var(--text); font-weight: 500; text-decoration: none; font-size: 16px;
}
.link-arrow:hover { color: var(--teal); }

@media (min-width: 960px) {
  .reviews-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
  .review-side .section-head { margin-bottom: 8px; }
  .review { padding: 32px; }
}

/* ---------- Instagram ---------- */

.ig-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.ig-head .section-head { margin-bottom: 0; }
.ig-profile { display: flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.ig-profile .ico-box {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 10px;
  background: var(--surface); border: 1px solid var(--line); color: var(--text-2);
}
.ig-profile b { display: block; font-weight: 500; color: var(--text); font-size: 17px; line-height: 1.3; }
.ig-profile span { display: block; font-size: 15px; color: var(--text-3); line-height: 1.3; }
.ig-profile:hover b { color: var(--teal); }

.ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.ig-grid a { display: block; aspect-ratio: 4 / 5; border-radius: var(--r-media); overflow: hidden; background: var(--raised); position: relative; }
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity 160ms var(--ease); }
.ig-grid a:hover img { opacity: 0.86; }
.ig-grid li:nth-child(n+7) { display: none; }

@media (min-width: 720px) {
  .ig-grid { grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .ig-grid li:nth-child(n+7) { display: block; }
}
@media (min-width: 960px) { .ig-grid { gap: 16px; } .ig-head { margin-bottom: 40px; } }

/* ---------- FAQ ---------- */

.faq-grid { display: grid; gap: 8px; }
.faq-list { border-top: 1px solid var(--line-strong); }
.faq-list details { border-bottom: 1px solid var(--line-strong); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 500; color: var(--text); line-height: 1.4;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary .icon { color: var(--text-3); transition: transform 180ms var(--ease); }
.faq-list details[open] summary .icon { transform: rotate(180deg); }
.faq-list details p { padding: 0 40px 20px 0; font-size: 17px; color: var(--text-2); }

@media (min-width: 960px) {
  .faq-grid { grid-template-columns: 0.8fr 1.2fr; gap: 64px; align-items: start; }
}

/* ---------- Contacts ---------- */

.contacts-grid { display: grid; gap: 16px; }
.contact-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card);
  padding: 8px 20px;
}
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding: 16px 0; }
.contact-row + .contact-row { border-top: 1px solid var(--line); }
.ico-sq {
  display: grid; place-items: center; flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--raised); color: var(--text-2);
  margin-top: -4px;
}
.contact-row dt { font-size: 15px; color: var(--text-3); line-height: 1.3; }
.contact-row dd { font-size: 17px; color: var(--text); line-height: 1.45; margin-top: 2px; }
.contact-row dd a { text-decoration: none; }
.contact-row dd a:hover { color: var(--teal); }
.contact-row dd a.tel { display: inline-flex; min-height: 32px; align-items: center; font-variant-numeric: tabular-nums; }
.contact-body { min-width: 0; flex: 1; }

.schedule { display: grid; grid-template-columns: auto 1fr; gap: 0 16px; margin-top: 8px; font-size: 16px; }
.schedule dt, .schedule dd { margin: 0; padding: 2px 0; font-size: 16px; color: var(--text-2); line-height: 1.4; }
.schedule dd { font-family: var(--mono); font-size: 15px; font-variant-numeric: tabular-nums; }
.schedule .is-today { color: var(--text); font-weight: 500; }
.schedule dd.is-today { color: var(--teal); font-weight: 400; }
.status-line { display: block; margin-top: 2px; font-size: 15px; color: var(--teal); }

.map-box { display: grid; gap: 12px; }
.map-frame { border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); background: var(--raised); height: 320px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

.showroom-photo { display: grid; gap: 12px; }
.showroom-photo .work-media { aspect-ratio: 4 / 5; }
.showroom-photo figcaption { font-size: 15px; color: var(--text-3); line-height: 1.45; }

@media (min-width: 720px) {
  .contacts-grid { grid-template-columns: 1fr 1fr; }
  .showroom-photo { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; align-items: end; gap: 16px; }
}
@media (min-width: 1100px) {
  .contacts-grid { grid-template-columns: 0.8fr 1fr 1.1fr; gap: 24px; align-items: stretch; }
  .showroom-photo { grid-column: auto; grid-template-columns: 1fr; grid-template-rows: 1fr auto; align-items: stretch; order: -1; }
  .showroom-photo .work-media { aspect-ratio: auto; height: 100%; min-height: 420px; }
  .map-box { grid-template-rows: 1fr auto; }
  .map-frame { height: 100%; min-height: 420px; }
  .contact-card { padding: 8px 24px; }
}

/* ---------- Footer ---------- */

.site-footer { border-top: 1px solid var(--line); padding: 32px 0 24px; font-size: 15px; color: var(--text-3); }
.footer-inner { display: grid; gap: 16px; }
.footer-brand b { display: block; color: var(--text); font-weight: 500; font-size: 17px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; font-variant-numeric: tabular-nums; }
.footer-links a:hover { color: var(--text); }

@media (min-width: 960px) {
  .footer-inner { grid-template-columns: 1fr auto; align-items: start; }
  .footer-note { grid-column: 1 / -1; }
}

/* ---------- Mobile sticky bar ---------- */

.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  display: flex; gap: 8px;
  padding: 12px var(--pad) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); border-top: 1px solid var(--line);
  transition: transform 240ms var(--ease), opacity 240ms var(--ease);
}
.sticky-cta .btn-primary { flex: 1; }
.sticky-cta .btn-call { width: 48px; padding: 0; flex-shrink: 0; }
.sticky-cta.is-hidden { transform: translateY(100%); opacity: 0; pointer-events: none; }
html:not(.js) .hero-text { padding-bottom: 100px; }

/* ---------- Header and layout on desktop ---------- */

@media (min-width: 960px) {
  body { padding-bottom: 0; }
  .sticky-cta { display: none; }
  .header-inner { height: 72px; }
  :root { --header-h: 72px; --pad: 32px; }
}
@media (min-width: 1200px) {
  .nav { display: flex; gap: 20px; }
  .header-inner > .lang { display: flex; }
  .header-cta { display: inline-flex; min-height: 44px; white-space: nowrap; }
  .menu-btn { display: none; }
  .mobile-menu { display: none !important; }
}

/* ---------- Reveal ---------- */

.js .reveal { opacity: 0; transform: translateY(10px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity 420ms var(--ease), transform 420ms var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in.no-anim { transition: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  .js .hero-text, .js .hero-media > * { animation: none; }
  .btn, .opt span, .sticky-cta, .site-header, .ig-grid img, .faq-list summary .icon { transition: none; }
  .btn:active { transform: none; }
}
