/* ==========================================================================
   DESIGN SYSTEM & CUSTOM PROPERTIES
   ========================================================================== */
:root {
    /* Colors */
    --primary-color: #0c5c5a;     /* Deep medical teal */
    --primary-dark: #063937;      /* Dark teal for headings/luxury feel */
    --primary-light: #e6f2f2;     /* Ice-blue-teal for highlights */
    --accent-color: #c59e51;      /* Elegant satin gold for accents */
    --accent-dark: #9e7d3b;       /* Dark gold */
    --accent-light: #f7f3e8;      /* Warm cream */
    --dark-color: #1c2e2d;        /* Deep charcoal-teal for primary text */
    --text-muted: #576d6b;        /* Cool gray-teal for descriptive text */
    --light-bg: #f5f9f8;          /* Light clinical grey/teal background */
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --teal-gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gold-gradient: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-dark) 100%);
    --body-gradient: linear-gradient(to bottom, #ffffff 0%, var(--light-bg) 100%);
    --premium-glow: linear-gradient(135deg, rgba(12, 92, 90, 0.08) 0%, rgba(197, 158, 81, 0.05) 100%);

    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Spacing & Layout */
    --container-max-width: 1200px;
    --section-padding: 100px 0;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
    --border-radius-xl: 32px;

    /* Shadow & Effects */
    --shadow-sm: 0 4px 6px rgba(12, 92, 90, 0.04);
    --shadow-md: 0 12px 24px rgba(12, 92, 90, 0.08);
    --shadow-lg: 0 24px 48px rgba(12, 92, 90, 0.12);
    --shadow-accent: 0 10px 20px rgba(197, 158, 81, 0.15);
    
    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(12, 92, 90, 0.08);
    --glass-blur: blur(12px);

    /* Transitions */
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   PLACEHOLDER HOMEPAGE HERO OVERRIDES
   ========================================================================== */
.hero-style-header {
    top: 16px;
    padding: 0;
    background: transparent;
}

.hero-style-header.scrolled {
    top: 10px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    padding: 0;
}

.hero-style-header .header-container {
    max-width: 1120px;
    min-height: 58px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
}

.hero-style-header.scrolled .header-container {
    padding: 8px 14px;
}

.hero-style-header .logo-title {
    font-size: 0.92rem;
    color: #17204f;
}

.hero-style-header .logo-subtitle {
    display: none;
}

.hero-style-header .nav-menu {
    gap: 10px;
}

.hero-style-header .nav-link {
    color: #202640;
    font-size: 0.86rem;
    padding: 10px 11px;
}

.hero-style-header .nav-link::after {
    display: none;
}

.hero-style-header .btn-primary {
    min-height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    background: #20215f;
    box-shadow: none;
}

.hero-style-header .mobile-nav-toggle .bar {
    background: #20215f;
}

.cinematic-hero {
    min-height: 92vh;
    padding: 0;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: #10131f;
}

.cinematic-hero::before {
    display: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.02) contrast(1.04);
}

.cinematic-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 12, 22, 0.72) 0%, rgba(8, 12, 22, 0.22) 46%, rgba(8, 12, 22, 0.58) 100%),
        linear-gradient(0deg, rgba(8, 12, 22, 0.88) 0%, rgba(8, 12, 22, 0.08) 58%, rgba(8, 12, 22, 0.18) 100%);
}

.cinematic-hero-container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    align-items: end;
    gap: 56px;
    padding-top: 150px;
    padding-bottom: 34px;
}

.hero-copy-panel,
.hero-side-panel {
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    border-radius: 7px;
    overflow: hidden;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-kicker span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
}

.hero-kicker span:first-child {
    background: #fff;
    color: #20215f;
}

.hero-kicker span:last-child {
    background: #20215f;
    color: #fff;
}

.cinematic-hero .hero-title {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.1rem, 5.2vw, 6rem);
    line-height: 0.94;
    letter-spacing: 0;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
}

.hero-side-panel {
    max-width: 390px;
    justify-self: end;
    padding-bottom: 4px;
}

.avatar-row {
    display: flex;
    align-items: center;
    height: 28px;
    margin-bottom: 7px;
}

.avatar-row span,
.avatar-row strong {
    width: 24px;
    height: 24px;
    margin-left: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #d7eef0;
    color: #20215f;
    font-size: 0.62rem;
    font-weight: 800;
}

.avatar-row span:first-child {
    margin-left: 0;
    background: #ffd9b0;
}

.avatar-row span:nth-child(2) {
    background: #bfe3ff;
}

.avatar-row span:nth-child(3) {
    background: #d5c6ff;
}

.micro-label {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    font-weight: 600;
}

.cinematic-hero .hero-subtitle {
    max-width: 390px;
    margin: 0 0 22px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.58;
}

.cinematic-hero .hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.cinematic-hero .btn {
    border-radius: 999px;
}

.cinematic-hero .btn-primary {
    background: #eef8ff;
    color: #20215f;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.cinematic-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(18px);
}

.cinematic-hero + .about-section {
    padding-top: 96px;
}

@media (max-width: 1024px) {
    .hero-style-header {
        top: 10px;
    }

    .hero-style-header .header-container {
        border-radius: 26px;
    }

    .hero-style-header .navbar {
        top: calc(100% + 10px);
        border-radius: 22px;
    }

    .cinematic-hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 150px;
    }

    .hero-side-panel {
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .cinematic-hero {
        min-height: 92vh;
    }

    .hero-style-header .header-container {
        margin: 0 10px;
        width: calc(100% - 20px);
    }

    .cinematic-hero-container {
        padding-bottom: 28px;
    }

    .cinematic-hero .hero-title {
        font-size: clamp(2.8rem, 13vw, 4.4rem);
    }

    .cinematic-hero .hero-actions {
        width: 100%;
    }

    .cinematic-hero .hero-actions .btn {
        flex: 1 1 150px;
        justify-content: center;
    }
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.25;
}

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

.text-gold {
    color: var(--accent-color);
}

.bg-light {
    background-color: var(--light-bg);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: var(--section-padding);
}

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.hidden { display: none !important; }

/* ==========================================================================
   BUTTONS & ACCENTS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-headings);
    font-weight: 600;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(12, 92, 90, 0.2);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 92, 90, 0.3);
}

.btn-secondary {
    background-color: var(--accent-light);
    color: var(--primary-dark);
    border-color: rgba(197, 158, 81, 0.3);
}

.btn-secondary:hover {
    background-color: var(--accent-color);
    color: var(--white);
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-accent);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
    background-color: var(--white);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--primary-color);
    font-family: var(--font-headings);
    transition: var(--transition-fast);
}

.btn-text i {
    transition: var(--transition-fast);
}

.btn-text:hover {
    color: var(--accent-color);
}

.btn-text:hover i {
    transform: translateX(4px);
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.85rem;
    padding: 6px 16px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid rgba(12, 92, 90, 0.08);
}

.title-underline {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 16px auto 0;
    border-radius: 2px;
}

.title-underline.left {
    margin-left: 0;
}

/* ==========================================================================
   HEADER / NAVBAR
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent;
    transition: var(--transition-smooth);
    border-bottom: 1px solid transparent;
}

.main-header.scrolled {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    padding-bottom: 20px;
    transition: var(--transition-smooth);
}

.main-header.scrolled .header-container {
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo {
    display: flex;
    flex-direction: column;
}

.logo-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--primary-color);
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-subtitle {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 2px;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1rem;
    color: var(--dark-color);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.mobile-nav-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
    background-image: var(--premium-glow);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 50%;
    height: 80%;
    background: radial-gradient(circle, rgba(197, 158, 81, 0.08) 0%, transparent 60%);
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

#hero-badge {
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 16px;
    font-weight: 400;
}

.hero-caution {
    font-size: 0.9rem;
    color: var(--primary-color);
    background-color: rgba(12, 92, 90, 0.05);
    padding: 8px 16px;
    border-left: 3px solid var(--accent-color);
    border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    width: 100%;
}

.hero-trust {
    display: flex;
    gap: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.trust-item i {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.hero-image-wrapper {
    position: relative;
}

.hero-image-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110%;
    height: 110%;
    background: radial-gradient(circle, rgba(12, 92, 90, 0.15) 0%, transparent 70%);
    z-index: 1;
}

.hero-image-frame {
    position: relative;
    z-index: 2;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 8px solid var(--white);
    aspect-ratio: 4 / 5;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition-smooth);
}

.hero-image-frame:hover .hero-image {
    transform: scale(1.03);
}

.experience-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    padding: 16px 24px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 3;
}

.exp-number {
    font-family: var(--font-headings);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.exp-text {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
    text-transform: uppercase;
}

/* Credentials / Stats Bar */
.credentials-bar {
    margin-top: 80px;
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(12, 92, 90, 0.05);
    position: relative;
    z-index: 10;
}

.credentials-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 24px 0;
}

.credential-item {
    display: flex;
    align-items: center;
    gap: 16px;
    flex: 1;
    padding: 0 30px;
}

.credential-item .cred-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.credential-item h4 {
    font-size: 1rem;
    margin-bottom: 2px;
}

.credential-item p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.credentials-bar .divider {
    width: 1px;
    height: 40px;
    background-color: rgba(12, 92, 90, 0.1);
}

/* ==========================================================================
   CHI SONO / ABOUT
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
    align-items: center;
    margin-top: 50px;
}

.about-lead {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.35;
}

.about-text {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.qualifications-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 32px 0;
}

.qualification-box {
    display: flex;
    align-items: center;
    gap: 16px;
    background-color: var(--light-bg);
    border: 1px solid rgba(12, 92, 90, 0.05);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    transition: var(--transition-fast);
}

.qualification-box:hover {
    border-color: rgba(197, 158, 81, 0.3);
    background-color: var(--white);
    box-shadow: var(--shadow-sm);
}

.qualification-box i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.qualification-box h5 {
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.qualification-box p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Glass Clinical card on the right */
.card-glass-clinical {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(12, 92, 90, 0.08);
    box-shadow: var(--shadow-md);
    padding: 36px;
    position: relative;
    overflow: hidden;
}

.card-glass-clinical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--teal-gradient);
}

.card-title-sm {
    font-size: 1.25rem;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-title-sm i {
    font-size: 1.4rem;
}

.clinical-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.clinical-list li {
    display: flex;
    gap: 16px;
}

.list-bullet {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: var(--primary-light);
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 3px;
}

.clinical-list li strong {
    display: block;
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 2px;
}

.clinical-list li p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   SCIENCE / PLACEHOLDER CONTENT
   ========================================================================== */
.science-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 65px;
    align-items: center;
}

.science-visual {
    position: relative;
}

.science-image-container {
    width: 100%;
    aspect-ratio: 1;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.science-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(12, 92, 90, 0.1) 0%, transparent 65%);
    z-index: 1;
}

.science-illustration {
    position: relative;
    z-index: 2;
    width: 80%;
    height: 80%;
    background: var(--white);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(12, 92, 90, 0.06);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    overflow: hidden;
}

.science-illustration::after {
    content: '';
    position: absolute;
    bottom: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background-color: var(--primary-light);
    border-radius: 50%;
    z-index: 1;
    opacity: 0.5;
}

/* Abstract chemical molecule representation */
.molecule {
    position: relative;
    width: 160px;
    height: 160px;
    z-index: 2;
    margin-bottom: 24px;
}

.atom {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-headings);
    font-weight: 700;
    color: var(--white);
    font-size: 1.1rem;
    box-shadow: var(--shadow-md);
}

.atom-center {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--teal-gradient);
    width: 60px;
    height: 60px;
    font-size: 1.3rem;
    border: 3px solid var(--white);
}

.atom-1 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold-gradient);
}

.atom-2 {
    bottom: 10px;
    left: 15px;
    background: var(--teal-gradient);
}

.atom-3 {
    bottom: 10px;
    right: 15px;
    background: var(--teal-gradient);
}

.molecule::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    width: 2px;
    height: 80px;
    background: dashed rgba(12, 92, 90, 0.2);
    transform: translateX(-50%);
}

.molecule::after {
    content: '';
    position: absolute;
    bottom: 30px;
    left: 40px;
    width: 80px;
    height: 2px;
    background: dashed rgba(12, 92, 90, 0.2);
}

.illustration-text {
    text-align: center;
    z-index: 2;
}

.illustration-text span {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}

.illustration-text p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.science-lead {
    font-size: 1.35rem;
    color: var(--primary-color);
    margin-bottom: 24px;
    font-weight: 500;
}

.science-text {
    color: var(--text-muted);
    margin-bottom: 36px;
}

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

.benefit-item {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(12, 92, 90, 0.05);
    box-shadow: var(--shadow-sm);
    padding: 16px 20px;
    transition: var(--transition-fast);
}

.benefit-item:hover {
    border-color: rgba(12, 92, 90, 0.1);
    box-shadow: var(--shadow-md);
}

.benefit-header {
    display: flex;
    align-items: center;
    gap: 16px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--primary-dark);
}

.benefit-header i {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--primary-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

.benefit-body {
    padding-left: 48px;
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================================================
   TREATMENTS / TRATTAMENTI
   ========================================================================== */
.section-header {
    margin-bottom: 60px;
}

.section-subtitle {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-description {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-top: 18px;
}

.treatments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.treatment-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(12, 92, 90, 0.06);
    box-shadow: var(--shadow-sm);
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.treatment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    transition: var(--transition-fast);
}

.treatment-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(12, 92, 90, 0.1);
}

.treatment-card:hover::before {
    background: var(--teal-gradient);
}

.card-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background-color: var(--primary-light);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 24px;
    transition: var(--transition-fast);
}

.treatment-card:hover .card-icon-wrapper {
    background: var(--teal-gradient);
    color: var(--white);
    transform: scale(1.05);
}

.treatment-title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.treatment-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.6;
}

.treatment-bullets {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
    margin-top: auto;
}

.treatment-bullets li {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.treatment-bullets li i {
    font-size: 0.65rem;
    color: var(--accent-color);
}

.card-footer-cta {
    border-top: 1px solid rgba(12, 92, 90, 0.05);
    padding-top: 20px;
    margin-top: 10px;
}

/* Highlighted Treatment Card (Ernie) */
.treatment-card.highlighted {
    border: 2px solid var(--accent-color);
    box-shadow: var(--shadow-md);
}

.treatment-card.highlighted::before {
    background: var(--gold-gradient);
}

.treatment-card.highlighted .card-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--gold-gradient);
    color: var(--white);
    font-family: var(--font-headings);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.treatment-card.highlighted .card-icon-wrapper {
    background-color: var(--accent-light);
    color: var(--accent-color);
}

.treatment-card.highlighted:hover .card-icon-wrapper {
    background: var(--gold-gradient);
    color: var(--white);
}

/* CTA Card in the grid */
.bg-teal-gradient {
    background: var(--teal-gradient);
}

.text-white {
    color: var(--white);
}

.text-light-teal {
    color: rgba(255, 255, 255, 0.75);
}

.card-inner-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    gap: 20px;
    padding: 10px 0;
}

.card-inner-cta p {
    font-size: 0.9rem;
    line-height: 1.6;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

/* ==========================================================================
   CLINIC / LA SEDE
   ========================================================================== */
.clinic-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 50px;
    align-items: center;
}

.clinic-info-card {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(12, 92, 90, 0.05);
    padding: 40px;
}

.clinic-header {
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(12, 92, 90, 0.08);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.clinic-header i {
    font-size: 2.2rem;
    width: 64px;
    height: 64px;
    background-color: var(--primary-light);
    border-radius: var(--border-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.clinic-header h3 {
    font-size: 1.4rem;
}

.clinic-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    gap: 16px;
}

.detail-item i {
    font-size: 1.1rem;
    color: var(--accent-color);
    margin-top: 4px;
}

.detail-item strong {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.detail-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-top: 2px;
}

/* Styled Map Mockup */
.clinic-map-wrapper {
    height: 100%;
    min-height: 450px;
}

.map-container {
    width: 100%;
    height: 100%;
    min-height: 450px;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 6px solid var(--white);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 450px;
    background-color: #e5ede9;
    position: relative;
    overflow: hidden;
}

/* Clean abstract graphic style grid for map background */
.map-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(#108b88 1.5px, transparent 1.5px),
        linear-gradient(rgba(16, 139, 136, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 139, 136, 0.05) 1px, transparent 1px);
    background-size: 30px 30px, 30px 30px, 30px 30px;
    background-position: 0 0;
    z-index: 1;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Pulsing medical marker */
.map-marker {
    position: relative;
    width: 46px;
    height: 46px;
    background: var(--teal-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.15rem;
    box-shadow: 0 0 20px rgba(12, 92, 90, 0.4);
    z-index: 10;
}

.map-marker::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 8px 6px 0 6px;
    border-color: var(--primary-dark) transparent transparent transparent;
}

.pulse {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: rgba(12, 92, 90, 0.2);
    animation: markerPulse 2s infinite ease-out;
    z-index: -1;
}

@keyframes markerPulse {
    0% { transform: scale(0.3); opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

.map-card-popup {
    background-color: var(--white);
    padding: 20px;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-lg);
    width: 280px;
    margin-top: 24px;
    text-align: center;
    border: 1px solid rgba(12, 92, 90, 0.08);
}

.map-card-popup h5 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.map-card-popup p {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.map-btn {
    font-family: var(--font-headings);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
    background-color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.map-btn:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */
.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.faq-card {
    background-color: var(--white);
    border-radius: var(--border-radius-md);
    border: 1px solid rgba(12, 92, 90, 0.05);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition-fast);
}

.faq-card:hover {
    border-color: rgba(12, 92, 90, 0.1);
    box-shadow: var(--shadow-md);
}

.faq-card.active {
    border-color: rgba(197, 158, 81, 0.2);
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    padding: 24px 30px;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-dark);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    transition: var(--transition-fast);
}

.faq-question i {
    font-size: 0.95rem;
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-card.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.faq-answer-content {
    padding: 0 30px 24px;
    border-top: 1px solid rgba(12, 92, 90, 0.03);
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 60px;
    align-items: start;
}

.contact-text-box {
    display: flex;
    flex-direction: column;
}

.contact-lead {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 16px;
    line-height: 1.35;
}

.contact-text {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.contact-info-item i {
    font-size: 1.1rem;
}

.gdpr-alert {
    display: flex;
    gap: 16px;
    background-color: var(--accent-light);
    border: 1px solid rgba(197, 158, 81, 0.15);
    padding: 16px 20px;
    border-radius: var(--border-radius-md);
    margin-top: 10px;
}

.gdpr-alert i {
    font-size: 1.4rem;
    color: var(--accent-color);
    margin-top: 2px;
}

.gdpr-alert p {
    font-size: 0.8rem;
    color: var(--accent-dark);
    line-height: 1.5;
}

/* Form Styling */
.contact-form-wrapper {
    position: relative;
}

.card-glass-form {
    background-color: var(--white);
    border-radius: var(--border-radius-lg);
    border: 1px solid rgba(12, 92, 90, 0.08);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    position: relative;
    z-index: 2;
}

.form-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    border-bottom: 2px solid var(--accent-light);
    padding-bottom: 12px;
}

.medical-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.form-group label {
    font-family: var(--font-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
}

.form-control {
    font-family: var(--font-body);
    font-size: 0.9rem;
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(12, 92, 90, 0.12);
    background-color: var(--light-bg);
    color: var(--dark-color);
    outline: none;
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary-color);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(12, 92, 90, 0.08);
}

textarea.form-control {
    resize: vertical;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .col {
    flex: 1;
}

.form-check {
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
    margin-top: 5px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    border-radius: 4px;
    border: 1px solid rgba(12, 92, 90, 0.2);
    outline: none;
    cursor: pointer;
}

.form-check-label {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    line-height: 1.5;
    font-weight: 400 !important;
    cursor: pointer;
}

.invalid-feedback {
    display: none;
    font-size: 0.75rem;
    color: #dc3545;
    margin-top: 4px;
}

.form-group.has-error .form-control {
    border-color: #dc3545;
}

.form-group.has-error .invalid-feedback {
    display: block;
}

/* Feedback alert */
.form-feedback {
    padding: 12px 16px;
    border-radius: var(--border-radius-sm);
    font-size: 0.85rem;
    margin-top: 15px;
    text-align: center;
    font-weight: 600;
}

.form-feedback.success {
    background-color: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.form-feedback.error {
    background-color: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding-top: 80px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.8fr 0.9fr;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-box {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.footer-logo .logo-title {
    color: var(--white);
    font-size: 1.4rem;
}

.footer-logo .logo-subtitle {
    color: rgba(255, 255, 255, 0.5);
}

.footer-desc {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
    margin-bottom: 24px;
    line-height: 1.6;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

.social-icons a:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-links-box h4,
.footer-legal-box h4 {
    font-size: 1.05rem;
    color: var(--accent-color);
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.85rem;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 5px;
}

.legal-text {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.75rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-bottom {
    background-color: #12201f;
    padding: 24px 0;
}

.footer-bottom-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

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

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    opacity: 0;
    visibility: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition-smooth);
    z-index: 99;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   RESPONSIVE DESIGN Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .hero-image-wrapper {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }
    
    .about-grid, .science-grid, .clinic-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .about-visual, .science-visual {
        order: -1;
        max-width: 550px;
        margin: 0 auto;
        width: 100%;
    }
    
    .footer-top {
        grid-template-columns: 1.2fr 0.8fr;
    }
    
    .footer-legal-box {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .credentials-container {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
        padding: 30px;
    }
    
    .credentials-bar .divider {
        display: none;
    }
    
    .credential-item {
        padding: 0;
    }
    
    /* Navbar menu for mobile */
    .mobile-nav-toggle {
        display: flex;
    }
    
    .navbar {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(12, 92, 90, 0.05);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-in-out;
    }
    
    .navbar.active {
        max-height: 400px;
    }
    
    .nav-menu {
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }
    
    .nav-link {
        display: block;
        padding: 8px 0;
    }
    
    .header-cta {
        display: none; /* Hide button on small devices */
    }
    
    .mobile-nav-toggle.active .bar:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .mobile-nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-nav-toggle.active .bar:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .footer-top {
        grid-template-columns: 1fr;
    }
    
    .footer-legal-box {
        grid-column: span 1;
    }
    
    .footer-bottom-container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .card-glass-form, .clinic-info-card, .card-glass-clinical {
        padding: 24px;
    }
    
    .benefit-body {
        padding-left: 0;
    }
}

/* Final placeholder hero layer: keep this after the legacy stylesheet. */
.hero-style-header {
    top: 16px;
    padding: 0;
    background: transparent;
}

.hero-style-header.scrolled {
    top: 10px;
    background: transparent;
    border-bottom: 0;
    box-shadow: none;
    padding: 0;
}

.hero-style-header .header-container {
    max-width: 1120px;
    min-height: 58px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 999px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(18px);
}

.hero-style-header.scrolled .header-container {
    padding: 8px 14px;
}

.hero-style-header .logo-title {
    font-size: 0.92rem;
    color: #17204f;
}

.hero-style-header .logo-subtitle {
    display: none;
}

.hero-style-header .nav-menu {
    gap: 10px;
}

.hero-style-header .nav-link {
    color: #202640;
    font-size: 0.86rem;
    padding: 10px 11px;
}

.hero-style-header .nav-link::after {
    display: none;
}

.hero-style-header .btn-primary {
    min-height: 42px;
    padding: 0 22px;
    border-radius: 999px;
    background: #20215f;
    box-shadow: none;
}

.hero-style-header .mobile-nav-toggle .bar {
    background: #20215f;
}

.cinematic-hero {
    min-height: 92vh;
    padding: 0;
    display: flex;
    align-items: flex-end;
    isolation: isolate;
    background: #10131f;
}

.cinematic-hero::before {
    display: none;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.02) contrast(1.04);
}

.cinematic-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(8, 12, 22, 0.72) 0%, rgba(8, 12, 22, 0.22) 46%, rgba(8, 12, 22, 0.58) 100%),
        linear-gradient(0deg, rgba(8, 12, 22, 0.88) 0%, rgba(8, 12, 22, 0.08) 58%, rgba(8, 12, 22, 0.18) 100%);
}

.cinematic-hero-container {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.72fr);
    align-items: end;
    gap: 56px;
    padding-top: 150px;
    padding-bottom: 34px;
}

.hero-copy-panel,
.hero-side-panel {
    color: #fff;
}

.hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
    border-radius: 7px;
    overflow: hidden;
    font-size: 0.82rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.hero-kicker span {
    display: inline-flex;
    min-height: 24px;
    align-items: center;
    padding: 0 8px;
}

.hero-kicker span:first-child {
    background: #fff;
    color: #20215f;
}

.hero-kicker span:last-child {
    background: #20215f;
    color: #fff;
}

.cinematic-hero .hero-title {
    max-width: 720px;
    margin: 0;
    color: #fff;
    font-size: clamp(3.1rem, 5.2vw, 6rem);
    line-height: 0.94;
    letter-spacing: 0;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.36);
}

.hero-side-panel {
    max-width: 390px;
    justify-self: end;
    padding-bottom: 4px;
}

.avatar-row {
    display: flex;
    align-items: center;
    height: 28px;
    margin-bottom: 7px;
}

.avatar-row span,
.avatar-row strong {
    width: 24px;
    height: 24px;
    margin-left: -7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #d7eef0;
    color: #20215f;
    font-size: 0.62rem;
    font-weight: 800;
}

.avatar-row span:first-child {
    margin-left: 0;
    background: #ffd9b0;
}

.avatar-row span:nth-child(2) {
    background: #bfe3ff;
}

.avatar-row span:nth-child(3) {
    background: #d5c6ff;
}

.micro-label {
    margin: 0 0 14px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    font-weight: 600;
}

.cinematic-hero .hero-subtitle {
    max-width: 390px;
    margin: 0 0 22px;
    color: #fff;
    font-size: 1rem;
    line-height: 1.58;
}

.cinematic-hero .hero-actions {
    display: flex;
    flex-direction: row;
    gap: 14px;
    flex-wrap: wrap;
}

.cinematic-hero .btn {
    border-radius: 999px;
}

.cinematic-hero .btn-primary {
    background: #eef8ff;
    color: #20215f;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.18);
}

.cinematic-hero .btn-secondary {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.26);
    backdrop-filter: blur(18px);
}

.cinematic-hero + .about-section {
    padding-top: 96px;
}

@media (max-width: 1024px) {
    .hero-style-header {
        top: 10px;
    }

    .hero-style-header .header-container {
        border-radius: 26px;
    }

    .hero-style-header .navbar {
        top: calc(100% + 10px);
        border-radius: 22px;
    }

    .cinematic-hero-container {
        grid-template-columns: 1fr;
        gap: 30px;
        padding-top: 150px;
    }

    .hero-side-panel {
        justify-self: start;
    }
}

@media (max-width: 640px) {
    .cinematic-hero {
        min-height: 92vh;
    }

    .hero-style-header .header-container {
        margin: 0 10px;
        width: calc(100% - 20px);
    }

    .cinematic-hero-container {
        padding-bottom: 28px;
    }

    .cinematic-hero .hero-title {
        font-size: clamp(2.8rem, 13vw, 4.4rem);
    }

    .cinematic-hero .hero-actions {
        width: 100%;
    }

    .cinematic-hero .hero-actions .btn {
        flex: 1 1 150px;
        justify-content: center;
    }
}
