/* ==========================================================================
   Trans Surfactant LLP — styles.css
   Single stylesheet, no build step. Modern CSS: custom properties, grid, flex.
   --------------------------------------------------------------------------
   2026 refresh: brand-gradient (cyan → blue) + wavy dividers echoing the
   company letterhead, elegant cards, glassy header. Fully usable without JS.
   --------------------------------------------------------------------------
   RETHEMING: brand colours live in :root below. Edit --c-accent* and the
   --grad-brand stops to retheme the entire site.
   ========================================================================== */

/* ---------- 1. Design tokens ---------- */
:root {
  /* Brand colours — edit these to retheme */
  --c-cyan: #45cde2;          /* light cyan from logo */
  --c-accent: #1392c4;        /* primary accent (logo blue) */
  --c-accent-dark: #0a5c82;   /* hover / emphasis / deep blue */
  --c-accent-light: #e9f6fb;  /* tinted backgrounds */
  --c-accent-deep: #0c4a72;   /* darkest brand blue (hero gradient) */

  /* Signature brand gradient (cyan → aqua → blue) */
  --grad-brand: linear-gradient(120deg, #4cd0e3 0%, #1f9fd1 48%, #0e7aab 100%);
  --grad-hero: linear-gradient(135deg, #0c4a72 0%, #146ba0 45%, #1f9fd1 100%);
  --grad-soft: linear-gradient(120deg, #eafaff 0%, #e6f4fd 100%);

  /* Neutrals */
  --c-ink: #112e3f;           /* headings */
  --c-text: #33454e;          /* body text */
  --c-muted: #5f7079;         /* secondary text */
  --c-line: #dde9ef;          /* borders */
  --c-bg: #ffffff;
  --c-bg-soft: #f3fafd;       /* alternating section background */
  --c-success: #1c7c43;
  --c-whatsapp: #25d366;

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.25rem;
  --fs-3xl: clamp(2.25rem, 1.4rem + 2.9vw, 3.5rem);

  /* Spacing scale */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4.5rem;
  --sp-9: 6rem;

  /* Radii & shadows */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(17, 46, 63, 0.06);
  --shadow: 0 10px 34px rgba(17, 46, 63, 0.10);
  --shadow-lg: 0 26px 70px rgba(15, 98, 150, 0.18);
  --shadow-brand: 0 14px 32px rgba(19, 146, 196, 0.32);

  --container: 74rem;
  --header-h: 4.75rem;
}

/* ---------- 2. Reset & base ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-text);
  background: var(--c-bg);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  color: var(--c-ink);
  line-height: 1.18;
  margin: 0 0 var(--sp-4);
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-lg); }
h4 { font-size: var(--fs-md); }

p { margin: 0 0 var(--sp-4); }
ul, ol { margin: 0 0 var(--sp-4); padding-left: 1.25rem; }
li { margin-bottom: var(--sp-2); }

a { color: var(--c-accent-dark); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--c-accent); }

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

address { font-style: normal; }

:focus-visible {
  outline: 3px solid var(--c-accent);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Gradient text helper */
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* Visually hidden (screen-reader only) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: -4rem;
  z-index: 200;
  background: var(--c-accent-dark);
  color: #fff;
  padding: var(--sp-2) var(--sp-4);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 0; color: #fff; }

/* ---------- 3. Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--sp-5);
}

.section { padding-block: var(--sp-8); position: relative; }
.section--soft { background: var(--c-bg-soft); }
.section--accent { background: var(--c-accent-light); }

.section-head { max-width: 48rem; margin-bottom: var(--sp-7); }
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-sm);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
}

.grid { display: grid; gap: var(--sp-5); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 56rem) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 38rem) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* Reusable wavy divider (placed at the bottom of a coloured band).
   Markup-free: applied via background SVG so generators stay untouched. */
.wave-divider { position: absolute; left: 0; right: 0; bottom: -1px; line-height: 0; pointer-events: none; }
.wave-divider svg { width: 100%; height: clamp(48px, 7vw, 110px); display: block; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 0px solid transparent;
  background-origin: border-box;
  background-clip: border-box;
  font: 600 var(--fs-base) var(--font-sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }

/* Opt-in visible border. Base .btn has no border (border-width: 0); add this
   class to buttons that need one — outline/transparent buttons and hero CTAs.
   The border colour comes from the variant (.btn--outline, .hero .btn--primary…). */
.btn--bordered { border-width: 2px; }

/* Neutral (uncoloured) shadow so the pill's edges stay clean — a brand-tinted
   shadow bleeds a cyan halo unevenly around the rounded edges. */
.btn--primary { background: var(--grad-brand); background-origin: border-box; background-clip: border-box; color: #fff; box-shadow: 0 3px 10px rgba(17, 46, 63, 0.15); }
.btn--primary:hover { color: #fff; filter: saturate(1.1); box-shadow: 0 6px 16px rgba(17, 46, 63, 0.22); }

.btn--outline { border-color: var(--c-accent); color: var(--c-accent-dark); background: transparent; }
.btn--outline:hover { background: var(--c-accent); color: #fff; box-shadow: var(--shadow); }

.btn--whatsapp { background: var(--c-whatsapp); color: #fff; box-shadow: 0 12px 26px rgba(37, 211, 102, 0.32); }
.btn--whatsapp:hover { background: #1ebe5b; color: #fff; }

.btn--lg { padding: 0.95rem 2.1rem; font-size: var(--fs-md); }

.btn[aria-disabled="true"] {
  background: var(--c-line);
  color: var(--c-muted);
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
}

/* ---------- 5. Header & navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid rgba(221, 233, 239, 0.7);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--sp-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  margin-right: auto;
}
.brand img { flex: none; transition: transform 0.3s ease; }
.brand:hover img { transform: scale(1.05) rotate(-2deg); }
.brand-text {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--c-ink);
  line-height: 1.05;
}
.brand-text small {
  display: block;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--c-accent);
}

.site-nav ul {
  display: flex;
  gap: var(--sp-5);
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  display: inline-block;
  padding: var(--sp-2) 0;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--c-text);
  text-decoration: none;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 2px;
  border-radius: 2px;
  background: var(--grad-brand);
  transition: width 0.25s ease;
}
.site-nav a:hover { color: var(--c-accent-dark); }
.site-nav a:hover::after { width: 100%; }
.site-nav a[aria-current="page"] { color: var(--c-accent-dark); font-weight: 600; }
.site-nav a[aria-current="page"]::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: 1px solid var(--c-line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-ink);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Header "Request a Quote" button: hidden once the nav collapses to a hamburger */
@media (max-width: 64rem) {
  .header-cta { display: none; }
}

@media (max-width: 52rem) {
  /* Toggle is a JS enhancement — without JS the nav stays expanded */
  .js .nav-toggle { display: flex; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-bg);
    border-bottom: 1px solid var(--c-line);
    box-shadow: var(--shadow);
    padding: var(--sp-4) var(--sp-5) var(--sp-5);
  }
  .site-nav ul { flex-direction: column; gap: var(--sp-1); }
  .site-nav a { display: block; padding: var(--sp-3) var(--sp-2); font-size: var(--fs-md); }
  .site-nav a::after { display: none; }

  /* JS enhancement: nav collapses only when JS is available */
  .js .site-nav { display: none; }
  .js .site-nav.is-open { display: block; }
}

/* ---------- 6. Hero (homepage) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--sp-7);
  align-items: center;
  padding-block: clamp(var(--sp-8), 9vw, 7rem);
  padding-bottom: clamp(5rem, 11vw, 9rem);
}
.hero h1 { color: #fff; }
.hero h1 .accent { color: #bdeeff; }
.hero-tagline {
  font-style: italic;
  font-weight: 600;
  font-size: var(--fs-lg);
  color: #bdeeff;
  letter-spacing: 0.01em;
  margin: -0.25rem 0 var(--sp-4);
}
.hero p.lead { font-size: var(--fs-md); color: rgba(255, 255, 255, 0.92); max-width: 36rem; }
.hero .eyebrow {
  color: #eafaff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
  padding: 0.4rem 1rem;
  border-radius: 999px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-4); margin-top: var(--sp-6); }
.hero .btn--outline { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.hero .btn--outline:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }
/* --grad-brand and --grad-hero share a mid-tone blue, so the primary CTA needs
   extra separation from the hero background to stay visible. */
.hero .btn--primary { border-color: rgba(255, 255, 255, 0.55); box-shadow: 0 8px 22px rgba(3, 20, 32, 0.4); }

.hero-media { margin: 0; position: relative; z-index: 2; }
.hero-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.08);
}
/* Floating product PNG (transparent cut-out): no card chrome, sits on the gradient */
.hero-media--float img {
  border-radius: 0;
  box-shadow: none;
  background: none;
  filter: drop-shadow(0 18px 36px rgba(8, 40, 60, 0.32));
  width: 104%;
  max-width: 104%;
  margin-inline: -2%;
}
/* Homepage hero only: product pages (.phero) keep the narrower fit fixed earlier for overlap. */
.hero:not(.phero) .hero-media--float img {
  width: 114%;
  max-width: 114%;
  margin-inline: -7%;
}
@media (max-width: 52rem) {
  .hero-media--float img { width: 100%; max-width: 100%; margin-inline: 0; }
}

/* Decorative parallax layer (no JS required — purely visual) */
.hero__bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.hero__bg .blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: 0.55;
  will-change: transform;
}
.hero__bg .b1 { width: 34rem; height: 34rem; top: -12rem; right: -8rem; background: radial-gradient(circle at 30% 30%, rgba(120, 224, 244, 0.65), transparent 70%); }
.hero__bg .b2 { width: 26rem; height: 26rem; bottom: -10rem; left: -7rem; background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 70%); }
.hero__bg .b3 { width: 15rem; height: 15rem; top: 26%; left: 16%; background: radial-gradient(circle at 30% 30%, rgba(120, 224, 244, 0.5), transparent 70%); }
.hero__bg .bubble {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.08));
  will-change: transform;
}
.hero__bg .u1 { width: 1.4rem; height: 1.4rem; top: 24%; left: 38%; }
.hero__bg .u2 { width: 0.8rem; height: 0.8rem; top: 62%; left: 30%; }
.hero__bg .u3 { width: 1.9rem; height: 1.9rem; top: 44%; right: 34%; }
.hero__bg .u4 { width: 1rem; height: 1rem; bottom: 24%; left: 20%; }

.hero .wave-divider svg { height: clamp(56px, 8vw, 120px); }

@media (max-width: 52rem) {
  .hero-inner { grid-template-columns: 1fr; padding-block: var(--sp-8) 5rem; }
  .hero-media { display: none; }
}

/* ---------- 7. Cards ---------- */
.card {
  position: relative;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--grad-brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card h3 { margin-bottom: var(--sp-2); }
.card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--grad-soft);
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}

/* Certification badge/seal icons (certifications.html) */
.cert-badge-icon {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: var(--sp-4);
  filter: drop-shadow(0 6px 14px rgba(19, 146, 196, 0.28));
}
.cert-badge-icon svg { display: block; }
.cert-card .cert-badge-icon { flex: none; }

/* Verified registration plaque (real government logo, e.g. Udyam/MSME) */
.cert-badge-plaque {
  display: inline-flex;
  padding: var(--sp-2) var(--sp-3);
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--c-line);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--sp-4);
}
.cert-badge-plaque img { display: block; height: 56px; width: auto; border-radius: 4px; }
.cert-card--verified { border-color: var(--c-accent); }
.cert-status--verified { color: #1c9b6e; font-weight: 700; }

/* Product card */
.product-card {
  display: flex;
  flex-direction: column;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.product-card figure { margin: 0; position: relative; overflow: hidden; background: var(--card-bg, var(--grad-soft)); }
.product-card figure img { transition: transform 0.4s ease; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.product-card:hover figure img { transform: scale(1.04); }
.product-card figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.product-card .product-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--sp-5);
}
.product-card h3 { font-size: var(--fs-md); }
.product-card p { font-size: var(--fs-sm); color: var(--c-muted); flex: 1; }
.product-card .card-link {
  font-weight: 600;
  font-size: var(--fs-sm);
  text-decoration: none;
  color: var(--c-accent-dark);
}
.product-card .card-link::after { content: " →"; transition: margin 0.2s ease; }
.product-card:hover .card-link::after { margin-left: 0.25rem; }

.tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--c-accent-dark);
  background: var(--c-accent-light);
  border-radius: 999px;
  padding: 0.25rem 0.8rem;
  margin-bottom: var(--sp-3);
}

/* ---------- 8. Key figures band ---------- */
.figures {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  overflow: hidden;
}
.figures::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 120% at 80% -20%, rgba(120, 224, 244, 0.3), transparent 60%);
  pointer-events: none;
}
.figures-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-5);
  text-align: center;
  padding-block: var(--sp-8);
}
.figures p { margin: 0; }
.figures strong { display: block; font-size: var(--fs-2xl); font-weight: 800; color: #fff; }
.figures span { font-size: var(--fs-sm); opacity: 0.85; }

@media (max-width: 56rem) { .figures-grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 9. Filter buttons (soap bases listing) ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-bottom: var(--sp-6);
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border: 1.5px solid var(--c-line);
  border-radius: 999px;
  background: var(--c-bg);
  background-origin: border-box;
  background-clip: border-box;
  color: var(--c-text);
  font: 500 var(--fs-sm) var(--font-sans);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-btn:hover { border-color: var(--c-accent); color: var(--c-accent-dark); }
.filter-btn[aria-pressed="true"] {
  background: var(--grad-brand);
  background-origin: border-box;
  background-clip: border-box;
  border-color: transparent;
  color: #fff;
  box-shadow: 0 3px 10px rgba(17, 46, 63, 0.15);
}
/* Filter bar is a JS enhancement — hidden until JS adds .js to <html> */
.no-js .filter-bar { display: none; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
@media (max-width: 56rem) { .product-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 38rem) { .product-grid { grid-template-columns: 1fr; } }

.product-card.is-hidden { display: none; }

/* ---------- 10. Breadcrumbs ---------- */
.breadcrumbs { padding-block: var(--sp-4); font-size: var(--fs-sm); }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: var(--sp-2); list-style: none; margin: 0; padding: 0; }
.breadcrumbs li { margin: 0; display: flex; gap: var(--sp-2); align-items: center; }
.breadcrumbs li + li::before { content: "/"; color: var(--c-muted); }
.breadcrumbs a { text-decoration: none; color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-accent-dark); }
.breadcrumbs [aria-current="page"] { color: var(--c-ink); font-weight: 500; }

/* ---------- 11. Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: var(--grad-soft);
  padding-block: var(--sp-8) calc(var(--sp-8) + 2.5rem);
  margin-bottom: var(--sp-2);
  overflow: hidden;
}
.page-hero::before {
  content: "";
  position: absolute;
  top: -6rem; right: -4rem;
  width: 22rem; height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, rgba(76, 208, 227, 0.28), transparent 70%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { margin-bottom: var(--sp-3); }
.page-hero p { max-width: 46rem; color: var(--c-muted); margin-bottom: 0; }
/* Wavy bottom edge echoing the letterhead */
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  height: clamp(36px, 5vw, 70px);
  background: var(--c-bg);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" preserveAspectRatio="none"><path d="M0,40 C240,100 480,0 720,30 C960,60 1200,96 1440,46 L1440,100 L0,100 Z"/></svg>') bottom/100% 100% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" preserveAspectRatio="none"><path d="M0,40 C240,100 480,0 720,30 C960,60 1200,96 1440,46 L1440,100 L0,100 Z"/></svg>') bottom/100% 100% no-repeat;
}

/* ---------- 12. Tables (specifications) ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.spec-table caption {
  text-align: left;
  font-size: var(--fs-sm);
  color: var(--c-muted);
  padding: var(--sp-4) var(--sp-4) var(--sp-3);
  caption-side: top;
}
.spec-table th,
.spec-table td {
  padding: var(--sp-3) var(--sp-4);
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
.spec-table tbody tr { transition: background 0.15s ease; }
.spec-table tbody tr:hover { background: var(--c-accent-light); }
.spec-table tr:last-child th,
.spec-table tr:last-child td { border-bottom: none; }
.spec-table th[scope="row"] {
  width: 40%;
  font-weight: 600;
  color: var(--c-ink);
  background: var(--c-bg-soft);
}
/* Nested spec rows (e.g. "Fatty matter — comply with either (a) or (b)"):
   a parent group row followed by indented sub-rows for each option. */
.spec-table tr.spec-table__group th { font-style: italic; font-weight: 600; }
.spec-table tr.spec-table__group td { color: var(--c-muted); }
.spec-table tr.spec-table__sub th {
  padding-left: calc(var(--sp-4) + var(--sp-5));
  font-weight: 500;
}

/* ---------- 13. Product detail layout ---------- */
.product-hero {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: var(--sp-7);
  align-items: start;
}
.product-hero figure { margin: 0; }
.product-hero img { border-radius: var(--radius-lg); border: 1px solid var(--c-line); box-shadow: var(--shadow-sm); background: var(--grad-soft); }
.product-hero figcaption { font-size: var(--fs-sm); color: var(--c-muted); margin-top: var(--sp-2); }
.product-hero .lead { font-size: var(--fs-md); color: var(--c-text); }
.product-ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }

@media (max-width: 52rem) { .product-hero { grid-template-columns: 1fr; } }

.feature-list { list-style: none; padding: 0; }
.feature-list li { padding-left: 1.9rem; position: relative; }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--grad-brand);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" d="M3.5 8.5l3 3 6-7"/></svg>') center/72% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16"><path fill="none" stroke="black" stroke-width="2.6" stroke-linecap="round" stroke-linejoin="round" d="M3.5 8.5l3 3 6-7"/></svg>') center/72% no-repeat;
}
/* Two-column feature/application lists on wide screens */
.feature-list--cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--sp-6); }
@media (max-width: 40rem) { .feature-list--cols { grid-template-columns: 1fr; } }

/* Vision & Mission tiles (about page): blue tiles that invert to white on
   hover so the active tile is obvious. Each carries the TS mark watermark
   and an asymmetric "scooped" corner for a distinctive look. */
.mv-tile {
  position: relative;
  overflow: hidden;
  padding: var(--sp-6);
  background: linear-gradient(135deg, var(--c-accent-deep) 0%, var(--c-accent) 100%);
  color: rgba(255, 255, 255, 0.92);
  border: 2px solid transparent;
  box-shadow: var(--shadow-sm);
  transition: background 0.35s ease, color 0.35s ease, border-color 0.35s ease,
              transform 0.25s ease, box-shadow 0.25s ease;
  /* Safari/WebKit (macOS + iPadOS) can fail to clip a child to this rounded
     corner while its `filter` is transitioning (see .mv-tile::after below),
     letting a square sliver of the watermark's bounding box show past the
     curve. Forcing a mask-based clip path sidesteps the bug; it's a visual
     no-op elsewhere since the mask is fully opaque. */
  -webkit-mask-image: -webkit-radial-gradient(circle, #fff 100%, #000 100%);
}
.mv-tile--vision  { border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) 72px; }
.mv-tile--mission { border-radius: var(--radius-lg) var(--radius-lg) 72px var(--radius-lg); }
.mv-tile h3 { color: #fff; transition: color 0.35s ease; }
.mv-tile p { position: relative; z-index: 1; }
.mv-tile::after {
  /* TS logo watermark — top-right corner is never scooped on either tile
     (see .mv-tile--vision/--mission border-radius above), so both tiles can
     share the same placement without the mask-clip cropping it. */
  content: "";
  position: absolute;
  top: 4px;
  right: 4px;
  width: 150px;
  height: 150px;
  background: url("../images/ts-mark-v2.png") center / contain no-repeat;
  opacity: 0.22;
  filter: grayscale(1) brightness(4); /* reads as white on the blue tile */
  transition: opacity 0.35s ease, filter 0.35s ease;
  pointer-events: none;
}
.mv-tile__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  margin-bottom: var(--sp-3);
  transition: background 0.35s ease, border-color 0.35s ease;
}
.mv-tile__icon svg { width: 22px; height: 22px; stroke: #fff; transition: stroke 0.35s ease; }
.mv-tile:hover,
.mv-tile:focus-within {
  background: #fff;
  color: var(--c-text);
  border-color: var(--c-accent);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.mv-tile:hover h3, .mv-tile:focus-within h3 { color: var(--c-accent-dark); }
.mv-tile:hover::after, .mv-tile:focus-within::after { filter: none; opacity: 0.18; }
.mv-tile:hover .mv-tile__icon, .mv-tile:focus-within .mv-tile__icon {
  background: var(--c-accent-light);
  border-color: var(--c-accent);
}
.mv-tile:hover .mv-tile__icon svg, .mv-tile:focus-within .mv-tile__icon svg { stroke: var(--c-accent-dark); }

/* "We Serve" industries pinwheel (about page): pills fanned around a central
   hub, connected by dashed spokes. Collapses to a plain pill cloud on mobile. */
.serve-wheel {
  position: relative;
  max-width: 62rem;
  margin: var(--sp-7) auto 0;
  aspect-ratio: 10 / 7;
}
.serve-wheel__spokes {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.serve-wheel__spokes line {
  stroke: var(--c-accent);
  stroke-opacity: 0.35;
  stroke-width: 1.5;
  stroke-dasharray: 4 5;
  vector-effect: non-scaling-stroke;
  transition: stroke-opacity 0.3s ease;
}
/* wabi-sabi: no two spokes feel machine-made */
.serve-wheel__spokes line:nth-child(odd) { stroke-dasharray: 3 6; stroke-opacity: 0.26; }
.serve-wheel__spokes line:nth-child(3n) { stroke-dasharray: 6 4; stroke-opacity: 0.42; }
.serve-wheel__spokes line:nth-child(4n) { stroke-dasharray: 2 5; }
.serve-wheel__spokes line.is-hot { stroke-opacity: 0.9; stroke-dasharray: none; }
.serve-wheel__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 9.5rem;
  height: 9.5rem;
  margin: 0;
  border-radius: 47% 53% 52% 48% / 54% 46% 54% 46%;
  background: var(--grad-hero);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-lg);
  line-height: 1.15;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-brand);
  animation: hub-breathe 9s ease-in-out infinite alternate;
}
@keyframes hub-breathe {
  0%   { border-radius: 47% 53% 52% 48% / 54% 46% 54% 46%; transform: translate(-50%, -50%) rotate(-1.5deg) scale(1); }
  50%  { border-radius: 52% 48% 45% 55% / 47% 55% 45% 53%; }
  100% { border-radius: 45% 55% 55% 45% / 50% 48% 52% 50%; transform: translate(-50%, -50%) rotate(1.5deg) scale(1.03); }
}
.serve-wheel__items { list-style: none; margin: 0; padding: 0; }
.serve-wheel__items li {
  position: absolute;
  left: var(--x);
  top: var(--y);
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg));
  max-width: 11.5rem;
  padding: 0.5rem 1rem;
  background: var(--c-bg);
  border: 1px solid var(--c-accent);
  color: var(--c-accent-dark);
  font-weight: 600;
  font-size: var(--fs-sm);
  text-align: center;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
  will-change: left, top;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.35s ease,
              background 0.2s ease, color 0.2s ease, box-shadow 0.35s ease;
}
.serve-wheel__items li:nth-child(odd)  { --tilt: -1.4deg; }
.serve-wheel__items li:nth-child(even) { --tilt: 1.2deg; }
.serve-wheel__items li:nth-child(3n)   { --tilt: 2deg; }
.serve-wheel__items li:nth-child(5n)   { --tilt: -2.2deg; }
/* hovering one node: it grows, the rest step back */
.serve-wheel__items.is-focusing li {
  transform: translate(-50%, -50%) rotate(var(--tilt, 0deg)) scale(0.88);
  opacity: 0.72;
}
.serve-wheel__items.is-focusing li:hover {
  transform: translate(-50%, -50%) rotate(0deg) scale(1.16);
  opacity: 1;
  background: var(--c-accent);
  color: #fff;
  box-shadow: var(--shadow-brand);
  z-index: 2;
}
@media (max-width: 52rem) {
  .serve-wheel {
    aspect-ratio: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-5);
  }
  .serve-wheel__spokes { display: none; }
  .serve-wheel__hub { display: none; }
  .serve-wheel__items {
    position: static;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--sp-2);
  }
  .serve-wheel__items li { position: static; transform: none; max-width: none; }
  .serve-wheel__items li:hover { transform: none; }
}

/* Key-markets map (about page) */
.markets-map {
  margin: 0 0 var(--sp-6);
}
.markets-map__frame {
  position: relative;
  width: 100%;
  max-width: 60rem;
  margin-inline: auto;
  border-radius: var(--radius, 12px);
  overflow: hidden;
  background-color: #252525;
  line-height: 0;
}
.markets-map__frame svg {
  display: block;
  width: 100%;
  height: auto;
}
.markets-map__tip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  transform: translate(-50%, -135%);
  padding: 0.3rem 0.65rem;
  border-radius: 6px;
  background: #111;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s ease;
}
.markets-map__tip.is-visible {
  opacity: 1;
  visibility: visible;
}
.markets-map figcaption {
  margin-top: var(--sp-3);
  text-align: center;
  font-size: 0.9rem;
  color: var(--c-muted, #667);
}

/* Key-markets list (about page) */
.markets-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: var(--sp-2) var(--sp-5);
}
.markets-grid li {
  margin: 0;
  padding-left: 1.6rem;
  position: relative;
  color: var(--c-text);
  white-space: nowrap;
}
.markets-grid li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--grad-brand);
}

/* ---------- 13b. Product hero (gradient + parallax, mirrors homepage hero) ---------- */
.phero .breadcrumbs { padding-top: var(--sp-6); padding-bottom: var(--sp-4); position: relative; z-index: 2; }
.phero .breadcrumbs a { color: rgba(255, 255, 255, 0.8); }
.phero .breadcrumbs a:hover { color: #fff; }
.phero .breadcrumbs li + li::before { color: rgba(255, 255, 255, 0.55); }
.phero .breadcrumbs [aria-current="page"] { color: #fff; }

.phero-inner {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  gap: var(--sp-5);
  align-items: center;
  padding-bottom: clamp(4rem, 9vw, 7rem);
  position: relative;
  z-index: 2;
}
.phero-content { min-width: 0; }
.phero-tagline {
  font-size: var(--fs-md);
  font-weight: 600;
  color: #bdeeff;
  margin-bottom: var(--sp-3);
}
.phero .lead { color: rgba(255, 255, 255, 0.92); }
@media (max-width: 52rem) {
  .phero-inner { grid-template-columns: 1fr; padding-bottom: 4.5rem; gap: var(--sp-4); }
  /* On mobile, lead with the product image as a banner above the copy */
  .phero .hero-media { display: block; order: -1; width: 100%; max-width: 30rem; margin: 0 auto var(--sp-2); }
  .phero-content { order: 1; }
}

/* Ingredients table: numeric first column, header row */
.ingredients-table thead th {
  background: var(--c-accent-dark);
  color: #fff;
  font-weight: 600;
  text-align: left;
  padding: var(--sp-3) var(--sp-4);
}
.ingredients-table td:first-child { width: 3rem; color: var(--c-muted); font-variant-numeric: tabular-nums; }
.ingredients-table th[scope="row"] { width: auto; background: transparent; font-weight: 500; color: var(--c-ink); }

/* Processing & handling — numbered steps */
.process-list {
  list-style: none;
  counter-reset: step;
  padding: 0;
  display: grid;
  gap: var(--sp-3);
}
.process-list li {
  counter-increment: step;
  position: relative;
  padding: var(--sp-4) var(--sp-5) var(--sp-4) 3.75rem;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.process-list li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  font-weight: 700;
  color: var(--c-accent);
  font-variant-numeric: tabular-nums;
}

/* ---------- 14. Quality control stepper ---------- */
.qc-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  counter-reset: qc;
  list-style: none;
  padding: 0;
}
.qc-steps li {
  counter-increment: qc;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-6);
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.qc-steps li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.qc-steps li::before {
  content: counter(qc);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 700;
  margin-bottom: var(--sp-3);
  box-shadow: var(--shadow-brand);
}
@media (max-width: 52rem) { .qc-steps { grid-template-columns: 1fr; } }

/* Parameters we test: a single evenly-spaced column — numbered badge plus a
   full-width pill card carrying a title and short description. */
.param-steps {
  list-style: none;
  margin: var(--sp-6) auto 0;
  padding: 0;
  max-width: 42rem;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}
.param-step {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.param-step__num {
  flex: none;
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.1rem;
  height: 3.1rem;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  font-size: var(--fs-md);
  box-shadow: 0 8px 20px rgba(19, 146, 196, 0.28);
}
.param-step__pill {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  flex: 1;
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  padding: var(--sp-4) var(--sp-5);
  margin-inline-start: -1.4rem;
  padding-inline-start: 2.3rem;
  box-shadow: var(--shadow-sm);
}
.param-step__icon { display: inline-flex; flex: none; color: var(--c-accent); margin-top: 0.15rem; }
.param-step__icon svg { width: 1.1rem; height: 1.1rem; }
.param-step__text { display: flex; flex-direction: column; gap: 0.2rem; }
.param-step__title { font-weight: 700; font-size: var(--fs-sm); color: var(--c-ink); }
.param-step__desc { font-weight: 400; font-size: 0.8125rem; color: var(--c-muted); line-height: 1.45; }
/* Alternate which side the numbered badge sits on. */
.param-step:nth-child(even) { flex-direction: row-reverse; }
.param-step:nth-child(even) .param-step__pill {
  margin-inline-start: 0;
  margin-inline-end: -1.4rem;
  padding-inline-start: var(--sp-5);
  padding-inline-end: 2.3rem;
}
@media (max-width: 40rem) {
  .param-step__pill { padding-inline-start: 2rem; }
  .param-step:nth-child(even) .param-step__pill { padding-inline-end: 2rem; }
}

/* ---------- 15. FAQ accordions (native details/summary) ---------- */
.faq-group { margin-bottom: var(--sp-7); }
.faq-item {
  background: var(--c-bg);
  border: 1px solid var(--c-line);
  border-radius: var(--radius);
  margin-bottom: var(--sp-3);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  padding: var(--sp-4) var(--sp-5);
  font-weight: 600;
  color: var(--c-ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--sp-4);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex: none;
  font-size: var(--fs-lg);
  font-weight: 500;
  color: var(--c-accent);
  transition: transform 0.2s ease;
}
.faq-item[open] summary { color: var(--c-accent-dark); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item .faq-answer { padding: 0 var(--sp-5) var(--sp-5); }
.faq-item .faq-answer p:last-child { margin-bottom: 0; }

/* ---------- 16. Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }
.form-field--full { grid-column: 1 / -1; }
@media (max-width: 38rem) { .form-grid { grid-template-columns: 1fr; } }

.form-field label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--c-ink);
  margin-bottom: var(--sp-1);
}
.form-field .required { color: #b3261e; }

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.7rem 0.95rem;
  font: 400 var(--fs-base) var(--font-sans);
  color: var(--c-text);
  background: var(--c-bg-soft);
  border: 1.5px solid var(--c-line);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--c-accent);
  background: var(--c-bg);
  box-shadow: 0 0 0 3px var(--c-accent-light);
}
.form-field textarea { min-height: 8rem; resize: vertical; }

.form-note { font-size: var(--fs-sm); color: var(--c-muted); }

/* ---------- 17. Enquiry modal ---------- */
.enquiry-modal {
  width: min(34rem, calc(100vw - 2rem));
  border: none;
  border-radius: var(--radius-lg);
  padding: var(--sp-6);
  box-shadow: var(--shadow-lg);
}
.enquiry-modal::backdrop { background: rgba(12, 74, 114, 0.55); backdrop-filter: blur(2px); }
.enquiry-modal .modal-close {
  position: absolute;
  top: var(--sp-4);
  right: var(--sp-4);
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: var(--c-bg-soft);
  font-size: var(--fs-lg);
  line-height: 1;
  color: var(--c-ink);
  cursor: pointer;
}
.enquiry-modal .modal-close:hover { background: var(--c-accent-light); }
.enquiry-modal .form-grid { grid-template-columns: 1fr; }

/* ---------- 18. CTA band ---------- */
.cta-band {
  position: relative;
  background: var(--grad-hero);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(var(--sp-6), 5vw, var(--sp-8));
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 80% at 12% 0%, rgba(120, 224, 244, 0.35), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, rgba(120, 224, 244, 0.25), transparent 60%);
  pointer-events: none;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, 0.9); max-width: 40rem; margin-inline: auto; }
.cta-band .btn--outline { border-color: #fff; color: #fff; }
.cta-band .btn--outline:hover { background: rgba(255, 255, 255, 0.16); color: #fff; }

/* ---------- 18b. Our B2B process (homepage) ---------- */
.process-track {
  display: flex;
  align-items: flex-start;
  overflow-x: auto;
  padding: var(--sp-3) 0 var(--sp-4);
}
.process-step {
  position: relative;
  flex: 1 0 5.6rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-2);
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  font: 600 0.78rem var(--font-sans);
  color: var(--c-muted);
}
/* connecting line between the circles */
.process-step::before {
  content: "";
  position: absolute;
  top: 1.9rem;
  right: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-accent));
  opacity: 0.45;
}
.process-step:first-child::before { display: none; }
.process-step__circle {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.8rem;
  height: 3.8rem;
  border-radius: 50%;
  background: var(--c-bg);
  background-origin: border-box;
  background-clip: border-box;
  border: 2px solid var(--c-accent);
  color: var(--c-accent-dark);
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease,
              transform 0.25s ease, box-shadow 0.25s ease;
}
.process-step__circle svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; }
.process-step__circle::after {
  content: attr(data-num);
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  min-width: 1.3rem;
  height: 1.3rem;
  padding: 0 0.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--c-accent-dark);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1;
}
.process-step__label { line-height: 1.2; text-align: center; }
.process-step:hover .process-step__circle,
.process-step.is-active .process-step__circle {
  background: var(--grad-brand);
  background-origin: border-box;
  background-clip: border-box;
  border-color: transparent;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(17, 46, 63, 0.22);
}
.process-step.is-active { color: var(--c-accent-dark); }
.process-caption {
  max-width: 46rem;
  margin: var(--sp-4) auto 0;
  text-align: center;
  min-height: 3.6rem;
}
.process-caption strong {
  display: block;
  color: var(--c-accent-dark);
  font-size: var(--fs-md);
  margin-bottom: 0.3rem;
}

/* ---------- 19. Certifications strip / cards ---------- */
.cert-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--sp-4);
  list-style: none;
  padding: 0;
}
.cert-strip li { margin: 0; }
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-5);
  background: var(--c-bg);
  border: 1.5px dashed var(--c-line);
  border-radius: var(--radius);
  color: var(--c-muted);
  font-size: var(--fs-sm);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.cert-badge svg { width: 20px; height: 20px; flex: none; color: var(--c-accent); }

/* ---------- 20. Footer ---------- */
.site-footer {
  position: relative;
  background: var(--c-ink);
  color: #c4d3da;
  margin-top: var(--sp-8);
  font-size: var(--fs-sm);
}
/* Wavy top edge (mirrors the letterhead motif) */
.site-footer::before {
  content: "";
  position: absolute;
  top: 1px; left: 0; right: 0;
  height: clamp(36px, 5vw, 70px);
  transform: translateY(-100%);
  background: var(--c-ink);
  -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" preserveAspectRatio="none"><path d="M0,60 C240,10 480,100 720,70 C960,40 1200,4 1440,54 L1440,100 L0,100 Z"/></svg>') bottom/100% 100% no-repeat;
  mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 100" preserveAspectRatio="none"><path d="M0,60 C240,10 480,100 720,70 C960,40 1200,4 1440,54 L1440,100 L0,100 Z"/></svg>') bottom/100% 100% no-repeat;
  pointer-events: none;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--sp-6);
  padding-block: var(--sp-8) var(--sp-7);
}
.site-footer h2 {
  font-size: var(--fs-base);
  color: #fff;
  margin-bottom: var(--sp-4);
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: var(--sp-2); }
.site-footer a { color: #c4d3da; text-decoration: none; transition: color 0.2s ease, padding-left 0.2s ease; }
.site-footer a:hover { color: var(--c-cyan); padding-left: 4px; }
.footer-brand img { display: block; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: var(--sp-4);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--sp-3);
}
@media (max-width: 56rem) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 38rem) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- 21. Floating WhatsApp button ---------- */
.whatsapp-float {
  position: fixed;
  right: var(--sp-5);
  bottom: var(--sp-5);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--c-whatsapp);
  color: #fff;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.whatsapp-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid var(--c-whatsapp);
  animation: wa-pulse 2.4s ease-out infinite;
}
@keyframes wa-pulse { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
.whatsapp-float:hover { transform: scale(1.08); color: #fff; }
.whatsapp-float svg { width: 30px; height: 30px; position: relative; z-index: 1; }

/* ---------- 22. Scroll fade-in (progressive enhancement) ---------- */
.js .fade-in {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js .fade-in.is-visible { opacity: 1; transform: none; }

/* ---------- 23. Misc ---------- */
.timeline { list-style: none; padding: 0; border-left: 2px solid var(--c-accent-light); }
.timeline li { position: relative; padding: 0 0 var(--sp-5) var(--sp-6); margin: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -0.5rem;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border-radius: 50%;
  background: var(--grad-brand);
  border: 3px solid var(--c-bg);
}
.timeline time { font-weight: 700; color: var(--c-accent-dark); display: block; }

.map-placeholder { border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }

.notice {
  background: var(--c-accent-light);
  border-left: 4px solid var(--c-accent);
  border-radius: var(--radius-sm);
  padding: var(--sp-4) var(--sp-5);
  font-size: var(--fs-sm);
}

.error-page { text-align: center; padding-block: var(--sp-9); }
.error-page .error-code { font-size: 7rem; font-weight: 800; line-height: 1; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ---------- 24. Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .fade-in { opacity: 1; transform: none; }
  .whatsapp-float::after { display: none; }
}

/* ---------- 25. Print ---------- */
@media print {
  .site-header, .site-footer, .whatsapp-float, .hero-ctas, .product-ctas, .filter-bar { display: none; }
}
