
/* Microphone Permission Popup */
.permission-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 9998;
    display: none;
}

.permission-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    max-width: 480px;
    width: 90%;
    z-index: 9999;
    display: none;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-content {
    padding: 40px;
    text-align: center;
}

.popup-icon {
    margin-bottom: 24px;
}

.popup-icon i {
    width: 64px;
    height: 64px;
    color: #C9B037;
}

.popup-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.popup-message {
    font-size: 16px;
    line-height: 1.6;
    color: #4a4a4a;
    margin-bottom: 32px;
}

.popup-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.popup-button {
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.popup-button.primary {
    background: #C9B037;
    color: white;
    border-color: #C9B037;
}

.popup-button.primary:hover,
.popup-button.primary:focus {
    background: #b8a032;
    border-color: #b8a032;
}

.popup-button.secondary {
    background: transparent;
    color: #6a6a6a;
    border-color: #e0e0e0;
}

.popup-button.secondary:hover,
.popup-button.secondary:focus {
    color: #1a1a1a;
    border-color: #C9B037;
}

@media (min-width: 480px) {
    .popup-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .popup-button {
        flex: 1;
        max-width: 180px;
    }
}


/*
 * Psyomix - Premium Mental Health Voice Assessment Platform
 * Kintsugi-inspired minimalist design with accessibility focus
 * British English spellings and grammar throughout
 */

/* CSS Variables - Senior-Friendly Typography System */
:root {
    /* Font Sizes - All optimized for senior accessibility (22px minimum) */
    --text-xs: 22px;      /* Extra small text (was 12px) */
    --text-sm: 22px;      /* Small text (was 14px) */
    --text-base: 24px;    /* Base text size (was 16px) */
    --text-lg: 26px;      /* Large text (was 18px) */
    --text-xl: 26px;      /* Extra large text (was 20px) */
    --text-2xl: 28px;     /* 2X large text (was 22px) */
    --text-3xl: 30px;     /* 3X large text (was 24px) */
    --text-4xl: 32px;     /* 4X large text (was 26px) */
    --text-5xl: 36px;     /* 5X large text (was 30px) */

    /* Button Text Sizes */
    --btn-text-sm: 22px;  /* Small buttons */
    --btn-text-base: 26px; /* Standard buttons */
    --btn-text-lg: 28px;  /* Large buttons */
    --btn-text-xl: 30px;  /* Extra large buttons */

    /* Heading Sizes */
    --heading-sm: 32px;   /* Small headings (H3) */
    --heading-base: 36px; /* Base headings (H2) */
    --heading-lg: 44px;   /* Large headings (H1) */
    --heading-xl: 56px;   /* Extra large headings */

    /* Colors */
    --color-primary: #C9B037;
    --color-text: #2c2c2c;
    --color-text-light: #4a4a4a;
    --color-text-muted: #6a6a6a;
    --color-background: #fefefe;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 24px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter Tight', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.7;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: #C9B037;
    color: white;
    padding: 8px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    z-index: 1000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 6px;
}

/* Container and Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.main-content {
    min-height: calc(100vh - 160px);
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

h1 {
    font-size: clamp(var(--heading-lg), 5vw, var(--heading-xl));
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(var(--heading-base), 4vw, var(--heading-lg));
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(var(--heading-sm), 3vw, var(--heading-base));
    margin-bottom: 1rem;
}

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

/* Header and Navigation */
.header {
    position: sticky;
    top: 0;
    background: rgba(254, 254, 254, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f0f0f0;
    z-index: 100;
    padding: 20px 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.nav-brand {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    font-size: 32px;
    gap: 12px;
}

.brand-icon {
    width: 32px;
    height: 32px;
    color: #C9B037;
}

.brand-text {
    letter-spacing: -0.5px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Hamburger Menu */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 8px;
    position: relative;
    z-index: 200;
}

.hamburger-line {
    width: 24px;
    height: 3px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger-menu[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 280px;
    background: var(--color-background);
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 150;
    display: flex;
    flex-direction: column;
    padding: 100px 32px 32px;
    gap: 32px;
}

.mobile-menu[aria-hidden="false"] {
    transform: translateX(0);
}

.nav-link {
    text-decoration: none;
    color: var(--color-text-light);
    font-weight: 400;
    font-size: var(--text-xl);
    transition: color 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    border-bottom: 1px solid #f0f0f0;
}

.nav-link:hover,
.nav-link:focus {
    color: var(--color-primary);
}

/* Assessment Navigation */
.assessment-nav {
    gap: 24px;
}

.progress-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.progress-text {
    font-size: 24px;
    color: #6a6a6a;
    white-space: nowrap;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #C9B037, #d4c147);
    border-radius: 2px;
    transition: width 0.3s ease;
}

/* Buttons and Interactive Elements */
.primary-button,
.secondary-button,
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 500;
    font-size: var(--btn-text-base);
    line-height: 1.2;
    transition: all 0.2s ease;
    cursor: pointer;
    text-align: center;
    min-height: 64px;
    padding: 20px 36px;
    position: relative;
    overflow: hidden;
}

.primary-button {
    background: #C9B037;
    color: white;
    box-shadow: 0 4px 12px rgba(201, 176, 55, 0.25);
}

.primary-button:hover,
.primary-button:focus {
    background: #b8a032;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(201, 176, 55, 0.35);
}

.secondary-button {
    background: white;
    color: #4a4a4a;
    border: 2px solid #e0e0e0;
}

.secondary-button:hover,
.secondary-button:focus {
    border-color: #C9B037;
    color: #C9B037;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(201, 176, 55, 0.15);
}

.cta-button {
    background: #1a1a1a;
    color: white;
    font-size: 24px;
    min-height: 48px;
    padding: 12px 24px;
}

.cta-button:hover,
.cta-button:focus {
    background: #2c2c2c;
    transform: translateY(-1px);
}

.button-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.button-text {
    flex-grow: 1;
}

.button-subtext {
    font-size: 22px;
    opacity: 0.8;
    font-weight: 400;
    display: block;
    margin-top: 4px;
}

.large {
    font-size: var(--btn-text-xl);
    min-height: 72px;
    padding: 24px 48px;
}

.large .button-icon {
    width: 24px;
    height: 24px;
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(48px, 6vw, 68px);
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 32px;
    letter-spacing: -1px;
}

.hero-emphasis {
    font-weight: 500;
    color: #1a1a1a;
}

.hero-subtitle {
    color: #6a6a6a;
    font-weight: 300;
    font-style: italic;
}

.hero-description {
    font-size: 28px;
    color: #4a4a4a;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 64px;
    flex-wrap: wrap;
}

.trust-indicators {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    color: #6a6a6a;
}

.trust-icon {
    width: 24px;
    height: 24px;
    color: #C9B037;
}

.trust-text {
    font-weight: 400;
}

/* Sections */
.features,
.how-it-works {
    padding: 100px 0;
}

.features {
    background: #fafafa;
}

.section-title {
    text-align: center;
    font-weight: 300;
    margin-bottom: 80px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-emphasis {
    color: #C9B037;
    font-weight: 500;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    margin-top: 60px;
}

.feature-card {
    text-align: center;
    padding: 40px 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.feature-icon-container {
    margin-bottom: 24px;
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: #C9B037;
    margin: 0 auto;
}

.feature-title {
    font-size: 32px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.feature-description {
    font-size: 24px;
    color: #4a4a4a;
    line-height: 1.6;
}

/* Process Steps */
.process-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: 60px 0 80px;
    position: relative;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 280px;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #C9B037;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.step-content {
    position: relative;
}

.step-title {
    font-size: 26px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.step-description {
    font-size: 24px;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 16px;
}

.step-icon {
    width: 24px;
    height: 24px;
    color: #C9B037;
}

.process-divider {
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #C9B037, transparent);
    margin: 0 20px;
    position: relative;
    top: -60px;
}

.cta-section {
    text-align: center;
    margin-top: 60px;
}

/* Assessment Styles */
.assessment-section {
    padding: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    top: -80px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.assessment-container {
    max-width: 900px;
}

/* Minimal Assessment Design */
.minimal-assessment-container {
    max-width: 600px;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.minimal-question-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid #f8f8f8;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    min-height: 400px;
    max-width: 500px;
    opacity: 0;
    transform: scale(0.95);
    animation: scaleIn 0.6s ease-out 0.4s forwards;
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.minimal-question-text {
    font-size: clamp(24px, 4vw, 30px);
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 35px;
    line-height: 1.3;
    text-align: center;
    flex-shrink: 0;
}

.minimal-voice-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    flex-shrink: 0;
}

.minimal-mic-button {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--color-primary), #d4c147);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(201, 176, 55, 0.25);
    font-size: var(--btn-text-sm);
    font-weight: 500;
}

.minimal-mic-button:hover,
.minimal-mic-button:focus {
    transform: scale(1.05);
    box-shadow: 0 16px 40px rgba(201, 176, 55, 0.35);
}

.minimal-mic-button.recording {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    box-shadow: 0 16px 40px rgba(239, 68, 68, 0.4);
    animation: recordingPulse 1.5s ease-in-out infinite;
}

.minimal-mic-button.recording::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border: 3px solid rgba(239, 68, 68, 0.4);
    border-radius: 50%;
    animation: recordingRipple 2s linear infinite;
    pointer-events: none;
}

@keyframes recordingPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

@keyframes recordingRipple {
    0% {
        transform: scale(0.7);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.3);
        opacity: 0;
    }
}

.minimal-mic-icon {
    width: 36px;
    height: 36px;
}

.minimal-mic-status {
    font-size: var(--btn-text-sm);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.minimal-response-form {
    margin-top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.minimal-continue-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 16px;
    font-family: inherit;
    font-weight: 500;
    font-size: var(--btn-text-lg);
    padding: 22px 44px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(201, 176, 55, 0.25);
}

.minimal-continue-button:hover,
.minimal-continue-button:focus {
    background: #b8a032;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 176, 55, 0.35);
}

.minimal-continue-button:disabled {
    background: #e0e0e0;
    color: #9a9a9a;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.cluster-intro {
    text-align: center;
    margin-bottom: 60px;
}

.cluster-icon-container {
    margin-bottom: 24px;
}

.cluster-icon {
    width: 64px;
    height: 64px;
    color: #C9B037;
}

.cluster-title {
    font-size: clamp(28px, 4vw, 36px);
    margin-bottom: 16px;
}

.cluster-description {
    font-size: 26px;
    color: #4a4a4a;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.question-counter {
    display: inline-block;
    background: #f8f8f8;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 24px;
    color: #6a6a6a;
}

.question-container {
    margin-bottom: 48px;
}

.question-card {
    background: white;
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.question-text {
    font-size: 24px;
    font-weight: 400;
    color: #1a1a1a;
    margin-bottom: 40px;
    line-height: 1.4;
}

/* Voice Input Interface */
.voice-input-section {
    margin-bottom: 40px;
    text-align: center;
}

.microphone-container {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.mic-button {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #C9B037, #d4c147);
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(201, 176, 55, 0.3);
    font-size: 22px;
    font-weight: 500;
}

.mic-button:hover,
.mic-button:focus {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(201, 176, 55, 0.4);
}

.mic-button.recording {
    background: #e74c3c;
    animation: pulse 1.5s infinite;
}

.mic-icon {
    width: 32px;
    height: 32px;
}

.mic-status {
    font-size: 22px;
    font-weight: 400;
}

.recording-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.recording-indicator.active {
    opacity: 1;
}

.pulse-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid #e74c3c;
    border-radius: 50%;
    animation: pulse-ring 2s infinite;
}

.pulse-ring:nth-child(2) {
    animation-delay: 0.5s;
}

.pulse-ring:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0% { box-shadow: 0 8px 24px rgba(201, 176, 55, 0.3); }
    50% { box-shadow: 0 12px 32px rgba(231, 76, 60, 0.4); }
    100% { box-shadow: 0 8px 24px rgba(201, 176, 55, 0.3); }
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

.voice-instructions {
    margin-bottom: 32px;
}

.instruction-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 24px;
    color: #6a6a6a;
    background: #f8f8f8;
    padding: 16px 24px;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.instruction-icon {
    width: 18px;
    height: 18px;
    color: #C9B037;
    flex-shrink: 0;
}

/* Forms */
.response-form {
    margin-top: 32px;
}

.form-group {
    margin-bottom: 32px;
}

.form-label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.response-textarea {
    width: 100%;
    min-height: 160px;
    padding: 20px;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 26px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background: #fafafa;
}

.response-textarea:focus {
    outline: none;
    border-color: #C9B037;
    box-shadow: 0 0 0 3px rgba(201, 176, 55, 0.1);
    background: white;
}

.response-textarea::placeholder {
    color: #9a9a9a;
    font-style: italic;
}

.form-help {
    margin-top: 8px;
    font-size: 24px;
    color: #6a6a6a;
    font-style: italic;
}

.form-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 22px;
    color: #6a6a6a;
}

.note-icon {
    width: 16px;
    height: 16px;
    color: #C9B037;
}

/* Guidelines */
.guidelines-section {
    background: #f8f8f8;
    border-radius: 16px;
    overflow: hidden;
}

.guidelines-accordion {
    border: none;
}

.guidelines-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 20px 24px;
    background: none;
    border: none;
    font-size: 26px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.guidelines-trigger:hover {
    background: #f0f0f0;
}

.guidelines-icon {
    width: 20px;
    height: 20px;
    color: #C9B037;
}

.accordion-chevron {
    margin-left: auto;
    transition: transform 0.2s ease;
}

.guidelines-accordion[open] .accordion-chevron {
    transform: rotate(180deg);
}

.guidelines-content {
    padding: 0 24px 24px;
}

.guidelines-list {
    list-style: none;
    padding: 0;
}

.guidelines-list li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    font-size: 24px;
    line-height: 1.5;
    color: #4a4a4a;
}

.guidelines-list li:last-child {
    border-bottom: none;
}

.guidelines-list strong {
    color: #1a1a1a;
    font-weight: 500;
}

/* Floating Progress */
.floating-progress {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 50;
}

.progress-circle {
    position: relative;
    width: 60px;
    height: 60px;
}

.progress-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-circle-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 2;
}

.progress-circle-fill {
    fill: none;
    stroke: #C9B037;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.3s ease;
}

.progress-percentage {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 22px;
    font-weight: 500;
    color: #4a4a4a;
}

/* Completion Styles */
.completion-section {
    padding: 80px 0;
    text-align: center;
}

.completion-container {
    max-width: 900px;
}

.completion-hero {
    margin-bottom: 80px;
}

.completion-icon-container {
    position: relative;
    margin-bottom: 32px;
    display: inline-block;
}

.completion-icon {
    width: 80px;
    height: 80px;
    color: #27ae60;
}

.completion-sparkles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: #C9B037;
    border-radius: 50%;
    animation: sparkle 2s infinite;
}

.sparkle-1 {
    top: 10px;
    right: 15px;
    animation-delay: 0s;
}

.sparkle-2 {
    bottom: 10px;
    left: 10px;
    animation-delay: 0.7s;
}

.sparkle-3 {
    top: 50%;
    right: -10px;
    animation-delay: 1.4s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 1;
        transform: scale(1);
    }
}

.completion-title {
    font-size: clamp(32px, 4vw, 42px);
    margin-bottom: 16px;
    color: #1a1a1a;
}

.completion-subtitle {
    font-size: 22px;
    color: #4a4a4a;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.completion-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 36px;
    font-weight: 500;
    color: #C9B037;
    display: block;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 24px;
    color: #6a6a6a;
}

/* Timeline */
.next-steps-section {
    margin-bottom: 80px;
}

.next-steps-title {
    text-align: center;
    margin-bottom: 48px;
    font-size: 28px;
}

.steps-timeline {
    max-width: 600px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 20px;
    top: 60px;
    width: 2px;
    height: calc(100% + 20px);
    background: linear-gradient(180deg, #C9B037, #f0f0f0);
}

.step-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
}

.step-marker.completed {
    background: #27ae60;
    color: white;
}

.step-marker.processing {
    background: #C9B037;
    color: white;
    animation: processing 2s infinite;
}

.step-marker.pending {
    background: #e0e0e0;
    color: #9a9a9a;
}

@keyframes processing {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.step-content {
    flex: 1;
    padding-top: 2px;
}

.step-title {
    font-size: 26px;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.step-description {
    font-size: 24px;
    color: #4a4a4a;
    line-height: 1.5;
    margin-bottom: 16px;
}

.processing-indicator {
    margin-top: 12px;
}

.processing-bar {
    width: 200px;
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 8px;
}

.processing-fill {
    height: 100%;
    background: #C9B037;
    border-radius: 2px;
    animation: processing-fill 3s infinite;
}

@keyframes processing-fill {
    0% { width: 0; }
    50% { width: 70%; }
    100% { width: 100%; }
}

.processing-text {
    font-size: 22px;
    color: #6a6a6a;
    font-style: italic;
}

/* Info Cards */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 60px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: #f8f8f8;
    border-radius: 16px;
    text-align: left;
}

.info-icon-container {
    flex-shrink: 0;
}

.info-icon {
    width: 32px;
    height: 32px;
    color: #C9B037;
}

.info-content {
    flex: 1;
}

.info-title {
    font-size: 26px;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.info-description {
    font-size: 24px;
    color: #4a4a4a;
    line-height: 1.5;
}

.completion-actions {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Support Section */
.support-section {
    text-align: center;
    padding: 40px;
    background: #f8f8f8;
    border-radius: 16px;
}

.support-text {
    font-size: 26px;
    color: #4a4a4a;
    margin-bottom: 24px;
}

.support-text strong {
    color: #1a1a1a;
    font-weight: 500;
}

.support-options {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.support-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 24px;
    color: #4a4a4a;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.support-button:hover,
.support-button:focus {
    border-color: #C9B037;
    color: #C9B037;
}

/* Microphone Permission Status */
.mic-permission-status {
    text-align: center;
    margin: 24px 0;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: var(--text-base);
    font-weight: 500;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.mic-permission-status.success {
    background: #f0f9f4;
    color: #166534;
    border-color: #22c55e;
}

.mic-permission-status.error {
    background: #fef2f2;
    color: #dc2626;
    border-color: #ef4444;
}


/* Footer */
.footer {
    background: #f8f8f8;
    padding: 40px 0;
    margin-top: 80px;
    border-top: 1px solid #f0f0f0;
}

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

.footer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 26px;
    color: #4a4a4a;
    margin-bottom: 16px;
}

.footer-icon {
    width: 20px;
    height: 20px;
    color: #C9B037;
}

.footer-disclaimer {
    font-size: 22px;
    color: #6a6a6a;
    line-height: 1.5;
    font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .hero-title {
        font-size: clamp(38px, 10vw, 52px);
        font-weight: 400;
        line-height: 1.15;
        margin-bottom: 24px;
    }

    .section-title {
        font-size: clamp(32px, 8vw, 42px);
        font-weight: 400;
        line-height: 1.2;
    }

    h1 {
        font-size: clamp(36px, 9vw, 48px);
    }

    h2 {
        font-size: clamp(30px, 7vw, 40px);
    }

    h3 {
        font-size: clamp(26px, 6vw, 34px);
    }

    .nav-container {
        padding: 0 20px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .nav-actions {
        gap: 20px;
    }

    .progress-info {
        flex-direction: column;
        gap: 8px;
    }

    .progress-bar {
        width: 120px;
    }

    .hero {
        padding: 60px 0 80px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .trust-indicators {
        gap: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .process-steps {
        flex-direction: column;
        gap: 40px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .process-divider {
        display: none;
    }

    .question-card {
        padding: 32px 24px;
    }

    .mic-button {
        width: 100px;
        height: 100px;
    }

    .recording-indicator {
        width: 120px;
        height: 120px;
    }

    .floating-progress {
        bottom: 20px;
        right: 20px;
    }

    .completion-stats {
        gap: 32px;
    }

    .timeline-step {
        gap: 16px;
    }

    .timeline-step::after {
        left: 16px;
    }

    .step-marker {
        width: 32px;
        height: 32px;
    }

    .info-section {
        grid-template-columns: 1fr;
    }

    .info-card {
        padding: 24px;
    }

    .completion-actions {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .support-options {
        flex-direction: column;
        gap: 12px;
    }

    .chat-widget {
        bottom: 20px;
        right: 20px;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 26px;
    }

    .hero-title {
        font-size: clamp(42px, 12vw, 58px);
        font-weight: 400;
        line-height: 1.1;
    }

    .hero-description {
        font-size: 26px;
    }

    .section-title {
        font-size: clamp(36px, 9vw, 48px);
        font-weight: 400;
        line-height: 1.2;
    }

    .question-text {
        font-size: 26px;
    }

    .response-textarea {
        font-size: 24px;
        min-height: 120px;
    }

    .primary-button,
    .secondary-button {
        font-size: 24px;
        min-height: 52px;
        padding: 14px 24px;
    }

    .large {
        font-size: 26px;
        min-height: 56px;
        padding: 16px 32px;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .primary-button {
        background: #1a1a1a;
        border: 2px solid #1a1a1a;
    }

    .secondary-button {
        border-color: #1a1a1a;
        color: #1a1a1a;
    }

    .section-emphasis,
    .hero-emphasis {
        color: #1a1a1a;
    }
}

/* Voice Analysis Results Styles */
.analysis-results-section {
    margin-bottom: 80px;
    padding: 48px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.analysis-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 40px;
    color: #1a1a1a;
}

.triage-summary {
    max-width: 800px;
    margin: 0 auto;
}

.triage-intro {
    text-align: center;
    margin-bottom: 40px;
    padding: 24px;
    background: #f8f8f8;
    border-radius: 16px;
}

.triage-icon {
    width: 48px;
    height: 48px;
    color: #C9B037;
    margin-bottom: 16px;
}

.triage-description {
    font-size: 26px;
    color: #4a4a4a;
    line-height: 1.6;
}

.conditions-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 32px;
    color: #1a1a1a;
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.condition-card {
    background: white;
    border: 2px solid #f0f0f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.2s ease;
}

.condition-card:hover {
    border-color: #C9B037;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201, 176, 55, 0.15);
}

.condition-header {
    margin-bottom: 16px;
}

.condition-icon {
    width: 40px;
    height: 40px;
    color: #C9B037;
    margin-bottom: 12px;
}

.condition-name {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.severity-indicator {
    margin-top: 16px;
}

.severity-badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 22px;
    font-weight: 500;
    color: white;
}

.severity-mild {
    background: #27ae60;
}

.severity-moderate {
    background: #f39c12;
}

.severity-severe {
    background: #e74c3c;
}

/* Treatment Recommendations Styles */
.treatment-recommendations-section {
    margin-bottom: 80px;
}

.recommendations-title {
    text-align: center;
    font-size: 28px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.recommendations-subtitle {
    text-align: center;
    font-size: 26px;
    color: #4a4a4a;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.center-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.center-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #C9B037;
}

.center-header {
    margin-bottom: 24px;
}

.center-badge {
    display: inline-block;
    background: #C9B037;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.center-name {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.3;
}

.center-location {
    font-size: 24px;
    color: #6a6a6a;
    margin-bottom: 8px;
}

.center-ranking {
    font-size: 22px;
    color: #C9B037;
    font-weight: 500;
    font-style: italic;
}

.center-details {
    margin-bottom: 24px;
}

.specialties-title,
.treatments-title {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1a1a1a;
}

.specialties-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.specialties-list li {
    padding: 4px 0;
    font-size: 22px;
    color: #4a4a4a;
    position: relative;
    padding-left: 16px;
}

.specialties-list li::before {
    content: '•';
    color: #C9B037;
    position: absolute;
    left: 0;
}

.treatments-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.treatment-tag {
    background: #f8f8f8;
    color: #4a4a4a;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 500;
}

.center-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.center-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #C9B037;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.center-link:hover {
    background: #b8a032;
    transform: translateY(-1px);
}

.center-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 22px;
    color: #6a6a6a;
}

.view-all-centers {
    text-align: center;
    margin-top: 48px;
}

/* Treatment Centers Page Styles */
.treatment-centers-section {
    padding: 60px 0 80px;
}

.centers-hero {
    text-align: center;
    margin-bottom: 80px;
}

.centers-title {
    font-size: clamp(32px, 4vw, 42px);
    margin-bottom: 24px;
    color: #1a1a1a;
}

.centers-subtitle {
    font-size: 26px;
    color: #4a4a4a;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.centers-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat-card {
    text-align: center;
    padding: 24px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    min-width: 120px;
}

.stat-card .stat-number {
    font-size: 36px;
    font-weight: 500;
    color: #C9B037;
    display: block;
    margin-bottom: 8px;
}

.stat-card .stat-label {
    font-size: 22px;
    color: #6a6a6a;
    font-weight: 500;
}

.regions-overview {
    margin-bottom: 80px;
}

.regions-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 48px;
    color: #1a1a1a;
}

.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.region-card {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #C9B037;
}

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

.region-icon {
    width: 32px;
    height: 32px;
    color: #C9B037;
}

.region-name {
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
}

.region-summary {
    margin-bottom: 24px;
}

.facility-count {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 16px;
}

.count-number {
    font-size: 28px;
    font-weight: 500;
    color: #C9B037;
}

.count-label {
    font-size: 24px;
    color: #6a6a6a;
}

.facility-highlight strong {
    color: #1a1a1a;
    font-weight: 500;
}

.facility-ranking {
    color: #C9B037;
    font-size: 22px;
    font-style: italic;
}

.region-actions {
    margin-top: 24px;
}

.region-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: #f8f8f8;
    border-radius: 8px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
    transition: all 0.2s ease;
}

.region-link:hover {
    background: #C9B037;
    color: white;
}

.featured-centers-section {
    margin-bottom: 80px;
}

.featured-title {
    text-align: center;
    font-size: 32px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.featured-subtitle {
    text-align: center;
    font-size: 26px;
    color: #4a4a4a;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
}

.featured-center {
    background: white;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.featured-center:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #C9B037;
}

.featured-header {
    margin-bottom: 24px;
}

.featured-badge {
    display: inline-block;
    background: #C9B037;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-name {
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #1a1a1a;
    line-height: 1.3;
}

.featured-ranking {
    font-size: 22px;
    color: #C9B037;
    font-weight: 500;
    font-style: italic;
}

.featured-content {
    margin-bottom: 24px;
}

.featured-description {
    font-size: 24px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 20px;
}

.featured-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.specialty-tag {
    background: #f8f8f8;
    color: #4a4a4a;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 22px;
    font-weight: 500;
}

.featured-actions {
    margin-top: 24px;
}

.featured-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    background: #C9B037;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.featured-link:hover {
    background: #b8a032;
    transform: translateY(-1px);
}

.centers-cta-section {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 80px;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 28px;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.cta-description {
    font-size: 26px;
    color: #4a4a4a;
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-actions {
    margin-bottom: 24px;
}

.centers-info-section {
    margin-bottom: 40px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.info-item {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    text-align: left;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .pulse-ring,
    .completion-sparkles,
    .processing-fill {
        animation: none;
    }
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid #C9B037;
    outline-offset: 2px;
}

button:focus,
.primary-button:focus,
.secondary-button:focus,
.cta-button:focus {
    outline: 3px solid #C9B037;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .chat-widget,
    .floating-progress {
        display: none;
    }

    .main-content {
        min-height: auto;
    }

    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
}


/* Region Clinics Page Styles */
.region-clinics-section {
    padding: 60px 0 80px;
}

.region-hero {
    text-align: center;
    margin-bottom: 80px;
}

.region-title {
    font-size: clamp(32px, 4vw, 42px);
    margin-bottom: 24px;
    color: #1a1a1a;
}

.region-subtitle {
    font-size: 26px;
    color: #4a4a4a;
    margin-bottom: 48px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.region-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.clinics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.clinic-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.2s ease;
}

.clinic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    border-color: #C9B037;
}

.clinic-header {
    margin-bottom: 32px;
}

.clinic-badge {
    display: inline-block;
    background: #C9B037;
    color: white;
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.clinic-name {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
    color: #1a1a1a;
    line-height: 1.3;
}

.clinic-location {
    font-size: 26px;
    color: #6a6a6a;
    margin-bottom: 12px;
}

.clinic-ranking {
    font-size: 24px;
    color: #C9B037;
    font-weight: 500;
    font-style: italic;
}

.clinic-content {
    margin-bottom: 32px;
}

.clinic-description {
    font-size: 24px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 24px;
}

.clinic-specialties {
    margin-bottom: 24px;
}

.clinic-treatments {
    margin-bottom: 24px;
}

.clinic-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.clinic-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: #C9B037;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.clinic-link:hover {
    background: #b8a032;
    transform: translateY(-1px);
}

.clinic-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 24px;
    color: #6a6a6a;
}

.region-cta-section {
    background: #f8f8f8;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}

/* Golden Animation */
.golden-animation {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px 0;
    height: 120px;
    position: relative;
}

.golden-circle {
    position: absolute;
    border-radius: 50%;
    border: 3px solid #C9B037;
    animation: pulse-gold 2s ease-in-out infinite;
}

.circle-1 {
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circle-2 {
    width: 40px;
    height: 40px;
    animation-delay: 0.2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    animation-delay: 0.4s;
}

.circle-4 {
    width: 80px;
    height: 80px;
    animation-delay: 0.6s;
}

.circle-5 {
    width: 100px;
    height: 100px;
    animation-delay: 0.8s;
}

@keyframes pulse-gold {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0.3;
        border-color: #C9B037;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
        border-color: #d4c147;
        box-shadow: 0 0 20px rgba(201, 176, 55, 0.6);
    }
}

/* Hover effect */
.hero:hover .golden-circle {
    animation-duration: 1s;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .golden-circle {
        animation: none;
        opacity: 0.6;
        transform: scale(1);
    }
}