/* --- Design System Variables and Global Reset --- */
:root {
   --color-primary: #181818;        
    --color-secondary: #181818;     
    --color-primary-light: #A3D3CD;  

    --color-accent: #2a3858;        

    --color-text-dark: #283633;    
    --color-text-half-dark: #808080;     
    --color-text-light: #181818;     

    --color-background-soft: #F4F2EB; 
    --color-white: #FFFFFF;          

    --color-success: #8DBE88;        
    --color-warning: #D98357; 
    --color-error: #C75F75;  

    --color-active-bg: #E6EDE9;

    /* Typography */
    --font-family-body: 'Inter', 'Lato', 'Open Sans', sans-serif;
    --font-family-heading: 'Playfair Display', 'Inter', 'Lato', 'Open Sans', serif;

    /* Spacing & Radius */
    --spacing-unit: 1rem;
    --border-radius-base: 12px;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Basic Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-family-body);
    color: var(--color-text-dark);
    background-color: var(--color-white);
    line-height: 1.6;
    scroll-behavior: smooth;
}

/* --- Utility Classes --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

.section-padding {
    padding: 4rem 0;
}

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

.hidden {
    display: none !important;
}

/* --- Typography Styles --- */
h1, h2, h3 {
    font-family: var(--font-family-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

/* --- Overrides for Headings within the Result Section --- */
.result-section h1, 
.result-section h2, 
.result-section h3,
.result-section .page-subtitle{
    /* Use the Soft Burnt Orange for high attention and warmth on the result page */
    color: var(--color-white); 
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; color: var(--color-text-dark); }
h3 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
    color: var(--color-text-light);
}

/* --- Buttons (UPDATED FOR SIZE) --- */
.btn {
    display: inline-block;
    padding: 1rem 2rem; 
    border-radius: var(--border-radius-base);
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    border: none;
    text-align: center;
    font-size: 1.05rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-white); 
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    background-color: #344564;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.btn-secondary {
    background-color: #cececc;
    color: var(--color-primary);
}

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

/* --- Layout: Header and Navigation --- */
.header {
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

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

/* LOGO STYLES (MODIFIED FOR TEXT LOGO) */
.logo {
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    font-family: var(--font-family-heading);
    font-size: 1.8rem; /* Header logo size */
    font-weight: 800; /* Extra bold for display */
}

/* Text color for 'Focus' */
.logo-focus {
    color: var(--color-accent);
}

/* Text color for 'Find' */
.logo-find {
    color: var(--color-primary);
}

/* Footer Logo Styles */
.logo_footer {
    text-decoration: none;
    display: block; 
    line-height: 1;
    /* KEY CENTERING FIX: Confine the block's width to its content */
    width: fit-content;
    margin: 0 auto 1.5rem; /* Center and add margin to footer logo */
}

.logo-image {
    max-height: 80px; /* Adjust height as needed for the header */
    width: auto;
    display: block;
}

/* Ensure the logo in the footer is also styled appropriately */
.logo_footer .logo-image {
    max-height: 100px; /* Adjust height as needed for the footer */
}


/* END LOGO STYLES */

.nav-menu {
    display: none; /* Hidden on mobile */
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text-dark);
    font-weight: 500;
}

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

/* --- Section: Hero (Background Image) (MODIFIED) --- */
.hero {
    padding: 6rem 0; 
    text-align: center; 
    background-color: #e7e6e4;
    color: var(--color-text-dark); 
}


/* REMOVED .hero-text { text-align: center; } as it's now handled by parent */

.hero h1 {
    color: var(--color-primary); 
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    margin-bottom: 1rem;
    /* UPDATED: Applying the serif font (Playfair Display) for a distinct look */
    font-family: 'Playfair Display', serif; 
    font-weight: 900; /* Making it extra bold for impact */
}

/* NEW: Style for the word 'Balance' */
.hero h1 .highlight {
    font-style: italic;
    color: #f09e10; 
}

.hero .subheadline {
    color: var(--color-primary); 
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 600;
}

.hero .microline {
    color: var(--color-text-half-dark); 
    font-size: clamp(1rem);
    font-weight: 600;
}

.hero-actions {
    /* **MODIFIED:** Now always horizontal and centered */
    display: flex;
    flex-direction: row; /* Changed from column to row for horizontal layout */
    gap: 1rem;
    max-width: 500px; /* Increased max-width */
    margin: 0 auto 3rem;
    justify-content: center; 
    flex-wrap: wrap; /* Added for better mobile fallback if screen is too narrow */
}

.hero-actions .btn {
    flex: 1; /* Make them share the space equally */
    width: auto; /* Resetting width from 100% to let flex work */
    min-width: 150px; /* Ensures buttons don't get too small on very narrow screens */
}

.hero-actions .btn-secondary {
    background-color: #cececc;
    color: var(--color-primary);
}

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


/* --- 3-Step Process Visual (UPDATED for boxes and numbered badge) --- */
.process-steps {
    /* Keep flex properties for horizontal layout, but simplify wrapper styling */
    display: flex;
    flex-direction: row; 
    justify-content: space-around; 
    gap: 1.5rem; /* Increased gap for separation */
    padding: 0; /* Removed padding from wrapper */
    max-width: 900px;
    margin: 2rem auto 0;
    /* REMOVED: background, border-radius, box-shadow from the wrapper */
}

.step {
    text-align: center;
    flex: 1; 
}

.step-box {
    /* New styles for the box effect */
    background: var(--color-white); 
    border-radius: var(--border-radius-base); 
    box-shadow: var(--shadow-soft);
    padding: 2rem 1rem 2rem; /* SLIGHTLY INCREASED bottom padding for better spacing with the larger badge */
    height: 100%; 
    position: relative; /* ESSENTIAL: establishes context for the absolute badge */
    border: 1px solid #eee; /* Subtle border for definition */
}

.step-badge {
    position: absolute;
    
    /* *** MODIFIED FOR BOTTOM CENTER POSITIONING *** */
    bottom: -40px; /* Moves it 20px below the bottom edge */
    left: 50%;     /* Moves the starting point to the horizontal center */
    transform: translateX(-50%); /* Shifts it back by half its width for perfect centering */

    /* *** MODIFIED FOR LARGER SIZE AND CENTERED TEXT *** */
    background-color: var(--color-primary); 
    color: var(--color-white);
    font-weight: 700;
    font-size: 2rem; /* Larger font size */
    width: 60px;     /* Larger size */
    height: 60px;    /* Larger size */
    line-height: 55px; /* Matches height for perfect vertical centering */
    text-align: center; 
    
    border-radius: 50%;
    border: 3px solid var(--color-background-soft); 
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15); 
}

/* Update content styles inside the box */
.step-icon {
    font-size: 2.5rem; /* Make icon a little larger */
    margin-bottom: 0.75rem;
    color: var(--color-secondary); /* Use a bold color for the icon */
}

.step-text {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-text-dark); /* Use dark text for better readability on white box */
}

/* --- Section: Quiz (Grid Boxes) --- */
.quiz-section {
    background-color: var(--color-white);
}

.quiz-headline {
    font-size: 1.65rem; /* Slightly larger than h2, but smaller than h1 */
    font-weight: 500;   /* Medium weight for readability */
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 3rem; /* Center the element and add a large margin below */
    color: var(--color-text-dark);
    font-family: var(--font-family-body); /* Use body font for a more informational tone */
}

.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* NEW STYLING FOR WIDER BUTTON */
.quiz-button-wrapper {
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

.quiz-button-wrapper .btn {
    width: 100%;
}
/* END NEW STYLING */

/* Hide the actual checkbox input */
.quiz-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

/* Style the custom clickable box (the label) */
.quiz-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 120px;
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: var(--border-radius-base);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: var(--color-text-dark);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* Icon styling (UPDATED to target Font Awesome icons) */
.quiz-icon {
    font-size: 2.5rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

/* Checked state styling (UPDATED COLORS) */
.quiz-option input[type="checkbox"]:checked + label {
    border-color: var(--color-secondary);
    background-color: var(--color-active-bg);
    box-shadow: 0 0 0 4px rgba(205, 73, 66, 0.3);
    transform: scale(1.02);
}

.quiz-option input[type="checkbox"]:checked + label .quiz-icon {
    color: var(--color-secondary);
}

/* Quiz Result */
#quiz-result {
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: var(--border-radius-base);
    font-weight: 600;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    background-color: #f0f8ff;
}

/* ... (Quiz Section continues below) ... */



.quiz-container {
    max-width: 700px;
    margin: 2rem auto;
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-soft);
}

/* Progress Bar */
#progress-bar-container {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 2rem; 
    height: 12px;
    background-color: #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

#progress-bar {
    height: 100%;
    width: 0%; 
    background-color: #f8d78c; 
    transition: width 0.4s ease-in-out;
}

/* Question Content */
.question-headline {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 25px;
    color: var(--color-text-dark);
}

/* Answer Options (The 4 clickable boxes) */
.quiz-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

/* Hide the unused checkbox input from the previous version */
.quiz-option input[type="checkbox"] {
    display: none;
}

/* Style the custom clickable box (the label) */
.quiz-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 80px; 
    background-color: var(--color-white);
    padding: 1rem;
    border-radius: 8px; 
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quiz-option label:hover {
    background-color: #f5f5f5;
}

/* Selected state using the .selected class, which will be added by JS */
.quiz-option.selected label {
    background-color: #f8d78c;
    color: var(--color-white);
    box-shadow: 0 0 0 4px rgba(205, 73, 66, 0.3);
    transform: scale(1.02);
}

/* Quiz Result Container Styles */
#quiz-results-container {
    /* Inherits .quiz-container styles */
}

.result-section{
    padding: 6rem 0; 
    /* Set alignment to center for the new layout */
    text-align: center; 
    
    /* GRADIENT: Purple (bottom-left) to Teal-Blue (top-right) */
    background-image: #e7e6e4; 
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    color: var(--color-white); 
}

.quiz-box {
    background-color: #e7e6e4;
}




#result-animal-name {
    color: var(--color-secondary);
}

/* --- Section: Result Card (NEW STYLES) --- */
.result-card {
    background-color: #e7e6e4;
    padding: 2.5rem 2rem; 
    border-radius: var(--border-radius-base); /* Rounded corners */
    max-width: 500px; /* Max width to contain the card */
    margin: 2rem auto 3rem; /* Centering and spacing */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Shadow for prominence */
    border: 1px solid #eee; /* Subtle border */
    text-align: center; /* Center content inside the card */
}

.result-card .animal-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-bottom: 1.5rem;
    border-radius: var(--border-radius-base); /* Rounded corners */
}

.result-card .animal-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-dark); /* Use dark color for name */
}

.result-card .animal-description p {
    color: var(--color-text-dark);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.result-card .btn-primary {
    width: 100%;
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.result-card .animal-description .arrow-list {
    /* Overrides the text-align: center from the parent .result-card */
    text-align: left;
    
    /* Ensure the list itself aligns to the left */
    width: fit-content; /* Helps contain the list width if needed */
    max-width: 100%;
    margin-left: 0; /* Resetting automatic center margins */
    margin-right: auto;
    
    /* Remove default list styling (dots) */
    list-style: none;
    padding-left: 0; /* Remove padding for custom bullets */
}

.result-card .animal-description .arrow-list li {
    /* Ensures the list item text is dark, overriding the white text on the result card */
    color: var(--color-text-dark); 
    
    /* Add padding for the custom arrow icon */
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px; /* Space between list items */
    line-height: 1.4;
}

.result-card .animal-description .arrow-list li::before {
    content: '›'; /* Unicode character for a small forward arrow */
    color: var(--color-primary); /* Use a primary color for the bullet, or var(--color-text-dark) */
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.4; /* Match line height for vertical alignment */
}

.result-card .result-tip-box {
    /* Box Styling */
    background-color: var(--color-white); /* White background */
    border-radius: 12px;                  /* 12px rounded corners */
    padding: 20px;
    margin: 20px auto;                     /* Adds vertical spacing and helps center the box */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft shadow for depth */
    text-align: left;
    color: var(--color-text-dark); 
}

.result-card .result-tip-box h3 {
    color: var(--color-text-dark);
    font-size: 1.15em;
    margin-top: 0;
    margin-bottom: 15px;
}


.result-card .result-tip-box .arrow-list {
    text-align: left;
    list-style: none;
    padding-left: 0; 
    margin-left: 0; 
    margin-right: auto;
}

.result-card .result-tip-box .arrow-list li {
    color: var(--color-text-dark); 
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px; 
    line-height: 1.4;
}

.result-card .result-tip-box .arrow-list li::before {
    content: '›'; 
    color: var(--color-primary); 
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2em;
    line-height: 1.4; 
}

.result-card h1, 
.result-card h2, 
.result-card h3{
    /* Use the Soft Burnt Orange for high attention and warmth on the result page */
    color: var(--color-text-dark); 
}
/* --- END Result Card Styles --- */


/* --- Section: $1 Offer --- */
.offer-section {
    text-align: center;
}

.offer-box {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-base);
    max-width: 450px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
}

.offer-box h3 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.price-anchor {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price-anchor del {
    color: #ccc;
    margin-right: 10px;
}

.offer-box .btn-primary {
    width: 100%;
    margin: 1rem 0 0.5rem;
}

.offer-microcopy {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* --- Modal Form --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

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

.modal-content {
    background-color: var(--color-white);
    padding: 2rem;
    border-radius: var(--border-radius-base);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
    max-height: 90vh;
    overflow-y: auto;
}

/* Full FAQ Modal Specific styling */
#full-faq-modal .modal-content {
    max-width: 800px;
}

#full-faq-modal .accordion-item {
    background-color: var(--color-background-soft);
    margin-bottom: 0.5rem;
    box-shadow: none; 
    border: 1px solid #eee;
}

.modal-overlay.visible .modal-content {
    transform: scale(1);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 600;
    font-size: 0.95rem;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
}

.form-actions .btn {
    flex: 1;
}

#form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    background-color: #e6ffe6;
    color: var(--color-primary);
    font-weight: 600;
    text-align: center;
}

/* --- Section: FAQ Accordion --- */
.faq-section {
    background-color: #e7e6e4;
}

.accordion {
    max-width: 800px;
    margin: 2rem auto 0;
}

.full-accordion {
    margin-top: 1rem;
}

.accordion-item {
    background-color: var(--color-white);
    border-radius: var(--border-radius-base);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-primary);
    transition: background-color 0.2s;
}

/* Hover State */
.accordion-header:hover {
    background-color: #f8d78c;
}

/* ACTIVE/OPEN STATE (UPDATED COLORS) */
.accordion-item.active .accordion-header {
    background-color: #f09e10;
    border-left: 5px solid #f8d78c;
    border-radius: 0; 
    padding-left: calc(1rem - 5px);
}

/* Ensure the hover state on an active item is still visible */
.accordion-item.active .accordion-header:hover {
    background-color: #f8d78c;
}
/* END OF ACTIVE/OPEN STATE STYLES */

.accordion-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 1rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    border-top: 1px solid #eee;
}

.accordion-content p {
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 0.95rem;
}

/* --- Section: Social Proof (Testimonials & Clinician) --- */
.social-proof-grid {
    display: flex;
    gap: 2rem;
}

.testimonials-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.testimonial-card {
    background-color: var(--color-background-soft);
    padding: 1.5rem;
    border-radius: var(--border-radius-base);
    box-shadow: var(--shadow-soft);
    font-style: italic;
}

.rating {
    color: var(--color-accent);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.clinician-card {
    padding: 1.5rem;
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius-base);
    text-align: center;
}

/* Clinician image placeholder color */
.clinician-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
}

.clinician-card .quote {
    font-style: italic;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.clinician-card .credentials {
    font-size: 0.9rem;
    color: var(--color-text-light);
}

/* --- Footer --- */
.footer {
    padding: 2rem 0;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    margin: 0 0.5rem;
    font-size: 0.9rem;
}

.disclaimer {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #999;
}

/* --- Sticky CTA --- */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.75rem var(--spacing-unit);
    background-color: var(--color-white);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 900;
    text-align: center;
}

/* --- Desktop & Two-Column Layout (Media Queries) --- */
@media (min-width: 800px) {

    /* KEEP: Sticky CTA */
    .sticky-cta {
        width: auto;
        right: 1rem;
        left: auto;
        bottom: 1rem;
        padding: 0.75rem 1.5rem;
        border-radius: 20px;
    }

    /* KEEP: Nav Menu */
    .nav-menu {
        display: block;
        /* FIX: Use margin-left: auto to push the nav menu next to the button */
        margin-left: auto;
    }

    .header-content {
        gap: 2rem;
    }

    /* KEEP: Desktop Quiz Grid: 4 columns */
    .quiz-options {
        grid-template-columns: repeat(3, 1fr);
    }

    /* KEEP: Two-column layout for social proof starting at 800px */
    .social-proof-grid {
        display: flex;
        gap: 2rem;
    }
}

/* --- NEW STYLE: Equal-Width Buttons in Results CTA --- */
.cta-group {
    display: flex; /* Make it a flex container */
    gap: 10px;     /* Space between buttons */
    width: 100%; 
    max-width: 450px; /* Constrains the max width of the button group */
    margin: 10px auto; /* Center the group and add vertical margin */
    align-items: stretch; /* Ensures buttons stretch to match the height of the tallest one (default flex behavior, but explicit) */
}

.cta-group button {
    /* CRITICAL FIX: Make buttons share space equally */
    flex: 1; 
}

@media (min-width: 1100px) {
    
    /* KEEP: Social Proof Grid */
    .social-proof-grid {
        grid-template-columns: 1.5fr 1fr;
    }

    .testimonials-container {
        gap: 1rem;
    }

    .clinician-card {
        align-self: start;
        text-align: left;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .clinician-card .quote {
        text-align: center;
    }
}