/* ==========================================================================
   Swan Diagnostics Ltd — Main Stylesheet
   Medical • Laboratory • Imaging
   --------------------------------------------------------------------------
   1. Design tokens
   2. Base & typography
   3. Layout helpers
   4. Buttons, badges, links
   5. Header & navigation
   6. Hero sections
   7. Cards & grids (features, categories, products, solutions, services)
   8. Content sections (about, why-us, stats, partners, CTA, testimonials)
   9. Catalogue, product detail & quotation list
   10. Forms
   11. Footer
   12. Utilities, floating actions, animations
   (Breakpoints live in responsive.css)
   ========================================================================== */

/* 1. Design tokens ======================================================== */
:root {
  /* Brand palette */
  --c-deep: #123b65;        /* Deep Medical Blue */
  --c-blue: #1769aa;        /* Corporate Blue */
  --c-teal: #16a6a1;        /* Teal */
  --c-teal-dark: #0f7f7b;   /* Teal for text on white (AA) */
  --c-green: #43a535;       /* Logo green — small accents only */
  --c-navy: #142b40;        /* Dark Navy */
  --c-ink: #10243a;         /* Headings */
  --c-text: #3f5168;        /* Body copy */
  --c-muted: #5d6f84;       /* Secondary text (AA on white) */
  --c-grey: #718096;        /* Accent Grey — decorative */
  --c-line: #e2e8f0;
  --c-light: #f4f7fa;
  --c-white: #ffffff;

  --grad-brand: linear-gradient(135deg, #1769aa 0%, #16a6a1 100%);
  --grad-deep: linear-gradient(135deg, #0f2a47 0%, #123b65 55%, #135a85 100%);
  --grad-overlay: linear-gradient(100deg, rgba(10, 30, 52, 0.94) 0%, rgba(18, 59, 101, 0.82) 45%, rgba(22, 166, 161, 0.25) 100%);

  /* Type */
  --f-head: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fs-display: clamp(2.35rem, 1.4rem + 3.8vw, 4.1rem);
  --fs-h1: clamp(2rem, 1.35rem + 2.6vw, 3.25rem);
  --fs-h2: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem);
  --fs-h3: clamp(1.15rem, 1.05rem + 0.4vw, 1.35rem);
  --fs-lead: clamp(1.02rem, 0.98rem + 0.3vw, 1.18rem);

  /* Spacing & shape */
  --container: 1240px;
  --gutter: clamp(1rem, 0.6rem + 2vw, 2rem);
  --section-y: clamp(4.5rem, 3rem + 5vw, 7.5rem);
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;

  /* Elevation */
  --sh-xs: 0 1px 2px rgba(16, 36, 58, 0.06);
  --sh-sm: 0 4px 14px rgba(16, 36, 58, 0.07);
  --sh-md: 0 14px 34px rgba(16, 36, 58, 0.10);
  --sh-lg: 0 28px 60px rgba(16, 36, 58, 0.16);
  --sh-brand: 0 12px 28px rgba(23, 105, 170, 0.28);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

/* 2. Base & typography ==================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-blue); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--c-teal-dark); }
h1, h2, h3, h4, h5 { font-family: var(--f-head); color: var(--c-ink); line-height: 1.18; margin: 0 0 .6em; letter-spacing: -0.02em; font-weight: 750; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); letter-spacing: -0.01em; }
h4 { font-size: 1.05rem; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: rgba(22, 166, 161, .22); }
:focus-visible { outline: 3px solid rgba(22, 166, 161, .55); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.25em; height: 1.25em; flex-shrink: 0; }
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 2000;
  background: var(--c-deep); color: #fff; padding: .75rem 1.1rem; border-radius: var(--r-sm);
}
.skip-link:focus { top: 1rem; color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 3. Layout helpers ======================================================= */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: 900px; }
.section { padding-block: var(--section-y); position: relative; }
.section--light { background: var(--c-light); }
.section--tint { background: linear-gradient(180deg, #f4f7fa 0%, #fff 100%); }
.section--dark { background: var(--grad-deep); color: rgba(255, 255, 255, .82); }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--tight { padding-block: clamp(3rem, 2.5rem + 2vw, 4.5rem); }

.section-head { max-width: 720px; margin-bottom: clamp(2.5rem, 2rem + 2vw, 3.75rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-head); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--c-teal-dark); margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.section-head--center .eyebrow::after { content: ""; width: 28px; height: 2px; border-radius: 2px; background: var(--grad-brand); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: #7fe0db; }
.lead { font-size: var(--fs-lead); color: var(--c-muted); line-height: 1.75; }
.section--dark .lead { color: rgba(255, 255, 255, .78); }
.text-gradient { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .text-gradient, .page-hero .text-gradient { background: linear-gradient(90deg, #6fd6d1, #9fd7ff); -webkit-background-clip: text; background-clip: text; }

.grid { display: grid; gap: clamp(1.25rem, 1rem + 1vw, 2rem); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 2rem + 4vw, 5.5rem); align-items: center; }
.split--wide-left { grid-template-columns: 1.15fr .85fr; }

/* 4. Buttons, badges, links =============================================== */
.btn {
  --btn-bg: var(--c-blue);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 50px; padding: .8rem 1.55rem; border-radius: 999px; border: 1.5px solid transparent;
  font-family: var(--f-head); font-weight: 700; font-size: .95rem; letter-spacing: .005em; line-height: 1.2;
  cursor: pointer; white-space: nowrap; position: relative; overflow: hidden; isolation: isolate;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn .icon { width: 1.1em; height: 1.1em; transition: transform .3s var(--ease); }
.btn:hover .icon--move { transform: translateX(4px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }
.btn-primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, #123b65, #1769aa);
  opacity: 0; transition: opacity .35s var(--ease);
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 34px rgba(23, 105, 170, .34); }
.btn-primary:hover::after { opacity: 1; }
.btn-outline { border-color: rgba(18, 59, 101, .22); color: var(--c-deep); background: #fff; }
.btn-outline:hover { border-color: var(--c-teal); color: var(--c-teal-dark); transform: translateY(-2px); box-shadow: var(--sh-sm); }
.btn-light { background: #fff; color: var(--c-deep); box-shadow: var(--sh-md); }
.btn-light:hover { color: var(--c-blue); transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; background: rgba(255, 255, 255, .06); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .16); color: #fff; border-color: #fff; transform: translateY(-2px); }
.btn-whatsapp { background: #1fa855; color: #fff; }
.btn-whatsapp:hover { background: #178a45; color: #fff; transform: translateY(-2px); }
.btn-sm { min-height: 40px; padding: .55rem 1.1rem; font-size: .86rem; }
.btn-block { width: 100%; }
.btn-group { display: flex; flex-wrap: wrap; gap: .9rem; }

.link-arrow {
  display: inline-flex; align-items: center; gap: .45rem; font-family: var(--f-head); font-weight: 700; font-size: .92rem; color: var(--c-blue);
}
.link-arrow .icon { width: 1.05em; height: 1.05em; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.badge {
  display: inline-flex; align-items: center; gap: .35rem; padding: .3rem .75rem; border-radius: 999px;
  font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; font-family: var(--f-head);
  background: rgba(22, 166, 161, .1); color: var(--c-teal-dark);
}
.badge--blue { background: rgba(23, 105, 170, .1); color: var(--c-blue); }
.badge--glass { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); }

.check-list { list-style: none; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .75rem; align-items: flex-start; }
.check-list .icon { color: var(--c-teal); width: 1.3rem; height: 1.3rem; margin-top: .2rem; }
.check-list--2 { grid-template-columns: 1fr 1fr; gap: .8rem 1.5rem; }

.icon-box {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; flex-shrink: 0;
  background: linear-gradient(135deg, rgba(23, 105, 170, .1), rgba(22, 166, 161, .14)); color: var(--c-blue);
  transition: transform .4s var(--ease), background .4s, color .4s;
}
.icon-box .icon { width: 26px; height: 26px; }
.icon-box--solid { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand); }

/* 5. Header & navigation ================================================== */
.topbar { background: var(--c-navy); color: rgba(255, 255, 255, .78); font-size: .82rem; position: relative; z-index: 1001; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 40px; }
.topbar a { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: #7fe0db; }
.topbar .icon { width: 15px; height: 15px; color: #7fe0db; }
.topbar__list { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.topbar__tag { display: inline-flex; align-items: center; gap: .45rem; }

.site-header {
  position: fixed; inset: 40px 0 auto 0; z-index: 1000; height: var(--header-h);
  transition: background-color .4s var(--ease), box-shadow .4s var(--ease), inset .4s var(--ease), height .4s var(--ease), backdrop-filter .4s;
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-scrolled, .site-header.is-solid {
  inset: 0 0 auto 0; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.6) blur(14px);
  box-shadow: 0 1px 0 rgba(16, 36, 58, .06), 0 10px 30px rgba(16, 36, 58, .08);
}
.site-header.is-scrolled { --header-h: 74px; }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; position: relative; }
.brand img { height: 52px; width: auto; transition: opacity .35s var(--ease), height .35s var(--ease); }
.brand .brand__white { position: absolute; left: 0; top: 0; opacity: 1; }
.brand .brand__color { opacity: 0; }
.site-header.is-scrolled .brand__white, .site-header.is-solid .brand__white { opacity: 0; }
.site-header.is-scrolled .brand__color, .site-header.is-solid .brand__color { opacity: 1; }
.site-header.is-scrolled .brand img { height: 46px; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav__list { display: flex; align-items: center; gap: .15rem; list-style: none; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .65rem .85rem; border-radius: 10px;
  font-family: var(--f-head); font-weight: 600; font-size: .94rem; color: #fff; background: none; border: 0;
  white-space: nowrap; transition: color .25s, background-color .25s;
}
.nav__link .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__item:hover > .nav__link { color: #7fe0db; }
.nav__link[aria-current="page"] { color: #7fe0db; }
.site-header.is-scrolled .nav__link, .site-header.is-solid .nav__link { color: var(--c-ink); }
.site-header.is-scrolled .nav__link:hover, .site-header.is-solid .nav__link:hover,
.site-header.is-scrolled .nav__link[aria-current="page"], .site-header.is-solid .nav__link[aria-current="page"] { color: var(--c-blue); background: rgba(23, 105, 170, .06); }
.nav__item:hover > .nav__link .icon, .nav__item.is-open > .nav__link .icon { transform: rotate(180deg); }

.dropdown {
  position: absolute; top: calc(100% + 10px); left: 50%; min-width: 290px; padding: .6rem; list-style: none;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg); border: 1px solid var(--c-line);
  opacity: 0; visibility: hidden; transform: translate(-50%, 10px) scale(.98); transform-origin: top center;
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
}
.dropdown::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.dd-inner { list-style: none; margin: 0; padding: 0; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown, .nav__item.is-open > .dropdown {
  opacity: 1; visibility: visible; transform: translate(-50%, 0) scale(1);
}
.dropdown a {
  display: flex; align-items: center; gap: .8rem; padding: .7rem .8rem; border-radius: 12px; color: var(--c-ink);
  font-weight: 600; font-size: .92rem; transition: background-color .25s, color .25s, transform .25s var(--ease);
}
.dropdown a small { display: block; font-weight: 400; color: var(--c-muted); font-size: .8rem; line-height: 1.4; }
.dropdown a:hover { background: var(--c-light); color: var(--c-blue); transform: translateX(3px); }
.dropdown .dd-icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(22, 166, 161, .1); color: var(--c-teal-dark); flex-shrink: 0; }
.dropdown .dd-icon .icon { width: 19px; height: 19px; }

.header-actions { display: flex; align-items: center; gap: .6rem; }
.quote-list-btn {
  position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center;
  border: 1.5px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .06); color: #fff; transition: all .3s var(--ease);
}
.quote-list-btn:hover { background: rgba(255, 255, 255, .16); }
.site-header.is-scrolled .quote-list-btn, .site-header.is-solid .quote-list-btn { border-color: var(--c-line); background: #fff; color: var(--c-deep); }
.quote-list-btn .count {
  position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px;
  background: var(--c-green); color: #fff; font-size: .7rem; font-weight: 700; display: grid; place-items: center;
  transform: scale(0); transition: transform .35s var(--ease);
}
.quote-list-btn .count.has-items { transform: scale(1); }
.quote-list-btn.bump { animation: bump .5s var(--ease); }
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .06); color: #fff; place-items: center;
}
.site-header.is-scrolled .nav-toggle, .site-header.is-solid .nav-toggle { color: var(--c-deep); border-color: var(--c-line); background: #fff; }
.nav-toggle .icon { width: 24px; height: 24px; }
.mobile-only { display: none; }

/* 6. Hero sections ======================================================== */
.hero {
  position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; overflow: hidden;
  color: #fff; padding: calc(var(--header-h) + 3rem) 0 7rem; background: var(--c-navy); isolation: isolate;
}
.hero__media { position: absolute; inset: -6% 0 -6% 0; z-index: -2; will-change: transform; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s ease-out forwards; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-overlay); }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 160px; z-index: -1;
  background: linear-gradient(0deg, rgba(10, 30, 52, .55), transparent);
}
.hero__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: center; }
.hero__content { max-width: 760px; }
.hero h1 { font-size: var(--fs-display); color: #fff; letter-spacing: -0.03em; line-height: 1.06; margin-bottom: 1.4rem; }
.hero__text { font-size: var(--fs-lead); color: rgba(255, 255, 255, .84); max-width: 620px; margin-bottom: 2.2rem; }
.hero__tagline { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 1.6rem; margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, .14); }
.hero__trust li { display: flex; align-items: center; gap: .65rem; list-style: none; font-size: .92rem; color: rgba(255, 255, 255, .86); font-weight: 500; }
.hero__trust .icon { color: #7fe0db; width: 22px; height: 22px; }

/* Glass info cards floating on hero */
.hero__cards { position: relative; display: grid; gap: 1rem; justify-items: end; }
.glass-card {
  display: flex; align-items: center; gap: 1rem; padding: 1.05rem 1.25rem; border-radius: var(--r-md); width: min(100%, 330px);
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, .18); color: #fff;
}
.glass-card:nth-child(2) { margin-right: 2.5rem; }
.glass-card strong { display: block; font-family: var(--f-head); font-size: 1rem; }
.glass-card span { font-size: .84rem; color: rgba(255, 255, 255, .75); line-height: 1.4; display: block; }
.glass-card .icon-box { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #7fe0db; }
.glass-card .icon-box .icon { width: 23px; height: 23px; }

/* Decorative floating shapes */
.shape { position: absolute; pointer-events: none; z-index: -1; border-radius: 50%; }
.shape--ring { width: 420px; height: 420px; border: 1px solid rgba(127, 224, 219, .2); right: -120px; top: 14%; animation: floatY 12s ease-in-out infinite; }
.shape--ring2 { width: 240px; height: 240px; border: 1px dashed rgba(255, 255, 255, .16); right: 8%; bottom: 10%; animation: spin 60s linear infinite; }
.shape--blob { width: 380px; height: 380px; background: radial-gradient(circle, rgba(22, 166, 161, .35), transparent 70%); left: -120px; bottom: -120px; filter: blur(10px); animation: floatY 14s ease-in-out infinite reverse; }
.shape--dots {
  width: 160px; height: 110px; border-radius: 0; right: 42%; top: 22%; opacity: .35;
  background-image: radial-gradient(rgba(255, 255, 255, .7) 1.4px, transparent 1.6px); background-size: 16px 16px; animation: floatY 10s ease-in-out infinite;
}
.shape--plus { width: 22px; height: 22px; border-radius: 0; color: rgba(127, 224, 219, .5); animation: floatY 8s ease-in-out infinite; }
.shape--plus::before, .shape--plus::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.shape--plus::before { left: 9px; top: 0; width: 4px; height: 22px; }
.shape--plus::after { top: 9px; left: 0; width: 22px; height: 4px; }

.scroll-cue {
  position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, .45);
}
.scroll-cue::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: #fff; animation: scrollCue 1.8s ease-in-out infinite; }

/* Inner page hero */
.page-hero {
  position: relative; color: #fff; overflow: hidden; isolation: isolate; background: var(--c-navy);
  padding: calc(var(--header-h) + clamp(3.5rem, 2.5rem + 4vw, 6rem)) 0 clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.page-hero__media { position: absolute; inset: -8% 0; z-index: -2; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-overlay); }
.page-hero h1 { color: #fff; max-width: 820px; margin-bottom: 1rem; }
.page-hero p { color: rgba(255, 255, 255, .82); font-size: var(--fs-lead); max-width: 680px; margin: 0; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; font-size: .86rem; margin-bottom: 1.4rem; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: rgba(255, 255, 255, .85); }
.breadcrumb a:hover { color: #7fe0db; }
.breadcrumb li + li::before { content: "/"; margin-right: .5rem; opacity: .5; }

/* 7. Cards & grids ======================================================== */
/* Value / feature cards (overlapping hero) */
.value-strip { position: relative; z-index: 5; margin-top: -4.5rem; }
.value-card {
  background: #fff; border-radius: var(--r-lg); padding: 2rem 1.75rem; box-shadow: var(--sh-md); border: 1px solid rgba(226, 232, 240, .8);
  position: relative; overflow: hidden; transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.value-card::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--grad-brand);
  transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease);
}
.value-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.value-card:hover::after { transform: scaleX(1); }
.value-card:hover .icon-box { background: var(--grad-brand); color: #fff; transform: rotate(-6deg); }
.value-card h3 { margin: 1.3rem 0 .5rem; font-size: 1.12rem; }
.value-card p { margin: 0; font-size: .94rem; color: var(--c-muted); }
.value-card__num { position: absolute; right: 1.4rem; top: 1.1rem; font-family: var(--f-head); font-weight: 800; font-size: 2.6rem; color: rgba(23, 105, 170, .07); line-height: 1; }

/* Generic feature card */
.feature-card {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 2rem; height: 100%;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.feature-card:hover .icon-box { background: var(--grad-brand); color: #fff; }
.feature-card h3 { margin: 1.25rem 0 .55rem; }
.feature-card p { color: var(--c-muted); font-size: .96rem; margin-bottom: 0; }
.feature-card ul { margin-top: 1rem; }

/* Category cards */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.cat-card { grid-column: span 2; }
.cat-card--wide { grid-column: span 3; }
.cat-card {
  position: relative; border-radius: var(--r-lg); overflow: hidden; background: #fff; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; border: 1px solid var(--c-line); transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat-card:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); }
.cat-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--c-light); }
.cat-card--wide .cat-card__media { aspect-ratio: 16 / 8.2; }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-card:hover .cat-card__media img { transform: scale(1.08); }
.cat-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(16, 36, 58, .5)); }
.cat-card__icon {
  position: absolute; left: 1.5rem; bottom: -26px; z-index: 2; width: 56px; height: 56px; border-radius: 16px;
  display: grid; place-items: center; background: var(--grad-brand); color: #fff; box-shadow: var(--sh-brand);
  transition: transform .5s var(--ease);
}
.cat-card:hover .cat-card__icon { transform: translateY(-6px) rotate(-6deg); }
.cat-card__icon .icon { width: 26px; height: 26px; }
.cat-card__body { padding: 2.4rem 1.6rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.cat-card__body h3 { margin-bottom: .5rem; }
.cat-card__body p { font-size: .94rem; color: var(--c-muted); margin-bottom: 1rem; }
.cat-card__list { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.4rem; }
.cat-card__list li { font-size: .78rem; padding: .3rem .65rem; border-radius: 999px; background: var(--c-light); color: var(--c-text); font-weight: 500; }
.cat-card .link-arrow { margin-top: auto; }

/* Product cards */
.filter-bar { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.5rem; }
.section-head--center + .filter-bar, .filter-bar--center { justify-content: center; }
.filter-btn {
  padding: .6rem 1.15rem; border-radius: 999px; border: 1.5px solid var(--c-line); background: #fff; color: var(--c-text);
  font-family: var(--f-head); font-weight: 600; font-size: .88rem; transition: all .3s var(--ease);
}
.filter-btn:hover { border-color: var(--c-teal); color: var(--c-teal-dark); }
.filter-btn.is-active { background: var(--c-deep); border-color: var(--c-deep); color: #fff; box-shadow: 0 8px 18px rgba(18, 59, 101, .22); }
.filter-btn .count { opacity: .65; font-weight: 500; margin-left: .2rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.product-card {
  background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .4s var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); border-color: transparent; }
.product-card.is-hiding { opacity: 0; transform: scale(.96); }
.product-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--c-light); }
.product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.product-card:hover .product-card__media img { transform: scale(1.07); }
.product-card__media .badge { position: absolute; top: 1rem; left: 1rem; background: rgba(255, 255, 255, .94); color: var(--c-deep); box-shadow: var(--sh-xs); }
.product-card__quick {
  position: absolute; right: 1rem; top: 1rem; width: 42px; height: 42px; border-radius: 50%; border: 0; display: grid; place-items: center;
  background: #fff; color: var(--c-deep); box-shadow: var(--sh-sm); opacity: 0; transform: translateY(-8px); transition: all .35s var(--ease);
}
.product-card:hover .product-card__quick, .product-card__quick:focus-visible, .product-card__quick.is-added { opacity: 1; transform: none; }
.product-card__quick:hover { background: var(--c-teal); color: #fff; }
.product-card__quick.is-added { background: var(--c-green); color: #fff; }
.product-card__body { padding: 1.5rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-card__cat { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--c-teal-dark); margin-bottom: .45rem; font-family: var(--f-head); }
.product-card__body h3 { font-size: 1.15rem; margin-bottom: .55rem; }
.product-card__body h3 a { color: inherit; }
.product-card__body h3 a:hover { color: var(--c-blue); }
.product-card__body p { font-size: .92rem; color: var(--c-muted); margin-bottom: 1.1rem; }
.product-card__specs { list-style: none; display: grid; gap: .35rem; margin-bottom: 1.4rem; font-size: .85rem; }
.product-card__specs li { display: flex; gap: .5rem; align-items: flex-start; color: var(--c-text); }
.product-card__specs .icon { width: 16px; height: 16px; color: var(--c-teal); margin-top: .25rem; }
.product-card__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.product-card__actions .btn { min-height: 44px; padding: .6rem .9rem; font-size: .85rem; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 3.5rem 1rem; color: var(--c-muted); background: var(--c-light); border-radius: var(--r-lg); }
.empty-state .icon { width: 42px; height: 42px; margin: 0 auto 1rem; color: var(--c-grey); }

/* Solutions grid (image tiles) */
.solution-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 1rem + 1vw, 1.75rem); }
.solution-tile {
  position: relative; border-radius: var(--r-lg); overflow: hidden; min-height: 340px; display: flex; align-items: flex-end;
  color: #fff; isolation: isolate; box-shadow: var(--sh-sm);
}
.solution-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.1s var(--ease); }
.solution-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(16, 36, 58, .05) 20%, rgba(16, 36, 58, .9) 100%); transition: background .5s; }
.solution-tile:hover img { transform: scale(1.08); }
.solution-tile:hover::before { background: linear-gradient(180deg, rgba(18, 59, 101, .35) 0%, rgba(14, 40, 70, .95) 100%); }
.solution-tile__body { padding: 1.75rem; }
.solution-tile .icon-box { width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .15); color: #fff; backdrop-filter: blur(8px); margin-bottom: 1rem; }
.solution-tile h3 { color: #fff; margin-bottom: .4rem; }
.solution-tile p {
  color: rgba(255, 255, 255, .82); font-size: .93rem; margin: 0; max-height: 0; opacity: 0; overflow: hidden;
  transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s var(--ease);
}
.solution-tile:hover p, .solution-tile:focus-within p { max-height: 140px; opacity: 1; margin-top: .4rem; }
.solution-tile .link-arrow { color: #7fe0db; margin-top: .9rem; }

/* Services cards */
.service-card {
  position: relative; background: #fff; border-radius: var(--r-lg); padding: 2.1rem 1.9rem; border: 1px solid var(--c-line);
  overflow: hidden; height: 100%; transition: transform .45s var(--ease), box-shadow .45s var(--ease), color .45s; isolation: isolate;
}
.service-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-deep); opacity: 0; transition: opacity .45s var(--ease); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); color: rgba(255, 255, 255, .8); }
.service-card:hover::before { opacity: 1; }
.service-card:hover h3 { color: #fff; }
.service-card:hover p { color: rgba(255, 255, 255, .78); }
.service-card:hover .icon-box { background: rgba(255, 255, 255, .14); color: #7fe0db; }
.service-card:hover .link-arrow { color: #7fe0db; }
.service-card h3 { margin: 1.3rem 0 .55rem; transition: color .45s; }
.service-card p { font-size: .95rem; color: var(--c-muted); transition: color .45s; }
.service-card__num { position: absolute; top: 1.4rem; right: 1.6rem; font-family: var(--f-head); font-weight: 800; color: rgba(23, 105, 170, .12); font-size: 1.05rem; }
.service-card:hover .service-card__num { color: rgba(255, 255, 255, .3); }

/* 8. Content sections ===================================================== */
/* Media frame with floating badge */
.media-frame { position: relative; }
.media-frame__main { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 4 / 4.4; }
.media-frame__main img { width: 100%; height: 100%; object-fit: cover; }
.media-frame__sub {
  position: absolute; right: -2rem; bottom: -2.5rem; width: 48%; border-radius: var(--r-lg); overflow: hidden;
  border: 6px solid #fff; box-shadow: var(--sh-lg); aspect-ratio: 1;
}
.media-frame__sub img { width: 100%; height: 100%; object-fit: cover; }
.media-frame__badge {
  position: absolute; left: -1.75rem; top: 2.5rem; background: #fff; border-radius: var(--r-md); padding: 1.1rem 1.3rem;
  box-shadow: var(--sh-lg); display: flex; align-items: center; gap: .9rem; max-width: 260px; animation: floatY 7s ease-in-out infinite;
}
.media-frame__badge strong { display: block; font-family: var(--f-head); color: var(--c-ink); font-size: .98rem; line-height: 1.3; }
.media-frame__badge span { font-size: .8rem; color: var(--c-muted); line-height: 1.35; display: block; }
.media-frame__badge .icon-box { width: 46px; height: 46px; border-radius: 13px; }
.media-frame__deco {
  position: absolute; z-index: -1; width: 70%; height: 70%; left: -2rem; bottom: -2rem; border-radius: var(--r-xl);
  background-image: radial-gradient(rgba(22, 166, 161, .35) 1.5px, transparent 1.7px); background-size: 18px 18px;
}

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 2rem 0; }
.mv-card { padding: 1.4rem; border-radius: var(--r-md); background: var(--c-light); border-left: 3px solid var(--c-teal); }
.mv-card h4 { display: flex; align-items: center; gap: .5rem; margin-bottom: .45rem; }
.mv-card h4 .icon { color: var(--c-teal); }
.mv-card p { margin: 0; font-size: .92rem; color: var(--c-muted); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.stat { text-align: center; padding: 1.5rem 1rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: -.75rem; top: 20%; bottom: 20%; width: 1px; background: rgba(255, 255, 255, .14); }
.stat__value { font-family: var(--f-head); font-weight: 800; font-size: clamp(2.4rem, 1.8rem + 2vw, 3.4rem); color: #fff; line-height: 1; letter-spacing: -0.03em; }
.stat__value .suffix { color: #7fe0db; }
.stat__label { margin-top: .6rem; color: rgba(255, 255, 255, .72); font-size: .93rem; }
.section--light .stat__value { color: var(--c-deep); }
.section--light .stat__label { color: var(--c-muted); }

/* Why choose us — alternating rows */
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 2rem + 4vw, 5rem); align-items: center; }
.alt-row + .alt-row { margin-top: clamp(4rem, 3rem + 4vw, 6.5rem); }
.alt-row--reverse .alt-row__media { order: 2; }
.alt-row__media { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-lg); aspect-ratio: 5 / 4; }
.alt-row__media img { width: 100%; height: 100%; object-fit: cover; }
.alt-row__media .badge { position: absolute; left: 1.25rem; bottom: 1.25rem; }
.alt-row__points { display: grid; gap: 1.4rem; margin-top: 1.8rem; }
.point { display: flex; gap: 1.1rem; align-items: flex-start; }
.point h4 { margin-bottom: .25rem; }
.point p { margin: 0; font-size: .94rem; color: var(--c-muted); }
.point .icon-box { width: 48px; height: 48px; border-radius: 14px; }
.point .icon-box .icon { width: 22px; height: 22px; }

/* Partner logo marquee */
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 1.25rem; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.partner-logo {
  width: 210px; height: 96px; border-radius: var(--r-md); border: 1.5px dashed #cbd5e1; background: #fff; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; gap: .6rem; color: #94a3b8; font-family: var(--f-head); font-weight: 700; font-size: .92rem;
  transition: border-color .3s, color .3s;
}
.partner-logo:hover { border-color: var(--c-teal); color: var(--c-teal-dark); }
.partner-logo .icon { width: 26px; height: 26px; }
.partner-note { text-align: center; color: var(--c-muted); font-size: .86rem; margin-top: 1.75rem; max-width: 720px; margin-inline: auto; }

/* CTA banner */
.cta-banner {
  position: relative; border-radius: var(--r-xl); overflow: hidden; padding: clamp(3rem, 2rem + 5vw, 5.5rem) clamp(1.5rem, 1rem + 5vw, 5rem);
  color: #fff; isolation: isolate; background: var(--grad-deep);
}
.cta-banner__media { position: absolute; inset: 0; z-index: -2; }
.cta-banner__media img { width: 100%; height: 100%; object-fit: cover; opacity: .28; mix-blend-mode: luminosity; }
.cta-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, rgba(15, 42, 71, .96) 30%, rgba(22, 166, 161, .55)); }
.cta-banner::after { content: ""; position: absolute; width: 460px; height: 460px; right: -140px; top: -180px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 0 0 60px rgba(255, 255, 255, .03), 0 0 0 120px rgba(255, 255, 255, .02); }
.cta-banner__inner { display: grid; grid-template-columns: 1.4fr .9fr; gap: 2.5rem; align-items: center; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255, 255, 255, .82); font-size: var(--fs-lead); margin: 0; }
.cta-banner .btn-group { justify-content: flex-end; }
.cta-contact { display: grid; gap: .75rem; margin-top: 1.6rem; }
.cta-contact a { color: #fff; display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; }
.cta-contact a:hover { color: #7fe0db; }
.cta-contact .icon { color: #7fe0db; }

/* Testimonials */
.testimonial-wrap { position: relative; max-width: 900px; margin-inline: auto; }
.testimonial-viewport { overflow: hidden; border-radius: var(--r-xl); }
.testimonial-track { display: flex; transition: transform .8s var(--ease); }
.testimonial {
  flex: 0 0 100%; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem); background: #fff; border-radius: var(--r-xl); text-align: center;
  border: 1px solid var(--c-line);
}
.testimonial__quote { width: 52px; height: 52px; color: var(--c-teal); opacity: .9; margin: 0 auto 1.4rem; }
.testimonial blockquote { margin: 0 0 1.8rem; font-family: var(--f-head); font-size: clamp(1.08rem, 1rem + .5vw, 1.35rem); line-height: 1.6; color: var(--c-ink); font-weight: 500; }
.testimonial__author { display: inline-flex; align-items: center; gap: .9rem; text-align: left; }
.testimonial__avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; }
.testimonial__author strong { display: block; color: var(--c-ink); font-family: var(--f-head); }
.testimonial__author span { font-size: .87rem; color: var(--c-muted); }
.slider-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2rem; }
.slider-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--c-line); background: #fff; color: var(--c-deep);
  display: grid; place-items: center; transition: all .3s var(--ease);
}
.slider-btn:hover { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }
.slider-dots { display: flex; gap: .5rem; }
.slider-dot { width: 10px; height: 10px; border-radius: 999px; border: 0; padding: 0; background: #cbd5e1; transition: all .4s var(--ease); }
.slider-dot.is-active { width: 30px; background: var(--grad-brand); }
.placeholder-note { text-align: center; font-size: .8rem; color: var(--c-muted); margin-top: 1.25rem; font-style: italic; }

/* Article cards */
.article-card { background: #fff; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--c-line); display: flex; flex-direction: column; height: 100%; transition: transform .45s var(--ease), box-shadow .45s var(--ease); }
.article-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.article-card__media { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.article-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.article-card:hover .article-card__media img { transform: scale(1.07); }
.article-card__media .badge { position: absolute; left: 1rem; top: 1rem; background: rgba(255, 255, 255, .95); color: var(--c-deep); }
.article-card__body { padding: 1.6rem; display: flex; flex-direction: column; flex: 1; }
.article-card__meta { display: flex; align-items: center; gap: .5rem; font-size: .83rem; color: var(--c-muted); margin-bottom: .7rem; }
.article-card__meta .icon { width: 15px; height: 15px; color: var(--c-teal); }
.article-card h3 { font-size: 1.15rem; margin-bottom: .6rem; }
.article-card h3 a { color: inherit; }
.article-card h3 a:hover { color: var(--c-blue); }
.article-card p { font-size: .93rem; color: var(--c-muted); }
.article-card .link-arrow { margin-top: auto; }

/* Article (long-form) */
.article { background: #fff; border-radius: var(--r-xl); border: 1px solid var(--c-line); overflow: hidden; scroll-margin-top: calc(var(--header-h) + 24px); }
.article + .article { margin-top: 2rem; }
.article__media { aspect-ratio: 21 / 8; overflow: hidden; }
.article__media img { width: 100%; height: 100%; object-fit: cover; }
.article__body { padding: clamp(1.6rem, 1rem + 3vw, 3rem); }
.article__body h3 { font-size: 1.15rem; margin-top: 1.6rem; }
.article__body ul { padding-left: 1.2rem; margin-bottom: 1.1em; }
.article__body li { margin-bottom: .4rem; }
.article__more { display: none; }
.article.is-expanded .article__more { display: block; animation: fadeUp .6s var(--ease); }

/* Accordion */
.accordion { display: grid; gap: .9rem; }
.accordion__item { border: 1px solid var(--c-line); border-radius: var(--r-md); background: #fff; overflow: hidden; transition: box-shadow .35s, border-color .35s; }
.accordion__item.is-open { box-shadow: var(--sh-md); border-color: transparent; }
.accordion__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 1.5rem;
  background: none; border: 0; text-align: left; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; color: var(--c-ink);
}
.accordion__trigger:hover { color: var(--c-blue); }
.accordion__icon { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--c-light); color: var(--c-blue); flex-shrink: 0; transition: transform .4s var(--ease), background .3s, color .3s; }
.accordion__item.is-open .accordion__icon { transform: rotate(45deg); background: var(--grad-brand); color: #fff; }
.accordion__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.accordion__item.is-open .accordion__panel { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p { padding: 0 1.5rem 1.4rem; margin: 0; color: var(--c-muted); }

/* Resource download cards */
.resource-card { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.6rem; border-radius: var(--r-lg); border: 1px solid var(--c-line); background: #fff; height: 100%; transition: all .4s var(--ease); }
.resource-card:hover { box-shadow: var(--sh-md); transform: translateY(-4px); border-color: transparent; }
.resource-card h3 { font-size: 1.05rem; margin-bottom: .35rem; }
.resource-card p { font-size: .9rem; color: var(--c-muted); margin-bottom: .9rem; }
.resource-card .link-arrow { background: none; border: 0; padding: 0; }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; position: relative; }
.step { position: relative; padding-top: .5rem; }
.step__num {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-head); font-weight: 800;
  background: #fff; color: var(--c-blue); border: 2px solid rgba(23, 105, 170, .18); margin-bottom: 1.25rem; position: relative; z-index: 1;
}
.steps::before { content: ""; position: absolute; top: calc(.5rem + 27px); left: 27px; right: 27px; height: 2px; background: repeating-linear-gradient(90deg, rgba(23, 105, 170, .25) 0 8px, transparent 8px 16px); }
.step h4 { margin-bottom: .35rem; }
.step p { font-size: .92rem; color: var(--c-muted); margin: 0; }
.section--dark .step__num { background: var(--c-deep); color: #7fe0db; border-color: rgba(127, 224, 219, .35); }
.section--dark .step p { color: rgba(255, 255, 255, .72); }
.section--dark .steps::before { background: repeating-linear-gradient(90deg, rgba(127, 224, 219, .3) 0 8px, transparent 8px 16px); }

/* Notice / disclaimer */
.notice {
  display: flex; gap: 1rem; align-items: flex-start; padding: 1.25rem 1.5rem; border-radius: var(--r-md);
  background: rgba(23, 105, 170, .05); border: 1px solid rgba(23, 105, 170, .14); font-size: .88rem; color: var(--c-text);
}
.notice .icon { color: var(--c-blue); width: 22px; height: 22px; margin-top: .1rem; }
.notice p { margin: 0; }

/* Detail block (service/solution page sections) */
.detail-block { scroll-margin-top: calc(var(--header-h) + 24px); }
.detail-block + .detail-block { margin-top: clamp(4rem, 3rem + 4vw, 6rem); }
.chip-row { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.2rem; }
.chip { font-size: .82rem; padding: .4rem .8rem; border-radius: 999px; background: #fff; border: 1px solid var(--c-line); color: var(--c-text); font-weight: 500; }
.section--light .chip { background: #fff; }

.sub-nav { position: sticky; top: 74px; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--c-line); }
.sub-nav ul { display: flex; gap: .3rem; list-style: none; overflow-x: auto; scrollbar-width: none; padding-block: .7rem; }
.sub-nav ul::-webkit-scrollbar { display: none; }
.sub-nav a { display: block; white-space: nowrap; padding: .5rem 1rem; border-radius: 999px; font-family: var(--f-head); font-weight: 600; font-size: .88rem; color: var(--c-text); }
.sub-nav a:hover, .sub-nav a.is-active { background: var(--c-light); color: var(--c-blue); }

/* 9. Catalogue, product detail, quotation list ============================ */
.catalogue-layout { display: grid; grid-template-columns: 280px 1fr; gap: 2.5rem; align-items: start; }
.catalogue-sidebar { position: sticky; top: calc(74px + 1.5rem); display: grid; gap: 1.25rem; }
.side-panel { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 1.4rem; }
.side-panel h4 { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; color: var(--c-muted); margin-bottom: 1rem; }
.side-filter { list-style: none; display: grid; gap: .2rem; }
.side-filter button {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: .5rem; text-align: left;
  padding: .6rem .75rem; border-radius: 10px; border: 0; background: none; font-weight: 500; font-size: .92rem; color: var(--c-text); transition: all .25s;
}
.side-filter button:hover { background: var(--c-light); color: var(--c-blue); }
.side-filter button.is-active { background: rgba(23, 105, 170, .08); color: var(--c-blue); font-weight: 700; }
.side-filter .count { font-size: .76rem; padding: .1rem .5rem; border-radius: 999px; background: var(--c-light); color: var(--c-muted); }
.side-panel--cta { background: var(--grad-deep); color: rgba(255, 255, 255, .8); border: 0; }
.side-panel--cta h3 { color: #fff; font-size: 1.1rem; }
.side-panel--cta p { font-size: .9rem; }

.search-box { position: relative; }
.search-box .icon { position: absolute; left: 1.1rem; top: 50%; transform: translateY(-50%); color: var(--c-grey); width: 20px; height: 20px; pointer-events: none; }
.search-box input {
  width: 100%; height: 56px; padding: 0 1.2rem 0 3.1rem; border-radius: 999px; border: 2px solid #a9bacd; background: #fff;
  font-size: 1rem; transition: border-color .3s, box-shadow .3s;
}
.search-box input:focus { outline: 0; border-color: var(--c-teal); box-shadow: 0 0 0 4px rgba(22, 166, 161, .14); }
.catalogue-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.catalogue-toolbar .search-box { flex: 1; min-width: 240px; }
.result-count { font-size: .9rem; color: var(--c-muted); }
.result-count strong { color: var(--c-ink); }
.view-tabs { display: inline-flex; padding: .3rem; border-radius: 999px; background: var(--c-light); gap: .2rem; }
.view-tabs button { border: 0; background: none; padding: .55rem 1.1rem; border-radius: 999px; font-family: var(--f-head); font-weight: 700; font-size: .86rem; color: var(--c-text); }
.view-tabs button.is-active { background: #fff; color: var(--c-blue); box-shadow: var(--sh-sm); }
.catalogue-grid { grid-template-columns: repeat(2, 1fr); }

/* Supplies table */
.supply-table-wrap { border: 1px solid var(--c-line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.supply-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.supply-table th { background: var(--c-light); text-align: left; padding: .9rem 1.1rem; font-family: var(--f-head); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--c-muted); }
.supply-table td { padding: .95rem 1.1rem; border-top: 1px solid var(--c-line); vertical-align: top; }
.supply-table tr { transition: background .2s; }
.supply-table tbody tr:hover { background: #fafcfd; }
.supply-table .code { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .82rem; color: var(--c-blue); white-space: nowrap; font-weight: 600; }
.supply-table .name a { font-weight: 600; color: var(--c-ink); }
.supply-table .name a:hover { color: var(--c-blue); }
.supply-table .name small { display: block; color: var(--c-muted); font-size: .8rem; }
.supply-table .spec { color: var(--c-muted); }
.add-btn {
  display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .8rem; border-radius: 999px; border: 1.5px solid var(--c-line);
  background: #fff; font-size: .8rem; font-weight: 700; color: var(--c-deep); white-space: nowrap; transition: all .25s;
}
.add-btn .icon { width: 15px; height: 15px; }
.add-btn:hover { border-color: var(--c-teal); color: var(--c-teal-dark); }
.add-btn.is-added { background: var(--c-green); border-color: var(--c-green); color: #fff; }
.pagination { display: flex; justify-content: center; align-items: center; gap: .4rem; margin-top: 1.75rem; flex-wrap: wrap; }
.pagination button { min-width: 42px; height: 42px; padding: 0 .8rem; border-radius: 12px; border: 1.5px solid var(--c-line); background: #fff; font-weight: 600; color: var(--c-text); }
.pagination button:hover:not(:disabled) { border-color: var(--c-teal); color: var(--c-teal-dark); }
.pagination button.is-active { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }
.pagination button:disabled { opacity: .4; cursor: not-allowed; }

/* Product detail */
.pd { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 1.5rem + 3vw, 4.5rem); align-items: start; }
.pd > * { min-width: 0; }
.pd__gallery { position: sticky; top: calc(74px + 1.5rem); }
.pd__image { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 4 / 3.3; background: var(--c-light); box-shadow: var(--sh-md); }
.pd__image img { width: 100%; height: 100%; object-fit: cover; }
.pd__image--placeholder { display: grid; place-items: center; background: linear-gradient(135deg, #eef4f9, #e6f6f5); }
.pd__image--placeholder .icon { width: 90px; height: 90px; color: rgba(23, 105, 170, .35); }
.pd__info h1 { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem); margin: .8rem 0 1rem; }
.pd__meta { display: flex; flex-wrap: wrap; gap: .6rem; }
.pd__desc { font-size: 1.04rem; color: var(--c-muted); }
.spec-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0 2rem; font-size: .93rem; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-line); }
.spec-table th, .spec-table td { padding: .85rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; overflow-wrap: anywhere; }
.spec-table tr:last-child th, .spec-table tr:last-child td { border-bottom: 0; }
.spec-table th { width: 40%; background: var(--c-light); font-weight: 600; color: var(--c-ink); }
.pd__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2rem; }
.pd__features { margin-bottom: 2rem; }

/* Quotation list drawer */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(10, 25, 42, .5); backdrop-filter: blur(3px); z-index: 1490; opacity: 0; visibility: hidden; transition: all .4s var(--ease); }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: #fff; z-index: 1500; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .5s var(--ease); box-shadow: -20px 0 60px rgba(10, 25, 42, .2);
}
.drawer.is-open { transform: none; }
.drawer.is-open + .drawer-backdrop, .drawer-backdrop.is-open { opacity: 1; visibility: visible; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 1.4rem 1.5rem; border-bottom: 1px solid var(--c-line); }
.drawer__head h2 { font-size: 1.25rem; margin: 0; display: flex; align-items: center; gap: .55rem; }
.drawer__head h2 .icon { color: var(--c-teal); }
.quote-summary strong { display: flex; align-items: center; gap: .5rem; color: var(--c-ink); }
.drawer__close { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--c-line); background: #fff; display: grid; place-items: center; color: var(--c-deep); }
.drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.5rem; }
.drawer__foot { padding: 1.25rem 1.5rem; border-top: 1px solid var(--c-line); display: grid; gap: .7rem; }
.drawer__foot p { font-size: .82rem; color: var(--c-muted); margin: 0; }
.ql-item { display: grid; grid-template-columns: 1fr auto; gap: .5rem 1rem; padding: 1rem 0; border-bottom: 1px solid var(--c-line); align-items: center; }
.ql-item strong { font-size: .95rem; color: var(--c-ink); display: block; line-height: 1.35; }
.ql-item small { color: var(--c-muted); font-size: .8rem; }
.ql-qty { display: inline-flex; align-items: center; border: 1.5px solid var(--c-line); border-radius: 999px; }
.ql-qty button { width: 32px; height: 32px; border: 0; background: none; display: grid; place-items: center; color: var(--c-deep); }
.ql-qty button .icon { width: 15px; height: 15px; }
.ql-qty input { width: 42px; text-align: center; border: 0; font-weight: 700; font-size: .9rem; -moz-appearance: textfield; background: none; }
.ql-qty input::-webkit-outer-spin-button, .ql-qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.ql-remove { border: 0; background: none; color: #b42318; font-size: .8rem; font-weight: 600; padding: 0; justify-self: start; }
.ql-empty { text-align: center; padding: 3rem 1rem; color: var(--c-muted); }
.ql-empty .icon { width: 48px; height: 48px; margin: 0 auto 1rem; color: #cbd5e1; }
.quote-summary { border: 1px dashed rgba(23, 105, 170, .35); background: rgba(23, 105, 170, .04); border-radius: var(--r-md); padding: 1rem 1.2rem; font-size: .9rem; }
.quote-summary ul { list-style: none; display: grid; gap: .3rem; margin-top: .5rem; }
.quote-summary li { display: flex; justify-content: space-between; gap: 1rem; }

/* Toast */
.toast-stack { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 2000; display: grid; gap: .6rem; width: min(92vw, 420px); pointer-events: none; }
.toast {
  display: flex; align-items: center; gap: .8rem; padding: .9rem 1.1rem; border-radius: var(--r-md); background: var(--c-navy); color: #fff;
  box-shadow: var(--sh-lg); font-size: .92rem; pointer-events: auto; animation: toastIn .45s var(--ease);
}
.toast .icon { color: #7fe0db; }
.toast a { color: #7fe0db; font-weight: 700; margin-left: auto; white-space: nowrap; }
.toast.is-leaving { animation: toastOut .35s var(--ease) forwards; }

/* 10. Forms =============================================================== */
.form-card {
  position: relative; overflow: hidden; background: #fff; border-radius: var(--r-xl); padding: clamp(1.6rem, 1rem + 3vw, 3rem);
  box-shadow: var(--sh-lg); border: 2px solid rgba(23, 105, 170, .28);
}
.form-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-brand); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form-field { display: grid; gap: .45rem; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-family: var(--f-head); font-weight: 600; font-size: .88rem; color: var(--c-ink); }
.form-field label .req { color: #c2410c; }
.form-control {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: 12px; border: 2px solid #a9bacd; background: #fff;
  font-size: .96rem; color: var(--c-ink); box-shadow: inset 0 1px 2px rgba(16, 36, 58, .06);
  transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-control:hover { border-color: var(--c-blue); }
textarea.form-control { min-height: 140px; resize: vertical; }
select.form-control { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%235d6f84' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.8rem; }
.form-control::placeholder { color: #94a3b8; }
.form-control:focus { outline: 0; border-color: var(--c-teal); background: #fff; box-shadow: 0 0 0 4px rgba(22, 166, 161, .2); }
.form-control[readonly] { background: var(--c-light); border-style: dashed; }.form-field.has-error .form-control { border-color: #d92d20; background: #fff8f7; }
.form-field.is-valid .form-control { border-color: rgba(22, 166, 161, .6); }
.field-error { font-size: .8rem; color: #b42318; min-height: 0; display: none; }
.form-field.has-error .field-error { display: block; animation: fadeUp .3s var(--ease); }
.form-check { display: flex; gap: .7rem; align-items: flex-start; font-size: .88rem; color: var(--c-muted); }
.form-check input { width: 18px; height: 18px; margin-top: .25rem; accent-color: var(--c-teal); flex-shrink: 0; }
.form-foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.form-foot small { color: var(--c-muted); font-size: .82rem; }
.btn.is-loading { pointer-events: none; opacity: .85; }
.btn.is-loading::before { content: ""; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; animation: spin .8s linear infinite; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.is-visible { display: block; animation: fadeUp .6s var(--ease); }
.form-success__icon { width: 76px; height: 76px; margin: 0 auto 1.25rem; border-radius: 50%; display: grid; place-items: center; background: rgba(67, 165, 53, .12); color: var(--c-green); }
.form-success__icon .icon { width: 38px; height: 38px; }
.form-success h3 { margin-bottom: .5rem; }
.form-success p { color: var(--c-muted); max-width: 460px; margin-inline: auto; }
.form-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.75rem; }
.form-tabs button {
  padding: .55rem 1rem; border-radius: 999px; border: 1.5px solid var(--c-line); background: #fff; font-family: var(--f-head); font-weight: 600; font-size: .85rem; color: var(--c-text); transition: all .25s;
}
.form-tabs button.is-active { background: var(--c-deep); color: #fff; border-color: var(--c-deep); }

.contact-cards { display: grid; gap: 1rem; }
.contact-card { display: flex; gap: 1rem; align-items: flex-start; padding: 1.4rem; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--c-line); transition: all .35s var(--ease); }
.contact-card:hover { box-shadow: var(--sh-md); border-color: transparent; transform: translateY(-3px); }
.contact-card h3 { font-size: 1rem; margin-bottom: .3rem; }
.contact-card p, .contact-card a { margin: 0; font-size: .94rem; color: var(--c-muted); }
.contact-card a:hover { color: var(--c-blue); }
.map-frame { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-md); aspect-ratio: 21 / 8; background: var(--c-light); border: 1px solid var(--c-line); }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }

/* 11. Footer ============================================================== */
.site-footer { background: #0c1e31; color: rgba(255, 255, 255, .68); position: relative; overflow: hidden; font-size: .93rem; }
.site-footer::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -300px; border-radius: 50%; background: radial-gradient(circle, rgba(22, 166, 161, .14), transparent 70%); }
.newsletter { position: relative; border-bottom: 1px solid rgba(255, 255, 255, .08); padding-block: 3rem; }
.newsletter .container { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.newsletter h2 { color: #fff; font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: .3rem; }
.newsletter p { margin: 0; }
.newsletter-form { display: flex; gap: .6rem; flex: 1; max-width: 520px; min-width: 280px; position: relative; }
.newsletter-form input {
  flex: 1; height: 54px; border-radius: 999px; border: 2px solid rgba(255, 255, 255, .4); background: rgba(255, 255, 255, .08);
  padding: 0 1.3rem; color: #fff; min-width: 0;
}
.newsletter-form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter-form input:focus { outline: 0; border-color: var(--c-teal); }
.newsletter-form .field-error { position: absolute; left: 1.3rem; top: 100%; margin-top: .35rem; color: #fda29b; }
.newsletter-form.has-error .field-error { display: block; }
.newsletter-msg { color: #7fe0db; font-weight: 600; display: none; }
.newsletter-msg.is-visible { display: block; }
.footer-main { padding-block: 4rem 3rem; position: relative; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.15fr 1fr 1.35fr; gap: 2.5rem; }
.footer-brand img { height: 54px; width: auto; margin-bottom: 1.3rem; }
.footer-brand p { max-width: 330px; }
.footer-col h3 { color: #fff; font-size: 1rem; margin-bottom: 1.25rem; }
.footer-links { list-style: none; display: grid; gap: .65rem; }
.footer-links a { color: rgba(255, 255, 255, .68); display: inline-flex; align-items: center; gap: .4rem; transition: color .25s, transform .25s var(--ease); }
.footer-links a:hover { color: #7fe0db; transform: translateX(3px); }
.footer-contact { list-style: none; display: grid; gap: 1rem; }
.footer-contact li { display: flex; gap: .75rem; align-items: flex-start; }
.footer-contact .icon { color: #7fe0db; margin-top: .25rem; width: 18px; height: 18px; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: #7fe0db; }
.socials { display: flex; gap: .55rem; margin-top: 1.5rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .07); color: #fff; transition: all .3s var(--ease); }
.socials a:hover { background: var(--grad-brand); color: #fff; transform: translateY(-3px); }
.socials .icon { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 1.5rem; font-size: .85rem; position: relative; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-bottom ul { display: flex; gap: 1.5rem; list-style: none; }
.footer-bottom a { color: rgba(255, 255, 255, .68); }
.footer-bottom a:hover { color: #7fe0db; }
.footer-disclaimer { font-size: .8rem; color: rgba(255, 255, 255, .45); max-width: 900px; margin-top: .4rem; }

/* 12. Utilities, floating actions, animations ============================= */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.justify-center { justify-content: center; }

.fab-stack { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900; display: grid; gap: .7rem; justify-items: end; }
.fab {
  width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; border: 0; color: #fff; box-shadow: var(--sh-lg);
  transition: transform .35s var(--ease), opacity .35s var(--ease), visibility .35s;
}
.fab .icon { width: 26px; height: 26px; }
.fab:hover { transform: translateY(-4px); color: #fff; }
.fab--whatsapp { background: #1fa855; position: relative; }
.fab--whatsapp::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #1fa855; z-index: -1; animation: pulse 2.4s ease-out infinite; }
.fab--top { background: var(--c-deep); width: 46px; height: 46px; opacity: 0; visibility: hidden; transform: translateY(12px); }
.fab--top .icon { width: 20px; height: 20px; }
.fab--top.is-visible { opacity: 1; visibility: visible; transform: none; }

.progress-bar { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: var(--grad-brand); z-index: 1100; }

/* Scroll reveal (activated by animations.js adding .js-anim to <html>) */
.js-anim [data-reveal] { opacity: 0; transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); will-change: opacity, transform; }
.js-anim [data-reveal="up"] { transform: translateY(36px); }
.js-anim [data-reveal="down"] { transform: translateY(-30px); }
.js-anim [data-reveal="left"] { transform: translateX(-46px); }
.js-anim [data-reveal="right"] { transform: translateX(46px); }
.js-anim [data-reveal="zoom"] { transform: scale(.92); }
.js-anim [data-reveal].is-revealed { opacity: 1; transform: none; }
/* Image reveal: the clip sits on the <img> so the observed wrapper stays measurable */
.js-anim [data-reveal="image"] { opacity: 1; }
.js-anim [data-reveal="image"] img { clip-path: inset(0 100% 0 0); transform: scale(1.18); transition: clip-path 1.3s var(--ease), transform 1.6s var(--ease); transition-delay: var(--d, 0s); }
.js-anim [data-reveal="image"].is-revealed img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* Split headline animation */
.split-line { display: block; overflow: hidden; padding-bottom: .08em; }
.split-word { display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 1s var(--ease), opacity 1s var(--ease); transition-delay: calc(var(--i) * 70ms + 150ms); }
.is-split.is-revealed .split-word, .hero .is-split .split-word.in { transform: none; opacity: 1; }
.fade-seq > * { opacity: 0; transform: translateY(22px); animation: fadeUp 1s var(--ease) forwards; }
.fade-seq > *:nth-child(1) { animation-delay: .1s; } .fade-seq > *:nth-child(2) { animation-delay: .25s; }
.fade-seq > *:nth-child(3) { animation-delay: .9s; } .fade-seq > *:nth-child(4) { animation-delay: 1.1s; }
.fade-seq > *:nth-child(5) { animation-delay: 1.3s; } .fade-seq > *:nth-child(6) { animation-delay: 1.45s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes floatY { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes heroZoom { to { transform: scale(1); } }
@keyframes marquee { to { transform: translateX(calc(-50% - .625rem)); } }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes bump { 0%, 100% { transform: scale(1); } 40% { transform: scale(1.18); } }
@keyframes toastIn { from { opacity: 0; transform: translateY(20px) scale(.96); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(14px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js-anim [data-reveal] { opacity: 1; transform: none; clip-path: none; }
  .split-word { transform: none; opacity: 1; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
}

/* Dynamically rendered cards (catalogue, filters) */
.anim-in { animation: fadeUp .6s var(--ease) both; animation-delay: var(--d, 0s); }

/* Featured partner (laboratory partner: Stadesco) */
.partner-feature {
  display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(1.5rem, 1rem + 3vw, 3.5rem); align-items: center;
  background: #fff; border: 2px solid rgba(23, 105, 170, .18); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 3vw, 3rem);
  box-shadow: var(--sh-md); position: relative; overflow: hidden;
}
.partner-feature::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-brand); }
.partner-mark {
  border-radius: var(--r-lg); padding: 2.2rem 1.5rem; text-align: center; color: #fff; background: var(--grad-deep);
  position: relative; overflow: hidden; isolation: isolate;
}
.partner-mark::after {
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
  background-image: radial-gradient(rgba(127, 224, 219, .6) 1.3px, transparent 1.5px); background-size: 16px 16px;
}
.partner-mark .icon-box { width: 72px; height: 72px; border-radius: 22px; margin: 0 auto 1.1rem; background: rgba(255, 255, 255, .14); color: #7fe0db; }
.partner-mark .icon-box .icon { width: 36px; height: 36px; }
.partner-mark__name { font-family: var(--f-head); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.3rem); letter-spacing: .08em; line-height: 1.1; }
.partner-mark__sub { font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-top: .4rem; }
.partner-mark__motto { display: inline-block; margin-top: 1.2rem; padding: .35rem .9rem; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .3); font-size: .82rem; font-style: italic; color: #7fe0db; }
.partner-feature h3 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); margin-bottom: .6rem; }
.partner-facts { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; margin: 1.1rem 0 1.4rem; font-size: .9rem; color: var(--c-muted); }
.partner-facts span { display: inline-flex; align-items: center; gap: .4rem; }
.partner-facts .icon { color: var(--c-teal); width: 18px; height: 18px; }
@media (max-width: 960px) { .partner-feature { grid-template-columns: 1fr; } }
