/* ============================================
   CSS Variables & Reset
   ============================================ */
:root {
    --primary:          #0D9488;
    --primary-dark:     #0F766E;
    --primary-light:    #CCFBF1;
    --primary-xlight:   #F0FDFA;
    --secondary:        #7C3AED;
    --secondary-light:  #EDE9FE;
    --accent:           #EC4899;

    --bg:       #FFFFFF;
    --bg-alt:   #F8FAFC;
    --bg-dark:  #0A0F1E;
    --text:     #1E293B;
    --muted:    #64748B;
    --border:   #E2E8F0;

    --font-h: 'Raleway', sans-serif;
    --font-b: 'Inter', sans-serif;

    --r-sm:  8px;
    --r:     16px;
    --r-lg:  24px;
    --r-xl:  32px;

    --shadow-sm: 0 1px 4px rgba(0,0,0,0.07), 0 1px 2px rgba(0,0,0,0.05);
    --shadow:    0 4px 16px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 48px rgba(0,0,0,0.12), 0 8px 16px rgba(0,0,0,0.07);

    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t:    all 0.3s var(--ease);

    --trial-h: 40px;   /* height of the trial-operation banner */
}

@media (max-width: 600px) { :root { --trial-h: 58px; } }

.trial-dismissed { --trial-h: 0px; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-b);
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ============================================
   Progress Bar
   ============================================ */
.progress-bar {
    position: fixed;
    top: 0; left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    z-index: 1001;
    width: 0;
    transition: width 0.1s linear;
    pointer-events: none;
}

/* ============================================
   Container
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Typography helpers
   ============================================ */
h1, h2, h3, h4 {
    font-family: var(--font-h);
    line-height: 1.15;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-light {
    background: linear-gradient(135deg, #5EEAD4 0%, #C4B5FD 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--t);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0);
    transition: background 0.2s;
}

.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-block { width: 100%; justify-content: center; }

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(13,148,136,0.28);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(13,148,136,0.38);
}

.btn-light {
    background: white;
    color: var(--primary-dark);
    box-shadow: var(--shadow);
}
.btn-light:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.45);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-2px);
}

/* ============================================
   Navbar
   ============================================ */
.navbar {
    position: fixed;
    top: var(--trial-h); left: 0; right: 0;
    z-index: 100;
    padding: 18px 0;
    transition: top 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease), padding 0.3s var(--ease);
}

.navbar.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 12px 0;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.brand-initials {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: var(--t);
}

.brand-initials--sm { width: 36px; height: 36px; font-size: 0.875rem; border-radius: 10px; }

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.brand-name {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    transition: color 0.3s var(--ease);
}

.brand-title {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    transition: color 0.3s var(--ease);
}

.navbar.scrolled .brand-name  { color: var(--text); }
.navbar.scrolled .brand-title { color: var(--muted); }

.navbar-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 8px 14px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.88);
    border-radius: 8px;
    transition: var(--t);
}

.nav-link:hover {
    background: rgba(255,255,255,0.14);
    color: white;
}

.navbar.scrolled .nav-link { color: var(--text); }

.navbar.scrolled .nav-link:hover {
    background: var(--primary-xlight);
    color: var(--primary);
}

.nav-cta { margin-left: 8px; }

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    z-index: 101;
}

.hamburger:hover { background: rgba(255,255,255,0.14); }
.navbar.scrolled .hamburger:hover { background: var(--bg-alt); }

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: var(--t);
}

.navbar.scrolled .hamburger span { background: var(--text); }

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    background:
        linear-gradient(140deg, rgba(4,38,44,0.95) 0%, rgba(10,22,58,0.95) 40%, rgba(22,12,62,0.96) 70%, rgba(36,10,80,0.95) 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

/* Background blobs */
.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(72px);
    opacity: 0.3;
    will-change: transform;
}

.blob-1 {
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 65%);
    top: -250px; right: -150px;
    animation: blobFloat 10s ease-in-out infinite;
}

.blob-2 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 65%);
    bottom: -180px; left: -100px;
    animation: blobFloat 13s ease-in-out infinite reverse;
}

.blob-3 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 65%);
    top: 35%; left: 38%;
    animation: blobFloat 8s ease-in-out infinite 1.5s;
    opacity: 0.18;
}

@keyframes blobFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%       { transform: translate(28px, -24px) scale(1.04); }
    66%       { transform: translate(-18px, 18px) scale(0.97); }
}

/* hero-grid-overlay removed */

/* Hero layout */
.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.18);
    color: rgba(255,255,255,0.85);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-h);
    margin-bottom: 28px;
}

.hero-badge-dot {
    width: 8px; height: 8px;
    background: #4ADE80;
    border-radius: 50%;
    box-shadow: 0 0 8px #4ADE80;
    animation: badgePulse 2.5s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 6px #4ADE80; }
    50%       { box-shadow: 0 0 16px #4ADE80, 0 0 28px rgba(74,222,128,0.4); }
}

.hero-title {
    display: flex;
    flex-direction: column;
    font-size: clamp(2.8rem, 5vw, 4.8rem);
    font-weight: 800;
    color: white;
    line-height: 1.05;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero-title-name {
    background: linear-gradient(135deg, #5EEAD4 0%, #A78BFA 60%, #F0ABFC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.68);
    margin-bottom: 40px;
    line-height: 1.75;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-insurance {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.insurance-label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    font-weight: 500;
}

.insurance-pills { display: flex; gap: 8px; flex-wrap: wrap; }

.insurance-pill {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    color: white;
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 800;
    font-family: var(--font-h);
    letter-spacing: 0.04em;
}

/* Hero visual side */
.hero-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 20px 0;
}

.hero-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.09);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--r);
    padding: 16px 20px;
    width: 100%;
    animation: heroCardFloat 5s ease-in-out infinite;
}

.hero-card--delay { animation-delay: 0.8s; }

@keyframes heroCardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.hero-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: rgba(13,148,136,0.25);
    color: #5EEAD4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.hero-card-icon--violet {
    background: rgba(124,58,237,0.25);
    color: #C4B5FD;
}

.hero-card-text { display: flex; flex-direction: column; gap: 2px; }
.hero-card-text strong { font-family: var(--font-h); font-size: 0.9rem; color: white; }
.hero-card-text span  { font-size: 0.78rem; color: rgba(255,255,255,0.55); }

/* Ring stat */
.hero-stat-ring {
    position: relative;
    width: 140px; height: 140px;
    margin: 8px auto;
}

.ring-svg {
    width: 100%; height: 100%;
    animation: ringRotate 3s ease-in-out infinite alternate;
}

@keyframes ringRotate {
    0%   { filter: drop-shadow(0 0 8px rgba(13,148,136,0.4)); }
    100% { filter: drop-shadow(0 0 18px rgba(167,139,250,0.5)); }
}

.ring-inner {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ring-number {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 2rem;
    color: white;
    line-height: 1;
}

.ring-number sup {
    font-size: 1rem;
    vertical-align: super;
}

.ring-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-align: center;
    margin-top: 4px;
}

/* Scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.scroll-mouse {
    width: 22px; height: 36px;
    border: 2px solid rgba(255,255,255,0.35);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px; height: 7px;
    background: white;
    border-radius: 2px;
    animation: scrollDrop 2s ease-in-out infinite;
}

@keyframes scrollDrop {
    0%        { transform: translateY(0); opacity: 1; }
    80%, 100% { transform: translateY(10px); opacity: 0; }
}

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
    background: white;
    padding: 28px 0;
    box-shadow: var(--shadow);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-item {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 24px;
    transition: var(--t);
}

.stat-item:hover { transform: translateY(-2px); }

.stat-divider {
    width: 1px;
    height: 48px;
    background: var(--border);
    flex-shrink: 0;
}

.stat-icon-wrap {
    width: 44px; height: 44px;
    background: var(--primary-xlight);
    border-radius: 12px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.stat-body { display: flex; flex-direction: column; line-height: 1.2; }

.stat-number {
    font-family: var(--font-h);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-h);
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-text {
    font-family: var(--font-h);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    line-height: 1.3;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 500;
    margin-top: 2px;
}

/* ============================================
   Sections
   ============================================ */
.section { padding: 96px 0; }
.section-alt {
    background:
        linear-gradient(135deg, rgba(248,250,252,0.96) 0%, rgba(240,253,250,0.94) 100%),
        url('../assets/images/services_bg.jpg') center / cover no-repeat fixed;
    background:
        linear-gradient(135deg, rgba(248,250,252,0.96) 0%, rgba(240,253,250,0.94) 100%),
        image-set(url('../assets/images/services_bg.webp') type('image/webp'), url('../assets/images/services_bg.jpg') type('image/jpeg')) center / cover no-repeat fixed;
}
.section-dark { background: var(--bg-dark); color: white; }

/* About section bg */
#o-mne {
    background:
        linear-gradient(to right, rgba(255,255,255,0.97) 30%, rgba(248,250,252,0.93) 100%),
        url('../assets/images/about_bg.jpg') center / cover no-repeat;
    background:
        linear-gradient(to right, rgba(255,255,255,0.97) 30%, rgba(248,250,252,0.93) 100%),
        image-set(url('../assets/images/about_bg.webp') type('image/webp'), url('../assets/images/about_bg.jpg') type('image/jpeg')) center / cover no-repeat;
}

/* ============================================
   Parallax Banner
   ============================================ */
.parallax-banner {
    position: relative;
    min-height: 300px;
    background:
        linear-gradient(135deg, rgba(7,89,81,0.82) 0%, rgba(91,33,182,0.78) 100%),
        url('../assets/images/banner_bg.jpg') center / cover no-repeat fixed;
    background:
        linear-gradient(135deg, rgba(7,89,81,0.82) 0%, rgba(91,33,182,0.78) 100%),
        image-set(url('../assets/images/banner_bg.webp') type('image/webp'), url('../assets/images/banner_bg.jpg') type('image/jpeg')) center / cover no-repeat fixed;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.parallax-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.parallax-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--r-lg);
    overflow: hidden;
    width: 100%;
}

.parallax-stat {
    padding: 40px 32px;
    text-align: center;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(8px);
    transition: var(--t);
}

.parallax-stat:hover { background: rgba(0,0,0,0.08); }

.parallax-stat-number {
    font-family: var(--font-h);
    font-size: 3rem;
    font-weight: 800;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.parallax-stat-number sup {
    font-size: 1.4rem;
    vertical-align: super;
}

.parallax-stat-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    font-weight: 500;
    line-height: 1.4;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px;
}

.section-eyebrow {
    display: inline-block;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-eyebrow--light { color: rgba(255,255,255,0.45); }

.section-title {
    font-size: clamp(1.9rem, 3.5vw, 2.8rem);
    color: var(--text);
    margin-bottom: 16px;
}

.section-title--light { color: white; }

.section-subtitle {
    font-size: 1.05rem;
    color: var(--muted);
    line-height: 1.75;
}

/* ============================================
   About Section
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 80px;
    align-items: start;
}

.photo-frame { position: relative; }

.photo-placeholder {
    aspect-ratio: 3 / 4;
    background: linear-gradient(145deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    border-radius: var(--r-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    position: relative;
}

.photo-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(13,148,136,0.15) 100%);
}

.photo-placeholder i {
    font-size: 7rem;
    color: var(--primary);
    opacity: 0.22;
}

.photo-initials {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 3.5rem;
    color: var(--primary);
    opacity: 0.35;
    letter-spacing: 4px;
}

.photo-badge {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    box-shadow: var(--shadow-lg);
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.875rem;
    white-space: nowrap;
    color: var(--primary-dark);
    z-index: 1;
}

.photo-badge i { color: #F59E0B; }

.photo-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.photo-decor--1 {
    width: 120px; height: 120px;
    background: linear-gradient(135deg, var(--primary), transparent);
    opacity: 0.12;
    top: -30px; right: -30px;
}

.photo-decor--2 {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--secondary), transparent);
    opacity: 0.12;
    bottom: 60px; left: -20px;
}

/* About content */
.about-text {
    font-size: 1.04rem;
    color: var(--muted);
    line-height: 1.82;
    margin-bottom: 18px;
}

.qualifications {
    margin: 28px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.qual-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.qual-icon {
    width: 42px; height: 42px;
    background: var(--primary-xlight);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    transition: var(--t);
}

.qual-item:hover .qual-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.qual-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
}

.qual-text strong {
    font-family: var(--font-h);
    font-size: 0.95rem;
    color: var(--text);
}

.qual-text span {
    font-size: 0.85rem;
    color: var(--muted);
}

/* Career Timeline */
.career-section { margin-top: 28px; margin-bottom: 4px; }

.career-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 14px;
    position: relative;
    padding-left: 18px;
}

.career-timeline::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0.3;
    border-radius: 1px;
}

.ct-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 10px 0;
    position: relative;
}

.ct-dot {
    width: 12px; height: 12px;
    border-radius: 50%;
    border: 2px solid var(--border);
    background: white;
    flex-shrink: 0;
    margin-top: 3px;
    position: absolute;
    left: -18px;
    transition: var(--t);
}

.ct-item--current .ct-dot {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-light);
}

.ct-item:hover .ct-dot {
    border-color: var(--primary);
    transform: scale(1.2);
}

.ct-body { display: flex; flex-direction: column; gap: 3px; padding-left: 4px; }

.ct-body strong {
    font-family: var(--font-h);
    font-size: 0.875rem;
    color: var(--text);
    line-height: 1.4;
}

.ct-body span {
    font-size: 0.78rem;
    color: var(--muted);
}

.ct-item--current .ct-body strong { color: var(--primary-dark); }

/* Insurance cards */
.insurance-section { margin-top: 28px; }

.insurance-label-dark {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.insurance-row { display: flex; gap: 12px; flex-wrap: wrap; }

.insurance-card {
    flex: 1;
    min-width: 90px;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    padding: 14px 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: var(--t);
    box-shadow: var(--shadow-sm);
    cursor: default;
}

.insurance-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    transform: translateY(-3px);
}

.insurer-abbr {
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.insurer-name {
    font-size: 0.68rem;
    color: var(--muted);
    line-height: 1.3;
}

/* ============================================
   Services
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-card {
    background: white;
    border-radius: var(--r-lg);
    padding: 30px;
    border: 1.5px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    cursor: default;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--primary-xlight), transparent 60%);
    opacity: 0;
    transition: opacity 0.35s var(--ease);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.service-card:hover::before { opacity: 1; }

.service-icon {
    width: 58px; height: 58px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    transition: transform 0.35s var(--ease);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(6deg);
}

.service-icon--teal   { background: #F0FDFA; color: #0D9488; }
.service-icon--blue   { background: #EFF6FF; color: #2563EB; }
.service-icon--violet { background: #F5F3FF; color: #7C3AED; }
.service-icon--pink   { background: #FDF2F8; color: #DB2777; }
.service-icon--amber  { background: #FFFBEB; color: #B45309; }
.service-icon--green  { background: #ECFDF5; color: #059669; }

.service-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.service-text {
    font-size: 0.875rem;
    color: var(--muted);
    line-height: 1.72;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.service-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.tag {
    background: var(--bg-alt);
    color: var(--muted);
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 600;
    transition: var(--t);
}

.service-card:hover .tag {
    background: var(--primary-xlight);
    color: var(--primary-dark);
}

/* ============================================
   Patient Section
   ============================================ */
.patient-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 40px;
    align-items: start;
}

/* Accordion */
.accordion { display: flex; flex-direction: column; gap: 10px; }

.accordion-item {
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.accordion-item.open {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px var(--primary-light), var(--shadow);
}

.accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.93rem;
    color: var(--text);
    text-align: left;
    transition: background 0.2s var(--ease);
}

.accordion-header:hover { background: var(--bg-alt); }

.accordion-item.open .accordion-header { background: var(--primary-xlight); }

.accordion-icon {
    width: 34px; height: 34px;
    border-radius: 10px;
    background: var(--primary-xlight);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: var(--t);
}

.accordion-item.open .accordion-icon {
    background: var(--primary);
    color: white;
}

.accordion-header span { flex: 1; }

.accordion-arrow {
    color: var(--muted);
    font-size: 0.8rem;
    transition: transform 0.35s var(--ease), color 0.2s;
    flex-shrink: 0;
}

.accordion-item.open .accordion-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.42s var(--ease);
}

.accordion-body-inner { padding: 0 22px 22px; }

.info-list { display: flex; flex-direction: column; gap: 10px; }

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
}

.info-list i {
    color: var(--primary);
    font-size: 0.75rem;
    margin-top: 4px;
    flex-shrink: 0;
}

.accordion-body-inner p {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.75;
    margin-bottom: 10px;
}

.accordion-body-inner p:last-child { margin-bottom: 0; }

.status-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 16px;
    border-radius: var(--r-sm);
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 12px;
}

.status-open {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.status-open i { animation: statusPulse 2.5s ease-in-out infinite; }

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.55; }
}

/* Hours card */
.patient-sidebar { position: sticky; top: 96px; }

.hours-card {
    background: white;
    border-radius: var(--r-lg);
    padding: 28px;
    box-shadow: var(--shadow-lg);
    border: 1.5px solid var(--border);
}

.hours-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 22px;
}

.hours-icon {
    width: 50px; height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: white;
    flex-shrink: 0;
}

.hours-card-header h3 {
    font-size: 1.1rem;
    color: var(--text);
}

.hours-table { width: 100%; border-collapse: collapse; margin-bottom: 6px; }

.hours-table tr { border-bottom: 1px solid var(--border); }
.hours-table tr:last-child { border-bottom: none; }

.hours-table td {
    padding: 9px 0;
    font-size: 0.875rem;
    color: var(--muted);
}

.hours-table td:last-child {
    text-align: right;
    color: var(--text);
}

.hours-row-note td { padding-top: 11px; }

.closed-badge {
    background: #FEF2F2;
    color: #B91C1C;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 50px;
    font-family: var(--font-h);
}

.hours-note {
    font-size: 0.78rem;
    color: var(--muted);
    font-style: italic;
    margin: 12px 0 18px;
    line-height: 1.6;
}

.hours-note i {
    color: var(--primary);
    font-style: normal;
    margin-right: 2px;
}

.hours-contacts {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
    padding-top: 16px;
}

.hours-contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px;
    border-radius: var(--r-sm);
    transition: var(--t);
}

.hours-contact-item:hover {
    background: var(--primary-xlight);
}

.hc-icon {
    width: 32px; height: 32px;
    background: var(--primary-xlight);
    color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: var(--t);
}

.hours-contact-item:hover .hc-icon {
    background: var(--primary);
    color: white;
}

.hc-text { display: flex; flex-direction: column; gap: 1px; }

.hc-label {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hc-value {
    font-size: 0.875rem;
    color: var(--text);
    font-weight: 600;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 22px; }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item-icon {
    width: 42px; height: 42px;
    background: rgba(255,255,255,0.09);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    color: var(--primary-light);
    flex-shrink: 0;
    transition: var(--t);
}

.contact-item:hover .contact-item-icon {
    background: rgba(13,148,136,0.25);
}

.contact-item-body {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 2px;
}

.contact-item-body strong {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 2px;
}

.contact-item-body span,
.contact-item-body a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.82);
    transition: color 0.2s;
}

.contact-item-body a:hover { color: var(--primary-light); }

.contact-note {
    font-size: 0.78rem !important;
    color: rgba(255,255,255,0.38) !important;
    font-style: italic;
}

/* Contact form */
.contact-form-wrap {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--r-lg);
    padding: 28px;
}

.contact-form h3 {
    font-size: 1.15rem;
    color: white;
    margin-bottom: 22px;
}

.form-group { margin-bottom: 18px; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-h);
    color: rgba(255,255,255,0.65);
    margin-bottom: 7px;
}

.form-group label span { color: rgba(255,255,255,0.35); }

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: var(--r-sm);
    padding: 11px 14px;
    color: white;
    font-size: 0.9rem;
    transition: var(--t);
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255,255,255,0.28);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255,255,255,0.11);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.2);
}

.form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 18px;
}

.form-checkbox input {
    width: auto;
    margin-top: 3px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.form-checkbox label {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.55);
    cursor: pointer;
    margin-bottom: 0;
    line-height: 1.5;
}

.gdpr-link {
    color: var(--primary-light);
    text-decoration: underline;
}

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    background: rgba(5,150,105,0.18);
    border: 1px solid rgba(5,150,105,0.4);
    border-radius: var(--r-sm);
    padding: 12px 16px;
    margin-top: 14px;
    color: #6EE7B7;
    font-size: 0.875rem;
}

.form-success.show { display: flex; }

/* Map */
.contact-map {
    border-radius: var(--r-lg);
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    align-self: stretch;
    min-height: 360px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 360px;
    filter: saturate(0.7) brightness(0.8);
    transition: filter 0.4s;
}

.contact-map:hover iframe { filter: saturate(1) brightness(0.95); }

/* ============================================
   Footer
   ============================================ */
.footer {
    background: #05080F;
    padding: 60px 0 28px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.38);
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-insurance {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.insurance-badge-dark {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.11);
    color: rgba(255,255,255,0.65);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    font-family: var(--font-h);
    letter-spacing: 0.04em;
}

.footer-col h4 {
    font-family: var(--font-h);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 14px;
}

.footer-links { display: flex; flex-direction: column; gap: 9px; }

.footer-links li {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
    line-height: 1.5;
}

.footer-links a { transition: color 0.2s; }
.footer-links a:hover,
.footer-links li:hover > a { color: var(--primary-light); }

.footer-links--contact li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-links--contact i {
    color: var(--primary);
    font-size: 0.78rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.28); }

.footer-bottom-links {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.28);
}

.footer-bottom-links a {
    color: rgba(255,255,255,0.4);
    transition: color 0.2s;
}

.footer-bottom-links a:hover { color: var(--primary-light); }

/* ============================================
   Back to Top
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
    pointer-events: none;
    z-index: 50;
    font-size: 0.9rem;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(13,148,136,0.45);
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1100px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .hero-content { max-width: 600px; }

    .about-grid { grid-template-columns: 300px 1fr; gap: 48px; }

    .contact-grid { grid-template-columns: 1fr 1fr; }
    .contact-info { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; gap: 20px; }
    .contact-item { flex: 1; min-width: 200px; }
}

@media (max-width: 900px) {
    .hamburger { display: flex; }

    .navbar-nav {
        position: fixed;
        inset: 0;
        background: rgba(5, 8, 20, 0.97);
        backdrop-filter: blur(24px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 4px;
        z-index: 99;
        display: none;
    }

    .navbar-nav.open { display: flex; }

    .nav-link {
        font-size: 1.4rem;
        color: rgba(255,255,255,0.85) !important;
        padding: 14px 32px;
        border-radius: var(--r);
    }

    .nav-link:hover {
        background: rgba(255,255,255,0.08) !important;
        color: white !important;
    }

    .nav-cta {
        margin-left: 0;
        margin-top: 16px;
        font-size: 1rem;
        padding: 14px 36px;
    }

    .stats-grid { flex-wrap: wrap; justify-content: center; }
    .stat-item { min-width: 160px; }
    .stat-divider { display: none; }

    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .about-photo-col { max-width: 280px; margin: 0 auto; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }

    .patient-layout { grid-template-columns: 1fr; }
    .patient-sidebar { position: static; }

    .contact-grid { grid-template-columns: 1fr; }
    .contact-info { flex-direction: column; }

    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 600px) {
    .section { padding: 64px 0; }
    .container { padding: 0 16px; }

    .hero { padding: 100px 0 70px; }
    .hero-title { font-size: 2.4rem; letter-spacing: -0.5px; }
    .hero-actions { flex-direction: column; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    .services-grid { grid-template-columns: 1fr; }

    .form-row { grid-template-columns: 1fr; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }

    .back-to-top { bottom: 16px; right: 16px; }
}

/* ============================================
   Cursor Glow
   ============================================ */
.cursor-glow {
    position: fixed;
    width: 380px; height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(13,148,136,0.10) 0%, rgba(124,58,237,0.06) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s, transform 0.08s linear;
    opacity: 0;
    will-change: transform;
}

body:hover .cursor-glow { opacity: 1; }

/* ============================================
   Hero Particles Canvas
   ============================================ */
.hero-particles {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.9;
}

/* ============================================
   Service Card 3D Tilt
   ============================================ */
.service-card {
    transform-style: preserve-3d;
    will-change: transform;
}

/* gradient shine overlay on tilt */
.service-card .card-shine {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,0.12) 0%, transparent 65%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover .card-shine { opacity: 1; }

/* ============================================
   Endocrine Map Section
   ============================================ */
.section-endo {
    background: linear-gradient(145deg, #060D1A 0%, #0D1B3A 50%, #12103A 100%);
    color: white;
}

.section-endo .section-eyebrow { color: #5EEAD4; }
.section-endo .section-title   { color: white; }
.section-endo .section-subtitle { color: rgba(255,255,255,0.55); }

.endo-layout {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 60px;
    align-items: start;
}

/* keep the diagram in view while reading a long gland panel */
@media (min-width: 901px) {
    .endo-diagram-wrap { position: sticky; top: 110px; }
}

/* SVG Diagram */
.endo-diagram-wrap {
    position: relative;
}

.endo-svg {
    width: 100%;
    max-width: 420px;
    display: block;
    margin: 0 auto;
    overflow: visible;
}

/* Connection lines */
.endo-line {
    stroke-width: 1.2;
    stroke-dasharray: 4 4;
    animation: flowDash 2.5s linear infinite;
}

.endo-line--long  { animation-duration: 4s; }
.endo-line--short { animation-duration: 1.5s; }

@keyframes flowDash {
    from { stroke-dashoffset: 0; }
    to   { stroke-dashoffset: -32; }
}

/* Node text labels */
.node-label {
    font-family: var(--font-h);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    pointer-events: none;
    transition: opacity 0.3s;
}

/* Pulse animation rings */
.node-pulse {
    animation: nodePulse 3s ease-in-out infinite;
    transform-origin: center;
    transform-box: fill-box;
}

@keyframes nodePulse {
    0%, 100% { transform: scale(1);   opacity: 0.6; }
    50%       { transform: scale(1.5); opacity: 0; }
}

/* Nodes – base */
.endo-node {
    cursor: pointer;
    transition: filter 0.25s;
}

.endo-node:hover,
.endo-node:focus { filter: brightness(1.4) drop-shadow(0 0 10px currentColor); outline: none; }

.endo-node.active { filter: brightness(1.6) drop-shadow(0 0 14px currentColor); }

.endo-node .node-core   { transition: transform 0.3s var(--ease); transform-origin: center; transform-box: fill-box; }
.endo-node:hover .node-core,
.endo-node.active .node-core { transform: scale(1.25); }

/* Stagger pulse delays */
.endo-node:nth-child(1) .node-pulse { animation-delay: 0s; }
.endo-node:nth-child(2) .node-pulse { animation-delay: 0.5s; }
.endo-node:nth-child(3) .node-pulse { animation-delay: 1s; }
.endo-node:nth-child(4) .node-pulse { animation-delay: 1.5s; }
.endo-node:nth-child(5) .node-pulse { animation-delay: 2s; }
.endo-node:nth-child(6) .node-pulse { animation-delay: 2.5s; }

/* ── Info Panel ── */
.endo-info {
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.endo-default {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 20px;
    opacity: 0.55;
    padding: 40px;
}

.endo-default-icon {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: rgba(255,255,255,0.4);
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-8px); }
}

.endo-default p {
    color: rgba(255,255,255,0.45);
    font-size: 0.95rem;
    line-height: 1.7;
    max-width: 280px;
}

/* Panel */
.endo-panel {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--r-xl);
    padding: 32px;
    backdrop-filter: blur(20px);
    animation: panelIn 0.4s cubic-bezier(0.34,1.56,0.64,1);
}

@keyframes panelIn {
    from { opacity: 0; transform: translateX(24px) scale(0.97); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}

.endo-panel-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.endo-panel-dot {
    width: 18px; height: 18px;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 12px currentColor;
}

.endo-panel-title {
    font-size: 1.4rem;
    color: white;
    flex: 1;
}

.endo-close {
    width: 32px; height: 32px;
    border-radius: 8px;
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--t);
    flex-shrink: 0;
}

.endo-close:hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

.endo-hormones {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.endo-hormone-tag {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.18);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 600;
    font-family: var(--font-h);
}

.endo-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.75;
    margin-bottom: 20px;
}

.endo-diseases h4 {
    font-family: var(--font-h);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
}

.endo-disease-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.endo-disease-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
}

.endo-disease-item::before {
    content: '';
    width: 6px; height: 6px;
    border-radius: 50%;
    background: currentColor;
    flex-shrink: 0;
}

/* ── Rich gland panel ── */
.endo-panel-scroll {
    max-height: 62vh;
    overflow-y: auto;
    padding-right: 12px;
    margin-right: -6px;
}
.endo-panel-scroll:focus-visible { outline: none; }
.endo-panel-scroll::-webkit-scrollbar { width: 7px; }
.endo-panel-scroll::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 10px; }
.endo-panel-scroll::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.22); border-radius: 10px; }
.endo-panel-scroll::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.35); }

.endo-rich { color: rgba(255,255,255,0.78); font-size: 0.9rem; line-height: 1.72; }
.endo-rich > p { margin-bottom: 14px; }
.endo-rich h4 {
    font-family: var(--font-h);
    font-size: 1.02rem;
    color: #fff;
    margin: 22px 0 10px;
    padding-left: 12px;
    border-left: 3px solid var(--gland-color, var(--primary));
    line-height: 1.3;
}
.endo-rich h5 {
    font-family: var(--font-h);
    font-size: 0.92rem;
    color: rgba(255,255,255,0.92);
    margin: 16px 0 8px;
}
.endo-rich ul {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.endo-rich ul li {
    position: relative;
    padding-left: 18px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.74);
}
.endo-rich ul li::before {
    content: '';
    position: absolute;
    left: 2px; top: 9px;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--gland-color, var(--primary));
}
.endo-rich strong { color: #fff; font-weight: 600; }

.endo-produces {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 50px;
    font-family: var(--font-h);
    font-weight: 600;
    font-size: 0.82rem;
    color: #fff;
    background: color-mix(in srgb, var(--gland-color, #0D9488) 28%, transparent);
    border: 1px solid color-mix(in srgb, var(--gland-color, #0D9488) 55%, transparent);
}

.endo-note {
    font-size: 0.84rem;
    color: rgba(255,255,255,0.66);
    background: rgba(255,255,255,0.05);
    border-left: 3px solid var(--gland-color, var(--primary));
    border-radius: 0 10px 10px 0;
    padding: 10px 14px;
    margin: 0 0 16px !important;
}

.endo-table {
    width: 100%;
    border-collapse: collapse;
    margin: 6px 0 18px;
    font-size: 0.8rem;
}
.endo-table th,
.endo-table td {
    text-align: left;
    padding: 8px 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    vertical-align: top;
}
.endo-table th {
    font-family: var(--font-h);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.04);
}
.endo-table td { color: rgba(255,255,255,0.78); }
.endo-table tbody tr:last-child td { border-bottom: none; }

.endo-diseases {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* ============================================
   Responsive — Endocrine
   ============================================ */
@media (max-width: 900px) {
    .endo-layout {
        grid-template-columns: 1fr;
    }
    .endo-diagram-wrap { max-width: 320px; margin: 0 auto; }
    .endo-info { min-height: auto; }
    .endo-panel-scroll { max-height: none; }
}

/* ============================================
   ✦ DESIGN POLISH (added)
   ============================================ */

/* --- Service card: animated gradient top accent --- */
.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s var(--ease);
    z-index: 2;
}
.service-card:hover::after { transform: scaleX(1); }

/* Icon gets a soft colored ring-glow on hover */
.service-card:hover .service-icon {
    transform: scale(1.12) rotate(6deg);
    box-shadow: 0 8px 22px -6px currentColor;
}

/* --- Refined section eyebrow with leading dash --- */
.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.section-eyebrow::before {
    content: '';
    width: 22px; height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}
.section-eyebrow--light::before {
    background: linear-gradient(90deg, #5EEAD4, #C4B5FD);
}

/* --- Buttons: subtle press feedback --- */
.btn:active { transform: translateY(1px) scale(0.985); }

/* --- Accessible focus rings (keyboard only) --- */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
input:focus-visible,
textarea:focus-visible,
.endo-node:focus-visible,
.accordion-header:focus-visible {
    outline: 3px solid rgba(124, 58, 237, 0.55);
    outline-offset: 3px;
    border-radius: 6px;
}

/* --- Floating mobile "Objednať sa" CTA --- */
.mobile-book {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 48;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 24px;
    border-radius: 50px;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 12px 30px -6px rgba(13,148,136,0.55);
    transform: translateY(140%);
    transition: transform 0.45s var(--ease);
}
.mobile-book.visible { transform: translateY(0); }
.mobile-book:active { transform: scale(0.97); }

@media (max-width: 900px) {
    .mobile-book { display: flex; }
    /* nudge back-to-top up so it doesn't overlap the booking bar */
    .back-to-top { bottom: 84px; }
}

/* --- Respect users who prefer reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .reveal { opacity: 1 !important; transform: none !important; }
    .hero-particles { display: none; }
}

/* ============================================
   ✦ REVIEWS (Recenzie pacientov)
   ============================================ */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.review-card {
    position: relative;
    background: white;
    border: 1.5px solid var(--border);
    border-radius: var(--r-lg);
    padding: 30px 28px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--t);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.review-card::before {
    content: '\201C';            /* opening quote */
    position: absolute;
    top: 6px; right: 22px;
    font-family: Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--primary);
    opacity: 0.10;
    pointer-events: none;
}
.review-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.review-stars {
    display: flex;
    gap: 3px;
    color: #F59E0B;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.review-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text);
    margin: 0 0 22px;
    font-style: normal;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 13px;
}
.review-avatar {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 1.15rem;
    color: white;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    flex-shrink: 0;
}
.review-meta { display: flex; flex-direction: column; }
.review-name { font-weight: 700; font-family: var(--font-h); color: var(--text); font-size: 0.95rem; }
.review-detail { font-size: 0.8rem; color: var(--muted); }

.reviews-note {
    text-align: center;
    margin-top: 28px;
    font-size: 0.85rem;
    color: var(--muted);
}
.reviews-note i { color: var(--primary); margin-right: 6px; }

/* ============================================
   ✦ FAQ
   ============================================ */
.container--narrow { max-width: 820px; }

.accordion--faq { margin-top: 8px; }

.faq-inline-link {
    color: var(--primary);
    font-weight: 600;
    border-bottom: 1.5px solid transparent;
    transition: border-color 0.2s var(--ease);
}
.faq-inline-link:hover { border-bottom-color: var(--primary); }

@media (max-width: 900px) {
    .reviews-grid { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
}

/* ============================================
   ✦ TRIAL OPERATION BANNER
   ============================================ */
.trial-banner {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--trial-h);
    z-index: 101;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 48px 0 16px;
    text-align: center;
    color: #3b2406;
    background: linear-gradient(90deg, #FCD34D, #FBBF24, #F59E0B);
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    font-size: 0.85rem;
    line-height: 1.3;
}
.trial-banner-text { display: inline-flex; align-items: center; gap: 9px; }
.trial-banner-text i { font-size: 0.9rem; }
.trial-banner-text strong { font-weight: 700; }

.trial-banner-close {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 26px; height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b2406;
    background: rgba(0,0,0,0.08);
    transition: background 0.2s var(--ease);
}
.trial-banner-close:hover { background: rgba(0,0,0,0.18); }

.trial-dismissed .trial-banner { display: none; }

@media (max-width: 600px) {
    .trial-banner { font-size: 0.76rem; padding: 0 40px 0 12px; }
}

/* ── Holistic / EBM approach callout (About) ── */
.approach-callout {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-top: 30px;
    padding: 20px 22px;
    border-radius: var(--r);
    background: linear-gradient(135deg, var(--primary-xlight), #ffffff);
    border: 1px solid var(--primary-light);
}
.approach-icon {
    width: 46px; height: 46px;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff; font-size: 1.15rem; flex-shrink: 0;
}
.approach-body strong {
    display: block;
    font-family: var(--font-h);
    color: var(--text);
    margin-bottom: 5px;
    font-size: 1.02rem;
}
.approach-body p { font-size: 0.9rem; color: var(--muted); line-height: 1.62; margin: 0; }

/* ── First-visit fee note ── */
.fee-note {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
    font-size: 0.875rem;
    line-height: 1.5;
}
.fee-note i { color: #059669; font-size: 1rem; flex-shrink: 0; }
.fee-note strong { color: #064E3B; }
.fee-note--card { margin-top: 14px; padding: 10px 14px; font-size: 0.82rem; }

.footer-trial {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 36px;
    padding: 10px 18px;
    border: 1px solid rgba(251, 191, 36, 0.35);
    border-radius: 50px;
    background: rgba(251, 191, 36, 0.08);
    color: #FCD34D;
    font-size: 0.82rem;
    width: fit-content;
    margin-inline: auto;
}

/* ============================================
   ✦ SKIP LINK (a11y)
   ============================================ */
.skip-link {
    position: fixed;
    top: 10px; left: 10px;
    z-index: 200;
    padding: 12px 22px;
    border-radius: 50px;
    background: var(--secondary);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    transform: translateY(-200%);
    transition: transform 0.25s var(--ease);
}
.skip-link:focus-visible { transform: translateY(0); }

/* ============================================
   ✦ OPEN/CLOSED LIVE STATUS
   ============================================ */
.hero-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.open-status { gap: 8px; }
.open-status-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
    background: #34D399;
    box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
    animation: statusPing 2.2s ease-out infinite;
}
.open-status--closed .open-status-dot {
    background: #F87171;
    box-shadow: none;
    animation: none;
}
.open-status--closed .open-status-text { opacity: 0.85; }

@keyframes statusPing {
    0%   { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
    70%  { box-shadow: 0 0 0 9px rgba(52, 211, 153, 0); }
    100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

/* variant inside the white hours card */
.open-status--card {
    display: inline-flex;
    align-items: center;
    margin-left: auto;
    padding: 6px 13px;
    border-radius: 50px;
    font-size: 0.74rem;
    font-weight: 700;
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}
.open-status--card.open-status--closed {
    background: #FEF2F2;
    color: #B91C1C;
    border-color: #FECACA;
}

/* ============================================
   ✦ PROCESS STEPS (Ako prebieha vyšetrenie)
   ============================================ */
.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    counter-reset: step;
    position: relative;
    margin-top: 12px;
}

/* connecting line behind the numbers */
.process-steps::before {
    content: '';
    position: absolute;
    top: 27px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    opacity: 0.25;
}

.process-step {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.process-num {
    width: 54px; height: 54px;
    margin: 0 auto 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-h);
    font-weight: 800;
    font-size: 1.25rem;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 8px 20px -6px rgba(13, 148, 136, 0.5);
    position: relative;
    z-index: 1;
    transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.process-step:hover .process-num {
    transform: scale(1.12) rotate(-6deg);
    box-shadow: 0 12px 28px -6px rgba(124, 58, 237, 0.55);
}

.process-icon {
    font-size: 1.25rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.process-title {
    font-size: 1.02rem;
    margin-bottom: 8px;
    color: var(--text);
}

.process-text {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

@media (max-width: 900px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }
    .process-steps::before { display: none; }
}
@media (max-width: 520px) {
    .process-steps { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
}

/* ============================================
   ✦ SERVICE CARD → MAP LINK
   ============================================ */
.service-card[data-gland] { cursor: pointer; }

.service-map-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    font-size: 0.8rem;
    font-weight: 700;
    font-family: var(--font-h);
    color: var(--primary);
    position: relative;
    z-index: 1;
    opacity: 0.85;
    transition: var(--t);
}
.service-map-link i { transition: transform 0.3s var(--ease); }
.service-card:hover .service-map-link { opacity: 1; }
.service-card:hover .service-map-link i { transform: translateX(4px); }

/* ============================================
   ✦ COPY-TO-CLIPBOARD BUTTON
   ============================================ */
.copy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    margin-left: 8px;
    border-radius: 8px;
    color: rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.08);
    font-size: 0.75rem;
    vertical-align: middle;
    transition: var(--t);
    position: relative;
}
.copy-btn:hover { background: rgba(255,255,255,0.18); color: #fff; }
.copy-btn.copied { background: #059669; color: #fff; }

/* ============================================
   ✦ HERO NAME SHIMMER
   ============================================ */
.hero-title-name {
    background-size: 200% 200%;
    animation: nameShimmer 7s ease-in-out infinite;
}
@keyframes nameShimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}

