html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    margin: 0;
    line-height: 1.7;
    background: #f7f5ef;
    color: #2f2f2b;
    overflow-x: hidden;
}

/* OVERALL LAYOUT */
.site-layout {
    display: flex;
    min-height: 100vh;
}

/* SIDEBAR */
.sidebar {
    width: 290px;
    min-width: 290px;
    background: #5e6654;
    color: white;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    scrollbar-width: thin;
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    padding-bottom: 2rem;
}

.logo {
    width: 170px;
    height: auto;
    background: #ffffff;
    padding: 6px;
    border-radius: 8px;
    display: block;
}

.sidebar h1 {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.2;
    color: #ffffff;
}

.tagline {
    margin: 0.35rem 0 1rem 0;
    font-size: 1rem;
    color: #eef1e8;
}

nav {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.75rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.98rem;
    padding: 0.7rem 0.9rem;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    text-decoration: none;
}

nav a.active {
    background: rgba(255, 255, 255, 0.18);
}

/* RIGHT-HAND PAGE AREA */
.page-content {
    flex: 1;
    min-width: 0;
    background: #f7f5ef;
    display: flex;
    flex-direction: column;
}

/* THIS CENTRES THE WRITING PROPERLY */
.main-content {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 2.5rem 2rem 1.5rem 2rem;
    box-sizing: border-box;
}

/* CONTENT SECTIONS */
section {
    background: #fffdf9;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: 14px;
    border: 1px solid #e7dfcf;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

/* HERO */
.hero {
    background: linear-gradient(to bottom, #f8f6f0, #fffdf9);
    padding: 3rem 2rem;
    border: 1px solid #e4dccb;
}

.hero h2 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 2.4rem;
    color: #3d4338;
    line-height: 1.2;
}

.hero h3 {
    margin-top: 0;
    margin-bottom: 1.2rem;
    color: #6f755f;
    font-size: 1.2rem;
    font-weight: 400;
}

/* HEADINGS */
h2 {
    margin-top: 0;
    color: #4a5142;
    font-size: 1.7rem;
}

h3 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    color: #5d6452;
}

/* TEXT */
p {
    max-width: 760px;
}

ul,
ol {
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* BUTTONS */
.hero-buttons {
    margin-top: 1.25rem;
}

.button {
    display: inline-block;
    background: #7b8063;
    color: white;
    padding: 0.9rem 1.45rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    margin-right: 0.75rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
    transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
    background: #686d54;
    transform: translateY(-1px);
}

section a {
    color: #6a7057;
}

section a:hover {
    text-decoration: none;
    color: #565c47;
}

/* REVIEWS */
.review-strip {
    margin: 1.25rem 0 0.5rem 0;
}

.reviews-section {
    overflow: hidden;
}

.reviews-section h2 {
    margin-bottom: 1rem;
}

/* REASSURANCE BAND */
.reassurance-band {
    background: #f6f2e8;
    border: 1px solid #e4dccb;
}

.reassurance-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.reassurance-item {
    background: #fffdf9;
    border: 1px solid #e7dfcf;
    border-radius: 12px;
    padding: 1.25rem;
}

.reassurance-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    color: #5d6452;
    font-size: 1.1rem;
}

.reassurance-item p {
    margin: 0;
    max-width: none;
}

/* SERVICES */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.service-box {
    background: #fbf8f1;
    border: 1px solid #e5ddcc;
    border-radius: 12px;
    padding: 1.5rem;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: #d8ceb8;
}

/* FAQ */
.faq-item {
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

/* CONTACT PAGE */
.appointment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 1rem;
}

.appointment-card {
    background: #fbf8f1;
    border: 1px solid #e5ddcc;
    border-radius: 12px;
    padding: 1.5rem;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.appointment-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    border-color: #d8ceb8;
}

.appointment-card h3 {
    margin-top: 0;
}

.appointment-card p {
    margin-bottom: 0;
    max-width: none;
}

.location-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;
}

.location-text p,
.location-text ul {
    max-width: none;
}

.location-map iframe {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: #f3f3f3;
}

.location-section h2 {
    margin-bottom: 1rem;
}

/* FOOTER */
footer {
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 0 2rem 2rem 2rem;
    box-sizing: border-box;
}

footer p {
    margin: 0;
    color: #6a7057;
    font-size: 0.95rem;
}

/* TABLET / SMALL DESKTOP */
@media (max-width: 1100px) {
    .sidebar {
        width: 250px;
        min-width: 250px;
    }

    .logo {
        width: 145px;
    }

    .main-content {
        padding: 2rem 1.5rem 1.5rem 1.5rem;
    }
}

/* MOBILE / SMALL TABLET */
@media (max-width: 900px) {
    .site-layout {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
        min-width: 0;
        padding: 1.5rem;
        position: static;
        height: auto;
        overflow-y: visible;
    }

    nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    nav a {
        padding: 0.6rem 0.8rem;
    }

    .main-content {
        max-width: 980px;
        margin: 0 auto;
        padding: 1.5rem;
    }

    .services-grid,
    .reassurance-grid,
    .appointment-grid,
    .location-grid {
        grid-template-columns: 1fr;
    }

    footer {
        max-width: 980px;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }
}

/* PHONE */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1.5rem;
    }

    .hero h2 {
        font-size: 1.9rem;
    }

    h2 {
        font-size: 1.45rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    section {
        padding: 1.5rem;
    }

    .button {
        margin-right: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .logo {
        width: 125px;
    }
}