/* Alum Plast Karaganda */
:root {
  --bg: #F2F3F3;
  --surface: #FCFCFC;
  --raised: #E8EAEB;
  --line: rgba(21, 26, 36, .09);
  --line-2: rgba(21, 26, 36, .16);
  --text: #151A24;
  --text-2: #434955;
  --text-3: #5F6570;
  --ink: #13203A;
  --ink-2: #22355A;
  --accent: #A84E08;
  --accent-lit: #F08A24;
  --accent-lit-2: #F49B42;
  --dark: #13203A;
  --dark-2: #1B2A47;
  --dark-3: #22335A;
  --dark-line: rgba(242, 243, 243, .14);
  --dark-text: #F2F3F3;
  --dark-text-2: #B9C0CC;
  --ok: #1E7A4C;
  --r-btn: 10px;
  --r-card: 14px;
  --r-lg: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: 'Geist', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;
  --header-h: 56px;
}
@media (min-width: 960px) {
  :root { --header-h: 64px; }
}

*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 960px) {
  body { font-size: 17px; }
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2, h3 { color: var(--text); font-weight: 500; }
.icon { display: block; flex-shrink: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.calc :focus-visible { outline-color: var(--accent-lit); }

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

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 960px) {
  .wrap { padding-inline: 32px; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: var(--r-btn);
  font: 500 16px/1.2 var(--font);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--ink-2); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--raised); }
.btn-accent { background: var(--accent-lit); color: var(--ink); }
.btn-accent:hover { background: var(--accent-lit-2); }

/* header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid transparent;
  transition: background-color .18s var(--ease), border-color .18s var(--ease);
}
.header.is-scrolled { background: var(--surface); border-bottom-color: var(--line); }
.header-in { display: flex; align-items: center; gap: 16px; height: var(--header-h); }
.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-right: auto;
  min-height: 44px;
  align-self: center;
  padding-top: 10px;
  text-decoration: none;
  white-space: nowrap;
}
.brand-name { font-size: 18px; font-weight: 600; color: var(--text); line-height: 1.2; }
.brand-city { font-family: var(--mono); font-size: 14px; color: var(--text-3); line-height: 1.2; }
.nav, .header-actions { display: none; }
.menu-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-2);
  border-radius: var(--r-btn);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.menu-ico { display: grid; place-items: center; }
.menu-ico-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-ico-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-ico-close { display: grid; }
html:not(.js) .menu-btn { display: none; }

.lang { display: flex; gap: 2px; }
.lang button {
  min-width: 44px;
  height: 44px;
  padding: 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font: 500 14px/1 var(--font);
  color: var(--text-3);
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease);
}
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { background: var(--raised); color: var(--text); }

.mmenu {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  max-height: calc(100vh - var(--header-h));
  overflow: auto;
  padding: 8px 20px 24px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.mmenu[hidden] { display: none; }
.mmenu 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;
}
.mmenu .lang { margin-top: 16px; }
.mmenu .btn { width: 100%; margin-top: 16px; }

@media (min-width: 1100px) {
  .brand { margin-right: 16px; }
  .nav { display: flex; gap: 2px; margin-right: auto; }
  .nav a {
    display: flex;
    align-items: center;
    min-height: 44px;
    padding: 0 8px;
    border-radius: 8px;
    font-size: 15px;
    color: var(--text-2);
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .15s var(--ease), color .15s var(--ease);
  }
  .nav a:hover { background: var(--raised); color: var(--text); }
  .header-actions { display: flex; align-items: center; gap: 12px; }
  .menu-btn, .mmenu { display: none !important; }
  .btn-header { min-height: 44px; padding: 0 16px; font-size: 15px; white-space: nowrap; }
}
@media (min-width: 1280px) {
  .nav a { padding: 0 10px; }
}
.header-phone { display: none; }
@media (min-width: 1400px) {
  .header-phone {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }
  .header-phone:hover { color: var(--accent); }
}

/* hero */
.hero { display: grid; }
.hero-text { padding: 24px 20px 8px; }
.hero-media { order: -1; aspect-ratio: 1 / 1; overflow: hidden; background: var(--raised); }
.hero-media > img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 62%; }
.hero h1 {
  font-size: 36px;
  line-height: 1.06;
  letter-spacing: 0;
  max-width: 14ch;
}
.hero-lead { margin-top: 16px; font-size: 17px; line-height: 1.55; color: var(--text-2); max-width: 34rem; }
.hero-actions { display: none; }
.status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  font-size: 15px;
  color: var(--text-2);
  font-variant-numeric: tabular-nums;
}
.status[hidden] { display: none; }
.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--text-3);
  flex-shrink: 0;
}
.status.is-open::before { background: var(--ok); }

.facts { margin-top: 20px; border-top: 1px solid var(--line-2); }
.facts > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt { font-family: var(--mono); font-size: 14px; color: var(--text-3); }
.facts dd { font-size: 17px; font-weight: 500; color: var(--text); text-align: right; font-variant-numeric: tabular-nums; }

@media (min-width: 560px) {
  .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .facts > div { display: block; padding: 16px 16px 0 0; border-bottom: 0; }
  .facts > div + div { padding-left: 16px; border-left: 1px solid var(--line); }
  .facts dd { margin-top: 4px; text-align: left; }
}
@media (min-width: 640px) and (max-width: 959px) {
  .hero-media { aspect-ratio: 4 / 3; }
  .hero-media > img { object-position: 50% 45%; }
  .hero-text { padding: 32px 32px 8px; }
}
@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.05fr .95fr;
    align-items: center;
    gap: 64px;
    max-width: 1280px;
    margin-inline: auto;
    padding: 32px 32px 72px;
  }
  .hero-text { padding: 0; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 60px); line-height: 1.04; letter-spacing: -0.03em; }
  .hero-lead { margin-top: 20px; font-size: 19px; }
  .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
  .status { margin-top: 20px; }
  .facts { margin-top: 32px; }
  .hero-media {
    order: 0;
    aspect-ratio: 4 / 5;
    max-height: calc(100vh - var(--header-h) - 88px);
    min-height: 480px;
    border-radius: 12px;
  }
  .hero-media > img { object-position: 50% 0%; }
}

/* sections */
.section { padding: 56px 0; }
.section-tight-top { padding-top: 8px; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
@media (min-width: 960px) {
  .section { padding: 104px 0; }
  .section-tight-top { padding-top: 24px; }
}
.section-head { display: grid; gap: 12px; max-width: 760px; margin-bottom: 28px; }
@media (min-width: 960px) {
  .section-head { margin-bottom: 40px; }
}
h2 { font-size: clamp(28px, 2.4vw + 10px, 40px); line-height: 1.12; letter-spacing: 0; }
@media (min-width: 1240px) {
  h2 { letter-spacing: -0.02em; }
}
.section-lead { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 40rem; }
.meta { font-family: var(--mono); font-size: 14px; line-height: 1.5; color: var(--text-3); }

/* products */
.tiles { display: grid; gap: 12px; }
@media (min-width: 640px) {
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
}
@media (min-width: 1100px) {
  .tiles { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tile { grid-column: span 2; }
  .tile-wide { grid-column: span 3; }
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.tile h3 { font-size: 19px; line-height: 1.3; }
.tile p { font-size: 16px; line-height: 1.55; color: var(--text-2); }
.tile .price {
  margin-top: auto;
  padding-top: 12px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}

/* works */
.case {
  display: grid;
  gap: 24px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.case-head { display: grid; gap: 24px; padding: 8px 4px 0; }
.case-title { margin-top: 8px; font-size: clamp(24px, 1vw + 18px, 30px); line-height: 1.2; }
.case-lead { margin-top: 12px; color: var(--text-2); }
.case-done-title { font-weight: 500; color: var(--text); }
.checks { display: grid; gap: 12px; margin-top: 12px; }
.checks li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.checks .icon { margin-top: 3px; color: var(--text-3); }
.case-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ph { display: grid; gap: 8px; align-content: start; }
.ph-wide { grid-column: 1 / -1; }
.ph img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; object-position: 0% 50%; border-radius: 10px; background: var(--raised); }
.ph-wide img { aspect-ratio: 4 / 3; object-position: 50% 50%; }
.ph figcaption { font-family: var(--mono); font-size: 14px; line-height: 1.4; color: var(--text-3); }
@media (min-width: 760px) {
  .case-photos { grid-template-columns: 2fr 1fr 1fr; }
  .ph-wide { grid-column: auto; }
}
@media (min-width: 960px) {
  .case { gap: 32px; padding: 32px; }
  .case-head { grid-template-columns: 1fr 1fr; gap: 64px; padding: 0; }
}

.work-row { display: grid; gap: 16px; margin-top: 16px; }
@media (min-width: 960px) {
  .work-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.work {
  display: grid;
  gap: 16px;
  padding: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.work img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; background: var(--raised); }
.work .work-img-left { object-position: 0% 50%; }
.work-body { display: grid; gap: 8px; align-content: center; padding: 0 8px 12px; }
.work h3 { font-size: 22px; line-height: 1.25; }
.work-body p:last-child { color: var(--text-2); }
@media (min-width: 560px) {
  .work { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 24px; padding: 16px; }
  .work-body { padding: 0 8px 0 0; }
}

/* aluminium */
.specs { display: grid; }
@media (min-width: 640px) {
  .specs { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
}
@media (min-width: 1100px) {
  .specs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.specs li { padding: 20px 0 24px; border-top: 1px solid var(--line-2); }
.specs h3 { font-size: 20px; line-height: 1.3; }
.specs p { margin-top: 8px; color: var(--text-2); }

/* workshop */
.shop { display: grid; gap: 40px; }
@media (min-width: 960px) {
  .shop { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: center; }
}
.shop .section-lead { margin-top: 12px; }
.rows { margin-top: 28px; border-top: 1px solid var(--line); }
.rows li { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.rows li > div { padding-top: 6px; }
.row-t { font-weight: 500; color: var(--text); }
.row-d { margin-top: 2px; font-size: 16px; color: var(--text-2); }
.ibox {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--raised);
  color: var(--text-2);
}
.section-alt .ibox { background: var(--bg); }

.ig-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; margin-bottom: 12px; }
.ig-title { font-weight: 500; color: var(--text); }
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: color .15s var(--ease);
}
.ig-link .icon { color: var(--text-2); }
.ig-link:hover { color: var(--accent); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 960px) {
  .ig-grid { gap: 12px; }
}
.ig-grid a { display: block; overflow: hidden; border-radius: 10px; background: var(--raised); }
.ig-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: opacity .15s var(--ease); }
.ig-grid a:hover img { opacity: .86; }

/* steps */
.steps { display: grid; }
.step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  column-gap: 12px;
  row-gap: 4px;
  align-content: start;
  padding: 20px 0;
  border-top: 1px solid var(--line-2);
}
.step-n {
  grid-row: span 2;
  padding-top: 2px;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.6;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step h3 { font-size: 19px; line-height: 1.35; }
.step p { font-size: 16px; color: var(--text-2); }
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); column-gap: 24px; }
  .step { grid-template-columns: minmax(0, 1fr); row-gap: 8px; padding: 20px 0 8px; }
  .step-n { grid-row: auto; padding-top: 0; }
}
.terms {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  padding: 20px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
}
.terms li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.terms .icon { margin-top: 3px; color: var(--text-2); }
@media (min-width: 960px) {
  .terms { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 40px; padding: 20px 24px; }
}

/* calc */
.calc { padding: 56px 0; background: var(--dark); color: var(--dark-text-2); }
.calc h2 { color: var(--dark-text); }
.calc-in { display: grid; gap: 32px; }
.calc-text > p { margin-top: 16px; font-size: 18px; line-height: 1.55; }
.calc-fallback { margin-top: 24px; }
.js .calc-fallback { display: none; }
html:not(.js) .calc-form { display: none; }
.calc-form {
  display: grid;
  gap: 24px;
  padding: 20px;
  background: var(--dark-2);
  border: 1px solid var(--dark-line);
  border-radius: var(--r-lg);
}
@media (min-width: 960px) {
  .calc { padding: 104px 0; }
  .calc-in { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .calc-form { padding: 32px; }
}
fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
legend { padding: 0; margin-bottom: 12px; font-size: 17px; font-weight: 500; color: var(--dark-text); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; display: block; }
.opt input { position: absolute; top: 0; left: 0; width: 1px; height: 1px; margin: 0; opacity: 0; }
.opt span {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--dark-line);
  border-radius: 8px;
  background: var(--dark-3);
  font-size: 16px;
  line-height: 1.3;
  color: var(--dark-text);
  cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.opt span:hover { border-color: rgba(242, 243, 243, .34); }
.opt input:checked + span { background: var(--dark-text); border-color: var(--dark-text); color: var(--ink); }
.opt input:focus-visible + span { outline: 2px solid var(--accent-lit); outline-offset: 2px; }
.msg { padding-top: 20px; border-top: 1px solid var(--dark-line); }
.msg-label { font-family: var(--mono); font-size: 14px; color: var(--dark-text-2); }
.msg-text { margin-top: 8px; white-space: pre-line; color: var(--dark-text); }
.calc-btn { justify-self: start; }
@media (max-width: 559px) {
  .calc-btn { justify-self: stretch; }
}

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

/* contacts */
.contacts { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .contacts { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
}
.crow-list { border-top: 1px solid var(--line); }
.crow { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.crow > div { padding-top: 6px; min-width: 0; }
.crow-v { font-weight: 500; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
a.crow-v { display: inline-flex; min-height: 28px; align-items: center; }
a.crow-v:hover { color: var(--accent); }
.crow-sub { margin-top: 2px; font-size: 15px; color: var(--text-3); }

.hours { padding: 20px 24px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-card); }
.hours-head { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text); }
.hours .ibox { background: var(--surface); }
.hours .status { margin-top: 16px; }
.hours-table { width: 100%; margin-top: 12px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours-table th, .hours-table td { padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 16px; font-weight: 400; text-align: left; }
.hours-table td { text-align: right; font-family: var(--mono); font-size: 15px; color: var(--text); }
.hours-table tr.is-today th, .hours-table tr.is-today td { font-weight: 500; color: var(--text); }
.hours-table tr.is-today th::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
  vertical-align: middle;
}
.hours-note { margin-top: 12px; font-size: 15px; color: var(--text-3); }

.where { display: grid; gap: 16px; margin-top: 32px; }
@media (min-width: 960px) {
  .where { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 48px; align-items: start; }
}
.map { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--raised); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
.route { margin-top: 12px; }
.where-ph img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-card); background: var(--raised); }
.where-ph figcaption { margin-top: 8px; font-family: var(--mono); font-size: 14px; color: var(--text-3); }

/* footer */
.footer { padding: 40px 0 112px; border-top: 1px solid var(--line); }
.footer-in { display: grid; gap: 16px; }
.footer-brand p + p { margin-top: 4px; }
.footer p { font-size: 15px; color: var(--text-3); }
.footer .brand-name { font-size: 17px; color: var(--text); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text-2); text-decoration: none; }
.footer-links a:hover { color: var(--accent); }
@media (min-width: 960px) {
  .footer { padding: 48px 0; }
  .footer-in { grid-template-columns: minmax(0, 2fr) auto auto; align-items: center; gap: 40px; }
}

/* mobile action bar */
.mbar {
  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: var(--surface);
  border-top: 1px solid var(--line);
}
.mbar .btn-primary { flex: 1; min-width: 0; padding: 0 12px; }
.mbar .btn-icon { width: 48px; padding: 0; flex-shrink: 0; }
@media (max-width: 359px) {
  .mbar .btn-primary .icon { display: none; }
}
@media (min-width: 960px) {
  .mbar { display: none; }
}

/* motion */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-text, .js .hero-media { animation: rise .5s var(--ease) both; }
  .js .hero-media { animation-delay: 60ms; }
  .js .reveal { transition: opacity .45s var(--ease) var(--d, 0ms), transform .45s var(--ease) var(--d, 0ms); }
  .js .reveal.is-pending { opacity: 0; transform: translateY(10px); }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* calc: call link on dark */
.btn-dark-secondary { background: transparent; color: var(--dark-text); border-color: rgba(242, 243, 243, .28); }
.btn-dark-secondary:hover { background: var(--dark-2); }
.calc-call { margin-top: 24px; font-variant-numeric: tabular-nums; }
.js .calc-call + .calc-fallback { display: none; }
html:not(.js) .calc-call { display: none; }
