/* ==========================================================================
   Alab Apparel — homepage styles
   Tokens lifted from the approved design canvas (Alab Apparel Website.dc.html)
   ========================================================================== */

:root {
  --ink:        #0B0B0C;   /* page dark */
  --ink-2:      #121214;   /* dark panel */
  --ink-3:      #131316;   /* estimator card */
  --ink-4:      #0F0F12;   /* estimator option */
  --line-dark:  #1E1E22;
  --line-dark-2:#26262B;
  --line-dark-3:#40404A;

  --red:        #E31B23;
  --red-dark:   #B3141B;
  --red-light:  #FF4A52;
  --red-tint:   #FFE3E4;

  --white:      #FFFFFF;
  --grey-50:    #F7F7F8;
  --grey-100:   #F4F4F5;
  --grey-150:   #ECECEF;
  --grey-200:   #E7E7EA;
  --grey-250:   #DEDEE2;
  --grey-300:   #C7C7CE;
  --grey-350:   #C4C4CB;
  --grey-400:   #9A9AA2;
  --grey-500:   #8A8A93;
  --grey-550:   #85858D;
  --grey-600:   #6B6B72;
  --grey-700:   #55555C;
  --grey-800:   #35353B;
  --text:       #101012;

  --font-display: 'Saira Condensed', 'Barlow Condensed', Impact, sans-serif;
  --font-body:    'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --container: 1240px;
  --gutter: 24px;
  --radius: 6px;
  --header-h: 72px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-light); }
p { margin: 0; }
h1, h2, h3 { margin: 0; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

.container { max-width: var(--container); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- type ---------- */
.h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(34px, 4.4vw, 54px);
  line-height: 1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
}
.h2--light { color: var(--white); }
.h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 26px;
  line-height: 1.1;
  text-transform: uppercase;
  color: var(--text);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--red); }
.eyebrow--light { color: var(--red-light); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 30px;
  border-radius: 4px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 19px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--red); color: var(--white); }
.btn--primary:hover { background: var(--white); color: var(--ink); }
.btn--ghost { border: 1px solid var(--line-dark-3); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); color: var(--white); background: rgba(255,255,255,.06); }
.btn--dark { background: var(--text); color: var(--white); }
.btn--dark:hover { background: var(--red); color: var(--white); }
.btn--sm { height: 42px; padding: 0 20px; font-weight: 700; font-size: 16px; }
.btn--sm.btn--primary:hover { background: var(--red-dark); color: var(--white); }
.btn--block { display: flex; width: 100%; height: 52px; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,11,12,.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line-dark);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.site-header__logo img { height: 50px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: 12px; }
.site-nav a { color: var(--grey-300); font-size: 14px; font-weight: 600; letter-spacing: .01em; }
.site-nav a:hover { color: var(--white); }
.site-nav__login { color: var(--grey-500) !important; font-size: 13px !important; }
.site-nav__login--mobile { display: none; }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 16px; }

.nav-toggle { display: none; width: 42px; height: 42px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border-radius: 4px; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: var(--white); transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero slider ---------- */
.hero {
  position: relative;
  background: var(--ink);
  min-height: 640px;
  height: calc(100svh - var(--header-h));
  max-height: 860px;
  overflow: hidden;
  isolation: isolate;
}
.hero__track { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; z-index: 1; }
.hero__media { position: absolute; inset: 0; }
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 38%;
  transform: scale(1.04);
  transition: transform 7s ease-out;
}
.hero__slide.is-active .hero__media img { transform: scale(1); }
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, rgba(11,11,12,.92) 0%, rgba(11,11,12,.62) 38%, rgba(11,11,12,.12) 100%);
}
.hero__accent { position: absolute; top: 0; bottom: 0; left: 0; width: 6px; background: var(--red); z-index: 3; pointer-events: none; }
.hero__content { position: relative; z-index: 2; width: 100%; padding-top: 96px; padding-bottom: 120px; }
.hero__copy { max-width: 720px; }
.hero__slide .hero__copy > * { transform: translateY(18px); opacity: 0; transition: transform .7s ease, opacity .7s ease; }
.hero__slide.is-active .hero__copy > * { transform: none; opacity: 1; }
.hero__slide.is-active .hero__copy > :nth-child(2) { transition-delay: .1s; }
.hero__slide.is-active .hero__copy > :nth-child(3) { transition-delay: .2s; }
.hero__slide.is-active .hero__copy > :nth-child(4) { transition-delay: .3s; }
.hero__title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: clamp(44px, 7.2vw, 92px);
  line-height: .92;
  letter-spacing: -0.015em;
  text-transform: uppercase;
  color: var(--white);
  text-wrap: balance;
}
.hero__title em { font-style: inherit; color: var(--red); }
.hero__lede { font-size: 18px; line-height: 1.6; color: var(--grey-300); margin-top: 26px; max-width: 560px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.hero__controls {
  position: absolute;
  left: 0; right: 0; bottom: 28px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.hero__controls > * { pointer-events: auto; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button { width: 34px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.28); transition: background .2s ease, width .2s ease; }
.hero__dots button.is-active { background: var(--red); width: 52px; }
.hero__dots button:hover { background: var(--white); }
.hero__arrows { display: flex; gap: 8px; }
.hero__arrow {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line-dark-3);
  border-radius: 4px;
  color: var(--white);
  background: rgba(11,11,12,.55);
  transition: background .18s ease, border-color .18s ease;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }

@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__media img, .hero__slide .hero__copy > * { transition: none !important; transform: none !important; }
}

/* ---------- stats ---------- */
.stats { background: var(--ink-2); border-top: 1px solid var(--line-dark); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.stat { padding: 26px 26px 26px 0; border-right: 1px solid var(--line-dark); }
.stat + .stat { padding-left: 26px; }
.stat:last-child { border-right: 0; }
.stat__value { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 38px; line-height: 1; color: var(--white); }
.stat__value span { color: var(--red); }
.stat__label { font-size: 13px; color: var(--grey-500); margin-top: 6px; letter-spacing: .04em; }

/* ---------- clients ---------- */
.clients { background: var(--white); border-bottom: 1px solid var(--grey-150); }
.clients__row { padding-top: 28px; padding-bottom: 28px; display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.clients__label { font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--grey-400); }
.clients__name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 20px; text-transform: uppercase; color: var(--grey-350); }

/* ---------- sections ---------- */
.section { padding: 88px 0; background: var(--white); }
.section--tight-bottom { padding-bottom: 0; }
.section--dark { background: var(--ink); }
.section--grey { background: var(--grey-50); border-top: 1px solid var(--grey-150); }
.section--red { background: var(--red); padding: 84px 0; }
.section__head { margin-bottom: 40px; }
.section__head--center { text-align: center; }
.section__head--center .h2 { font-size: clamp(34px, 4.8vw, 58px); }
.section__head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.section__sub { font-size: 16.5px; color: var(--grey-700); margin-top: 14px; }
.section__aside { font-size: 16px; line-height: 1.65; color: var(--grey-700); max-width: 400px; }

/* ---------- kit tiles ---------- */
.tile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: #E9E9EC;
  color: var(--white);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.tile:hover img { transform: scale(1.04); }
.tile::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,.78) 0%, rgba(11,11,12,.18) 52%, transparent 100%);
  pointer-events: none;
}
.tile__label {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: 28px; line-height: 1; letter-spacing: .01em; text-transform: uppercase; color: var(--white);
}
.tile--placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(227,27,35,.10) 22px 24px),
    linear-gradient(160deg, #2A2A2F 0%, #141417 100%);
}
.tile--placeholder:hover { color: var(--white); }

/* ---------- product cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card { border: 1px solid var(--grey-200); border-radius: var(--radius); overflow: hidden; background: var(--white); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: #F2F2F4; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__media--placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(16,16,18,.04) 22px 24px),
    linear-gradient(160deg, #F2F2F4 0%, #E4E4E8 100%);
}
.badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: var(--white);
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 3px;
}
.card__body { padding: 24px; }
.card__body > p { font-size: 15px; line-height: 1.6; color: var(--grey-700); margin: 10px 0 18px; }
.card__facts { margin: 0; display: flex; flex-direction: column; gap: 8px; padding-top: 18px; border-top: 1px solid var(--grey-150); }
.card__facts div { display: flex; justify-content: space-between; font-size: 14px; }
.card__facts dt { color: var(--grey-550); }
.card__facts dd { margin: 0; font-weight: 700; }

/* ---------- process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1px; }
.step { background: var(--white); border: 1px solid var(--grey-200); padding: 26px 22px 30px; }
.step__num { display: block; font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 42px; line-height: 1; color: var(--red); }
.step__title { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 20px; text-transform: uppercase; margin: 14px 0 8px; }
.step p { font-size: 14.5px; line-height: 1.6; color: var(--grey-700); }

/* ---------- estimator ---------- */
.estimator { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; align-items: start; }
.estimator__lede { font-size: 16.5px; line-height: 1.65; color: #A8A8B0; margin-top: 22px; max-width: 460px; }
.pullquote { margin: 34px 0 0; border-left: 3px solid var(--red); padding: 4px 0 4px 18px; }
.pullquote p { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 21px; line-height: 1.35; color: var(--white); }
.pullquote footer { font-size: 14px; color: var(--grey-500); margin-top: 12px; }

.estimator__panel { background: var(--ink-3); border: 1px solid var(--line-dark-2); border-radius: 8px; padding: 28px; }
.estimator__label { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-550); margin-bottom: 12px; }
.estimator__row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 10px; }
.estimator__row .estimator__label { margin-bottom: 0; }
.estimator__qty { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 24px; color: var(--white); }

.garments { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 8px; margin-bottom: 26px; }
.garment {
  text-align: left;
  border-radius: 5px;
  padding: 12px 13px;
  border: 1px solid var(--line-dark-2);
  background: var(--ink-4);
  transition: border-color .15s ease, background .15s ease;
}
.garment:hover { border-color: var(--red); }
.garment.is-on { border-color: var(--red); background: rgba(227,27,35,.12); }
.garment__name { font-family: var(--font-display); font-style: italic; font-weight: 700; font-size: 16px; text-transform: uppercase; color: var(--grey-300); line-height: 1.15; }
.garment.is-on .garment__name { color: var(--white); }
.garment__note { font-size: 12px; color: var(--grey-550); margin-top: 4px; }

input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 4px; margin: 0 0 6px;
  border-radius: 4px; background: #2A2A2E; outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--red); border: 3px solid var(--ink); cursor: grab; box-shadow: 0 0 0 1px var(--red);
}
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--red); border: 3px solid var(--ink); cursor: grab; }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px rgba(227,27,35,.35); }
.estimator__scale { display: flex; justify-content: space-between; font-size: 11.5px; color: var(--grey-600); margin-bottom: 26px; }

.addons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 26px; }
.addon {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
  border: 1px solid var(--line-dark-2); background: var(--ink-4);
  border-radius: 5px; padding: 13px 14px;
  transition: border-color .15s ease, background .15s ease;
}
.addon:hover { border-color: var(--line-dark-3); }
.addon input { position: absolute; opacity: 0; width: 0; height: 0; }
.addon__check {
  width: 18px; height: 18px; flex: 0 0 18px; border-radius: 3px;
  border: 1px solid var(--line-dark-3); background: transparent;
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-size: 12px; font-weight: 700; line-height: 1;
}
.addon:has(input:checked) { border-color: var(--red); background: rgba(227,27,35,.08); }
.addon:has(input:checked) .addon__check { border-color: var(--red); background: var(--red); }
.addon:has(input:checked) .addon__check::after { content: "\2713"; }
.addon:has(input:focus-visible) { outline: 2px solid var(--red); outline-offset: 2px; }
.addon__text { flex: 1; display: flex; flex-direction: column; }
.addon__text strong { font-size: 14.5px; font-weight: 600; color: var(--white); }
.addon__text small { font-size: 12.5px; color: var(--grey-550); margin-top: 2px; }
.addon__price { font-size: 13px; font-weight: 700; color: #A8A8B0; }

.estimator__total { border-top: 1px solid var(--line-dark-2); padding-top: 22px; }
.estimator__total-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.estimator__total .estimator__label { margin-bottom: 0; }
.estimator__big { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: clamp(38px, 6vw, 52px); line-height: 1.05; color: var(--white); margin-top: 8px; }
.estimator__unit { font-size: 13.5px; color: #A8A8B0; margin-top: 6px; }
.estimator__lead { text-align: right; }
.estimator__lead-num { font-family: var(--font-display); font-style: italic; font-weight: 800; font-size: 30px; color: var(--red); margin-top: 8px; }
.estimator__lead-unit { font-size: 12.5px; color: var(--grey-600); margin-top: 4px; }
.estimator__deposit { display: flex; justify-content: space-between; font-size: 13px; color: var(--grey-500); margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--line-dark-2); }
.estimator__deposit strong { color: var(--white); }
.estimator__total .btn { margin-top: 20px; }
.estimator__fine { font-size: 12px; color: var(--grey-600); text-align: center; margin-top: 12px; }

/* ---------- fabrics ---------- */
.fabric-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.fabric { border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 26px; }
.fabric .h3 { font-size: 24px; }
.fabric p { font-size: 15px; line-height: 1.6; color: var(--grey-700); margin: 10px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chips span { font-size: 12px; font-weight: 600; color: var(--grey-800); background: var(--grey-100); border-radius: 20px; padding: 5px 11px; }

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.work { position: relative; margin: 0; aspect-ratio: 3 / 4; background: #E9E9EC; border-radius: var(--radius); overflow: hidden; }
.work img { width: 100%; height: 100%; object-fit: cover; }
.work--placeholder {
  background:
    repeating-linear-gradient(135deg, transparent 0 22px, rgba(227,27,35,.08) 22px 24px),
    linear-gradient(160deg, #2A2A2F 0%, #141417 100%);
}
.work::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(11,11,12,.72) 0%, rgba(11,11,12,.12) 45%, transparent 100%);
  pointer-events: none;
}
.work figcaption {
  position: absolute; left: 20px; bottom: 18px; z-index: 1;
  font-family: var(--font-display); font-style: italic; font-weight: 800;
  font-size: 24px; line-height: 1; text-transform: uppercase; color: var(--white);
}

/* ---------- testimonials ---------- */
.quote-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.quote { margin: 0; border: 1px solid var(--grey-200); border-radius: var(--radius); padding: 28px; }
.quote p { font-size: 17px; line-height: 1.6; color: var(--text); margin-bottom: 20px; text-wrap: pretty; }
.quote footer { font-size: 14px; color: var(--grey-550); }
.quote footer strong { color: var(--text); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; align-items: center; }
.contact__title { font-size: clamp(36px, 5.4vw, 66px); line-height: .95; }
.contact__lede { font-size: 17px; line-height: 1.6; color: var(--red-tint); margin-top: 22px; max-width: 460px; }
.contact__form { background: var(--white); border-radius: 8px; padding: 28px; }
.contact__form .h3 { font-size: 24px; margin-bottom: 20px; }
.field { display: flex; flex-direction: column; }
.field + .field, .field-row + .field, .field + .field-row, .field-row + .btn, .field + .btn { margin-top: 12px; }
.field-row { display: flex; gap: 12px; }
.field-row .field { flex: 1; }
.field--qty { flex: 0 0 110px !important; }
.field input {
  height: 46px; padding: 0 14px;
  border: 1px solid var(--grey-250); border-radius: 4px;
  font: inherit; font-size: 15px; color: var(--text);
  background: var(--white);
}
.field input::placeholder { color: var(--grey-400); }
.field input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227,27,35,.15); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-note { font-size: 13px; color: var(--grey-700); margin-top: 10px; min-height: 1.2em; }
.contact__details { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--grey-150); }
.contact__k { display: block; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--grey-400); }
.contact__details a { display: block; font-size: 15px; font-weight: 700; color: var(--text); margin-top: 4px; }
.contact__details a:hover { color: var(--red); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink); padding: 56px 0 32px; color: var(--grey-300); }
.site-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.site-footer__logo { height: auto; width: auto; }
.site-footer p { font-size: 14.5px; line-height: 1.7; color: var(--grey-300); }
.site-footer__grid > div:first-child p { font-size: 14px; line-height: 1.6; color: var(--grey-500); margin-top: 18px; max-width: 260px; }
.site-footer__k { font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey-700); margin-bottom: 14px; }
.site-footer nav { display: flex; flex-direction: column; gap: 9px; }
.site-footer nav a, .site-footer p a { color: var(--grey-300); font-size: 14.5px; }
.site-footer nav a:hover, .site-footer p a:hover { color: var(--white); }
.site-footer__bar { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: 13px; color: var(--grey-700); }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .site-nav {
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    margin: 0;
    background: var(--ink);
    border-bottom: 1px solid var(--line-dark);
    padding: 8px 0 12px;
    display: none;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px var(--gutter); font-size: 16px; }
  .site-nav__login--mobile { display: block; border-top: 1px solid var(--line-dark); margin-top: 6px; }
  .site-header__actions > .site-nav__login { display: none; }
  .nav-toggle { display: inline-flex; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .site-header__logo img { height: 40px; }
  .site-header__actions .btn--sm { height: 38px; padding: 0 14px; font-size: 15px; }
  .hero { min-height: 560px; height: auto; max-height: none; }
  .hero__slide { position: relative; display: none; }
  .hero__slide.is-active { display: flex; }
  .hero__track { position: relative; }
  .hero__content { padding-top: 72px; padding-bottom: 96px; }
  .hero__lede { font-size: 16.5px; }
  .hero__controls { bottom: 22px; }
  .hero__arrows { display: none; }
  .btn { height: 50px; padding: 0 22px; font-size: 18px; }
  .section { padding: 64px 0; }
  .section--tight-bottom { padding-bottom: 0; }
  .stat { border-right: 0; padding: 18px 0; border-bottom: 1px solid var(--line-dark); }
  .stat + .stat { padding-left: 0; }
  .stat:last-child { border-bottom: 0; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .stats__grid .stat:nth-child(odd) { border-right: 1px solid var(--line-dark); padding-right: 18px; }
  .stats__grid .stat:nth-child(even) { padding-left: 18px; }
  .stats__grid .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .estimator__panel, .contact__form { padding: 22px; }
  .field-row { flex-direction: column; }
  .field--qty { flex: 1 !important; }
}
