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

:root {
    --color-bg: #f7f7f5;
    --color-section-alt: #EFE9D9;
    --color-white: #ffffff;
    --color-black: #000000;
    --color-dark: #1E1E1E;
    --color-brown: #70665C;
    --color-accent: #BDC4A1;
    --color-gray: #EDEDED;
    --color-light-gray: #EAEAEA;
    --color-text: #3a3a3a;
    --color-text-light: #6b6b6b;
    --e-global-color-primary: #1E1E1E;
    --font-primary: "Trebuchet MS", "Lucida Grande", "Lucida Sans Unicode", sans-serif;
    --border-radius: 15px;
    --transition: 0.4s ease;
    --header-height: 80px;
}

html {
    scroll-behavior: smooth;
}

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

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

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

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

/* ===== HEADER ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: var(--header-height);
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.site-header.scrolled {
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 8px;
}

.main-nav a {
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.site-header.scrolled .main-nav a {
    color: var(--color-dark);
}

.site-header.scrolled .main-nav a:hover,
.site-header.scrolled .main-nav a.active {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-dark);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-contact {
    background-color: #BDC4A1;
    font-family: "Futura LT Medium", sans-serif;
    font-size: 18px;
    font-weight: 500;
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    border-style: none;
    border-radius: 999px;
    padding: 12px 40px 14px 40px;
    transition: all var(--transition);
}

.btn-contact:hover {
    background-color: #A8B08A;
    color: var(--e-global-color-primary);
}

.lang-switch {
    padding: 6px 12px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    color: #ffffff;
    transition: color var(--transition);
}

.site-header.scrolled .lang-switch {
    color: var(--color-dark);
    background: rgba(0, 0, 0, 0.05);
}

.logo img {
    height: 50px;
    width: auto;
    transition: filter var(--transition);
    filter: brightness(0) invert(1);
}

.site-header.scrolled .logo img {
    filter: brightness(0);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-dark);
    border-radius: 2px;
    transition: all 0.3s;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    cursor: pointer;
    transition: all var(--transition);
}

.btn-primary {
    background-color: #BDC4A1;
    font-family: "Futura LT Medium", sans-serif;
    font-size: 18px;
    font-weight: 500;
    fill: var(--e-global-color-primary);
    color: var(--e-global-color-primary);
    border-style: none;
    border-radius: 999px;
    padding: 12px 40px 14px 40px;
}

.btn-primary:hover {
    background-color: #A8B08A;
    color: var(--e-global-color-primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: calc(var(--header-height) + 100px) 0 100px;
    background-image: linear-gradient(135deg, rgba(0,0,0,0.35), rgba(0,0,0,0.15)), url('../images/content/vr-integration.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50vh;
}

.hero-top-cta {
    position: absolute;
    top: calc(var(--header-height) + 16px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    padding: 12px 28px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    transition: all var(--transition);
    white-space: nowrap;
}

.hero-top-cta:hover {
    transform: translateX(-50%) translateY(-2px);
    background: var(--color-accent);
    color: var(--color-dark);
    border-color: var(--color-accent);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
}

.hero-text h1 {
    font-size: 48px;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 22px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-desc {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    max-width: 540px;
    line-height: 1.7;
}

.hero-tagline {
    margin-top: 24px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 600;
    letter-spacing: 0.5px;
    font-style: italic;
}

/* ===== BAMSE OVERLAY (on hero) ===== */
.bamse-overlay {
    position: absolute;
    right: 32px;
    top: 66%;
    transform: translateY(-50%);
    width: min(360px, 32%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    z-index: 3;
    text-align: center;
}

.bamse-overlay-img {
    width: 100%;
    max-width: 220px;
    height: auto;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.3));
}

.bamse-overlay-text {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 16px 22px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.bamse-overlay-text h2 {
    font-size: 16px;
    line-height: 1.4;
    color: var(--color-dark);
    margin-bottom: 8px;
    font-weight: 700;
}

.read-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-brown);
}

.read-more:hover {
    color: var(--color-dark);
}

/* ===== CLIENTS ===== */
.clients {
    padding: 50px 0;
    overflow: hidden;
}

.clients-label {
    text-align: center;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-light);
    margin-bottom: 30px;
    font-weight: 600;
}

.clients-scroll {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 10%, black 90%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 50px;
    animation: scrollLogos 40s linear infinite;
    width: max-content;
}

.clients-track img {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: all var(--transition);
    flex-shrink: 0;
}

.clients-track img:hover {
    transform: scale(1.05);
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== HOW IT WORKS ===== */
.how-it-works {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 36px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 17px;
    color: var(--color-text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.step {
    background: var(--color-white);
    border-radius: 16px;
    padding: 24px 26px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.step-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 18px;
    gap: 16px;
}

.step-illustration {
    width: 84px;
    height: 84px;
    object-fit: contain;
}

.step-number-img {
    height: 56px;
    width: auto;
    object-fit: contain;
}

.step h3 {
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 10px;
}

.step p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== TECHNICAL ADVANTAGES ===== */
.tech-advantages {
    padding: 80px 0;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 28px;
    margin-top: 56px;
}

.tech-item {
    text-align: center;
    padding: 20px 16px;
    border-radius: 12px;
    transition: background var(--transition);
}

.tech-item:hover {
    background: var(--color-bg);
}

.tech-item h4 {
    font-size: 20px;
    color: var(--color-dark);
    margin-bottom: 10px;
    line-height: 1.3;
}

.tech-item p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
}

.view-spec {
    display: inline-block;
    margin-top: 24px;
    font-size: 14px;
    font-weight: 700;
    color: var(--color-accent);
}

.view-spec:hover {
    color: var(--color-brown);
}

/* ===== PROBLEM SECTION ===== */
.problem-section {
    padding: 80px 0;
}

.problem-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.problem-text h2 {
    font-size: 32px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.problem-text p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 30px;
}

.problem-image img {
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

/* ===== VIDEO WRAPPER (responsive 16:9, rounded) ===== */
.video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: var(--color-dark);
}

.video-wrapper iframe,
.video-wrapper .video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 20px;
    object-fit: cover;
    background: var(--color-dark);
}

.video-wrapper .video-player {
    cursor: pointer;
}

.video-play-btn,
.video-mute-btn {
    position: absolute;
    background: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    z-index: 5;
    transition: transform var(--transition), background var(--transition);
}

.video-play-btn {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.08);
}

.video-play-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}

.video-mute-btn {
    bottom: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    /* the AudioOn/AudioOff PNGs carry their own dark circle */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-mute-btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.video-mute-btn:hover {
    transform: scale(1.08);
}

.video-mute-btn[hidden],
.video-play-btn[hidden] {
    display: none;
}

@media (max-width: 640px) {
    .video-play-btn {
        width: 80px;
        height: 80px;
    }
    .video-mute-btn {
        bottom: 12px;
        right: 12px;
        width: 38px;
        height: 38px;
    }
}

.bamse-feature-video {
    margin-top: 56px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== BAMSE FEATURE ===== */
.bamse-feature {
    padding: 80px 0;
}

.bamse-feature-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.bamse-feature-image img {
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.bamse-feature-text h2 {
    font-size: 32px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
}

.bamse-feature-text p {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 16px;
}

/* ===== BENEFITS SECTION ===== */
.benefits-section {
    padding: 80px 0;
}

.tab-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 28px;
    border-radius: 12px;
    border: 1px solid var(--color-light-gray);
    background: var(--color-white);
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all var(--transition);
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--color-dark);
    color: var(--color-white);
    border-color: var(--color-dark);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    position: relative;
    height: 350px;
    cursor: pointer;
    perspective: 1200px;
    transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
}

.benefit-card-front,
.benefit-card-back {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.6s;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.benefit-card-front {
    background: var(--color-dark);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.benefit-card-front img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    z-index: 1;
    transition: transform var(--transition);
}

.benefit-card-front::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, 0.65) 100%);
    z-index: 2;
    pointer-events: none;
}

.benefit-card:hover .benefit-card-front img {
    transform: scale(1.06);
}

.benefit-card-front h4 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 24px;
    z-index: 3;
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    padding: 0 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.benefit-card-back {
    transform: rotateY(180deg);
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    color: var(--color-white);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-card-back h4 {
    font-size: 18px;
    margin-bottom: 16px;
}

.benefit-card-back p {
    font-size: 14px;
    line-height: 1.7;
    opacity: 0.9;
}

.benefit-card:hover .benefit-card-front {
    transform: rotateY(-180deg);
}

.benefit-card:hover .benefit-card-back {
    transform: rotateY(0deg);
}

.benefits-cta {
    text-align: center;
    margin-top: 50px;
}

/* ===== ANXIETY AND STRESS IN CLINICS (was Power section) ===== */
.power-section {
    padding: 80px 0;
    text-align: center;
}

/* ===== ALTERNATING SECTION BACKGROUND ===== */
.section-tint {
    background: var(--color-section-alt);
}

.power-desc {
    font-size: 16px;
    color: var(--color-text-light);
    line-height: 1.7;
    max-width: 760px;
    margin: 0 auto 48px;
}

.power-video {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
}

.testimonial-carousel {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
    mask-image: linear-gradient(90deg, transparent, black 6%, black 94%, transparent);
}

.testimonial-track {
    display: flex;
    gap: 18px;
    width: max-content;
    animation: scrollTestimonials 80s linear infinite;
}

.testimonial-card {
    width: 140px;
    flex-shrink: 0;
    background: var(--color-white);
    border-radius: 16px;
    padding: 18px 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    font-size: 12px;
    color: var(--color-text-light);
    line-height: 1.55;
    margin-bottom: 12px;
    font-style: italic;
}

.testimonial-name {
    font-size: 13px;
    color: var(--color-dark);
    margin-bottom: 2px;
}

.testimonial-role {
    font-size: 11px;
    color: var(--color-text-light);
}

@keyframes scrollTestimonials {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== FINAL CTA ===== */
.final-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}


/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 60px 0 30px;
}

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

.footer-logo {
    width: 60px;
    margin-bottom: 16px;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 20px;
}

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

.social-links a {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.75);
    transition: all var(--transition);
}

.social-links a:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

.social-links a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    opacity: 0.78;
    transition: opacity var(--transition);
}

.social-links a:hover img {
    opacity: 1;
}

.footer-links h4 {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    transition: color var(--transition);
}

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

.footer-newsletter h4 {
    font-size: 16px;
    color: var(--color-white);
    margin-bottom: 12px;
}

.footer-newsletter p {
    font-size: 14px;
    margin-bottom: 16px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-white);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}

.newsletter-form input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
    border-color: var(--color-accent);
}

.newsletter-form .btn-primary {
    padding: 12px 20px;
    font-size: 14px;
    white-space: nowrap;
}

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

.eu-badge img {
    height: 40px;
    opacity: 0.6;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* ===== ANIMATIONS ===== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-up.visible,
.fade-left.visible,
.fade-right.visible {
    opacity: 1;
    transform: translate(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-text h1 {
        font-size: 38px;
    }

    .problem-layout,
    .bamse-feature-layout,
    .power-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

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

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: var(--header-height);
        left: 0;
        right: 0;
        background: rgba(247, 247, 245, 0.98);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-bottom: 1px solid var(--color-light-gray);
    }

    .main-nav.open {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 4px;
    }

    .main-nav a {
        display: block;
        padding: 12px 16px;
    }

    .mobile-toggle {
        display: flex;
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .hero-text h1 {
        font-size: 32px;
    }

    .section-title {
        font-size: 28px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .benefit-cards {
        grid-template-columns: 1fr;
    }

    .benefit-card {
        height: 300px;
    }

    .tab-buttons {
        flex-wrap: wrap;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .stat-circle {
        width: 200px;
        height: 200px;
    }

    .stat-number {
        font-size: 40px;
    }

    .cta-content h2 {
        font-size: 28px;
    }

    .btn-contact {
        display: none;
    }
}

/* ===== TECH ACTIONS (Interactive Demo top, View spec bottom) ===== */
.tech-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin: 12px auto 0;
}

.tech-grid + .tech-actions {
    margin-top: 48px;
}

@media (max-width: 900px) {
    .bamse-overlay {
        display: none;
    }
}

@media (max-width: 640px) {
    .hero-top-cta {
        font-size: 12px;
        padding: 10px 18px;
    }
    .tech-actions {
        gap: 16px;
    }
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== SUBPAGE BANNER (standard for every page except home) ===== */
.subpage-banner {
    height: calc(var(--header-height) + 120px);
    background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.2)), url('../images/content/vr-integration.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* ===== SUBPAGE INTRO (content below the banner) ===== */
.subpage-intro {
    padding: 70px 0;
    background: var(--color-white);
}

.subpage-intro-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.subpage-intro-text h1 {
    font-size: 48px;
    line-height: 1.1;
    color: var(--color-dark);
    margin-bottom: 14px;
    font-weight: 700;
}

.subpage-intro-text h1 .accent {
    color: var(--color-brown);
}

.subpage-intro-eyebrow {
    font-size: 17px;
    color: var(--color-dark);
    margin-bottom: 18px;
}

.subpage-intro-text p {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 22px;
    max-width: 560px;
}

.subpage-intro-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    display: block;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

@media (max-width: 1024px) {
    .subpage-intro-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .subpage-intro-text p {
        max-width: none;
    }
}

/* ===== LEGAL PAGES (privacy + terms) ===== */
.legal-page {
    padding: 60px 0 80px;
    background: var(--color-white);
}

.legal-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 40px;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 8px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-meta {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 36px;
}

.legal-content h2 {
    font-size: 22px;
    color: var(--color-dark);
    margin: 36px 0 12px;
    font-weight: 700;
}

.legal-content h3 {
    font-size: 17px;
    color: var(--color-dark);
    margin: 22px 0 10px;
    font-weight: 700;
}

.legal-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    margin-bottom: 14px;
}

.legal-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.legal-content li {
    font-size: 16px;
    line-height: 1.65;
    color: var(--color-text);
    padding: 6px 0 6px 22px;
    position: relative;
}

.legal-content li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.legal-content a {
    color: var(--color-brown);
    text-decoration: underline;
}

.legal-content a:hover {
    color: var(--color-dark);
}

/* ===== NEWS — LISTING ===== */
.news-section {
    padding: 70px 0 80px;
    background: var(--color-white);
}

.news-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin: 36px auto 8px;
    max-width: 920px;
}

.news-filter {
    background: var(--color-white);
    border: 1px solid var(--color-light-gray);
    border-radius: 999px;
    padding: 9px 20px 10px;
    font-family: "Futura LT Medium", sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--color-dark);
    cursor: pointer;
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}

.news-filter:hover {
    background: var(--color-section-alt);
    border-color: var(--color-section-alt);
}

.news-filter.is-active {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--e-global-color-primary);
}

.news-empty {
    text-align: center;
    color: var(--color-text-light);
    font-size: 15px;
    margin: 40px auto 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.news-card {
    background: var(--color-white);
    border-radius: 16px;
    border: 1px solid var(--color-light-gray);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition), box-shadow var(--transition);
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.1);
}

.news-card[hidden] {
    display: none;
}

.news-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--color-section-alt);
}

.news-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.news-card:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.news-card-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    margin-bottom: 10px;
}

.news-card-date {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-brown);
    font-weight: 700;
}

.news-card-category {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-dark);
    background: var(--color-section-alt);
    border-radius: 999px;
    padding: 3px 10px 4px;
    font-weight: 600;
}

.news-card h3 {
    font-size: 18px;
    line-height: 1.35;
    color: var(--color-dark);
    margin-bottom: 12px;
    font-family: "Futura LT Medium", sans-serif;
    font-weight: 500;
}

.news-card-excerpt {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.55;
    margin-bottom: 18px;
    flex: 1;
}

.news-card .read-more {
    font-size: 14px;
    font-weight: 700;
    color: var(--color-brown);
}

.news-card:hover .read-more {
    color: var(--color-dark);
}

/* ===== NEWS — ARTICLE PAGE ===== */
.article-page {
    padding: 60px 0 80px;
    background: var(--color-white);
}

.article-back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--color-brown);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 28px;
    transition: color var(--transition);
}

.article-back-link:hover {
    color: var(--color-dark);
}

.article-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.article-sidebar {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    background: var(--color-section-alt);
    border-radius: 16px;
    padding: 24px 20px;
}

.article-sidebar h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-brown);
    margin-bottom: 16px;
    font-weight: 700;
}

.article-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.article-sidebar li a {
    display: flex;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background var(--transition);
}

.article-sidebar li a:hover {
    background: rgba(255, 255, 255, 0.6);
}

.article-sidebar li.is-current a {
    background: var(--color-white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.sidebar-thumb {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: var(--color-bg);
}

.sidebar-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.sidebar-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.sidebar-date {
    font-size: 11px;
    color: var(--color-brown);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-title {
    font-size: 13px;
    line-height: 1.4;
    color: var(--color-dark);
    font-weight: 600;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-main {
    min-width: 0;
}

.article-date {
    font-size: 13px;
    color: var(--color-brown);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 14px;
}

.article-main h1 {
    font-size: 36px;
    line-height: 1.2;
    color: var(--color-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.article-hero {
    width: 100%;
    border-radius: 18px;
    overflow: hidden;
    margin-bottom: 32px;
    background: var(--color-section-alt);
    aspect-ratio: 16 / 9;
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.article-body p {
    font-size: 16px;
    line-height: 1.75;
    color: var(--color-text);
    margin-bottom: 18px;
}

.article-body h2 {
    font-size: 26px;
    line-height: 1.3;
    color: var(--color-dark);
    margin: 32px 0 12px;
    font-weight: 700;
}

.article-body h3 {
    font-size: 21px;
    line-height: 1.35;
    color: var(--color-dark);
    margin: 28px 0 10px;
    font-weight: 700;
}

.article-body b,
.article-body strong {
    font-weight: 700;
    color: var(--color-dark);
}

@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .article-layout {
        grid-template-columns: 1fr;
    }
    .article-sidebar {
        position: static;
        order: 2;
    }
}

@media (max-width: 640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
    .article-main h1 {
        font-size: 28px;
    }
}

/* ===== PRODUCTS — FAQ ===== */
.faq-section {
    padding: 70px 0 80px;
    background: var(--color-white);
}

.faq-list {
    max-width: 820px;
    margin: 48px auto 0;
}

.faq-list details {
    background: var(--color-white);
    border-radius: 14px;
    margin-bottom: 14px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow var(--transition);
    border: 1px solid var(--color-light-gray);
}

.faq-list details[open] {
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.08);
}

.faq-list summary {
    padding: 22px 28px;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: background var(--transition);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: var(--color-brown);
    transition: transform var(--transition);
    flex-shrink: 0;
}

.faq-list details[open] summary::after {
    transform: rotate(180deg);
}

.faq-list details[open] summary {
    background: var(--color-section-alt);
}

.faq-answer {
    padding: 4px 28px 24px;
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.7;
}

/* ===== PRODUCTS — CONTACT FORM ===== */
.products-contact {
    padding: 80px 0;
}

.products-contact-layout {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.products-contact-image img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.products-contact-form h2 {
    font-size: 32px;
    color: var(--color-dark);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.products-contact-form > p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
    margin-bottom: 26px;
    max-width: 480px;
}

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

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row-full { grid-column: 1 / -1; }

.form-row label {
    font-size: 13px;
    color: var(--color-dark);
    font-weight: 600;
}

.form-row input,
.form-row textarea {
    font-family: inherit;
    font-size: 15px;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1px solid var(--color-light-gray);
    background: var(--color-white);
    color: var(--color-text);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(189, 196, 161, 0.25);
}

.form-row textarea {
    resize: vertical;
    min-height: 120px;
}

.form-row .btn-primary {
    align-self: flex-start;
}

.form-thanks {
    margin-top: 18px;
    padding: 16px 18px;
    background: rgba(189, 196, 161, 0.18);
    color: var(--color-dark);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 1024px) {
    .products-contact-layout {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .products-contact-image {
        order: -1;
    }
}

@media (max-width: 640px) {
    .contact-form {
        grid-template-columns: 1fr;
    }
}

/* ===== RESEARCH — SHARED 2-COL SECTIONS ===== */
.research-intro,
.research-science,
.research-numbers,
.research-trials {
    padding: 70px 0;
}

.research-intro,
.research-numbers {
    background: var(--color-white);
}

.research-2col {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 60px;
    align-items: center;
}

.research-2col-text h1,
.research-2col-text h2 {
    font-size: 36px;
    line-height: 1.15;
    color: var(--color-dark);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.research-2col-text h1 .accent,
.research-2col-text h2 .accent {
    -webkit-text-fill-color: var(--color-brown);
    color: var(--color-brown);
}

.research-2col-text > p {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 18px;
}

.research-eyebrow {
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 10px;
    margin-top: 6px;
}

.research-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
}

.research-list li {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.55;
    padding: 8px 0 8px 28px;
    position: relative;
}

.research-list li svg {
    position: absolute;
    left: 0;
    top: 10px;
    width: 12px;
    height: 12px;
    color: var(--color-accent);
}

.research-list li strong {
    color: var(--color-dark);
    font-weight: 700;
}

.research-2col-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    display: block;
}

/* Transforming healthcare H2 — gradient + accent span */
.testimonials .section-title .accent {
    -webkit-text-fill-color: var(--color-brown);
    color: var(--color-brown);
}

@media (max-width: 1024px) {
    .research-2col {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    /* On mobile keep image above text consistently */
    .research-2col-image {
        order: -1;
    }
    .research-2col-text h1,
    .research-2col-text h2 {
        font-size: 30px;
    }
}

/* ===== WORKSPACES — BENEFITS ===== */
.workspace-benefits {
    padding: 70px 0 80px;
}

.workspace-cards-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* ===== WORKSPACES — VIDEO ===== */
.workspace-video {
    padding: 70px 0;
    background: var(--color-white);
}

.workspace-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== WORKSPACES — HOW TO USE IN OFFICE ===== */
.how-to-use-office {
    padding: 80px 0;
}

.how-office-layout {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.how-office-text h2 {
    font-size: 36px;
    color: var(--color-dark);
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-office-text > p {
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 28px;
    max-width: 540px;
}

.step-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.step-item {
    background: var(--color-white);
    border-radius: 12px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
    overflow: hidden;
}

.step-item summary {
    list-style: none;
    cursor: default;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 16px;
    color: var(--color-dark);
    line-height: 1.4;
}

.step-item summary::-webkit-details-marker {
    display: none;
}

.step-num {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--color-accent);
    color: var(--color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    font-family: "Futura LT Medium", sans-serif;
}

.how-office-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* ===== WORKSPACES — STATS ===== */
.workspace-stats {
    padding: 80px 0;
    background: var(--color-white);
}

.workspace-stats .section-title .accent {
    -webkit-text-fill-color: var(--color-brown);
    color: var(--color-brown);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    max-width: 1000px;
    margin: 48px auto 0;
}

.stat-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--color-bg);
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
}

.stat-card .stat-big {
    font-size: 56px;
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1;
    margin-bottom: 14px;
    font-family: "Futura LT Medium", sans-serif;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-card p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 1024px) {
    .workspace-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-office-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .workspace-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== CLINICS — BENEFITS ===== */
.clinic-benefits {
    padding: 70px 0 80px;
}

.clinic-cards-grid {
    grid-template-columns: repeat(3, 1fr);
}

/* ===== CLINICS — VIDEO ===== */
.clinic-video {
    padding: 70px 0;
    background: var(--color-white);
}

.clinic-video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

/* ===== CLINICS — HOW IT WORKS IN CLINICAL SETTINGS ===== */
.how-it-works-clinical {
    padding: 80px 0;
}

/* ===== SUBPAGE INTRO — LABEL ABOVE H1 ===== */
.subpage-intro-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--color-brown);
    font-weight: 700;
    margin-bottom: 14px;
}

/* ===== ALTERNATING SECTION BG (companion to .section-tint) ===== */
.section-white {
    background: var(--color-white);
}

.how-clinical-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.how-clinical-text h2 {
    font-size: 36px;
    color: var(--color-dark);
    margin-bottom: 22px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.how-clinical-eyebrow {
    font-size: 16px;
    color: var(--color-dark);
    margin: 18px 0 10px;
}

.how-clinical-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.how-clinical-list li {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.6;
    padding: 6px 0 6px 22px;
    position: relative;
}

.how-clinical-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

.how-clinical-list li strong {
    color: var(--color-dark);
}

.how-clinical-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1024px) {
    .clinic-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-clinical-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .clinic-cards-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== OUR TEAM ===== */
.team-section {
    padding: 70px 0 80px;
    background: var(--color-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 48px;
}

.team-card {
    background: var(--color-white);
    border-radius: 15px;
    border: 1px solid var(--color-light-gray);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    padding: 12px 12px 16px;
    transition: transform var(--transition), box-shadow var(--transition);
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.10);
}

.team-photo {
    width: 100%;
    height: 193px;
    border-radius: 10px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    margin-bottom: 14px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.team-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 2px;
    font-family: "Futura LT Medium", sans-serif;
}

.team-card h3 {
    font-size: 22px;
    color: var(--color-dark);
    margin: 0 8px 4px;
    font-family: "Futura LT Medium", sans-serif;
    font-weight: 500;
    line-height: 1.3;
}

.team-role {
    font-size: 14px;
    color: var(--color-brown);
    font-weight: 600;
    margin: 0 8px 12px;
}

.team-bio {
    font-size: 13px;
    color: var(--color-text-light);
    line-height: 1.55;
    margin: 0 8px;
}

.team-view-details {
    background: var(--color-accent);
    color: var(--e-global-color-primary);
    border: 0;
    border-radius: 999px;
    padding: 8px 22px 10px;
    font-family: "Futura LT Medium", sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    margin: 14px 8px 4px;
    transition: background var(--transition);
}

.team-view-details:hover {
    background: #A8B08A;
}

/* ===== TEAM MODAL ===== */
.team-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.team-modal[hidden] {
    display: none;
}

.team-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    cursor: pointer;
}

.team-modal-content {
    position: relative;
    z-index: 1;
    background: var(--color-white);
    border-radius: 16px;
    max-width: 580px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 36px 32px 32px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.team-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: 0;
    font-size: 34px;
    line-height: 1;
    color: var(--color-text-light);
    cursor: pointer;
    padding: 0 8px;
    transition: color var(--transition);
}

.team-modal-close:hover {
    color: var(--color-dark);
}

.team-modal-photo {
    width: 100%;
    max-width: 340px;
    margin: 0 auto 20px;
}

.team-modal-photo .team-photo {
    height: 220px;
    margin-bottom: 0;
}

.team-modal-name {
    font-size: 26px;
    color: var(--color-dark);
    margin: 0 0 4px;
    font-family: "Futura LT Medium", sans-serif;
    font-weight: 500;
}

.team-modal-role {
    font-size: 15px;
    color: var(--color-brown);
    font-weight: 600;
    margin: 0 0 18px;
}

.team-modal-bio {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    margin: 0;
    text-align: left;
}

@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    .team-modal-content {
        padding: 28px 22px 22px;
    }
}

/* ===== WHY MINDERGY — PILLARS ===== */
.pillars-section {
    padding: 80px 0;
}

.pillar-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.pillar-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 36px 24px 28px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pillar-card:hover {
    transform: translateY(-10px);
}

.pillar-illustration {
    width: auto;
    height: 90px;
    object-fit: contain;
    margin-bottom: 22px;
}

.pillar-card h4 {
    font-size: 18px;
    color: var(--color-dark);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 14px;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== WHY MINDERGY — CASE STUDY ===== */
.case-study {
    padding: 80px 0;
    background: var(--color-white);
}

.case-study-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
}

.case-study-content h2 {
    font-size: 36px;
    color: var(--color-dark);
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--color-dark), var(--color-brown));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.case-study-eyebrow {
    font-size: 16px;
    color: var(--color-dark);
    margin-bottom: 18px;
}

.case-study-content p {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.7;
    margin-bottom: 18px;
}

.case-study-stats {
    list-style: none;
    padding: 0;
    margin: 0 0 22px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.case-study-stats li {
    font-size: 15px;
    color: var(--color-text);
    line-height: 1.5;
    padding-left: 22px;
    position: relative;
}

.case-study-stats li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent);
}

.case-study-stats li strong {
    color: var(--color-dark);
}

.case-study-content .btn-primary {
    margin-top: 8px;
}

.case-study-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

@media (max-width: 1024px) {
    .case-study-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .pillar-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    .subpage-intro-text h1 {
        font-size: 38px;
    }
    .subpage-banner {
        height: calc(var(--header-height) + 84px);
    }
}

@media (max-width: 640px) {
    .pillar-cards {
        grid-template-columns: 1fr;
    }
    .subpage-intro-text h1 {
        font-size: 32px;
    }
}

/* Honeypot field — visually hidden, off-screen; real users never see or fill it */
.hp-field { position: absolute !important; left: -9999px !important; top: auto; width: 1px; height: 1px; overflow: hidden; }
/* Contact form error message */
.form-error { color: #c0392b; margin-top: 1rem; }
.form-error a { color: inherit; }

/* Language toggle (EN | SV) */
.lang-switch a { color: inherit; text-decoration: none; opacity: 0.55; font-weight: 600; transition: opacity .15s; }
.lang-switch a:hover { opacity: 0.85; }
.lang-switch a.active { opacity: 1; font-weight: 700; }
.lang-switch .lang-sep { margin: 0 0.4em; opacity: 0.35; }

/* Newsletter signup confirmation (footer) */
.newsletter-thanks { font-weight: 700; opacity: 0.95; margin: 0; }
