/* Alulex Innovation — site styles
   Layout concept: left-aligned architectural grid; thin aluminium rules and
   dimension lines (размерни линии) carry the "made to measure" idea.
   Colours come from the Alulex logo. Single light theme by design. */

:root {
  /* colour */
  --graphite: #38383B;        /* logo wordmark, headings, dark sections */
  --ink: #26272A;             /* running text */
  --steel: #64666B;           /* secondary text */
  --silver: #999595;          /* logo tagline grey */
  --rule: #DADCDF;            /* aluminium rules, borders */
  --mist: #F3F6F9;            /* quiet section ground, cool glass tint */
  --white: #FFFFFF;
  --blue: #0070DC;            /* logo blue, tuned for white text contrast */
  --blue-dark: #0057AD;
  --blue-logo: #007AEE;
  --on-dark: #EEF0F2;
  --on-dark-muted: #A9ADB3;

  /* type */
  --display: "Geologica", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --body: "Golos Text", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.5rem;
  --step-3: clamp(1.75rem, 1.3rem + 1.6vw, 2.375rem);
  --step-4: clamp(2.125rem, 1.3rem + 3vw, 3.625rem);

  /* layout */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --radius: 2px;
  color-scheme: light;
}

*, *::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;
  background: var(--white);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
  color: var(--graphite);
}
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

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

.skip { position: absolute; left: -9999px; top: 0; background: var(--graphite); color: var(--white); padding: 8px 16px; z-index: 100; }
.skip:focus { left: 16px; top: 16px; }

/* values still to be confirmed by the client */
.todo { color: var(--blue-dark); border-bottom: 1px dashed currentColor; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px;
  font-family: var(--display); font-weight: 500; font-size: var(--step-0);
  text-decoration: none; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-dark); }
.btn--line { border-color: var(--graphite); color: var(--graphite); background: transparent; }
.btn--line:hover { background: var(--graphite); color: var(--white); }
.btn--ghost { border-color: rgba(255,255,255,.7); color: var(--white); background: rgba(255,255,255,.04); }
.btn--ghost:hover { background: var(--white); color: var(--graphite); }

.link-arrow { font-family: var(--display); font-weight: 500; color: var(--graphite); text-decoration: none; border-bottom: 1px solid var(--blue); padding-bottom: 2px; justify-self: start; }
.link-arrow:hover { color: var(--blue-dark); }

/* ---------- top bar ---------- */
.topbar { background: var(--graphite); color: var(--on-dark-muted); font-size: var(--step--1); }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; padding-block: 6px; }
.topbar__info { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.topbar a { text-decoration: none; color: var(--on-dark); }
.topbar a:hover { text-decoration: underline; }

.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 34px; height: 34px; color: inherit; border-radius: 50%; }
.social a:hover { background: rgba(127,127,127,.16); }
.social svg { width: 16px; height: 16px; fill: currentColor; }

/* ---------- header ---------- */
.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--white); border-bottom: 1px solid var(--rule); }
.header .wrap { display: flex; align-items: center; gap: 20px; min-height: 80px; }
.logo { display: block; margin-right: auto; flex-shrink: 0; }
.logo img { height: 46px; width: auto; }

.nav > ul { display: flex; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a {
  display: block; padding: 10px 10px; white-space: nowrap;
  font-family: var(--display); font-weight: 500; font-size: 0.9375rem;
  text-decoration: none; color: var(--ink);
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav .has-sub > a::after {
  content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 8px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}
.sub {
  position: absolute; left: 0; top: 100%;
  min-width: 290px; list-style: none; margin: 0; padding: 8px 0;
  background: var(--white); border: 1px solid var(--rule);
  box-shadow: 0 18px 40px -24px rgba(38,39,42,.45);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.has-sub:hover > .sub, .has-sub:focus-within > .sub, .lang.is-open > .sub { opacity: 1; visibility: visible; transform: none; }
.nav .sub a { padding: 9px 20px; font-weight: 400; }
.sub a:hover { background: var(--mist); }

/* language switcher */
.lang { position: relative; flex-shrink: 0; }
.lang__btn {
  display: flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 10px;
  background: none; border: 1px solid var(--rule); border-radius: var(--radius); cursor: pointer;
  font-family: var(--display); font-weight: 500; font-size: 0.875rem; color: var(--graphite);
}
.lang__btn::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); }
.lang .sub { left: auto; right: 0; min-width: 180px; }
.lang .sub a { display: flex; justify-content: space-between; gap: 16px; padding: 9px 16px; text-decoration: none; color: var(--ink); font-size: 0.9375rem; }
.lang .sub a span { color: var(--steel); font-size: 0.8125rem; }
.lang .sub a[aria-current="true"] { color: var(--blue); }

.header__cta { flex-shrink: 0; }
.burger { display: none; width: 48px; height: 48px; border: 1px solid var(--rule); background: var(--white); border-radius: var(--radius); cursor: pointer; place-items: center; }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 1.5px; background: var(--graphite); position: relative; content: ""; }
.burger span::before { position: absolute; top: -6px; }
.burger span::after { position: absolute; top: 6px; }

@media (max-width: 1420px) { .header__cta { display: none; } }
@media (max-width: 1100px) {
  .burger { display: grid; position: relative; z-index: 70; }
  .lang { z-index: 70; }
  .nav {
    position: fixed; inset: 0; z-index: 60;
    background: var(--white); overflow-y: auto;
    padding: calc(96px + env(safe-area-inset-top, 0px)) var(--gutter) 120px;
    transform: translateX(100%); visibility: hidden; transition: transform .25s ease, visibility .25s;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--rule); }
  .nav a { padding: 16px 0; font-size: 1.125rem; white-space: normal; }
  .nav .sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; border: 0; padding: 0 0 12px 16px; min-width: 0; }
  .nav .sub a { padding: 8px 0; font-size: 1rem; color: var(--steel); }
  .nav .has-sub > a::after { display: none; }
}
@media (max-width: 480px) { .logo img { height: 36px; } .header .wrap { gap: 10px; min-height: 68px; } }
body.nav-open { overflow: hidden; }

/* ---------- dimension line (signature) ---------- */
.dim { display: flex; align-items: center; gap: 12px; font-size: var(--step--1); font-variant-numeric: tabular-nums; }
.dim__line { position: relative; flex: 1; height: 13px; min-width: 40px; max-width: 360px; }
.dim__line::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1px; background: currentColor; transform-origin: left center; animation: dim-draw 1.1s cubic-bezier(.6,.05,.2,1) .3s both; }
.dim__line::after { content: ""; position: absolute; inset: 0; border-left: 1px solid currentColor; border-right: 1px solid currentColor; }
@keyframes dim-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { .dim__line::before { animation: none; } }

/* ---------- image frames: photo on top, technical drawing underneath as fallback ---------- */
.frame { position: relative; margin: 0; overflow: hidden; background: var(--mist); color: var(--graphite); aspect-ratio: 4 / 3; max-width: 100%; }
.frame > svg { position: absolute; inset: 0; margin: auto; width: 82%; height: 82%; }
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
a:hover > .frame > img, .frame:hover > img { transform: scale(1.03); }
@media (prefers-reduced-motion: reduce) { .frame > img { transition: none; } }

/* ---------- hero ---------- */
.hero { position: relative; color: var(--white); background: var(--graphite); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; margin: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30,31,33,.82) 0%, rgba(30,31,33,.55) 45%, rgba(30,31,33,.1) 100%); }
.hero .wrap { position: relative; z-index: 1; padding-block: clamp(80px, 12vw, 168px) clamp(64px, 9vw, 128px); }
.hero__copy { display: grid; gap: 26px; max-width: 640px; }
.hero h1 { font-size: var(--step-4); color: var(--white); }
.hero .dim { color: rgba(255,255,255,.85); }
.hero__lead { font-size: var(--step-1); color: rgba(255,255,255,.88); max-width: 48ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- facts strip ---------- */
.facts { border-bottom: 1px solid var(--rule); background: var(--white); }
.facts ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts li { padding: 28px 24px 28px 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.facts li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.facts strong { font-family: var(--display); font-weight: 600; color: var(--graphite); font-size: 1.0625rem; line-height: 1.3; }
.facts span { color: var(--steel); font-size: var(--step--1); }
@media (max-width: 900px) {
  .facts ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts li:nth-child(3) { border-left: 0; padding-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--rule); }
}
@media (max-width: 520px) {
  .facts ul { grid-template-columns: 1fr; }
  .facts li, .facts li + li { padding: 18px 0; border-left: 0; }
  .facts li + li { border-top: 1px solid var(--rule); }
}

/* ---------- sections ---------- */
.section { padding-block: var(--section); }
.section--mist { background: var(--mist); }
.section--dark { background: var(--graphite); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: var(--white); }
.section__head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); max-width: 720px; }
.section__head h2 { font-size: var(--step-3); }
.section__head p { color: var(--steel); font-size: var(--step-1); }
.section--dark .section__head p { color: var(--on-dark-muted); }
.section__head--split { max-width: none; display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 40px; }
.section__head--split > div { display: grid; gap: 16px; max-width: 640px; }

/* ---------- products ---------- */
.products { display: grid; gap: clamp(56px, 8vw, 104px); }
.product { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.product:nth-child(even) .product__media { order: 2; }
.product__media { min-width: 0; }
.product__body { display: grid; gap: 20px; min-width: 0; }
.product__kind { font-family: var(--display); font-weight: 500; color: var(--blue); }
.product h3 { font-size: var(--step-3); }
.product__body > p { color: var(--steel); max-width: 52ch; }
.product__types { list-style: none; margin: 4px 0 8px; padding: 0; border-top: 1px solid var(--rule); }
.product__types li { border-bottom: 1px solid var(--rule); }
.product__types a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; text-decoration: none; color: var(--ink); }
.product__types a:hover { color: var(--blue); }
.product__types a::after { content: "›"; color: var(--steel); }
@media (max-width: 860px) {
  .product { grid-template-columns: 1fr; }
  .product:nth-child(even) .product__media { order: 0; }
}

.also { margin-top: clamp(48px, 7vw, 88px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 32px; background: var(--mist); }
.also p { font-family: var(--display); font-size: var(--step-1); color: var(--graphite); max-width: 60ch; }
.also__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- process (a real sequence, so numbered) ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); counter-reset: step; }
.steps li { position: relative; padding: 0 20px 0 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.steps li::before {
  counter-increment: step; content: counter(step);
  display: grid; place-items: center; width: 44px; height: 44px;
  border: 1px solid var(--blue-logo); border-radius: 50%;
  font-family: var(--display); font-weight: 500; color: var(--white);
  background: var(--graphite); position: relative; z-index: 1;
}
.steps li::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: var(--on-dark-muted); opacity: .45; }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.125rem; margin-top: 8px; }
.steps p { color: var(--on-dark-muted); font-size: var(--step--1); }
.steps .todo { color: var(--white); }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 20px; padding: 0; }
  .steps li::before { grid-row: span 2; }
  .steps li::after { top: 44px; bottom: -28px; left: 22px; right: auto; width: 1px; height: auto; }
  .steps h3 { margin-top: 10px; }
}

/* ---------- projects ---------- */
.projects { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.project { margin: 0; display: grid; gap: 10px; align-content: start; min-width: 0; }
.projects > .project:first-child { grid-row: span 2; grid-template-rows: 1fr auto; }
.projects > .project:first-child .frame { aspect-ratio: auto; height: 100%; min-height: 320px; }
.project figcaption { font-size: var(--step--1); color: var(--steel); }
.project figcaption strong { color: var(--ink); font-weight: 500; display: block; }
@media (max-width: 860px) {
  .projects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .projects > .project:first-child { grid-row: auto; grid-column: span 2; }
  .projects > .project:first-child .frame { aspect-ratio: 16 / 9; min-height: 0; height: auto; }
}
@media (max-width: 520px) { .projects { grid-template-columns: 1fr; } .projects > .project:first-child { grid-column: auto; } }

/* ---------- landscape band ---------- */
.band { position: relative; min-height: clamp(260px, 34vw, 440px); display: grid; align-items: end; color: var(--white); background: var(--graphite); overflow: hidden; }
.band .frame { position: absolute; inset: 0; aspect-ratio: auto; background: var(--graphite); color: var(--on-dark-muted); }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(30,31,33,.75), rgba(30,31,33,0) 70%); }
.band .wrap { position: relative; z-index: 1; padding-block: 40px; }
.band p { font-family: var(--display); font-size: var(--step-2); max-width: 30ch; line-height: 1.3; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text { display: grid; gap: 20px; min-width: 0; }
.about__text h2 { font-size: var(--step-3); }
.about__text p { color: var(--steel); max-width: 60ch; }
.values { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); }
.values li { padding: 24px 24px 24px 0; border-bottom: 1px solid var(--rule); display: grid; gap: 6px; align-content: start; min-width: 0; }
.values li:nth-child(even) { padding-left: 24px; border-left: 1px solid var(--rule); }
.values strong { font-family: var(--display); font-weight: 600; color: var(--graphite); font-size: 1.0625rem; }
.values span { color: var(--steel); font-size: var(--step--1); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .values { grid-template-columns: 1fr; } .values li, .values li:nth-child(even) { padding: 18px 0; border-left: 0; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font-family: var(--display); font-weight: 500; font-size: var(--step-1); color: var(--graphite); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; width: 32px; height: 32px; display: grid; place-items: center; border: 1px solid var(--rule); border-radius: 50%; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 56px 24px 0; color: var(--steel); display: grid; gap: 10px; }
@media (max-width: 520px) { .faq details > div { padding-right: 0; } }

/* ---------- quote form ---------- */
.quote { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.quote__intro { display: grid; gap: 20px; min-width: 0; }
.quote__intro h2 { font-size: var(--step-3); }
.quote__intro > p { color: var(--on-dark-muted); max-width: 44ch; }
.contact-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; border-top: 1px solid rgba(255,255,255,.14); }
.contact-list li { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; gap: 2px; }
.contact-list small { color: var(--on-dark-muted); font-size: 0.8125rem; }
.contact-list a, .contact-list span { color: var(--white); text-decoration: none; font-family: var(--display); font-size: 1.0625rem; }
.contact-list a:hover { text-decoration: underline; }

.form { background: var(--white); color: var(--ink); padding: clamp(24px, 4vw, 44px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; min-width: 0; }
.form h3 { grid-column: 1 / -1; font-size: var(--step-2); }
.field { display: grid; gap: 6px; min-width: 0; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--step--1); font-weight: 500; color: var(--graphite); }
.field label .opt { color: var(--steel); font-weight: 400; }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--mist); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,112,220,.15); }
.field input[type="file"] { padding: 10px; background: var(--white); }
.dims { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 8px; align-items: center; }
.dims .x { color: var(--steel); }
.check { grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start; font-size: var(--step--1); color: var(--steel); }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--blue); flex-shrink: 0; }
.form__foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.form__status { font-size: var(--step--1); color: var(--steel); }
.form__status.is-ok { color: #2F6B4F; }
.form__status.is-err { color: #A13A2E; }
@media (max-width: 960px) { .quote { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form { grid-template-columns: 1fr; } }

/* ---------- footer (white) ---------- */
.footer { background: var(--white); color: var(--steel); border-top: 1px solid var(--rule); padding-block: 64px 28px; font-size: var(--step--1); }
.footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 40px; margin-bottom: 40px; border-bottom: 1px solid var(--rule); }
.footer__top .logo { margin: 0; }
.footer__top .logo img { height: 52px; }
.footer__top .social { display: flex; gap: 8px; color: var(--graphite); }
.footer__top .social a { border: 1px solid var(--rule); }
.footer__top .social a:hover { background: var(--graphite); color: var(--white); border-color: var(--graphite); }
.footer__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 40px; }
.footer__col { display: grid; gap: 14px; align-content: start; min-width: 0; }
.footer h4 { color: var(--graphite); font-size: 1rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer a { color: var(--ink); text-decoration: none; }
.footer a:hover { color: var(--blue); }
.footer__big { font-family: var(--display); font-size: 1.125rem; font-weight: 500; color: var(--graphite); }
.footer__about { max-width: 34ch; }
.footer__bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- mobile action bar ---------- */
.actionbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--white); border-top: 1px solid var(--rule); padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px)); grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.actionbar a { display: grid; place-items: center; min-height: 48px; font-family: var(--display); font-weight: 500; font-size: 0.9375rem; text-decoration: none; border-radius: var(--radius); border: 1px solid var(--rule); color: var(--graphite); }
.actionbar a.is-main { background: var(--blue); border-color: var(--blue); color: var(--white); }
@media (max-width: 760px) {
  .actionbar { display: grid; }
  body { padding-bottom: 72px; }
  .topbar__hours, .topbar__mail { display: none; }
}

.float-chat { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #1FA855; color: var(--white); text-decoration: none; font-family: var(--display); font-weight: 500; font-size: 0.9375rem; box-shadow: 0 12px 30px -12px rgba(38,39,42,.6); }
.float-chat svg { width: 20px; height: 20px; fill: currentColor; }
.float-chat:hover { background: #178A45; }
@media (max-width: 760px) { .float-chat { display: none; } }

/* ---------- inner pages ---------- */
.page-head { background: var(--mist); border-bottom: 1px solid var(--rule); padding-block: clamp(48px, 7vw, 88px) clamp(40px, 6vw, 72px); }
.page-head .wrap { display: grid; gap: 18px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: var(--step--1); color: var(--steel); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--silver); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--blue); }
.page-head h1 { font-size: var(--step-4); max-width: 20ch; }
.page-head p { font-size: var(--step-1); color: var(--steel); max-width: 60ch; }
.page-head .dim { color: var(--steel); max-width: 420px; }

/* lists with a small blue square marker */
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--blue-logo); }

/* specification sheet */
.specs { margin: 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); font-size: var(--step--1); }
.specs dt, .specs dd { margin: 0; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.specs dt { color: var(--steel); padding-right: 16px; }
.specs dd { color: var(--ink); font-weight: 500; font-variant-numeric: tabular-nums; }

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); background: var(--white); }
.compare { width: 100%; min-width: 640px; border-collapse: collapse; font-size: var(--step--1); }
.compare th, .compare td { text-align: left; vertical-align: top; padding: 14px 18px; border-bottom: 1px solid var(--rule); }
.compare thead th { font-family: var(--display); font-weight: 600; color: var(--graphite); font-size: 1rem; background: var(--mist); }
.compare tbody th { color: var(--steel); font-weight: 400; width: 22%; }
.compare tr:last-child > * { border-bottom: 0; }

/* system blocks on product pages */
.systems { display: grid; gap: clamp(64px, 9vw, 120px); }
.systems .product { scroll-margin-top: 110px; align-items: start; }
.systems .product__body h2 { font-size: var(--step-3); }
.product__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }

/* light variant of the numbered steps */
.steps--light li::before { background: var(--white); color: var(--graphite); border-color: var(--blue-logo); }
.steps--light p { color: var(--steel); }
.steps--light li::after { background: var(--rule); opacity: 1; }
.steps--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 900px) { .steps--4 { grid-template-columns: 1fr; } }

/* mission quote */
.mission { margin: 0; padding-left: 28px; border-left: 2px solid var(--blue-logo); font-family: var(--display); font-size: var(--step-2); line-height: 1.35; color: var(--graphite); max-width: 32ch; }

/* two-column text block */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > * { min-width: 0; }
.split .prose p + p { margin-top: 16px; }
.prose p { color: var(--steel); max-width: 62ch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* project filters */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.filters button { min-height: 40px; padding: 8px 16px; border: 1px solid var(--rule); background: var(--white); border-radius: 999px; cursor: pointer; font-family: var(--display); font-weight: 500; font-size: 0.9375rem; color: var(--graphite); }
.filters button[aria-pressed="true"] { background: var(--graphite); border-color: var(--graphite); color: var(--white); }
.gallery { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.gallery .project { gap: 10px; }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .gallery { grid-template-columns: 1fr; } }
.video-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 28px 32px; background: var(--mist); margin-top: 40px; }
.video-cta p { font-family: var(--display); font-size: var(--step-1); color: var(--graphite); max-width: 52ch; }

/* contact page */
.contact-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.contact-cards li { padding: 28px 24px 28px 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.contact-cards li + li { padding-left: 24px; border-left: 1px solid var(--rule); }
.contact-cards small { color: var(--steel); font-size: var(--step--1); }
.contact-cards a, .contact-cards strong { font-family: var(--display); font-weight: 500; font-size: 1.125rem; color: var(--graphite); text-decoration: none; overflow-wrap: anywhere; }
.contact-cards a:hover { color: var(--blue); }
@media (max-width: 900px) { .contact-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .contact-cards li:nth-child(3) { border-left: 0; padding-left: 0; } .contact-cards li:nth-child(n+3) { border-top: 1px solid var(--rule); } }
@media (max-width: 520px) { .contact-cards { grid-template-columns: 1fr; } .contact-cards li, .contact-cards li + li { padding: 18px 0; border-left: 0; } .contact-cards li + li { border-top: 1px solid var(--rule); } }
.map { position: relative; aspect-ratio: 16 / 7; background: var(--mist); border: 1px solid var(--rule); max-width: 100%; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* legal text */
.legal { max-width: 760px; display: grid; gap: 14px; }
.legal h2 { font-size: var(--step-2); margin-top: 24px; }
.legal p, .legal li { color: var(--steel); }
.legal ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
[hidden] { display: none !important; }
.stack { display: grid; gap: 32px; align-content: start; min-width: 0; }
.stack--wide { gap: clamp(32px, 5vw, 56px); }

@media (max-width: 760px) { .map { aspect-ratio: auto; height: 360px; } }
