/* =========================================================================
   Mbukadah Enterprises: design system
   One stylesheet for every page. Tokens first, then base, layout, components.
   ========================================================================= */

/* ---------- 1. Tokens ---------- */
:root {
  /* Ink: deep steel navy for text and dark sections */
  --ink-950: #07111d;
  --ink-900: #0b1a2b;
  --ink-800: #122840;
  --ink-700: #1c3654;
  --ink-600: #2c4a6e;

  /* Steel neutrals */
  --steel-25: #fafbfc;
  --steel-50: #f4f6f9;
  --steel-100: #e9edf2;
  --steel-200: #d9dfe7;
  --steel-300: #bcc6d2;
  --steel-500: #66758a;
  --steel-600: #4c5a6d;
  --steel-700: #364253;

  /* Brand blue: taken from the logo (#30b0fa) */
  --brand-300: #7fcdfc;
  --brand-400: #30b0fa;
  --brand-500: #1597e4;
  --brand-600: #0a78bd;
  --brand-700: #0b5f94;
  --brand-50: #eaf6ff;

  /* Accent: safety orange, reserved for primary actions */
  --accent-400: #ff8a3d;
  --accent-500: #f26b1d;
  --accent-600: #db5a10;
  --accent-50: #fff1e8;

  --whatsapp: #25d366;
  --whatsapp-600: #1fb855;
  --danger: #c62828;
  --success: #1b7f45;

  /* Semantic */
  --bg: #ffffff;
  --bg-muted: var(--steel-50);
  --text: var(--ink-900);
  --text-muted: var(--steel-600);
  --border: var(--steel-200);
  --focus: var(--brand-500);

  /* Type */
  --font-display: 'Archivo', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: clamp(1.125rem, 1rem + 0.4vw, 1.3125rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.35vw, 1.3rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.6rem);
  --fs-h1: clamp(2.4rem, 1.6rem + 3.6vw, 4.5rem);

  /* Space & shape */
  --space-section: clamp(4rem, 3rem + 4vw, 7rem);
  --gutter: clamp(1rem, 0.5rem + 2vw, 2rem);
  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgb(11 26 43 / 0.06), 0 1px 3px rgb(11 26 43 / 0.06);
  --shadow: 0 2px 4px rgb(11 26 43 / 0.04), 0 8px 24px rgb(11 26 43 / 0.08);
  --shadow-lg: 0 4px 8px rgb(11 26 43 / 0.05), 0 20px 48px rgb(11 26 43 / 0.14);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 72px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 108%;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: var(--fs-h1); font-weight: 800; }
h2 { font-size: var(--fs-h2); font-weight: 750; }
h3 { font-size: var(--fs-h3); font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; text-wrap: pretty; }
a { color: var(--brand-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
ul, ol { margin: 0; padding: 0; }
address { font-style: normal; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--brand-400); color: var(--ink-950); }

.icon { width: 1.25em; height: 1.25em; flex: none; }
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.muted { color: var(--text-muted); }

.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 100;
  background: var(--ink-900); color: #fff; padding: 0.75rem 1rem; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }

/* ---------- 3. Layout ---------- */
.container { width: min(100% - 2 * var(--gutter), 1200px); margin-inline: auto; }
.narrow { width: min(100% - 2 * var(--gutter), 820px); }

.section { padding-block: var(--space-section); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section--muted { background: var(--bg-muted); }
.section--dark { background: var(--ink-900); color: #fff; position: relative; overflow: hidden; }
.section--dark::before, .hero::before, .page-hero::before, .cta-band::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgb(255 255 255 / 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 70% 0%, #000 0%, transparent 70%);
}
.section--dark > .container { position: relative; }

.grid { display: grid; gap: clamp(1rem, 0.6rem + 1.2vw, 1.5rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.grid--pair { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.split { display: grid; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
@media (min-width: 960px) {
  .split { grid-template-columns: 0.9fr 1.1fr; }
  .split--media { grid-template-columns: 1.1fr 0.9fr; }
}

/* Section heading */
.section-head { max-width: 680px; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head h2 + .lead { margin-top: 1rem; }
.section-head-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 3rem); }
.section-head-row .section-head { margin-bottom: 0; }
.lead { font-size: var(--fs-lg); color: var(--text-muted); line-height: 1.6; }
.section--dark .lead, .page-hero .lead, .hero .lead { color: var(--steel-300); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand-600); margin-bottom: 1rem;
}
.eyebrow::before { content: ''; width: 24px; height: 2px; background: var(--accent-500); border-radius: 2px; }
.eyebrow--light { color: var(--brand-300); }

/* ---------- 4. Buttons & links ---------- */
.btn {
  --btn-bg: var(--ink-900); --btn-fg: #fff; --btn-bd: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0.75rem 1.4rem;
  font-weight: 650; font-size: var(--fs-sm); line-height: 1.2; text-decoration: none; white-space: nowrap;
  color: var(--btn-fg); background: var(--btn-bg); border: 1.5px solid var(--btn-bd); border-radius: 999px;
  cursor: pointer; transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { color: var(--btn-fg); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn--primary { --btn-bg: var(--accent-500); --btn-fg: var(--ink-950); box-shadow: 0 6px 18px -6px rgb(242 107 29 / 0.6); }
.btn--primary:hover { --btn-bg: var(--accent-400); box-shadow: 0 10px 24px -8px rgb(242 107 29 / 0.7); }
.btn--secondary { --btn-bg: var(--ink-900); --btn-fg: #fff; }
.btn--secondary:hover { --btn-bg: var(--ink-700); }
.btn--outline-light { --btn-bg: transparent; --btn-fg: #fff; --btn-bd: rgb(255 255 255 / 0.35); }
.btn--outline-light:hover { --btn-bg: rgb(255 255 255 / 0.1); --btn-bd: #fff; }
.btn--whatsapp { --btn-bg: var(--whatsapp); --btn-fg: var(--ink-950); }
.btn--whatsapp:hover { --btn-bg: var(--whatsapp-600); }
.btn--sm { min-height: 40px; padding: 0.5rem 1.05rem; }
.btn--lg { min-height: 54px; padding: 0.9rem 1.6rem; font-size: var(--fs-base); }
.btn[disabled] { opacity: 0.6; pointer-events: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.btn-row--center { justify-content: center; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-weight: 650; font-size: var(--fs-sm); color: var(--brand-600); text-decoration: none;
}
.link-arrow .icon { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.link-arrow:hover .icon, a:hover > .link-arrow .icon, a:hover .link-arrow .icon { transform: translateX(4px); }

.icon-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--steel-50); color: var(--ink-800); border: 1px solid var(--border);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.icon-btn:hover { background: var(--whatsapp); border-color: var(--whatsapp); color: var(--ink-950); }
.icon-btn .icon { width: 18px; height: 18px; }

/* ---------- 5. Chips & badges ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.25rem 0.7rem; border-radius: 999px;
  font-size: var(--fs-xs); font-weight: 600; color: var(--brand-700); background: var(--brand-50);
}
.chip--muted { color: var(--steel-700); background: var(--steel-100); }

.icon-badge {
  display: inline-grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: 12px;
  color: var(--brand-600); background: var(--brand-50);
}
.icon-badge .icon { width: 24px; height: 24px; }
.icon-badge--dark { color: var(--brand-300); background: rgb(48 176 250 / 0.12); border: 1px solid rgb(48 176 250 / 0.2); }
.icon-badge--soft { background: var(--steel-50); color: var(--ink-700); }
.icon-badge--accent { color: var(--accent-600); background: var(--accent-50); }

/* ---------- 6. Header ---------- */
.topbar { background: var(--ink-950); color: var(--steel-300); font-size: var(--fs-xs); }
.topbar__inner { display: flex; gap: 1.75rem; justify-content: flex-end; padding-block: 0.5rem; }
.topbar span, .topbar a { display: inline-flex; align-items: center; gap: 0.45rem; color: inherit; text-decoration: none; }
.topbar a:hover { color: #fff; }
.topbar .icon { width: 14px; height: 14px; color: var(--brand-400); }
@media (max-width: 899px) { .topbar { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 0.88);
  backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.is-scrolled { border-bottom-color: var(--border); box-shadow: 0 6px 24px -12px rgb(11 26 43 / 0.18); }
.site-header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink-900); flex: none; }
.brand img { width: 44px; height: 44px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--font-display); font-stretch: 112%; font-size: 1.2rem; font-weight: 800; letter-spacing: 0.01em; text-transform: uppercase; }
.brand__text span { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-top: 3px; }
.brand:hover { color: var(--ink-900); }
.brand--light, .brand--light:hover { color: #fff; }
.brand--light .brand__text span { color: var(--steel-300); }

.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.75rem; }
.site-nav__links { display: flex; gap: 0.25rem; list-style: none; }
.site-nav__links a {
  position: relative; display: block; padding: 0.55rem 0.85rem; border-radius: 999px;
  font-weight: 550; font-size: var(--fs-sm); color: var(--steel-700); text-decoration: none;
  transition: color 0.2s, background-color 0.2s;
}
.site-nav__links a:hover { color: var(--ink-900); background: var(--steel-50); }
.site-nav__links a[aria-current='page'] { color: var(--ink-900); font-weight: 650; }
.site-nav__links a[aria-current='page']::after {
  content: ''; position: absolute; left: 0.85rem; right: 0.85rem; bottom: 2px; height: 2px; border-radius: 2px; background: var(--accent-500);
}
.site-nav__actions { display: flex; align-items: center; gap: 1rem; }
.header-phone { display: inline-flex; align-items: center; gap: 0.45rem; font-weight: 650; font-size: var(--fs-sm); color: var(--ink-900); text-decoration: none; white-space: nowrap; }
.header-phone .icon { width: 18px; height: 18px; color: var(--brand-600); }
.header-phone:hover { color: var(--brand-600); }

.nav-toggle {
  display: none; margin-left: auto; width: 44px; height: 44px; place-items: center;
  border: 1px solid var(--border); border-radius: 12px; background: #fff; color: var(--ink-900); cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle__close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__open { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle__close { display: block; }

@media (max-width: 1080px) and (min-width: 900px) { .header-phone span { display: none; } }
@media (max-width: 899px) {
  .nav-toggle { display: grid; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; margin: 0;
    flex-direction: column; align-items: stretch; gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem; background: #fff; border-bottom: 1px solid var(--border);
    box-shadow: 0 24px 40px -24px rgb(11 26 43 / 0.35);
    max-height: calc(100dvh - var(--header-h)); overflow-y: auto;
  }
  .fx .site-nav { transition: opacity 0.25s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0s; }
  .fx .site-nav:not(.is-open) { opacity: 0; visibility: hidden; transform: translateY(-10px); pointer-events: none; transition: opacity 0.2s var(--ease), transform 0.25s var(--ease), visibility 0s linear 0.25s; }
  .fx .site-nav.is-open .site-nav__links li { animation: nav-in 0.4s var(--ease) both; }
  .fx .site-nav.is-open .site-nav__links li:nth-child(2) { animation-delay: 40ms; }
  .fx .site-nav.is-open .site-nav__links li:nth-child(3) { animation-delay: 80ms; }
  .fx .site-nav.is-open .site-nav__links li:nth-child(4) { animation-delay: 120ms; }
  .fx .site-nav.is-open .site-nav__links li:nth-child(5) { animation-delay: 160ms; }
  .site-nav__links { flex-direction: column; gap: 0; }
  .site-nav__links a { padding: 0.9rem 0.25rem; border-radius: 0; border-bottom: 1px solid var(--steel-100); font-size: var(--fs-md); }
  .site-nav__links a[aria-current='page']::after { left: auto; right: 0.25rem; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); }
  .site-nav__actions { flex-direction: column; align-items: stretch; }
  .site-nav__actions .btn { min-height: 48px; }
  .header-phone { justify-content: center; padding: 0.75rem; border: 1px solid var(--border); border-radius: 999px; }
}

/* ---------- 7. Heroes ---------- */
.hero, .page-hero { position: relative; overflow: hidden; color: #fff; background: radial-gradient(ellipse 80% 60% at 85% 10%, rgb(21 151 228 / 0.28), transparent 60%), var(--ink-900); }
.hero__inner { position: relative; display: grid; gap: 3rem; align-items: center; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem); }
@media (min-width: 960px) { .hero__inner { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { font-size: var(--fs-h1); line-height: 1; letter-spacing: -0.035em; }
.hero h1 span { color: var(--brand-400); }
.hero .lead { margin-top: 1.5rem; max-width: 34rem; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 1.25rem 2.5rem; margin-top: 2.75rem; padding-top: 2rem; border-top: 1px solid rgb(255 255 255 / 0.12); list-style: none; }
.hero__stats li { display: flex; flex-direction: column; }
.hero__stats strong { font-family: var(--font-display); font-stretch: 112%; font-size: 1.9rem; font-weight: 800; line-height: 1; }
.hero__stats span { font-size: var(--fs-xs); color: var(--steel-300); margin-top: 0.4rem; }

.hero__media { position: relative; display: grid; grid-template-columns: 1fr 0.62fr; grid-template-rows: 1fr 1fr; gap: 14px; aspect-ratio: 1.08; }
.hero__photo { margin: 0; overflow: hidden; border-radius: var(--radius-lg); background: var(--ink-800); box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; }
.hero__photo--main { grid-row: 1 / 3; }
.hero__badge {
  position: absolute; left: -12px; bottom: 28px; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1.1rem; border-radius: var(--radius); background: #fff; color: var(--ink-900); box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs); line-height: 1.35;
}
.hero__badge .icon { width: 28px; height: 28px; color: var(--success); }
.hero__badge strong { display: block; font-size: var(--fs-sm); }
.hero__badge span { color: var(--text-muted); }
.hero__badge span strong { color: var(--ink-900); }
@media (max-width: 959px) { .hero__media { max-width: 560px; } }
@media (max-width: 520px) { .hero__badge { left: 10px; bottom: 10px; } }

.page-hero__inner { position: relative; padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
.page-hero h1 { font-size: clamp(2.25rem, 1.6rem + 2.8vw, 3.6rem); max-width: 18ch; }
.page-hero .lead { margin-top: 1.1rem; max-width: 40rem; }
.breadcrumb ol { display: flex; gap: 0.5rem; list-style: none; font-size: var(--fs-xs); color: var(--steel-300); margin-bottom: 1.5rem; }
.breadcrumb li + li::before { content: '/'; margin-right: 0.5rem; opacity: 0.5; }
.breadcrumb a { color: var(--steel-300); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ---------- 8. Cards ---------- */
.card-base, .category-card, .feature-card, .product-card, .service-card, .statement, .scope-card, .contact-card, .form-card, .info-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg);
}

/* Linked cards lift on hover */
.category-card, .feature-card, .product-card, .contact-card { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
.category-card:hover, .feature-card:hover, .product-card:hover, .contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--steel-300); }

.category-card { display: flex; flex-direction: column; overflow: hidden; color: inherit; text-decoration: none; }
.category-card:hover { color: inherit; }
.category-card__media { aspect-ratio: 16 / 11; overflow: hidden; background: var(--steel-100); }
.category-card__media img, .product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.category-card:hover img, .product-card:hover img { transform: scale(1.05); }
.category-card__body { position: relative; display: flex; flex-direction: column; gap: 0.6rem; padding: 2.1rem 1.5rem 1.5rem; flex: 1; }
.category-card__body .icon-badge { position: absolute; top: -26px; left: 1.5rem; background: #fff; box-shadow: var(--shadow); }
.category-card__body p { color: var(--text-muted); flex: 1; }

.feature-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.75rem; color: inherit; text-decoration: none; }
.feature-card:hover { color: inherit; }
.feature-card .icon-badge { margin-bottom: 0.5rem; transition: background-color 0.25s, color 0.25s; }
.feature-card:hover .icon-badge { background: var(--brand-500); color: #fff; }
.feature-card p { color: var(--text-muted); }

.reason { display: flex; flex-direction: column; gap: 0.6rem; padding: 1.6rem; border-radius: var(--radius-lg); background: rgb(255 255 255 / 0.04); border: 1px solid rgb(255 255 255 / 0.08); }
.reason .icon-badge { margin-bottom: 0.5rem; }
.reason p { color: var(--steel-300); font-size: var(--fs-sm); }

/* Industries */
.industry-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); gap: 0.85rem; list-style: none; }
.industry { display: flex; align-items: center; gap: 0.9rem; padding: 0.9rem 1rem; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color 0.2s, background-color 0.2s; }
.industry:hover { border-color: var(--brand-300); background: var(--brand-50); }
.industry .icon-badge { width: 42px; height: 42px; border-radius: 10px; }
.industry .icon-badge .icon { width: 20px; height: 20px; }
.industry strong { display: block; font-size: var(--fs-sm); }
.industry small { display: block; font-size: var(--fs-xs); color: var(--text-muted); line-height: 1.35; }

/* ---------- 9. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--ink-900) 0%, var(--ink-700) 55%, var(--brand-700) 130%); padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem); }
.cta-band__inner { position: relative; display: grid; gap: 1.5rem 3rem; align-items: center; }
@media (min-width: 1000px) { .cta-band__inner { grid-template-columns: 1fr auto; } }
.cta-band h2 { font-size: clamp(1.6rem, 1.3rem + 1.4vw, 2.3rem); }
.cta-band p { color: var(--steel-300); margin-top: 0.75rem; max-width: 36rem; }
.cta-band .btn-row { margin-top: 0; }

/* ---------- 10. Products page ---------- */
.toolbar { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip-btn {
  display: inline-flex; align-items: center; gap: 0.45rem; min-height: 42px; padding: 0.5rem 1rem;
  border: 1px solid var(--border); border-radius: 999px; background: #fff;
  font-size: var(--fs-sm); font-weight: 600; color: var(--steel-700); cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.chip-btn .icon { width: 16px; height: 16px; }
.chip-btn span { font-size: var(--fs-xs); font-weight: 600; padding: 0.05rem 0.45rem; border-radius: 999px; background: var(--steel-100); color: var(--steel-600); }
.chip-btn:hover { border-color: var(--steel-300); color: var(--ink-900); }
.chip-btn[aria-pressed='true'] { background: var(--ink-900); border-color: var(--ink-900); color: #fff; }
.chip-btn[aria-pressed='true'] span { background: rgb(255 255 255 / 0.15); color: #fff; }
.no-js .chips, html:not(.js) .chips, html:not(.js) .search, html:not(.js) .result-count { display: none; }

.search { position: relative; flex: 1 1 260px; max-width: 360px; }
.search .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--steel-500); pointer-events: none; }
.search input { width: 100%; min-height: 44px; padding: 0.6rem 1rem 0.6rem 2.6rem; border: 1px solid var(--border); border-radius: 999px; background: #fff; }
.search input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgb(21 151 228 / 0.15); }
.result-count { margin-top: 1rem; font-size: var(--fs-sm); color: var(--text-muted); min-height: 1.6em; }

.product-group { margin-top: clamp(2rem, 1.5rem + 2vw, 3.5rem); }
.product-group__head { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.5rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--border); }
.product-group__head h2 { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); }
.product-group__head p { color: var(--text-muted); margin-top: 0.3rem; max-width: 46rem; }

.product-card { display: flex; flex-direction: column; overflow: hidden; }
.product-card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--steel-100); }
.product-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 0.6rem; padding: 1.25rem 1.35rem 1.35rem; flex: 1; }
.product-card__body p { color: var(--text-muted); font-size: var(--fs-sm); flex: 1; }
.product-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; margin-top: 0.6rem; }

.empty-state { text-align: center; padding: 4rem 1rem; }
.empty-state > .icon { width: 44px; height: 44px; margin: 0 auto 1rem; color: var(--steel-300); }
.empty-state h2 { font-size: var(--fs-h3); }
.empty-state p { color: var(--text-muted); margin-top: 0.5rem; }
[hidden] { display: none !important; }

/* ---------- 11. Services page ---------- */
.service-card { display: flex; flex-direction: column; gap: 0.75rem; padding: 1.75rem; scroll-margin-top: calc(var(--header-h) + 24px); }
.service-card:target { border-color: var(--brand-400); box-shadow: 0 0 0 4px rgb(48 176 250 / 0.18); }
.service-card__head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; }
.service-card > p { color: var(--text-muted); }
.service-card .link-arrow { margin-top: auto; padding-top: 0.75rem; }

.checklist { list-style: none; display: grid; gap: 0.55rem; padding-block: 0.5rem; }
.checklist li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: var(--fs-sm); }
.checklist .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--success); }
.checklist--cols { grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }

.stats-band { background: var(--ink-900); color: #fff; padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; list-style: none; text-align: center; }
.stats strong { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: clamp(2.2rem, 1.8rem + 1.6vw, 3rem); font-weight: 800; line-height: 1; color: var(--brand-400); }
.stats span { display: block; margin-top: 0.5rem; color: var(--steel-300); font-size: var(--fs-sm); }

.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 1.25rem; list-style: none; counter-reset: step; }
.process__step { position: relative; display: flex; flex-direction: column; gap: 0.5rem; padding: 1.75rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); }
.process__num { font-family: var(--font-display); font-stretch: 112%; font-size: 2.25rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--brand-500); margin-bottom: 0.5rem; }
.process__step p { color: var(--text-muted); font-size: var(--fs-sm); }
.process__note { display: inline-flex; align-items: center; gap: 0.4rem; margin-top: auto; padding-top: 0.75rem; font-size: var(--fs-xs); font-weight: 600; color: var(--brand-700); }
.process__note .icon { width: 16px; height: 16px; }

.emergency { display: grid; gap: 1.25rem 2rem; align-items: center; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); border-radius: var(--radius-lg); background: var(--accent-50); border: 1px solid #ffd9c2; }
@media (min-width: 800px) { .emergency { grid-template-columns: auto 1fr auto; } }
.emergency h2 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); }
.emergency p { color: var(--steel-700); margin-top: 0.35rem; }
.emergency .icon-badge { background: #fff; }

/* ---------- 12. About page ---------- */
.prose { display: grid; gap: 1rem; color: var(--steel-700); font-size: var(--fs-md); }
.prose strong { color: var(--ink-900); }
.quote { position: relative; margin: 2rem 0 0; padding: 1.5rem 1.5rem 1.5rem 1.75rem; border-left: 3px solid var(--accent-500); background: var(--steel-50); border-radius: 0 var(--radius) var(--radius) 0; }
.quote > .icon { width: 28px; height: 28px; color: var(--brand-400); margin-bottom: 0.75rem; }
.quote p { font-size: var(--fs-md); font-weight: 500; color: var(--ink-800); }
.quote cite { display: block; margin-top: 0.75rem; font-style: normal; font-size: var(--fs-xs); font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.media-frame { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgb(11 26 43 / 0.08); }

.statement { display: flex; flex-direction: column; gap: 0.8rem; padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.5rem); }
.statement h2 { font-size: var(--fs-h3); margin-top: 0.5rem; }
.statement p { color: var(--steel-700); font-size: var(--fs-md); }

.timeline { overflow-x: clip; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1.5rem; list-style: none; position: relative; }
.timeline li { position: relative; padding-top: 2.25rem; }
.timeline li::before { content: ''; position: absolute; top: 6px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 3px solid var(--brand-500); z-index: 1; }
.timeline li::after { content: ''; position: absolute; top: 12px; left: 14px; right: -1.5rem; height: 2px; background: var(--steel-200); }
.timeline li:last-child::after { display: none; }
.timeline__year { display: block; font-family: var(--font-display); font-stretch: 112%; font-size: 1.6rem; font-weight: 800; color: var(--brand-600); line-height: 1; margin-bottom: 0.6rem; }
.timeline p { color: var(--text-muted); font-size: var(--fs-sm); margin-top: 0.35rem; }

.scope-card { padding: clamp(1.5rem, 1.2rem + 1vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.scope-card__head { display: flex; align-items: center; gap: 1rem; }
.callout { display: flex; flex-direction: column; gap: 0.25rem; margin-top: auto; padding: 1rem 1.15rem; border-radius: var(--radius); background: var(--accent-50); font-size: var(--fs-sm); }
.callout strong { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--accent-600); }
.callout .icon { width: 18px; height: 18px; }
.callout a { font-weight: 650; }

/* ---------- 13. Contact page ---------- */
.contact-card { display: flex; flex-direction: column; gap: 0.5rem; padding: 1.5rem; color: inherit; text-decoration: none; }
.contact-card:hover { color: inherit; }
.contact-card .icon-badge { margin-bottom: 0.5rem; }
.contact-card h2 { font-size: var(--fs-h3); }
.contact-card p { font-size: var(--fs-sm); color: var(--text-muted); }
.contact-card strong { font-size: var(--fs-sm); word-break: break-word; }
.contact-card .link-arrow { margin-top: auto; padding-top: 0.5rem; }

.contact-layout { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 1000px) { .contact-layout { grid-template-columns: 1.45fr 1fr; } }
.form-card { padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); box-shadow: var(--shadow); }
.form-card .section-head { margin-bottom: 2rem; }
.form-card .section-head h2 { font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem); }
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.field { display: grid; gap: 0.45rem; align-content: start; }
.field label { font-size: var(--fs-sm); font-weight: 600; }
.field label span[aria-hidden] { color: var(--accent-600); }
.field__optional { font-weight: 400; color: var(--text-muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.95rem;
  border: 1px solid var(--steel-300); border-radius: var(--radius-sm); background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--steel-500); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 4px rgb(21 151 228 / 0.15); }
.field [aria-invalid='true'] { border-color: var(--danger); }
.field [aria-invalid='true']:focus { box-shadow: 0 0 0 4px rgb(198 40 40 / 0.15); }
.field__error { font-size: var(--fs-xs); color: var(--danger); font-weight: 550; }
.select { position: relative; }
.select select { appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select .icon { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; pointer-events: none; color: var(--steel-500); }
.form__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.25rem; }
.form__status { padding: 0.9rem 1rem; border-radius: var(--radius-sm); background: #e8f6ee; color: var(--success); font-size: var(--fs-sm); font-weight: 550; }
.form__note { font-size: var(--fs-xs); color: var(--text-muted); }

.contact-aside { display: grid; gap: 1.5rem; }
.info-card { padding: 1.5rem; }
.info-card h2 { display: flex; align-items: center; gap: 0.5rem; font-size: var(--fs-h3); margin-bottom: 1rem; }
.info-card h2 .icon { color: var(--brand-600); }
.hours { margin: 0; display: grid; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.65rem 0; border-bottom: 1px dashed var(--steel-200); font-size: var(--fs-sm); }
.hours div:last-child { border-bottom: 0; }
.hours dt { color: var(--text-muted); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
.info-card__note { display: flex; align-items: center; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; padding: 0.75rem 0.9rem; border-radius: var(--radius-sm); background: var(--accent-50); font-size: var(--fs-sm); }
.info-card__note .icon { width: 16px; height: 16px; color: var(--accent-600); }
.info-card__note a { font-weight: 650; }
.info-card address { font-size: var(--fs-sm); line-height: 1.7; }
.map { margin-top: 1rem; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--steel-100); }
.map iframe { width: 100%; height: 100%; border: 0; }

.faq { display: grid; gap: 0.75rem; }
.faq__item { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; transition: border-color 0.2s, box-shadow 0.2s; }
.faq__item[open] { border-color: var(--steel-300); box-shadow: var(--shadow-sm); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.15rem 1.35rem; font-weight: 650; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .icon { width: 20px; height: 20px; color: var(--steel-500); transition: transform 0.25s var(--ease); }
.faq__item[open] summary .icon { transform: rotate(180deg); }
.faq__item p { padding: 0 1.35rem 1.25rem; color: var(--steel-700); }
.faq__more { margin-top: 2rem; text-align: center; color: var(--text-muted); }

/* ---------- 14. Footer ---------- */
.site-footer { background: var(--ink-950); color: var(--steel-300); padding-top: clamp(3.5rem, 3rem + 2vw, 5rem); font-size: var(--fs-sm); }
.site-footer__grid { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.5fr 0.8fr 1fr 1.4fr; } }
.site-footer__brand p { margin-top: 1.25rem; max-width: 22rem; }
.site-footer__title { font-size: var(--fs-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #fff; margin-bottom: 1.25rem; font-stretch: 100%; }
.site-footer__list { list-style: none; display: grid; gap: 0.7rem; }
.site-footer a { color: var(--steel-300); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer__contact { list-style: none; display: grid; gap: 1rem; }
.site-footer__contact li { display: flex; gap: 0.75rem; align-items: flex-start; }
.site-footer__contact .icon { width: 18px; height: 18px; margin-top: 2px; color: var(--brand-400); }
.site-footer__contact a { word-break: break-word; }
.social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgb(255 255 255 / 0.06); border: 1px solid rgb(255 255 255 / 0.08); color: #fff; transition: background-color 0.2s, border-color 0.2s; }
.social a:hover { background: var(--brand-600); border-color: var(--brand-600); }
.social .icon { width: 18px; height: 18px; }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 2rem; margin-top: 3.5rem; padding-block: 1.5rem; border-top: 1px solid rgb(255 255 255 / 0.08); font-size: var(--fs-xs); color: var(--steel-500); }

/* WhatsApp floating button */
.wa-fab {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.8rem 1.1rem 0.8rem 0.9rem;
  border-radius: 999px; background: var(--whatsapp); color: var(--ink-950); font-weight: 650; font-size: var(--fs-sm); text-decoration: none;
  box-shadow: 0 10px 30px -8px rgb(7 17 29 / 0.45); transition: transform 0.2s var(--ease), background-color 0.2s;
}
.wa-fab:hover { color: var(--ink-950); background: var(--whatsapp-600); transform: translateY(-2px); }
.wa-fab .icon { width: 24px; height: 24px; }
@media (max-width: 640px) { .wa-fab { padding: 0.9rem; } .wa-fab span { display: none; } }

/* ---------- 15. 404 ---------- */
.not-found { padding-block: clamp(5rem, 4rem + 6vw, 9rem); text-align: center; }
.not-found h1 { font-size: clamp(2rem, 1.6rem + 2vw, 3rem); }
.not-found .lead { margin-top: 1rem; }

@media print {
  .topbar, .site-header, .wa-fab, .cta-band, .site-footer .social { display: none !important; }
  .hero, .page-hero, .section--dark { background: none !important; color: #000 !important; }
}

/* ---------- 17. Small-screen refinements ---------- */
@media (max-width: 640px) {
  .hero__stats { gap: 1rem 1.75rem; }
  .hero__stats strong { font-size: 1.6rem; }
  /* Compact, horizontal service cards on phones */
  .feature-card { display: grid; grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: 0.25rem; padding: 1.25rem; }
  .feature-card .icon-badge { grid-row: span 2; margin-bottom: 0; }
  .feature-card p { font-size: var(--fs-sm); }
  .contact-card strong { font-size: var(--fs-xs); }
}

/* =========================================================================
   18. Motion & premium interactions
   Everything here is gated on .fx (added by main.js) and disabled under
   prefers-reduced-motion, so content is never hidden if JS fails.
   ========================================================================= */

/* Lenis smooth scroll (from lenis.css, minus its iframe rule, which would block the map) */
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
html.lenis { scroll-behavior: auto; }

/* Page-to-page cross-fade (Chromium/Safari; others navigate normally) */
@view-transition { navigation: auto; }
.site-header { view-transition-name: site-header; }
::view-transition-old(root) { animation: vt-out 0.22s var(--ease) both; }
::view-transition-new(root) { animation: vt-in 0.38s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(10px); } }

/* Header hides on scroll down, returns on scroll up */
.site-header { transition: transform 0.35s var(--ease), border-color 0.2s, box-shadow 0.2s; }
.site-header.is-hidden { transform: translateY(-100%); }
.menu-open, .menu-open body { overflow: hidden; }
/* Dim the page behind the open mobile menu */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 45; pointer-events: none;
  background: rgb(7 17 29 / 0.5); opacity: 0; transition: opacity 0.3s var(--ease);
}
.menu-open body::after { opacity: 1; pointer-events: auto; }

/* Reading progress */
.scroll-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; transform: scaleX(0); transform-origin: 0 50%; background: linear-gradient(90deg, var(--brand-400), var(--accent-500)); }

/* Floating actions */
.floating {
  position: fixed; z-index: 40; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: 10px;
}
.to-top {
  position: relative; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%;
  background: #fff; color: var(--ink-900); cursor: pointer; box-shadow: 0 8px 24px -8px rgb(7 17 29 / 0.35);
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.9);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0s linear 0.3s, background-color 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.to-top:hover { background: var(--steel-50); }
.to-top .icon { width: 18px; height: 18px; }
.to-top__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.to-top__ring circle { fill: none; stroke-width: 2.5; }
.to-top__ring circle:first-child { stroke: var(--steel-100); }
.to-top__ring circle:last-child { stroke: var(--brand-500); stroke-linecap: round; transition: stroke-dashoffset 0.1s linear; }
html:not(.fx) .to-top { display: none; }

/* Reveal on scroll */
.fx [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}
.fx [data-reveal].is-visible { opacity: 1; transform: none; }
/* Once revealed, hover lifts must react instantly, not after the stagger delay */
.fx [data-reveal].is-visible:hover { transition-delay: 0ms; }

/* Hero entrance on first paint */
.fx .hero__copy > * { animation: rise 0.9s var(--ease) both; }
.fx .hero__copy > :nth-child(2) { animation-delay: 80ms; }
.fx .hero__copy > :nth-child(3) { animation-delay: 160ms; }
.fx .hero__copy > :nth-child(4) { animation-delay: 240ms; }
.fx .hero__copy > :nth-child(5) { animation-delay: 320ms; }
.fx .hero__photo { animation: photo-in 1.1s var(--ease) both; }
.fx .hero__photo--a { animation-delay: 150ms; }
.fx .hero__photo--b { animation-delay: 280ms; }
.fx .hero__badge { animation: rise 0.8s var(--ease) 0.6s both; }
.fx .page-hero__inner > * { animation: rise 0.8s var(--ease) both; }
.fx .page-hero__inner > :nth-child(2) { animation-delay: 60ms; }
.fx .page-hero__inner > :nth-child(3) { animation-delay: 120ms; }
.fx .page-hero__inner > :nth-child(4) { animation-delay: 180ms; }
.fx .page-hero__inner > :nth-child(5) { animation-delay: 240ms; }
.hero__photo { will-change: translate; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } }
@keyframes photo-in { from { opacity: 0; transform: scale(0.94); clip-path: inset(8% 8% 8% 8% round 22px); } to { clip-path: inset(0 0 0 0 round 22px); } }
@keyframes nav-in { from { opacity: 0; transform: translateX(-8px); } }

/* Images: shimmer placeholder, then fade in once decoded */
.category-card__media, .product-card__media, .media-frame, .hero__photo {
  background-image: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.5) 50%, transparent 70%);
  background-size: 200% 100%;
}
.fx .category-card__media:not(:has(img.is-loaded)),
.fx .product-card__media:not(:has(img.is-loaded)),
.fx .media-frame:not(:has(img.is-loaded)) { animation: shimmer 1.4s linear infinite; }
.fx img[loading='lazy'], .fx img[fetchpriority] { opacity: 0; transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
.fx img.is-loaded { opacity: 1; }
@keyframes shimmer { from { background-position: 150% 0; } to { background-position: -50% 0; } }

/* Cursor spotlight on cards */
[data-spotlight] { position: relative; isolation: isolate; }
[data-spotlight]::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(48 176 250 / 0.10), transparent 45%);
  opacity: 0; transition: opacity 0.3s;
}
.reason[data-spotlight]::before { background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgb(48 176 250 / 0.16), transparent 45%); }
@media (hover: hover) { [data-spotlight]:hover::before { opacity: 1; } }
.service-card, .process__step, .statement, .scope-card { transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s; }
@media (hover: hover) {
  .service-card:hover, .process__step:hover, .statement:hover, .scope-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--steel-300); }
  .reason { transition: transform 0.25s var(--ease), border-color 0.25s, background-color 0.25s; }
  .reason:hover { transform: translateY(-3px); border-color: rgb(48 176 250 / 0.3); background: rgb(255 255 255 / 0.06); }
}

/* Button sheen */
.btn--primary, .btn--whatsapp { position: relative; overflow: hidden; isolation: isolate; }
.btn--primary::after, .btn--whatsapp::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 35%, rgb(255 255 255 / 0.45) 50%, transparent 65%);
  transform: translateX(-120%); transition: transform 0.7s var(--ease);
}
.btn--primary:hover::after, .btn--whatsapp:hover::after { transform: translateX(120%); }

/* Product filter: cards that remain animate back in */
.product-card.is-entering { animation: card-in 0.45s var(--ease) both; animation-delay: calc(min(var(--i, 0), 8) * 40ms); }
@keyframes card-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }

/* Invalid form submit */
.form.is-shaking .field [aria-invalid='true'] { animation: shake 0.4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }

/* FAQ: smooth open (Chromium supports animating to auto height) */
@supports (interpolate-size: allow-keywords) {
  :root { interpolate-size: allow-keywords; }
  .faq__item::details-content { height: 0; overflow: clip; transition: height 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  .faq__item[open]::details-content { height: auto; }
}

/* =========================================================================
   19. Mobile refinements
   ========================================================================= */
@media (max-width: 640px) {
  .floating { gap: 8px; }
  .to-top { width: 44px; height: 44px; }
  /* Filter chips: one swipeable row instead of wrapping lines */
  .toolbar { flex-direction: column; flex-wrap: nowrap; align-items: stretch; }
  .toolbar > * { min-width: 0; }
  .chips {
    flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-block: 2px;
  }
  .chips::-webkit-scrollbar { display: none; }
  .chip-btn { flex: none; scroll-snap-align: start; }
  .search { max-width: none; flex-basis: auto; }
  /* Vertical timeline on phones */
  .timeline { gap: 0; padding-left: 1.75rem; border-left: 2px solid var(--steel-200); margin-left: 6px; }
  .timeline li { padding: 0 0 2rem; }
  .timeline li:last-child { padding-bottom: 0; }
  .timeline li::before { top: 4px; left: calc(-1.75rem - 8px); }
  .timeline li::after { display: none; }
  .product-card__actions .btn { flex: 1; }
  .cta-band .btn-row .btn { flex: 1 1 100%; }
  .hero .btn-row .btn, .page-hero .btn-row .btn { flex: 1 1 auto; }
  .site-footer__bottom { flex-direction: column; }
  .emergency .btn { width: 100%; }
}
@media (max-width: 360px) {
  .brand__text span { display: none; }
  .hero h1 { font-size: 2.2rem; }
}

/* Reduced motion: switch everything off */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0ms !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .fx [data-reveal], .fx img[loading='lazy'], .fx img[fetchpriority] { opacity: 1; transform: none; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}
