/* Sai Projects (Mumbai) Pvt. Ltd. — site styles
   Layout concept: brochure DNA — the red + navy "rail" bar marks every section,
   real site photography carries the story, condensed display type for headlines,
   mono type for railway data (km, spans, approval refs). Single committed light theme. */
:root {
  --navy: #0E2742;
  --navy-2: #173A61;
  --signal: #C81E2B;
  --blue: #1F4E9C;
  --ink: #131B25;
  --steel: #54606E;
  --paper: #F4F5F3;
  --white: #FFFFFF;
  --line: #D8DDE2;
  --on-dark: #E9EEF4;
  --on-dark-mute: #A9B7C7;

  --f-display: "Archivo", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --f-body: "IBM Plex Sans", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --step--1: clamp(0.8rem, 0.78rem + 0.1vw, 0.86rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  --step-3: clamp(1.9rem, 1.5rem + 1.8vw, 2.9rem);
  --step-4: clamp(2.3rem, 1.6rem + 3.2vw, 4.3rem);

  --gutter: clamp(16px, 4vw, 40px);
  --maxw: 1200px;
  --radius: 4px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--f-body); font-size: var(--step-0); line-height: 1.6;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-underline-offset: 3px; }
a:hover { color: var(--signal); }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
h1, h2, h3 {
  font-family: var(--f-display); font-stretch: 78%; font-weight: 750;
  line-height: 1.05; letter-spacing: -0.005em; text-wrap: balance; margin: 0;
}
h1 { font-size: var(--step-4); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); font-stretch: 88%; font-weight: 700; line-height: 1.2; }
p { margin: 0; max-width: 65ch; }
.mono { font-family: var(--f-mono); font-size: 0.9em; letter-spacing: 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--white); padding: 8px 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Brochure rail: red block + navy bar ---------- */
.rail { display: flex; height: 10px; width: 100%; }
.rail::before { content: ""; flex: 0 0 64px; background: var(--signal); }
.rail::after { content: ""; flex: 1; background: var(--navy); }
.eyebrow {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: var(--step--1); font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal);
}
.eyebrow::before { content: ""; width: 28px; height: 6px; background: var(--signal); box-shadow: 28px 0 0 var(--navy); margin-right: 28px; }
.on-dark .eyebrow { color: #FF6B72; }
.on-dark .eyebrow::before { box-shadow: 28px 0 0 var(--on-dark-mute); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); min-width: 0; }
.brand img { width: 30px; height: 40px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name strong { font-family: var(--f-display); font-stretch: 80%; font-weight: 800; font-size: 1.2rem; letter-spacing: 0.02em; white-space: nowrap; }
.brand-name span { font-family: var(--f-mono); font-size: 0.68rem; letter-spacing: 0.08em; color: var(--steel); white-space: nowrap; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem;
  padding: 8px 10px; border-radius: var(--radius); white-space: nowrap;
}
.nav a:hover { background: var(--paper); color: var(--ink); }
.nav a[aria-current="page"] { color: var(--signal); box-shadow: inset 0 -3px 0 var(--signal); border-radius: 0; }
.nav .btn { margin-left: 8px; }
.menu-btn {
  display: none; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--white);
  font: 600 0.9rem var(--f-body); color: var(--ink); padding: 10px 14px; border-radius: var(--radius); cursor: pointer;
}
.menu-btn .bars { width: 18px; height: 12px; position: relative; border-top: 2px solid currentColor; border-bottom: 2px solid currentColor; }
.menu-btn .bars::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 2px solid currentColor; }

@media (max-width: 1020px) {
  .menu-btn { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--white); border-bottom: 1px solid var(--line);
    padding: 8px var(--gutter) 20px; box-shadow: 0 12px 24px rgba(14,39,66,.12);
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .nav a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--signal); padding-left: 14px; }
  .nav .btn { margin: 16px 0 0; text-align: center; justify-content: center; }
}
@media (max-width: 420px) { .brand-name span { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px;
  padding: 12px 22px; border-radius: var(--radius); border: 2px solid transparent;
  font: 600 1rem var(--f-body); text-decoration: none; cursor: pointer; line-height: 1.2;
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--signal); color: var(--white); }
.btn-primary:hover { background: #A5161F; color: var(--white); }
.btn-ghost { border-color: currentColor; color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.on-dark .btn-ghost { color: var(--white); }
.on-dark .btn-ghost:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy); color: var(--white); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(10,28,48,.94) 0%, rgba(10,28,48,.78) 45%, rgba(10,28,48,.25) 100%);
}
.hero-inner { padding-block: clamp(56px, 10vw, 128px) clamp(40px, 6vw, 72px); display: grid; gap: 24px; }
.hero h1 { max-width: 15ch; font-size: clamp(2.4rem, 1.4rem + 4.6vw, 5rem); }
.hero h1 em { font-style: normal; color: #FF5B63; }
.hero .lead { font-size: var(--step-1); color: var(--on-dark); max-width: 52ch; line-height: 1.5; }
.hero-tag { font-family: var(--f-mono); font-size: var(--step--1); letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-mute); }
@media (max-width: 640px) {
  .hero-media::after { background: linear-gradient(180deg, rgba(10,28,48,.72) 0%, rgba(10,28,48,.92) 60%); }
}

/* ---------- Proof strip ---------- */
.proof { background: var(--white); border-bottom: 1px solid var(--line); }
.proof-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.proof-item { padding: 26px 20px 24px; border-left: 1px solid var(--line); display: grid; gap: 4px; align-content: start; }
.proof-item:first-child { border-left: 0; padding-left: 0; }
.proof-num { font-family: var(--f-display); font-stretch: 75%; font-weight: 800; font-size: clamp(2.2rem, 1.6rem + 2vw, 3.2rem); line-height: 1; color: var(--navy); font-variant-numeric: tabular-nums; }
.proof-num small { font-size: .5em; color: var(--signal); margin-left: 2px; }
.proof-label { font-weight: 600; }
.proof-note { font-size: var(--step--1); color: var(--steel); }
@media (max-width: 820px) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-item { padding: 20px 16px; border-left: 0; border-top: 1px solid var(--line); }
  .proof-item:nth-child(-n+2) { border-top: 0; }
  .proof-item:nth-child(odd) { padding-left: 0; }
  .proof-item:nth-child(even) { border-left: 1px solid var(--line); }
}

/* ---------- Sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 780px; }
.section-head p { color: var(--steel); font-size: var(--step-1); line-height: 1.5; }
.on-dark { background: var(--navy); color: var(--white); }
.on-dark .section-head p, .on-dark p.muted { color: var(--on-dark-mute); }
.bg-white { background: var(--white); }
.muted { color: var(--steel); }

/* Clients */
.clients { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.client {
  font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: 1.05rem;
  padding: 10px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--navy);
}
.client small { font-family: var(--f-body); font-stretch: 100%; font-weight: 400; color: var(--steel); font-size: .8rem; margin-left: 6px; }

/* Split feature */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.split > * { min-width: 0; }
.split.reverse > .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-media figcaption, .caption { font-family: var(--f-mono); font-size: .75rem; color: var(--steel); margin-top: 10px; letter-spacing: .02em; }
.on-dark .split-media figcaption { color: var(--on-dark-mute); }
.split-body { display: grid; gap: 18px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > .split-media { order: 0; } }

/* Checklist */
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 28px; max-width: 62ch; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 12px; height: 12px; background: var(--signal); box-shadow: 4px 4px 0 var(--navy); }
.on-dark .ticks li::before { box-shadow: 4px 4px 0 var(--on-dark-mute); }

/* Capability list */
.caps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); gap: 0; border-top: 2px solid var(--navy); }
.cap { padding: 24px 24px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.cap h3 { display: flex; gap: 12px; align-items: baseline; }
.cap p { color: var(--steel); }
.cap .code { font-family: var(--f-mono); font-size: .75rem; color: var(--signal); font-weight: 500; letter-spacing: .05em; }

/* Photo mosaic */
.mosaic { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 26vw, 360px); gap: 12px; }
.mosaic > a, .mosaic > figure { display: block; height: 100%; min-width: 0; }
.mosaic figure { margin: 0; height: 100%; position: relative; overflow: hidden; border-radius: var(--radius); background: var(--navy-2); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.mosaic a:hover img { transform: scale(1.03); }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 16px 14px;
  background: linear-gradient(transparent, rgba(8,22,40,.88)); color: var(--white); font-weight: 600; font-size: .95rem; line-height: 1.3;
}
.mosaic figcaption span { display: block; font-family: var(--f-mono); font-weight: 400; font-size: .72rem; color: var(--on-dark-mute); margin-top: 4px; }
.m-7 { grid-column: span 7; } .m-5 { grid-column: span 5; } .m-4 { grid-column: span 4; } .m-6 { grid-column: span 6; } .m-8 { grid-column: span 8; }
@media (max-width: 760px) { .mosaic { grid-auto-rows: auto; } .mosaic > * { grid-column: span 12 !important; } .mosaic img { aspect-ratio: 4 / 3; height: auto; } }

/* CTA band */
.cta-band { background: var(--signal); color: var(--white); }
.cta-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: clamp(36px, 5vw, 56px); }
.cta-inner h2 { font-size: var(--step-3); max-width: 20ch; }
.cta-band .btn-ghost { color: var(--white); }
.cta-band .btn-ghost:hover { background: var(--white); color: var(--signal); border-color: var(--white); }
.cta-band .btn-light { background: var(--white); color: var(--signal); }
.cta-band .btn-light:hover { background: var(--navy); color: var(--white); }

/* Page header (inner pages) */
.page-head { background: var(--navy); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.page-head .bg { position: absolute; inset: 0; z-index: -1; }
.page-head .bg img { width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.page-head-inner { padding-block: clamp(44px, 7vw, 88px) clamp(32px, 5vw, 56px); display: grid; gap: 16px; }
.page-head h1 { font-size: var(--step-4); max-width: 18ch; }
.page-head p { color: var(--on-dark); font-size: var(--step-1); max-width: 58ch; line-height: 1.5; }
.crumbs { font-family: var(--f-mono); font-size: .75rem; color: var(--on-dark-mute); letter-spacing: .06em; }
.crumbs a { color: var(--on-dark-mute); }

/* Data table style lists */
.spec { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); border-top: 2px solid var(--navy); }
.spec dt, .spec dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.spec dt { font-family: var(--f-mono); font-size: .8rem; color: var(--steel); text-transform: uppercase; letter-spacing: .06em; padding-right: 16px; padding-top: 16px; }
.spec dd { font-weight: 500; min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 560px) { .spec { grid-template-columns: 1fr; } .spec dt { border-bottom: 0; padding-bottom: 0; } }

/* Process steps (a real sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 0; counter-reset: step; border-top: 2px solid var(--navy); }
.steps li { counter-increment: step; padding: 20px 20px 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.steps li::before { content: "Stage " counter(step); font-family: var(--f-mono); font-size: .75rem; color: var(--signal); letter-spacing: .08em; text-transform: uppercase; }
.steps strong { font-family: var(--f-display); font-stretch: 85%; font-size: 1.15rem; }
.steps span { color: var(--steel); font-size: .95rem; }

/* Machinery grid */
.plant { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.plant div { background: var(--white); padding: 18px 18px; font-weight: 500; display: grid; gap: 4px; }
.plant div span { font-family: var(--f-mono); font-size: .72rem; color: var(--steel); letter-spacing: .05em; text-transform: uppercase; }

/* Projects explorer */
.filters { display: grid; gap: 14px; margin-bottom: 24px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  border: 1px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer;
  font: 500 .92rem var(--f-body); padding: 9px 14px; border-radius: 999px; min-height: 40px;
}
.chip[aria-pressed="true"] { background: var(--navy); color: var(--white); border-color: var(--navy); }
.chip .ct { font-family: var(--f-mono); font-size: .78rem; opacity: .75; margin-left: 6px; }
.filter-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.filter-row > * { min-width: 0; }
.input, .select {
  font: 400 1rem var(--f-body); color: var(--ink); background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 11px 14px; min-height: 46px; width: 100%;
}
.filter-row .input { flex: 1 1 260px; width: auto; }
.filter-row .select { flex: 0 1 240px; width: auto; }
.result-count { font-family: var(--f-mono); font-size: .85rem; color: var(--steel); }
.works { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.work { display: grid; grid-template-columns: 120px minmax(0, 1fr) 150px 70px; gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.work .type { font-family: var(--f-mono); font-size: .75rem; font-weight: 500; letter-spacing: .05em; color: var(--signal); text-transform: uppercase; }
.work .name { font-weight: 500; }
.work .client-cell { color: var(--steel); font-size: .92rem; }
.work .n { font-family: var(--f-mono); text-align: right; font-variant-numeric: tabular-nums; color: var(--navy); }
.works-head { font-family: var(--f-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--steel); }
.works-head .n { color: var(--steel); }
@media (max-width: 720px) {
  .work { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .work .type { grid-column: 1; }
  .work .n { grid-column: 2; grid-row: 1; }
  .work .name, .work .client-cell { grid-column: 1 / -1; }
  .works-head { display: none; }
}

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.gallery button { all: unset; cursor: zoom-in; display: block; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--navy-2); }
.gallery button:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.gallery button:hover img { transform: scale(1.04); }
.gallery .g-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 14px 12px; background: linear-gradient(transparent, rgba(8,22,40,.9)); color: var(--white); font-weight: 600; font-size: .9rem; line-height: 1.3; }
.lightbox { border: 0; padding: 0; margin: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(6,16,28,.96); color: var(--white); }
.lightbox::backdrop { background: rgba(6,16,28,.9); }
.lb-inner { height: 100%; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom)); gap: 10px; }
.lb-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; font-family: var(--f-mono); font-size: .8rem; color: var(--on-dark-mute); }
.lb-stage { display: flex; align-items: center; justify-content: center; min-height: 0; position: relative; }
.lb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-cap { text-align: center; display: grid; gap: 2px; }
.lb-cap strong { font-size: 1.05rem; }
.lb-cap span { color: var(--on-dark-mute); font-size: .85rem; }
.lb-btn { background: rgba(255,255,255,.1); color: var(--white); border: 1px solid rgba(255,255,255,.25); border-radius: var(--radius); min-width: 48px; min-height: 48px; font: 600 1rem var(--f-body); cursor: pointer; padding: 0 14px; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-prev { left: 4px; } .lb-next { right: 4px; }

/* Credentials */
.docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.doc { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 10px; align-content: start; }
.doc .status { font-family: var(--f-mono); font-size: .75rem; letter-spacing: .06em; text-transform: uppercase; color: #1D7A44; font-weight: 500; }
.doc-scan { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.doc-scan a { display: block; border: 1px solid var(--line); background: var(--white); padding: 8px; border-radius: var(--radius); }
.doc-scan img { width: 100%; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.addr { display: grid; gap: 22px; }
.addr-block { display: grid; gap: 4px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.addr-block h3 { font-size: 1.05rem; }
.addr-block .label { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--signal); }
.big-link { font-family: var(--f-display); font-stretch: 85%; font-weight: 700; font-size: var(--step-2); text-decoration: none; color: var(--navy); overflow-wrap: anywhere; }
.form { background: var(--white); border: 1px solid var(--line); border-top: 4px solid var(--signal); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .85rem; color: var(--steel); }
.form-msg { font-size: .92rem; color: #1D7A44; font-weight: 500; }
.form-msg.err { color: var(--signal); }

/* Footer */
.site-footer { background: #0A1D33; color: var(--on-dark-mute); font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px; padding-block: 56px 36px; }
.footer-grid > * { min-width: 0; }
.site-footer h4 { font-family: var(--f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--white); margin: 0 0 14px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: var(--on-dark); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-brand { display: grid; gap: 12px; }
.footer-brand strong { font-family: var(--f-display); font-stretch: 80%; font-size: 1.3rem; color: var(--white); letter-spacing: .02em; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding-block: 18px 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8rem; }
.footer-base .mono { color: var(--on-dark-mute); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Floating quick-contact (mobile) */
.quick {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 40;
  display: none; gap: 10px;
}
.quick a { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 6px 18px rgba(0,0,0,.25); }
.quick .q-call { background: var(--signal); }
.quick .q-wa { background: #1FA855; }
.quick svg { width: 26px; height: 26px; fill: var(--white); }
@media (max-width: 760px) { .quick { display: flex; } .site-footer { padding-bottom: 72px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
