/* ======================================================
   TUDORMED — Light Medical Theme
   ====================================================== */

/* orbitron-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Orbitron';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/orbitron-v35-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* inter-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/inter-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* science-gothic-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Science Gothic';
  font-style: normal;
  font-weight: 400;
  src: url('/fonts/science-gothic-v5-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}


:root {
    /* Brand palette — light, airy, futuristic */
    --bg: #f4f8fc;
    --bg-soft: #ffffff;
    --bg-mute: #eaf2fb;
    --bg-tint: #e3edf7;

    --ink: #0e1b2c;
    --ink-soft: #3b4a60;
    --ink-mute: #6c7a8e;

    --accent: #3a86ff;
    --accent-2: #5ee7df;
    --accent-3: #8a5cf6;
    --accent-grad: linear-gradient(135deg, #5ee7df 0%, #3a86ff 60%, #8a5cf6 100%);
    --accent-grad-soft: linear-gradient(135deg, rgba(94,231,223,.18), rgba(58,134,255,.18));

    --border: rgba(58, 134, 255, 0.16);
    --border-strong: rgba(58, 134, 255, 0.32);

    --shadow-sm: 0 2px 8px rgba(20, 50, 100, 0.06);
    --shadow: 0 8px 30px rgba(20, 50, 100, 0.08);
    --shadow-lg: 0 20px 60px rgba(20, 50, 100, 0.12);
    --shadow-glow: 0 8px 28px rgba(58, 134, 255, 0.28);

    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --font-display: 'Science Gothic', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --container: 1200px;
    --transition: 0.32s cubic-bezier(.22, 1, .36, 1);
}

/* ============== Reset / Base ============== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--bg);
    background-image:
        radial-gradient(at 12% 8%, rgba(94, 231, 223, 0.16) 0, transparent 45%),
        radial-gradient(at 92% 18%, rgba(138, 92, 246, 0.12) 0, transparent 45%),
        radial-gradient(at 80% 90%, rgba(58, 134, 255, 0.10) 0, transparent 45%);
    background-attachment: fixed;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    min-width: 440px;

}

img, svg { display: block; max-width: 100%; }

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--transition);
}
a:hover { color: var(--accent-3); }

h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ink);
    line-height: 1.18;
    letter-spacing: 0.01em;
    margin: 0 0 0.6em;
    font-weight: 500;
}

p { margin: 0 0 1em; color: var(--ink-soft); }

/* ============== Top Bar ============== */
.topbar {
    background: linear-gradient(90deg, #0e1b2c, #1a2a44);
    color: #e7eef9;
    font-size: 13px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 8px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.topbar a { color: #cfe0ff; display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: var(--accent-2); }
.pulse-dot {
    width: 8px; height: 8px; border-radius: 50%;
    display: inline-block;
    background: #2ecc71;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.6);
    animation: pulse-open 2s infinite;
}
.pulse-dot.closed {
    background: #e74c3c;
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.6);
    animation: pulse-closed 2s infinite;
}
@keyframes pulse-open {
    0%   { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}
@keyframes pulse-closed {
    0%   { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.55); }
    70%  { box-shadow: 0 0 0 10px rgba(231, 76, 60, 0); }
    100% { box-shadow: 0 0 0 0 rgba(231, 76, 60, 0); }
}

/* ============== Header ============== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(244, 248, 252, 0.78);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-bottom: 1px solid var(--border);
    transition: padding var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-sm);
    background: rgba(255, 255, 255, 0.85);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-logo {
    width: 44px; height: 44px;
    display: grid; place-items: center;
/*	
    background: white;
	
    border: 0px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
	
    transition: transform var(--transition), box-shadow var(--transition);
	*/
}
.brand:hover .brand-logo { transform: rotate(-6deg) scale(1.05); /*box-shadow: var(--shadow-glow); */}
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    color: var(--ink);
    letter-spacing: 0.04em;
}
.brand-tag {
    font-size: 10px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}

.main-nav {
    display: flex;
    gap: 6px;
    margin-left: auto;
}
.main-nav a {
    color: var(--ink-soft);
    font-weight: 500;
    font-size: 14.5px;
    padding: 9px 14px;
    border-radius: 10px;
    position: relative;
    transition: background var(--transition), color var(--transition);
}
.main-nav a:hover { color: var(--accent); background: var(--bg-mute); }
.main-nav a::after {
    content: '';
    position: absolute;
    left: 14px; right: 14px; bottom: 4px;
    height: 2px;
    background: var(--accent-grad);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.cta-button {
    background: var(--accent-grad);
    color: white !important;
    padding: 11px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-glow);
    transition: transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(58, 134, 255, 0.4);
}

.menu-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    width: 42px; height: 42px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============== Hero Slider ============== */
.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: 620px;
    background:
        radial-gradient(ellipse at top right, rgba(94, 231, 223, 0.25), transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(58, 134, 255, 0.18), transparent 50%),
        linear-gradient(180deg, #f0f6ff 0%, #e6f0fb 100%);
}

.slider-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(58, 134, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 134, 255, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    pointer-events: none;
}
.slider-glow {
    position: absolute;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(94, 231, 223, 0.35), transparent 60%);
    top: -200px; right: -200px;
    border-radius: 50%;
    filter: blur(40px);
    pointer-events: none;
    animation: floatGlow 42s ease-in-out infinite alternate;
}
@keyframes floatGlow {
    0%   { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-80px, 60px) scale(1.15); }
}

.slides {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    padding: 70px 24px;
    min-height: 820px;
}

.slide {
    position: absolute;
    inset: 70px 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 2.7s ease, visibility 0s linear 2.7s;
}
.slide.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity 2.7s ease, visibility 0s linear 0s;
}

/* Subtle inner reveal for active slide content (no transform conflict with inner animations) */
.slide .slide-content > * {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1.8s ease, transform 1.8s cubic-bezier(.2,.8,.2,1);
}
.slide.active .slide-content > * { opacity: 1; transform: none; }
.slide.active .slide-content > *:nth-child(1) { transition-delay: 0.30s; }
.slide.active .slide-content > *:nth-child(2) { transition-delay: 0.54s; }
.slide.active .slide-content > *:nth-child(3) { transition-delay: 0.78s; }
.slide.active .slide-content > *:nth-child(4) { transition-delay: 1.02s; }

/* Pause inner motion on inactive slides so nothing "jumps" when becoming active */
.slide:not(.active) .hex,
.slide:not(.active) .hex-core,
.slide:not(.active) .float-card,
.slide:not(.active) .slider-glow,
.slide:not(.active) .neuro-aura,
.slide:not(.active) .neuro-ring,
.slide:not(.active) .neuro-nodes circle,
.slide:not(.active) .neuro-soma,
.slide:not(.active) .eeg-line { animation-play-state: paused; }

.eyebrow {
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-weight: 600;
    color: var(--accent);
    background: var(--accent-grad-soft);
    padding: 7px 14px 6px;
    border-radius: 999px;
    margin-bottom: 18px;
    border: 1px solid var(--border);
}

.slide h1 {
    font-size: clamp(34px, 4.6vw, 58px);
    font-weight: 800;
    margin: 0 0 22px;
    line-height: 1.05;
}
.grad-text {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.slide p {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 480px;
    margin: 0 0 30px;
}

.slide-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary, .btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 26px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    border: 0px solid transparent;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
    text-align: center;
}
.btn-primary {
    background: var(--accent-grad);
    color: white;
    box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 14px 38px rgba(58, 134, 255, 0.42);
}
.btn-primary.full { width: 100%; }
.btn-ghost {
    background: rgba(255, 255, 255, 0.7);
    color: var(--ink);
    border-color: var(--border);
    backdrop-filter: blur(8px);
}
.btn-ghost:hover {
    background: white;
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* Slide visuals */
.slide-visual { display: grid; place-items: center; min-height: 360px; }

.hex-orbit {
    position: relative;
    width: 360px; height: 360px;
    display: grid;
    place-items: center;
}
.hex-orbit .hex {
    position: absolute;
    top: 50%; left: 50%;
    border: 2px dashed rgba(58, 134, 255, 0.22);
    border-radius: 50%;
    transform-origin: center;
    animation: spin 5s linear infinite;
    will-change: transform;
}
.hex-orbit .hex-1 { width: 320px; height: 320px; margin: -160px 0 0 -160px; }
.hex-orbit .hex-2 {
    width: 240px; height: 240px; margin: -120px 0 0 -120px;
    animation-duration: 25s; animation-direction: reverse;
    border-style: solid; border-color: rgba(94, 231, 223, 0.28);
}
.hex-orbit .hex-3 {
    width: 170px; height: 170px; margin: -85px 0 0 -85px;
    animation-duration: 15s; border-color: rgba(138, 92, 246, 0.20);
}
.hex-orbit .hex::before {
    content: '';
    position: absolute;
    width: 12px; height: 12px;
    background: var(--accent-grad);
    border-radius: 50%;
    top: -6px; left: 50%;
    margin-left: -6px;
    box-shadow: 0 0 14px rgba(58, 134, 255, 0.7);
}
.hex-core {
    position: relative;
    z-index: 2;
    width: 160px; height: 160px;
    background: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg), 0 0 0 8px rgba(255, 255, 255, 0.7), 0 0 0 1px var(--border);
    display: grid;
    place-items: center;
    animation: bob 5s ease-in-out infinite;
    will-change: transform;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes bob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}

.card-stack {
    position: relative;
    width: 320px; height: 360px;
}
.float-card {
    position: absolute;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 220px;
    will-change: transform;
}
.float-card .ic { font-size: 24px; }
.float-card strong { font-size: 16px; }
.float-card small { color: var(--ink-mute); font-size: 13px; }
.float-card.c1 { top: 10px;  left: 10px; animation: floatCardA 2s ease-in-out infinite; }
.float-card.c2 { top: 130px; left: 80px; animation: floatCardB 4s ease-in-out infinite 1.6s; }
.float-card.c3 { top: 250px; left: 30px; animation: floatCardC 3s ease-in-out infinite 4.2s; }
@keyframes floatCardA {
    0%, 100% { transform: translateY(0)    rotate(0deg);  }
    50%      { transform: translateY(-8px) rotate(0deg);  }
}
@keyframes floatCardB {
    0%, 100% { transform: translateY(0)    rotate(-2deg); }
    50%      { transform: translateY(-8px) rotate(-2deg); }
}
@keyframes floatCardC {
    0%, 100% { transform: translateY(0)    rotate(2deg);  }
    50%      { transform: translateY(-8px) rotate(2deg);  }
}

/* ============== Neuro animation (slide 3) ============== */
.neuro-anim {
    position: relative;
    width: 340px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    filter: drop-shadow(0 12px 36px rgba(58, 134, 255, 0.22));
}
.neuro-anim > svg:first-child { will-change: transform; }

.neuro-aura {
    transform-origin: 160px 160px;
    animation: neuroPulse 7s ease-in-out infinite;
}
@keyframes neuroPulse {
    0%, 100% { transform: scale(1);    opacity: 0.85; }
    50%      { transform: scale(1.08); opacity: 1;    }
}

.neuro-ring {
    transform-origin: 160px 160px;
    animation: neuroSpin 90s linear infinite;
}
.neuro-ring.rev {
    animation: neuroSpin 70s linear infinite reverse;
}
@keyframes neuroSpin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

.neuro-nodes circle {
    transform-origin: center;
    transform-box: fill-box;
    animation: neuroBlink 4.5s ease-in-out infinite;
}
.neuro-nodes circle:nth-child(1) { animation-delay: 0s; }
.neuro-nodes circle:nth-child(2) { animation-delay: 0.7s; }
.neuro-nodes circle:nth-child(3) { animation-delay: 1.4s; }
.neuro-nodes circle:nth-child(4) { animation-delay: 2.1s; }
.neuro-nodes circle:nth-child(5) { animation-delay: 2.8s; }
.neuro-nodes circle:nth-child(6) { animation-delay: 3.5s; }
@keyframes neuroBlink {
    0%, 100% { transform: scale(1);   opacity: 0.85; filter: drop-shadow(0 0 0 transparent); }
    50%      { transform: scale(1.4); opacity: 1;    filter: drop-shadow(0 0 6px rgba(94,231,223,0.9)); }
}

.neuro-soma {
    transform-origin: 160px 160px;
    animation: somaBreath 5s ease-in-out infinite;
}
@keyframes somaBreath {
    0%, 100% { transform: scale(1);    }
    50%      { transform: scale(1.06); }
}

.eeg-wave {
    width: 100%;
    height: 50px;
    margin-top: 8px;
    opacity: 0.85;
}
.eeg-line {
    stroke-dasharray: 600;
    stroke-dashoffset: 600;
    animation: eegSweep 4.2s linear infinite;
    filter: drop-shadow(0 0 4px rgba(94,231,223,0.55));
}
@keyframes eegSweep {
    0%   { stroke-dashoffset: 600;  }
    100% { stroke-dashoffset: -600; }
}

/* Slider controls */
.slider-controls {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}
.dot {
    width: 38px; height: 5px;
    border: none;
    background: rgba(58, 134, 255, 0.25);
    border-radius: 999px;
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), width var(--transition);
}
.dot.active {
    background: var(--accent-grad);
    width: 60px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px; height: 45px;
    border: 0px solid var(--border);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    cursor: pointer;
    font-size: 30px;
    color: var(--ink);
    line-height: 20px;
    z-index: 5;
    transition: background var(--transition), color var(--transition), transform var(--transition);
    display: grid;
	padding-bottom: 4px;
    place-items: center;
}
.slider-arrow:hover {
    background: var(--accent-grad);
    color: white;
    transform: translateY(-50%) scale(1.10);
}
.slider-arrow.prev { left: 24px; }
.slider-arrow.next { right: 24px; }

/* ============== Stats Strip ============== */
.stats-strip {
    max-width: var(--container);
    margin: 100px auto 10px;
    padding: 100px 24px;
    position: relative;
    z-index: 6;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 28px;
}
.stat { text-align: center; padding: 4px 8px; border-right: 1px solid var(--border); }
.stat:last-child { border-right: none; }
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--ink);
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
}
.stat span { font-size: 13px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: 0.1em; }

/* ============== Three Column Layout ============== */
.three-col {
    padding: 100px 24px;
}
.three-col-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.col {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.col::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--accent-grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s cubic-bezier(.2, .8, .2, 1);
}
.col:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-strong);
}
.col:hover::before { transform: scaleX(1); }

.col-icon {
    width: 64px; height: 64px;
    border-radius: 16px;
    background: var(--accent-grad-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    margin-bottom: 18px;
    transition: transform var(--transition), background var(--transition);
}
.col:hover .col-icon {
    background: var(--accent-grad);
    color: white;
    transform: rotate(-6deg) scale(1.05);
}
.col-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
}
.col h2 {
    font-size: 26px;
    margin-bottom: 14px;
}
.col p {
    color: var(--ink-soft);
    margin-bottom: 22px;
    font-size: 15px;
}
.col-list {
    list-style: none;
    padding: 0;
    margin: 0 0 26px;
    display: grid;
    gap: 10px;
}
.col-list li {
    position: relative;
    padding-left: 28px;
    color: var(--ink-soft);
    font-size: 14.5px;
}
.col-list li::before {
    content: '';
    position: absolute;
    left: 0; top: 8px;
    width: 16px; height: 16px;
    background: var(--accent-grad-soft);
    border: 1px solid var(--border);
    border-radius: 50%;
}
.col-list li::after {
    content: '✓';
    position: absolute;
    left: 4px; top: 5px;
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
}
.col-list li strong { color: var(--ink); font-weight: 600; }

.col-link {
    margin-top: auto;
    font-weight: 600;
    color: var(--accent);
    display: inline-block;
    transition: transform var(--transition);
}
.col-link:hover { transform: translateX(4px); }

.col.highlight {
    background: linear-gradient(155deg, rgba(94, 231, 223, 0.10), rgba(58, 134, 255, 0.06));
    border-color: var(--border-strong);
}
.col.highlight::before {
    transform: scaleX(1);
    height: 5px;
}
.ribbon {
    position: absolute;
    top: 22px; right: -36px;
    background: var(--accent-grad);
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    padding: 6px 40px;
    transform: rotate(34deg);
    box-shadow: var(--shadow-sm);
}

/* ============== Section Heads ============== */
.section-head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 50px;
}
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent);
    background: var(--accent-grad-soft);
    padding: 6px 14px 5px;
    border-radius: 999px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.section-head h2 {
    font-size: clamp(28px, 3.4vw, 42px);
    margin-bottom: 14px;
}
.section-head p {
    font-size: 16px;
    color: var(--ink-mute);
}

/* ============== Analyses Catalog ============== */
.analyses {
    padding: 80px 24px;
    max-width: var(--container);
    margin: 0 auto;
}
.analyses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.analysis-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    overflow: hidden;
}
.analysis-card::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(94, 231, 223, 0.18), transparent 50%);
    opacity: 0;
    transition: opacity var(--transition);
}
.analysis-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}
.analysis-card:hover::before { opacity: 1; }
.ac-num {
    font-family: var(--font-display);
    font-size: 30px;
    font-weight: 800;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
    position: relative;
}
.analysis-card h3 {
    font-size: 19px;
    margin-bottom: 8px;
    position: relative;
}
.analysis-card p {
    font-size: 14.5px;
    color: var(--ink-mute);
    margin: 0;
    position: relative;
}

/* ============== Pachete Analize ============== */
.pachete-grid { grid-template-columns: repeat(2, 1fr); }
.pachete-grid .pachet-card:last-child:nth-child(odd) { grid-column: span 2; }
.pachet-card {
    display: flex;
    flex-direction: row;
    gap: 22px;
    align-items: flex-start;
}
.pachet-icon {
    flex-shrink: 0;
    width: 84px;
    height: 84px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(58,134,255,0.08), rgba(94,231,223,0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(58,134,255,0.15);
    position: relative;
}
.pachet-body { flex: 1; min-width: 0; position: relative; }
.pachet-title-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
}
.pachet-title-row h3 { margin-bottom: 0; }
.pachet-price {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}
.pachet-card .pachet-meta {
    font-size: 12px;
    color: var(--ink-mute);
    margin: 6px 0 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.pachet-card .pachet-content {
    font-size: 14.5px;
    color: var(--ink-mute);
    line-height: 1.55;
    margin: 0;
}
.pachet-content strong { color: var(--ink, #1a2340); font-weight: 600; }
.pachet-featured {
    background: linear-gradient(white, white) padding-box, var(--accent-grad) border-box;
    border: 1.5px solid transparent;
}
.pachet-featured .pachet-icon { background: var(--accent-grad); border-color: transparent; }
.pachet-featured .pachet-icon svg { stroke: white; }
.np-lightbox-trigger { cursor: zoom-in; }

/* ============== Locations ============== */
.locations {
    padding: 100px 24px;
    max-width: var(--container);
    margin: 0 auto;
}
.loc-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 20px;
}
.loc-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: transform var(--transition), box-shadow var(--transition);
}
.loc-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.loc-card.primary {
    background: linear-gradient(155deg, #0e1b2c, #1a2a44);
    color: #e7eef9;
    border-color: transparent;
}
.loc-card.primary h3, .loc-card.primary .loc-info span { color: white; }
.loc-card.primary .loc-info a { color: var(--accent-2); }
.loc-card.primary .loc-desc { color: rgba(231, 238, 249, 0.75); }
.loc-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 10px;
    padding: 4px 10px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
}
.loc-card.primary .loc-tag {
    color: var(--accent-2);
    border-color: rgba(94, 231, 223, 0.3);
}
.loc-card h3 { font-size: 18px; margin-bottom: 6px; }
.loc-desc { font-size: 14px; color: var(--ink-mute); margin: 0 0 18px; }
.loc-info { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 14px; }
.loc-info li { color: var(--ink-soft); }
.loc-info span {
    display: inline-block;
    color: var(--ink-mute);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-right: 8px;
    min-width: 64px;
}

/* ============== Contact ============== */
.contact {
    padding: 100px 24px;
    background: linear-gradient(180deg, transparent, var(--bg-tint));
}
.contact-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
}
.contact-left h2 { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 18px; }
.contact-left > p { color: var(--ink-soft); margin-bottom: 28px; }
.contact-list { display: grid; gap: 12px; }
.ci {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 14px 18px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform var(--transition), box-shadow var(--transition);
}
.ci:hover { transform: translateX(4px); box-shadow: var(--shadow-sm); }
.ci-ic {
    width: 44px; height: 44px;
    background: var(--accent-grad-soft);
    color: var(--accent);
    display: grid; place-items: center;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
}
.ci strong { display: block; color: var(--ink); font-size: 15px; }
.ci small { color: var(--ink-mute); font-size: 13px; }

.contact-email-row { flex-wrap: nowrap; }
@media (max-width: 768px) {
    .contact-email-row { flex-direction: column; }
}

.contact-form {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}
.contact-form h3 { font-size: 22px; margin-bottom: 22px; }
.field { margin-bottom: 14px; }
.field label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    margin-bottom: 6px;
}
.field input, .field select, .field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg);
    font-family: inherit;
    font-size: 14.5px;
    color: var(--ink);
    transition: border var(--transition), background var(--transition), box-shadow var(--transition);
}
.field input:focus, .field select:focus, .field textarea:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.12);
}
.field textarea { resize: vertical; min-height: 140px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { text-align: center; font-size: 12px; color: var(--ink-mute); margin-top: 12px; }
.hp-wrap { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* ============== Footer ============== */
.site-footer {
    background: linear-gradient(180deg, #0e1b2c, #060e1c);
    color: #cfdbed;
    padding: 60px 24px 24px;
    margin-top: 40px;
}
.footer-inner {
    max-width: var(--container);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-col h4 {
    color: white;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    margin-bottom: 16px;
    font-family: var(--font-display);
}
.footer-col a {
    display: block;
    color: #a8b8d0;
    font-size: 14px;
    padding: 4px 0;
    transition: color var(--transition), transform var(--transition);
}
.footer-col a:hover { color: var(--accent-2); transform: translateX(4px); }
.brand-col .brand .brand-name { color: white; }
.brand-col .brand .brand-tag { color: #6c7a8e; }
.brand-col .brand .brand-logo { background: rgba(255, 255, 255, 0.04); border-color: rgba(255, 255, 255, 0.1); }
.footer-about { color: #8e9bb1; font-size: 14px; margin-top: 16px; max-width: 320px; }
.footer-bottom {
    max-width: var(--container);
    margin: 18px auto 0;
    display: flex;
    justify-content: space-between;
    color: #6c7a8e;
    font-size: 13px;
}

/* ============== Floating News FAB & Panel ============== */
.news-fab {
    position: fixed;
    bottom: 75px;
    right: 28px;
    z-index: 90;
    background: var(--accent-grad);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 14px 20px 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 12px 36px rgba(58, 134, 255, 0.45);
    transition: transform var(--transition), box-shadow var(--transition);
}
.news-fab:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 18px 48px rgba(58, 134, 255, 0.55);
}
.fab-pulse {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    border: 2px solid var(--accent-2);
    animation: ringPulse 2.5s ease-out infinite;
    pointer-events: none;
}
@keyframes ringPulse {
    0%   { transform: scale(1); opacity: 0.85; }
    100% { transform: scale(1.5); opacity: 0; }
}
.fab-badge {
    position: absolute;
    top: -6px; right: -6px;
    background: #ff5577;
    color: white;
    font-size: 11px;
    font-weight: 700;
    width: 22px; height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    border: 2px solid white;
}
.fab-label { white-space: nowrap; }

.news-panel {
    position: fixed;
    bottom: 100px;
    right: 20px;
    z-index: 95;
    width: 380px;
    max-width: calc(100vw - 56px);
    max-height: calc(100vh - 290px);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: 0 30px 80px rgba(15, 30, 60, 0.25);
    display: flex;
    flex-direction: column;
    transform: translateY(20px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 1.42s cubic-bezier(.22, 1.12, .36, 1), opacity 1.32s ease;
    overflow: hidden;
}
.news-panel.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}
.np-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px 22px;
    background: linear-gradient(135deg, #0e1b2c, #1a2a44);
    color: white;
    position: relative;
}
.np-head::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 3px;
    background: var(--accent-grad);
}
.np-head h3 {
    color: white;
    font-size: 17px;
    margin: 0 0 4px;
    font-family: var(--font-display);
    letter-spacing: 0.04em;
}
.np-head small { color: rgba(255, 255, 255, 0.65); font-size: 12px; }
.np-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: white;
    width: 32px; height: 32px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
    transition: background var(--transition), transform var(--transition);
}
.np-close:hover { background: rgba(255, 255, 255, 0.18); transform: rotate(90deg); }

.np-body {
    flex: 1;
    overflow-y: auto;
    padding: 12px 18px;
}
.np-body::-webkit-scrollbar { width: 6px; }
.np-body::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }

.np-item {
    padding: 14px 4px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.np-item:last-child { border-bottom: none; }
.np-item.new::before {
    content: 'NOU';
    position: absolute;
    top: 14px; right: 0;
    background: var(--accent-grad);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 8px;
    border-radius: 999px;
}
.np-date {
    font-size: 11px;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
}
.np-item h4 {
    font-size: 15px;
    margin: 0 0 6px;
    color: var(--ink);
    font-family: var(--font-body);
    font-weight: 600;
    padding-right: 50px;
}
.np-item p {
    font-size: 13.5px;
    color: var(--ink-soft);
    margin: 0 0 8px;
    line-height: 1.55;
}
.np-item a { font-size: 13px; font-weight: 600; }

.np-foot {
    border-top: 1px solid var(--border);
    padding: 14px 22px;
    text-align: center;
    background: var(--bg-mute);
}
.np-foot a { font-size: 13.5px; font-weight: 600; }

.np-image {
    width: 100%;
    max-height: auto;
    object-fit: cover;
    border-radius: var(--radius);
    margin-top: 8px;
    margin-bottom: 8px;
}

.news-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 30, 60, 0.0);
    pointer-events: none;
    transition: background var(--transition);
    z-index: 89;
}
.news-overlay.show {
    background: rgba(15, 30, 60, 0.48);
    pointer-events: auto;
}

/* ============== Doc Pages (info-recoltare, CAS, GDPR, etc.) ============== */
.page-hero {
    position: relative;
    overflow: hidden;
    padding: 80px 24px 70px;
    background:
        radial-gradient(ellipse at top right, rgba(94, 231, 223, 0.25), transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(58, 134, 255, 0.18), transparent 55%),
        linear-gradient(180deg, #f0f6ff 0%, #e6f0fb 100%);
}
.page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(58, 134, 255, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(58, 134, 255, 0.07) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 75%);
    pointer-events: none;
}
.page-hero-inner {
    position: relative;
    max-width: var(--container);
    margin: 0 auto;
    text-align: center;
}
.page-hero h1 {
    font-size: clamp(32px, 4vw, 52px);
    margin: 14px 0 16px;
}
.page-hero h1 .grad-text {
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.page-hero p {
    font-size: 17px;
    color: var(--ink-soft);
    max-width: 760px;
    margin: 0 auto;
}

.breadcrumbs {
    max-width: var(--container);
    margin: 0 auto;
    padding: 18px 24px 0;
    font-size: 13.5px;
    color: var(--ink-mute);
}
.breadcrumbs a { color: var(--ink-soft); }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs span.sep { margin: 0 8px; opacity: 0.5; }

.doc-layout {
    max-width: var(--container);
    margin: 0 auto;
    padding: 60px 24px 90px;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.doc-toc {
    position: sticky;
    top: 110px;
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    box-shadow: var(--shadow-sm);
}
.doc-toc h3 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin: 0 0 14px;
}
.doc-toc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; }
.doc-toc a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--ink-soft);
    font-size: 14px;
    line-height: 1.4;
    transition: background var(--transition), color var(--transition);
    border-left: 2px solid transparent;
}
.doc-toc a:hover {
    background: var(--bg-mute);
    color: var(--accent);
    border-left-color: var(--accent);
}
.doc-toc-cta {
    display: block;
    margin-top: 16px;
    padding: 12px 14px;
    text-align: center;
    background: var(--accent-grad);
    color: white !important;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-glow);
}

@keyframes toc-flash-left {
    0%   { opacity: 0; transform: translateX(6px); }
    30%  { opacity: 1; transform: translateX(0); }
    70%  { opacity: 1; transform: translateX(0); }
    100% { opacity: 0; transform: translateX(-4px); }
}
.toc-chevrons {
    display: inline-flex;
    gap: 2px;
    margin-left: 5px;
    vertical-align: middle;
    line-height: 1;
}
.toc-chevrons span {
    display: inline-block;
    font-size: 14px;
    color: var(--accent);
    animation: toc-flash-left 1.4s ease-in-out infinite;
}
.toc-chevrons span:nth-child(1) { animation-delay: 0s; }
.toc-chevrons span:nth-child(2) { animation-delay: 0.18s; }
.toc-chevrons span:nth-child(3) { animation-delay: 0.36s; }

.doc-content { display: grid; gap: 28px; }

.doc-intro {
    background: var(--accent-grad-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px 28px;
}
.doc-intro p { margin: 0 0 10px; color: var(--ink-soft); }
.doc-intro p:last-child { margin-bottom: 0; }
.doc-intro-cover {
    display: block;
    width: 100%;
    max-height: 320px;
    object-fit: cover;
    border-radius: calc(var(--radius) - 4px);
    margin-bottom: 18px;
}

.doc-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px 32px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.doc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.doc-card p { color: var(--ink-soft); margin: 0 0 12px; line-height: 1.7; }
.doc-card p:last-child { margin-bottom: 0; }
.doc-card a { font-weight: 600; }

.doc-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    padding-bottom: 16px;
    border-bottom: 1px dashed var(--border);
}
.doc-card-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--accent-grad-soft);
    color: var(--accent);
    border: 1px solid var(--border);
}
.doc-card-head h2 {
    font-size: 22px;
    margin: 0;
    color: var(--ink);
}

.doc-card.success {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.08), rgba(94, 231, 223, 0.10));
    border-color: rgba(46, 204, 113, 0.25);
}
.doc-card.success .doc-card-icon {
    background: rgba(46, 204, 113, 0.15);
    color: #1f8c4d;
    border-color: rgba(46, 204, 113, 0.3);
}

.doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}
.doc-list li {
    position: relative;
    padding: 10px 12px 10px 38px;
    background: var(--bg-mute);
    border-radius: 10px;
    color: var(--ink-soft);
    font-size: 14.8px;
    line-height: 1.55;
}
.doc-list li::before {
    content: '';
    position: absolute;
    left: 14px; top: 18px;
    width: 12px; height: 12px;
    border-radius: 50%;
    background: var(--accent-grad);
    box-shadow: 0 0 0 4px rgba(58, 134, 255, 0.10);
}
.doc-list li strong { color: var(--ink); font-weight: 600; }

.doc-callout {
    margin-top: 16px;
    padding: 14px 18px;
    border-left: 4px solid var(--accent);
    background: linear-gradient(90deg, rgba(58, 134, 255, 0.07), transparent);
    border-radius: 0 10px 10px 0;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.doc-callout strong { color: var(--accent); }

.doc-warn {
    margin-top: 16px;
    padding: 14px 18px;
    border-left: 4px solid #e07a3a;
    background: linear-gradient(90deg, rgba(224, 122, 58, 0.10), transparent);
    border-radius: 0 10px 10px 0;
    font-size: 14.5px;
    color: var(--ink-soft);
    line-height: 1.6;
}
.doc-warn strong { color: #c25e1d; }

.cta-strip {
    margin-top: 30px;
    background: linear-gradient(135deg, #0e1b2c, #1a2a44);
    color: #e7eef9;
    border-radius: var(--radius-lg);
    padding: 36px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-lg);
}
.cta-strip h3 { color: white; margin: 0 0 6px; font-size: 22px; }
.cta-strip p { margin: 0; color: rgba(231, 238, 249, 0.78); font-size: 14.5px; line-height: 1.7; }
.cta-strip-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.cta-strip .btn-primary {
    background: var(--accent-grad);
    color: white !important;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    box-shadow: var(--shadow-glow);
}
.cta-strip .btn-ghost {
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: background var(--transition);
}
.cta-strip .btn-ghost:hover { background: rgba(255, 255, 255, 0.08); color: white; }
.cta-strip.stack {
    flex-direction: column;
    align-items: flex-start;
}
.cta-strip.stack p { margin-bottom: 18px; }

@media (max-width: 900px) {
    .doc-layout { grid-template-columns: 1fr; }
    .doc-toc { position: static; }
    .doc-card { padding: 24px; }
    .doc-card-head h2 { font-size: 19px; }
    .cta-strip { padding: 26px; }
}

/* ============== Form Pages (programari, rec_domiciliu) ============== */
.page-hero.compact {
    padding: 56px 24px 44px;
    border-bottom: 1px solid var(--border);
    background:
        radial-gradient(ellipse at top right, rgba(94,231,223,.22), transparent 55%),
        radial-gradient(ellipse at bottom left, rgba(58,134,255,.16), transparent 55%),
        linear-gradient(180deg, #f0f6ff, #e6f0fb);
    text-align: center;
}
.page-hero.compact::before {
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, black, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.page-hero.compact .eyebrow { margin-bottom: 16px; }
.page-hero.compact h1 {
    font-size: clamp(28px, 4vw, 50px);
    margin-bottom: 14px;
    position: relative;
}
.page-hero.compact > p {
    max-width: 540px;
    margin: 0 auto;
    font-size: 16px;
    position: relative;
}

.form-layout {
    max-width: 740px;
    margin: 48px auto 64px;
    padding: 0 24px;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--accent);
    margin-bottom: 14px;
}

.gdpr-box {
    background: var(--bg-mute);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 20px;
    margin: 20px 0;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.65;
}
.gdpr-box strong { color: var(--ink); font-size: 14px; }
.gdpr-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 12px;
    cursor: pointer;
}
.gdpr-check input[type="checkbox"] {
    width: 18px; height: 18px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}
.gdpr-check strong { font-size: 14px; }

/* Role toggle (radio-as-buttons) — online/index.php */
.role-toggle {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 4px;
}
.role-opt { position: relative; }
.role-opt input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.role-opt span {
    display: block;
    text-align: center;
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border-strong);
    background: var(--bg);
    color: var(--ink-soft);
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition);
}
.role-opt span:hover { border-color: var(--accent); color: var(--accent); }
.role-opt input[type="radio"]:checked + span {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: var(--shadow-glow);
}

.field input.valid   { border-color: #2ecc71 !important; }
.field input.invalid { border-color: #e74c3c !important; box-shadow: 0 0 0 4px rgba(231,76,60,.10) !important; }

.instructions {
    background: var(--bg-mute);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-top: 32px;
    font-size: 13px;
    color: var(--ink-soft);
    line-height: 1.75;
}
.instructions h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--ink-mute);
    margin: 0 0 12px;
    font-family: var(--font-display);
}
.instructions ul { margin: 0; padding-left: 18px; }
.instructions li { margin-bottom: 4px; }

.submit-wrap { margin-top: 24px; }

/* Time slots (also emitted by getprog.php / get-hours.php AJAX) */
.time-slots-wrapper {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px;
    margin-top: 16px;
}
.time-slots-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}
.time-slots-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-mute);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 16px;
}
.time-slots-header .time-slots-title { margin-bottom: 0; }
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
}
.slot-available {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(46,204,113,.08);
    border: 1px solid rgba(46,204,113,.30);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background .2s, border-color .2s;
    font-size: 14px;
    font-weight: 500;
    color: #1a7a40;
    user-select: none;
}
.slot-available:hover { background: rgba(46,204,113,.18); border-color: rgba(46,204,113,.50); }
.slot-available input[type="radio"] { accent-color: #2ecc71; width: 15px; height: 15px; flex-shrink: 0; cursor: pointer; }
.slot-taken {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(231,76,60,.05);
    border: 1px solid rgba(231,76,60,.18);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: #bbb;
    cursor: not-allowed;
    opacity: .70;
}
.slot-taken input[type="radio"] { opacity: .35; width: 15px; height: 15px; }
.slot-holiday {
    background: rgba(231,76,60,.08);
    border: 1px solid rgba(231,76,60,.25);
    border-radius: var(--radius);
    padding: 16px 20px;
    color: #c0392b;
    font-weight: 500;
    font-size: 14px;
    margin-top: 12px;
}
.slot-info { font-size: 12px; color: var(--ink-mute); margin-top: 8px; }
.slot-badge {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: .06em;
}
.slot-badge-plata { background: rgba(58,134,255,.12); color: var(--accent); border: 1px solid var(--border); }
.slot-badge-cas   { background: rgba(138,92,246,.10); color: var(--accent-3); border: 1px solid rgba(138,92,246,.25); }
.cas-notice {
    background: rgba(138,92,246,.07);
    border: 1px solid rgba(138,92,246,.22);
    border-radius: var(--radius);
    padding: 14px 18px;
    font-size: 13px;
    color: var(--ink-soft);
    margin-top: 16px;
    line-height: 1.6;
}
.cas-notice strong { color: var(--accent-3); }

/* jQuery UI datepicker theme */
.ui-datepicker {
    font-size: 1em !important;
    background: white !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow) !important;
    font-family: var(--font-body) !important;
    padding: 14px !important;
    width: auto !important;
}
.ui-datepicker-header {
    background: var(--accent-grad) !important;
    border: none !important;
    border-radius: var(--radius-sm) !important;
    color: white !important;
    padding: 8px 10px !important;
    margin-bottom: 8px !important;
}
.ui-datepicker-title { color: white !important; font-weight: 600 !important; font-size: 14px !important; }
.ui-datepicker-prev, .ui-datepicker-next {
    top: 6px !important;
    cursor: pointer !important;
    background: rgba(255,255,255,.18) !important;
    border-radius: 6px !important;
    border: none !important;
}
.ui-datepicker-prev:hover, .ui-datepicker-next:hover {
    background: rgba(255,255,255,.30) !important;
    border: none !important;
}
.ui-datepicker table { width: 100% !important; border-collapse: separate; border-spacing: 2px; }
.ui-datepicker th {
    color: var(--ink-mute) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    padding: 6px 4px !important;
    text-transform: uppercase;
    letter-spacing: .06em;
}
.ui-datepicker td a, .ui-datepicker td span {
    border-radius: 8px !important;
    text-align: center !important;
    padding: 7px 6px !important;
    border: none !important;
}
.ui-datepicker td a { color: var(--ink-soft) !important; background: transparent !important; }
.ui-datepicker td a:hover { background: var(--bg-mute) !important; color: var(--accent) !important; }
.ui-datepicker .ui-state-active { background: var(--accent-grad) !important; border: none !important; color: white !important; }
.ui-datepicker .ui-state-highlight { border: 1px solid var(--accent) !important; color: var(--accent) !important; }
.ui-datepicker td.ui-datepicker-unselectable span { color: #ccc !important; background: transparent !important; }

@media (max-width: 580px) {
    .form-layout .row { grid-template-columns: 1fr; }
}

/* ============== Reveal Animations ============== */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(.2, .8, .2, 1);
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}

/* ============== Responsive ============== */
@media (max-width: 1024px) {
    .three-col-inner { grid-template-columns: 1fr; }
    .col.highlight { order: -1; }
    .analyses-grid { grid-template-columns: repeat(2, 1fr); }
    .pachete-grid { grid-template-columns: repeat(2, 1fr); }
    .loc-grid { grid-template-columns: 1fr 1fr; }
    .loc-card.primary { grid-column: 1 / -1; }
    .contact-inner { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr 1fr; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); }
    .stat:nth-child(2) { border-right: none; }
}

@media (max-width: 900px) {
    .pachete-grid { grid-template-columns: 1fr; }
    .pachete-grid .pachet-card:last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 768px) {
    .topbar-left span:last-child { display: none; }
    .topbar-right { gap: 12px; font-size: 12px; }
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0; right: 0;
        background: white;
        flex-direction: column;
        padding: 16px;
        box-shadow: var(--shadow);
        border-top: 1px solid var(--border);
        display: none;
    }
    .main-nav.open { display: flex; }
    .main-nav a { padding: 12px 16px; }
    .menu-toggle { display: flex; margin-left: auto; }
    .cta-button { display: none; }

    .slide {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .slide-content .eyebrow { margin-left: auto; margin-right: auto; }
    .slide p { margin-left: auto; margin-right: auto; }
    .slide-actions { justify-content: center; }
    .slide-visual { min-height: 280px; }
    .hex-orbit { width: 280px; height: 280px; }
    .slider-arrow { display: none; }

    .stats-strip {
        grid-template-columns: 1fr 1fr;
        margin-top: 50px;
        padding: 22px 18px;
    }
    .stat { border-right: none !important; }
    .stat strong { font-size: 26px; }

    .three-col, .analyses, .locations, .contact { padding: 60px 18px; }
    .analyses-grid, .loc-grid { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 6px; text-align: center; }
    .row { grid-template-columns: 1fr; }
    .contact-form { padding: 24px; }

    .news-fab { bottom: 18px; right: 18px; padding: 12px 16px; }
    .fab-label { display: none; }
    .news-panel { right: 12px; left: 28px; bottom: 84px; width: auto; }
}

@media (max-width: 640px) {
    .pachet-card { flex-direction: column; gap: 16px; align-items: stretch; }
    .pachet-icon { width: 64px; height: 64px; }
    .pachet-icon svg { width: 42px; height: 42px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001s !important;
        transition-duration: 0.001s !important;
    }
}

/* ── Result cards (index.php — section #rezultate) ── */
.result-card { display: flex; flex-direction: column; }

/* ════════════════════════════════════════════
   Servicii — Shortcuts Row (index.php #servicii)
   ════════════════════════════════════════════ */
.servicii-shortcuts {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    padding: 50px 24px;
    max-width: var(--container);
    margin: 0 auto;
}
.ss-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.ss-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: var(--accent-grad-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    transition: transform var(--transition), background var(--transition), color var(--transition);
}
.ss-item:hover .ss-icon {
    background: var(--accent-grad);
    color: white;
    transform: rotate(-6deg) scale(1.08);
}
.servicii-shortcuts .btn-primary {
    width: 100%;
    text-align: center;
    justify-content: center;
}
@media (max-width: 900px) {
    .servicii-shortcuts { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .servicii-shortcuts { grid-template-columns: 1fr; }
    .ss-item { flex-direction: row; align-items: center; gap: 16px; }
    .ss-icon { width: 52px; height: 52px; flex-shrink: 0; border-radius: 14px; }
    .servicii-shortcuts .btn-primary { flex: 1; }
}

/* ════════════════════════════════════════════
   Lista Analize — page styles
   ════════════════════════════════════════════ */
.analize-section {
    padding: 48px 24px 0;
}

/* Search */
.analize-search-wrap {
    max-width: 680px;
    margin: 0 auto 32px;
    position: relative;
}
.analize-search-wrap .search-icon {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    pointer-events: none;
}
#analizeSearch {
    width: 100%;
    padding: 16px 20px 16px 52px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--ink);
    background: var(--bg-soft);
    border: 2px solid var(--border-strong);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
#analizeSearch::placeholder { color: var(--ink-mute); }
#analizeSearch:focus {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
}

/* Controls */
.analize-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1100px;
    margin: 0 auto 20px;
}
.analize-lab-filter {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.lab-btn {
    padding: 6px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-body);
    border-radius: 50px;
    border: 2px solid var(--border-strong);
    background: var(--bg-soft);
    color: var(--ink-soft);
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 0.02em;
}
.lab-btn:hover, .lab-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
    box-shadow: 0 4px 14px rgba(58, 134, 255, .3);
}
.result-count {
    font-size: 0.85rem;
    color: var(--ink-mute);
    font-style: italic;
    white-space: nowrap;
}
.result-count span {
    font-style: normal;
    font-weight: 700;
    color: var(--accent);
}

/* Table wrapper — overflow:clip clips to border-radius without blocking child scroll */
.analize-table-wrap {
    max-width: 1100px;
    margin: 0 auto 60px;
    background: var(--bg-soft);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: clip;
    border: 1px solid var(--border);
}
.analize-table-scroll {
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 72vh;
    -webkit-overflow-scrolling: touch;
}
.analize-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    table-layout: fixed;
}
.analize-table th:nth-child(1) { width: 125px; }
.analize-table th:nth-child(3) { width: 120px; }
.analize-table th:nth-child(4) { width: 88px; }
.analize-table thead th {
    padding: 14px 16px;
    text-align: left;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fff;
    background: var(--accent-grad);
    position: sticky;
    top: 0;
    z-index: 2;
}
.analize-table thead th:last-child {
    text-align: right;
    padding-right: 24px;
}
.analize-table tbody tr {
    border-bottom: 1px solid var(--border);
    transition: background var(--transition);
}
.analize-table tbody tr:last-child { border-bottom: none; }
.analize-table tbody tr:hover { background: var(--bg-mute); }
.analize-table td {
    padding: 11px 16px;
    vertical-align: middle;
    color: var(--ink-soft);
}
.analize-table td:nth-child(1) {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-mute);
    white-space: nowrap;
}
.analize-table td.lab-tudormed { color: var(--accent); }
.analize-table td.lab-synevo   { color: var(--accent-3); }
.analize-table td.lab-medlife  { color: #10b981; }
.analize-table td:nth-child(2) {
    font-weight: 500;
    color: var(--ink);
}
.analize-table td:nth-child(3) {
    font-size: 0.8rem;
    color: var(--ink-mute);
}
.analize-table td:nth-child(4) {
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    white-space: nowrap;
    padding-right: 24px;
}
.analize-table td:nth-child(4)::after {
    content: ' lei';
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--ink-mute);
}
mark.hl {
    background: rgba(58, 134, 255, .18);
    color: var(--accent);
    border-radius: 3px;
    padding: 0 2px;
}
.no-results {
    display: none;
    text-align: center;
    padding: 48px 24px;
    color: var(--ink-mute);
    font-size: 1rem;
}
.no-results svg { margin: 0 auto 16px; opacity: .35; }

@media (max-width: 560px) {
    .analize-table th:nth-child(3),
    .analize-table td:nth-child(3) { display: none; }
    .analize-table th:nth-child(1) { width: 125px; }
    .analize-table th:nth-child(4) { width: 78px; }
    .analize-table td:nth-child(4) { padding-right: 10px; }
    .analize-table thead th:last-child { padding-right: 10px; }
}

/* ════════════════════════════════════════════
   Laborator — Photo Gallery
   ════════════════════════════════════════════ */
.lab-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 175px;
    gap: 8px;
    margin-top: 20px;
}
.lab-gallery-item {
    overflow: hidden;
    border-radius: var(--radius-sm);
    position: relative;
    background: var(--bg-mute);
}
/* Feature image — spans 2 cols × 2 rows */
.lab-gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
/* Wide image — spans 3 cols on last row */
.lab-gallery-item:nth-child(7) { grid-column: span 3; grid-row: span 2; }

.lab-gallery-item a { display: block; width: 100%; height: 100%; }

.lab-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s cubic-bezier(.22, 1, .36, 1);
}
.lab-gallery-item:hover img { transform: scale(1.06); }

.lab-gallery-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    display: grid;
    place-items: center;
    opacity: 0;
    transition: background var(--transition), opacity var(--transition);
}
.lab-gallery-overlay svg {
    color: white;
    filter: drop-shadow(0 2px 10px rgba(0,0,0,.5));
    transform: scale(0.7);
    transition: transform var(--transition);
}
.lab-gallery-item:hover .lab-gallery-overlay {
    background: linear-gradient(135deg, rgba(58,134,255,.45), rgba(138,92,246,.35));
    opacity: 1;
}
.lab-gallery-item:hover .lab-gallery-overlay svg { transform: scale(1); }

/* Lightbox */
.lb-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 18, 38, 0.94);
    z-index: 999;
    display: none;
    place-items: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: zoom-out;
}
.lb-overlay.open { display: grid; }
.lb-img {
    max-width: 92vw;
    max-height: 88vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
    cursor: default;
}
.lb-close {
    position: absolute;
    top: 20px; right: 24px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    color: white;
    width: 46px; height: 46px;
    border-radius: 50%;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background var(--transition), transform var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,.22); transform: rotate(90deg); }

@media (max-width: 768px) {
    .lab-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 190px;
    }
    .lab-gallery-item:nth-child(1) { grid-column: span 1; grid-row: span 1; }
    .lab-gallery-item:nth-child(7) { grid-column: span 2; }
}
@media (max-width: 480px) {
    .lab-gallery { grid-template-columns: 1fr; grid-auto-rows: 200px; }
    .lab-gallery-item:nth-child(1),
    .lab-gallery-item:nth-child(7) { grid-column: span 1; grid-row: span 1; }
}

/* ════════════════════════════════════════════
   Laborator — Equipment Grid
   ════════════════════════════════════════════ */
.lab-equip-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}
.lab-equip-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 15px 16px;
    background: var(--bg-mute);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.lab-equip-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--border-strong);
}
.lab-equip-ic {
    width: 40px; height: 40px;
    flex-shrink: 0;
    background: var(--accent-grad-soft);
    color: var(--accent);
    border-radius: 10px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
}
.lab-equip-info strong {
    display: block;
    font-size: 14px;
    color: var(--ink);
    margin-bottom: 3px;
    font-weight: 600;
}
.lab-equip-info span { font-size: 12.5px; color: var(--ink-mute); line-height: 1.5; }

/* ════════════════════════════════════════════
   Laborator — Certification Badges
   ════════════════════════════════════════════ */
.lab-cert-row {
    display: flex;
    gap: 14px;
    margin-top: 20px;
    flex-wrap: wrap;
}
.lab-cert-badge {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(58,134,255,.06), rgba(94,231,223,.06));
    border: 1px solid var(--border-strong);
    border-radius: var(--radius);
}
.lab-cert-badge-ic {
    width: 48px; height: 48px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent-grad);
    color: white;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-glow);
}
.lab-cert-badge strong { display: block; color: var(--ink); font-size: 14.5px; font-weight: 700; }
.lab-cert-badge span { display: block; color: var(--ink-mute); font-size: 12px; margin-top: 3px; }

/* Quality control program tags */
.lab-qc-programs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}
.lab-qc-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-mute);
    border: 1px solid var(--border-strong);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
}
.lab-qc-tag::before {
    content: '';
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--accent-grad);
    flex-shrink: 0;
}

@media (max-width: 580px) {
    .lab-equip-grid { grid-template-columns: 1fr; }
    .lab-cert-row { flex-direction: column; }
}

/* ════════════════════════════════════════════
   Neurologie — Doctor Profile
   ════════════════════════════════════════════ */
.doctor-profile {
    display: flex;
    gap: 28px;
    align-items: flex-start;
}
.doctor-photo {
    width: 200px;
    flex-shrink: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.doctor-photo img { width: 100%; height: auto; display: block; object-fit: cover; }

.doctor-photo-full {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    max-height: 420px;
}
.doctor-photo-full img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: top; }
.doctor-info h3 { font-size: 22px; margin: 0 0 4px; }
.doctor-title {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent);
    margin-bottom: 14px;
    display: block;
}
.doctor-info p { color: var(--ink-soft); font-size: 15px; margin-bottom: 10px; line-height: 1.65; }
.doctor-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.doctor-tag {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--accent-grad-soft);
    color: var(--accent);
    border: 1px solid var(--border);
}

/* ════════════════════════════════════════════
   Neurologie — Service / Price Cards
   ════════════════════════════════════════════ */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 20px;
}
.service-card {
    background: var(--bg-mute);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 22px 18px;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: var(--border-strong);
}
.service-icon {
    width: 48px; height: 48px;
    margin: 0 auto 12px;
    border-radius: 14px;
    background: var(--accent-grad-soft);
    color: var(--accent);
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
}
.service-name { font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.service-price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    background: var(--accent-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 6px;
    line-height: 1.1;
}
.service-desc { font-size: 12.5px; color: var(--ink-mute); line-height: 1.55; }

@media (max-width: 640px) {
    .doctor-profile { flex-direction: column; }
    .doctor-photo { width: 100%; max-width: 260px; }
    .service-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   Map Overlay (neurologie.php)
   ════════════════════════════════════════════ */
.map-overlay {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(8, 18, 38, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: lbFadeIn .2s ease;
}
.map-overlay[hidden] { display: none; }
.map-overlay-inner {
    width: 100%;
    max-width: 720px;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0,0,0,.5);
}
.map-overlay-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px 14px 20px;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}
.map-overlay-title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--ink);
}
.map-overlay-close {
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: var(--ink-mute);
    cursor: pointer;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background var(--transition), color var(--transition);
}
.map-overlay-close:hover { background: var(--bg-mute); color: var(--ink); }
.map-overlay-frame {
    display: block;
    width: 100%;
    height: 420px;
    border: none;
}
.map-link {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 600;
    color: var(--accent);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color var(--transition);
}
.map-link:hover { color: var(--accent-2, #5ee7df); }
@media (max-width: 600px) {
    .map-overlay { padding: 12px; }
    .map-overlay-frame { height: 300px; }
}

/* ════════════════════════════════════════════
   Cookie Consent Banner (CMP)
   ════════════════════════════════════════════ */
.cmp-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10000;
    background: var(--ink);
    border-top: 2px solid rgba(58,134,255,.4);
    box-shadow: 0 -6px 32px rgba(0,0,0,.25);
    padding: 16px 25px;
}
.cmp-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}
.cmp-text {
    flex: 1;
    min-width: 0;
}
.cmp-text p {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255,255,255,.9);
    line-height: 1.6;
}
.cmp-text a {
    color: var(--accent-2);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cmp-actions {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
    align-items: center;
}
@media (max-width: 600px) {
    .cmp-bar { padding: 14px 16px; }
    .cmp-inner { flex-direction: column; align-items: stretch; gap: 14px; }
    .cmp-actions { justify-content: flex-end; }
}

/* ── Image Lightbox ─────────────────────────────────── */
.img-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: lbFadeIn .2s ease;
}
.img-lightbox[hidden] { display: none; }
@keyframes lbFadeIn { from { opacity: 0 } to { opacity: 1 } }
.img-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 8px 48px rgba(0,0,0,.6);
    object-fit: contain;
}
.img-lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: rgba(255,255,255,.15);
    border: none;
    color: #fff;
    font-size: 32px;
    line-height: 1;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .15s;
}
.img-lightbox-close:hover { background: rgba(255,255,255,.3); }
.np-lightbox-trigger { cursor: zoom-in; }
