/* Font Declarations - Self-Hosted Static Fonts */

/* Inter Font Family */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-VariableFont_opsz,wght.woff2') format('woff2');
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

/* Playfair Display Font Family */
@font-face {
    font-family: 'Playfair Display';
    src: url('../fonts/Playfair_Display/PlayfairDisplay-VariableFont_wght.woff2') format('woff2');
    font-weight: 600 700;
    font-style: normal;
    font-display: swap;
}

/* ==========================================
   MODERN THERAPY WEBSITE - PREMIUM DESIGN
   ========================================== */




/* CSS Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color Palette - Calm & Professional */
    --primary: #2D5A7B;
    --primary-dark: #1e3d52;
    --primary-light: #4A7B9D;
    --accent: #E8927C;
    --accent-light: #F5B5A5;
    --text-dark: #2C3E50;
    --text-medium: #5A6C7D;
    --text-light: #7F8C9A;
    --bg-cream: #FAF8F5;
    --bg-light: #FFFFFF;
    --border-light: #E8E8E8;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-sm);
    }
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: var(--space-md);
    color: var(--text-medium);
    font-size: 1.0625rem;
    font-weight: 400;
    line-height: 1.7;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--primary-dark);
}

/* ==========================================
   BUTTONS
   ========================================== */

.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-light);
}

.btn-primary:hover {
    background-color: var(--accent-light);
    color: var(--text-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 146, 124, 0.3);
}

.btn-hero {
    background-color: var(--primary);
    color: var(--bg-light) !important;
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
    -webkit-text-fill-color: var(--bg-light);
}

.btn-hero:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(45, 90, 123, 0.3);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
    background-color: var(--accent);
    color: var(--bg-light);
}

.btn-large:hover {
    background-color: var(--accent-light);
    color: var(--text-dark);
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(232, 146, 124, 0.3);
}

/* ==========================================
   HEADER & NAVIGATION
   ========================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    transition: var(--transition);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem var(--space-lg);
}

.nav-logo {
    flex-shrink: 0;
}

.nav-logo a {
    display: block;
    line-height: 0;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.nav-logo a:hover .logo-img {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: clamp(var(--space-sm), 2.5vw, var(--space-xl));
}

.nav-link {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text-dark);
    border-radius: 3px;
    transition: var(--transition);
}

/* Mobile Navigation */
@media (max-width: 968px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        flex-direction: column;
        background-color: var(--bg-light);
        width: 100%;
        max-height: calc(100dvh - 80px);
        padding: var(--space-xl) var(--space-lg);
        overflow-y: auto;
        overscroll-behavior: contain;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        gap: var(--space-lg);
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link::after {
        display: none;
    }
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    padding: 140px 0 var(--space-3xl);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.hero-content {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--text-medium);
    margin-bottom: var(--space-xl);
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-stat-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-stat-text {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--primary);
}

.counter-number {
    display: inline-block;
    min-width: 3.5em;
    text-align: left;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease-out;
}

/* Organic Blob Shape */
.blob-shape {
    position: relative;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--accent-light) 100%);
    box-shadow: 0 20px 60px rgba(45, 90, 123, 0.2);
    animation: blobMorph 8s ease-in-out infinite;
}

.blob-shape::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: inherit;
    z-index: -1;
    opacity: 0.5;
    filter: blur(20px);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@keyframes blobMorph {
    0%, 100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
    25% {
        border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
    }
    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }
    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@media (max-width: 968px) {
    .hero {
        padding: 100px 0 var(--space-2xl);
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-content {
        text-align: center;
    }

    .hero-stats {
        flex-direction: row;
        justify-content: center;
        flex-wrap: nowrap;
        gap: var(--space-md);
    }

    .blob-shape {
        max-width: 350px;
        margin: 0 auto;
    }
}

/* ==========================================
   SECTION HEADERS
   ========================================== */

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    position: relative;
    display: inline-block;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-medium);
    max-width: 700px;
    margin: 0 auto;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */

.about {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
}

.about-text {
    max-width: 800px;
}

.about-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.about-role {
    font-size: 1.25rem;
    color: var(--text-medium);
    font-weight: 500;
    margin-bottom: var(--space-xl);
}

.about-description p {
    margin-bottom: var(--space-lg);
}

/* Highlighted Text with Brush Effect */
.highlighted-text {
    position: relative;
    padding: var(--space-md);
    background: linear-gradient(135deg, #FFF9E6 0%, #FFEDD5 100%);
    border-left: 4px solid var(--accent);
    border-radius: 8px;
    margin: var(--space-xl) 0;
}

.highlighted-text::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(232, 146, 124, 0.3) 10%,
        rgba(232, 146, 124, 0.5) 50%,
        rgba(232, 146, 124, 0.3) 90%,
        transparent 100%);
    border-radius: 0 0 8px 8px;
}

.highlighted-text a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: var(--accent);
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
    transition: var(--transition);
}

.highlighted-text a:hover {
    color: var(--accent);
    text-decoration-color: var(--primary);
}

.credentials {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.credential-card {
    position: relative;
    background: var(--bg-light);
    padding: 1.75rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 12px 30px rgba(45, 90, 123, 0.06);
}

.credential-card::before {
    content: '';
    display: block;
    width: 48px;
    height: 3px;
    margin-bottom: var(--space-md);
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 100%);
}

.credential-card .credential-label {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.09em;
    line-height: 1.3;
    text-transform: uppercase;
    margin-bottom: var(--space-md);
    display: block;
}

.credential-card p {
    font-size: 1rem;
    color: var(--text-medium);
    line-height: 1.55;
    margin-bottom: 0.375rem;
}

.credential-card p:last-child {
    margin-bottom: 0;
}

.publication-feature {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(180px, 230px);
    gap: clamp(var(--space-xl), 6vw, var(--space-3xl));
    align-items: center;
    position: relative;
    overflow: hidden;
    margin-top: var(--space-md);
    padding: clamp(var(--space-xl), 5vw, var(--space-2xl));
    background:
        radial-gradient(circle at 88% 18%, rgba(232, 146, 124, 0.16) 0, rgba(232, 146, 124, 0.16) 13%, transparent 31%),
        radial-gradient(circle at 72% 78%, rgba(45, 90, 123, 0.10) 0, rgba(45, 90, 123, 0.10) 18%, transparent 38%),
        linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    box-shadow: 0 12px 36px rgba(44, 62, 80, 0.08);
}

.publication-content,
.publication-cover {
    position: relative;
    z-index: 1;
}

.publication-content h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.publication-content p {
    max-width: 720px;
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.8;
}

.publication-content cite {
    color: var(--text-dark);
    font-style: normal;
    font-weight: 650;
}

.publication-cover {
    margin: 0;
    justify-self: center;
}

.publication-cover img {
    display: block;
    width: min(100%, 220px);
    height: auto;
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(44, 62, 80, 0.22);
}

@media (max-width: 968px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media (max-width: 700px) {
    .publication-feature {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
        padding: var(--space-xl);
    }

    .publication-cover img {
        width: min(62vw, 200px);
    }
}

/* ==========================================
   SERVICES SECTION
   ========================================== */

.services {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-3xl);
}

.service-card {
    background-color: var(--bg-light);
    padding: var(--space-xl);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.service-card p {
    color: var(--text-medium);
    margin-bottom: var(--space-lg);
}

.service-features {
    list-style: none;
    padding: 0;
}

.service-features li {
    padding: var(--space-xs) 0;
    color: var(--text-medium);
    position: relative;
    padding-left: var(--space-lg);
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

/* New unified service layout */
.service-main {
    max-width: 900px;
    margin: 0 auto var(--space-3xl);
    background-color: var(--bg-light);
    padding: var(--space-2xl) var(--space-3xl);
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.service-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 var(--space-md);
    color: var(--primary);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    line-height: 1.4;
    text-transform: uppercase;
}

.service-eyebrow::before {
    content: '';
    width: 32px;
    height: 2px;
    flex-shrink: 0;
    background: var(--accent);
    border-radius: 999px;
}

.service-main h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.service-description {
    font-size: 1.125rem;
    color: var(--text-medium);
    margin-bottom: var(--space-xl);
    text-align: center;
}

.service-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: var(--space-xl) 0;
    background: var(--bg-cream);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.service-fact {
    min-width: 0;
    padding: var(--space-lg) var(--space-md);
    display: grid;
    grid-template-rows: auto auto 1.5rem;
    align-content: center;
    justify-items: center;
    min-height: 150px;
}

.service-fact + .service-fact {
    border-left: 1px solid var(--border-light);
}

.service-fact dt {
    font-family: var(--font-primary);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: var(--space-xs);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.service-fact dd {
    margin: 0;
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.35;
}

.service-fact .service-fact-detail {
    margin-top: 0.25rem;
    color: var(--text-medium);
    font-size: 0.9375rem;
    font-weight: 500;
}

.service-fact-detail a {
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 0.2em;
}

.service-features-main {
    margin-top: var(--space-xl);
    text-align: left;
}

.service-features-main .features-heading {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-md);
    display: block;
}

.service-features-main ul {
    list-style: none;
    padding: 0;
}

.service-features-main li {
    padding: var(--space-xs) 0;
    color: var(--text-medium);
    position: relative;
    padding-left: var(--space-lg);
}

.service-features-main li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .service-main {
        padding: var(--space-lg) var(--space-md);
    }

    .service-eyebrow {
        gap: 0.5rem;
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    .service-eyebrow::before {
        width: 20px;
    }

    .service-facts {
        grid-template-columns: 1fr;
    }

    .service-fact {
        grid-template-rows: auto auto auto;
        min-height: 0;
        padding: var(--space-md);
    }

    .service-fact + .service-fact {
        border-top: 1px solid var(--border-light);
        border-left: 0;
    }
}

.cta-section {
    text-align: center;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: var(--space-3xl) var(--space-2xl);
    border-radius: 28px;
    color: var(--bg-light);
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 8px 32px rgba(45, 90, 123, 0.25);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section .cta-heading {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    color: var(--bg-light);
    margin-bottom: var(--space-md);
    line-height: 1.2;
    position: relative;
    z-index: 1;
    display: block;
}

.cta-section p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-2xl);
    max-width: 500px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-section .btn {
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cta-section {
        padding: var(--space-xl) var(--space-md);
        border-radius: 24px;
    }

    .cta-section h3 {
        font-size: 1.75rem;
    }

    .cta-section p {
        font-size: 1rem;
        margin-bottom: var(--space-xl);
    }
}

/* ==========================================
   FEATURED SECTION
   ========================================== */

.featured {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-light);
}

/* ČAP Membership Section */
.cap-membership {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-xl);
    align-items: center;
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    padding: var(--space-xl);
    border-radius: 20px;
    border: 2px solid var(--primary);
    margin: var(--space-xl) 0 var(--space-3xl);
}

.cap-logo {
    flex-shrink: 0;
}

.cap-logo-link {
    display: block;
    border-radius: 12px;
}

.cap-logo-img {
    width: 120px;
    height: auto;
    display: block;
    transition: var(--transition);
}

.cap-logo-link:hover .cap-logo-img {
    transform: translateY(-2px);
}

.cap-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.cap-content p {
    color: var(--text-medium);
    font-size: 1.0625rem;
    line-height: 1.7;
    margin: 0;
}

.cap-profile-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: var(--space-md);
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.25em;
}

.cap-profile-link:hover {
    color: var(--primary-dark);
}

.cap-logo-link:focus-visible,
.cap-profile-link:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .cap-membership {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .cap-logo-img {
        margin: 0 auto;
    }
}

.featured-subtitle {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-dark);
    margin: var(--space-2xl) 0 var(--space-lg);
    text-align: center;
}

.featured-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.featured-link {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    transition: var(--transition);
    text-decoration: none;
}

.featured-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--accent);
}

.featured-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.featured-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.featured-link span {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.0625rem;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */

.contact {
    padding: var(--space-3xl) 0;
    background-color: var(--bg-cream);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-lg);
    background-color: var(--bg-light);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.contact-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.contact-item h4 {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-xs);
}

.contact-item a {
    color: var(--text-medium);
    font-weight: 500;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-item p {
    color: var(--text-medium);
    margin: 0;
}

.contact-item small {
    font-size: 0.875rem;
    color: var(--text-light);
}

.contact-cta {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-cream) 100%);
    padding: var(--space-xl);
    border-radius: 24px;
    border: 2px solid var(--border-light);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-cta h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.contact-cta p {
    color: var(--text-medium);
    margin-bottom: var(--space-xl);
}

@media (max-width: 968px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

/* Compact Contact Layout */
.contact-compact {
    max-width: 700px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: var(--space-xl);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-info-compact {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.contact-item-compact {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-sm) 0;
}

.contact-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    display: block;
}

.contact-details {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: var(--space-sm);
    flex: 1;
}

.contact-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9375rem;
    flex-shrink: 0;
}

.contact-item-compact a {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.contact-item-compact a:hover {
    color: var(--accent);
}

.contact-item-compact span:not(.contact-label) {
    color: var(--text-medium);
    font-size: 0.9375rem;
}

.contact-booking {
    text-align: center;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    margin-top: var(--space-md);
}

@media (max-width: 768px) {
    .contact-compact {
        padding: var(--space-lg) var(--space-md);
    }

    .contact-item-compact {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xs);
        padding: var(--space-xs) 0;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: var(--space-xs);
    }

    .contact-info-compact {
        gap: var(--space-sm);
    }

    .contact-label {
        min-width: auto;
    }
}

/* ==========================================
   TESTIMONIALS CAROUSEL
   ========================================== */

.testimonials {
    padding: var(--space-2xl) 0;
    background: linear-gradient(to bottom, var(--bg-light) 0%, #F0F7FA 100%);
}

.testimonials-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-xl) 0;
}

.testimonials-track {
    position: relative;
    overflow: hidden;
    min-height: 300px;
}

.testimonial-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    transform: translateX(0);
}

.testimonial-card.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.testimonial-content {
    background: white;
    padding: var(--space-xl);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    text-align: center;
    border: 2px solid var(--border-light);
}

.testimonial-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: var(--space-lg);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.125rem;
    margin-top: var(--space-md);
}

.testimonial-author::before {
    content: "— ";
}

/* Carousel navigation */

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-sm);
}

.carousel-arrow {
    display: grid;
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(45, 90, 123, 0.35);
    border-radius: 50%;
    background: var(--bg-light);
    color: var(--primary);
    font: inherit;
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.carousel-arrow:hover {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--bg-light);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(45, 90, 123, 0.18);
}

.carousel-arrow:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

.carousel-arrow span {
    display: block;
    width: 16px;
    height: 14px;
    background: currentColor;
}

.carousel-btn-prev span {
    clip-path: polygon(100% 42%, 38% 42%, 38% 14%, 0 50%, 38% 86%, 38% 58%, 100% 58%);
}

.carousel-btn-next span {
    clip-path: polygon(0 42%, 62% 42%, 62% 14%, 100% 50%, 62% 86%, 62% 58%, 0 58%);
}

.carousel-dot {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot::before {
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: transparent;
    transition: var(--transition);
}

.carousel-dot:hover::before {
    background: var(--accent-light);
    border-color: var(--accent);
}

.carousel-dot.active {
    width: 32px;
}

.carousel-dot.active::before {
    width: 32px;
    border-radius: 6px;
    background: var(--primary);
}

.carousel-dot:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .testimonials {
        padding: var(--space-xl) 0;
    }

    .testimonials-carousel {
        padding: var(--space-md) 0;
    }

    .testimonial-content {
        padding: var(--space-lg) var(--space-md);
    }

    .testimonial-text {
        font-size: 1rem;
        line-height: 1.7;
    }

    .testimonial-author {
        font-size: 1rem;
    }

    .carousel-arrow {
        width: 40px;
        height: 40px;
        flex-basis: 40px;
        font-size: 1.2rem;
    }

    .carousel-dots {
        display: grid;
        grid-template-columns: 40px minmax(0, 1fr) 40px;
        gap: var(--space-xs);
        width: 100%;
        max-width: 360px;
        margin-right: auto;
        margin-left: auto;
        padding: 0 var(--space-xs);
    }

    .carousel-indicators {
        min-width: 0;
        gap: clamp(0.15rem, 1.2vw, var(--space-xs));
    }

    .carousel-dot {
        width: 24px;
        height: 24px;
    }

    .carousel-dot::before {
        width: 10px;
        height: 10px;
    }

    .carousel-dot.active {
        width: 24px;
    }

    .carousel-dot.active::before {
        width: 24px;
    }
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--bg-light);
    padding: var(--space-xl) 0 var(--space-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-md);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: none;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: var(--space-xs);
    font-size: 0.9375rem;
}

.footer-brand .footer-company-id {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.875rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

.footer-links .footer-heading,
.footer-contact .footer-heading {
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--bg-light);
    display: block;
}

.footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--space-lg);
    row-gap: var(--space-xs);
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0;
}

.footer-links a,
.footer-contact a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
    font-size: 0.9375rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--accent-light);
}

.footer-contact p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-xs);
}

.footer-social {
    margin-top: var(--space-md);
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: inline-block;
    transition: var(--transition);
}

.social-link:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.social-icon {
    width: 32px;
    height: 32px;
    display: block;
    font-size: 0.9375rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: var(--space-md);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    margin-bottom: var(--space-xs);
}

.footer-credit {
    font-size: 0.875rem;
}

.footer-credit a {
    color: var(--accent-light);
    font-weight: 600;
}

.footer-credit a:hover {
    color: var(--bg-light);
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        max-width: 100%;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-xl {
    margin-top: var(--space-xl);
}

/* ==========================================
   WHY ONLINE THERAPY SECTION
   ========================================== */

.why-online {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
}

.why-online-content {
    max-width: 1000px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
}

.benefit-item {
    background: white;
    padding: var(--space-xl);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(74, 144, 226, 0.1) 100%);
    border-radius: 50%;
}

.benefit-icon svg {
    width: 48px;
    height: 48px;
}

.benefit-item h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.benefit-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* ==========================================
   HOW IT WORKS SECTION
   ========================================== */

.how-it-works {
    padding: var(--space-3xl) 0;
    background: white;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.step {
    position: relative;
    padding: var(--space-xl);
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-primary);
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.step h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.step p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.technical-info {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    align-items: center;
    gap: var(--space-xl);
    max-width: 1100px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
}

.technical-info-content {
    min-width: 0;
}

.technical-info h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.technical-info ul {
    list-style: none;
    padding: 0;
    margin-bottom: var(--space-lg);
}

.technical-info li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.technical-info li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
    font-size: 1.25rem;
}

.technical-info p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

.office-gallery {
    margin: 0;
    min-width: 0;
}

.office-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.625rem;
}

.office-gallery-image {
    overflow: hidden;
    border-radius: 10px;
    background: var(--bg-cream);
}

.office-gallery-open {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    color: inherit;
    cursor: zoom-in;
}

.office-gallery-open::after {
    content: 'Zvětšit';
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(30, 61, 82, 0.88);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
    pointer-events: none;
}

.office-gallery-open:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: -4px;
}

.office-gallery-image--main {
    grid-column: 1 / -1;
    border-radius: 12px;
}

.office-gallery-image picture {
    display: block;
    height: 100%;
}

.office-gallery-image img {
    display: block;
    width: 100%;
    height: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.office-gallery-image--main img {
    aspect-ratio: 4 / 3;
}

@media (hover: hover) and (pointer: fine) {
    .office-gallery-open:hover img {
        transform: scale(1.025);
    }
}

.office-gallery figcaption {
    margin-top: var(--space-sm);
    color: var(--text-light);
    font-size: 0.875rem;
    line-height: 1.5;
}

.office-lightbox[hidden] {
    display: none;
}

.office-lightbox {
    position: fixed;
    inset: 0;
    z-index: 20000;
    display: grid;
    place-items: center;
    padding: clamp(1rem, 4vw, 3rem);
    background: rgba(14, 27, 37, 0.92);
}

.office-lightbox-dialog {
    position: relative;
    max-width: min(1200px, 100%);
    max-height: 100%;
}

.office-lightbox-dialog figure {
    margin: 0;
}

.office-lightbox-image {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100vh - 8rem);
    margin: 0 auto;
    border-radius: 12px;
    object-fit: contain;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    touch-action: pan-y;
    user-select: none;
    -webkit-user-drag: none;
}

.office-lightbox-caption {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
    margin-top: 0.75rem;
    color: #fff;
    font-size: 0.9375rem;
    line-height: 1.5;
    text-align: center;
}

.office-lightbox-counter {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.78);
    font-variant-numeric: tabular-nums;
}

.office-lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    color: var(--primary-dark);
    cursor: pointer;
    transform: translateY(-50%);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.28);
}

.office-lightbox-prev {
    left: 1rem;
}

.office-lightbox-next {
    right: 1rem;
}

.office-lightbox-nav svg {
    width: 1.75rem;
    height: 1.75rem;
}

.office-lightbox-nav:hover {
    background: #fff;
}

.office-lightbox-close {
    position: absolute;
    top: -1rem;
    right: -1rem;
    z-index: 1;
    display: grid;
    place-items: center;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    background: #fff;
    color: var(--primary-dark);
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.office-lightbox-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

.office-lightbox-close:focus-visible,
.office-lightbox-nav:focus-visible {
    outline: 3px solid var(--accent);
    outline-offset: 3px;
}

/* Keep four related items evenly distributed on desktop. */
@media (min-width: 1100px) {
    .benefits-grid,
    .process-steps {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-lg);
    }

    .benefits-grid {
        grid-auto-rows: 1fr;
    }

    .benefit-item {
        height: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1099px) {
    .benefits-grid,
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-lg);
    }
}

@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .technical-info {
        grid-template-columns: 1fr;
        max-width: 800px;
    }

    .office-gallery {
        width: 100%;
        max-width: 640px;
        margin: 0 auto;
    }

    .office-gallery-open::after {
        right: 0.5rem;
        bottom: 0.5rem;
        padding: 0.3rem 0.55rem;
        font-size: 0.6875rem;
    }

}

/* Keep the mobile lightbox geometry stable in portrait and landscape. */
@media (max-width: 768px), (max-height: 600px) and (max-width: 1000px) {
    .office-lightbox {
        padding: 0.5rem;
    }

    .office-lightbox-dialog {
        width: min(calc(100vw - 1rem), calc(133.333vh - 1.333rem));
        max-width: none;
        max-height: calc(100vh - 1rem);
        aspect-ratio: 4 / 3;
    }

    .office-lightbox-dialog figure {
        width: 100%;
        height: 100%;
    }

    .office-lightbox-image {
        width: 100%;
        height: 100%;
        max-width: none;
        max-height: none;
        margin: 0;
        object-fit: contain;
    }

    .office-lightbox-caption {
        position: absolute;
        left: 50%;
        bottom: 0.5rem;
        z-index: 2;
        display: block;
        margin: 0;
        padding: 0.4rem 0.7rem;
        border-radius: 999px;
        background: rgba(14, 27, 37, 0.82);
        line-height: 1;
        white-space: nowrap;
        transform: translateX(-50%);
    }

    #officeLightboxCaption {
        display: none;
    }

    .office-lightbox-counter {
        color: #fff;
    }

    .office-lightbox-close {
        top: 0.5rem;
        right: 0.5rem;
    }

    .office-lightbox-nav {
        top: 50%;
        width: 3rem;
        height: 3rem;
    }

    .office-lightbox-prev {
        left: 0.5rem;
    }

    .office-lightbox-next {
        right: 0.5rem;
    }

    @supports (height: 100dvh) {
        .office-lightbox-dialog {
            width: min(calc(100vw - 1rem), calc(133.333dvh - 1.333rem));
            max-height: calc(100dvh - 1rem);
        }
    }
}

/* ==========================================
   WHO FOR SECTION
   ========================================== */

.who-for {
    padding: var(--space-3xl) 0;
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
}

.target-groups {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-3xl);
}

.target-group {
    background: white;
    padding: var(--space-xl);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.target-group h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-md);
}

.target-group p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
    margin: 0;
}

@media (min-width: 1100px) {
    .target-groups {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: var(--space-lg);
    }

    .target-group {
        height: 100%;
        padding: var(--space-lg);
    }
}

@media (min-width: 769px) and (max-width: 1099px) {
    .target-groups {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 1fr;
        gap: var(--space-lg);
    }

    .target-group {
        height: 100%;
    }
}

.common-issues {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.common-issues h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--space-lg);
    text-align: center;
}

.common-issues ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.common-issues li {
    position: relative;
    padding-left: 1.75rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}

.common-issues li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

@media (max-width: 768px) {
    .target-groups {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }

    .common-issues ul {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.faq {
    padding: var(--space-3xl) 0;
    background: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
    margin-top: var(--space-2xl);
}

.faq-item {
    background: linear-gradient(135deg, #f8f9fb 0%, #ffffff 100%);
    margin-bottom: var(--space-lg);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-item:hover,
.faq-item.is-open {
    box-shadow: 0 4px 25px rgba(74, 144, 226, 0.12);
}

.faq-item.is-open {
    border-left-color: var(--accent);
}

.faq-heading {
    margin: 0;
}

.faq-question {
    width: 100%;
    min-height: 72px;
    padding: var(--space-lg) var(--space-xl);
    background: transparent;
    border: 0;
    font-family: var(--font-primary);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    text-align: left;
    cursor: pointer;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0.75rem;
}

.faq-question::after {
    content: '';
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(45, 90, 123, 0.28);
    border-radius: 50%;
    color: var(--primary);
    background:
        linear-gradient(currentColor, currentColor) center / 0.75rem 2px no-repeat,
        linear-gradient(currentColor, currentColor) center / 2px 0.75rem no-repeat;
}

.faq-question[aria-expanded="true"]::after {
    background: linear-gradient(currentColor, currentColor) center / 0.75rem 2px no-repeat;
}

.faq-question:focus-visible {
    outline: 3px solid rgba(45, 90, 123, 0.35);
    outline-offset: -4px;
}

.faq-answer {
    padding: 0 var(--space-xl) var(--space-xl);
}

.faq-answer[hidden] {
    display: none;
}

.faq-answer p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text);
    margin: 0;
}

.faq-answer p strong {
    color: var(--primary);
}

@media (max-width: 768px) {
    .faq-question {
        font-size: 1.125rem;
        min-height: 64px;
        padding: var(--space-md) var(--space-lg);
    }

    .faq-answer {
        padding: 0 var(--space-lg) var(--space-lg);
    }
}

/* ==========================================
   BOOKING MODAL
   ========================================== */

.booking-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: var(--space-md);
}

.booking-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.booking-modal {
    background: var(--bg-light);
    border-radius: 24px;
    padding: var(--space-2xl);
    max-width: 600px;
    width: 100%;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.booking-modal-overlay.active .booking-modal {
    transform: translateY(0);
}

.booking-modal-close {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    color: var(--text-light);
    transition: var(--transition);
    line-height: 1;
}

.booking-modal-close:hover {
    color: var(--text-dark);
}

.booking-modal-close svg {
    width: 24px;
    height: 24px;
    display: block;
}

.booking-modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: var(--space-xl);
    margin-top: var(--space-md);
    padding-right: var(--space-xl);
}

.booking-modal-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.booking-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-xl);
    background: var(--bg-cream);
    border: 2px solid var(--border-light);
    border-radius: 16px;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

.booking-option:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(232, 146, 124, 0.2);
}

.booking-option-icon {
    width: 64px;
    height: 64px;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.booking-option-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary);
}

.booking-modal-options .booking-option:last-child .booking-option-icon {
    background-image: url("../images/personal-therapy-icon.svg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 32px 32px;
}

.booking-modal-options .booking-option:last-child .booking-option-icon svg {
    visibility: hidden;
}

.booking-option-title {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: var(--space-xs);
    text-align: center;
    white-space: nowrap;
}

.booking-option-desc {
    font-size: 0.9375rem;
    color: var(--text-medium);
    text-align: center;
    margin: 0;
}

@media (max-width: 540px) {
    .booking-modal {
        padding: var(--space-lg);
    }

    .booking-modal-title {
        font-size: 1.5rem;
        margin-bottom: var(--space-lg);
    }

    .booking-modal-options {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .booking-option {
        padding: var(--space-lg);
    }
}

@media (max-height: 560px) and (orientation: landscape) {
    .booking-modal-overlay {
        align-items: flex-start;
        padding: var(--space-xs) var(--space-sm);
        overflow-y: auto;
    }

    .booking-modal {
        max-height: calc(100dvh - 1rem);
        padding: 1.25rem 1.5rem;
        overflow-y: auto;
        border-radius: 18px;
    }

    .booking-modal-close {
        top: var(--space-xs);
        right: var(--space-sm);
    }

    .booking-modal-title {
        margin: 0.25rem 2.5rem var(--space-sm);
        padding-right: 0;
        font-size: 1.4rem;
    }

    .booking-modal-options {
        gap: var(--space-sm);
    }

    .booking-option {
        padding: var(--space-sm);
    }

    .booking-option-icon {
        width: 48px;
        height: 48px;
        margin-bottom: var(--space-xs);
    }

    .booking-option-icon svg {
        width: 26px;
        height: 26px;
    }

    .booking-modal-options .booking-option:last-child .booking-option-icon {
        background-size: 26px 26px;
    }

    .booking-option-title {
        font-size: 1rem;
    }

    .booking-option-desc {
        font-size: 0.875rem;
    }
}

/* ==========================================
   MOBILE OPTIMIZATIONS
   ========================================== */

@media (max-width: 768px) {
    :root {
        --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
        --font-heading: Georgia, 'Times New Roman', serif;
    }

    /* Keep the organic hero shape subtle and finite on mobile. */
    .blob-shape {
        animation: blobMorph 8s ease-in-out 2;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    /* Disable fade-in animations on mobile */
    .hero-content {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-image {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .hero-title {
        animation: none;
        opacity: 1;
        transform: none;
    }

    /* Disable number counter animation on mobile */
    .step-number {
        animation: none;
    }

    /* Disable all fade-in animations on mobile */
    .fade-in {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blob-shape {
        animation: none;
    }
}

/* ==========================================
   PRIVACY, COOKIE CONSENT & ERROR PAGE
   ========================================== */

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-xs) var(--space-md);
    margin-top: var(--space-xs);
}

.footer-legal a,
.footer-legal-button {
    color: rgba(255, 255, 255, 0.82);
    font: inherit;
    font-size: 0.875rem;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.footer-legal-button {
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.footer-legal a:hover,
.footer-legal-button:hover {
    color: var(--accent-light);
}

.footer-legal a:focus-visible,
.footer-legal-button:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.cookie-consent button:focus-visible,
.cookie-consent a:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 3px;
}

.cookie-consent {
    position: fixed;
    right: var(--space-md);
    bottom: var(--space-md);
    left: var(--space-md);
    z-index: 10000;
    max-width: 1040px;
    margin: 0 auto;
    color: var(--text-dark);
    background: #ffffff;
    border: 1px solid rgba(45, 90, 123, 0.2);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(30, 61, 82, 0.24);
}

.cookie-consent-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--space-lg);
    align-items: center;
    padding: var(--space-lg);
}

.cookie-consent h2 {
    margin: 0 0 var(--space-xs);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-size: 1.4rem;
}

.cookie-consent p {
    margin: 0;
    color: var(--text-medium);
    font-size: 0.9375rem;
    line-height: 1.55;
}

.cookie-consent a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.cookie-consent .cookie-consent-status {
    margin-top: var(--space-xs);
    color: var(--primary-dark);
    font-weight: 600;
}

.cookie-consent-actions {
    display: grid;
    grid-template-columns: minmax(150px, auto);
    gap: var(--space-xs);
}

.cookie-choice {
    min-height: 46px;
    padding: 0.7rem 1rem;
    border: 2px solid var(--primary);
    border-radius: 999px;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
}

.cookie-notice-dismiss {
    color: #ffffff;
    background: var(--primary);
}

.cookie-choice:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 14px rgba(45, 90, 123, 0.16);
}

.cookie-choice-close {
    grid-column: 1 / -1;
    justify-self: center;
    padding: 0.35rem 0.5rem;
    border: 0;
    color: var(--text-medium);
    background: transparent;
    font: inherit;
    font-size: 0.85rem;
    text-decoration: underline;
    text-underline-offset: 3px;
    cursor: pointer;
}

.legal-page,
.error-page {
    padding: 140px 0 var(--space-3xl);
    background: linear-gradient(180deg, var(--bg-cream) 0, #ffffff 340px);
}

.legal-page .legal-header,
.error-page .error-content {
    max-width: 820px;
    margin: 0 auto;
}

.legal-page .legal-header {
    margin-bottom: var(--space-2xl);
}

.legal-page h1,
.error-page h1 {
    margin-bottom: var(--space-md);
    color: var(--primary-dark);
    font-size: clamp(2.25rem, 6vw, 4rem);
    line-height: 1.12;
}

.legal-page .legal-lead,
.error-page .error-lead {
    color: var(--text-medium);
    font-size: 1.15rem;
}

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

.legal-section {
    margin-bottom: var(--space-lg);
    padding: var(--space-xl);
    background: #ffffff;
    border: 1px solid rgba(45, 90, 123, 0.12);
    border-radius: 18px;
    box-shadow: 0 8px 26px rgba(30, 61, 82, 0.06);
}

.legal-section h2 {
    margin: 0 0 var(--space-md);
    color: var(--primary-dark);
    font-size: 1.55rem;
}

.legal-section h3 {
    margin: var(--space-lg) 0 var(--space-xs);
    color: var(--primary-dark);
    font-size: 1.12rem;
}

.legal-section p:last-child,
.legal-section ul:last-child {
    margin-bottom: 0;
}

.legal-section ul {
    margin: 0 0 var(--space-md) 1.25rem;
    color: var(--text-medium);
}

.legal-section li {
    margin-bottom: var(--space-xs);
}

.legal-table-wrap {
    overflow-x: auto;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    color: var(--text-medium);
    font-size: 0.92rem;
}

.legal-table th,
.legal-table td {
    padding: 0.8rem;
    border: 1px solid rgba(45, 90, 123, 0.16);
    text-align: left;
    vertical-align: top;
}

.legal-table th {
    color: var(--primary-dark);
    background: rgba(45, 90, 123, 0.06);
}

.error-page {
    min-height: 70vh;
    display: grid;
    place-items: center;
    text-align: center;
}

.error-code {
    margin: 0 0 var(--space-xs);
    color: var(--accent);
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.error-actions .btn-secondary {
    color: var(--primary);
    background: #ffffff;
    border: 2px solid var(--primary);
}

.error-actions .btn-secondary:hover {
    color: #ffffff;
    background: var(--primary);
}

@media (max-width: 800px) {
    .cookie-consent-inner {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .cookie-consent-actions {
        width: 100%;
    }
}

@media (max-width: 520px) {
    .cookie-consent {
        right: var(--space-xs);
        bottom: var(--space-xs);
        left: var(--space-xs);
    }

    .cookie-consent-inner,
    .legal-section {
        padding: var(--space-md);
    }

    .cookie-consent-actions {
        grid-template-columns: 1fr;
    }

    .cookie-choice-close {
        grid-column: auto;
    }

    .legal-page,
    .error-page {
        padding-top: 115px;
    }

}
