/* ============================================================
   ParkSense — Civic Green design system
   ============================================================ */

:root {
  /* Palette */
  --white: #FFFFFF;
  --soft: #F6F8F7;
  --soft-2: #EEF2F0;
  --ink: #0F1E1A;          /* testo verde-quasi-nero */
  --muted: #5B6B66;        /* grigio */
  --line: #E4EAE7;         /* hairline */
  --accent: #10B981;       /* verde = posto libero */
  --accent-ink: #0B7D58;   /* verde scuro per testo su chiaro */
  --accent-soft: #E7F6EF;
  --danger: #EF4444;       /* rosso = occupato */
  --danger-soft: #FDECEC;

  /* Dark sections */
  --dark: #0B1714;
  --dark-2: #112420;
  --dark-line: rgba(255,255,255,.12);
  --dark-ink: #F4F8F6;
  --dark-muted: #9DB2AB;

  /* Type */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Geometry */
  --radius: 10px;
  --radius-lg: 18px;
  --maxw: 1280px;
  --gut: clamp(20px, 5vw, 64px);
  --section-y: clamp(72px, 11vw, 150px);

  --shadow-sm: 0 1px 2px rgba(15,30,26,.05), 0 4px 16px rgba(15,30,26,.04);
  --shadow-md: 0 8px 30px rgba(15,30,26,.08), 0 2px 6px rgba(15,30,26,.05);
  --shadow-lg: 0 30px 70px rgba(15,30,26,.16), 0 10px 24px rgba(15,30,26,.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--white);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv05";
}

h1, h2, h3, h4 { margin: 0; line-height: 1.05; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ---------- Layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gut); }
.section { padding-block: var(--section-y); position: relative; }
.section--tight { padding-block: clamp(56px, 8vw, 110px); }

.dark { background: var(--dark); color: var(--dark-ink); }
.dark .muted { color: var(--dark-muted); }
.soft { background: var(--soft); }

/* ---------- Typography helpers ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent-ink);
}
.dark .eyebrow { color: var(--accent); }
.eyebrow .num {
  font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600;
}
.dark .eyebrow .num { color: var(--dark-muted); }
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5;
}

.title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  margin-top: 22px; max-width: 18ch; text-wrap: balance;
}
.title--wide { max-width: 26ch; }

.lead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--muted); margin-top: 22px; max-width: 60ch; line-height: 1.55;
  text-wrap: pretty;
}
.dark .lead { color: var(--dark-muted); }

.muted { color: var(--muted); }
.accent { color: var(--accent-ink); }
.dark .accent { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 26px; border-radius: 100px; font-weight: 600; font-size: 1rem;
  background: var(--accent); color: #fff; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 6px 20px rgba(16,185,129,.28);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(16,185,129,.36); }
.btn svg { width: 18px; height: 18px; }
.btn--ghost {
  background: transparent; color: inherit; border-color: rgba(255,255,255,.28);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255,255,255,.08); box-shadow: none; }

/* ---------- Pills (free / occupied) ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .82rem; font-weight: 600; padding: 6px 13px 6px 11px;
  border-radius: 100px; border: 1px solid var(--line); background: var(--white);
}
.pill .dot { width: 9px; height: 9px; border-radius: 50%; }
.pill--free .dot { background: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft); }
.pill--busy .dot { background: var(--danger); box-shadow: 0 0 0 4px var(--danger-soft); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(14px);
  background: rgba(255,255,255,.78);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background .3s ease;
}
.nav.is-stuck { border-color: var(--line); }
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px var(--gut);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 700; font-size: 1.18rem; letter-spacing: -.02em; }
.brand__mark {
  width: 30px; height: 30px; border-radius: 9px;
  background: var(--ink); color: #fff;
  display: grid; place-items: center;
}
.brand__mark svg { width: 17px; height: 17px; }
.nav__links { display: flex; gap: 30px; align-items: center; }
.nav__links a { font-size: .95rem; color: var(--muted); font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--ink); }
.nav__cta {
  padding: 10px 18px; border-radius: 100px; background: var(--ink); color: #fff;
  font-size: .9rem; font-weight: 600; transition: transform .2s, background .2s;
}
.nav__cta:hover { transform: translateY(-1px); }
@media (max-width: 880px) { .nav__links { display: none; } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: min(94vh, 880px);
  display: flex; align-items: flex-end;
  color: #fff; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,18,15,.55) 0%, rgba(8,18,15,.2) 30%, rgba(8,18,15,.55) 72%, rgba(8,18,15,.92) 100%);
}
.hero__inner { position: relative; width: 100%; padding-bottom: clamp(56px, 8vw, 110px); padding-top: 120px; }
.hero__tag {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  padding: 8px 15px; border-radius: 100px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(4px); margin-bottom: 26px;
}
.hero__tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(16,185,129,.3); }
.hero h1 {
  font-size: clamp(3.4rem, 11vw, 8.5rem); font-weight: 800; letter-spacing: -.04em;
  line-height: .92;
}
.hero__tagline {
  font-size: clamp(1.4rem, 3.4vw, 2.6rem); font-weight: 600; letter-spacing: -.02em;
  margin-top: 14px; color: #fff;
}
.hero__tagline .accent { color: var(--accent); }
.hero__sub {
  font-size: clamp(1.02rem, 1.5vw, 1.25rem); color: rgba(255,255,255,.82);
  max-width: 56ch; margin-top: 24px; line-height: 1.55; text-wrap: pretty;
}
.hero__actions { margin-top: 38px; display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.hero__scroll { font-size: .85rem; color: rgba(255,255,255,.7); display: inline-flex; align-items: center; gap: 9px; }

/* ============================================================
   GENERIC SECTION GRID (text + image)
   ============================================================ */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px);
  align-items: center;
}
.split--media-left { direction: rtl; }
.split--media-left > * { direction: ltr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

.figure { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: var(--soft-2); position: relative; }
.figure img { width: 100%; height: 100%; object-fit: cover; }
.figure--tall { aspect-ratio: 4/5; }
.figure--wide { aspect-ratio: 16/10; }
.figure--cap { box-shadow: none; }
.figcap { font-size: .85rem; color: var(--muted); margin-top: 12px; }
.gallery__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 36px 20px 16px; color: #fff; font-size: .88rem; font-weight: 500; line-height: 1.35; background: linear-gradient(180deg, transparent, rgba(8,18,15,.86)); }
.statstrip { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; margin-top: 28px; }
.statstrip > div { padding: 22px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.statstrip .n { font-size: clamp(1.35rem, 2.2vw, 1.95rem); font-weight: 800; letter-spacing: -.03em; color: var(--ink); line-height: 1; }
.statstrip .n .u { font-size: .5em; color: var(--accent-ink); font-weight: 700; margin-left: 2px; }
.statstrip .l { font-size: .8rem; color: var(--muted); margin-top: 9px; }
@media (max-width: 880px) { .statstrip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .statstrip { grid-template-columns: 1fr; } }

/* ---------- Stat blocks ---------- */
.stats { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 64px); margin-top: 44px; }
.stat__num {
  font-size: clamp(2.6rem, 6vw, 4.6rem); font-weight: 800; letter-spacing: -.04em;
  line-height: 1; color: var(--ink);
}
.dark .stat__num { color: #fff; }
.stat__num .unit { font-size: .42em; font-weight: 700; color: var(--accent-ink); margin-left: 4px; letter-spacing: 0; }
.dark .stat__num .unit { color: var(--accent); }
.stat__label { font-size: .92rem; color: var(--muted); margin-top: 12px; max-width: 22ch; }
.stat--danger .stat__num { color: var(--danger); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 22px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 820px) { .grid--3 { grid-template-columns: 1fr; } .grid--2 { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px; transition: transform .25s ease, box-shadow .25s ease, border-color .25s;
  position: relative;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.dark .card { background: var(--dark-2); border-color: var(--dark-line); }
.dark .card:hover { box-shadow: 0 24px 50px rgba(0,0,0,.4); }

.card__step {
  font-size: .8rem; font-weight: 700; color: var(--accent-ink);
  font-variant-numeric: tabular-nums; letter-spacing: .1em;
}
.dark .card__step { color: var(--accent); }
.card--num { padding-top: 34px; }
.card--num .card__step { position: absolute; top: 26px; right: 28px; }
.card__icon {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 22px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink);
}
.dark .card__icon { background: rgba(16,185,129,.14); color: var(--accent); }
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 1.22rem; margin-bottom: 9px; letter-spacing: -.015em; }
.card p { font-size: .96rem; color: var(--muted); line-height: 1.55; }
.dark .card p { color: var(--dark-muted); }

/* spec list inside cards */
.spec { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.spec li { display: flex; gap: 15px; align-items: flex-start; }
.spec--center li { align-items: center; }
.spec .k {
  flex: none; width: 42px; height: 42px; border-radius: 11px; background: var(--accent-soft);
  display: grid; place-items: center; color: var(--accent-ink);
}
.dark .spec .k { background: rgba(16,185,129,.14); color: var(--accent); }
.spec .k svg { width: 20px; height: 20px; }
.spec .txt { min-width: 0; }
.spec .v { font-size: 1.02rem; font-weight: 600; line-height: 1.3; }
.dark .spec .v { color: #fff; }
.spec .d { font-size: .92rem; color: var(--muted); line-height: 1.45; margin-top: 4px; }
.dark .spec .d { color: var(--dark-muted); }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; }
.gallery__item { border-radius: var(--radius-lg); overflow: hidden; background: var(--soft-2); box-shadow: var(--shadow-md); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__item--big { grid-row: span 2; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery__item--big { grid-row: auto; grid-column: span 2; aspect-ratio: 16/9; } .gallery__item { aspect-ratio: 4/3; } }

/* ---------- Bullet list (limits) ---------- */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.checklist li {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 0;
  border-top: 1px solid var(--line);
}
.checklist li:last-child { border-bottom: 1px solid var(--line); }
.checklist .ix { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 600; font-size: .9rem; padding-top: 3px; min-width: 28px; }
.checklist .body strong { display: block; font-size: 1.1rem; font-weight: 600; margin-bottom: 4px; }
.checklist .body span { color: var(--muted); font-size: .98rem; }

/* ============================================================
   APP MOCKUP (phone)
   ============================================================ */
.phone {
  width: 296px; max-width: 100%; aspect-ratio: 296/618; margin-inline: auto;
  background: #0c0c0e; border-radius: 46px; padding: 10px;
  box-shadow: var(--shadow-lg); position: relative;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: var(--white); display: flex; flex-direction: column; position: relative;
}
.phone__notch { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 80px; height: 22px; background: #0c0c0e; border-radius: 12px; z-index: 6; }
.app__statusbar { display: flex; align-items: center; justify-content: space-between; padding: 13px 24px 2px; font-size: .72rem; font-weight: 700; color: var(--ink); }
.app__statusbar .ind { display: flex; align-items: center; gap: 6px; }
.app__statusbar .ind svg { display: block; }
.app__bar { padding: 12px 18px 10px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app__bar .t { font-weight: 700; font-size: 1rem; line-height: 1.2; }
.app__bar .t small { display: block; font-weight: 500; font-size: .72rem; color: var(--muted); margin-top: 2px; }
.app__avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; color: var(--accent-ink); }
.app__avatar svg { width: 17px; height: 17px; }

.map { position: relative; flex: 1; margin: 6px 10px 0; border-radius: 20px; overflow: hidden; background: #e8eeeb; }
.map__grid { position: absolute; inset: 0; }
.map__road { position: absolute; background: #fff; }
.map__road.h { height: 15px; left: -10%; right: -10%; }
.map__road.v { width: 15px; top: -10%; bottom: -10%; }
.map__block { position: absolute; background: #dde5e0; border-radius: 5px; }
.map__block.park { background: #cdebda; }
.map__dot { position: absolute; width: 15px; height: 15px; border-radius: 50%; transform: translate(-50%,-50%); border: 2.5px solid #fff; box-shadow: 0 2px 5px rgba(0,0,0,.22); z-index: 2; }
.map__dot.free { background: var(--accent); }
.map__dot.busy { background: var(--danger); }
.map__you { position: absolute; width: 16px; height: 16px; border-radius: 50%; background: #2563eb; border: 3px solid #fff; box-shadow: 0 0 0 6px rgba(37,99,235,.20); transform: translate(-50%,-50%); z-index: 2; }
.map__pin { position: absolute; transform: translate(-50%,-100%); z-index: 3; filter: drop-shadow(0 5px 6px rgba(0,0,0,.30)); }
.map__pin i { position: relative; display: block; width: 30px; height: 30px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--accent); border: 3px solid #fff; }
.map__pin i::after { content: ""; position: absolute; inset: 0; margin: auto; width: 9px; height: 9px; border-radius: 50%; background: #fff; }
.app__sheet {
  background: #fff; padding: 14px 16px 18px;
  border-radius: 22px 22px 0 0; margin-top: -16px; position: relative; z-index: 4;
  box-shadow: 0 -8px 22px rgba(15,30,26,.07);
}
.app__grab { width: 38px; height: 4px; border-radius: 2px; background: #e2e8e5; margin: 0 auto 14px; }
.app__sheet .row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app__sheet .place { font-weight: 700; font-size: .96rem; line-height: 1.25; }
.app__sheet .place small { display: block; font-weight: 500; color: var(--muted); font-size: .76rem; margin-top: 3px; }
.app__timer { text-align: right; flex: none; }
.app__timer .v { font-weight: 800; font-size: 1.16rem; font-variant-numeric: tabular-nums; line-height: 1; }
.app__timer .l { font-size: .68rem; color: var(--muted); margin-top: 3px; }
.app__pay { margin-top: 16px; width: 100%; padding: 13px; border-radius: 13px; background: var(--accent); color: #fff; font-weight: 700; font-size: .92rem; display: flex; align-items: center; justify-content: center; gap: 8px; box-shadow: 0 6px 16px rgba(16,185,129,.30); }
.app__pay svg { width: 16px; height: 16px; }

/* ============================================================
   DASHBOARD MOCKUP (window)
   ============================================================ */
.dash {
  border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-lg); width: 100%;
}
.dash__bar { display: flex; align-items: center; gap: 8px; padding: 13px 16px; background: var(--soft); border-bottom: 1px solid var(--line); }
.dash__dots { display: flex; gap: 6px; }
.dash__dots i { width: 11px; height: 11px; border-radius: 50%; background: #d4ddd8; display: block; }
.dash__url { margin-left: 10px; font-size: .78rem; color: var(--muted); background: #fff; border: 1px solid var(--line); padding: 5px 12px; border-radius: 7px; }
.dash__body { display: grid; grid-template-columns: 188px 1fr; min-height: 420px; }
.dash__side { background: var(--dark); color: var(--dark-ink); padding: 20px 16px; display: flex; flex-direction: column; gap: 4px; }
.dash__brand { display: flex; align-items: center; gap: 9px; font-weight: 700; margin-bottom: 22px; font-size: .98rem; }
.dash__brand .m { width: 24px; height: 24px; border-radius: 7px; background: var(--accent); display: grid; place-items: center; }
.dash__brand .m svg { width: 13px; height: 13px; color: #052e21; }
.dash__nav { font-size: .86rem; color: var(--dark-muted); padding: 9px 11px; border-radius: 8px; display: flex; align-items: center; gap: 10px; }
.dash__nav svg { width: 16px; height: 16px; }
.dash__nav.active { background: rgba(255,255,255,.08); color: #fff; }
.dash__main { padding: 24px; background: var(--white); }
.dash__head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.dash__head h4 { font-size: 1.15rem; }
.dash__head .meta { font-size: .8rem; color: var(--muted); }
.dash__kpis { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin-bottom: 24px; }
.kpi { border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.kpi .v { font-size: 1.7rem; font-weight: 800; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.kpi .v.free { color: var(--accent-ink); }
.kpi .v.busy { color: var(--danger); }
.kpi .l { font-size: .76rem; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.bars { display: flex; flex-direction: column; gap: 14px; }
.dash__sub { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .76rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.dash__legend { display: flex; gap: 14px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: .72rem; }
.dash__legend span { display: inline-flex; align-items: center; gap: 6px; }
.dash__legend i { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }
.bar__row { display: grid; grid-template-columns: 130px 1fr 46px; align-items: center; gap: 14px; }
.bar__name { font-size: .85rem; font-weight: 600; }
.bar__track { height: 12px; border-radius: 6px; background: var(--soft-2); overflow: hidden; }
.bar__fill { height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #34d399); }
.bar__fill.high { background: linear-gradient(90deg, #f59e0b, var(--danger)); }
.bar__val { font-size: .82rem; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }

@media (max-width: 620px) { .dash__body { grid-template-columns: 1fr; } .dash__side { flex-direction: row; flex-wrap: wrap; min-height: auto; } .dash__kpis { grid-template-columns: 1fr; } .bar__row { grid-template-columns: 90px 1fr 40px; } }

/* ============================================================
   CASES + FOOTER
   ============================================================ */
.case {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 26px; transition: transform .25s, box-shadow .25s;
}
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.case__city { font-size: 1.3rem; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: center; gap: 10px; }
.case__city .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.case__tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 14px 0; }
.case__tags span { font-size: .76rem; font-weight: 600; color: var(--muted); background: var(--soft); padding: 5px 11px; border-radius: 100px; }
.case p { font-size: .95rem; color: var(--muted); line-height: 1.5; }

.footer { background: var(--dark); color: var(--dark-ink); position: relative; overflow: hidden; }
.footer__bg { position: absolute; inset: 0; opacity: .14; }
.footer__bg img { width: 100%; height: 100%; object-fit: cover; }
.footer__bg::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, var(--dark) 0%, rgba(11,23,20,.7) 50%, var(--dark) 100%); }
.footer__inner { position: relative; padding-block: clamp(60px, 9vw, 110px); }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; font-size: 1.5rem; font-weight: 700; }
.footer__brand .brand__mark { width: 36px; height: 36px; background: var(--accent); }
.footer__brand .brand__mark svg { color: #052e21; }
.footer h3 { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-top: 26px; max-width: 20ch; }
.footer__meta { margin-top: 30px; display: flex; flex-direction: column; gap: 6px; color: var(--dark-muted); font-size: 1rem; }
.footer__meta strong { color: #fff; font-weight: 600; }
.footer__note { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--dark-line); font-size: .85rem; color: var(--dark-muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Reveal on scroll ---------- */
/* Visible is the DEFAULT (print / no-JS / export safe). Hidden only when JS is active. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.in { opacity: 1; transform: none; }
@media print { .reveal, .js .reveal { opacity: 1 !important; transform: none !important; } }
@media (prefers-reduced-motion: reduce) { .reveal, .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }
