/*
 * Diameco ERP — site styles
 * Material 3 colour roles generated from the logo seed #49BED4 (audit §8.2),
 * M3 type scale (§8.3), shape/spacing/components (§8.4). Replaces the
 * 1.17 MB Dashcore template CSS (audit DM-QC-015).
 */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400.woff2") format("woff2");
}
@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: url("../fonts/poppins-700.woff2") format("woff2");
}

:root {
  color-scheme: light dark;
  --md-sys-color-primary: #006877;
  --md-sys-color-on-primary: #ffffff;
  --md-sys-color-primary-container: #49bed4;
  --md-sys-color-on-primary-container: #004a55;
  --md-sys-color-secondary: #3e646c;
  --md-sys-color-secondary-container: #c1e9f3;
  --md-sys-color-on-secondary-container: #2a4f57;
  --md-sys-color-tertiary: #8f4e05;
  --md-sys-color-tertiary-container: #f09c53;
  --md-sys-color-on-tertiary-container: #4a2600;
  --md-sys-color-error: #ba1a1a;
  --md-sys-color-surface: #f5fafc;
  --md-sys-color-surface-container-lowest: #ffffff;
  --md-sys-color-surface-container-low: #f0f4f6;
  --md-sys-color-surface-container: #eaeff0;
  --md-sys-color-surface-container-high: #e4e9ea;
  --md-sys-color-on-surface: #171c1e;
  --md-sys-color-on-surface-variant: #3d494b;
  --md-sys-color-outline: #6d797c;
  --md-sys-color-outline-variant: #bcc9cc;
  --whatsapp: #25d366;
  --on-whatsapp: #0b3d20;

  --shape-sm: 8px;
  --shape-md: 12px;
  --shape-lg: 16px;
  --shape-xl: 28px;
  --shape-full: 999px;
  --elev-1: 0 1px 2px rgba(0, 0, 0, .12), 0 1px 3px 1px rgba(0, 0, 0, .06);
  --elev-2: 0 1px 2px rgba(0, 0, 0, .14), 0 2px 6px 2px rgba(0, 0, 0, .08);
  --container: 1200px;
  --header-h: 64px;
  --font: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --md-sys-color-primary: #6adaf1;
    --md-sys-color-on-primary: #00363f;
    --md-sys-color-primary-container: #49bed4;
    --md-sys-color-on-primary-container: #003a43;
    --md-sys-color-secondary: #a6cdd7;
    --md-sys-color-secondary-container: #254c54;
    --md-sys-color-on-secondary-container: #c1e9f3;
    --md-sys-color-tertiary: #ffbd88;
    --md-sys-color-tertiary-container: #f09c53;
    --md-sys-color-on-tertiary-container: #4a2600;
    --md-sys-color-error: #ffb4ab;
    --md-sys-color-surface: #0f1415;
    --md-sys-color-surface-container-lowest: #0a0f10;
    --md-sys-color-surface-container-low: #171c1e;
    --md-sys-color-surface-container: #1b2022;
    --md-sys-color-surface-container-high: #262b2c;
    --md-sys-color-on-surface: #dee3e5;
    --md-sys-color-on-surface-variant: #bcc9cc;
    --md-sys-color-outline: #879396;
    --md-sys-color-outline-variant: #3d494b;
  }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--md-sys-color-on-surface);
  background: var(--md-sys-color-surface);
  overflow-x: hidden;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg { max-width: 100%; height: auto; }
img { display: block; }

a { color: var(--md-sys-color-primary); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible {
  outline: 2px solid var(--md-sys-color-primary);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; font-weight: 600; color: var(--md-sys-color-on-surface); }
h1 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.25em; margin: 0 0 1em; }
li { margin-bottom: .35em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .container { padding: 0 24px; } }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary);
  padding: 12px 16px; border-radius: var(--shape-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 8px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0; padding: 0; margin: -1px;
}

/* ---------- Buttons (M3 filled / tonal / outlined / text) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px; border-radius: var(--shape-full);
  font: 500 .95rem/1.2 var(--font); letter-spacing: .01em; text-decoration: none;
  border: 1px solid transparent; cursor: pointer; position: relative; overflow: hidden;
  transition: box-shadow .15s ease, background-color .15s ease;
}
.btn::after { content: ""; position: absolute; inset: 0; background: currentColor; opacity: 0; transition: opacity .15s ease; }
.btn:hover::after { opacity: .08; }
.btn:focus-visible::after, .btn:active::after { opacity: .12; }
.btn-filled { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); }
.btn-filled:hover { box-shadow: var(--elev-1); }
.btn-tonal { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.btn-outlined { border-color: var(--md-sys-color-outline); color: var(--md-sys-color-primary); background: transparent; }
.btn-text { color: var(--md-sys-color-primary); background: transparent; padding: 10px 16px; }
.btn-whatsapp { background: var(--whatsapp); color: var(--on-whatsapp); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Header / top app bar ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--md-sys-color-surface);
  border-bottom: 1px solid var(--md-sys-color-outline-variant);
}
.site-header .bar { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--md-sys-color-on-surface); min-height: 48px; }
.brand img { width: 44px; height: 32px; object-fit: contain; }
.brand span { font-weight: 600; font-size: 1.15rem; letter-spacing: -.01em; white-space: nowrap; }
.brand span b { color: var(--md-sys-color-primary); font-weight: 600; }

.primary-nav { margin-left: auto; display: none; }
.primary-nav > ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.primary-nav li { margin: 0; position: relative; }
.nav-link, .nav-toggle {
  display: inline-flex; align-items: center; gap: 4px; min-height: 48px; padding: 0 14px;
  border-radius: var(--shape-full); color: var(--md-sys-color-on-surface); text-decoration: none;
  font: 500 .95rem var(--font); background: none; border: 0; cursor: pointer;
}
.nav-link:hover, .nav-toggle:hover { background: var(--md-sys-color-surface-container-high); }
.nav-link[aria-current="page"] { color: var(--md-sys-color-primary); background: var(--md-sys-color-secondary-container); }
.nav-toggle[data-active] { color: var(--md-sys-color-primary); }
.nav-toggle svg { width: 18px; height: 18px; transition: transform .15s ease; }
.nav-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%);
  width: min(720px, calc(100vw - 48px)); background: var(--md-sys-color-surface-container-high);
  border-radius: var(--shape-lg); box-shadow: var(--elev-2); padding: 20px; display: none;
}
.mega.open { display: block; }
.mega-head { font-size: .85rem; color: var(--md-sys-color-on-surface-variant); margin: 0 0 8px 8px; font-weight: 600; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.mega a { display: block; padding: 10px 12px; border-radius: var(--shape-md); text-decoration: none; color: var(--md-sys-color-on-surface); }
.mega a:hover { background: var(--md-sys-color-surface-container); }
.mega a strong { display: block; font-weight: 600; font-size: .95rem; }
.mega a span { display: block; font-size: .85rem; color: var(--md-sys-color-on-surface-variant); line-height: 1.4; }
.mega .all { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--md-sys-color-outline-variant); }

.header-actions { display: none; align-items: center; gap: 8px; }
.menu-button {
  margin-left: auto; width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center;
  border: 0; border-radius: var(--shape-full); background: none; color: var(--md-sys-color-on-surface); cursor: pointer;
}
.menu-button:hover { background: var(--md-sys-color-surface-container-high); }
.menu-button svg { width: 24px; height: 24px; }

@media (min-width: 1080px) {
  .primary-nav { display: block; }
  .header-actions { display: flex; }
  .menu-button { display: none; }
}

/* Navigation drawer (compact widths) */
.drawer-scrim { position: fixed; inset: 0; background: rgba(0, 0, 0, .32); z-index: 60; display: none; }
.drawer {
  position: fixed; top: 0; bottom: 0; left: 0; z-index: 61; width: min(360px, 86vw);
  background: var(--md-sys-color-surface-container-low); border-radius: 0 var(--shape-lg) var(--shape-lg) 0;
  padding: 12px; overflow-y: auto; transform: translateX(-105%); transition: transform .2s ease; visibility: hidden;
}
.drawer.open { transform: none; visibility: visible; }
.drawer-scrim.open { display: block; }
.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 4px 4px 12px 12px; }
.drawer h2 { font-size: .85rem; font-weight: 600; color: var(--md-sys-color-on-surface-variant); margin: 16px 16px 4px; }
.drawer ul { list-style: none; margin: 0; padding: 0; }
.drawer li { margin: 0; }
.drawer a.d-link {
  display: flex; align-items: center; min-height: 48px; padding: 0 16px; border-radius: var(--shape-full);
  color: var(--md-sys-color-on-surface); text-decoration: none; font-weight: 500;
}
.drawer a.d-link:hover { background: var(--md-sys-color-surface-container-high); }
.drawer a.d-link[aria-current="page"] { background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); }
.drawer .btn { width: 100%; margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .drawer { transition: none; } }

/* Sticky bottom bar on phones: Call · WhatsApp · Demo (audit §8.4) */
.mobile-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr);
  background: var(--md-sys-color-surface-container); border-top: 1px solid var(--md-sys-color-outline-variant);
  padding-bottom: env(safe-area-inset-bottom);
}
.mobile-cta a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 56px;
  color: var(--md-sys-color-on-surface); text-decoration: none; font-size: .8rem; font-weight: 500;
}
.mobile-cta a svg { width: 22px; height: 22px; }
.mobile-cta a.primary { color: var(--md-sys-color-primary); font-weight: 600; }
body.has-mobile-cta { padding-bottom: 64px; }
body.input-focused .mobile-cta, body.input-focused .fab { display: none; }
@media (min-width: 1080px) {
  .mobile-cta { display: none; }
  body.has-mobile-cta { padding-bottom: 0; }
}

/* WhatsApp FAB — bottom-right, 56px, desktop only (phones use the bottom bar) */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 40; display: none; align-items: center; gap: 10px;
  min-height: 56px; padding: 0 20px 0 16px; border-radius: var(--shape-lg); text-decoration: none;
  background: var(--whatsapp); color: var(--on-whatsapp); font-weight: 600; box-shadow: var(--elev-2);
}
.fab svg { width: 26px; height: 26px; }
@media (min-width: 1080px) { .fab { display: inline-flex; } }

/* ---------- Sections ---------- */
main { display: block; }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 88px 0; } }
.section-alt { background: var(--md-sys-color-surface-container-low); }
.section-head { max-width: 760px; margin-bottom: 32px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: var(--shape-sm);
  background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container);
  font-size: .85rem; font-weight: 500; margin-bottom: 16px;
}
.lead { font-size: 1.125rem; color: var(--md-sys-color-on-surface-variant); }
.muted { color: var(--md-sys-color-on-surface-variant); }
.small { font-size: .875rem; }

/* Hero */
.hero { padding: 48px 0 56px; background: linear-gradient(180deg, var(--md-sys-color-surface-container-low), var(--md-sys-color-surface)); }
.hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 48px; } }
.hero h1 { margin-bottom: 16px; }
.hero .lead { margin-bottom: 24px; max-width: 40rem; }
.reassure { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .9rem; color: var(--md-sys-color-on-surface-variant); }
.reassure li { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.reassure svg { width: 18px; height: 18px; color: var(--md-sys-color-primary); }
.hero-media { border-radius: var(--shape-xl); overflow: hidden; box-shadow: var(--elev-2); background: var(--md-sys-color-surface-container); }
.hero-media img { width: 100%; height: auto; aspect-ratio: 1200 / 528; object-fit: cover; }

.page-hero { padding: 40px 0 32px; background: var(--md-sys-color-surface-container-low); border-bottom: 1px solid var(--md-sys-color-outline-variant); }
@media (min-width: 900px) { .page-hero { padding: 64px 0 48px; } }
.page-hero h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem); }
.page-hero .lead { max-width: 46rem; }
.breadcrumb { list-style: none; padding: 0; margin: 0 0 16px; display: flex; flex-wrap: wrap; gap: 4px; font-size: .875rem; color: var(--md-sys-color-on-surface-variant); }
.breadcrumb li { margin: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 4px; color: var(--md-sys-color-outline); }
.breadcrumb a { color: var(--md-sys-color-on-surface-variant); display: inline-block; padding: 4px 0; }

/* Cards & grids */
.grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .grid-2 { gap: 24px; } }
.card {
  background: var(--md-sys-color-surface-container-lowest); border: 1px solid var(--md-sys-color-outline-variant);
  border-radius: var(--shape-lg); padding: 24px; min-width: 0;
}
.card.filled { background: var(--md-sys-color-surface-container); border-color: transparent; }
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card .icon {
  width: 48px; height: 48px; border-radius: var(--shape-md); display: inline-flex; align-items: center; justify-content: center;
  background: var(--md-sys-color-secondary-container); color: var(--md-sys-color-on-secondary-container); margin-bottom: 16px;
}
.card .icon svg { width: 24px; height: 24px; }
a.card { display: block; text-decoration: none; color: inherit; transition: box-shadow .15s ease, border-color .15s ease; }
a.card:hover { box-shadow: var(--elev-1); border-color: var(--md-sys-color-outline); }
a.card .more { display: inline-flex; align-items: center; gap: 4px; margin-top: 12px; color: var(--md-sys-color-primary); font-weight: 500; }

.check-list { list-style: none; padding: 0; }
.check-list li { position: relative; padding-left: 30px; margin-bottom: .6em; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 50%;
  background: var(--md-sys-color-secondary-container) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23006877' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; margin: 0; }
.steps li::before {
  content: counter(step); display: inline-flex; width: 40px; height: 40px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); font-weight: 600; margin-bottom: 12px;
}

.chip {
  display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border-radius: var(--shape-sm);
  border: 1px solid var(--md-sys-color-outline-variant); font-size: .85rem; color: var(--md-sys-color-on-surface-variant);
}
.chip.gold { background: var(--md-sys-color-tertiary-container); color: var(--md-sys-color-on-tertiary-container); border-color: transparent; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--shape-lg); background: var(--md-sys-color-surface-container-lowest); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--md-sys-color-outline-variant); vertical-align: top; }
thead th { background: var(--md-sys-color-surface-container); font-weight: 600; }
tbody tr:last-child td, tbody tr:last-child th { border-bottom: 0; }
td.c, th.c { text-align: center; }

/* FAQ (accordion) */
.faq { display: grid; gap: 8px; max-width: 880px; }
.faq details { background: var(--md-sys-color-surface-container-lowest); border: 1px solid var(--md-sys-color-outline-variant); border-radius: var(--shape-md); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 56px; padding: 12px 20px; font-weight: 600;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233d494b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .15s ease;
}
.faq details[open] summary::after { transform: rotate(180deg); }
.faq .answer { padding: 0 20px 16px; color: var(--md-sys-color-on-surface-variant); }
.faq .answer p:last-child { margin-bottom: 0; }

/* CTA band */
.cta-band { background: var(--md-sys-color-primary); color: var(--md-sys-color-on-primary); border-radius: var(--shape-xl); padding: 32px 24px; display: grid; gap: 16px; align-items: center; }
.cta-band h2 { color: inherit; margin: 0 0 4px; }
.cta-band p { margin: 0; opacity: .92; }
.cta-band .btn-filled { background: var(--md-sys-color-surface-container-lowest); color: var(--md-sys-color-primary); }
.cta-band .btn-outlined { border-color: currentColor; color: inherit; }
.cta-band a:not(.btn) { color: inherit; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 40px 48px; } }

/* Forms — M3 outlined text fields with persistent labels */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field label { font-weight: 500; font-size: .9rem; color: var(--md-sys-color-on-surface); }
.field .opt { font-weight: 400; color: var(--md-sys-color-on-surface-variant); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: 400 1rem var(--font); color: var(--md-sys-color-on-surface);
  background: var(--md-sys-color-surface-container-lowest); border: 1px solid var(--md-sys-color-outline); border-radius: var(--shape-sm);
}
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--md-sys-color-primary); outline-offset: 0; border-color: var(--md-sys-color-primary); }
.field .help { font-size: .85rem; color: var(--md-sys-color-on-surface-variant); }
.field .error, .form-error { font-size: .875rem; color: var(--md-sys-color-error); font-weight: 500; }
.field [aria-invalid="true"] { border-color: var(--md-sys-color-error); }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: .9rem; color: var(--md-sys-color-on-surface-variant); }
.consent input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--md-sys-color-primary); }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 16px; border-radius: var(--shape-md); background: var(--md-sys-color-surface-container); border-left: 4px solid var(--md-sys-color-error); }

.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 12px; margin: 0; }
.contact-list svg { width: 24px; height: 24px; flex: none; color: var(--md-sys-color-primary); margin-top: 2px; }
.contact-list a { display: inline-block; padding: 2px 0; }

/* Prose (legal pages) */
.prose { max-width: 800px; }
.prose h2 { font-size: 1.4rem; margin-top: 2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.5em; }
.prose p, .prose li { color: var(--md-sys-color-on-surface); }
.note { padding: 16px 20px; border-radius: var(--shape-md); background: var(--md-sys-color-surface-container); font-size: .95rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--md-sys-color-surface-container); color: var(--md-sys-color-on-surface-variant); padding: 56px 0 24px; margin-top: 0; }
.footer-grid { display: grid; gap: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-size: 1rem; color: var(--md-sys-color-on-surface); margin-bottom: 8px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--md-sys-color-on-surface-variant); text-decoration: none; display: inline-flex; align-items: center; min-height: 40px; }
.site-footer a:hover { color: var(--md-sys-color-primary); text-decoration: underline; }
.site-footer address { font-style: normal; }
.social { display: flex; gap: 8px; margin-top: 12px; }
.social a { width: 48px; height: 48px; justify-content: center; border-radius: 50%; background: var(--md-sys-color-surface-container-high); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--md-sys-color-outline-variant); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .875rem; }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 0 16px; }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; min-height: 40px; }

/* ---------- Consent banner (audit DM-QC-010) ---------- */
.consent-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 70; max-width: 560px;
  background: var(--md-sys-color-surface-container-high); color: var(--md-sys-color-on-surface);
  border-radius: var(--shape-lg); box-shadow: var(--elev-2); padding: 20px;
}
.consent-banner[hidden] { display: none; }
.consent-banner h2 { font-size: 1.05rem; margin-bottom: 6px; }
.consent-banner p { font-size: .9rem; color: var(--md-sys-color-on-surface-variant); }
.consent-banner .btn-row { margin-top: 12px; }
body.has-mobile-cta .consent-banner { bottom: 80px; }
@media (min-width: 1080px) { body.has-mobile-cta .consent-banner { bottom: 16px; } .consent-banner { left: 24px; } }

/* Utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.center { text-align: center; }
.two-col { display: grid; gap: 32px; }
@media (min-width: 900px) { .two-col { grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; } .two-col.wide-left { grid-template-columns: 1.3fr .7fr; } }
.more svg { width: 18px; height: 18px; }
.hero-points { margin-top: 8px; }
.h3 { font-size: 1.25rem; }
a[href^="tel:"] { white-space: nowrap; }
