/*
Theme Name: Fibri Hypnotherapy
Theme URI: https://fibrihypnotherapy.com
Author: Ultimatoom Agency
Author URI: https://ultimatoom.com
Description: A professional, SEO-optimized WordPress theme for Hypnotherapy and Psychology clinics. Built with a focus on SILO SEO and pixel-perfect design conversion.
Version: 1.0.1
Text Domain: fibri-theme
Tags: medical, mental-health, wellness, silo-seo, custom-background, custom-logo
*/

/* --- Vanilla CSS Variables --- */
:root {
    --fibri-brown: #8C6A5D;
    --fibri-brown-dark: #5D4034;
    --fibri-beige: #fff8f3;
    --fibri-accent: #e7beae;
    --fibri-surface: #f6ece2;
    --white: #ffffff;
    --stone-800: #292524;
    --stone-600: #57534e;
    --stone-500: #78716c;
    --stone-400: #a8a29e;
    --transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), color 0.6s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --font-newsreader: 'Newsreader', serif;
    --font-manrope: 'Manrope', sans-serif;
    --max-width: 1200px;
}

/* --- Global Reset --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

section[id] {
    scroll-margin-top: 100px;
}

body {
    background-color: var(--white);
    color: var(--stone-800);
    font-family: var(--font-manrope);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-newsreader);
    font-weight: normal;
}

.section-title {
    font-size: 3.5rem;
    color: var(--fibri-brown);
    margin-bottom: 1rem;
    line-height: normal;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    margin-bottom: 20px;
    background: rgba(231, 190, 174, 0.4);
    color: var(--fibri-brown-dark);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    font-size: 0.875rem;
}

.btn-primary {
    background: var(--fibri-brown);
    color: var(--white);
    box-shadow: 0 10px 20px rgba(140, 106, 93, 0.2);
}

.btn-primary:hover {
    background: var(--fibri-brown-dark);
    transform: translateY(-2px);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(140, 106, 93, 0.1);
    z-index: 1000;
    display: flex;
    align-items: center;
}

/* Fix for Admin Bar overlap */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}


.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.site-logo img {
    max-height: 50px;
    width: auto;
    display: block;
    transition: var(--transition);
}

.site-logo a {
    text-decoration: none;
    font-family: var(--font-newsreader);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--fibri-brown);
}

.nav-desktop {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--stone-600);
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
}

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

/* --- Mega Menu --- */
.has-dropdown {
    position: relative;
    padding: 25px 0;
}

.mega-menu {
    position: absolute;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 850px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(140, 106, 93, 0.05);
    z-index: 100;
}

.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.mega-column {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mega-cat-title {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--fibri-brown);
    margin-bottom: 8px;
    padding-left: 12px;
    opacity: 0.6;
}

.mega-item {
    text-decoration: none;
    display: flex;
    gap: 12px;
    padding: 12px;
    border-radius: 16px;
    transition: var(--transition);
}

.mega-item:hover {
    background: var(--fibri-beige);
    transform: translateY(-2px);
}

.mega-icon {
    width: 36px;
    height: 36px;
    background: var(--fibri-surface);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fibri-brown);
    flex-shrink: 0;
}

.mega-icon span {
    font-size: 20px !important;
}

.mega-text h5 {
    font-size: 0.95rem;
    color: var(--fibri-brown-dark);
    margin-bottom: 0px;
    font-weight: 700;
}

.mega-text p {
    font-size: 0.95rem;
    color: var(--stone-500);
    line-height: 1.5;
    margin: 0;
}

/* --- Mobile Navigation --- */
.mobile-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--fibri-brown);
    cursor: pointer;
    padding: 8px;
}

.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 30, 25, 0.4);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 400px;
    background: var(--white);
    z-index: 2001;
    padding: 30px;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
}

.mobile-nav-overlay.active .mobile-nav-menu {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu-links>li>a {
    font-family: var(--font-newsreader);
    font-size: 1.8rem;
    color: var(--fibri-brown-dark);
    text-decoration: none;
}

.mobile-sub-menu {
    margin-top: 10px;
    padding-left: 15px;
    border-left: 2px solid var(--fibri-accent);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-sub-item {
    text-decoration: none;
}

.mobile-sub-item h6 {
    font-size: 0.95rem;
    color: var(--fibri-brown);
    font-weight: 800;
    margin-bottom: 2px;
}

.mobile-sub-item p {
    font-size: 0.8rem;
    color: var(--stone-500);
}

.close-menu {
    background: none;
    border: none;
    color: var(--stone-500);
    cursor: pointer;
}

/* --- Hero Section --- */
.hero-layered {
    position: relative;
    min-height: 100vh;
    background: radial-gradient(circle at 50% 50%, var(--fibri-surface) 0%, var(--fibri-beige) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 120px 0 80px;
}

.hero-bg-text {
    position: absolute;
    z-index: 1;
    font-family: var(--font-newsreader);
    font-size: 30vw;
    color: var(--fibri-brown);
    opacity: 0.04;
    white-space: nowrap;
    user-select: none;
    font-weight: 800;
    letter-spacing: -0.05em;
    pointer-events: none;
}

.hero-portrait-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.portrait-wrapper {
    position: relative;
    width: 80%;
    max-width: 400px;
    height: 550px;
    overflow: hidden;
    margin: 0px;
}

.portrait-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: sepia(10%) brightness(105%);
}

.hero-overlay-card {
    position: relative;
    margin: -137px auto 0;
    z-index: 3;
    background: var(--white);
    padding: 30px 30px;
    border-radius: 32px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.08);
    max-width: 750px;
    text-align: center;
    border: 1px solid rgba(140, 106, 93, 0.05);
}

.hero-overlay-card h2 {
    font-size: 2.8rem;
    color: var(--fibri-brown);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-overlay-card p {
    color: var(--stone-600);
    font-size: 1.15rem;
    margin-bottom: 24px;
}

/* --- AI Triage Section --- */
.ai-triage-section {
    padding: 120px 0;
    background: var(--fibri-beige);
    text-align: center;
}

.ai-box {
    max-width: 750px;
    margin: 50px auto 0;
    background: #f4f4f5;
    padding: 16px;
    border-radius: 28px;
    border: 2px solid #e4e4e7;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.ai-box:focus-within {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.ai-form {
    display: flex;
    gap: 12px;
}

.ai-input-group {
    flex: 1;
    position: relative;
    background: var(--white);
    border-radius: 20px;
    border: 1px solid #e4e4e7;
}

}

.ai-text-placeholder {
    width: 100%;
    padding: 14px 0px;
    font-size: 1.1rem;
    font-family: var(--font-manrope);
    font-weight: 600;
    color: var(--stone-400);
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}

/* --- Stats Section --- */
.stats {
    padding: 100px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
    background: var(--white);
}

.stat-item h3 {
    font-size: 3.5rem;
    color: var(--fibri-brown);
}

.stat-item p {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

/* --- Main Services Section --- */
.services {
    padding: 120px 0;
    background: var(--fibri-surface);
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.service-card {
    flex: 0 1 calc(50% - 20px);
    max-width: 550px;
    padding: 40px;
    border-radius: 32px;
    transition: var(--transition);
    cursor: pointer;
    background: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(140, 106, 93, 0.05);
}

.service-card .icon-box {
    width: 72px;
    height: 72px;
    background: var(--fibri-beige);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fibri-brown);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    transition: var(--transition);
}

.service-card p {
    color: var(--stone-500);
    margin-bottom: 30px;
    transition: var(--transition);
}

.service-card .btn-more {
    border: 2px solid var(--fibri-brown);
    color: var(--fibri-brown);
    background: transparent;
    transition: var(--transition);
    align-self: flex-start;
}

.service-card:hover {
    transform: translateY(-12px);
    background: var(--fibri-brown);
}

.service-card:hover h3 {
    color: var(--white);
}

.service-card:hover p {
    color: var(--fibri-accent);
}

.service-card:hover .icon-box {
    background: var(--fibri-accent);
    color: var(--fibri-brown-dark);
}

.service-card:hover .btn-more {
    background: var(--fibri-accent);
    border-color: var(--fibri-accent);
    color: var(--fibri-brown-dark);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* --- Contact & Map Section --- */
.contact-section {
    padding: 120px 0;
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding: 24px;
    background: var(--fibri-beige);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(140, 106, 93, 0.05);
    transition: var(--transition);
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(140, 106, 93, 0.1);
}

.contact-icon {
    color: var(--fibri-brown);
    font-size: 28px;
    flex-shrink: 0;
}

.contact-text h4 {
    font-family: var(--font-manrope);
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--fibri-brown-dark);
}

.contact-text p {
    font-size: 0.95rem;
    color: var(--stone-600);
    line-height: 1.5;
}

.map-wrapper {
    width: 100%;
    height: 500px;
    border-radius: 40px;
    overflow: hidden;
    box-shadow: 0 40px 80px rgba(140, 106, 93, 0.15);
    border: 8px solid var(--fibri-surface);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- Articles Section --- */
.articles-section {
    padding: 120px 0;
    background: var(--fibri-beige);
}

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

.article-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(140, 106, 93, 0.08);
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.article-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(140, 106, 93, 0.12);
    border-color: var(--fibri-accent);
}

.article-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.article-content {
    padding: 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    color: var(--fibri-brown);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
    display: block;
}

.article-title {
    font-family: var(--font-newsreader);
    font-size: 1.75rem;
    color: var(--fibri-brown-dark);
    line-height: 1.3;
    margin-bottom: 16px;
    transition: var(--transition);
}

.read-more {
    color: var(--fibri-brown);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* --- Therapists Section --- */
.therapist-section {
    padding: 120px 0;
    background: var(--white);
}

.therapist-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.therapist-card {
    background: var(--white);
    border-radius: 32px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    padding-bottom: 30px;
}

.therapist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(140, 106, 93, 0.1);
}

.therapist-photo {
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: var(--fibri-surface);
    margin-bottom: 24px;
}

.therapist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.therapist-card:hover .therapist-photo img {
    transform: scale(1.05);
}

.therapist-name {
    font-family: var(--font-newsreader);
    font-size: 1.6rem;
    color: var(--fibri-brown-dark);
    margin-bottom: 4px;
}

.therapist-role {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--fibri-brown);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    display: block;
}

.therapist-specialty {
    font-size: 0.9rem;
    color: var(--stone-600);
    padding: 0 24px;
    line-height: 1.5;
}

/* --- Footer --- */
footer {
    background: var(--fibri-brown-dark);
    color: var(--white);
    padding: 100px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 80px;
}

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

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

/* --- Modal Pop-Up --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44, 30, 25, 0.4);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    border-radius: 40px;
    padding: 50px;
    position: relative;
    transform: translateY(40px);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 44px;
    height: 44px;
    background: var(--fibri-beige);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: var(--fibri-brown);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.modal-header-icon {
    font-size: 32px;
    color: var(--fibri-brown);
}

.modal-header h3 {
    font-size: 2.2rem;
    color: var(--fibri-brown-dark);
}

#modalSubtitle {
    color: var(--stone-500);
    margin-bottom: 40px;
}

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

.modal-service-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: var(--fibri-surface);
    border-radius: 20px;
    transition: var(--transition);
}

.modal-service-item:hover {
    background: var(--fibri-beige);
    transform: scale(1.02);
}

.modal-item-icon {
    width: 48px;
    height: 48px;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--fibri-brown);
    flex-shrink: 0;
}

.modal-item-text h5 {
    font-family: var(--font-manrope);
    font-weight: 800;
    font-size: 1rem;
    color: var(--fibri-brown-dark);
    margin-bottom: 4px;
}

.modal-item-text p {
    font-size: 0.85rem;
    color: var(--stone-600);
    line-height: 1.5;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .nav-desktop {
        display: none;
    }

    .mobile-nav-toggle {
        display: block;
    }

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

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

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

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

    .services-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-overlay-card h2 {
        font-size: 2rem;
    }

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

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

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

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

    .services-grid {
        gap: 15px;
    }
}

/* --- Single Service Landing Page --- */
.service-landing {
    background: var(--white);
}

.service-hero {
    padding: 140px 0 100px;
    background: var(--fibri-surface);
    overflow: hidden;
}

.hero-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.hero-content {
    flex: 1;
}

.hero-image {
    flex: 1;
    position: relative;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 40px;
    box-shadow: 0 40px 100px rgba(140, 106, 93, 0.15);
}

.service-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--fibri-brown);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}

.service-hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--fibri-brown-dark);
}

.service-meta-desc {
    font-size: 1.25rem;
    color: var(--stone-600);
    line-height: 1.6;
    margin-bottom: 40px;
}

.price-tag {
    margin-bottom: 40px;
    padding: 24px;
    background: var(--white);
    border-radius: 24px;
    display: inline-flex;
    flex-direction: column;
    border: 1px solid var(--fibri-accent);
}

.price-tag .label {
    font-size: 0.9rem;
    color: var(--stone-500);
    margin-bottom: 4px;
}

.price-tag .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--fibri-brown);
    font-family: var(--font-manrope);
}

.service-details {
    padding: 100px 0;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 80px;
}

.entry-content {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--stone-800);
}

.entry-content p {
    margin-bottom: 24px;
}

.booking-card {
    position: sticky;
    top: 120px;
    padding: 40px;
    background: var(--fibri-surface);
    border-radius: 32px;
    border: 1px solid rgba(140, 106, 93, 0.1);
}

.booking-card h3 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.booking-card p {
    color: var(--stone-600);
    margin-bottom: 30px;
}

.form-hint {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--stone-400);
    margin-top: 20px;
    text-align: center;
}

.sticky-cta-mobile {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: var(--white);
    padding: 16px 24px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    z-index: 1000;
    align-items: center;
    justify-content: space-between;
}

.sticky-price {
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--fibri-brown);
}

@media (max-width: 1024px) {
    .hero-flex {
        flex-direction: column;
        text-align: center;
    }
    
    .service-hero h1 {
        font-size: 3rem;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content .btn {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .sticky-cta-mobile {
        display: flex;
    }
    
    .service-hero {
        padding: 100px 0 60px;
    }
}

/* --- Category Cards & Archives --- */
.category-card {
    border: 1px solid var(--fibri-accent);
    background: linear-gradient(to bottom right, var(--white), var(--fibri-surface));
}

.category-card:hover {
    background: var(--fibri-brown);
}

.archive-header {
    text-align: center;
}

.archive-header .badge {
    margin-bottom: 20px;
}

.archive-services {
    background: var(--white);
}

.service-price {
    font-family: var(--font-manrope);
}

/* 
    Therapist Info in Cards 
*/
.service-therapist {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding: 10px 14px;
    background: rgba(140, 106, 93, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(140, 106, 93, 0.08);
}

.therapist-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--fibri-surface);
}

.therapist-info-small h5 {
    margin: 0;
    font-size: 0.75rem;
    color: var(--stone-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.therapist-info-small p {
    margin: 0 !important;
    font-size: 0.95rem;
    color: var(--fibri-brown-dark);
    font-weight: 800;
}

.mega-therapist {
    font-size: 0.75rem;
    color: var(--stone-500);
    display: block;
    margin-top: 2px;
}

/* Service Category Grouping */
.category-group {
    margin-bottom: 100px;
}

.category-group:last-child {
    margin-bottom: 0;
}

.category-group-header {
    margin-bottom: 40px;
    border-left: 5px solid var(--fibri-accent);
    padding-left: 24px;
    text-align: left;
}

.category-group-header h3 {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    color: var(--fibri-brown);
    margin: 0;
    font-weight: 700;
}

.category-group-header p {
    color: var(--stone-600);
    margin: 8px 0 0;
    font-size: 1.1rem;
    max-width: 600px;
}

/* Therapist Avatars on Category Card */
.card-therapists {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid rgba(140, 106, 93, 0.1);
}

.therapist-avatars-group {
    display: flex;
    align-items: center;
}

.therapist-avatars-group img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--white);
    margin-left: -12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    background: var(--fibri-surface);
}

.therapist-avatars-group img:first-child {
    margin-left: 0;
}

/* --- Contact Form 7 Integration --- */
.wpcf7 {
    width: 100%;
}

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

.wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-select,
.wpcf7-textarea {
    width: 100%;
    padding: 16px 20px;
    background: var(--fibri-beige);
    border: 1px solid rgba(140, 106, 93, 0.1);
    border-radius: 16px;
    font-family: var(--font-manrope);
    font-size: 1rem;
    color: var(--stone-800);
    transition: var(--transition);
    outline: none;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
    background: var(--white);
    border-color: var(--fibri-brown);
    box-shadow: 0 0 0 4px rgba(140, 106, 93, 0.05);
}

.wpcf7-textarea {
    height: 150px;
    resize: vertical;
}

.wpcf7-submit {
    background: var(--fibri-brown) !important;
    color: var(--white) !important;
    padding: 18px 40px !important;
    border-radius: 18px !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: var(--transition) !important;
    box-shadow: 0 10px 25px rgba(140, 106, 93, 0.2) !important;
    align-self: flex-start;
}

.wpcf7-submit:hover {
    background: var(--fibri-brown-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(140, 106, 93, 0.3) !important;
}

/* Form Layout Grid */
.fibri-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

/* Validation & Status Messages */
.wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: #ef4444;
    margin-top: 5px;
    font-weight: 600;
}

.wpcf7-response-output {
    margin: 20px 0 0 !important;
    padding: 15px 20px !important;
    border-radius: 12px !important;
    border: 2px solid transparent !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
}

.wpcf7-mail-sent-ok {
    background: #ecfdf5 !important;
    border-color: #10b981 !important;
    color: #065f46 !important;
}

.wpcf7-validation-errors {
    background: #fef2f2 !important;
    border-color: #ef4444 !important;
    color: #991b1b !important;
}