/* ========================================
   Eastside Counseling Associates
   Classic & Elegant — Burgundy + Blush
   ======================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #2d2d2d;
    background-color: #fdf8f6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: #781c26;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #5a141c;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Skip Link ---------- */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #781c26;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 4px 4px;
    z-index: 9999;
    font-size: 14px;
    font-weight: 500;
}

.skip-link:focus {
    top: 0;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
    font-family: 'Lora', serif;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

.section-eyebrow {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #781c26;
    margin-bottom: 12px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    color: #1a1a1a;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 17px;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

.lead {
    font-family: 'Lora', serif;
    font-size: 18px;
    line-height: 1.85;
    color: #3a3a3a;
    margin-bottom: 16px;
}

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

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 14px 32px;
    border-radius: 4px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #781c26;
    color: #fff;
    border-color: #781c26;
}

.btn-primary:hover {
    background-color: #5a141c;
    border-color: #5a141c;
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(120, 28, 38, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-light {
    background-color: #fff;
    color: #781c26;
    border-color: #fff;
}

.btn-light:hover {
    background-color: #fdf8f6;
    color: #5a141c;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn-outline-light {
    background-color: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #fff;
    color: #fff;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(253, 248, 246, 0.97);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(120, 28, 38, 0.08);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 24px rgba(120, 28, 38, 0.08);
}

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

/* ---------- Logo ---------- */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #781c26;
    text-decoration: none;
    flex-shrink: 0;
}

.logo:hover {
    color: #781c26;
}

.logo-icon {
    color: #781c26;
}

.logo-text {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-weight: 600;
    color: inherit;
    letter-spacing: -0.01em;
}

.logo-dot {
    color: #d4a0aa;
}

.logo-light .logo-text {
    color: #f5e6e8;
}

.logo-light .logo-icon {
    color: #f5e6e8;
}

/* ---------- Navigation ---------- */
.primary-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.primary-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #3a3a3a;
    letter-spacing: 0.02em;
    position: relative;
    padding: 4px 0;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background-color: #781c26;
    transition: width 0.3s ease;
}

.primary-nav a:hover {
    color: #781c26;
}

.primary-nav a:hover::after {
    width: 100%;
}

.btn-header {
    background-color: #781c26;
    color: #fff !important;
    border: 2px solid #781c26;
    padding: 10px 24px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.3s ease;
}

.btn-header::after {
    display: none;
}

.btn-header:hover {
    background-color: #5a141c;
    border-color: #5a141c;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(120, 28, 38, 0.25);
}

/* ---------- Nav Toggle ---------- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #781c26;
    position: relative;
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #781c26;
    transition: all 0.3s ease;
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
    background-color: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    top: 0;
    transform: rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1a0a0c;
    overflow: hidden;
    padding: 120px 24px 80px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 10, 12, 0.92) 0%,
        rgba(120, 28, 38, 0.85) 50%,
        rgba(26, 10, 12, 0.90) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #d4a0aa;
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Lora', serif;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-family: 'Lora', serif;
    font-size: clamp(16px, 2vw, 20px);
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.75;
    margin-bottom: 40px;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.hero-trust span {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.03em;
}

.trust-sep {
    color: rgba(212, 160, 170, 0.5) !important;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.4);
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    z-index: 1;
}

.hero-scroll svg {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}

/* ---------- About ---------- */
.about {
    padding: 100px 0;
    background-color: #fdf8f6;
}

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

.about-image-wrap {
    position: relative;
}

.about-image-main img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(120, 28, 38, 0.12);
}

.about-image-accent {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 55%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 16px 48px rgba(120, 28, 38, 0.15);
    border: 4px solid #fdf8f6;
}

.about-image-accent img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.about-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background-color: #781c26;
    color: #fff;
    padding: 16px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 8px 24px rgba(120, 28, 38, 0.3);
}

.badge-number {
    display: block;
    font-family: 'Lora', serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.badge-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.85;
}

.about-content {
    padding: 8px 0;
}

.about-values {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.value-icon {
    color: #781c26;
    flex-shrink: 0;
    margin-top: 2px;
}

.value-item strong {
    display: block;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 2px;
}

.value-item span {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ---------- Services ---------- */
.services {
    padding: 100px 0;
    background-color: #fff;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 56px;
}

.service-card {
    background-color: #fdf8f6;
    border-radius: 8px;
    padding: 36px 28px;
    transition: all 0.3s ease;
    border: 1px solid rgba(120, 28, 38, 0.06);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(120, 28, 38, 0.1);
    border-color: rgba(120, 28, 38, 0.12);
}

.service-icon {
    color: #781c26;
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Lora', serif;
    font-size: 20px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.service-card p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* ---------- Approach ---------- */
.approach {
    padding: 100px 0;
    background-color: #fdf8f6;
}

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

.approach-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 20px 60px rgba(120, 28, 38, 0.1);
}

.approach-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    color: #3a3a3a;
    line-height: 1.6;
}

.approach-check {
    color: #781c26;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(120, 28, 38, 0.08);
}

/* ---------- CTA Banner ---------- */
.cta-banner {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
}

.cta-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 10, 12, 0.88) 0%,
        rgba(120, 28, 38, 0.82) 100%
    );
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    color: #fff;
    margin-bottom: 20px;
}

.cta-text {
    font-family: 'Lora', serif;
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    margin-bottom: 36px;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---------- FAQ ---------- */
.faq {
    padding: 100px 0;
    background-color: #fff;
}

.faq-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 56px;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

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

.faq-item {
    border-bottom: 1px solid rgba(120, 28, 38, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    padding: 20px 0;
    cursor: pointer;
    text-align: left;
    font-family: 'Lora', serif;
    font-size: 17px;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.faq-question:hover {
    color: #781c26;
}

.faq-toggle {
    flex-shrink: 0;
    color: #781c26;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 0 20px;
    font-size: 15px;
    color: #555;
    line-height: 1.75;
}

.faq-answer p {
    padding-left: 2px;
}

.faq-answer a {
    color: #781c26;
    font-weight: 500;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ---------- Contact ---------- */
.contact {
    padding: 100px 0;
    background-color: #fdf8f6;
}

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

.contact-details {
    margin-top: 36px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.contact-icon {
    color: #781c26;
    flex-shrink: 0;
    margin-top: 2px;
    display: flex;
    align-items: center;
}

.contact-item strong {
    display: block;
    font-family: 'Lora', serif;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.contact-item p {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.contact-item a {
    color: #781c26;
    font-weight: 500;
}

.contact-map {
    margin-top: 32px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(120, 28, 38, 0.08);
}

/* ---------- Contact Form ---------- */
.form-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(120, 28, 38, 0.08);
    border: 1px solid rgba(120, 28, 38, 0.06);
}

.form-title {
    font-family: 'Lora', serif;
    font-size: 24px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-note {
    font-size: 14px;
    color: #777;
    margin-bottom: 28px;
    line-height: 1.6;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #3a3a3a;
    letter-spacing: 0.03em;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    color: #1a1a1a;
    background-color: #fdf8f6;
    border: 1.5px solid rgba(120, 28, 38, 0.15);
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #781c26;
    box-shadow: 0 0 0 3px rgba(120, 28, 38, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #aaa;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    color: #781c26;
    margin: 0 auto 16px;
}

.form-success h4 {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 15px;
    color: #555;
    line-height: 1.7;
}

/* ---------- Footer ---------- */
.site-footer {
    background-color: #1a0a0c;
    color: rgba(255, 255, 255, 0.7);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #d4a0aa;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f5e6e8;
}

.footer-contact address {
    font-style: normal;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.footer-phone a {
    color: #d4a0aa;
    font-weight: 500;
}

.footer-phone a:hover {
    color: #f5e6e8;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.25);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .about-grid,
    .approach-grid,
    .contact-grid {
        gap: 40px;
    }

    .about-image-accent {
        right: -20px;
        bottom: -20px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background-color: #fdf8f6;
        padding: 100px 32px 40px;
        transition: right 0.3s ease;
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .primary-nav.open {
        right: 0;
    }

    .primary-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .primary-nav a {
        font-size: 16px;
    }

    .btn-header {
        margin-top: 8px;
    }

    .hero {
        padding: 100px 20px 60px;
    }

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

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .about-image-wrap {
        order: -1;
    }

    .about-image-main img {
        height: 360px;
    }

    .about-image-accent {
        display: none;
    }

    .about-badge {
        top: 16px;
        left: 16px;
    }

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

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-card {
        padding: 28px 20px;
    }

    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 4px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 26px;
    }
}

/* ---------- Reduced Motion ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .hero-scroll svg {
        animation: none;
    }
}
