/* =========================================================
   Maraska: modern, mobile-first stylesheet
   ========================================================= */
:root {
  /* Marasca cherry palette: dark red to near-black (natural anthocyanins) */
  --bg: #ffffff;
  --bg-soft: #fbf6f6;
  --bg-tint: #f7e8eb;
  --ink: #1c080d;
  --ink-2: #4b3a3f;
  --muted: #7d6b70;
  --line: #efe1e4;
  --brand: #8c1430;        /* marasca red: buttons, links, accents */
  --brand-700: #6b1024;    /* hover / pressed */
  --brand-50: #f9eaed;     /* soft tint behind icons, active nav */
  --dark: #1f060c;         /* near-black cherry: dark sections, footer */
  --dark-2: #3a0a16;
  --accent: #e0394f;       /* bright cherry highlight */
  --on-dark: #e3cfd3;      /* body text on dark */
  --on-dark-muted: #b89ca3;
  --on-dark-accent: #f4a9b6;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(28, 8, 13, .06), 0 2px 8px rgba(28, 8, 13, .05);
  --shadow: 0 10px 30px rgba(28, 8, 13, .08);
  --shadow-lg: 0 24px 60px rgba(28, 8, 13, .14);

  --container: 1200px;
  --gutter: clamp(1.1rem, 4vw, 2rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --header-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1rem, .96rem + .2vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6 { margin: 0; color: var(--ink); line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 0; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; background: var(--brand); color: #fff; padding: .6rem 1rem; border-radius: 8px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.stack > * + * { margin-top: var(--stack, 1rem); }

/* ---------- Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--on-dark-accent); }
.h1 { font-size: clamp(2.3rem, 1.4rem + 4vw, 4.2rem); font-weight: 800; letter-spacing: -.035em; }
.h2 { font-size: clamp(1.8rem, 1.3rem + 2.2vw, 2.9rem); font-weight: 800; letter-spacing: -.03em; }
.h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
.lead { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--muted); line-height: 1.6; }
.text-brand { color: var(--brand); }
.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .h2 { margin: .7rem 0 1rem; }

/* ---------- Buttons ---------- */
.btn {
  --b: var(--brand);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 1.5px solid var(--b);
  background: var(--b); color: #fff;
  font-weight: 600; font-size: .98rem; text-decoration: none; line-height: 1.2;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s;
  box-shadow: 0 6px 18px rgba(140, 20, 48, .25);
}
.btn:hover { background: var(--brand-700); border-color: var(--brand-700); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(140, 20, 48, .32); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; transition: transform .2s; }
.btn:hover svg { transform: translateX(3px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); box-shadow: none; }
.btn--ghost:hover { background: var(--bg-soft); color: var(--ink); border-color: #e2cdd2; box-shadow: none; }
.btn--white { background: #fff; color: var(--dark); border-color: #fff; box-shadow: none; }
.btn--white:hover { background: var(--brand-50); border-color: var(--brand-50); color: var(--dark); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); box-shadow: none; }
.btn--outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; box-shadow: none; }
.btn--sm { min-height: 42px; padding: .55rem 1.1rem; font-size: .92rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

.link-arrow { display: inline-flex; align-items: center; gap: .4rem; color: var(--brand); font-weight: 600; text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover svg { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.site-header.scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(28, 8, 13, .05); background: rgba(255,255,255,.92); }
.nav { height: 100%; display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; flex: none; text-decoration: none; }
.brand img { height: 40px; width: auto; }
.site-footer .brand img { height: 46px; }
.nav-links { display: none; list-style: none; margin: 0 0 0 auto; padding: 0; gap: .3rem; }
.nav-links a {
  display: block; padding: .5rem .9rem; border-radius: 999px;
  text-decoration: none; font-weight: 500; color: var(--ink-2); font-size: .97rem;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: var(--bg-soft); }
.nav-links a.active { color: var(--brand); background: var(--brand-50); }
.nav-cta { display: none; }
.menu-btn {
  margin-left: auto; width: 46px; height: 46px; border-radius: 12px;
  border: 1px solid var(--line); background: #fff; cursor: pointer;
  display: grid; place-items: center; position: relative;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  content: ""; position: absolute; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s, background .3s, top .3s;
}
.menu-btn span::before { top: -6px; left: 0; }
.menu-btn span::after { top: 6px; left: 0; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-btn span::after { top: 0; transform: rotate(-45deg); }

/* Mobile menu panel */
.mobile-menu {
  position: fixed; top: var(--header-h); left: 0; right: 0;
  height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h));
  z-index: 49;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-top: 1px solid var(--line);
  padding: 1.25rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  display: flex; flex-direction: column;
  opacity: 0; transform: translateY(-8px); visibility: hidden;
  transition: opacity .25s ease, transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s;
  overflow-y: auto; overscroll-behavior: contain;
}
.menu-open .mobile-menu { opacity: 1; transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.menu-open .site-header { background: #fff; border-color: transparent; box-shadow: none; }
.menu-open .cookie, .menu-open .mobile-bar { visibility: hidden; }
.mobile-menu > a:not(.btn) {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem .25rem; font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em;
  color: var(--ink); text-decoration: none;
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateY(8px);
  transition: opacity .3s ease, transform .3s ease, color .2s;
}
.mobile-menu > a:not(.btn) svg {
  flex: none; width: 36px; height: 36px; padding: 9px; border-radius: 999px;
  background: var(--bg-soft); color: var(--muted);
  transition: background .2s, color .2s, transform .2s;
}
.mobile-menu > a:not(.btn):active svg { transform: translateX(3px); }
.mobile-menu > a.active { color: var(--brand); }
.mobile-menu > a.active svg { background: var(--brand-50); color: var(--brand); }
.menu-open .mobile-menu > a:not(.btn) { opacity: 1; transform: none; }
.menu-open .mobile-menu > a:nth-child(2) { transition-delay: .04s; }
.menu-open .mobile-menu > a:nth-child(3) { transition-delay: .08s; }
.mobile-menu .btn { margin-top: 1.75rem; width: 100%; min-height: 54px; font-size: 1.02rem; }
.mobile-menu .menu-contact {
  margin-top: auto; padding-top: 2rem; text-align: center;
  color: var(--muted); font-size: .92rem; line-height: 1.5;
}
.mobile-menu .menu-contact a { display: block; margin-top: .2rem; font-weight: 600; color: var(--brand); text-decoration: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 60vw; height: 60vw; max-width: 760px; max-height: 760px;
  background: radial-gradient(closest-side, rgba(140, 20, 48, .12), transparent);
  pointer-events: none;
}
.hero-grid { display: grid; gap: clamp(2.5rem, 5vw, 4rem); align-items: center; }
.hero h1 { margin: 1rem 0 1.2rem; }
.hero .lead { max-width: 560px; }
.hero .btn-row { margin-top: 2rem; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute; left: .75rem; bottom: -1.4rem;
  display: flex; align-items: center; gap: .8rem;
  background: #fff; border-radius: var(--radius); padding: .9rem 1.1rem;
  box-shadow: var(--shadow-lg); max-width: 270px;
  animation: float 6s ease-in-out infinite;
}
.float-card .ic { flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.float-card .ic svg { width: 22px; height: 22px; }
.float-card strong { display: block; color: var(--ink); font-size: .95rem; line-height: 1.3; }
.float-card span { font-size: .82rem; color: var(--muted); }
@keyframes float { 50% { transform: translateY(-8px); } }

.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
.fact { padding: 1.1rem 1.2rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line); }
.fact strong { display: block; font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.fact span { font-size: .9rem; color: var(--muted); }

/* ---------- Media + text split ---------- */
.split { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.media-frame { position: relative; }
.media-frame img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.media-frame .badge {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  padding: .45rem .85rem; border-radius: 999px; font-size: .85rem; font-weight: 600; color: var(--ink);
}
.check-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .7rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--brand); margin-top: .15rem; }

/* ---------- Cards ---------- */
.cards { display: grid; gap: 1.25rem; }
.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e2cdd2; }
.card .icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: var(--brand-50); color: var(--brand); margin-bottom: 1.2rem;
}
.card .icon svg { width: 26px; height: 26px; }
.card h3 { margin-bottom: .6rem; }
.quote-card h3 { font-size: clamp(1.35rem, 1.2rem + .6vw, 1.7rem); }

/* ---------- Challenge band ---------- */
.band { border-radius: var(--radius-lg); background: var(--dark); color: var(--on-dark); overflow: hidden; display: grid; }
.band-media img { width: 100%; height: 100%; min-height: 260px; max-height: 420px; object-fit: cover; }
.band-body { padding: clamp(1.8rem, 5vw, 3.5rem); }
.band-body h2 { color: #fff; margin: .8rem 0 1rem; }
.band-body .kicker { color: #fff; font-weight: 600; font-size: 1.05rem; margin-bottom: 1rem; }
.band-body .promise {
  margin: 1.5rem 0 1.8rem; padding: 1rem 1.2rem; border-left: 3px solid var(--accent);
  background: rgba(255,255,255,.05); border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: #fff; font-weight: 600;
}

/* ---------- Steps timeline ---------- */
.steps { display: grid; gap: 1.25rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.6rem 1.6rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.1rem; }
.step-num {
  font-size: .8rem; font-weight: 700; letter-spacing: .1em; color: var(--brand);
  background: var(--brand-50); padding: .3rem .7rem; border-radius: 999px;
}
.step .icon { width: 46px; height: 46px; color: var(--dark); }
.step .icon svg { width: 100%; height: 100%; }
.step h3 { margin-bottom: .5rem; font-size: 1.2rem; }
.step p { font-size: .97rem; }

/* ---------- Projects ---------- */
.projects { display: grid; gap: 1rem; }
.project {
  padding: 1.8rem; border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .3s, border-color .3s, background .3s;
}
.project:hover { transform: translateY(-4px); border-color: rgba(244, 169, 182, .5); background: linear-gradient(160deg, rgba(244,169,182,.12), rgba(255,255,255,.02)); }
.project .icon { display: block; width: 44px; height: 44px; color: #fff; margin-bottom: 1.2rem; }
.project .icon svg { width: 100%; height: 100%; }
.project .tag { display: inline-block; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-accent); font-weight: 600; margin-bottom: .5rem; }
.project h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.project p { font-size: .95rem; color: var(--on-dark-muted); }

/* ---------- CTA ---------- */
.cta {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--dark) 0%, var(--brand-700) 55%, var(--brand) 100%);
  color: var(--on-dark); padding: clamp(2.2rem, 6vw, 4rem);
  display: grid; gap: 1.5rem; align-items: center;
}
.cta::after {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.1);
}
.cta h2 { color: #fff; }
.cta p { margin-top: .6rem; max-width: 560px; }
.cta .btn-row { position: relative; z-index: 1; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; color: #fff; overflow: hidden; }
.page-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(31,6,12,.92) 0%, rgba(31,6,12,.75) 50%, rgba(31,6,12,.35) 100%); z-index: 1; }
.page-hero .container { position: relative; z-index: 2; padding-block: clamp(4rem, 10vw, 8rem); }
.page-hero h1 { color: #fff; margin: 1rem 0 1.2rem; max-width: 760px; }
.page-hero .lead { color: var(--on-dark); max-width: 620px; }
.page-hero .eyebrow { color: var(--on-dark-accent); }
.page-hero .btn-row { margin-top: 2rem; }
.page-hero--plain { color: var(--ink); background: var(--bg-soft); }
.page-hero--plain::before { display: none; }
.page-hero--plain h1 { color: var(--ink); }
.page-hero--plain .lead { color: var(--muted); }
.page-hero--plain .eyebrow { color: var(--brand); }
.page-hero--plain .container { padding-block: clamp(3rem, 7vw, 5rem); }

/* ---------- Services ---------- */
.service {
  display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--radius-lg);
  border: 1px solid var(--line); background: #fff;
  transition: box-shadow .3s, transform .3s;
}
.service:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service + .service { margin-top: 1.5rem; }
.service-art { background: linear-gradient(135deg, #fdf2f4, #f8eef0); border-radius: var(--radius); padding: 1.5rem; display: grid; place-items: center; }
.service-art img { width: 100%; max-width: 360px; }
.service .num { font-size: .8rem; font-weight: 700; letter-spacing: .12em; color: var(--accent); }
.service h2 { font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem); margin: .4rem 0 .4rem; }
.service h3 { font-size: 1.08rem; color: var(--brand); font-weight: 600; letter-spacing: -.01em; margin-bottom: 1rem; }

.pills { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 2rem 0; }
.pills li {
  padding: .6rem 1.1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  font-weight: 600; font-size: .95rem; color: var(--ink);
  transition: background .2s, color .2s, border-color .2s, transform .2s;
}
.pills li:hover { background: var(--brand); border-color: var(--brand); color: #fff; transform: translateY(-2px); }
.industries-grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.industries-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 1.5rem; align-items: start; }
.contact-aside { display: grid; gap: 1rem; }
.info-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.3rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.info-card .ic { flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--brand-50); color: var(--brand); display: grid; place-items: center; }
.info-card .ic svg { width: 22px; height: 22px; }
.info-card strong { display: block; color: var(--ink); margin-bottom: .15rem; }
.info-card a { color: var(--brand); text-decoration: none; font-weight: 600; word-break: break-word; }
.info-card p { font-size: .95rem; }
.contact-photo img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow); }
.form-card h2 { font-size: clamp(1.4rem, 1.2rem + 1vw, 1.8rem); margin-bottom: .4rem; }
.form-card > p { color: var(--muted); margin-bottom: 1.6rem; }
.form { display: grid; gap: 1.1rem; }
.form-row { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; font-size: .92rem; color: var(--ink); margin-bottom: .4rem; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  width: 100%; min-height: 50px; padding: .8rem 1rem;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--bg-soft); border: 1.5px solid var(--line); border-radius: 12px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #e2cdd2; }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(140, 20, 48, .12); }
.field .error { display: block; min-height: 1.1em; margin-top: .3rem; font-size: .85rem; color: #d92d20; }
.field.invalid input, .field.invalid textarea { border-color: #d92d20; box-shadow: 0 0 0 4px rgba(217, 45, 32, .1); }
.form .btn { width: 100%; }
.form .btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-error { padding: .8rem 1rem; border-radius: 12px; background: #fdecec; color: #b42318; font-size: .92rem; }
.form-note { font-size: .85rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--brand); }
.form-success {
  display: none; text-align: center; padding: 2rem 1rem;
}
.form-success .ic { width: 64px; height: 64px; margin: 0 auto 1rem; border-radius: 50%; background: #e7f8ee; color: #12a150; display: grid; place-items: center; }
.form-success .ic svg { width: 32px; height: 32px; }
.form-success h3 { margin-bottom: .4rem; }
.form-card.sent .form, .form-card.sent > h2, .form-card.sent > p { display: none; }
.form-card.sent .form-success { display: block; animation: pop .4s ease; }
@keyframes pop { from { opacity: 0; transform: scale(.96); } }

/* ---------- Legal ---------- */
.legal-layout { display: grid; gap: 2rem; }
.toc { display: none; }
.legal { max-width: 760px; }
.legal h2 { font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); margin: 3rem 0 1rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.12rem; margin: 1.8rem 0 .6rem; }
.legal h4 { font-size: 1rem; margin: 1.2rem 0 .4rem; }
.legal p { margin-bottom: 1rem; overflow-wrap: anywhere; }
.legal ul { margin: 0 0 1rem; padding-left: 1.2rem; }
.legal li { margin-bottom: .3rem; }
.legal address { font-style: normal; margin: 0 0 1rem; padding: 1rem 1.2rem; border-left: 3px solid var(--brand); background: var(--bg-soft); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.legal a { color: var(--brand); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: clamp(3.5rem, 7vw, 5rem) 0 calc(2rem + var(--mobile-bar, 0px)); font-size: .95rem; }
.footer-grid { display: grid; gap: 2.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.site-footer p { margin-top: 1rem; max-width: 340px; }
.site-footer h4 { color: #fff; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom { padding-top: 1.8rem; display: grid; gap: .5rem; font-size: .82rem; color: #a68a91; }

/* ---------- Mobile action bar ---------- */
.mobile-bar {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40;
  display: grid; grid-template-columns: 1fr 1.4fr; gap: .5rem;
  padding: .5rem; border-radius: 18px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  transform: translateY(150%); transition: transform .35s ease;
}
.mobile-bar.show { transform: none; }
.mobile-bar .btn { min-height: 46px; padding: .5rem; font-size: .92rem; box-shadow: none; }
:root { --mobile-bar: 80px; }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 60;
  max-width: 440px; padding: 1.2rem; border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  font-size: .92rem;
  transform: translateY(140%); transition: transform .4s ease;
}
.cookie.show { transform: none; }
.cookie p { margin-bottom: 1rem; }
.cookie a { color: var(--brand); }
.cookie .btn-row { gap: .5rem; }
.cookie .btn { flex: 1; min-height: 42px; font-size: .9rem; box-shadow: none; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; } .d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Breakpoints (mobile-first)
   ========================================================= */
@media (min-width: 560px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .projects { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .contact-aside { grid-template-columns: 1fr 1fr; }
  .contact-photo { grid-column: 1 / -1; }
}
@media (min-width: 768px) {
  .cards--2 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr; }
  .cta { grid-template-columns: 1fr auto; }
  .service { grid-template-columns: .9fr 1.1fr; }
  .service:nth-child(even) .service-art { order: 2; }
  .band { grid-template-columns: .9fr 1.1fr; }
  .band-media img { max-height: none; }
  .cookie { left: 1.25rem; bottom: 1.25rem; }
}
@media (min-width: 960px) {
  :root { --header-h: 80px; --mobile-bar: 0px; }
  .menu-btn, .mobile-menu, .mobile-bar { display: none; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .brand img { height: 46px; }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .float-card { left: -1.5rem; }
  .split { grid-template-columns: 1fr 1fr; }
  .split--rev .media-frame { order: 2; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .projects { grid-template-columns: repeat(3, 1fr); }
  .industries-grid { grid-template-columns: 1.1fr .9fr; }
  .contact-grid { grid-template-columns: .85fr 1.15fr; gap: 2.5rem; }
  .contact-aside { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 250px 1fr; gap: 4rem; }
  .toc {
    display: block; position: sticky; top: calc(var(--header-h) + 1.5rem);
    max-height: calc(100vh - var(--header-h) - 3rem); overflow-y: auto;
    padding: 1.2rem; border-radius: var(--radius); background: var(--bg-soft); border: 1px solid var(--line);
  }
  .toc h4 { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: .8rem; }
  .toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
  .toc a { display: block; padding: .35rem .6rem; border-radius: 8px; font-size: .88rem; color: var(--ink-2); text-decoration: none; }
  .toc a:hover { background: #fff; }
  .toc a.active { background: #fff; color: var(--brand); font-weight: 600; box-shadow: var(--shadow-sm); }
}
