/* ==========================================================================
   Profound Engineering Pte Ltd — site stylesheet
   Built on Bootstrap 5.3. Everything here is driven by the tokens in :root.

   1. Tokens            6. Hero                11. Brands
   2. Base              7. Page hero           12. Services / features / process
   3. Buttons & links   8. Sections            13. News & certificates
   4. Header            9. Stats               14. Forms, filters, contact
   5. Footer           10. Products            15. CTA, modal, utilities, motion
   ========================================================================== */

/* 1. Tokens
   ========================================================================== */
:root {
  /* Brand palette */
  --primary: #075E56;
  --accent: #17CBBA;
  --dark: #123A36;
  --mint: #A8C9C4;
  --light: #F4FAF9;
  --white: #FFFFFF;

  /* RGB channels of the palette, for alpha variants */
  --primary-rgb: 7, 94, 86;
  --accent-rgb: 23, 203, 186;
  --dark-rgb: 18, 58, 54;
  --mint-rgb: 168, 201, 196;

  /* Derived roles */
  --heading: var(--dark);
  --text: #425956;
  --text-muted: #5F7571;
  --line: rgba(var(--mint-rgb), .5);
  --control-border: rgba(var(--dark-rgb), .45);
  --on-dark: rgba(255, 255, 255, .76);
  --on-dark-line: rgba(255, 255, 255, .14);

  /* Type */
  --font-heading: "Manrope", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape, depth, rhythm */
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(var(--dark-rgb), .06);
  --shadow-md: 0 18px 40px -18px rgba(var(--dark-rgb), .28);
  --section-y: clamp(4rem, 8vw, 7rem);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Bootstrap overrides */
  --bs-body-font-family: var(--font-body);
  --bs-body-color: var(--text);
  --bs-body-line-height: 1.7;
  --bs-primary: var(--primary);
  --bs-primary-rgb: var(--primary-rgb);
  --bs-link-color: var(--primary);
  --bs-link-color-rgb: var(--primary-rgb);
  --bs-link-hover-color: var(--dark);
  --bs-link-hover-color-rgb: var(--dark-rgb);
  --bs-border-color: var(--line);
  --bs-border-radius: var(--radius);
  --bs-border-radius-lg: var(--radius);
  --bs-border-radius-sm: var(--radius);
}

/* 2. Base
   ========================================================================== */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--heading);
  letter-spacing: -.02em;
  line-height: 1.2;
}

h2, .h2 { margin-bottom: 1.125rem; font-size: clamp(1.75rem, 1.2rem + 2vw, 2.625rem); font-weight: 800; }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }

p { margin-bottom: 1.25rem; }
p:last-child { margin-bottom: 0; }

img { max-width: 100%; height: auto; }

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

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.on-dark :focus-visible,
.site-footer :focus-visible,
.topbar :focus-visible {
  outline-color: var(--accent);
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 2000;
  padding: .75rem 1.25rem;
  background: var(--dark);
  color: var(--white);
  border-radius: var(--radius);
  text-decoration: none;
  transition: top .2s;
}

.skip-link:focus { top: 1rem; color: var(--white); }

.lead {
  font-size: clamp(1.0625rem, 1rem + .3vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.7;
}

.text-muted-2 { color: var(--text-muted); }

/* Small uppercase label that opens most sections */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.125rem;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--primary);
}

.eyebrow::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.on-dark .eyebrow { color: var(--accent); }

/* Image frames: fixed ratio, never stretched */
.media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--light);
}

.media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ar-4x3 { aspect-ratio: 4 / 3; }
.ar-3x2 { aspect-ratio: 3 / 2; }
.ar-3x4 { aspect-ratio: 3 / 4; }
.ar-4x5 { aspect-ratio: 4 / 5; }
.ar-16x9 { aspect-ratio: 16 / 9; }

/* Checklist */
.check-list {
  display: grid;
  gap: .75rem 1.5rem;
  margin: 0 0 2rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.875rem;
  color: var(--heading);
  font-weight: 500;
}

.check-list li::before {
  content: "\F26E"; /* bi-check-lg */
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: .05em;
  color: var(--primary);
  font-size: 1.125rem;
  line-height: 1.5;
}

.on-dark .check-list li { color: var(--white); }
.on-dark .check-list li::before { color: var(--accent); }

@media (min-width: 576px) {
  .check-list--2 { grid-template-columns: 1fr 1fr; }
}

/* 3. Buttons & links
   ========================================================================== */
.btn {
  --bs-btn-padding-x: 1.5rem;
  --bs-btn-padding-y: .8125rem;
  --bs-btn-font-size: .9375rem;
  --bs-btn-font-weight: 600;
  --bs-btn-border-radius: var(--radius);
  --bs-btn-focus-box-shadow: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  line-height: 1.4;
  transition: color .2s, background-color .2s, border-color .2s, box-shadow .2s;
}

.btn-sm {
  --bs-btn-padding-x: .875rem;
  --bs-btn-padding-y: .4375rem;
  --bs-btn-font-size: .8125rem;
}

.btn .bi { transition: transform .25s var(--ease); }
.btn:hover .bi-arrow-right { transform: translateX(3px); }

.btn-brand {
  --bs-btn-color: var(--white);
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-bg: var(--dark);
  --bs-btn-hover-border-color: var(--dark);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: var(--dark);
  --bs-btn-active-border-color: var(--dark);
  --bs-btn-disabled-color: var(--white);
  --bs-btn-disabled-bg: var(--primary);
  --bs-btn-disabled-border-color: var(--primary);
}

.btn-accent {
  --bs-btn-color: var(--dark);
  --bs-btn-bg: var(--accent);
  --bs-btn-border-color: var(--accent);
  --bs-btn-hover-color: var(--dark);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--white);
  --bs-btn-active-color: var(--dark);
  --bs-btn-active-bg: var(--white);
  --bs-btn-active-border-color: var(--white);
}

.btn-outline-brand {
  --bs-btn-color: var(--primary);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(var(--primary-rgb), .45);
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: var(--primary);
  --bs-btn-active-border-color: var(--primary);
}

.btn-outline-white {
  --bs-btn-color: var(--white);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-color: var(--dark);
  --bs-btn-hover-bg: var(--white);
  --bs-btn-hover-border-color: var(--white);
  --bs-btn-active-color: var(--dark);
  --bs-btn-active-bg: var(--white);
  --bs-btn-active-border-color: var(--white);
}

/* Text link with a travelling arrow (also used on <button>) */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 0;
  border: 0;
  background: none;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: color .2s;
}

.link-arrow .bi { transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--dark); }
.link-arrow:hover .bi { transform: translateX(4px); }

.on-dark .link-arrow { color: var(--accent); }
.on-dark .link-arrow:hover { color: var(--white); }

/* 4. Header
   ========================================================================== */
.topbar {
  padding: .5625rem 0;
  background: var(--dark);
  color: var(--on-dark);
  font-size: .8125rem;
  line-height: 1.5;
}

.topbar a {
  color: inherit;
  text-decoration: none;
  transition: color .2s;
}

.topbar a:hover { color: var(--accent); }
.topbar .bi { color: var(--accent); margin-right: .4375rem; }
.topbar__social .bi { color: inherit; margin: 0; font-size: .9375rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s;
}

.site-header .navbar {
  padding-block: .875rem;
  transition: padding .3s var(--ease);
}

.site-header .navbar-brand {
  margin: 0;
  padding: 0;
}

.site-header .navbar-brand img {
  display: block;
  width: auto;
  height: 66px;
  transition: height .3s var(--ease);
}

.site-header.is-scrolled { box-shadow: 0 10px 28px -18px rgba(var(--dark-rgb), .45); }
.site-header.is-scrolled .navbar { padding-block: .5rem; }
.site-header.is-scrolled .navbar-brand img { height: 52px; }

.nav-toggle {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--dark);
  font-size: 1.5rem;
  transition: background-color .2s, border-color .2s;
}

.nav-toggle:hover { background: var(--light); border-color: var(--mint); }

.site-nav .nav-link {
  position: relative;
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--dark);
  transition: color .2s;
}

.site-nav .nav-link:hover,
.site-nav .nav-link.active { color: var(--primary); }

.site-nav__logo img { display: block; width: auto; height: 60px; }

.site-nav__contact {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
}

.site-nav__contact a {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .25rem 0;
  color: var(--text);
  text-decoration: none;
}

.site-nav__contact .bi { color: var(--primary); }

/* Desktop navigation */
@media (min-width: 1200px) {
  /* Space between menu items; grows with the screen */
  .site-nav .navbar-nav { column-gap: clamp(.5rem, 1.1vw, 1.25rem); }

  .site-nav .nav-link {
    padding: .625rem .8125rem;
  }

  .site-nav .nav-link::after {
    content: "";
    position: absolute;
    left: .8125rem;
    right: .8125rem;
    bottom: .125rem;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
  }

  .site-nav .nav-link:hover::after,
  .site-nav .nav-link.active::after { transform: scaleX(1); }
}

/* Mobile / tablet drawer */
@media (max-width: 1199.98px) {
  .site-header .navbar-brand img { height: 56px; }
  .site-header.is-scrolled .navbar-brand img { height: 48px; }

  .site-nav.offcanvas-xl {
    --bs-offcanvas-width: min(22.5rem, 88vw);
    --bs-offcanvas-padding-x: 1.5rem;
    --bs-offcanvas-padding-y: 1.25rem;
  }

  .site-nav .offcanvas-header { border-bottom: 1px solid var(--line); }
  .site-nav .offcanvas-body { flex-direction: column; }

  .site-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .9375rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }

  .site-nav .nav-link.active::after {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
  }

  .site-nav .nav-cta { margin-top: 1.5rem; }
  .site-nav .nav-cta .btn { width: 100%; }
}

/* 5. Footer
   ========================================================================== */
.site-footer {
  padding-top: clamp(3.5rem, 6vw, 5.5rem);
  background: var(--dark);
  color: var(--on-dark);
  font-size: .9375rem;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 1.5rem;
  padding: .875rem 1.125rem;
  background: var(--white);
  border-radius: var(--radius);
}

.footer-logo img { display: block; width: auto; height: 74px; }

.site-footer h2 {
  margin-bottom: 1.375rem;
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--white);
}

.footer-links,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links li + li { margin-top: .625rem; }

.footer-links a,
.footer-contact a {
  color: var(--on-dark);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--accent); }

.footer-contact li {
  display: flex;
  gap: .875rem;
}

.footer-contact li + li { margin-top: .875rem; }
.footer-contact .bi { flex: none; color: var(--accent); }
.footer-contact a { overflow-wrap: anywhere; }

.footer-bottom {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-block: 1.5rem;
  border-top: 1px solid var(--on-dark-line);
  font-size: .875rem;
}

.footer-bottom a { color: var(--on-dark); text-decoration: none; }
.footer-bottom a:hover { color: var(--accent); }

.social {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}

.social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark);
}

.social--light a {
  border-color: var(--line);
  color: var(--primary);
}

.social--light a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

/* 6. Hero (home)
   ========================================================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3rem, 6.5vw, 6rem);
  background: var(--light);
}

/* Orbit rings, a quiet nod to the swoosh in the logo */
.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border: 1px solid var(--mint);
  border-radius: 50%;
  pointer-events: none;
}

.hero::before {
  width: 980px;
  height: 460px;
  right: -260px;
  top: -150px;
  transform: rotate(-18deg);
  opacity: .7;
}

.hero::after {
  width: 620px;
  height: 290px;
  left: -260px;
  bottom: -170px;
  transform: rotate(-18deg);
  opacity: .5;
}

.hero .container { position: relative; z-index: 1; }

.hero__title {
  margin-bottom: 1.5rem;
  font-size: clamp(2.25rem, 1.35rem + 3.4vw, 3.875rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -.035em;
}

.hero__title em {
  font-style: normal;
  color: var(--primary);
}

.hero__lead {
  max-width: 34rem;
  margin-bottom: 2.25rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem 1.75rem;
  margin: 2.5rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--heading);
}

.hero__points .bi { margin-right: .5rem; color: var(--primary); }

.hero-visual {
  position: relative;
  padding: 0 0 1.75rem 1.75rem;
}

.hero-visual::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 58%;
  height: 52%;
  background: var(--primary);
  border-radius: var(--radius);
}

.hero-visual__dots {
  position: absolute;
  top: -1.25rem;
  right: -1.25rem;
  width: 126px;
  height: 126px;
  background-image: radial-gradient(var(--mint) 1.5px, transparent 1.6px);
  background-size: 14px 14px;
}

.hero-visual .media {
  aspect-ratio: 16 / 11;
  box-shadow: var(--shadow-md);
}

.hero-badge {
  position: absolute;
  left: 0;
  bottom: 3.5rem;
  display: flex;
  align-items: center;
  gap: .875rem;
  max-width: 17rem;
  padding: 1rem 1.25rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.hero-badge .bi {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--light);
  color: var(--primary);
  font-size: 1.375rem;
}

.hero-badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .9375rem;
  line-height: 1.3;
  color: var(--heading);
}

.hero-badge span { display: block; font-size: .8125rem; line-height: 1.4; color: var(--text-muted); }

@media (min-width: 992px) {
  .hero-visual .media { aspect-ratio: 10 / 10.6; }
}

/* Tablet / mobile: the photo becomes a tinted full-bleed background behind the text */
.hero__bg {
  position: absolute;
  inset: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(var(--dark-rgb), .8), rgba(var(--dark-rgb), .93));
}

@media (max-width: 991.98px) {
  .hero {
    padding-block: clamp(3.5rem, 11vw, 6rem);
    background: var(--dark);
    color: var(--on-dark);
  }

  .hero::before,
  .hero::after { border-color: var(--accent); opacity: .3; }

  .hero .eyebrow,
  .hero__title em { color: var(--accent); }

  .hero__title { color: var(--white); }
  .hero__lead { max-width: 38rem; }

  .hero__points {
    border-color: var(--on-dark-line);
    color: var(--white);
  }

  .hero__points .bi { color: var(--accent); }

  .hero .btn-brand {
    --bs-btn-color: var(--dark);
    --bs-btn-bg: var(--accent);
    --bs-btn-border-color: var(--accent);
    --bs-btn-hover-color: var(--dark);
    --bs-btn-hover-bg: var(--white);
    --bs-btn-hover-border-color: var(--white);
    --bs-btn-active-color: var(--dark);
    --bs-btn-active-bg: var(--white);
    --bs-btn-active-border-color: var(--white);
  }

  .hero .btn-outline-brand {
    --bs-btn-color: var(--white);
    --bs-btn-border-color: rgba(255, 255, 255, .5);
    --bs-btn-hover-color: var(--dark);
    --bs-btn-hover-bg: var(--white);
    --bs-btn-hover-border-color: var(--white);
    --bs-btn-active-color: var(--dark);
    --bs-btn-active-bg: var(--white);
    --bs-btn-active-border-color: var(--white);
  }

  .hero :focus-visible { outline-color: var(--accent); }

  /* The framed photo is replaced by the background version */
  .hero-visual { display: none; }
}

@media (max-width: 575.98px) {
  .hero-visual { padding: 0 0 1.25rem 1.25rem; }
  .hero-visual__dots { right: -.5rem; top: -1rem; width: 98px; height: 98px; }
  .hero-badge { bottom: 2.25rem; padding: .75rem 1rem; }
  .hero .btn { flex: 1 1 100%; }
}

/* 7. Page hero (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.25rem, 6.5vw, 5.75rem);
  background: var(--dark);
  color: var(--on-dark);
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.page-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .28;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--dark) 25%, rgba(var(--dark-rgb), .55));
}

.page-hero h1 {
  max-width: 46rem;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--white);
}

.page-hero .lead { max-width: 40rem; }

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
  font-size: .8125rem;
  font-weight: 500;
  letter-spacing: .04em;
}

.crumbs li + li::before {
  content: "/";
  margin-right: .5rem;
  color: var(--mint);
}

.crumbs a { color: var(--mint); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--white); }

/* 8. Sections
   ========================================================================== */
.section { padding-block: var(--section-y); }
.section--light { background: var(--light); }
.section--tight-top { padding-top: 0; }

/* Bootstrap's widest gutter is wider than the container padding on small screens */
@media (max-width: 991.98px) {
  .g-5 { --bs-gutter-x: 1.5rem; }
}

.section--dark,
.on-dark {
  background: var(--dark);
  color: var(--on-dark);
}

.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: var(--white); }

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.5rem);
}

.section-head h2 { margin-bottom: 1rem; }

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::after {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--accent);
}

.section-head--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
  max-width: none;
}

.section-head--split > div { max-width: 44rem; }
.section-head--split h2 { margin-bottom: 0; }
.section-head--split h2 + p { margin-top: 1rem; }

/* Image with an offset accent block, used in image + text sections */
.figure-stack {
  position: relative;
  padding: 0 1.5rem 1.5rem 0;
}

.figure-stack::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 46%;
  height: 46%;
  border: 1px solid var(--mint);
  border-radius: var(--radius);
}

.figure-stack--flip { padding: 0 0 1.5rem 1.5rem; }
.figure-stack--flip::before { right: auto; left: 0; }

.figure-stack .media { box-shadow: var(--shadow-md); }

.figure-note {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 10.5rem;
  padding: 1.25rem 1.5rem;
  background: var(--primary);
  border-radius: var(--radius);
  color: var(--on-dark);
  font-size: .875rem;
  line-height: 1.4;
}

.figure-note strong {
  display: block;
  margin-bottom: .25rem;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
}

/* Key facts (About) */
.fact-list {
  display: grid;
  grid-template-columns: 1fr;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .9375rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-list dt {
  font-weight: 500;
  color: var(--text-muted);
}

.fact-list dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
  color: var(--heading);
}

/* Mission / vision */
.statement {
  height: 100%;
  padding: clamp(1.75rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.statement--dark {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--on-dark);
}

.statement--dark h3 { color: var(--white); }

.statement .bi {
  display: block;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  line-height: 1;
  color: var(--primary);
}

.statement--dark .bi { color: var(--accent); }
.statement h3 { margin-bottom: .875rem; }

/* 9. Stats
   ========================================================================== */
.stats { border-bottom: 1px solid var(--line); }

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin: 0;
}

.stat {
  padding: 1.75rem 1rem 1.75rem 1.25rem;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.stat:nth-child(odd) { border-left: 0; padding-left: 0; }
.stat:nth-child(-n+2) { border-top: 0; }
.stat:last-child:nth-child(odd) { grid-column: 1 / -1; }

.stat dd {
  margin: 0 0 .375rem;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 1.5rem + 1.6vw, 2.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.03em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
}

.stat dd span { color: var(--accent); }

.stat dt {
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-muted);
}

.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

@media (min-width: 768px) {
  .stats__grid { grid-template-columns: repeat(5, 1fr); }
  .stat,
  .stat:nth-child(odd) { padding: 2.5rem 1rem 2.5rem 1.75rem; border-top: 0; border-left: 1px solid var(--line); }
  .stat:first-child { padding-left: 0; border-left: 0; }
  .stat:last-child:nth-child(odd) { grid-column: auto; }
}

.stats--dark {
  border: 0;
  background: var(--dark);
}

.stats--dark .stat,
.stats--dark .stat:nth-child(odd) { border-color: var(--on-dark-line); }
.stats--dark .stat dd { color: var(--white); }
.stats--dark .stat dt { color: var(--on-dark); }

/* 10. Products
   ========================================================================== */
.card-base {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}

.card-base:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: var(--shadow-md);
}

a.media { display: block; }

.card-base .media { border-radius: 0; }
.card-base .media img { transition: transform .7s var(--ease); }
.card-base:hover .media img { transform: scale(1.05); }

.card-kicker {
  display: block;
  margin-bottom: .5rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.125rem;
}

.product-card h3 {
  margin-bottom: .5rem;
  font-size: 1.0625rem;
  line-height: 1.35;
  letter-spacing: -.01em;
  transition: color .2s;
}

.product-card h3 a { color: inherit; text-decoration: none; }
.product-card:hover h3 { color: var(--primary); }

.product-card p {
  margin-bottom: 1.125rem;
  font-size: .9063rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.product-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .625rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.product-card__actions .link-arrow { font-size: .875rem; }

.product-card__brand {
  position: absolute;
  left: .75rem;
  top: .75rem;
  z-index: 1;
  padding: .25rem .625rem;
  border-radius: var(--radius);
  background: var(--white);
  font-size: .75rem;
  font-weight: 600;
  color: var(--dark);
}

/* Phones: two product cards per row, so the card tightens up */
@media (max-width: 575.98px) {
  .product-grid .product-card__body { padding: .875rem .75rem .75rem; }
  .product-grid .card-kicker { margin-bottom: .375rem; font-size: .625rem; letter-spacing: .06em; }
  .product-grid .product-card h3 { margin-bottom: .75rem; font-size: .9375rem; line-height: 1.3; }
  .product-grid .product-card p { display: none; } /* full description stays in the details pop-up */

  .product-grid .product-card__actions {
    flex-direction: column;
    align-items: stretch;
    gap: .625rem;
    padding-top: .75rem;
  }

  .product-grid .product-card__actions .link-arrow { font-size: .8125rem; }

  .product-grid .product-card__brand {
    left: .5rem;
    top: .5rem;
    max-width: calc(100% - 1rem);
    padding: .1875rem .4375rem;
    font-size: .625rem;
    overflow-wrap: anywhere;
  }
}

/* Product details page */
.page-hero--compact { padding-block: 1.375rem; }

.product-gallery { position: relative; }

.product-gallery .media {
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}

.product-summary h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -.03em;
}

.product-brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-top: .25rem;
  padding: .5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}

.product-brand:hover { border-color: var(--mint); background: var(--light); }

.product-brand span {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-brand img { width: 140px; height: auto; }

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.btn-whatsapp {
  --bs-btn-color: var(--dark);
  --bs-btn-bg: #25D366;
  --bs-btn-border-color: #25D366;
  --bs-btn-hover-color: var(--white);
  --bs-btn-hover-bg: var(--dark);
  --bs-btn-hover-border-color: var(--dark);
  --bs-btn-active-color: var(--white);
  --bs-btn-active-bg: var(--dark);
  --bs-btn-active-border-color: var(--dark);
}

.assurance {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem 1.75rem;
  margin: 1.75rem 0 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--heading);
}

.assurance .bi { margin-right: .5rem; color: var(--primary); }

.tabs-brand {
  flex-wrap: nowrap;
  gap: .25rem;
  margin: 0;
  padding: 0;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  list-style: none;
  scrollbar-width: none;
}

.tabs-brand::-webkit-scrollbar { display: none; }

.tabs-brand button {
  position: relative;
  padding: 1rem 1.25rem;
  border: 0;
  background: none;
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  white-space: nowrap;
  color: var(--text-muted);
  transition: color .2s;
}

.tabs-brand button::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}

.tabs-brand button:hover,
.tabs-brand button.active { color: var(--primary); }
.tabs-brand button.active::after { transform: scaleX(1); }
.tabs-brand button:focus-visible { outline-offset: -3px; }

.tab-panel {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 var(--radius) var(--radius);
  background: var(--white);
}

.tab-panel h3 { margin-bottom: 1rem; font-size: 1.25rem; }
.spec-list--wide { max-width: 44rem; margin-top: 0; }

@media (max-width: 575.98px) {
  .product-actions .btn { flex: 1 1 100%; }
  .tabs-brand button { padding: .875rem .875rem; }
}

/* 11. Brands
   ========================================================================== */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--line);
  overflow: hidden;
  list-style: none;
}

@media (min-width: 768px) { .brand-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .brand-grid { grid-template-columns: repeat(6, 1fr); } }

.brand-tile {
  display: grid;
  place-items: center;
  height: 100%;
  min-height: 7.5rem;
  padding: 1.5rem 1.25rem;
  background: var(--white);
  transition: background-color .3s;
}

.brand-tile img,
.brand-card__logo img {
  width: 100%;
  max-width: 180px;
  filter: grayscale(1);
  opacity: .62;
  transition: filter .35s, opacity .35s, transform .35s var(--ease);
}

.brand-tile:hover img,
.brand-tile:focus-visible img,
.brand-card:hover .brand-card__logo img {
  filter: none;
  opacity: 1;
}

.brand-card__logo {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 9;
  padding: 1.5rem;
  border-bottom: 1px solid var(--line);
  background: var(--light);
}

.brand-card__logo img { max-width: 200px; }
.brand-card:hover .brand-card__logo img { transform: scale(1.04); }

.brand-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.375rem 1.375rem 1.25rem;
}

.brand-card h3 { margin-bottom: .5rem; font-size: 1.125rem; }

.brand-card p {
  margin-bottom: 1.25rem;
  font-size: .9063rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.brand-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* 12. Services, features, process
   ========================================================================== */
.service-card {
  padding: clamp(1.5rem, 3vw, 2.25rem);
}

.service-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: var(--light);
  color: var(--primary);
  font-size: 1.5rem;
  transition: background-color .3s, color .3s;
}

.service-card:hover .icon-tile {
  background: var(--primary);
  color: var(--accent);
}

.service-card__num {
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--mint);
}

.service-card h3 { margin-bottom: .625rem; font-size: 1.1875rem; }

.service-card p {
  margin-bottom: 1.5rem;
  font-size: .9375rem;
  color: var(--text-muted);
}

.service-card .link-arrow { margin-top: auto; align-self: flex-start; }

/* Clickable card: the link's hit area covers the whole card */
.stretched::after {
  content: "";
  position: absolute;
  inset: 0;
}

/* Feature list (Why choose us) */
.feature {
  display: flex;
  gap: 1.125rem;
  height: 100%;
}

.feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(var(--primary-rgb), .3);
  border-radius: var(--radius);
  color: var(--primary);
  font-size: 1.25rem;
}

.feature h3 {
  margin-bottom: .375rem;
  font-size: 1.0625rem;
  letter-spacing: -.01em;
}

.feature p {
  font-size: .9375rem;
  line-height: 1.65;
}

.on-dark .feature__icon {
  border-color: rgba(var(--accent-rgb), .45);
  color: var(--accent);
}

.feature-grid {
  display: grid;
  gap: 2.25rem 2.5rem;
}

@media (min-width: 576px) { .feature-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 992px) { .feature-grid--3 { grid-template-columns: repeat(3, 1fr); } }

/* Core values */
.value-card {
  height: 100%;
  padding: 1.75rem 0 0;
  border-top: 2px solid var(--line);
  transition: border-color .3s;
}

.value-card:hover { border-color: var(--accent); }

.value-card__num {
  display: block;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--primary);
}

.value-card h3 { margin-bottom: .5rem; font-size: 1.1875rem; }
.value-card p { font-size: .9375rem; }

/* Service detail rows */
.detail-row + .detail-row { margin-top: clamp(3.5rem, 7vw, 6rem); }

.detail-row__num {
  display: inline-block;
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--primary);
}

/* Process */
.process {
  display: grid;
  gap: 2rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.process li {
  position: relative;
  counter-increment: step;
}

.process li::before {
  content: counter(step, decimal-leading-zero);
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  border: 1px solid var(--primary);
  border-radius: 50%;
  background: var(--white);
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 700;
  color: var(--primary);
}

.process h3 { margin-bottom: .5rem; font-size: 1.0625rem; }
.process p { font-size: .9375rem; }

@media (min-width: 576px) { .process { grid-template-columns: 1fr 1fr; } }

@media (min-width: 992px) {
  .process { grid-template-columns: repeat(5, 1fr); }

  .process li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: calc(56px + .75rem);
    right: -.75rem;
    top: 28px;
    height: 1px;
    background: var(--mint);
  }
}

/* 13. News & certificates
   ========================================================================== */
.news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .375rem .875rem;
  margin-bottom: .75rem;
  font-size: .8125rem;
  color: var(--text-muted);
}

.news-meta .tag {
  padding: .1875rem .625rem;
  border-radius: var(--radius);
  background: var(--light);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--primary);
}

.section--light .news-meta .tag { background: var(--white); }
.section--light .news-card .news-meta .tag { background: var(--light); }

.news-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.news-card h3 {
  margin-bottom: .625rem;
  font-size: 1.1875rem;
  line-height: 1.35;
  transition: color .2s;
}

.news-card:hover h3 { color: var(--primary); }

.news-card p {
  margin-bottom: 1.25rem;
  font-size: .9375rem;
  color: var(--text-muted);
}

.news-card .link-arrow { margin-top: auto; align-self: flex-start; }

.news-card--featured h3 { font-size: clamp(1.25rem, 1.1rem + .8vw, 1.625rem); }

/* Compact list used on the home page */
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.news-list li:first-child .news-item { padding-top: 0; }
.news-list li:last-child .news-item { border-bottom: 0; padding-bottom: 0; }

.news-item__date {
  flex: none;
  width: 4.25rem;
  padding-top: .125rem;
  text-align: center;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--text-muted);
}

.news-item__date strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--primary);
}

.news-item h3 { margin-bottom: .5rem; font-size: 1.125rem; line-height: 1.4; }
.news-item p { margin-bottom: .875rem; font-size: .9375rem; color: var(--text-muted); }

.news-item { position: relative; }

/* Article (news details page) */
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .625rem 1.5rem;
  font-size: .9375rem;
}

.article-meta .bi { margin-right: .5rem; color: var(--accent); }

.article-meta .tag {
  padding: .25rem .75rem;
  border-radius: var(--radius);
  background: var(--accent);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--dark);
}

.article__image { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }

.article__body h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem);
}

.article__body > p { font-size: 1.0625rem; }
.article__body > p.lead { font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem); color: var(--heading); }
.article__body a:not(.btn) { font-weight: 500; }

.article__body blockquote {
  margin: 2.5rem 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-left: 3px solid var(--accent);
  border-radius: 0 var(--radius) var(--radius) 0;
  background: var(--light);
}

.article__body blockquote p {
  margin-bottom: .875rem;
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 1.05rem + .4vw, 1.3125rem);
  font-weight: 600;
  line-height: 1.5;
  color: var(--heading);
}

.article__body blockquote footer { font-size: .875rem; color: var(--text-muted); }

.article__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  margin-top: 3rem;
  padding-block: 1.5rem;
  border-block: 1px solid var(--line);
}

.link-arrow--back:hover .bi { transform: translateX(-4px); }

.share {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.share > span {
  margin-right: .375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--heading);
}

.share a,
.share button {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--primary);
  text-decoration: none;
  transition: background-color .2s, border-color .2s, color .2s;
}

.share a:hover,
.share button:hover,
.share button.is-copied {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.post-nav {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 576px) { .post-nav { grid-template-columns: 1fr 1fr; } }

.post-nav__link {
  display: block;
  padding: 1.25rem 1.375rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .25s, box-shadow .25s;
}

a.post-nav__link:hover { border-color: var(--mint); box-shadow: var(--shadow-md); }
.post-nav__link--empty { border: 0; padding: 0; }
.post-nav__link--next { text-align: right; }

.post-nav__link span {
  display: block;
  margin-bottom: .375rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary);
}

.post-nav__link strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--heading);
}

@media (max-width: 575.98px) {
  .post-nav__link--empty { display: none; }
  .post-nav__link--next { text-align: left; }
}

/* Article sidebar */
.side-news,
.side-cats {
  margin: 0;
  padding: 0;
  list-style: none;
}

.side-news li + li {
  margin-top: 1.125rem;
  padding-top: 1.125rem;
  border-top: 1px solid var(--line);
}

.side-news a {
  display: flex;
  gap: 1rem;
  text-decoration: none;
}

.side-news .media {
  flex: none;
  width: 84px;
  height: 64px;
}

.side-news time {
  display: block;
  margin-bottom: .25rem;
  font-size: .75rem;
  color: var(--text-muted);
}

.side-news strong {
  display: block;
  font-family: var(--font-heading);
  font-size: .9375rem;
  line-height: 1.4;
  color: var(--heading);
  transition: color .2s;
}

.side-news a:hover strong { color: var(--primary); }

.side-cats li + li { border-top: 1px solid var(--line); }

.side-cats a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .75rem 0;
  font-size: .9375rem;
  font-weight: 500;
  color: var(--heading);
  text-decoration: none;
  transition: color .2s;
}

.side-cats li:first-child a { padding-top: 0; }
.side-cats li:last-child a { padding-bottom: 0; }
.side-cats a:hover { color: var(--primary); }
.side-cats .bi { font-size: .75rem; color: var(--primary); }

/* Certificates */
.cert-card__media {
  padding: 1.5rem 1.5rem 0;
  background: var(--light);
}

.cert-card__media .media {
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--white);
}

.cert-card__media img { object-position: top; }

.cert-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.375rem 1.375rem 1.25rem;
  border-top: 1px solid var(--line);
}

.cert-card h3 { margin-bottom: .75rem; font-size: 1.0625rem; line-height: 1.4; }

.cert-card dl {
  margin: 0 0 1.25rem;
  font-size: .875rem;
}

.cert-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .375rem 0;
}

.cert-card dt { font-weight: 500; color: var(--text-muted); }
.cert-card dd { margin: 0; font-weight: 600; text-align: right; color: var(--heading); }
.cert-card .btn { margin-top: auto; }

/* 14. Forms, filters, contact
   ========================================================================== */
.form-panel {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.form-label {
  margin-bottom: .4375rem;
  font-size: .875rem;
  font-weight: 600;
  color: var(--heading);
}

.form-label .req { color: #B42318; }
.form-label .opt { font-weight: 400; color: var(--text-muted); }

.form-control,
.form-select {
  padding: .75rem 1rem;
  border-color: var(--control-border);
  border-radius: var(--radius);
  font-size: 1rem;
  color: var(--heading);
}

.form-control::placeholder { color: var(--text-muted); opacity: .85; }

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 .25rem rgba(var(--accent-rgb), .28);
}

textarea.form-control { min-height: 9rem; resize: vertical; }

.form-note {
  font-size: .8125rem;
  color: var(--text-muted);
}

/* File picker (UI only) */
.file-drop {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.125rem 1.25rem;
  border: 1px dashed var(--control-border);
  border-radius: var(--radius);
  background: var(--light);
  transition: border-color .2s, background-color .2s;
}

.file-drop:hover,
.file-drop:focus-within {
  border-color: var(--primary);
  background: var(--white);
}

.file-drop:focus-within { outline: 2px solid var(--primary); outline-offset: 3px; }

.file-drop input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-drop > .bi { flex: none; font-size: 1.5rem; color: var(--primary); }
.file-drop__text { min-width: 0; font-size: .9375rem; line-height: 1.5; }
.file-drop__text strong { display: block; color: var(--heading); overflow-wrap: anywhere; }
.file-drop__text span { font-size: .8125rem; color: var(--text-muted); }

/* Success message */
.form-success {
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--light);
  text-align: center;
}

.form-success > .bi {
  display: inline-grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 1.5rem;
  border-radius: 50%;
  background: var(--primary);
  color: var(--accent);
  font-size: 2rem;
}

.form-success h2 { margin-bottom: .75rem; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); }
.form-success p { max-width: 32rem; margin-inline: auto; }
.form-success .ref { font-weight: 600; color: var(--heading); }

.form-alert {
  display: flex;
  gap: .875rem;
  margin-bottom: 1.5rem;
  padding: 1rem 1.25rem;
  border: 1px solid rgba(var(--accent-rgb), .6);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  background: var(--light);
  color: var(--heading);
}

.form-alert .bi { flex: none; color: var(--primary); font-size: 1.25rem; line-height: 1.4; }
.form-alert strong { display: block; }

[hidden] { display: none !important; }

/* Info blocks (contact / enquiry aside) */
.info-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.info-list > li {
  display: flex;
  gap: 1.125rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.info-list > li:first-child { padding-top: 0; }
.info-list > li:last-child { border-bottom: 0; padding-bottom: 0; }

.info-list h3 {
  margin-bottom: .25rem;
  font-size: 1rem;
  letter-spacing: 0;
}

.info-list p,
.info-list address { margin: 0; font-size: .9375rem; line-height: 1.65; }
.info-list > li > div { min-width: 0; }
.info-list a { color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--primary); text-decoration: underline; }

.aside-panel {
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--radius);
}

.aside-panel + .aside-panel { margin-top: 1.5rem; }
.aside-panel--light { border: 1px solid var(--line); background: var(--light); }
.aside-panel h2 { margin-bottom: 1.25rem; font-size: 1.25rem; }
.aside-panel.on-dark a:not(.btn) { color: var(--white); text-decoration: none; }
.aside-panel.on-dark a:not(.btn):hover { color: var(--accent); }

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: s;
}

.steps li {
  position: relative;
  padding: 0 0 1.375rem 3rem;
  counter-increment: s;
  font-size: .9375rem;
  line-height: 1.6;
}

.steps li:last-child { padding-bottom: 0; }

.steps li::before {
  content: counter(s);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(var(--accent-rgb), .6);
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: .8125rem;
  font-weight: 700;
  color: var(--accent);
}

.steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 36px;
  bottom: 6px;
  width: 1px;
  background: var(--on-dark-line);
}

.steps strong { display: block; color: var(--white); }

.hours {
  margin: 0;
  font-size: .9375rem;
}

.hours div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 19rem;
}

.hours dt { font-weight: 400; }
.hours dd { margin: 0; font-weight: 500; color: var(--heading); }

.map-embed {
  position: relative;
  overflow: hidden;
  height: clamp(20rem, 42vw, 30rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--light);
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Catalogue filters */
.filter-bar {
  margin-bottom: 2rem;
  padding: clamp(1.125rem, 2.5vw, 1.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--light);
}

.search-field { position: relative; }

.search-field .bi {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-field .form-control { padding-left: 2.75rem; }

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.chip {
  padding: .5rem .9375rem;
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: .875rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
  transition: background-color .2s, border-color .2s, color .2s;
}

.chip:hover { border-color: var(--primary); color: var(--primary); }

.chip[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--white);
}

.filter-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .5rem 1.5rem;
  margin-bottom: 1.5rem;
  font-size: .9375rem;
  color: var(--text-muted);
}

.filter-status strong { color: var(--heading); }

.empty-state {
  padding: 3.5rem 1.5rem;
  border: 1px dashed var(--mint);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state .bi { display: block; margin-bottom: 1rem; font-size: 2rem; color: var(--mint); }
.empty-state h3 { margin-bottom: .5rem; font-size: 1.1875rem; }

/* In-page section switcher (News / Certifications) */
.subnav {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.subnav ul {
  display: flex;
  gap: 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.subnav a {
  display: block;
  padding: 1.125rem 0;
  border-bottom: 2px solid transparent;
  font-family: var(--font-heading);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  transition: color .2s, border-color .2s;
}

.subnav a:hover { border-color: var(--accent); color: var(--primary); }

/* 15. CTA, modal, utilities, motion
   ========================================================================== */
.cta {
  position: relative;
  overflow: hidden;
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: var(--primary);
  color: var(--on-dark);
}

.cta::before,
.cta::after {
  content: "";
  position: absolute;
  border: 1px solid var(--accent);
  border-radius: 50%;
  transform: rotate(-18deg);
  pointer-events: none;
}

.cta::before {
  width: 760px;
  height: 350px;
  right: -200px;
  top: -130px;
  opacity: .35;
}

.cta::after {
  width: 560px;
  height: 260px;
  right: -110px;
  top: -70px;
  opacity: .18;
}

.cta .container { position: relative; z-index: 1; }

.cta h2 {
  max-width: 38rem;
  margin-bottom: 1rem;
  font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem);
  color: var(--white);
}

.cta p { max-width: 36rem; font-size: 1.0625rem; }

@media (max-width: 575.98px) {
  .cta .btn { flex: 1 1 100%; }
}

/* Detail modal (built by main.js) */
.detail-modal .modal-content {
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.detail-modal .modal-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--line);
}

.detail-modal .modal-header .card-kicker { margin: 0; }
.detail-modal .modal-body { padding: 1.5rem; }
.detail-modal .modal-footer { padding: 1rem 1.5rem; border-top: 1px solid var(--line); }
.detail-modal h2 { margin-bottom: .875rem; font-size: clamp(1.375rem, 1.2rem + .8vw, 1.75rem); }
.detail-modal .media { border: 1px solid var(--line); }
.detail-modal--document .media { max-width: 26rem; margin-inline: auto; aspect-ratio: 3 / 4; }
.detail-modal--document .media img { object-fit: contain; }

.spec-list {
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--line);
  font-size: .9375rem;
}

.spec-list div {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .625rem 0;
  border-bottom: 1px solid var(--line);
}

.spec-list dt { flex: none; font-weight: 500; color: var(--text-muted); }
.spec-list dd { margin: 0; font-weight: 600; text-align: right; color: var(--heading); }

/* Back to top */
.to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1020;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: var(--radius);
  background: var(--primary);
  color: var(--white);
  font-size: 1.125rem;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .3s, transform .3s var(--ease), visibility .3s, background-color .2s;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover { background: var(--dark); color: var(--accent); }

/* Floating WhatsApp + call buttons (right edge). They sit in the corner and
   slide up to make room when the back-to-top button appears. */
.float-actions {
  --whatsapp: #25D366;
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 1020;
  display: flex;
  flex-direction: column;
  gap: .625rem;
  transition: transform .3s var(--ease);
}

.to-top.is-visible ~ .float-actions { transform: translateY(calc(-46px - .625rem)); }

.float-actions a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.25rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: transform .25s var(--ease), background-color .2s, color .2s;
}

.float-actions a:hover { transform: scale(1.08); }
.float-actions__whatsapp { background: var(--whatsapp); font-size: 1.4375rem !important; }
.float-actions__call { background: var(--primary); }
.float-actions__call:hover { background: var(--dark); color: var(--accent); }

/* Scroll reveal: only hides content once JS has confirmed it can show it again */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .7s var(--ease);
  transition-delay: var(--d, 0s);
}

.js [data-reveal="fade"] { transform: none; }

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .card-base:hover,
  .card-base:hover .media img { transform: none; }
}

@media print {
  .topbar, .site-header, .site-footer, .cta, .to-top, .float-actions { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
