/* Threshold Clinic - Main Stylesheet */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #4a6d8c;
    --gold: #c9a54d;
    --dark: #1e2d3a;
    --light: #f9f9f7;
    --white: #ffffff;
    --text: #2c3e50;
    --muted: #6b7c85;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }

h1, h2, h3, h4 {
    font-family: 'Cormorant', Georgia, serif;
    font-weight: 600;
    color: var(--dark);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}
.btn-primary { background: var(--primary); color: white; }
.btn-primary:hover { background: var(--dark); }
.btn-secondary { background: transparent; color: var(--dark); border: 2px solid var(--dark); }
.btn-secondary:hover { background: var(--dark); color: white; }
.btn-gold { background: var(--gold); color: var(--dark); }

/* Navigation */
.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 0 60px;
}
.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 14px;
}
.logo-img { height: 48px; width: auto; }
.logo-text { display: flex; flex-direction: column; }
.logo-name {
    font-family: 'Cormorant', Georgia, serif;
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    letter-spacing: 0.02em;
}
.logo-tagline {
    font-size: 9px;
    font-weight: 500;
    letter-spacing: 0.15em;
    color: var(--primary);
    text-transform: uppercase;
}
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-link { font-size: 14px; color: var(--muted); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-btn {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}
.nav-btn:hover { background: var(--dark); }

/* Hero */
.hero {
    padding: 80px 60px 120px;
    background: linear-gradient(180deg, var(--light) 0%, white 100%);
}
.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(201,165,77,0.15);
    color: var(--gold);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}
.hero h1 {
    font-size: 52px;
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero p {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 32px;
}
.hero-buttons { display: flex; gap: 16px; margin-bottom: 24px; }
.hero-phone { font-size: 14px; color: var(--muted); }
.hero-phone a { color: var(--primary); font-weight: 600; margin-left: 8px; }
.hero-image { position: relative; }
.hero-image img {
    width: 100%;
    height: 580px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(30,45,58,0.2);
}
.hero-badge-box {
    position: absolute;
    bottom: -30px;
    left: -30px;
    background: white;
    padding: 24px 28px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    text-align: center;
}
.badge-number { display: block; font-size: 32px; font-weight: 700; color: var(--dark); }
.badge-label { font-size: 13px; color: var(--muted); }

/* Stats */
.stats {
    padding: 60px;
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.stats-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    text-align: center;
}
.stat-number {
    display: block;
    font-family: 'Cormorant', Georgia, serif;
    font-size: 44px;
    font-weight: 700;
    color: var(--primary);
}
.stat-label { font-size: 14px; color: var(--muted); }

/* Section Styles */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 60px;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}
.section-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2, .section-header-row h2 {
    font-size: 42px;
    margin-bottom: 16px;
}
.section-header p {
    font-size: 17px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Preview */
.services-preview {
    padding: 120px 0;
    background: white;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}
.service-card {
    background: var(--light);
    padding: 40px;
    border-radius: 10px;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(30,45,58,0.1);
    border-bottom-color: var(--gold);
}
.service-card h3 { font-size: 22px; margin-bottom: 12px; }
.service-card p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.service-card a { font-size: 14px; font-weight: 600; color: var(--primary); }

/* Team Preview */
.team-preview {
    padding: 120px 0;
    background: var(--light);
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}
.team-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.team-card img { width: 100%; height: 280px; object-fit: cover; }
.team-card-content { padding: 24px; }
.team-card h3 { font-size: 17px; margin-bottom: 4px; }
.team-role { display: block; font-size: 14px; color: var(--primary); font-weight: 500; margin-bottom: 8px; }
.team-card p { font-size: 13px; color: var(--muted); }

/* CTA */
.cta {
    padding: 100px 60px;
    background: var(--primary);
    text-align: center;
}
.cta-container { max-width: 700px; margin: 0 auto; }
.cta-logo { height: 70px; margin-bottom: 30px; }
.cta h2 { font-size: 40px; color: white; margin-bottom: 20px; }
.cta p { font-size: 18px; color: rgba(255,255,255,0.8); margin-bottom: 40px; line-height: 1.7; }
.cta-buttons { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; }
.cta-phone { color: white; font-size: 16px; font-weight: 500; padding: 16px 24px; }

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 80px 60px 40px;
}
.footer-container { max-width: 1400px; margin: 0 auto; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}
.footer-logo-img { height: 50px; }
.footer-logo-name {
    display: block;
    font-family: 'Cormorant', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
}
.footer-logo-tagline {
    display: block;
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--gold);
    text-transform: uppercase;
}
.footer-brand p { font-size: 14px; opacity: 0.7; line-height: 1.8; margin-bottom: 20px; }
.footer-address { font-size: 14px; opacity: 0.7; line-height: 1.8; }
.footer-links h4, .footer-contact h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    color: white;
}
.footer-links a {
    display: block;
    font-size: 14px;
    opacity: 0.7;
    margin-bottom: 12px;
    transition: opacity 0.2s;
}
.footer-links a:hover { opacity: 1; }
.footer-contact p { font-size: 14px; opacity: 0.7; margin-bottom: 8px; }
.footer-hours { margin-top: 20px; font-size: 14px; opacity: 0.7; line-height: 1.8; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    opacity: 0.5;
}
.footer-legal { display: flex; gap: 30px; }

/* Page Hero */
.page-hero {
    padding: 100px 60px;
    background: var(--light);
    text-align: center;
}
.page-hero-container { max-width: 900px; margin: 0 auto; }
.page-hero h1 { font-size: 52px; margin-bottom: 20px; }
.page-hero p { font-size: 18px; color: var(--muted); line-height: 1.8; }

/* About Page */
.about-section { padding: 100px 60px; }
.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}
.about-grid img { width: 100%; height: 500px; object-fit: cover; border-radius: 10px; }
.about-content h2 { font-size: 38px; margin-bottom: 24px; }
.about-content p { font-size: 16px; color: var(--muted); line-height: 1.9; margin-bottom: 20px; }
.values-section { padding: 100px 60px; background: var(--light); }
.values-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.value-card {
    background: white;
    padding: 36px;
    border-radius: 10px;
}
.value-card h3 { font-size: 20px; margin-bottom: 12px; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.7; }

/* Services Page */
.services-section { padding: 80px 60px; }
.services-list { max-width: 1200px; margin: 0 auto; }
.service-row {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    padding: 60px 0;
    border-bottom: 1px solid #eee;
    align-items: start;
}
.service-row:last-child { border-bottom: none; }
.service-row h2 { font-size: 32px; margin-bottom: 16px; }
.service-row > div:first-child p { font-size: 16px; color: var(--muted); line-height: 1.8; margin-bottom: 24px; }
.service-details {
    background: var(--light);
    padding: 36px;
    border-radius: 10px;
}
.service-details-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 20px;
}
.service-tags {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.service-tag {
    background: white;
    padding: 14px 18px;
    border-radius: 6px;
    font-size: 14px;
}

/* Team Page */
.team-section { padding: 80px 60px; }
.team-full-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}
.team-full-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    background: var(--light);
    border-radius: 10px;
    overflow: hidden;
}
.team-full-card img { width: 220px; height: 100%; min-height: 320px; object-fit: cover; }
.team-full-content { padding: 32px; }
.team-full-content h3 { font-size: 22px; margin-bottom: 4px; }
.team-full-role { display: block; font-size: 15px; color: var(--primary); font-weight: 500; margin-bottom: 16px; }
.team-full-bio { font-size: 14px; color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.team-specialties-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 10px;
}
.team-specialties { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.team-specialty {
    background: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
}
.team-email { font-size: 13px; color: var(--primary); font-weight: 500; }

/* FAQ Page */
.faq-section { padding: 80px 60px; }
.faq-container { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid #eee; }
.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
}
.faq-question h3 {
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: var(--dark);
}
.faq-icon {
    font-size: 28px;
    color: var(--gold);
    transition: transform 0.3s;
}
.faq-answer {
    display: none;
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    padding-bottom: 28px;
    padding-right: 50px;
}
.faq-item.open .faq-answer { display: block; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-cta {
    max-width: 600px;
    margin: 80px auto 0;
    text-align: center;
    padding: 60px;
    background: var(--light);
    border-radius: 10px;
}
.faq-cta h2 { font-size: 30px; margin-bottom: 16px; }
.faq-cta p { font-size: 16px; color: var(--muted); margin-bottom: 24px; }

/* Contact Page */
.contact-section { padding: 80px 60px; }
.contact-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}
.contact-form h2, .contact-info h2 { font-size: 30px; margin-bottom: 8px; }
.contact-form > p, .contact-info > p { font-size: 15px; color: var(--muted); margin-bottom: 36px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 24px; }
.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.contact-item { display: flex; gap: 20px; margin-bottom: 32px; }
.contact-icon {
    width: 52px;
    height: 52px;
    background: var(--light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.contact-item-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 4px;
}
.contact-item-value { font-size: 18px; color: var(--dark); font-weight: 600; }
.contact-item-secondary { font-size: 15px; color: var(--text); line-height: 1.8; margin-top: 4px; }
.crisis-section { padding: 60px; }
.crisis-notice {
    max-width: 900px;
    margin: 0 auto;
    background: #fef3c7;
    border: 1px solid #fbbf24;
    border-radius: 10px;
    padding: 28px 36px;
    display: flex;
    gap: 20px;
}
.crisis-icon { font-size: 24px; }
.crisis-notice h3 {
    font-size: 17px;
    color: #92400e;
    margin-bottom: 8px;
    font-family: 'Inter', sans-serif;
}
.crisis-notice p { font-size: 14px; color: #a16207; line-height: 1.7; }

/* Responsive */
@media (max-width: 1200px) {
    .hero-container, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .services-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .team-full-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav { padding: 0 20px; }
    .nav-links { display: none; }
    .hero, .page-hero, .cta, .footer, .about-section, .values-section, .services-section, .team-section, .faq-section, .contact-section, .crisis-section {
        padding-left: 20px;
        padding-right: 20px;
    }
    .section-container { padding: 0 20px; }
    .hero h1, .page-hero h1 { font-size: 36px; }
    .section-header h2, .section-header-row h2 { font-size: 32px; }
    .services-grid, .team-grid, .values-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .footer-bottom { flex-direction: column; gap: 20px; text-align: center; }
    .stats-container { flex-wrap: wrap; gap: 40px; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .service-row { grid-template-columns: 1fr; gap: 30px; }
    .team-full-card { grid-template-columns: 1fr; }
    .team-full-card img { width: 100%; height: 250px; }
    .section-header-row { flex-direction: column; align-items: flex-start; gap: 20px; }
}
