/* =========================================================
   Renovia Pharma — modern theme
   Brand colours come from the logo and packaging.
   ========================================================= */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

:root {
  --night: #050B24;
  --night-2: #0A1638;
  --navy: #0B2771;
  --blue: #1565C0;
  --sky: #29A9E0;
  --green: #3DAA35;
  --lime: #8CC63F;
  --ink: #0E1630;
  --text: #4A5671;
  --muted: #7A86A0;
  --line: #E4EAF3;
  --soft: #F4F8FC;
  --grad: linear-gradient(100deg, var(--sky) 0%, var(--blue) 35%, var(--green) 75%, var(--lime) 100%);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --radius: 24px;
  --shadow: 0 18px 50px -20px rgba(11, 39, 113, .25);
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: clip; }
body { margin: 0; font: 16px/1.65 var(--font); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.035em; }
h1 { font-size: clamp(2.6rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.2rem; letter-spacing: -.015em; line-height: 1.25; }
h1 em, h2 em {
  font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em;
  background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: gradShift 6s ease-in-out infinite alternate; padding-right: .06em;
}
@keyframes gradShift { to { background-position: 100% 0; } }
p { margin: 0 0 1em; }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; position: relative; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--navy); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 200; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .85rem; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--grad); border-radius: 2px; }
.lead { font-size: 1.15rem; max-width: 560px; }

/* ---------- Dark sections ---------- */
.dark { background: var(--night); color: rgba(255, 255, 255, .7); position: relative; overflow: hidden; }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }
.dark .eyebrow { color: var(--lime); }
.dark a { color: #9BD5F5; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 120; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  --mx: 0px; --my: 0px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 .98rem/1 var(--font); padding: 17px 28px; border-radius: 999px; border: 0; cursor: pointer;
  text-decoration: none; transform: translate(var(--mx), var(--my)); transition: transform .25s var(--ease), box-shadow .3s, background-color .3s, color .3s;
  overflow: hidden; isolation: isolate;
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-sm { padding: 12px 20px; font-size: .9rem; }
.btn-grad { color: #fff; background: linear-gradient(100deg, var(--blue), var(--green), var(--blue)); background-size: 200% 100%; box-shadow: 0 12px 30px -10px rgba(41, 169, 224, .6); animation: gradShift 4s ease-in-out infinite alternate; }
.btn-grad::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); z-index: -1; }
.btn-grad:hover::after { transform: translateX(120%); }
.btn-grad:hover { box-shadow: 0 18px 40px -10px rgba(61, 170, 53, .6); }
.btn-dark { background: var(--night); color: #fff; }
.btn-dark:hover { background: var(--navy); }
.btn-outline-light { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn-outline-light:hover { box-shadow: inset 0 0 0 1.5px #fff; background: rgba(255,255,255,.06); }

/* ---------- Header (floating pill) ---------- */
.nav-wrap { position: fixed; top: 16px; left: 0; right: 0; z-index: 100; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav-pill {
  pointer-events: auto; width: min(1200px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 8px 8px 8px 22px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
  border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 10px 40px -12px rgba(5, 11, 36, .35);
  transition: width .5s var(--ease), padding .4s var(--ease), box-shadow .4s;
  position: relative;
}
.nav-wrap.scrolled .nav-pill { width: min(1000px, 100%); box-shadow: 0 14px 40px -14px rgba(5, 11, 36, .3); }
.brand img { height: 40px; width: auto; transition: height .4s var(--ease); }
.nav-wrap.scrolled .brand img { height: 34px; }
.nav { display: flex; gap: 4px; }
.nav a { position: relative; padding: 9px 14px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .92rem; transition: background-color .25s, color .25s; }
.nav a:hover { background: rgba(11, 39, 113, .06); }
.nav a.active { background: var(--night); color: #fff; }
.nav .nav-cta-mobile { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--night); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-toggle span:nth-child(1) { top: 19px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 140px 0 110px; }
.aurora { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .55; mix-blend-mode: screen; will-change: transform; }
.b1 { width: 620px; height: 620px; background: var(--blue); top: -220px; right: -120px; animation: drift1 18s ease-in-out infinite alternate; }
.b2 { width: 520px; height: 520px; background: var(--green); bottom: -240px; left: -160px; animation: drift2 22s ease-in-out infinite alternate; }
.b3 { width: 380px; height: 380px; background: var(--sky); top: 35%; left: 40%; opacity: .3; animation: drift3 16s ease-in-out infinite alternate; }
.aurora.subtle .blob { opacity: .28; }
@keyframes drift1 { to { transform: translate(-160px, 120px) scale(1.15); } }
@keyframes drift2 { to { transform: translate(200px, -120px) scale(1.2); } }
@keyframes drift3 { to { transform: translate(-220px, -80px) scale(.85); } }
.grid-bg {
  position: absolute; inset: 0; 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;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, #000 30%, transparent 75%);
  animation: gridPan 30s linear infinite;
}
@keyframes gridPan { to { background-position: 64px 64px, 64px 64px; } }

.ecg { position: absolute; left: 0; right: 0; bottom: 9%; width: 100%; height: 160px; pointer-events: none; opacity: .9; }
.ecg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.ecg-base { stroke: rgba(255,255,255,.06); stroke-width: 2; }
.ecg-line { stroke: url(#ecgGrad); stroke-width: 3; stroke-dasharray: 420 1580; stroke-dashoffset: 2000; animation: ecgRun 4.5s linear infinite; filter: drop-shadow(0 0 6px rgba(41,169,224,.9)); }
@keyframes ecgRun { to { stroke-dashoffset: 0; } }

.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero .lead { color: rgba(255,255,255,.72); }
.hero .lead { font-size: 1.08rem; }
.hero .lead-sub { font-size: .95rem; color: rgba(255,255,255,.55); margin-top: -4px; }
.hero h1 { font-size: clamp(2.5rem, 5.4vw, 4.6rem); }
.badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: 26px;
  backdrop-filter: blur(8px);
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(140,198,63,.7); animation: pulse 2s infinite; flex-shrink: 0; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(140,198,63,0); } 100% { box-shadow: 0 0 0 0 rgba(140,198,63,0); } }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 34px; }

/* Human figure with highlighted kidneys */
.hero-visual { position: relative; width: 100%; max-width: 600px; aspect-ratio: 6 / 7; margin-inline: auto; perspective: 1200px; }
.body-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease); }
.human {
  position: absolute; left: 26.63%; top: 1%; width: 46.73%; height: 94%; z-index: 2;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .6s var(--ease);
  animation: floatY 7s ease-in-out infinite; filter: drop-shadow(0 0 28px rgba(41,169,224,.45));
}
@keyframes floatY { 50% { translate: 0 -10px; } }
.human img { width: 100%; height: 100%; display: block; animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { filter: brightness(1.12) saturate(1.1); } }
/* scan beam, masked to the body's silhouette */
.scan { position: absolute; inset: 0; overflow: hidden; pointer-events: none;
  -webkit-mask: url(assets/human-kidneys.webp) center / 100% 100% no-repeat; mask: url(assets/human-kidneys.webp) center / 100% 100% no-repeat; }
.scan::before { content: ""; position: absolute; left: 0; right: 0; height: 12%; top: -14%;
  background: linear-gradient(to bottom, rgba(140,198,63,0), rgba(140,198,63,.35) 75%, rgba(216,255,156,.95));
  mix-blend-mode: screen; animation: scanMove 4.5s linear infinite; }
@keyframes scanMove { to { top: 104%; } }
/* kidney glow, pulse and ripples (positioned on the kidneys in the image) */
.kid { position: absolute; width: 26%; aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.k-left { left: 42.71%; top: 37.88%; }
.k-right { left: 58.72%; top: 37.84%; }
.kid::before { content: ""; position: absolute; inset: 0; border-radius: 50%; mix-blend-mode: screen;
  background: radial-gradient(circle, rgba(255,214,120,.95) 0%, rgba(255,140,50,.6) 30%, rgba(255,90,40,0) 68%);
  animation: kidBeat 2.4s ease-in-out infinite; }
@keyframes kidBeat { 0%, 100% { transform: scale(.85); opacity: .55; } 15% { transform: scale(1.12); opacity: 1; } 30% { transform: scale(.92); opacity: .7; } 45% { transform: scale(1.04); opacity: .9; } }
.kid i { position: absolute; inset: 22%; border-radius: 50%; border: 1.5px solid rgba(255,176,103,.9); opacity: 0; animation: kidRipple 2.4s ease-out infinite; }
.kid i + i { animation-delay: 1.2s; }
@keyframes kidRipple { 0% { opacity: .9; transform: scale(.7); } 100% { opacity: 0; transform: scale(2.4); } }
.pad-ring { fill: none; stroke: #29A9E0; stroke-opacity: .55; stroke-width: 1.5; stroke-dasharray: 14 10; animation: padSpin 8s linear infinite; }
.pad-ring-2 { stroke: #8CC63F; stroke-dasharray: 4 8; animation-duration: 5s; animation-direction: reverse; }
@keyframes padSpin { to { stroke-dashoffset: -240; } }
.connector { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 1.3; stroke-dasharray: 200; stroke-dashoffset: 200; animation: draw 1.2s var(--ease) 1.2s forwards; }
.c-right { animation-delay: 1.5s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.conn-dot { fill: #fff; opacity: 0; animation: fadeIn .4s 2.2s forwards, dotPulse 2s 2.6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes dotPulse { 50% { transform: scale(1.6); opacity: .6; } }
.particles circle { fill: #9FDBFF; opacity: 0; animation: rise 6s linear infinite; }
.particles circle:nth-child(2n) { fill: #B9E68A; animation-duration: 7.5s; }
.particles circle:nth-child(1) { animation-delay: -1s; } .particles circle:nth-child(2) { animation-delay: -2.5s; }
.particles circle:nth-child(3) { animation-delay: -4s; } .particles circle:nth-child(4) { animation-delay: -.5s; }
.particles circle:nth-child(5) { animation-delay: -3.2s; } .particles circle:nth-child(6) { animation-delay: -5s; }
.particles circle:nth-child(7) { animation-delay: -1.8s; } .particles circle:nth-child(8) { animation-delay: -4.4s; }
@keyframes rise { 0% { opacity: 0; transform: translateY(0); } 15% { opacity: .9; } 100% { opacity: 0; transform: translateY(-260px); } }

.callout {
  position: absolute; z-index: 5; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; opacity: 0; animation: calloutIn .7s var(--ease) forwards;
}
.callout b { display: block; font-size: .86rem; line-height: 1.2; }
.callout small { display: block; font-size: .74rem; color: rgba(255,255,255,.6); font-weight: 600; }
.co-dot { width: 10px; height: 10px; border-radius: 50%; background: #FF9A3D; box-shadow: 0 0 12px 2px rgba(255,154,61,.8); flex-shrink: 0; }
.co-dot.green { background: var(--lime); box-shadow: 0 0 12px 2px rgba(140,198,63,.8); }
.co-left { left: 0; top: 30.6%; transform: translateY(-50%); animation-delay: 2s; }
.co-right { right: 0; top: 50.3%; transform: translateY(-50%); animation-delay: 2.3s; }
@keyframes calloutIn { from { opacity: 0; translate: 0 12px; } to { opacity: 1; translate: 0 0; } }

.orbit { position: absolute; left: 50%; top: 40%; border-radius: 50%; border: 1px solid rgba(255,255,255,.12); transform: translate(-50%, -50%) rotateX(72deg); pointer-events: none; }
.orbit::after { content: ""; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 16px 4px rgba(140,198,63,.8); }
.o1 { width: 82%; aspect-ratio: 1; animation: orbit 14s linear infinite; }
.o2 { width: 58%; aspect-ratio: 1; border-color: rgba(41,169,224,.25); animation: orbit 10s linear infinite reverse; }
.o2::after { background: var(--sky); box-shadow: 0 0 16px 4px rgba(41,169,224,.8); }
@keyframes orbit { to { transform: translate(-50%, -50%) rotateX(72deg) rotateZ(360deg); } }

.float-chip {
  position: absolute; z-index: 5; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 14px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  color: #fff; font-size: .85rem; font-weight: 600; animation: bob 6s ease-in-out infinite;
}
.float-chip strong { font-size: 1.3rem; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.fc1 { top: 4%; right: 2%; }
.fc2 { bottom: 4%; left: 0; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-14px); } }

.scroll-cue { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 14px; border: 2px solid rgba(255,255,255,.35); z-index: 2; }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------- Marquee ---------- */
.marquee-clip { position: relative; z-index: 3; overflow: hidden; padding: 30px 0; margin-top: -66px; }
.marquee { position: relative; background: var(--grad); padding: 22px 0; margin: 0 -20px; transform: rotate(-2deg); overflow: hidden; box-shadow: 0 20px 50px -20px rgba(21,101,192,.5); }
.marquee-track { display: flex; align-items: center; gap: 36px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-size: clamp(1.4rem, 3vw, 2.2rem); font-weight: 800; color: #fff; letter-spacing: -.02em; white-space: nowrap; }
.marquee span:nth-of-type(even) { font-family: var(--serif); font-style: italic; font-weight: 400; }
.marquee i { color: rgba(255,255,255,.7); font-style: normal; font-size: 1.2rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Stats ---------- */
.stats-sec { padding: 90px 0 30px; }
.stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stats li { padding: 26px 24px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s; }
.stats li:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.stats strong { display: block; font-size: clamp(2.4rem, 4.5vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 10px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; }
.stats span { font-size: .92rem; color: var(--muted); font-weight: 500; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.soft { background: var(--soft); }
.section-head { max-width: 760px; margin: 0 auto 60px; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head.row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; text-align: left; flex-wrap: wrap; }
.section-head.row h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; position: relative; z-index: 1; }

/* ---------- About ---------- */
.statement { font-size: clamp(1.8rem, 4vw, 3.3rem); font-weight: 700; letter-spacing: -.035em; line-height: 1.18; color: var(--ink); max-width: 1050px; margin-bottom: 80px; }
.statement .sw { opacity: .14; transition: opacity .3s; }
.statement .sw.lit { opacity: 1; }

.bento { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-auto-rows: minmax(200px, auto); gap: 20px; }
.bento-card { position: relative; padding: 32px; border-radius: var(--radius); background: var(--soft); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s; }
.bento-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.b-wide { grid-row: span 2; display: flex; flex-direction: column; justify-content: flex-end; background: linear-gradient(160deg, #fff, var(--soft)); }
.b-wide h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; line-height: 1.12; }
.name-note { margin: 8px 0 0; color: var(--ink); font-weight: 600; }
.name-note em { font-family: var(--serif); font-size: 1.3em; color: var(--blue); }
.b-grad { background: linear-gradient(140deg, var(--navy), var(--blue) 60%, #1A8C5B); color: rgba(255,255,255,.85); border: 0; }
.b-grad .b-label { color: var(--lime); }
.b-values { grid-column: span 2; }
.b-label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin-bottom: 14px; }
.bento-card p:last-child { margin-bottom: 0; }
.bento-card:not(.b-wide) p { font-size: 1.08rem; color: inherit; }
.bento-card:not(.b-grad):not(.b-wide) p { color: var(--ink); }
.value-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.value-chips li { padding: 12px 20px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 700; transition: transform .3s var(--ease), background-color .3s, color .3s; }
.value-chips li:hover { transform: translateY(-3px) rotate(-2deg); background: var(--night); color: #fff; }

/* Cursor spotlight */
.spot::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(41,169,224,.16), transparent 45%); }
.spot:hover::before { opacity: 1; }
.b-grad.spot::before { background: radial-gradient(420px circle at var(--sx, 50%) var(--sy, 50%), rgba(140,198,63,.3), transparent 45%); }

/* ---------- Focus ---------- */
.focus-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.focus-card h3 { min-height: 2.5em; }
.focus-card { position: relative; padding: 36px 32px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), box-shadow .5s, border-color .4s; }
.focus-card:hover { transform: translateY(-10px); box-shadow: var(--shadow); border-color: transparent; }
.focus-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.focus-card:hover::after { transform: scaleX(1); }
.focus-num { position: absolute; top: 22px; right: 28px; font-size: 4.5rem; font-weight: 800; letter-spacing: -.05em; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--line); transition: -webkit-text-stroke-color .4s, transform .6s var(--ease); }
.focus-card:hover .focus-num { -webkit-text-stroke-color: rgba(41,169,224,.5); transform: translateY(-6px); }
.focus-icon { width: 60px; height: 60px; border-radius: 18px; display: grid; place-items: center; color: #fff; margin-bottom: 30px; transition: transform .6s var(--ease); }
.focus-card:hover .focus-icon { transform: rotate(-10deg) scale(1.08); }
.focus-icon svg { width: 30px; height: 30px; }
.fi-blue { background: linear-gradient(135deg, var(--sky), var(--blue)); box-shadow: 0 12px 24px -8px rgba(21,101,192,.6); }
.fi-green { background: linear-gradient(135deg, var(--lime), var(--green)); box-shadow: 0 12px 24px -8px rgba(61,170,53,.6); }
.fi-lime { background: linear-gradient(135deg, #B9E68A, var(--green) 70%); box-shadow: 0 12px 24px -8px rgba(61,170,53,.6); }
.fi-navy { background: linear-gradient(135deg, var(--blue), var(--navy)); box-shadow: 0 12px 24px -8px rgba(11,39,113,.6); }
.focus-card h3 { font-size: 1.4rem; }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.tags span { font-size: .8rem; font-weight: 700; color: var(--navy); padding: 6px 12px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }

/* ---------- Products ---------- */
.filters { position: relative; display: inline-flex; padding: 6px; border-radius: 999px; background: var(--soft); border: 1px solid var(--line); }
.filter-indicator { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 60px; border-radius: 999px; background: var(--night); transition: transform .45s var(--ease), width .45s var(--ease); }
.chip { position: relative; z-index: 1; font: 700 .92rem/1 var(--font); padding: 12px 22px; border: 0; background: none; border-radius: 999px; color: var(--ink); cursor: pointer; transition: color .35s; }
.chip.active { color: #fff; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; perspective: 1200px; }
.product-card {
  --rx: 0deg; --ry: 0deg; --gx: 50%; --gy: 50%;
  position: relative; display: flex; flex-direction: column; text-align: left; padding: 0; font: inherit; color: inherit; cursor: pointer;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  transform: rotateX(var(--rx)) rotateY(var(--ry)); transform-style: preserve-3d;
  transition: transform .5s var(--ease), box-shadow .5s, opacity .4s, scale .4s;
}
.product-card.tilting { transition: transform .08s linear, box-shadow .5s; }
.product-card:hover, .product-card:focus-visible { box-shadow: 0 30px 60px -25px rgba(11,39,113,.45); outline: none; }
.product-card::after { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(500px circle at var(--gx) var(--gy), rgba(255,255,255,.45), transparent 40%); mix-blend-mode: soft-light; }
.product-card:hover::after { opacity: 1; }
.product-card.hide { display: none; }
.product-grid .product-card.pop { animation: popIn .6s var(--ease) var(--d, 0s) backwards; }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.pc-img { aspect-ratio: 4 / 3; overflow: hidden; background: #E9F2FA; }
.pc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.product-card:hover .pc-img img { transform: scale(1.08); }
.pc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.pc-form { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--green); }
.pc-body h3 { margin: 2px 0; font-size: 1.45rem; letter-spacing: -.03em; }
.pc-generic { font-size: .93rem; margin: 0; }
.pc-meta { margin-top: auto; padding-top: 16px; display: flex; justify-content: space-between; align-items: center; font-size: .88rem; font-weight: 600; color: var(--ink); }
.pc-arrow { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--navy); transition: background-color .3s, color .3s, transform .4s var(--ease); }
.pc-arrow svg { width: 16px; height: 16px; }
.product-card:hover .pc-arrow { background: var(--night); color: #fff; transform: rotate(-45deg); }
.rx-note { text-align: center; margin: 34px 0 0; font-size: .9rem; color: var(--muted); }

/* ---------- Quality ---------- */
.quality .lead { color: rgba(255,255,255,.72); }
.atom { position: relative; width: min(460px, 100%); aspect-ratio: 1; margin-inline: auto; perspective: 900px; transform-style: preserve-3d; }
.atom-ring { position: absolute; inset: 6%; border-radius: 50%; border: 10px solid transparent; transform-style: preserve-3d; }
.r1 { border-color: var(--sky) transparent var(--blue) transparent; animation: ring1 9s linear infinite; filter: drop-shadow(0 0 14px rgba(41,169,224,.7)); }
.r2 { border-color: var(--lime) var(--green) transparent transparent; animation: ring2 11s linear infinite; filter: drop-shadow(0 0 14px rgba(140,198,63,.6)); }
.r3 { border-color: rgba(255,255,255,.75) transparent rgba(200,210,230,.6) transparent; border-width: 6px; inset: 14%; animation: ring3 13s linear infinite; }
@keyframes ring1 { from { transform: rotateX(65deg) rotateY(10deg) rotateZ(0); } to { transform: rotateX(65deg) rotateY(10deg) rotateZ(360deg); } }
@keyframes ring2 { from { transform: rotateX(60deg) rotateY(-55deg) rotateZ(0); } to { transform: rotateX(60deg) rotateY(-55deg) rotateZ(-360deg); } }
@keyframes ring3 { from { transform: rotateX(75deg) rotateY(55deg) rotateZ(0); } to { transform: rotateX(75deg) rotateY(55deg) rotateZ(360deg); } }
.atom-core { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: #fff; display: grid; place-items: center; box-shadow: 0 0 0 12px rgba(255,255,255,.06), 0 0 80px 10px rgba(41,169,224,.45); animation: corePulse 3.2s ease-in-out infinite; }
.atom-core img { width: 72%; }
@keyframes corePulse { 50% { box-shadow: 0 0 0 22px rgba(255,255,255,.03), 0 0 110px 20px rgba(61,170,53,.45); } }
.q-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 14px; }
.q-list li { display: flex; gap: 16px; padding: 18px 20px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background-color .4s, transform .4s var(--ease), border-color .4s; }
.q-list li:hover { background: rgba(255,255,255,.08); border-color: rgba(140,198,63,.4); transform: translateX(6px); }
.q-ico { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--grad); color: #fff; font-weight: 800; font-size: .9rem; }
.q-list strong { color: #fff; display: block; margin-bottom: 2px; }
.q-list p { margin: 0; font-size: .95rem; }

/* ---------- Partners (animated gradient borders) ---------- */
.partner-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.partner-card { position: relative; padding: 2px; border-radius: var(--radius); background: var(--line); transition: transform .5s var(--ease), box-shadow .5s; overflow: hidden; }
.partner-card::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from var(--ang), transparent 0deg, var(--sky) 60deg, var(--green) 120deg, transparent 180deg); animation: angle 5s linear infinite; }
.partner-card:nth-child(2)::before { animation-delay: -1.6s; }
.partner-card:nth-child(3)::before { animation-delay: -3.2s; }
@keyframes angle { to { --ang: 360deg; } }
.partner-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.pc-inner { position: relative; height: 100%; padding: 36px 32px; border-radius: calc(var(--radius) - 2px); background: #fff; }
.p-num { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--blue); }
.pc-inner h3 { font-size: 1.6rem; margin: 4px 0 12px; }
.pc-inner p { margin: 0; }

/* ---------- Contact ---------- */
.contact .lead { color: rgba(255,255,255,.72); }
.contact-list { list-style: none; padding: 0; margin: 34px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; align-items: center; gap: 14px; color: #fff; }
.contact-list a { color: #fff; text-decoration: none; font-weight: 600; transition: color .3s; }
.contact-list a:hover { color: var(--lime); }
.ci { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--sky); flex-shrink: 0; }
.ci svg { width: 20px; height: 20px; }
.contact-form { display: grid; gap: 14px; padding: 34px; border-radius: 28px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; display: block; }
.field input, .field select, .field textarea {
  width: 100%; font: 500 1rem/1.4 var(--font); color: #fff; padding: 26px 16px 10px; border-radius: 14px;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); transition: border-color .3s, background-color .3s, box-shadow .3s; resize: vertical;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; }
.field select option { color: var(--ink); }
.field span { position: absolute; left: 17px; top: 18px; font-size: 1rem; color: rgba(255,255,255,.5); pointer-events: none; transition: all .25s var(--ease); }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field.select span { top: 8px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--lime); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sky); background: rgba(255,255,255,.08); box-shadow: 0 0 0 4px rgba(41,169,224,.15); }
.field .invalid { border-color: #FF6B6B; }
.contact-form .btn { justify-self: start; margin-top: 6px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .btn[disabled] { opacity: .7; cursor: wait; }
.form-note { margin: 0; font-size: .92rem; color: var(--lime); min-height: 1.4em; }
.form-note.err { color: #FF8A8A; }

/* ---------- Footer ---------- */
.site-footer { padding: 90px 0 30px; border-top: 1px solid rgba(255,255,255,.06); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; }
.footer-logo { height: 54px; width: auto; margin-bottom: 16px; }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer h4 { font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.45); margin-bottom: 8px; }
.site-footer nav a { color: rgba(255,255,255,.8); text-decoration: none; width: fit-content; background: linear-gradient(var(--lime), var(--lime)) 0 100% / 0 1.5px no-repeat; transition: background-size .4s var(--ease), color .3s; }
.site-footer nav a:hover { color: #fff; background-size: 100% 1.5px; }
.mega {
  margin: 60px 0 0; font-size: clamp(4.5rem, 19vw, 16rem); font-weight: 800; letter-spacing: -.06em; line-height: .9; text-align: center; user-select: none;
  color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.14);
  background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  background-position: 0 0; transition: -webkit-text-stroke-color .6s;
  clip-path: inset(0 0 0 0);
}
.mega { background-image: linear-gradient(100deg, transparent 0 40%, rgba(41,169,224,.9) 50%, rgba(140,198,63,.9) 55%, transparent 65% 100%); background-size: 250% 100%; animation: megaSweep 7s ease-in-out infinite; }
@keyframes megaSweep { 0% { background-position: 100% 0; } 100% { background-position: -50% 0; } }
.footer-bottom { margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.08); }
.disclaimer { font-size: .82rem; color: rgba(255,255,255,.45); max-width: 860px; }

/* ---------- Product dialog ---------- */
.product-dialog { width: min(920px, calc(100% - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; border-radius: 28px; color: var(--text); box-shadow: 0 40px 100px -20px rgba(5,11,36,.6); }
.product-dialog::backdrop { background: rgba(5, 11, 36, .6); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.product-dialog[open] { animation: dlgIn .5s var(--ease); }
@keyframes dlgIn { from { opacity: 0; transform: translateY(40px) scale(.94); } }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--night); color: #fff; font-size: 1.5rem; cursor: pointer; transition: transform .4s var(--ease); }
.dialog-close:hover { transform: rotate(90deg); }
.pd-body { display: grid; grid-template-columns: 1fr 1fr; }
.pd-gallery { background: linear-gradient(160deg, #EAF3FB, #F1F8EC); padding: 22px; display: grid; gap: 14px; align-content: center; }
.pd-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow); animation: popIn .6s var(--ease) both; }
.pd-gallery img:nth-child(2) { animation-delay: .1s; }
.pd-info { padding: 40px 34px; }
.pd-info h2 { margin-bottom: 4px; }
.pd-info .pc-generic { font-size: 1.05rem; margin-bottom: 20px; }
.pd-table { width: 100%; border-collapse: collapse; font-size: .93rem; margin-bottom: 20px; }
.pd-table th, .pd-table td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.pd-table th { color: var(--muted); font-weight: 500; width: 42%; padding-right: 12px; }
.pd-table td { color: var(--ink); font-weight: 600; }
.pd-note { font-size: .82rem; color: var(--muted); background: var(--soft); padding: 14px 16px; border-radius: 14px; margin: 0; }

/* ---------- Entrance animations ---------- */
[data-reveal]:not(.in) { opacity: 0; }
[data-reveal].in { animation: revealIn 1s var(--ease) var(--d, 0s) backwards; }
@keyframes revealIn { from { opacity: 0; transform: translateY(40px); filter: blur(8px); } }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .wi { display: inline-block; transform: translateY(110%) rotate(6deg); transform-origin: 0 100%; transition: transform 1s var(--ease); transition-delay: calc(var(--i) * 55ms); }
[data-split].in .wi { transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .product-grid, .focus-grid { grid-template-columns: repeat(2, 1fr); }
  .nav a { padding: 9px 10px; }
}
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .nav {
    position: absolute; top: calc(100% + 10px); left: 0; right: 0; flex-direction: column; gap: 4px; padding: 12px;
    border-radius: 24px; background: rgba(255,255,255,.96); backdrop-filter: blur(16px); box-shadow: 0 20px 50px -15px rgba(5,11,36,.4);
    opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top center;
    transition: opacity .3s, transform .4s var(--ease), visibility 0s .4s;
  }
  .nav.open { opacity: 1; visibility: visible; transform: none; transition: opacity .3s, transform .4s var(--ease); }
  .nav a { padding: 14px 18px; font-size: 1.05rem; }
  .nav .nav-cta-mobile { display: block; background: var(--grad); color: #fff; text-align: center; margin-top: 6px; }
  .nav-wrap.scrolled .nav-pill { width: 100%; }
  .hero { padding: 130px 0 120px; }
  .hero-grid, .split { grid-template-columns: 1fr; gap: 50px; }
  .hero-visual { max-width: 480px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide { grid-column: span 2; grid-row: auto; }
  .partner-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .pd-body { grid-template-columns: 1fr; }
  .section { padding: 90px 0; }
  .atom { width: min(340px, 80%); }
}
@media (max-width: 560px) {
  .brand img { height: 34px; }
  .nav-pill { padding-left: 16px; }
  .callout { padding: 8px 10px; gap: 8px; }
  .callout b { font-size: .76rem; } .callout small { font-size: .66rem; }
  .float-chip { font-size: .75rem; padding: 8px 12px; }
  .fc1 { top: 0; }
  .fc2 { bottom: 0; }
  .product-grid, .bento, .focus-grid { grid-template-columns: 1fr; }
  .focus-card h3 { min-height: 0; }
  .b-wide, .b-values { grid-column: auto; }
  .stats li { padding: 20px 18px; }
  .field-row { grid-template-columns: 1fr; }
  .contact-form { padding: 22px; }
  .section-head.row { flex-direction: column; align-items: flex-start; }
  .pd-info { padding: 30px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  [data-reveal]:not(.in) { opacity: 1; }
  [data-split] .wi { transform: none; }
  .statement .sw { opacity: 1; }
}
