/* ==========================================================================
   Centrum Metrologii RADWAG – landing page
   ========================================================================== */

@font-face { font-family: 'Inter'; src: url('../fonts/inter-var-latin-ext.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; src: url('../fonts/inter-var-latin.woff2') format('woff2'); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk-var-latin-ext.woff2') format('woff2'); font-weight: 300 700; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Space Grotesk'; src: url('../fonts/space-grotesk-var-latin.woff2') format('woff2'); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --navy-950: #060a26;
  --navy-900: #0b1240;
  --navy-800: #121b5c;
  --navy-700: #1c2780;
  --brand: #2c3aa8;
  --brand-2: #4b5de0;
  --cyan: #35c2e8;
  --lime: #b9e23a;
  --ink: #10153a;
  --text: #2e3456;
  --muted: #646b8c;
  --bg: #ffffff;
  --bg-alt: #f3f5fb;
  --line: rgba(16, 21, 58, .09);
  --card: #ffffff;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(16, 21, 58, .04), 0 12px 32px -12px rgba(16, 21, 58, .14);
  --shadow-lg: 0 30px 70px -25px rgba(11, 18, 64, .35);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --topbar-h: 50px;
  --nav-h: 70px;
  --header-h: calc(var(--topbar-h) + var(--nav-h));
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', system-ui, sans-serif;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -.2em; }
.ico--lg { width: 34px; height: 34px; }
.mono { font-family: var(--font-display); }
.muted { color: var(--muted); }
.center { text-align: center; }
.narrow { max-width: 760px; }

body.is-loading main, body.is-loading .header { opacity: 0; }
main, .header { transition: opacity .6s var(--ease); }

.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
@media (max-width: 600px) { .container { width: calc(100% - 32px); } body { font-size: 16px; } }

.section { position: relative; padding: clamp(80px, 11vw, 140px) 0; }
.section.alt { background: var(--bg-alt); }
.section__head { margin-bottom: clamp(40px, 6vw, 64px); }
.section__head.center { max-width: 820px; margin-inline: auto; }
.section__head.center .lead { margin-inline: auto; }

.dark { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: #fff; }

.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-family: var(--font-display); font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brand); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--brand-2)); border-radius: 2px; }
.eyebrow--light { color: var(--cyan); }
.h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 600; }
.h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.6; color: var(--ink); max-width: 680px; }
.dark .lead { color: rgba(255, 255, 255, .88); }
.mini-title { font-family: var(--font-display); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 26px 0 12px; font-weight: 600; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; text-decoration: none; border: 1px solid transparent; transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn--primary { background: linear-gradient(135deg, var(--brand-2), var(--brand)); color: #fff; box-shadow: 0 12px 30px -10px rgba(75, 93, 224, .7); }
.btn--primary:hover { box-shadow: 0 18px 40px -10px rgba(75, 93, 224, .85); }
.btn--ghost { background: rgba(11, 18, 64, .45); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn--ghost:hover { background: rgba(255, 255, 255, .16); }
.btn--light { background: #fff; color: var(--navy-900); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: gap .3s var(--ease); }
.link-arrow:hover { gap: 14px; }
.dark .link-arrow, .download .link-arrow { color: var(--cyan); }

/* ---------- Chips & lists ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .chips li { display: inline-flex; align-items: center; padding: 7px 14px; border-radius: 999px; background: var(--bg-alt); border: 1px solid var(--line); font-size: 14px; font-weight: 500; color: var(--ink); }
.chips--light li, .chips--light .chip { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .14); color: #fff; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: ''; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: rgba(53, 194, 232, .14) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4L18 8' fill='none' stroke='%232c3aa8' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.dark .checklist li::before { background-color: rgba(53, 194, 232, .2); }
.checklist--lg li { margin-bottom: 14px; }

/* ---------- Cards ---------- */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 34px); box-shadow: var(--shadow); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card--dark { background: linear-gradient(160deg, var(--navy-800), var(--navy-950)); color: rgba(255, 255, 255, .8); border-color: transparent; }
.card--dark h3 { color: #fff; }
.card--accent { background: linear-gradient(150deg, #eef1ff, #e5f8fd); }
.card--glass { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); box-shadow: none; backdrop-filter: blur(10px); }

.frame { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--glass { background: rgba(255, 255, 255, .06); padding: 12px; border: 1px solid rgba(255, 255, 255, .12); }
.frame--glass img { border-radius: 14px; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0ms); }
.reveal--right { transform: translateX(50px); }
.reveal--left { transform: translateX(-50px); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Progress & header ---------- */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 100; pointer-events: none; }
.progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--brand-2), var(--lime)); transform-origin: left; transform: scaleX(0); }

.header { position: fixed; inset: 0 0 auto; z-index: 90; transition: background .4s, box-shadow .4s, opacity .6s; }
.header.is-scrolled, .nav-open .header { background: rgba(8, 13, 48, .97); box-shadow: 0 10px 30px -15px rgba(0, 0, 0, .5); }
.topbar { border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 13px; transition: margin .4s var(--ease); }
.topbar__inner { height: var(--topbar-h); display: flex; align-items: center; gap: 20px; }
.topbar__info { display: flex; gap: 22px; color: rgba(255, 255, 255, .7); }
.topbar__info a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.topbar__info a:hover { color: #fff; }
.topbar__info .ico { width: 15px; height: 15px; color: var(--cyan); }
.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header__inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.header__logo img { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a { position: relative; padding: 8px 11px; font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .8); text-decoration: none; border-radius: 8px; transition: color .25s; white-space: nowrap; }
.nav > a::after, .nav__group > a::after { content: ''; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 2px; background: var(--cyan); border-radius: 2px; transform: scaleX(0); transition: transform .35s var(--ease); }
.nav a:hover, .nav a.is-current, .nav__group.is-current > a { color: #fff; }
.nav > a.is-current::after, .nav__group.is-current > a::after, .nav > a:hover::after, .nav__group > a:hover::after { transform: scaleX(1); }
.nav__group { position: relative; display: flex; align-items: center; }
.nav__toggle { display: grid; place-items: center; width: 26px; height: 26px; margin-left: -6px; border: 0; border-radius: 6px; background: transparent; color: rgba(255, 255, 255, .7); }
.nav__toggle .ico { width: 16px; height: 16px; transition: transform .3s; }
.nav__sub { position: absolute; top: calc(100% + 10px); left: 0; min-width: 230px; padding: 10px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-lg); display: grid; opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.nav__sub::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__sub a { color: var(--ink); padding: 10px 14px; font-size: 15px; }
.nav__sub a:hover { background: var(--bg-alt); color: var(--brand); }
.nav__group:hover .nav__sub, .nav__group:focus-within .nav__sub, .nav__group.is-open .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__group:hover .nav__toggle .ico, .nav__group.is-open .nav__toggle .ico { transform: rotate(180deg); }
.nav__cta { display: none; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .15); }
.lang button { border: 0; background: transparent; color: rgba(255, 255, 255, .75); font-size: 12px; font-weight: 700; letter-spacing: .05em; padding: 4px 10px; border-radius: 999px; transition: background .3s, color .3s; }
.lang button[aria-pressed="true"] { background: #fff; color: var(--navy-900); }
.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .1); flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.nav-open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1240px) { .nav a { padding: 8px 8px; font-size: 14.5px; } .nav > a::after, .nav__group > a::after { left: 8px; right: 8px; } }
@media (max-width: 1100px) {
  .burger { display: flex; }
  .nav { position: fixed; inset: calc(var(--topbar-h) + var(--nav-h)) 0 0; z-index: -1; flex-direction: column; align-items: stretch; gap: 2px; padding: 20px 24px 40px; overflow-y: auto; background: var(--navy-950); opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; margin: 0; }
  .nav-open .nav { opacity: 1; visibility: visible; }
  .nav a { font-size: 20px; font-family: var(--font-display); padding: 12px 6px; border-bottom: 1px solid rgba(255, 255, 255, .07); border-radius: 0; }
  .nav > a::after, .nav__group > a::after { display: none; }
  .nav__group { flex-wrap: wrap; }
  .nav__group > a { flex: 1; }
  .nav__toggle { width: 44px; height: 44px; margin: 0; }
  .nav__sub { position: static; width: 100%; min-width: 0; padding: 0 0 6px 14px; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; display: none; }
  .nav__group.is-open .nav__sub { display: grid; }
  .nav__group:hover .nav__sub { opacity: 1; }
  .nav__sub a { color: rgba(255, 255, 255, .7); font-size: 17px; border: 0; padding: 8px 6px; }
  .nav__sub a:hover { background: transparent; color: #fff; }
  .nav__cta { display: grid; gap: 10px; margin-top: 22px; }
  .nav__cta .btn { justify-content: center; font-size: 16px; padding: 14px 20px; }
  .nav-open { overflow: hidden; }
}
@media (max-width: 760px) { .topbar__info { display: none; } .topbar__actions { margin-left: 0; width: 100%; justify-content: space-between; gap: 6px; } .topbar__actions .lang { margin-left: auto; } }
@media (max-width: 420px) { .topbar__actions .btn { padding: 6px 10px; font-size: 12px; } .topbar__actions .btn .ico { display: none; } }
@media (max-width: 640px) { .header__logo img { height: 34px; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; color: #fff; overflow: hidden; background: var(--navy-950); padding: calc(var(--header-h) + 40px) 0 120px; }
.hero__bg { position: absolute; inset: 0; }
.hero__media { position: absolute; inset: -6% 0 0; height: 112%; will-change: transform; backface-visibility: hidden; }
.hero__img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; transform: scale(1.08) translateZ(0); animation: kenburns 24s ease-in-out infinite alternate; will-change: transform; backface-visibility: hidden; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(6, 10, 38, .95) 0%, rgba(8, 14, 56, .82) 42%, rgba(11, 18, 64, .35) 100%),
  linear-gradient(0deg, rgba(6, 10, 38, .95) 0%, transparent 40%); }
.hero__grid { position: absolute; inset: -64px 0 0 -64px; 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 at 20% 50%, #000 0%, transparent 65%); mask-image: radial-gradient(ellipse at 20% 50%, #000 0%, transparent 65%); animation: gridmove 6s linear infinite; will-change: transform; }
.hero__glow { position: absolute; z-index: 1; width: 60vmax; height: 60vmax; left: -20vmax; top: -10vmax; background: radial-gradient(circle, rgba(75, 93, 224, .42), rgba(75, 93, 224, .12) 40%, transparent 65%); animation: float 14s ease-in-out infinite alternate; will-change: transform; }
.hero__content { position: relative; z-index: 2; }
.hero__title { font-size: clamp(36px, 6vw, 80px); font-weight: 600; line-height: .98; letter-spacing: -.03em; color: #fff; margin-bottom: 28px; }
.hero__title em { font-style: normal; background: linear-gradient(90deg, var(--cyan), #9aa8ff 60%, var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shine 8s ease-in-out infinite alternate; }
.hero__lead { font-size: clamp(18px, 1.7vw, 22px); max-width: 620px; color: rgba(255, 255, 255, .85); }
.hero__badge { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px; margin: 10px 0 34px; border-radius: 999px; background: rgba(11, 18, 64, .6); border: 1px solid rgba(255, 255, 255, .18); font-weight: 600; font-size: 15px; }
.pulse { position: relative; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); }
.pulse::after { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--lime); animation: pulse 2s ease-out infinite; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.hero__scroll { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1240px) / 2)); bottom: 110px; display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255, 255, 255, .6); text-decoration: none; writing-mode: vertical-rl; }
.hero__scroll i { width: 1px; height: 60px; background: linear-gradient(rgba(255, 255, 255, .7), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content: ''; position: absolute; left: 0; top: -30px; width: 1px; height: 30px; background: var(--cyan); animation: drip 2s ease-in-out infinite; }
@media (max-width: 700px) { .hero__scroll { display: none; } }

.marquee { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .1); background: rgba(6, 10, 38, .82); overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 40s linear infinite; will-change: transform; backface-visibility: hidden; }
.marquee__track span { font-family: var(--font-display); font-size: clamp(16px, 1.6vw, 20px); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .85); padding: 0 34px; white-space: nowrap; }
.marquee__track i { width: 8px; height: 8px; margin-top: .55em; border-radius: 2px; background: var(--cyan); transform: rotate(45deg); flex: none; }

/* ---------- Stats ---------- */
.stats { background: var(--navy-950); color: #fff; padding: 70px 0 80px; position: relative; }
.stats::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 0%, rgba(53, 194, 232, .14), transparent 60%); pointer-events: none; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.stat { padding: 8px 18px 8px 22px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat__value { font-family: var(--font-display); font-size: clamp(38px, 4vw, 56px); font-weight: 600; line-height: 1; letter-spacing: -.02em; margin-bottom: 12px; background: linear-gradient(180deg, #fff, #b8c4ff); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.stat__value small { font-size: .45em; margin-left: 4px; color: var(--cyan); -webkit-text-fill-color: var(--cyan); }
.stat p { font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, .7); margin: 0; }
@media (max-width: 980px) { .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 34px; } }
.stats__grid--5 { grid-template-columns: repeat(5, 1fr); }
@media (max-width: 980px) { .stats__grid--5 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Split layout ---------- */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split--rev .split__text { order: 2; }
.split--top { align-items: start; margin-top: clamp(50px, 7vw, 90px); }
.split__media { position: relative; margin: 0; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split--rev .split__text { order: 0; } }

.floating-card { position: absolute; left: -24px; bottom: 30px; display: flex; align-items: center; gap: 14px; padding: 16px 22px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-radius: 16px; box-shadow: var(--shadow-lg); animation: bob 6s ease-in-out infinite; }
.floating-card .ico { width: 28px; height: 28px; color: var(--brand); }
.floating-card strong { display: block; color: var(--ink); font-family: var(--font-display); }
.floating-card span { font-size: 14px; color: var(--muted); }
@media (max-width: 600px) { .floating-card { left: 12px; bottom: 12px; } }

/* ---------- About: lab cards ---------- */
.labs3__title { margin: clamp(70px, 9vw, 110px) auto 40px; max-width: 700px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 980px) { .cards3 { grid-template-columns: 1fr; } }
.lab-card { position: relative; display: flex; flex-direction: column; overflow: hidden; }
.lab-card::before { content: ''; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--cyan), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.lab-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.lab-card:hover::before { transform: scaleX(1); }
.lab-card h4 { font-size: 23px; margin-top: 4px; }
.lab-card > p { color: var(--muted); }
.lab-card .checklist { flex: 1; margin: 8px 0 24px; font-size: 15px; }
.lab-card__icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 20px; background: linear-gradient(135deg, var(--brand-2), var(--navy-800)); color: #fff; box-shadow: 0 12px 24px -10px rgba(44, 58, 168, .7); transition: transform .5s var(--ease); }
.lab-card:hover .lab-card__icon { transform: rotate(-8deg) scale(1.06); }
.lab-card__icon .ico { width: 28px; height: 28px; }
.person { display: flex; align-items: center; gap: 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.person__avatar { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--bg-alt); color: var(--brand); font-family: var(--font-display); font-weight: 700; border: 2px solid rgba(53, 194, 232, .35); }
.person strong { display: block; color: var(--ink); font-size: 15px; }
.person span { font-size: 13px; color: var(--muted); }

/* ---------- Timeline ---------- */
.timeline { position: relative; max-width: 1040px; margin-inline: auto; --progress: 0; }
.timeline__line { position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--line); transform: translateX(-50%); }
.timeline__line span { position: absolute; inset: 0; background: linear-gradient(var(--cyan), var(--brand-2)); transform-origin: top; transform: scaleY(var(--progress)); }
.timeline__list { position: relative; display: grid; gap: 30px; }
.tl-item { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.tl-item::after { content: ''; position: absolute; left: 50%; top: 50%; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-2); transform: translate(-50%, -50%) scale(.4); transition: transform .6s var(--ease) .3s; box-shadow: 0 0 0 8px rgba(75, 93, 224, .12); }
.tl-item.is-visible::after { transform: translate(-50%, -50%) scale(1); }
.tl-item__year { font-family: var(--font-display); font-size: clamp(48px, 6vw, 84px); font-weight: 600; line-height: 1; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1.5px var(--brand-2); text-align: right; }
.tl-item:last-child .tl-item__year { color: var(--brand); -webkit-text-stroke: 0; background: linear-gradient(90deg, var(--brand-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.tl-item:nth-child(even) .tl-item__year { order: 2; text-align: left; }
.tl-item__card h3 { font-size: 21px; margin-bottom: 8px; }
.tl-item__card p { margin: 0; font-size: 15.5px; color: var(--muted); }
@media (max-width: 760px) {
  .timeline__line { left: 9px; }
  .tl-item { grid-template-columns: 1fr; gap: 10px; padding-left: 40px; }
  .tl-item::after { left: 9px; top: 26px; }
  .tl-item__year, .tl-item:nth-child(even) .tl-item__year { order: 0; text-align: left; font-size: 48px; }
}

/* ---------- Infra bento ---------- */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.bento__item { margin: 0; position: relative; overflow: hidden; }
.bento__item--wide { grid-column: span 2; grid-row: span 3; min-height: 420px; padding: 0; background: #fff; display: grid; place-items: center; }
.bento__item--wide img { width: 100%; height: 100%; object-fit: contain; padding: 20px; transition: transform 1.2s var(--ease); }
.bento__item--wide:hover img { transform: scale(1.04); }
.bento .card:hover { transform: translateY(-6px); }
.bento h3 { font-size: 22px; }
.big-number { font-family: var(--font-display); font-size: 64px; font-weight: 600; line-height: 1; color: var(--cyan); margin-top: 18px; }
.card--dark .ico--lg { color: var(--cyan); margin-bottom: 16px; }
.zones li { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line); font-weight: 500; color: var(--ink); }
.zones li:last-child { border: 0; }
.zones li::before { content: ''; width: 10px; height: 10px; border-radius: 3px; background: linear-gradient(135deg, var(--cyan), var(--brand-2)); flex: none; }
.card--accent .chips { margin-top: 16px; }
.card--accent .chip { background: #fff; }
@media (max-width: 900px) { .bento { grid-template-columns: 1fr 1fr; } .bento__item--wide { grid-column: span 2; grid-row: auto; min-height: 320px; } }
@media (max-width: 600px) { .bento { grid-template-columns: 1fr; } .bento__item--wide { grid-column: auto; } }

/* ---------- Climate ---------- */
.climate { overflow: hidden; }
.climate__bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 10% 20%, rgba(53, 194, 232, .18), transparent 50%), radial-gradient(ellipse at 90% 90%, rgba(75, 93, 224, .3), transparent 55%); }
.climate .container { position: relative; }
.monitor { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-top: 28px; }
.monitor li { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); color: #fff; font-weight: 500; font-size: 15px; transition: background .3s, transform .3s var(--ease); }
.monitor li:hover { background: rgba(53, 194, 232, .14); transform: translateY(-3px); }
.monitor .ico { width: 24px; height: 24px; color: var(--cyan); }
.climate__params-title { margin: clamp(70px, 9vw, 110px) 0 44px; }
.params { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.param { position: relative; display: grid; justify-items: center; text-align: center; padding: 34px 20px; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.ring, .param__val { grid-row: 1; grid-column: 1; }
.ring { width: 170px; height: 170px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 6; }
.ring .ring__fg { stroke: var(--cyan); stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; transition: stroke-dashoffset 2s var(--ease) .3s; }
.param.is-visible .ring__fg { stroke-dashoffset: calc(326.7 * (1 - var(--p))); }
.param__val { position: relative; font-family: var(--font-display); font-size: 48px; font-weight: 600; color: #fff; line-height: 1; align-self: center; }
.param__val small { font-size: 18px; color: var(--cyan); margin-left: 3px; }
.param__tol { font-family: var(--font-display); color: var(--lime); font-weight: 600; margin: 18px 0 6px; min-height: 1.5em; }
.param p { margin: 0; color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) { .params { grid-template-columns: 1fr; } }
.hvac { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; margin-top: clamp(70px, 9vw, 110px); }
.hvac__media { margin: 0; padding: clamp(14px, 2vw, 24px); border-radius: var(--radius); background: #fff; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); }
.hvac__media img { width: 100%; height: auto; }
.hvac .mini-title { color: rgba(255, 255, 255, .55); }
.hvac__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hvac__list li { display: flex; gap: 12px; padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); transition: background .3s; }
.hvac__list li:hover { background: rgba(53, 194, 232, .12); }
.hvac__num { flex: none; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: var(--cyan); padding-top: 2px; }
.hvac__list strong { display: block; color: #fff; font-family: var(--font-display); font-size: 15.5px; line-height: 1.3; margin-bottom: 3px; }
.hvac__list span:not(.hvac__num) { display: block; font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .65); }
@media (max-width: 1000px) { .hvac { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .hvac__list { grid-template-columns: 1fr; } }

/* ---------- Vibration ---------- */
.wave-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.wave-card { padding: 26px 26px 18px; overflow: hidden; }
.wave-card__head { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.wave-card__head strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: 18px; }
.wave-card__head span { font-size: 14px; color: var(--muted); }
.wave-card__head em { margin-left: auto; font-style: normal; font-family: var(--font-display); font-weight: 700; font-size: 14px; padding: 6px 12px; border-radius: 10px; background: var(--bg-alt); color: var(--ink); white-space: nowrap; }
.dot { width: 12px; height: 12px; border-radius: 50%; margin-top: 6px; flex: none; }
.dot--good { background: #22c08a; box-shadow: 0 0 0 5px rgba(34, 192, 138, .15); }
.dot--warn { background: #f4a33a; box-shadow: 0 0 0 5px rgba(244, 163, 58, .15); }
.wave { width: 100%; height: 120px; background: repeating-linear-gradient(0deg, transparent 0 29px, var(--line) 29px 30px); border-radius: 10px; }
.wave path { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
[data-wave="calm"] path { stroke: #22c08a; }
[data-wave="busy"] path { stroke: #f4a33a; }
.wave-note { grid-column: 1 / -1; text-align: right; font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 800px) { .wave-compare { grid-template-columns: 1fr; } .wave-card__head { flex-wrap: wrap; } .wave-card__head em { margin-left: 24px; } }
.quote { position: relative; margin: 0 0 24px; padding: 34px; border-radius: var(--radius); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: rgba(255, 255, 255, .85); }
.quote::before { content: '“'; position: absolute; right: 24px; top: -10px; font-family: var(--font-display); font-size: 140px; line-height: 1; color: rgba(53, 194, 232, .25); }
.quote h4 { color: #fff; font-size: 21px; }
.quote p { margin: 0; }

/* ---------- Labs tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 28px; }
.tabs button { position: relative; border: 1px solid var(--line); background: #fff; color: var(--ink); padding: 11px 20px; border-radius: 999px; font-weight: 600; font-size: 15px; transition: background .3s, color .3s, transform .3s var(--ease), box-shadow .3s; }
.tabs button:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.tabs button[aria-selected="true"] { background: var(--navy-900); color: #fff; border-color: var(--navy-900); box-shadow: 0 10px 24px -10px rgba(11, 18, 64, .6); }
.lab-panel { display: grid; grid-template-columns: 1.1fr 1fr; padding: 0; overflow: hidden; min-height: 560px; }
.lab-panel__media { position: relative; overflow: hidden; background: var(--bg-alt); }
.lab-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform 1.4s var(--ease); }
.lab-panel:hover .lab-panel__media img { transform: scale(1.04); }
.lab-panel__body { padding: clamp(28px, 4vw, 50px); transition: opacity .35s, transform .35s var(--ease); }
.lab-panel.is-switching .lab-panel__body { opacity: 0; transform: translateY(12px); }
.lab-panel.is-switching .lab-panel__media img { opacity: 0; }
.lab-panel .eyebrow { margin-bottom: 10px; }
.lab-panel .checklist { font-size: 15.5px; }
.conditions { margin-top: 10px; padding: 18px 20px; border-radius: 16px; background: var(--bg-alt); }
.conditions .mini-title { margin-top: 0; }
.conditions__row { display: grid; grid-template-columns: 24px 110px 1fr; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; }
.conditions__row .ico { color: var(--brand-2); width: 22px; height: 22px; }
.conditions__row span { color: var(--muted); }
.conditions__row strong { color: var(--ink); font-family: var(--font-display); font-weight: 600; }
@media (max-width: 900px) { .lab-panel { grid-template-columns: 1fr; } .lab-panel__media { aspect-ratio: 16 / 10; } }
@media (max-width: 480px) { .conditions__row { grid-template-columns: 24px 1fr; } .conditions__row strong { grid-column: 2; } }

/* ---------- Services ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.svc { grid-column: span 2; display: flex; flex-direction: column; overflow: hidden; }
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc h3 { font-size: 21px; }
.svc p { color: var(--muted); font-size: 15.5px; }
.svc .checklist { font-size: 15px; }
.svc--masses { grid-column: span 4; background: linear-gradient(160deg, #fff 40%, #f1f4ff); }
.svc--img { padding: 0; }
.svc--img img { height: 210px; width: 100%; object-fit: cover; transition: transform 1s var(--ease); background: linear-gradient(160deg, #f6f8ff, #eef6fb); }
.svc--img img.contain { object-fit: contain; padding: 16px; }
.svc--img:hover img { transform: scale(1.05); }
.svc__body { padding: 26px 28px 28px; position: relative; }
.svc__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 14px; background: var(--navy-900); color: var(--cyan); margin-bottom: 16px; }
.svc--img .svc__icon { margin-top: -51px; border: 4px solid #fff; width: 58px; height: 58px; }
.svc__icon .ico { width: 24px; height: 24px; }
.svc-grid .svc:nth-child(2) { grid-column: span 2; }
.svc-grid .svc:nth-child(n+3) { grid-column: span 2; }
@media (max-width: 1000px) { .svc-grid { grid-template-columns: 1fr 1fr; } .svc, .svc-grid .svc:nth-child(n) { grid-column: span 1; } .svc--masses { grid-column: 1 / -1 !important; } }
@media (max-width: 640px) { .svc-grid { grid-template-columns: 1fr; } }

.ranges { margin-top: 12px; }
.ranges__head { display: grid; grid-template-columns: 90px 1fr; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 8px; }
.range { display: grid; grid-template-columns: 90px 1fr 140px; align-items: center; gap: 14px; padding: 7px 0; }
.range__cls { font-family: var(--font-display); font-weight: 700; color: var(--ink); font-size: 15px; }
.range__track { position: relative; height: 12px; border-radius: 99px; background: rgba(16, 21, 58, .06); }
.range__bar { position: absolute; top: 0; bottom: 0; left: var(--l); width: var(--w); border-radius: 99px; background: linear-gradient(90deg, var(--cyan), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform 1.3s var(--ease); }
.svc--masses.is-visible .range__bar { transform: scaleX(1); }
.range:nth-child(3) .range__bar { transition-delay: .1s; } .range:nth-child(4) .range__bar { transition-delay: .2s; }
.range:nth-child(5) .range__bar { transition-delay: .3s; } .range:nth-child(6) .range__bar { transition-delay: .4s; }
.range:nth-child(7) .range__bar { transition-delay: .5s; } .range:nth-child(8) .range__bar { transition-delay: .6s; }
.range__lbl { font-size: 14px; color: var(--text); white-space: nowrap; }
.range--axis { padding-top: 0; }
.range__axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }
@media (max-width: 560px) { .range { grid-template-columns: 70px 1fr; } .range__lbl { grid-column: 2; margin-top: -4px; font-size: 13px; } .ranges__head { grid-template-columns: 70px 1fr; } .range--axis > span:last-child { display: none; } }

/* ---------- Growth charts ---------- */
.growth { overflow: hidden; }
.growth::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(75, 93, 224, .35), transparent 60%); }
.growth .container { position: relative; }
.charts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .charts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .charts { grid-template-columns: 1fr; } }
.chart header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; min-height: 64px; }
.chart h3 { font-size: 17px; font-family: var(--font); font-weight: 600; color: #fff; margin: 0; }
.chart__badge { flex: none; padding: 5px 10px; border-radius: 999px; background: rgba(185, 226, 58, .15); color: var(--lime); font-weight: 700; font-size: 13px; font-family: var(--font-display); }
.chart__plot { position: relative; height: 240px; margin-top: 34px; padding-left: 52px; }
.chart__grid { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.chart__grid span { position: relative; height: 0; font-size: 11px; line-height: 0; color: rgba(255, 255, 255, .45); font-family: var(--font-display); }
.chart__grid span::after { content: ''; position: absolute; left: 52px; right: 0; top: 0; border-top: 1px dashed rgba(255, 255, 255, .12); }
.chart__grid span:last-child::after { border-top: 1px solid rgba(255, 255, 255, .3); }
.chart__bars { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; height: 100%; align-items: end; }
.bar { position: relative; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; }
.bar__fill { width: 100%; height: var(--h); min-height: 4px; border-radius: 10px 10px 4px 4px; background: linear-gradient(180deg, var(--cyan), rgba(75, 93, 224, .5)); transform: scaleY(0); transform-origin: bottom; transition: transform 1.4s var(--ease); transition-delay: calc(var(--i) * .15s + .2s); }
.bar:last-child .bar__fill { background: linear-gradient(180deg, var(--lime), var(--cyan)); }
.chart.is-visible .bar__fill { transform: scaleY(1); }
.bar__val { font-family: var(--font-display); font-weight: 600; color: #fff; font-size: 14px; margin-bottom: 6px; opacity: 0; transition: opacity .6s; transition-delay: calc(var(--i) * .15s + 1s); white-space: nowrap; }
.chart.is-visible .bar__val { opacity: 1; }
.bar__year { position: absolute; bottom: -28px; font-size: 13px; color: rgba(255, 255, 255, .55); }
.chart { padding-bottom: 44px; }

/* ---------- Digital ---------- */
.flow { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin: clamp(60px, 8vw, 90px) 0 22px; counter-reset: flow; position: relative; }
.flow::before { content: ''; position: absolute; left: 4%; right: 4%; top: 27px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand-2) 0 8px, transparent 8px 16px); opacity: .35; animation: dash 1.5s linear infinite; background-size: 32px 2px; }
.flow__step { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.flow__num { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%; background: #fff; border: 2px solid var(--brand-2); color: var(--brand); font-family: var(--font-display); font-weight: 700; margin-bottom: 10px; box-shadow: 0 0 0 8px var(--bg); transition: background .4s, color .4s, transform .4s var(--ease); }
.flow__step:hover .flow__num { background: var(--brand-2); color: #fff; transform: scale(1.08); }
.flow__step:last-child .flow__num { background: linear-gradient(135deg, var(--brand-2), var(--cyan)); color: #fff; border-color: transparent; }
.flow__step strong { color: var(--ink); font-family: var(--font-display); font-size: 16px; }
.flow__step span { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
@media (max-width: 900px) { .flow { grid-template-columns: repeat(3, 1fr); row-gap: 30px; } .flow::before { display: none; } }
@media (max-width: 520px) { .flow { grid-template-columns: repeat(2, 1fr); } }
.modules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 50px; }
.module { padding: 20px 22px; border-radius: 16px; background: var(--bg-alt); border: 1px solid var(--line); transition: background .3s, transform .4s var(--ease); }
.module:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--shadow); }
.module strong { display: block; color: var(--ink); font-family: var(--font-display); margin-bottom: 4px; }
.module span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 800px) { .modules { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .modules { grid-template-columns: 1fr; } }
.cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 800px) { .cards2 { grid-template-columns: 1fr; } }
.cards2 .card img { height: 220px; width: 100%; object-fit: cover; border-radius: 14px; margin-bottom: 22px; }
.cards2 .card img.contain { object-fit: contain; background: var(--bg-alt); }
.cards2 h3 { font-size: 22px; }
.steps { counter-reset: s; }
.steps li { counter-increment: s; display: flex; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px dashed var(--line); }
.steps li::before { content: counter(s); width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; font-size: 13px; font-weight: 700; }
.steps li:last-child { border: 0; }

/* ---------- Opening ---------- */
.opening { overflow: hidden; }
.opening__bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 100% 0%, rgba(53, 194, 232, .2), transparent 50%), radial-gradient(ellipse at 0% 100%, rgba(75, 93, 224, .3), transparent 55%); }
.opening .container { position: relative; }
.opening .split--top { margin-top: 0; align-items: center; }
.opening .chips { margin-top: 24px; }
.opening__photos { position: relative; height: 460px; }
.opening__photos img { position: absolute; border-radius: 18px; object-fit: cover; box-shadow: var(--shadow-lg); border: 4px solid rgba(255, 255, 255, .1); transition: transform .8s var(--ease); }
.op-1 { width: 74%; height: 62%; right: 0; top: 0; z-index: 2; }
.op-2 { width: 52%; height: 46%; left: 0; top: 34%; z-index: 3; }
.op-3 { width: 50%; height: 40%; right: 6%; bottom: 0; z-index: 1; }
.opening__photos:hover .op-1 { transform: translate(8px, -8px); }
.opening__photos:hover .op-2 { transform: translate(-10px, 6px) rotate(-2deg); }
.opening__photos:hover .op-3 { transform: translate(6px, 10px); }
@media (max-width: 600px) { .opening__photos { height: 340px; } }

/* ---------- Video ---------- */
.video { position: relative; margin-top: clamp(50px, 7vw, 80px); border-radius: 26px; overflow: hidden; background: #000; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); aspect-ratio: 16 / 9; }
.video video { width: 100%; height: 100%; object-fit: cover; }
.video__play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; border: 0; background: linear-gradient(0deg, rgba(6, 10, 38, .75), rgba(6, 10, 38, .2)); color: #fff; transition: opacity .5s, visibility .5s; }
.video__btn { position: relative; width: 96px; height: 96px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--brand); transition: transform .4s var(--ease); }
.video__btn::before { content: ''; position: absolute; inset: -12px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: pulse 2.4s ease-out infinite; }
.video__btn .ico { width: 36px; height: 36px; margin-left: 5px; }
.video__play:hover .video__btn { transform: scale(1.1); }
.video__title { font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 26px); font-weight: 600; text-align: center; padding: 0 20px; }
.video.is-playing .video__play { opacity: 0; visibility: hidden; }
@media (max-width: 600px) { .video__btn { width: 70px; height: 70px; } .video { border-radius: 16px; } }

/* ---------- Symposium ---------- */
.countries { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: 10px; }
.countries__label { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.countries .chips { justify-content: center; }
.days__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 30px; }
.days__tabs button { position: relative; text-align: left; padding: 20px 24px; border-radius: 18px; border: 1px solid var(--line); background: var(--bg-alt); color: var(--ink); overflow: hidden; transition: background .3s, color .3s, transform .3s var(--ease); }
.days__tabs button::after { content: ''; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--cyan), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease); }
.days__tabs button:hover { transform: translateY(-3px); }
.days__tabs button[aria-selected="true"] { background: var(--navy-900); color: #fff; }
.days__tabs button[aria-selected="true"]::after { transform: scaleX(1); }
.days__num { display: block; font-family: var(--font-display); font-size: clamp(20px, 2.4vw, 28px); font-weight: 600; }
.days__date { font-size: 14px; opacity: .7; }
@media (max-width: 560px) { .days__tabs { gap: 6px; } .days__tabs button { padding: 14px 12px; } .days__date { font-size: 12px; } }
.day--in { animation: dayin .6s var(--ease); }
.day__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(30px, 5vw, 60px); align-items: start; }
@media (max-width: 900px) { .day__grid { grid-template-columns: 1fr; } }
.day__text .checklist { margin: 20px 0 28px; }
.day__media { min-width: 0; }
.video--day { margin-top: 0; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.video--day .video__btn { width: 76px; height: 76px; }
.video--day .video__btn .ico { width: 30px; height: 30px; }
.video__title small { display: block; margin-top: 4px; font-size: .7em; font-weight: 500; opacity: .75; }
.day__short { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand); text-decoration: none; }
.day__short:hover { text-decoration: underline; }
.day__short .ico:first-child { color: #ff0000; width: 20px; height: 20px; }
.gallery__title { margin-top: 50px; }
.gallery__title span { color: var(--brand-2); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 800px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 520px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
.gallery__item { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 3 / 2; background: var(--bg-alt); }
.gallery__item:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery__item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 18, 64, .45), transparent 60%); opacity: 0; transition: opacity .4s; }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__more { border: 0; border-radius: 14px; aspect-ratio: 3 / 2; background: linear-gradient(135deg, var(--brand-2), var(--navy-900)); color: #fff; font-family: var(--font-display); font-size: 32px; font-weight: 600; transition: transform .3s var(--ease), filter .3s; }
.gallery__more:hover { transform: scale(1.03); filter: brightness(1.15); }

/* ---------- Download ---------- */
.download { background: linear-gradient(140deg, var(--navy-950), var(--navy-800) 55%, var(--brand)); color: rgba(255, 255, 255, .8); overflow: hidden; }
.download::before { content: ''; position: absolute; width: 700px; height: 700px; right: -200px; top: -250px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); box-shadow: 0 0 0 80px rgba(255, 255, 255, .02), 0 0 0 160px rgba(255, 255, 255, .015); animation: spin 60s linear infinite; }
.download h2 { color: #fff; }
.download .lead { color: rgba(255, 255, 255, .85); }
.download__box { position: relative; display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: center; }
@media (max-width: 900px) { .download__box { grid-template-columns: 1fr; } }
.brochures { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 480px) { .brochures { grid-template-columns: 1fr; } }
.brochure { padding: 14px; border-radius: 22px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); transition: transform .4s var(--ease), box-shadow .4s; will-change: transform; }
.brochure:hover { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6); }
.brochure__cover { position: relative; aspect-ratio: 1245 / 1759; border-radius: 14px; overflow: hidden; }
.brochure__cover img { width: 100%; height: 100%; object-fit: cover; }
.brochure__cover::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 10, 38, .85), transparent 45%); }
.brochure__lang { position: absolute; z-index: 1; top: 12px; left: 12px; padding: 5px 10px; border-radius: 8px; background: #fff; color: var(--navy-900); font-weight: 800; font-size: 13px; }
.brochure__name { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 16px; color: #fff; font-family: var(--font-display); font-size: 21px; font-weight: 600; line-height: 1.15; }
.brochure__meta { display: flex; justify-content: space-between; font-size: 13px; padding: 14px 4px 10px; color: rgba(255, 255, 255, .7); }
.brochure__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.brochure__actions .btn { flex: 1; justify-content: center; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
.contact__text .checklist { margin: 8px 0 30px; }
.contact__direct { display: flex; align-items: center; gap: 18px; padding: 22px 24px; }
.contact__direct .ico--lg { color: var(--brand-2); }
.contact__direct span { display: block; font-size: 14px; color: var(--muted); }
.contact__email { font-family: var(--font-display); font-size: clamp(18px, 2vw, 22px); font-weight: 600; color: var(--brand); text-decoration: none; overflow-wrap: anywhere; }
.contact__email:hover { text-decoration: underline; }
.form { display: grid; gap: 16px; }
.form__topics { border: 0; margin: 0; padding: 0; min-width: 0; }
.form__topics legend { margin-top: 0; padding: 0; }
.form__radios { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { position: relative; cursor: pointer; }
.radio input { position: absolute; opacity: 0; pointer-events: none; }
.radio span { display: inline-flex; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-alt); font-size: 14.5px; font-weight: 600; color: var(--ink); transition: background .3s, color .3s, border-color .3s; }
.radio:hover span { border-color: var(--brand-2); }
.radio input:checked + span { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.radio input:focus-visible + span { outline: 3px solid var(--cyan); outline-offset: 2px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 6px; min-width: 0; }
.field[hidden] { display: none; }
.field > span { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 16px; color: var(--ink); padding: 12px 14px; border-radius: 12px; border: 1px solid rgba(16, 21, 58, .16); background: #fff; transition: border-color .25s, box-shadow .25s; }
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand-2); box-shadow: 0 0 0 4px rgba(75, 93, 224, .15); }
.field.is-invalid input, .field.is-invalid select, .field.is-invalid textarea { border-color: #d6455d; box-shadow: 0 0 0 4px rgba(214, 69, 93, .12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; line-height: 1.5; color: var(--muted); cursor: pointer; }
.consent input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--brand); }
.consent.is-invalid { color: #d6455d; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 4px; }
.form__foot .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.form__status { margin: 0; font-size: 14.5px; font-weight: 500; flex: 1 1 220px; }
.form__status--ok { color: #13915f; }
.form__status--error { color: #d6455d; }
.form__status--info { color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--navy-950); color: rgba(255, 255, 255, .62); font-size: 14px; }
.footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.footer a:hover { color: var(--cyan); }
.footer__top { display: grid; grid-template-columns: 300px 1fr; gap: 60px; padding: 70px 0 50px; }
.footer__brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer__brand p { color: #fff; font-family: var(--font-display); font-size: 17px; line-height: 1.35; margin-bottom: 14px; }
.footer__brand address { font-style: normal; line-height: 1.7; }
.footer__badges { display: flex; align-items: center; gap: 16px; margin-top: 22px; }
.footer__badges img { height: 64px; width: auto; border-radius: 8px; background: #fff; padding: 4px; }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 30px 26px; }
.footer__col h4 { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 14px; }
.footer__col li { margin-bottom: 8px; line-height: 1.35; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 30px; padding: 24px 0 30px; border-top: 1px solid rgba(255, 255, 255, .08); }
.footer__bottom p { margin: 0; }
.footer__bottom nav { display: flex; flex-wrap: wrap; gap: 22px; }
.linklike { border: 0; padding: 0; background: none; color: rgba(255, 255, 255, .8); font: inherit; }
.linklike:hover { color: var(--cyan); }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr; gap: 40px; } }

.to-top { position: fixed; z-index: 80; right: 22px; bottom: 22px; width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; background: var(--navy-900); color: #fff; box-shadow: var(--shadow-lg); transform: translateY(100px); transition: transform .5s var(--ease), background .3s; }
.to-top .ico { transform: rotate(-90deg); }
.to-top.is-visible { transform: none; }
.to-top:hover { background: var(--brand-2); }

/* ---------- Lightbox ---------- */
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(4, 7, 26, .95); color: #fff; }
.lightbox[open] { display: flex; align-items: center; justify-content: center; animation: fadein .3s; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; max-width: min(1400px, 90vw); text-align: center; }
.lightbox img { max-height: 82vh; width: auto; margin: 0 auto; border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lightbox figcaption { margin-top: 14px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.lightbox__close, .lightbox__nav { position: absolute; width: 54px; height: 54px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: background .3s; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgba(255, 255, 255, .22); }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__nav--prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox__nav--next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .ico { width: 26px; height: 26px; }
@media (max-width: 600px) { .lightbox__nav { top: auto; bottom: 20px; transform: none; } }

.noscript { position: fixed; inset: auto 0 0; padding: 16px; text-align: center; background: #fff; color: var(--ink); z-index: 999; }

/* ==========================================================================
   Laboratorium (podstrony połączone z dawną stroną laboratorium.radwag.pl)
   ========================================================================== */

/* ---------- Przyciski dodatkowe ---------- */
.btn--xs { padding: 7px 14px; font-size: 13px; gap: 7px; }
.btn--xs .ico { width: 15px; height: 15px; }
.btn--accent { background: var(--lime); color: var(--navy-950); box-shadow: 0 10px 26px -12px rgba(185, 226, 58, .8); }
.btn--accent:hover { background: #c9ef4d; }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--outline-light:hover { background: rgba(255, 255, 255, .12); }
.btn--outline-dark { background: #fff; color: var(--ink); border-color: rgba(16, 21, 58, .2); }
.btn--outline-dark:hover { border-color: var(--brand-2); color: var(--brand); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Strona główna: usługi laboratorium ---------- */
.offer__head { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 60px; align-items: end; }
.offer__head .lead { margin: 0 0 8px; }
.offer__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.offer-card { display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.offer-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.offer-card img { height: 190px; width: 100%; object-fit: cover; background: var(--bg-alt); transition: transform 1s var(--ease); }
.offer-card:hover img { transform: scale(1.05); }
.offer-card__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 26px 24px 24px; }
.offer-card__icon { position: absolute; top: -29px; left: 24px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--navy-900); color: var(--cyan); border: 4px solid #fff; }
.offer-card__icon .ico { width: 24px; height: 24px; }
.offer-card h3 { font-size: 20px; margin-top: 14px; }
.offer-card p { font-size: 15px; color: var(--muted); flex: 1; }
.offer-card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--brand); transition: gap .3s var(--ease); }
.offer-card:hover .offer-card__more { gap: 14px; }
.cta-band { margin-top: 40px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px 40px; padding: 30px 36px; border-radius: var(--radius); background: linear-gradient(140deg, var(--navy-950), var(--navy-800) 60%, var(--brand)); color: rgba(255, 255, 255, .8); }
.cta-band h3 { color: #fff; font-size: 24px; margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-band__badges { display: flex; gap: 14px; align-items: center; }
.cta-band__badges img { height: 78px; width: auto; border-radius: 10px; background: #fff; padding: 5px; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.lab-card__link { align-self: flex-start; margin: -8px 0 22px; }
.contact__all { margin-top: 26px; }
@media (max-width: 1100px) { .offer__grid { grid-template-columns: 1fr 1fr; } .cta-band { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .offer__head { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .offer__grid { grid-template-columns: 1fr; } }

/* ---------- Nagłówek podstrony ---------- */
.page-hero { position: relative; overflow: hidden; color: #fff; background: var(--navy-950); padding: calc(var(--header-h) + clamp(50px, 7vw, 90px)) 0 clamp(60px, 8vw, 100px); }
.page-hero__bg { position: absolute; inset: 0; }
.page-hero__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(6, 10, 38, .96) 0%, rgba(8, 14, 56, .82) 50%, rgba(11, 18, 64, .45) 100%); }
.page-hero .hero__grid { -webkit-mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 60%); mask-image: radial-gradient(ellipse at 20% 40%, #000 0%, transparent 60%); }
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(38px, 5.6vw, 72px); font-weight: 600; line-height: 1.02; letter-spacing: -.025em; color: #fff; max-width: 900px; margin-bottom: 22px; }
.page-hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--cyan), #9aa8ff 60%, var(--lime)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero .lead { color: rgba(255, 255, 255, .86); max-width: 720px; }
.page-hero .btn-row { margin-top: 32px; }
.page-hero__badges { display: flex; gap: 14px; margin-top: 34px; }
.page-hero__badges img { height: 84px; width: auto; border-radius: 10px; background: #fff; padding: 5px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 26px; }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span::before { content: '/'; margin-right: 8px; opacity: .5; }

/* ---------- Treść podstron ---------- */
.prose { color: var(--text); }
.prose h2 { font-size: clamp(28px, 3.4vw, 42px); font-weight: 600; }
.prose h3 { font-size: 21px; margin-top: 30px; }
.prose ul { margin: 0 0 1.2em; }
.prose li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.prose li::before { content: ''; position: absolute; left: 4px; top: .6em; width: 8px; height: 8px; border-radius: 2px; background: linear-gradient(135deg, var(--cyan), var(--brand-2)); transform: rotate(45deg); }
.prose .paid { display: inline-block; font-size: 13px; font-weight: 600; color: var(--brand); background: rgba(75, 93, 224, .1); padding: 3px 10px; border-radius: 999px; margin-bottom: 10px; }
.note { display: flex; gap: 14px; align-items: flex-start; padding: 18px 22px; border-radius: 16px; background: var(--bg-alt); border-left: 4px solid var(--cyan); margin-bottom: 24px; }
.note .ico { width: 22px; height: 22px; color: var(--brand-2); flex: none; margin-top: 3px; }
.note p { margin: 0; }

.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.feature + .feature { margin-top: clamp(60px, 8vw, 110px); }
.feature--rev .feature__media { order: 2; }
.feature__media { margin: 0; position: relative; }
.feature--long { align-items: start; }
.feature--long .feature__media { position: sticky; top: calc(var(--header-h) + 30px); }
@media (max-width: 900px) { .feature--long .feature__media { position: relative; top: 0; max-width: 420px; } }
.feature__media img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--bg-alt); }
.feature__media--contain img { object-fit: contain; box-shadow: none; background: transparent; max-height: 520px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature--rev .feature__media { order: 0; } }

.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.cards-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 1000px) { .cards-3, .cards-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-3, .cards-4 { grid-template-columns: 1fr; } }

.svc-pick { text-align: center; text-decoration: none; display: flex; flex-direction: column; align-items: center; }
.svc-pick img { width: 150px; height: 150px; object-fit: contain; margin-bottom: 18px; transition: transform .6s var(--ease); }
.svc-pick:hover img { transform: scale(1.06) rotate(-2deg); }
.svc-pick h3 { font-size: 21px; }
.svc-pick span { color: var(--brand); font-weight: 600; display: inline-flex; gap: 8px; align-items: center; }

.steps4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: st; margin: 40px 0; }
.steps4 li { position: relative; padding: 30px 24px 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.steps4 li::before { counter-increment: st; content: '0' counter(st); display: block; font-family: var(--font-display); font-size: 44px; font-weight: 600; line-height: 1; margin-bottom: 14px; background: linear-gradient(90deg, var(--brand-2), var(--cyan)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.steps4 li:not(:last-child)::after { content: ''; position: absolute; top: 50px; right: -18px; width: 14px; height: 2px; background: var(--brand-2); opacity: .4; }
@media (max-width: 900px) { .steps4 { grid-template-columns: 1fr 1fr; } .steps4 li::after { display: none; } }
@media (max-width: 520px) { .steps4 { grid-template-columns: 1fr; } }

.docs { display: flex; flex-wrap: wrap; gap: 12px; }
.doc { display: inline-flex; align-items: center; gap: 12px; padding: 14px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-weight: 600; color: var(--ink); transition: border-color .3s, transform .3s var(--ease); }
.doc:hover { border-color: var(--brand-2); transform: translateY(-2px); }
.doc .ico { width: 22px; height: 22px; color: var(--brand-2); }
.doc small { display: block; font-weight: 500; color: var(--muted); font-size: 12px; }

/* ---------- Tabela zakresu akredytacji ---------- */
.accr-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 26px; }
.accr-head .tabs { justify-content: flex-start; margin: 0; }
.accr__issue { font-size: 14px; color: var(--muted); }
.accr__panel { display: grid; gap: 16px; }
.accr__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; border-radius: 18px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.accr__row header { padding: 22px 24px; background: var(--bg-alt); }
.accr__row h4 { font-size: 18px; margin-bottom: 14px; }
.accr__row dl { margin: 0; display: grid; gap: 10px; font-size: 14px; }
.accr__row dt { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.accr__row dd { margin: 2px 0 0; color: var(--ink); }
.accr__place { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--navy-900); color: #fff; font-weight: 700; font-size: 13px; }
.accr__table { width: 100%; border-collapse: collapse; font-size: 14.5px; font-variant-numeric: tabular-nums; }
.accr__table th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); padding: 14px 20px 10px; border-bottom: 1px solid var(--line); }
.accr__table td { padding: 7px 20px; border-bottom: 1px dashed var(--line); color: var(--ink); }
.accr__table tr:last-child td { border-bottom: 0; }
.accr__table td:last-child { font-weight: 600; font-family: var(--font-display); }
.accr__note { grid-column: 1 / -1; margin: 0; padding: 10px 24px 14px; font-size: 13px; color: var(--muted); border-top: 1px solid var(--line); }
.accr-legend { margin-top: 24px; font-size: 14px; color: var(--muted); display: grid; gap: 4px; }
@media (max-width: 760px) { .accr__row { grid-template-columns: 1fr; } }

/* ---------- Partnerzy / jednostki notyfikowane ---------- */
.partners { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.partner { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; padding: 24px 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); min-height: 170px; }
.partner img { max-height: 70px; max-width: 140px; width: auto; object-fit: contain; }
.partner span { font-size: 14px; font-weight: 600; color: var(--ink); line-height: 1.35; }

/* ---------- Szkolenia ---------- */
.webinar { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.webinar img { height: 190px; width: 100%; object-fit: cover; }
.webinar__body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.webinar__tag { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); background: rgba(75, 93, 224, .1); padding: 4px 10px; border-radius: 999px; margin-bottom: 12px; }
.webinar small { color: var(--muted); }
.webinar h3 { font-size: 21px; margin: 4px 0 18px; flex: 1; }

/* ---------- Kwalifikacje ---------- */
.qual { position: relative; padding-top: 70px; }
.qual__badge { position: absolute; top: -26px; left: 28px; width: 80px; height: 80px; display: grid; place-items: center; border-radius: 22px; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: #fff; background: linear-gradient(135deg, var(--brand-2), var(--navy-800)); box-shadow: 0 16px 30px -12px rgba(44, 58, 168, .7); }
.qual h3 { font-size: 21px; }
.qual p { color: var(--muted); margin: 0; }
.qual-grid { margin-top: 40px; }
.contact-person { display: flex; align-items: center; gap: 22px; padding: 28px 30px; }
.contact-person .person__avatar { width: 70px; height: 70px; font-size: 22px; }
.contact-person strong { display: block; font-family: var(--font-display); font-size: 22px; color: var(--ink); }
.contact-person a { color: var(--brand); text-decoration: none; font-weight: 600; }

/* ---------- O nas ---------- */
.quote-card { position: relative; padding: clamp(30px, 4vw, 46px); border-radius: var(--radius); background: linear-gradient(150deg, var(--navy-800), var(--navy-950)); color: rgba(255, 255, 255, .86); }
.quote-card::before { content: '“'; position: absolute; right: 26px; top: -18px; font-family: var(--font-display); font-size: 160px; line-height: 1; color: rgba(53, 194, 232, .25); }
.quote-card p { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.55; color: #fff; }
.quote-card .person { border-color: rgba(255, 255, 255, .12); }
.quote-card .person strong { color: #fff; }
.quote-card .person span { color: rgba(255, 255, 255, .6); }
.units { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.units li { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--line); font-weight: 600; color: var(--ink); }
.units li::before { content: ''; width: 12px; height: 12px; border-radius: 3px; transform: rotate(45deg); background: linear-gradient(135deg, var(--cyan), var(--brand-2)); flex: none; }
.chrono { position: relative; display: grid; gap: 0; padding-left: 34px; }
.chrono::before { content: ''; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--cyan), var(--brand-2)); opacity: .5; }
.chrono li { position: relative; padding-bottom: 26px; }
.chrono li::before { content: ''; position: absolute; left: -32px; top: 5px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 4px solid var(--brand-2); }
.chrono b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--brand); margin-bottom: 4px; }
.chrono p { margin: 0; }
.tour { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; padding: clamp(30px, 4vw, 50px); border-radius: var(--radius); background: linear-gradient(140deg, var(--navy-950), var(--navy-800) 55%, var(--brand)); color: rgba(255, 255, 255, .82); overflow: hidden; }
.tour h2 { color: #fff; }
.tour img { border-radius: 18px; box-shadow: 0 30px 60px -25px rgba(0, 0, 0, .6); }
@media (max-width: 800px) { .units { grid-template-columns: 1fr; } .tour { grid-template-columns: 1fr; } }

/* ---------- Kontakt ---------- */
.contact-main { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.contact-main address { font-style: normal; font-size: 18px; line-height: 1.7; }
.contact-main address strong { display: block; font-family: var(--font-display); font-size: 26px; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
.contact-lines { display: grid; gap: 10px; margin-top: 18px; }
.contact-lines a { display: inline-flex; align-items: center; gap: 12px; font-weight: 600; color: var(--brand); text-decoration: none; font-size: 18px; }
.contact-lines .ico { width: 22px; height: 22px; }
.contact-main img { width: 100%; max-width: 620px; justify-self: end; filter: grayscale(.2); }
.depts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.dept h3 { font-size: 19px; margin-bottom: 12px; }
.dept p { font-size: 15px; margin: 0 0 12px; color: var(--muted); }
.dept a { display: block; color: var(--brand); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 4px; overflow-wrap: anywhere; }
.branch-pick { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 26px; }
.branch-pick label { font-weight: 600; color: var(--ink); }
.branch-pick select { font: inherit; padding: 12px 16px; border-radius: 12px; border: 1px solid rgba(16, 21, 58, .2); background: #fff; min-width: 240px; }
.branches { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.branch[hidden] { display: none; }
.branch h3 { font-size: 18px; margin-bottom: 6px; }
.branch p { font-size: 15px; color: var(--muted); margin: 0 0 12px; }
.branch a { display: flex; align-items: center; gap: 10px; color: var(--brand); text-decoration: none; font-weight: 600; font-size: 15px; margin-bottom: 4px; }
.branch .ico { width: 17px; height: 17px; }
@media (max-width: 1000px) { .depts { grid-template-columns: 1fr 1fr; } .contact-main { grid-template-columns: 1fr; } .contact-main img { justify-self: start; } }
@media (max-width: 560px) { .depts { grid-template-columns: 1fr; } }

/* ---------- Cookies ---------- */
.cookies { position: fixed; z-index: 120; left: 16px; right: 16px; bottom: 16px; max-width: 880px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 24px; border-radius: 20px; background: #fff; color: var(--text); box-shadow: 0 30px 80px -20px rgba(6, 10, 38, .5); border: 1px solid var(--line); font-size: 14.5px; }
.cookies[hidden] { display: none; }
.cookies p { margin: 0; flex: 1 1 380px; }
.cookies a { color: var(--brand); }
.cookies__actions { display: flex; gap: 10px; }

/* ---------- Keyframes ---------- */
@keyframes kenburns { from { transform: scale(1.08) translate3d(0, 0, 0); } to { transform: scale(1.14) translate3d(-2%, -1.5%, 0); } }
@keyframes gridmove { to { transform: translate3d(64px, 64px, 0); } }
@keyframes float { to { transform: translate3d(10vmax, 6vmax, 0); } }
@keyframes shine { to { background-position: 100% 0; } }
@keyframes pulse { 0% { transform: scale(.8); opacity: 1; } 100% { transform: scale(1.8); opacity: 0; } }
@keyframes drip { 0% { top: -30px; } 100% { top: 60px; } }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
@keyframes bob { 50% { transform: translateY(-10px); } }
@keyframes dash { to { background-position: 32px 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes fadein { from { opacity: 0; } }
@keyframes dayin { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Zakres akredytacji – zawsze widoczny, bez animacji pojawiania się */
#akredytacja .reveal, #akredytacja #accr { opacity: 1 !important; transform: none !important; }
