:root {
    --primary-color: #607c7a; /* Dark Slate Gray / Deep Sage */
    --secondary-color: #8FBC8F; /* Dark Sea Green */
    --subtitle-color: #8fadbc; /* Dark Sea Green */
    --accent-color: #DEB887; /* Burlywood / Warm Sand */
    --bg-color: #f8f2eb; /* Warm off-white */
    --text-color: #2C3E50;
    --light-text: #606F7B;
    --white: #ffffff;
    --mist: #F4F6F4;
    --title-color: hsl(153, 13%, 67%);
    --title-accent:#b29e8b;
    --sand: #F0EAD6; /* Eggshell/Sand */
    --container-width: 1100px;
    --header-height: 70px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--bg-color);
    overflow-x: hidden;
}

h1, h2, h3, .logo a {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header & Navigation */
header {
    height: var(--header-height);
    background: var(--white);
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(47, 79, 79, 0.08); /* Softer, thematic shadow */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 1.8rem;
    text-decoration: none;
    color: var(--primary-color);
}

.logo span {
    color: #89a8a5;
    font-weight: 400;
}

.logo-img {
    height: auto;
    max-height: 60px; /* Fits comfortably within the 80px header */
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links a.btn-primary {
    color: var(--white);
}

.nav-links a.btn-primary:hover {
    color: var(--white);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #143a53;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

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

.btn-outline {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.full-width {
    width: 100%;
    text-align: center;
    margin-bottom: 1rem;
}

.hero {
    height: 50vh;
    /* Updated to a warm, coastal/foliage Unsplash image */
    background: url('assets/rayna1.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin-top: -60px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.hero h1 span {
    font-style: italic;
    color: var(--title-accent);
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Sections */
section {
    padding: 6rem 0;
}

.section-subtitle {
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--subtitle-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

/* About */
.about {
    background: var(--white);
    padding-top: 2rem;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: flex-start;
}

.about-image {
    margin-top: 5.5rem;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 0 var(--sand);
}

/* Specialties */
.specialties {
    background: var(--mint);
    text-align: center;
    padding: 3rem 0;
}

.specialties-layout {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    align-items: stretch;
}

.specialties-image {
    width: calc(50% - 2rem);
    display: flex;
}

.specialties-image img {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    box-shadow: -20px 20px 0 var(--sand);
    object-fit: cover;
    display: block;
}

.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.specialty-grid.vertical {
    width: calc(50% - 2rem);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.specialty-card {
    background: var(--white);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    text-align: left;
    border-top: 5px solid var(--subtitle-color);
    box-shadow: 0 10px 30px rgba(47, 79, 79, 0.05); /* Soft, natural shadow */
}

.specialty-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(47, 79, 79, 0.1);
}

.specialty-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
    color: var(--primary-color);
}

.specialty-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* Fees & Insurance */
.fees-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 4rem;
    align-items: flex-start;
}

.insurance-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    list-style: none;
    margin: 2rem 0;
    gap: 1rem;
}

.insurance-list li {
    padding: 1rem;
    background: var(--white);
    border: 1px solid var(--mist);
    border-radius: 8px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.rate-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #eee;
}

.rate-item .price {
    font-weight: 700;
    color: var(--primary-color);
}

.cta-box {
    background: var(--primary-color);
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
}

.cta-box h3 {
    color: var(--sand);
    margin-bottom: 1rem;
}

.cta-box .btn-primary {
    background: #cab8a7;
    color: var(--white); /* Ensures text readability */
}

.cta-box .btn-outline {
    border-color: var(--white);
    color: var(--white);
}

.cta-box .btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* FAQ */
.faq {
    background: var(--white);
    padding-top: 10px;
    padding-bottom: 0;
}

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

.faq-item {
    border-bottom: 1px solid #eee;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--primary-color);
}

.faq-answer {
    padding-bottom: 1.5rem;
    display: none;
}

.faq-answer.active {
    display: block;
}

/* Contact */
.contact {
    padding-top: 10px; /* Pulls it right up next to the FAQ section */
    padding-bottom: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-methods a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: none;
}

.contact-form-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 1rem 1rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    margin-bottom: 1px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    color: var(--sand);
}

.footer-links ul {
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: inline-block;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 968px) {
    .about-grid, .fees-grid, .contact-grid, .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-image {
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .specialties-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .specialties-image,
    .specialty-grid.vertical {
        width: 100%;
    }

    .specialty-grid.vertical {
        height: auto;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .nav-links {
        display: none;
    }

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

/* Legal Section */
.legal {
    max-width: 1040px;
    padding: 2rem;
    background: #cab8a7;
    border-radius: 8px;
    margin-bottom: 3rem;
    margin-top: 10px;
}

.legal-box {
    max-width: 800px;
    margin: 0 auto;
}

.legal-box h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.3rem;
}

.legal-box p {
    font-size: 0.85rem;
    margin-bottom: 0.6rem;
    color: var(--light-text);
    line-height: 1.5;
}

.legal-box a {
    color: var(--primary-color);
    font-weight: 600;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

@media (max-width: 968px) {
    .menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--white);
        padding: 2rem 0;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 1.5rem;
        border-top: 1px solid #f0f0f0;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }
}
