/* css/components.css */

/* ============ HEADER ============ */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--background);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.header-container {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    padding: 1rem 2rem;
    max-width: var(--container);
    margin: 0 auto;
    gap: 2rem;
}

/* ============ LOGO ============ */
.logo {
    grid-column: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    min-width: 0;
    overflow: hidden;
}

.logo-image {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border: none;
    flex-shrink: 0;
}

.logo-text {
    text-transform: lowercase;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.15;
    color: var(--accent);
    letter-spacing: -0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.logo span {
    font-size: 18px !important;
    font-weight: 400 !important;
    letter-spacing: 0.01em;
}

[data-theme="dark"] .logo-text {
    color: #6db3de;
}

/* ============ DESKTOP NAV ============ */
.desktop-nav {
    grid-column: 2;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: center;
}

.desktop-nav a {
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
    text-decoration: none;
    color: var(--text);
    white-space: nowrap;
}

.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width var(--transition-fast);
}

.desktop-nav a:hover::after,
.desktop-nav a:focus-visible::after {
    width: 100%;
}

/* ============ HEADER ACTIONS ============ */
.header-actions {
    grid-column: 3;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-self: end;
}

.theme-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    background: var(--surface);
    cursor: pointer;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
    flex-shrink: 0;
    padding: 0;
    position: relative;
}

.theme-toggle:hover {
    transform: scale(1.05);
    border-color: var(--accent);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--text);
    pointer-events: none;
}

.menu-toggle {
    display: none;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-pill);
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--surface);
    cursor: pointer;
    color: var(--text);
    white-space: nowrap;
}

/* ============ MOBILE NAVIGATION ============ */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--background);
    z-index: 90;
    transition: right 0.35s ease;
    display: none;
    padding-top: 80px;
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0;
}

.mobile-nav-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
}

.mobile-nav-content a {
    font-size: 2rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-decoration: none;
    color: var(--text);
    padding: 0.5rem 0;
    transition: color var(--transition-fast);
}

.mobile-nav-content a:hover {
    color: var(--accent);
}

/* ============ BUTTONS ============ */
.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #FFFFFF !important;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: transform var(--transition-fast), background-color var(--transition-fast), box-shadow var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: var(--text-base);
    font-family: var(--font-body);
    line-height: 1.5;
    text-align: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    color: #FFFFFF !important;
    background: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary.btn-image-blue {
    background: #06547a;
    color: #FFFFFF !important;
}

.btn-primary.btn-image-blue:hover {
    background: #72A9C4;
    color: var(--text) !important;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    transition: transform var(--transition-fast), border-color var(--transition-fast), background-color var(--transition-fast);
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    color: var(--text);
    font-size: var(--text-base);
    font-family: var(--font-body);
    line-height: 1.5;
    text-align: center;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    color: var(--text);
    background: var(--surface);
}

.btn-secondary:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

.btn-about {
    background: #ede0ce;
    border-color: #DCC5A6;
    color: var(--text);
}

.btn-about:hover {
    background: #D2B894;
    border-color: #D2B894;
}

html[data-theme="dark"] .btn-about {
    color: #111111 !important;
}

html[data-theme="dark"] .btn-about:hover {
    color: #111111 !important;
}

/* ============ HERO ============ */
.hero-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-title {
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    overflow: hidden;
}

.hero-description {
    font-size: clamp(1.05rem, 1.25vw, 1.22rem);
    font-weight: 400;
    line-height: 1.6;
    text-align:left;
    margin-top: 1.25rem;
}

.hero-shape {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--surface) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.hero-shape-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    opacity: 1;
    mix-blend-mode: multiply;
    border-radius: var(--radius-lg);
    pointer-events: none;
    transition: object-position 0.3s ease;
}

/* Constrain Carl Rogers portrait to a smaller size */
.hero-visual:has(.carl-rogers-image) {
    max-width: 50%;
    aspect-ratio: 3 / 4;
    justify-self: end;   /* keeps it aligned to the right */
    align-self: center;
}

.carl-rogers-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    display: block;
    pointer-events: none;
}

/* Carl Rogers figure with caption */
.carl-rogers-figure {
    display: flex;
    flex-direction: column;
    margin: 0;
    width: 100%;
    height: 100%;
}

.carl-rogers-image {
    width: 100%;
    flex: 1 1 auto;
    min-height: 0;
    object-fit: cover;
    object-position: center top;
    border-radius: var(--radius-lg);
    display: block;
    pointer-events: none;
}

.carl-rogers-caption {
    margin-top: 0.75rem;
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: center;
    font-style: normal;
}


/* Mobile - Square aspect ratio */
@media (max-width: 767px) {
    .hero-shape-image {
        object-position: center 30%;
    }
}

/* Tablet - Landscape aspect ratio */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-shape-image {
        object-position: center 25%;
    }
}

/* Desktop - Portrait aspect ratio */
@media (min-width: 1024px) {
    .hero-shape-image {
        object-position: center center;
    }
}

.hero-shape::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        var(--accent-light) 0%,
        transparent 50%,
        var(--surface) 100%
    );
    mix-blend-mode: soft-light;
    border-radius: var(--radius-lg);
    pointer-events: none;
}

/* Dark Mode Adjustments */
[data-theme="dark"] .hero-shape-image {
    opacity: 0.85;
    mix-blend-mode: normal;
}

[data-theme="dark"] .hero-shape {
    background: var(--surface);
}

[data-theme="dark"] .hero-shape::after {
    background: linear-gradient(135deg, transparent 0%, transparent 100%);
    mix-blend-mode: normal;
    opacity: 0;
}

/* ============ PROSE LISTS ============ */
.prose ul {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.prose ul li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.75;
}

.prose ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.75em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
}

.prose ol {
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.prose ol li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.75;
}

/* ============ WHY THERAPY ============ */
.why-item {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.why-number {
    font-size: var(--text-sm);
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: block;
}

.why-item h3 {
    margin-bottom: 0.75rem;
}

.why-item p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin: 0;
}

/* ============ TOPIC LIST ============ */
.topic-list {
    margin-top: 2.5rem;
}

.topic-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0rem 0;
    /*border-bottom: 1px solid var(--border);*/
    transition: transform var(--transition-fast);
    text-decoration: none;
    color: var(--text);
    /*Kamran cursor: pointer;*/
}

.topic-item:hover {
    transform: translateX(4px);
    color: var(--text);
}

.topic-item:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
    transform: translateX(4px);
}

.topic-number {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    min-width: 3rem;
}

.topic-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    flex: 1;
}

.topic-title-about-me {
    font-size: clamp(0.95rem, 1.3vw, 1.1rem);
    font-weight: 600;
    font-style: italic;
    letter-spacing: -0.02em;
    line-height: 1.15;
    color: var(--accent, #315C55);
    flex: 1;
}

.topic-arrow {
    opacity: 0;
    transform: translateX(-5px);
    transition: opacity var(--transition-fast), transform var(--transition-fast);
    font-size: 1.5rem;
    color: var(--accent);
}

.topic-item:hover .topic-arrow,
.topic-item:focus-visible .topic-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ============ PROCESS ============ */
.process {
    list-style: none;
    position: relative;
    margin-top: 2.5rem;
    padding: 0;
}

.process::before {
    content: '';
    position: absolute;
    left: 2rem;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border);
}

.process li {
    display: grid;
    grid-template-columns: 4rem 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.process li:last-child {
    margin-bottom: 0;
}

.process-number {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    z-index: 1;
}

.process h3 {
    margin-bottom: 0.75rem;
}

.process p {
    color: var(--text-secondary);
    margin: 0;
}

/* ============ CARDS ============ */
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* ============ FORM ============ */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: var(--surface);
    color: var(--text);
    font-family: inherit;
    font-size: inherit;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-error {
    color: #d32f2f;
    font-size: var(--text-sm);
    margin-top: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
}

.checkbox-group label {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    cursor: pointer;
}

/* ============ VALUES GRID ============ */
.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.value-item {
    border-top: 2px solid var(--accent);
    padding-top: 1.25rem;
}

.value-item h3 {
    font-size: clamp(1.5rem, 2vw, 2rem);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin: 0;
}

/* ============ METHOD LIST ============ */
.method-list {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
}

.method-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 2rem;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    align-items: start;
}

.method-item:first-child {
    border-top: none;
    padding-top: 0;
}

.method-item h3 {
    font-size: 2.5rem;
    color: var(--accent);
    font-weight: 300;
    line-height: 1;
    margin: 0;
}

.method-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.method-item h4 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1.3;
    font-weight: 500;
}

.method-item p {
    color: var(--text-secondary);
    margin: 0;
    max-width: 600px;
    line-height: 1.75;
    font-size: var(--text-base);
}

/* ============ LARGE QUOTE ============ */
.large-quote {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.2;
    letter-spacing: -0.02em;
    font-weight: 400;
    margin: 1.5rem 0;
    color: var(--text);
}

/* ============ ABOUT VISUAL (PORTRAIT) ============ */
.about-visual {
    width: 360px;
    height: 500px;
    justify-self: end;
    align-self: center;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    transform: translateX(-25px);
}

/*
 * The portrait image is centered and scaled to fully fit
 * inside the container without being cropped.
 */
.about-portrait-image {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    transform: translate(-50%, -50%);
    display: block;
}

.about-image-section {
    padding-top: 20px;
    padding-bottom: 20px;
}

.about-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--surface) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--accent);
}

.about-hero .about-visual {
    transform: translateX(-25px);
    margin-top: 45px;
}

.about-hero .hero-description {
    font-size: var(--text-base);
    line-height: 1.75;
}

.about-hero {
    min-height: auto;
    padding-bottom: 30px;
}

/* ============ ABOUT SECTIONS ============ */
.about-sections {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

.about-section {
    grid-column: 2 / 12;
    max-width: 1000px;
}

.about-section h2 {
    margin-bottom: 1rem;
}

.about-section .prose p {
    margin-bottom: 0.75rem;
}

.about-details-section {
    margin-top: -60px;
    padding-top: 0;
}

.about-details-section .about-section {
    grid-column: 2 / 12;
    width: 100%;
    max-width: 1200px;
    margin-right: auto;
}

/* ============ FEES GRID ============ */
.fees-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.fee-info {
    text-align: left;
}

.fee-value {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0.75rem 0;
    color: var(--accent);
}

/* ============ INFO SECTIONS ============ */
.info-sections {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.info-section h3 {
    margin-bottom: 0.75rem;
}

.info-section .prose p {
    margin-bottom: 0.5rem;
}

/* ============ CONTACT GRID ============ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-details {
    margin-top: 1.5rem;
}

.contact-item {
    padding: 1.25rem 0;
    border-top: 1px solid var(--border);
}

.contact-item h3 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.contact-item a,
.contact-item address {
    font-style: normal;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    line-height: 1.6;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.contact-title {
    font-size: clamp(2.8rem, 4vw, 4rem);
    line-height: 1.05;
}

.contact-section-title {
    font-size: 1.75rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.contact-note {
    font-size: 0.95rem;
    line-height: 1.55;
    color: var(--text-secondary);
    margin-top: 1rem;
    max-width: 700px;
}

.contact-hero {
    min-height: auto;
    padding-top: 40px;
    padding-bottom: 20px;
}

.contact-hero + .editorial-section {
    padding-top: 30px;
}

/* ============ CTA SECTION ============ */
.cta-section {
    background: var(--surface-secondary);
    padding: var(--space-section-sm) 0;
}

.cta-content {
    text-align: center;
    max-width: var(--reading-width);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.cta-content h2 {
    margin-bottom: 0;
}

.cta-text {
    color: var(--text-secondary);
    font-size: var(--text-lg);
    margin: 0;
    max-width: 500px;
    line-height: 1.6;
}

.cta-content .btn-primary {
    margin-top: 0.25rem;
}

/* ============ LEGAL PAGES ============ */
.legal-section {
    padding-top: 100px;
    min-height: 80vh;
    padding-bottom: 60px;
}

.legal-content {
    max-width: var(--reading-width);
}

.legal-content h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    margin-bottom: 2rem;
}

.legal-block {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border);
}

.legal-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-block h2 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.legal-block p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.75;
}

.legal-details {
    margin-bottom: 1rem;
}

.legal-details h3 {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.legal-details p {
    color: var(--text);
}

/* ============ FOOTER ============ */
.footer {
    background: var(--surface-secondary);
    padding: 18px 0 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 0.5rem;
}

.footer-brand h3 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin: 0;
    max-width: 250px;
    line-height: 1.4;
}

.footer-name {
    font-weight: 600;
    margin-bottom: 0.65rem;
    color: var(--text);
}

.footer-nav-column {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.footer-nav-column h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.footer-nav-column a {
    color: var(--text);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-nav-column a:hover {
    color: var(--accent);
}

.footer-contact {
    text-align: left;
}

.footer-contact h4 {
    font-size: var(--text-sm);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.footer-contact p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    margin: 0 0 0.5rem 0;
}

.footer-contact a {
    color: var(--text);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-contact a:hover {
    color: var(--accent);
}

.footer-legal {
    display: flex;
    gap: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    font-size: var(--text-sm);
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer-heading {
    margin-top: 2.5rem;
}

.footer-heading h4 {
    font-size: clamp(3rem, 6vw, 6rem);
    line-height: 0.95;
    letter-spacing: -0.04em;
    font-weight: 400;
    margin: 0;
}

/* ============ FAQ ACCORDION ============ */
.faq-list {
    margin-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: clamp(1.05rem, 1.6vw, 1.3rem);
    line-height: 1.35;
    color: var(--text);
    list-style: none;
    transition: color var(--transition-fast);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question::marker {
    display: none;
    content: '';
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
}

.faq-icon {
    position: relative;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    border: 1px solid var(--border);
    border-radius: 50%;
    transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--text);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.faq-icon::before {
    width: 10px;
    height: 1.5px;
    transform: translate(-50%, -50%);
}

.faq-icon::after {
    width: 1.5px;
    height: 10px;
    transform: translate(-50%, -50%);
}

.faq-question:hover .faq-icon {
    border-color: var(--accent);
}

.faq-item[open] .faq-icon {
    transform: rotate(90deg);
    border-color: var(--accent);
}

.faq-item[open] .faq-icon::before {
    background: var(--accent);
}

.faq-item[open] .faq-icon::after {
    opacity: 0;
}

.faq-item[open] .faq-question {
    color: var(--accent);
}

.faq-answer {
    padding: 0 0 1.75rem 0;
    max-width: 720px;
    animation: faqReveal 350ms cubic-bezier(0.22, 1, 0.36, 1);
}

.faq-answer p {
    margin: 0 0 0.75rem 0;
    color: var(--text-secondary);
    font-size: var(--text-base);
    line-height: 1.75;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

@keyframes faqReveal {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============ QUOTES & PERSON INFO ============ */
.rogers-quote {
    margin-left: 0;
    margin-right: 0;
}

.rogers-quote-text {
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 0.95em;
    line-height: 1.55;
}

.rogers-quote-author {
    display: block;
    font-style: normal;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.gendlin-quote p {
    font-style: italic;
    margin: 0 0 0.4rem 0;
}

.gendlin-quote cite {
    display: block;
    font-style: normal;
    font-size: 0.85em;
    color: var(--text-secondary);
}

/* ============ ROGERS QUOTE — LEFT VERTICAL LINE ============ */
.rogers-quote {
    position: relative;
    margin: 1.5rem 0;
    padding-left: 1.25rem;
}

.rogers-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Existing text and author styling — kept */
.rogers-quote-text {
    font-style: italic;
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}

.rogers-quote-author {
    display: block;
    font-style: normal;
    font-size: 0.85em;
    color: var(--text-secondary);
}

.person-info {
    margin-top: 2.25rem;
}

.person-info h3 {
    font-size: 1.5rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.person-info p {
    font-size: 1rem;
    margin: 0;
}

/* ============ GENDLIN QUOTE — LEFT VERTICAL LINE ============ */
.gendlin-quote {
    position: relative;
    margin: 1.5rem 0;
    padding-left: 1.25rem;
}

.gendlin-quote::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 2px;
    background: var(--accent);
    border-radius: 2px;
}

/* Existing quote text styling (kept as-is, adjusted if needed) */
.gendlin-quote p {
    font-style: italic;
    margin: 0 0 0.4rem 0;
    color: var(--text);
    line-height: 1.6;
}

.gendlin-quote cite {
    display: block;
    font-style: normal;
    font-size: 0.85em;
    color: var(--text-secondary);
}

/* ============ TITLE HELPERS ============ */
.welcome-title,
.about-title,
.therapy-title,
#personzentrierte-psychotherapie .section-title,
#personzentrierte-psychotherapie h2,
.section-header h2.therapy-title {
    font-size: clamp(2.2rem, 3vw, 3.1rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.therapy-header {
    margin-bottom: 1rem;
}

.therapy-header + .rogers-quote {
    margin-top: 0;
}

#willkommen {
    padding-top: 20px;
    padding-bottom: 20px;
    scroll-margin-top: 90px;
}

#personzentrierte-psychotherapie .section-header {
    margin-bottom: 1.5rem;
}

#personzentrierte-psychotherapie .rogers-quote {
    margin-top: 0;
}

/* ============ COOKIE CONSENT ============ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.cookie-consent.visible {
    transform: translateY(0);
}

.cookie-consent.hidden {
    transform: translateY(100%);
    pointer-events: none;
}

.cookie-consent-content {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-consent-content p {
    margin: 0;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
    flex: 1;
    min-width: 200px;
}

.cookie-consent-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: 1px solid var(--border);
    font-family: var(--font-body);
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.cookie-btn-accept {
    background: var(--accent);
    color: #FFFFFF;
    border-color: var(--accent);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    background: var(--accent);
    color: #FFFFFF;
}

.cookie-btn-reject {
    background: transparent;
    color: var(--text);
    border-color: var(--border);
}

.cookie-btn-reject:hover {
    transform: translateY(-2px);
    border-color: var(--accent);
    background: var(--surface-secondary);
    color: var(--text);
}

[data-theme="dark"] .cookie-consent {
    background: var(--surface);
    border-top-color: var(--border);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

@media (max-width: 767px) {
    .cookie-consent {
        padding: 0.75rem 0;
    }

    .cookie-consent-content {
        padding: 0 1rem;
        gap: 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-consent-actions {
        width: 100%;
        display: flex;
        gap: 0.5rem;
    }

    .cookie-btn {
        flex: 1;
        padding: 0.6rem 1rem;
        text-align: center;
    }
}

/* ============ RESPONSIVE COMPONENT ADJUSTMENTS ============ */

/* Tablet and below */
@media (max-width: 1023px) {
    .header-container {
        grid-template-columns: auto 1fr;
        padding: 1rem 1.5rem;
        gap: 1rem;
    }

    .desktop-nav {
        display: none;
    }

    .header-actions {
        grid-column: 2;
        justify-self: end;
    }

    .menu-toggle {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .logo-text {
        font-size: 12px;
        line-height: 1.1;
        max-width: 95px;
        white-space: normal;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
    }

    .fees-info-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-contact {
        grid-column: auto;
        text-align: left;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .header-container {
        grid-template-columns: auto 1fr;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .desktop-nav {
        display: none;
    }

    .header-actions {
        grid-column: 2;
        justify-self: end;
        gap: 0.5rem;
    }

    .menu-toggle {
        display: block;
        padding: 0.4rem 0.75rem;
        font-size: 0.7rem;
    }

    .mobile-nav {
        display: block;
    }

    .logo {
        gap: 6px;
    }

    .logo-text {
        font-size: 10px;
        line-height: 1.1;
        max-width: 80px;
        letter-spacing: 0;
    }

    .logo-image {
        width: 30px;
        height: 30px;
    }

    .theme-toggle {
        width: 38px;
        height: 38px;
    }

    .values-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .method-item {
        grid-template-columns: 60px 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .method-item h3 {
        font-size: 1.8rem;
    }

    .method-item h4 {
        font-size: 1.3rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .legal-content h1 {
        font-size: 2.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-contact {
        grid-column: 1;
        text-align: left;
    }

    .footer-legal {
        flex-direction: column;
        gap: 0.75rem;
    }

    .cta-section {
        padding: 50px 20px;
    }

    .cta-content {
        gap: 1.25rem;
    }

    .cta-content h2 {
        font-size: clamp(2rem, 8vw, 2.8rem);
    }

    .cta-text {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .cta-content .btn-primary {
        margin-top: 0.25rem;
    }
}

/* Extra small mobile: hide logo text, show only icon */
@media (max-width: 640px) {
    .logo-text {
        display: none;
    }

    .logo-image {
        width: 36px;
        height: 36px;
    }
}

/* ============ ABOUT HERO — IMAGE OVERFLOW FIX ============ */
/* Constrain the about-hero visual on tablet and mobile so it
   cannot spill into the text section below. */

@media (max-width: 1023px) {
    .about-hero .hero-visual {
        width: 100%;
        max-width: 420px;
        height: auto;
        aspect-ratio: 3 / 4;
        margin-inline: auto;
        overflow: hidden;
        position: relative;
    }

    .about-hero .hero-shape {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
    }

    .about-hero .hero-shape-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 30%;
    }
}

@media (max-width: 767px) {
    .about-hero .hero-visual {
        max-width: 340px;
        aspect-ratio: 3 / 4;
        margin-bottom: 1.5rem;
    }
}

/* ============ ABOUT HERO — GAP BELOW IMAGE ============ */
/* Double the space between the about-hero image and the text below. */

.about-hero .hero-visual {
    margin-bottom: 5rem;
}

@media (max-width: 1023px) {
    .about-hero .hero-visual {
        margin-bottom: 3.5rem;
    }
}

@media (max-width: 767px) {
    .about-hero .hero-visual {
        margin-bottom: 3rem;
    }
}

/* ============ SECTION SPACING UTILITIES ============ */
/* Apply to <main> to adjust vertical spacing between sections site-wide
   on that specific page. Reusable on any page. */

/* Compact: reduces section padding by ~40% */
main.spacing-compact > section {
    padding-block: clamp(40px, 5vw, 70px);
}

/* Tight: reduces section padding by ~60% */
main.spacing-tight > section {
    padding-block: clamp(28px, 3.5vw, 50px);
}

/* Extra tight: minimal spacing */
main.spacing-extra-tight > section {
    padding-block: clamp(20px, 2.5vw, 36px);
}

/* Remove padding entirely on hero if needed */
main.spacing-compact > section.hero,
main.spacing-tight > section.hero,
main.spacing-extra-tight > section.hero {
    padding-block: 20px;
}

/* Also reduce internal section-header margin */
main.spacing-compact .section-header,
main.spacing-tight .section-header,
main.spacing-extra-tight .section-header {
    margin-bottom: 1.5rem;
}

/* Reduce method-list top margin in compact modes */
main.spacing-compact .method-list,
main.spacing-tight .method-list,
main.spacing-extra-tight .method-list {
    margin-top: 1.25rem;
}

/* Reduce topic-list top margin */
main.spacing-compact .topic-list,
main.spacing-tight .topic-list,
main.spacing-extra-tight .topic-list {
    margin-top: 1.25rem;
}

/* Reduce process list top margin */
main.spacing-compact .process,
main.spacing-tight .process,
main.spacing-extra-tight .process {
    margin-top: 1.25rem;
}

/* ============ SCROLL DOWN INDICATOR ============ */
.scroll-down {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    text-decoration: none;
    cursor: pointer;
    transition: border-color var(--transition-fast),
                background-color var(--transition-fast),
                color var(--transition-fast),
                transform var(--transition-fast);
    position: relative;
}

.scroll-down:hover,
.scroll-down:focus-visible {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.scroll-down:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 4px;
}

.scroll-down svg {
    width: 22px;
    height: 22px;
    animation: scrollBounce 1.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
    will-change: transform;
}

/* Bouncing arrow */
@keyframes scrollBounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(6px);
    }
    60% {
        transform: translateY(3px);
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    .scroll-down svg {
        animation: none;
    }
}

/* ============ SCROLL DOWN INDICATOR — CENTERING ============ */
/* Wrap the .scroll-down in a centered row so it works everywhere. */
.scroll-down-wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 0rem;
}

.scroll-down-wrapper .scroll-down {
    /* reset any inline spacing */
    margin: 0;
}

/* ============ CONTACT IMAGE SECTION ============ */
.contact-image-section {
    padding-block: clamp(30px, 4vw, 60px);
}

.contact-image-wrapper {
    width: 100%;
    max-width: 741px;              /* 30% wider than before */
    aspect-ratio: 741 / 388;       /* same height as before: 570 / 1.47 ≈ 388 */
    margin-inline: auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-secondary);
}

.contact-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: var(--radius-lg);
}

@media (max-width: 767px) {
    .contact-image-section {
        padding-block: 24px;
    }

    .contact-image-wrapper,
    .contact-image {
        border-radius: var(--radius-md);
    }
}

/* ============ KAMRAN --> QUALIFICATION LIST about.html (Compact) ============ */
/* Match intentionally-dotted classes on mobile/tablet only */
@media (max-width: 1023px) {
    .about-section .topic-item > h4[class=".topic-title"],
    .about-section .topic-item > span[class=".topic-title"],
    .about-section .topic-item > span[class=".topic-arrow"] {
        font-size: 0.9rem;
        line-height: 1.45;
    }
}

@media (max-width: 767px) {
    .about-section .topic-item > h4[class=".topic-title"],
    .about-section .topic-item > span[class=".topic-title"] {
        font-size: 0.85rem;
        line-height: 1.4;
    }

    .about-section .topic-item > span[class=".topic-arrow"] {
        font-size: 0.75rem;
    }
}