@charset "utf-8";
/* ==========================================================================
   AG PHARMA — Design System  v2.0
   Dark hero + light body, brand red (#ec1c25 from AG_LOGO.svg) as a
   red→coral gradient, paired with a clinical aqua. Sora for display,
   Inter for text. Vanilla CSS, no framework.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --bg:      #ffffff;
  --bg-2:    #f6f9fd;
  --bg-3:    #eef3fa;
  --dark:    #081120;
  --dark-2:  #0f1b30;

  --ink:     #0b1220;
  --body:    #55627a;
  --muted:   #8b96aa;
  --line:    #e7edf6;
  --line-2:  #d8e2ef;

  --red:     #e3161f;
  --red-2:   #ff5a36;
  --red-dk:  #b50f16;
  --aqua:    #0396d7;
  --aqua-2:  #38c0f5;
  --amber:   #ff9f1c;
  --indigo:  #4361ee;
  --teal:    #06b6a4;
  --violet:  #7c5cff;
  --rose:    #f43f6e;

  --grad:      linear-gradient(100deg, #d9121b 0%, #f03a28 55%, #ff7a3d 100%);
  --grad-deep: linear-gradient(100deg, #a30c12 0%, #cc2418 55%, #e0582a 100%);
  --grad-cool: linear-gradient(100deg, #0396d7 0%, #38c0f5 100%);

  /* per-card accent, rotated across grids */
  --ac:      var(--red);
  --ac-2:    var(--red-2);
  --ac-soft: rgba(227,22,31,.08);

  --font:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --display: "Sora", "Inter", system-ui, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, Consolas, monospace;

  --cut:   18px 5px 18px 5px;     /* signature asymmetric corner */
  --cut-s: 12px 4px 12px 4px;
  --r:     16px;

  --sh-sm: 0 4px 14px -6px rgba(13,26,51,.12), 0 1px 3px rgba(13,26,51,.05);
  --sh:    0 18px 44px -22px rgba(13,26,51,.26), 0 2px 8px rgba(13,26,51,.05);
  --sh-lg: 0 40px 90px -38px rgba(13,26,51,.4), 0 4px 16px rgba(13,26,51,.06);

  --ease:     cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --sp:       clamp(70px, 8vw, 118px);
  --maxw:     1220px;
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.72;
  letter-spacing: -.005em;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; display: block; }
img { height: auto; }
[hidden] { display: none !important; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.14; letter-spacing: -.028em; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; }
strong, b { color: var(--ink); font-weight: 600; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(227,22,31,.16); color: var(--ink); }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--maxw), calc(100% - 44px)); margin-inline: auto; }
/* Desktop renders at 90% — the design reads better slightly denser than 1:1. */
@media (min-width: 1100px) { html { zoom: .9; } }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; transition: top .2s; }
.skip-link:focus { top: 12px; }
.mt-40 { margin-top: 40px; }
.mt-56 { margin-top: 56px; }
.text-brand { color: var(--red); font-weight: 600; }
.text-brand:hover { text-decoration: underline; }
.grad-txt, .h2 em, .display em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- 3. Keyframes ---------- */
@keyframes ping   { 0% { box-shadow: 0 0 0 0 rgba(227,22,31,.55); } 70% { box-shadow: 0 0 0 11px rgba(227,22,31,0); } 100% { box-shadow: 0 0 0 0 rgba(227,22,31,0); } }
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes bob    { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes drift  { 0% { transform: translate3d(0,0,0) scale(1); } 50% { transform: translate3d(5vw,-4vh,0) scale(1.14); } 100% { transform: translate3d(-4vw,5vh,0) scale(.92); } }
@keyframes caret  { 0%,49% { opacity: 1; } 50%,100% { opacity: 0; } }
@keyframes mq     { to { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes dash   { to { background-position: 40px 0; } }
@keyframes shine  { from { transform: translateX(-120%) skewX(-18deg); } to { transform: translateX(260%) skewX(-18deg); } }
@keyframes glow   { 0%,100% { opacity: .55; } 50% { opacity: 1; } }

/* ---------- 4. Reveal on scroll ----------
   Kept early so card :hover transforms declared later win once revealed.
   JS adds .is-in when visible and .is-done after the entrance finishes,
   which drops the stagger delay so hovers feel immediate. */
.reveal { opacity: 0; transform: translateY(40px); filter: blur(6px); }
.reveal:not(.is-done) {
  transition: opacity .95s var(--ease-out), transform .95s var(--ease-out), filter .95s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.reveal[data-d="1"]:not(.is-done) { transition-delay: .12s; }
.reveal[data-d="2"]:not(.is-done) { transition-delay: .24s; }
.reveal[data-d="3"]:not(.is-done) { transition-delay: .36s; }
.reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ---------- 5. Type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 15px 7px 12px; border: 1px solid var(--line-2); border-radius: 999px;
  background: #fff; box-shadow: var(--sh-sm);
  font-family: var(--display); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink);
}
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: ping 2.2s var(--ease) infinite; flex-shrink: 0; }
.eyebrow--light { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.86); box-shadow: none; }

.display { font-size: clamp(2.3rem, 4.5vw, 3.85rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; color: #fff; }
.h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -.032em; margin-top: 18px; }
.h3 { font-size: clamp(1.3rem, 2vw, 1.6rem); }
.lead { font-size: clamp(1.02rem, 1.3vw, 1.13rem); line-height: 1.72; color: var(--body); }

.section { position: relative; padding-block: var(--sp); }
.section--tight { padding-block: clamp(52px, 6vw, 84px); }
.section--wash { background: var(--bg-2); }
.section--wash::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(227,22,31,.035), transparent 72%),
    radial-gradient(900px 420px at 90% 100%, rgba(3,150,215,.045), transparent 72%);
}
.section--wash > * { position: relative; }

.section-head { max-width: 740px; margin-bottom: clamp(40px, 4.6vw, 62px); }
.section-head .lead { margin: 18px 0 0; }
.section-head--center { margin-inline: auto; text-align: center; }
.head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 4.6vw, 62px); }
.head-row .section-head { margin-bottom: 0; }

/* ---------- 6. Buttons ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  padding: 15px 26px; border: 0; border-radius: var(--cut);
  background: var(--grad); color: #fff;
  font-family: var(--display); font-size: .9rem; font-weight: 600; letter-spacing: -.005em; line-height: 1.2;
  white-space: nowrap; cursor: pointer;
  box-shadow: 0 3px 8px -2px rgba(227,22,31,.4), 0 16px 30px -12px rgba(227,22,31,.5);
  transition: transform .42s var(--ease-out), box-shadow .45s var(--ease), color .35s var(--ease);
}
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad-deep); transform: translateX(-101%); transition: transform .55s var(--ease-out); }
.btn::after  { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; background: linear-gradient(90deg, transparent, rgba(255,255,255,.35), transparent); transform: translateX(-120%) skewX(-18deg); }
.btn:hover { transform: translateY(-2px); color: #fff; box-shadow: 0 5px 12px -2px rgba(163,12,18,.45), 0 24px 44px -14px rgba(163,12,18,.55); }
.btn:hover::before { transform: none; }
.btn:hover::after { animation: shine .9s var(--ease) .1s; }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .45s var(--ease-out); }
.btn:hover svg { transform: translateX(5px); }
.btn:disabled { opacity: .7; cursor: progress; transform: none; }

.btn--sm { padding: 11px 19px; font-size: .82rem; }
.btn--block { width: 100%; }

.btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn--outline::before { background: var(--ink); }
.btn--outline:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--ink), 0 18px 34px -16px rgba(11,18,32,.5); }

.btn--ghost-light { background: rgba(255,255,255,.04); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.btn--ghost-light::before { background: #fff; }
.btn--ghost-light:hover { color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }

.link-arrow {
  position: relative; display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--display); font-weight: 600; font-size: .92rem; color: var(--ink);
  padding-bottom: 4px; transition: color .3s var(--ease);
}
.link-arrow::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(.3); transform-origin: left; transition: transform .45s var(--ease-out); }
.link-arrow svg { width: 17px; height: 17px; color: var(--red); transition: transform .4s var(--ease-out); }
.link-arrow:hover { color: var(--red); }
.link-arrow:hover::after { transform: scaleX(1); }
.link-arrow:hover svg { transform: translateX(5px); }

/* ---------- 7. Top bar ---------- */
.topbar { background: #050b16; color: rgba(255,255,255,.62); font-size: .8rem; border-bottom: 1px solid rgba(255,255,255,.06); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__list { display: flex; gap: 26px; }
.topbar__list a { display: inline-flex; align-items: center; gap: 8px; transition: color .25s; }
.topbar__list a:hover { color: #fff; }
.topbar__list svg { width: 14px; height: 14px; color: var(--red-2); }
.topbar__tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--mono); font-size: .72rem; letter-spacing: .04em; }
.topbar__dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: ping 2.2s infinite; }

/* ---------- 8. Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--dark);
  -webkit-backdrop-filter: saturate(160%) blur(16px); backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .45s var(--ease), border-color .45s var(--ease), box-shadow .45s var(--ease);
}
.site-header.is-stuck { background: rgba(255,255,255,.9); border-bottom-color: var(--line); box-shadow: 0 10px 30px -18px rgba(13,26,51,.3); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; }

.brand { display: inline-flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand__logo { width: 62px; height: auto; transition: transform .6s var(--ease-out); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.04); }
.brand__logo--light { display: none; }
.is-stuck .brand__logo--dark { display: none; }
.is-stuck .brand__logo--light { display: block; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--display); font-weight: 800; font-size: 1.12rem; letter-spacing: .02em; color: #fff; transition: color .4s; }
.brand__tag { font-size: .7rem; letter-spacing: .06em; color: rgba(255,255,255,.55); margin-top: 3px; transition: color .4s; }
.is-stuck .brand__name { color: var(--ink); }
.is-stuck .brand__tag { color: var(--muted); }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) {
  position: relative; display: block; padding: 10px 14px 12px;
  font-size: .9rem; font-weight: 500; color: rgba(255,255,255,.74);
  transition: color .3s var(--ease);
}
.nav a:not(.btn)::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out); }
.nav a:not(.btn):hover { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--red-2) !important; }
.is-stuck .nav a:not(.btn) { color: var(--body); }
.is-stuck .nav a:not(.btn):hover { color: var(--ink); }
.is-stuck .nav a.is-active { color: var(--red) !important; }
.nav .btn { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px 4px 12px 4px; border: 1px solid rgba(255,255,255,.2); background: rgba(255,255,255,.06); cursor: pointer; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 50%; width: 20px; height: 2px; margin-left: -10px; border-radius: 2px; background: #fff; transition: transform .35s var(--ease), opacity .2s, background .3s; }
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before, .nav-toggle span::after { content: ""; left: 0; margin-left: 0; }
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after { top: 6px; width: 13px; }
.is-stuck .nav-toggle { border-color: var(--line-2); background: #fff; }
.is-stuck .nav-toggle span, .is-stuck .nav-toggle span::before, .is-stuck .nav-toggle span::after { background: var(--ink); }
.nav-open .nav-toggle span { background: transparent !important; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); width: 20px; }
.nav-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(5,11,22,.55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.nav-open .nav-scrim { opacity: 1; visibility: visible; }

@media (max-width: 1040px) {
  .nav-toggle { display: block; z-index: 70; }
  .nav {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 65;
    width: min(340px, 86vw); padding: 100px 26px 30px;
    flex-direction: column; align-items: stretch; gap: 2px;
    background: #fff; box-shadow: -30px 0 60px -20px rgba(5,11,22,.4);
    transform: translateX(105%); transition: transform .5s var(--ease-out);
    overflow-y: auto;
  }
  .nav-open .nav { transform: none; }
  .nav a:not(.btn) { color: var(--ink) !important; font-family: var(--display); font-size: 1.05rem; font-weight: 600; padding: 14px 6px; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav a.is-active { color: var(--red) !important; }
  .nav .btn { display: inline-flex; margin-top: 22px; }
  .nav-open .nav-toggle { border-color: var(--line-2); background: #fff; }
  .nav-open .nav-toggle span::before, .nav-open .nav-toggle span::after { background: var(--ink); }
}
@media (max-width: 560px) {
  .header-actions .btn { display: none; }
  .topbar__tag { display: none; }
  .topbar__list { gap: 16px; }
  .topbar__list li:nth-child(2) { display: none; }
}

/* ---------- 9. Home hero ---------- */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--dark); color: rgba(255,255,255,.72);
  padding: clamp(56px, 7vw, 96px) 0 clamp(130px, 12vw, 176px);
}
.hero__blobs { position: absolute; inset: -20%; z-index: -2; pointer-events: none; }
.hero__blobs::before, .hero__blobs::after { content: ""; position: absolute; border-radius: 50%; filter: blur(80px); animation: drift 22s var(--ease) infinite alternate; }
.hero__blobs::before { width: 46vw; height: 46vw; left: 8%; top: 4%; background: radial-gradient(circle, rgba(227,22,31,.28), transparent 65%); }
.hero__blobs::after  { width: 42vw; height: 42vw; right: 6%; bottom: 0; background: radial-gradient(circle, rgba(3,150,215,.26), transparent 65%); animation-duration: 28s; animation-direction: alternate-reverse; }
.hero__gridbg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 30%, transparent 80%); }
.hero__spot { position: absolute; left: 0; top: 0; width: 560px; height: 560px; border-radius: 50%; z-index: -1; pointer-events: none; background: radial-gradient(circle, rgba(56,192,245,.16), transparent 62%); transform: translate(-50%,-50%); opacity: 0; transition: opacity .6s; }
.hero:hover .hero__spot { opacity: 1; }

.hero__wrap { display: grid; grid-template-columns: 1.06fr .94fr; gap: 56px; align-items: center; }
.hero__copy > * { animation: fadeUp 1s var(--ease-out) both; }
.hero__copy > *:nth-child(2) { animation-delay: .12s; }
.hero__copy > *:nth-child(3) { animation-delay: .24s; }
.hero__copy > *:nth-child(4) { animation-delay: .36s; }
.hero__copy > *:nth-child(5) { animation-delay: .48s; }
.hero__copy > *:nth-child(6) { animation-delay: .6s; }

/* rotating eyebrow */
.rot { display: inline-grid; margin-bottom: 24px; }
.rot > span { grid-area: 1/1; }
.rot__item { opacity: 0; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .3s var(--ease); }
.rot__item.is-on { opacity: 1; transform: none; transition: opacity .45s var(--ease) .3s, transform .55s var(--ease-out) .3s; }
.rot__item:first-child { opacity: 1; transform: none; }
.rot.is-live .rot__item:first-child:not(.is-on) { opacity: 0; transform: translateY(-10px); }

/* typewriter headline — hidden sources reserve the tallest height, so nothing jumps */
.type-h1 { display: grid; margin-bottom: 24px; }
.type-h1 > span { grid-area: 1/1; }
.type-src { visibility: hidden; }
.type-live { display: none; }
.type-h1.is-live .type-live { display: block; }
.type-h1.is-live .type-src:first-of-type { visibility: hidden; }
.type-h1:not(.is-live) .type-src:first-of-type { visibility: visible; }
.type-out { background: linear-gradient(100deg, #fff 0%, #fff 40%, #ffb4a0 70%, #ff7a3d 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.caret { display: inline-block; width: .08em; height: .86em; margin-left: .08em; vertical-align: -.06em; background: var(--red-2); border-radius: 2px; animation: caret 1s steps(1) infinite; }

.hero__sub { font-size: clamp(1.02rem, 1.3vw, 1.12rem); max-width: 56ch; color: rgba(255,255,255,.7); margin-bottom: 0; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__std { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
.hero__std span { display: inline-flex; align-items: center; gap: 8px; font-size: .84rem; color: rgba(255,255,255,.72); }
.hero__std svg { width: 16px; height: 16px; color: var(--aqua-2); }

.hero__meta { display: flex; gap: clamp(22px, 4vw, 46px); margin-top: 30px; }
.hero__stat strong { display: block; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; line-height: 1; letter-spacing: -.03em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__stat span { display: block; margin-top: 8px; font-size: .8rem; color: rgba(255,255,255,.58); }

/* hero visual */
.hero__vis { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin-inline: auto; perspective: 1400px; animation: fadeUp 1.2s var(--ease-out) .3s both; }
.orbit { position: absolute; top: 50%; left: 50%; border: 1px dashed rgba(255,255,255,.16); border-radius: 50%; pointer-events: none; transform: translate(-50%,-50%); }
.orbit__ring { position: absolute; inset: 0; border-radius: 50%; animation: spin 38s linear infinite; }
.orbit__ring::before { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--red-2); box-shadow: 0 0 0 6px rgba(255,90,54,.16), 0 0 22px rgba(255,90,54,.8); }
.orbit--1 { width: 84%; aspect-ratio: 1; }
.orbit--2 { width: 104%; aspect-ratio: 1; }
.orbit--2 .orbit__ring { animation-duration: 58s; animation-direction: reverse; }
.orbit--2 .orbit__ring::before { background: var(--aqua-2); box-shadow: 0 0 0 6px rgba(56,192,245,.16), 0 0 22px rgba(56,192,245,.8); }
.orbit--3 { width: 60%; aspect-ratio: 1; border-style: solid; border-color: rgba(255,255,255,.06); background: radial-gradient(circle, rgba(227,22,31,.14), transparent 70%); }

.layer { position: absolute; transition: transform .8s var(--ease-out); will-change: transform; }
.pack { border-radius: var(--cut); overflow: hidden; background: #fff; border: 1px solid rgba(255,255,255,.18); box-shadow: 0 40px 70px -30px rgba(0,0,0,.7), 0 0 0 6px rgba(255,255,255,.04); animation: bob 7s var(--ease) infinite; }
.pack img { width: 100%; aspect-ratio: 1400/940; object-fit: cover; }
.layer--a { left: 18%; top: 26%; width: 64%; z-index: 3; }
.layer--a .pack { transform-origin: center; rotate: -3deg; }
.layer--b { left: 2%; top: 8%; width: 42%; z-index: 2; }
.layer--b .pack { rotate: -10deg; animation-delay: -2.5s; animation-duration: 8s; filter: saturate(.9); }
.layer--c { right: 0; bottom: 8%; width: 42%; z-index: 4; }
.layer--c .pack { rotate: 8deg; animation-delay: -4.5s; animation-duration: 9s; }

.float { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 14px 4px 14px 4px; background: rgba(255,255,255,.96); box-shadow: 0 24px 50px -20px rgba(0,0,0,.6); white-space: nowrap; animation: bob 6s var(--ease) infinite; }
.float i { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 11px; background: var(--grad); color: #fff; flex-shrink: 0; }
.float i svg { width: 18px; height: 18px; }
.float strong { display: block; font-family: var(--display); font-size: .85rem; color: var(--ink); line-height: 1.2; }
.float small { display: block; font-size: .7rem; color: var(--muted); line-height: 1.3; }
.layer--f1 { right: -2%; top: 10%; z-index: 5; }
.layer--f2 { left: -4%; bottom: 18%; z-index: 5; }
.layer--f2 .float { animation-delay: -3s; }
.layer--f2 .float i { background: var(--grad-cool); }
.layer--f3 { left: 30%; bottom: -2%; z-index: 5; }
.layer--f3 .float { animation-delay: -1.5s; animation-duration: 7s; }
.layer--f3 .float i { background: linear-gradient(100deg, #06b6a4, #2fd3c2); }

@media (max-width: 1040px) {
  .hero__wrap { grid-template-columns: 1fr; gap: 64px; }
  .hero__vis { max-width: 520px; }
}
@media (max-width: 560px) {
  .hero__meta { gap: 18px; }
  .hero__stat span { font-size: .72rem; }
  .float { padding: 9px 12px 9px 9px; gap: 9px; }
  .float i { width: 30px; height: 30px; }
  .float strong { font-size: .75rem; }
  .float small { display: none; }
  .layer--f2 { left: 0; }
  .layer--f1 { right: 0; }
}

/* ---------- 10. Trust strip (overlaps hero) ---------- */
.trust { position: relative; z-index: 5; margin-top: -86px; }
.trust__inner { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 26px 8px 26px 8px; box-shadow: var(--sh-lg); border: 1px solid var(--line); overflow: hidden; }
.trust__item { position: relative; display: flex; align-items: center; gap: 16px; padding: 28px 26px; border-right: 1px solid var(--line); transition: background .4s var(--ease); }
.trust__item:last-child { border-right: 0; }
.trust__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--ac), var(--ac-2)); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--ease-out); }
.trust__item:hover { background: var(--bg-2); }
.trust__item:hover::after { transform: scaleX(1); }
.trust__icon { width: 52px; height: 52px; flex-shrink: 0; display: grid; place-items: center; border-radius: 16px 4px 16px 4px; background: var(--ac-soft); color: var(--ac); transition: transform .5s var(--ease-out), background .4s, color .4s; }
.trust__icon svg { width: 24px; height: 24px; }
.trust__item:hover .trust__icon { background: linear-gradient(140deg, var(--ac), var(--ac-2)); color: #fff; transform: rotate(-8deg) scale(1.05); }
.trust__item > span:last-child { display: flex; flex-direction: column; line-height: 1.35; }
.trust__item strong { font-family: var(--display); font-size: 1rem; }
.trust__item > span:last-child > span { font-size: .84rem; color: var(--body); }
@media (max-width: 1040px) { .trust__inner { grid-template-columns: repeat(2, 1fr); } .trust__item:nth-child(2) { border-right: 0; } .trust__item:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
@media (max-width: 560px) { .trust__inner { grid-template-columns: 1fr; } .trust__item { border-right: 0; border-bottom: 1px solid var(--line); padding: 22px; } .trust__item:last-child { border-bottom: 0; } }

/* ---------- 11. Accent rotation ---------- */
.trust__inner > :nth-child(7n+2), .cats > :nth-child(7n+2), .pipe-grid > :nth-child(7n+2), .steps > :nth-child(7n+2), .stats > :nth-child(7n+2), .dl-grid > :nth-child(7n+2) { --ac: #0396d7; --ac-2: #38c0f5; --ac-soft: rgba(3,150,215,.09); }
.trust__inner > :nth-child(7n+3), .cats > :nth-child(7n+3), .pipe-grid > :nth-child(7n+3), .steps > :nth-child(7n+3), .stats > :nth-child(7n+3), .dl-grid > :nth-child(7n+3) { --ac: #06b6a4; --ac-2: #2fd3c2; --ac-soft: rgba(6,182,164,.1); }
.trust__inner > :nth-child(7n+4), .cats > :nth-child(7n+4), .pipe-grid > :nth-child(7n+4), .steps > :nth-child(7n+4), .stats > :nth-child(7n+4) { --ac: #7c5cff; --ac-2: #a18bff; --ac-soft: rgba(124,92,255,.09); }
.cats > :nth-child(7n+5), .pipe-grid > :nth-child(7n+5) { --ac: #ff9f1c; --ac-2: #ffbf5c; --ac-soft: rgba(255,159,28,.11); }
.cats > :nth-child(7n+6), .pipe-grid > :nth-child(7n+6) { --ac: #4361ee; --ac-2: #7087ff; --ac-soft: rgba(67,97,238,.09); }
.cats > :nth-child(7n+7), .pipe-grid > :nth-child(7n+7) { --ac: #f43f6e; --ac-2: #ff7597; --ac-soft: rgba(244,63,110,.09); }

/* ---------- 12. Split / frame ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.split--reverse .split__media { order: -1; }
.split__body > p { margin-top: 0; }
.split__body .h2 { margin-bottom: 22px; }
.split__quote { position: relative; padding: 4px 0 4px 20px; font-family: var(--display); font-size: 1.2rem; font-weight: 600; line-height: 1.45; color: var(--ink); }
.split__quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: var(--grad); }
.split__media { position: relative; }
.split__media::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; right: -9%; top: -9%; border: 1px dashed var(--line-2); border-radius: 50%; animation: spin 60s linear infinite; z-index: 0; }
.split__media::after { content: ""; position: absolute; width: 46%; height: 46%; left: -4%; bottom: -5%; z-index: 0; border-radius: var(--cut); background-image: radial-gradient(rgba(227,22,31,.3) 1.5px, transparent 1.6px); background-size: 16px 16px; }

.frame { position: relative; z-index: 1; border-radius: 30px 8px 30px 8px; overflow: hidden; box-shadow: var(--sh-lg); }
.frame img { width: 100%; aspect-ratio: 5/4; object-fit: cover; transition: transform 1.4s var(--ease-out); }
.frame--tall img { aspect-ratio: 4/5; }
.frame:hover img { transform: scale(1.06); }
.frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(8,17,32,.35)); pointer-events: none; }
.frame-badge {
  position: absolute; z-index: 2; left: -22px; bottom: 34px;
  display: flex; flex-direction: column; padding: 20px 24px; max-width: 220px;
  border-radius: 18px 5px 18px 5px; background: var(--grad); color: #fff;
  box-shadow: 0 24px 44px -18px rgba(227,22,31,.6);
  animation: bob 6s var(--ease) infinite;
}
.frame-badge strong { font-family: var(--display); font-size: 2.2rem; font-weight: 800; line-height: 1; color: #fff; }
.frame-badge span { font-size: .82rem; line-height: 1.35; margin-top: 6px; color: rgba(255,255,255,.9); }

.keypoints { display: grid; gap: 14px; margin: 26px 0 34px; }
.keypoints li { display: flex; align-items: flex-start; gap: 13px; color: var(--body); }
.keypoints svg { width: 26px; height: 26px; flex-shrink: 0; padding: 5px; border-radius: 50%; background: rgba(227,22,31,.09); color: var(--red); margin-top: 1px; }

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .frame-badge { left: 14px; }
}

/* ---------- 13. Marquee ---------- */
.marquee { position: relative; overflow: hidden; padding: 26px 0; background: var(--dark); border-block: 1px solid rgba(255,255,255,.06); }
.marquee--tilt { background: var(--grad); }
.marquee__track { display: flex; width: max-content; animation: mq 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track > ul { display: flex; align-items: center; flex-shrink: 0; }
.marquee__track li { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--display); font-weight: 800; font-size: clamp(1.4rem, 3vw, 2.3rem); letter-spacing: -.02em; color: #fff; white-space: nowrap; }
.marquee__track li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.2px rgba(255,255,255,.75); }
.marquee__track li::after { content: "✦"; font-size: .6em; color: rgba(255,255,255,.7); -webkit-text-stroke: 0; }

/* ---------- 14. Cards: segments ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: cat; }
.cat, .pipe, .dl, .step, .stat, .info-card, .form-card, .prod {
  --mx: 50%; --my: 50%;
}
.cat {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; padding: 32px 28px 30px;
  background: #fff linear-gradient(90deg, var(--ac), var(--ac-2)) no-repeat left bottom / 0 3px;
  border: 1px solid var(--line); border-radius: var(--cut);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .4s, background-size .6s var(--ease-out);
}
.cat::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(380px circle at var(--mx) var(--my), var(--ac-soft), transparent 62%); }
.cat::after { counter-increment: cat; content: "0" counter(cat); position: absolute; top: 20px; right: 24px; font-family: var(--display); font-size: 2.7rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: -webkit-text-stroke-color .5s; }
.cat:hover { transform: translateY(-8px); box-shadow: var(--sh); border-color: var(--line-2); background-size: 100% 3px; }
.cat:hover::before { opacity: 1; }
.cat:hover::after { -webkit-text-stroke-color: var(--ac); }
.cat__icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 24px; border-radius: 18px 5px 18px 5px; background: var(--ac-soft); color: var(--ac); transition: transform .55s var(--ease-out), background .4s, color .4s, box-shadow .4s; }
.cat__icon svg { width: 27px; height: 27px; }
.cat:hover .cat__icon { background: linear-gradient(140deg, var(--ac), var(--ac-2)); color: #fff; transform: rotate(-8deg); box-shadow: 0 14px 26px -12px var(--ac); }
.cat h3 { font-size: 1.12rem; margin-bottom: 10px; }
.cat p { font-size: .92rem; margin: 0; }
@media (max-width: 1040px) { .cats { grid-template-columns: repeat(2, 1fr) !important; } }
@media (max-width: 560px)  { .cats { grid-template-columns: 1fr !important; } }

/* ---------- 15. Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.prod {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--cut);
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease), border-color .4s;
}
.prod:hover { transform: translateY(-8px); box-shadow: var(--sh-lg); border-color: rgba(227,22,31,.25); }
.prod__media { position: relative; display: block; overflow: hidden; background: var(--bg-3); cursor: zoom-in; }
.prod__media img { width: 100%; aspect-ratio: 1400/940; object-fit: cover; transition: transform 1.1s var(--ease-out); }
.prod:hover .prod__media img { transform: scale(1.08); }
.prod__media::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 45%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.5), transparent); transform: translateX(-120%) skewX(-18deg); pointer-events: none; }
.prod:hover .prod__media::after { animation: shine 1s var(--ease); }
.prod__tag { position: absolute; left: 12px; top: 12px; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-family: var(--display); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--red); box-shadow: var(--sh-sm); }
.prod__tag--soon { background: linear-gradient(100deg, #ff9f1c, #ffbf5c); color: #3d2300; }
.prod__zoom { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--grad); color: #fff; transform: scale(.4); opacity: 0; transition: transform .45s var(--ease-out), opacity .3s; }
.prod__zoom svg { width: 18px; height: 18px; }
.prod:hover .prod__zoom { transform: none; opacity: 1; }
.prod__body { display: flex; flex-direction: column; flex: 1; padding: 22px 22px 22px; }
.prod__name { font-size: 1.08rem; font-weight: 700; letter-spacing: -.01em; margin-bottom: 12px; transition: color .3s; }
.prod:hover .prod__name { color: var(--red); }
.prod__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.prod__comp { margin: 4px 0 0; font-size: .87rem; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prod__comp.is-open { -webkit-line-clamp: unset; display: block; }
.prod__more { align-self: flex-start; margin-top: 8px; padding: 0; border: 0; background: none; cursor: pointer; font-size: .8rem; font-weight: 600; color: var(--red); }
.prod__more:hover { text-decoration: underline; }
.prod__foot { margin-top: auto; padding-top: 16px; }
.prod__foot .link-arrow { font-size: .85rem; }
.prod__body > .prod__comp:last-child, .prod__body > .prod__more:last-child { margin-bottom: 0; }
@media (max-width: 1100px) { .prod-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px)  { .prod-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (max-width: 480px)  { .prod-grid { grid-template-columns: 1fr; } }

.prod__new { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 6px; background: var(--grad); color: #fff; font-family: var(--display); font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(227,22,31,.7); }
.prod__new::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #fff; vertical-align: 1px; animation: glow 1.4s ease-in-out infinite; }
.prod__use { margin: -4px 0 14px; font-size: .86rem; line-height: 1.5; color: var(--ink); opacity: .78; }
[data-filter-grid] { grid-template-columns: repeat(3, 1fr); gap: 28px; }
[data-filter-grid] .prod__name { font-size: 1.2rem; }
@media (max-width: 1000px) { [data-filter-grid] { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { [data-filter-grid] { grid-template-columns: 1fr; } }

/* ---------- 15b. Medicine motifs ----------
   Capsules, tablets, a blister strip, syringe, vial and syrup bottle float in fixed
   zones around the hero content. The layer lives inside .container, so positions
   follow the content, not the screen width. --z is parallax depth. */
.meds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.med { position: absolute; left: var(--x); top: var(--y); width: var(--w); translate: -50% -50%; transform: translate3d(calc(var(--px, 0) * var(--z) * 1px), calc(var(--py, 0) * var(--z) * 1px), 0); transition: transform 1s var(--ease-out); }
.med__i { display: block; rotate: var(--r, 0deg); animation: medBob var(--t, 6s) ease-in-out var(--d, 0s) infinite alternate; filter: drop-shadow(0 12px 16px rgba(0,0,0,.5)); }
.med__i svg { width: 100%; height: auto; overflow: visible; }
.med--spin .med__i { animation: medBob var(--t, 6s) ease-in-out var(--d, 0s) infinite alternate, medSpin 24s linear infinite; }
.med--far .med__i { opacity: .45; filter: blur(1.2px); }
@keyframes medBob  { from { transform: translateY(-10px) rotate(-5deg); } to { transform: translateY(10px) rotate(5deg); } }
@keyframes medSpin { to { rotate: calc(var(--r, 0deg) + 360deg); } }
.hero .container, .page-hero .container, .err .container { position: relative; }
@media (max-width: 1320px) { .med--edge { display: none; } }
@media (max-width: 1040px) { .med--gap { display: none; } .med { width: calc(var(--w) * .8); } }
@media (max-width: 640px)  { .med__i { opacity: .55; } }

/* ---------- 16. Process steps ---------- */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 36px; height: 2px; background: linear-gradient(90deg, var(--line-2) 50%, transparent 50%) 0 0 / 14px 2px repeat-x; animation: dash 1.6s linear infinite; }
.step { position: relative; padding: 0 6px; text-align: center; }
.step__num { position: relative; z-index: 1; display: grid; place-items: center; width: 72px; height: 72px; margin: 0 auto 24px; border-radius: 50%; background: #fff; border: 1px solid var(--line-2); box-shadow: var(--sh-sm); font-family: var(--display); font-size: 1.3rem; font-weight: 800; color: var(--ac); transition: transform .5s var(--ease-out), background .4s, color .4s, box-shadow .4s; }
.step__num::before { counter-increment: step; content: "0" counter(step); }
.step__num::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border: 1px dashed var(--ac); opacity: .45; animation: spin 16s linear infinite; }
.step:hover .step__num { background: linear-gradient(140deg, var(--ac), var(--ac-2)); color: #fff; transform: translateY(-6px) scale(1.05); box-shadow: 0 18px 30px -14px var(--ac); }
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr) !important; row-gap: 44px; } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr !important; } }

/* ---------- 17. CTA band ---------- */
.cta-band { position: relative; overflow: hidden; isolation: isolate; padding: clamp(64px, 7vw, 96px) 0; background: var(--dark); color: rgba(255,255,255,.72); }
.cta-band::before { content: ""; position: absolute; inset: -40%; z-index: -1; background: conic-gradient(from 0deg at 50% 50%, rgba(227,22,31,.35), rgba(3,150,215,.25), rgba(255,122,61,.3), rgba(227,22,31,.35)); filter: blur(90px); animation: spin 26s linear infinite; opacity: .75; }
.cta-band::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.2px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); mask-image: linear-gradient(90deg, transparent, #000 40%, #000 60%, transparent); }
.cta-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px 48px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.7rem); letter-spacing: -.03em; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 58ch; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- 18. Activity tiles ---------- */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { position: relative; display: block; overflow: hidden; border-radius: var(--cut); cursor: zoom-in; box-shadow: var(--sh-sm); }
.tile img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .6s; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 35%, rgba(8,17,32,.88)); transition: opacity .5s; }
.tile:hover img { transform: scale(1.08) rotate(1deg); }
.tile__cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; transform: translateY(8px); transition: transform .5s var(--ease-out); }
.tile__cap > span { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: var(--grad); font-family: var(--display); font-size: .66rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #fff; }
.tile__cap h3 { color: #fff; font-size: 1.1rem; }
.tile:hover .tile__cap { transform: none; }
@media (max-width: 1040px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .tiles { grid-template-columns: 1fr; } .tile img { aspect-ratio: 4/3; } }

/* ---------- 19. Downloads ---------- */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dl { position: relative; display: flex; align-items: center; gap: 16px; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: var(--cut); transition: transform .45s var(--ease-out), box-shadow .45s, border-color .4s; }
.dl:hover { transform: translateY(-5px); box-shadow: var(--sh); border-color: var(--line-2); }
.dl__icon { width: 50px; height: 50px; flex-shrink: 0; display: grid; place-items: center; border-radius: 15px 4px 15px 4px; background: var(--ac-soft); color: var(--ac); }
.dl__icon svg { width: 23px; height: 23px; }
.dl__body { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.dl__body strong { font-family: var(--display); font-size: .98rem; }
.dl__body span { font-size: .82rem; color: var(--muted); margin-top: 3px; }
.dl__arrow { width: 40px; height: 40px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-2); color: var(--ink); transition: background .4s, color .4s, border-color .4s, transform .45s var(--ease-out); }
.dl__arrow svg { width: 18px; height: 18px; }
.dl:hover .dl__arrow { background: var(--grad); color: #fff; border-color: transparent; transform: rotate(-12deg); }
.dl.is-disabled { opacity: .55; pointer-events: none; }
@media (max-width: 900px) { .dl-grid { grid-template-columns: 1fr; } }

/* ---------- 20. Inner page hero ---------- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: rgba(255,255,255,.72); padding: clamp(78px, 9vw, 130px) 0 clamp(70px, 8vw, 112px); }
.page-hero > img { position: absolute; inset: -12% 0 0 0; width: 100%; height: 112%; object-fit: cover; z-index: -3; opacity: .28; filter: grayscale(.35); transform: translateY(var(--par, 0)); }
.page-hero__scrim { position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(8,17,32,.96) 20%, rgba(8,17,32,.6) 65%, rgba(8,17,32,.35)), radial-gradient(700px 400px at 12% 110%, rgba(227,22,31,.35), transparent 70%), radial-gradient(600px 400px at 90% 0%, rgba(3,150,215,.28), transparent 70%); }
.page-hero::before, .page-hero::after { content: ""; position: absolute; top: 50%; right: -8%; z-index: -1; aspect-ratio: 1; border-radius: 50%; border: 1px dashed rgba(255,255,255,.14); transform: translateY(-50%); }
.page-hero::before { top: 0; right: 0; bottom: 0; left: 0; width: auto; aspect-ratio: auto; border: 0; border-radius: 0; transform: none; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(ellipse 80% 75% at 50% 40%, #000 30%, transparent 80%); }
.page-hero::after { width: 760px; right: -18%; border-style: solid; border-color: rgba(255,255,255,.06); }
.page-hero__inner { max-width: 760px; }
.page-hero__inner > * { animation: fadeUp 1s var(--ease-out) both; }
.page-hero__inner > :nth-child(2) { animation-delay: .12s; }
.page-hero__inner > :nth-child(3) { animation-delay: .24s; }
.page-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.9rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.06; margin: 22px 0 20px; }
.page-hero p { font-size: clamp(1.02rem, 1.3vw, 1.14rem); max-width: 60ch; margin: 0; }
.crumbs { display: inline-flex; align-items: center; gap: 10px; padding: 7px 15px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-family: var(--mono); font-size: .76rem; color: var(--red-2); }
.crumbs a { color: rgba(255,255,255,.72); transition: color .25s; }
.crumbs a:hover { color: #fff; }
.crumbs span { color: rgba(255,255,255,.35); }

/* ---------- 21. Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stat { position: relative; overflow: hidden; padding: 30px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--cut); transition: transform .5s var(--ease-out), box-shadow .5s; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--ac-soft); transition: transform .6s var(--ease-out); }
.stat:hover { transform: translateY(-6px); box-shadow: var(--sh); }
.stat:hover::after { transform: scale(1.5); }
.stat strong { display: block; font-family: var(--display); font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 800; line-height: 1; letter-spacing: -.04em; background: linear-gradient(100deg, var(--ac), var(--ac-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat span { display: block; margin-top: 12px; font-size: .9rem; }
@media (max-width: 900px) { .stats { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .stats { grid-template-columns: 1fr; } }

/* ---------- 22. Accordion ---------- */
.acc { display: grid; gap: 14px; }
.acc__item { background: #fff; border: 1px solid var(--line); border-radius: var(--cut-s); transition: border-color .4s, box-shadow .4s; }
.acc__item.is-open { border-color: rgba(227,22,31,.3); box-shadow: var(--sh); }
.acc__btn { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; border: 0; background: none; cursor: pointer; text-align: left; font-family: var(--display); font-size: 1rem; font-weight: 600; color: var(--ink); }
.acc__sign { position: relative; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--bg-3); transition: background .4s, transform .5s var(--ease-out); }
.acc__sign::before, .acc__sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--ink); transition: transform .4s var(--ease-out), background .3s; }
.acc__sign::after { transform: rotate(90deg); }
.acc__item.is-open .acc__sign { background: var(--grad); transform: rotate(180deg); }
.acc__item.is-open .acc__sign::before, .acc__item.is-open .acc__sign::after { background: #fff; }
.acc__item.is-open .acc__sign::after { transform: rotate(0); }
.acc__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease-out); }
.acc__item.is-open .acc__panel { grid-template-rows: 1fr; }
.acc__panel > div { overflow: hidden; }
.acc__panel p { padding: 0 24px 22px; margin: 0; font-size: .95rem; }

/* ---------- 23. Products toolbar ---------- */
.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; overflow: hidden; isolation: isolate; padding: 9px 17px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; cursor: pointer; font-family: var(--display); font-size: .82rem; font-weight: 600; color: var(--body); transition: color .35s, border-color .35s, transform .3s; }
.chip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--grad); transform: scale(0); border-radius: inherit; transition: transform .45s var(--ease-out); }
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip.is-active { color: #fff; border-color: transparent; }
.chip.is-active::before { transform: none; }
.search { position: relative; flex: 0 1 300px; }
.search svg { position: absolute; left: 16px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; padding: 12px 18px 12px 46px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; transition: border-color .3s, box-shadow .3s; }
.search input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,22,31,.1); }
.empty-state { grid-column: 1 / -1; padding: 48px 20px; text-align: center; border: 1px dashed var(--line-2); border-radius: var(--cut); color: var(--muted); }
.disclaimer { padding: 18px 22px; border-radius: var(--cut-s); background: rgba(255,159,28,.09); border-left: 3px solid var(--amber); font-size: .88rem; color: #6b4a14; }
.disclaimer strong { color: #5a3b00; }

/* ---------- 24. Pipeline cards ---------- */
.pipe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pipe { position: relative; overflow: hidden; isolation: isolate; padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--cut); transition: transform .5s var(--ease-out), box-shadow .5s, border-color .4s; }
.pipe::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .5s; background: radial-gradient(360px circle at var(--mx) var(--my), var(--ac-soft), transparent 62%); }
.pipe::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(180deg, var(--ac), var(--ac-2)); transform: scaleY(0); transform-origin: top; transition: transform .55s var(--ease-out); }
.pipe:hover { transform: translateY(-6px); box-shadow: var(--sh); border-color: var(--line-2); }
.pipe:hover::before { opacity: 1; }
.pipe:hover::after { transform: none; }
.pipe__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.pipe__tag { padding: 5px 11px; border-radius: 999px; background: var(--ac-soft); color: var(--ac); font-family: var(--display); font-size: .68rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.pipe__no { font-family: var(--display); font-size: 1.9rem; font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 1px var(--line-2); transition: -webkit-text-stroke-color .4s; }
.pipe:hover .pipe__no { -webkit-text-stroke-color: var(--ac); }
.pipe h3 { font-size: 1.02rem; margin-bottom: 12px; }
.pipe__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pipe p { margin: 4px 0 0; font-size: .88rem; line-height: 1.6; }
@media (max-width: 1000px) { .pipe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .pipe-grid { grid-template-columns: 1fr; } }

.notice-pill { display: inline-flex; align-items: center; gap: 10px; padding: 11px 17px; border-radius: var(--cut-s); background: rgba(3,150,215,.08); border: 1px solid rgba(3,150,215,.2); font-size: .88rem; color: #045f88; }
.notice-pill svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---------- 25. Contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 32px; align-items: start; }
.info-card { position: relative; overflow: hidden; isolation: isolate; padding: 40px 34px; border-radius: 28px 8px 28px 8px; background: var(--dark); color: rgba(255,255,255,.7); }
.info-card::before { content: ""; position: absolute; width: 320px; height: 320px; right: -110px; top: -110px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(227,22,31,.45), transparent 68%); animation: glow 5s ease-in-out infinite; }
.info-card::after { content: ""; position: absolute; width: 280px; height: 280px; left: -100px; bottom: -120px; z-index: -1; border-radius: 50%; background: radial-gradient(circle, rgba(3,150,215,.38), transparent 68%); }
.info-card h2 { color: #fff; font-size: 1.6rem; margin-bottom: 10px; }
.info-card > p { margin-bottom: 28px; }
.info-list { display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list__icon { width: 46px; height: 46px; flex-shrink: 0; display: grid; place-items: center; border-radius: 14px 4px 14px 4px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: var(--red-2); transition: background .4s, color .4s; }
.info-list li:hover .info-list__icon { background: var(--grad); color: #fff; }
.info-list__icon svg { width: 20px; height: 20px; }
.info-list strong { display: block; color: #fff; font-family: var(--display); font-size: .92rem; margin-bottom: 4px; }
.info-list p { margin: 0; font-size: .9rem; }
.info-list a { color: rgba(255,255,255,.82); transition: color .25s; }
.info-list a:hover { color: var(--red-2); }
.social, .footer__social { display: flex; gap: 10px; margin-top: 30px; }
.social a, .footer__social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: #fff; transition: background .4s, transform .45s var(--ease-out), border-color .4s; }
.social a:hover, .footer__social a:hover { background: var(--grad); border-color: transparent; transform: translateY(-4px) rotate(-8deg); }
.social svg, .footer__social svg { width: 18px; height: 18px; }

.form-card { padding: clamp(28px, 4vw, 44px); background: #fff; border: 1px solid var(--line); border-radius: 28px 8px 28px 8px; box-shadow: var(--sh-lg); }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-row--full { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-family: var(--display); font-size: .82rem; font-weight: 600; color: var(--ink); }
.req { color: var(--red); }
.field input, .field textarea { width: 100%; padding: 13px 16px; border: 1px solid var(--line-2); border-radius: 12px 4px 12px 4px; background: var(--bg-2); transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--red); box-shadow: 0 0 0 4px rgba(227,22,31,.1); }
.field__err { display: none; font-size: .78rem; color: #c81e3a; }
.field.has-error input, .field.has-error textarea { border-color: #e11d48; background: #fff5f7; }
.field.has-error .field__err { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: none; padding: 14px 18px; border-radius: 12px; font-size: .92rem; }
.form-alert.is-ok { display: block; background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-alert.is-bad { display: block; background: #fff1f2; color: #9f1239; border: 1px solid #fecdd3; }
.form-note { margin: 0; font-size: .78rem; color: var(--muted); text-align: center; }
.map-wrap { overflow: hidden; border-radius: 28px 8px 28px 8px; border: 1px solid var(--line); box-shadow: var(--sh); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; filter: grayscale(.25) contrast(1.05); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ---------- 26. Footer ---------- */
.footer { position: relative; overflow: hidden; isolation: isolate; background: var(--dark); color: rgba(255,255,255,.6); padding-top: clamp(70px, 8vw, 100px); font-size: .92rem; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(227,22,31,.8), rgba(3,150,215,.8), transparent); }
.footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 40px; padding-bottom: 56px; }
.footer__brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.footer__brand img { width: 74px; }
.footer .brand__name { color: #fff; }
.footer .brand__tag { color: rgba(255,255,255,.5); }
.footer__top p { max-width: 36ch; }
.footer h4 { position: relative; color: #fff; font-size: 1rem; margin-bottom: 24px; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; border-radius: 2px; background: var(--grad); }
.footer__links { display: grid; gap: 11px; }
.footer__links a { display: inline-flex; align-items: center; gap: 0; transition: color .3s, gap .35s var(--ease-out); }
.footer__links a::before { content: ""; width: 0; height: 2px; background: var(--red-2); transition: width .35s var(--ease-out); }
.footer__links a:hover { color: #fff; gap: 8px; }
.footer__links a:hover::before { width: 10px; }
.footer__contact { display: grid; gap: 16px; }
.footer__contact li { display: flex; gap: 12px; line-height: 1.55; }
.footer__contact svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--red-2); }
.footer__contact a { transition: color .25s; }
.footer__contact a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; padding: 26px 0 34px; border-top: 1px solid rgba(255,255,255,.08); font-size: .8rem; color: rgba(255,255,255,.45); }
.footer__bottom p { margin: 0; max-width: 90ch; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 1000px) { .footer__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px)  { .footer__top { grid-template-columns: 1fr; } }

/* ---------- 27. Utilities: to-top, progress, lightbox ---------- */
.to-top { position: fixed; right: 22px; bottom: 22px; z-index: 50; width: 50px; height: 50px; display: grid; place-items: center; border: 0; border-radius: 16px 4px 16px 4px; background: var(--grad); color: #fff; cursor: pointer; box-shadow: 0 16px 30px -12px rgba(227,22,31,.6); opacity: 0; visibility: hidden; transform: translateY(20px); transition: opacity .4s, visibility .4s, transform .5s var(--ease-out); }
.to-top.is-vis { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { width: 20px; height: 20px; }
.scroll-progress { position: fixed; left: 0; right: 0; top: 0; z-index: 100; height: 3px; background: var(--grad); transform: scaleX(0); transform-origin: left; pointer-events: none; }

.lightbox { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 60px 70px; background: rgba(5,11,22,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: min(1100px, 100%); max-height: 78vh; border-radius: 14px; box-shadow: 0 40px 80px rgba(0,0,0,.6); transform: scale(.94); transition: transform .5s var(--ease-out); }
.lightbox.is-open img { transform: none; }
.lightbox__cap { position: absolute; left: 0; right: 0; bottom: 22px; padding: 0 20px; text-align: center; color: rgba(255,255,255,.82); font-size: .92rem; }
.lightbox__close, .lightbox__nav { position: absolute; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; background: rgba(255,255,255,.06); color: #fff; cursor: pointer; transition: background .3s, border-color .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--grad); border-color: transparent; }
.lightbox__close svg, .lightbox__nav svg { width: 22px; height: 22px; }
.lightbox__close { top: 18px; right: 18px; }
.lightbox__nav--prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 14px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox { padding: 70px 12px; } .lightbox__nav { top: auto; bottom: 60px; transform: none; } }

/* ---------- 28. 404 ---------- */
.err { position: relative; overflow: hidden; isolation: isolate; min-height: 78vh; display: grid; place-items: center; padding: 90px 0; background: var(--dark); color: rgba(255,255,255,.7); text-align: center; }
.err__dots { position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255,255,255,.1) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); mask-image: radial-gradient(circle at 50% 45%, #000 20%, transparent 70%); }
.err__inner { max-width: 640px; margin-inline: auto; }
.err__code { margin: 0 0 10px; font-family: var(--display); font-weight: 800; font-size: clamp(6rem, 18vw, 11rem); line-height: 1; letter-spacing: -.06em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; animation: bob 5s var(--ease) infinite; }
.err .eyebrow { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.85); box-shadow: none; }
.err h1 { color: #fff; }
.err .lead { color: rgba(255,255,255,.7); }
.err .btn--outline { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.3); }
.err .btn--outline::before { background: #fff; }
.err .btn--outline:hover { color: var(--ink); }
.err__actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.err__links { margin-top: 44px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; }
.err__links ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 14px; }
.err__links a { display: inline-block; padding: 7px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.8); transition: background .3s, border-color .3s; }
.err__links a:hover { background: var(--grad); border-color: transparent; color: #fff; }
.err .brand__name { color: #fff; }
