:root {
    --color-primary: #34633f;
    --color-primary-dark: #1e4d28;
    --color-primary-light: #4b7d4b;
    --color-accent: #8fc48f;
    --color-bg: #f4f7f4;
    --color-text: #2c2c2c;
    --color-text-light: #555;
    --font-base: 'Helvetica Neue', Arial, sans-serif;
    --shadow: 0 2px 16px rgba(0,0,0,0.10);
}

*, *::before, *::after { box-sizing: border-box; }
html { font-size: 16px; }
html, body { height: 100%; }

body {
    margin: 0; padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }

/* =====================
   HEADER
   ===================== */
.site-header {
    background: linear-gradient(135deg, #1e4d28 0%, #34633f 60%, #4b7d4b 100%);
    padding: 0;
    width: 100%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.18);
    position: relative;
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    gap: 1rem;
}

.header-center {
    flex: 1;
    text-align: center;
}
.brand-title {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.01em;
    line-height: 1.2;
}
.brand-tagline {
    display: block;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.80);
    margin-top: 3px;
    letter-spacing: 0.03em;
}
.header-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}
.header-phone {
    color: #fff;
    font-weight: 700;
    font-size: 1em;
    letter-spacing: 0.01em;
    white-space: nowrap;
}
.header-phone:hover { color: #c8e6c8; }
.header-book-btn {
    display: inline-block;
    background: #fff;
    color: var(--color-primary-dark);
    font-weight: 800;
    font-size: 0.92em;
    padding: 8px 20px;
    border-radius: 30px;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.header-book-btn:hover {
    background: #c8e6c8;
    color: #1e4d28;
}

/* =====================
   MAIN CONTAINER
   ===================== */
.container {
    display: flex;
    gap: 0;
    max-width: 1200px;
    width: 98%;
    margin: 32px auto 0 auto;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 26px 18px 32px 18px;
    min-height: 480px;
    flex: 1;
}

/* =====================
   SIDEBAR
   ===================== */
.left {
    width: 280px;
    background-color: #f5faf2;
    padding: 28px 18px;
    border-radius: 12px 0 0 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-right: 1px solid #e0ece0;
    font-size: 1rem;
    flex-shrink: 0;
}
.sidebar-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
.sidebar-logo img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 3px 12px rgba(0,0,0,0.12);
    padding: 4px;
}
.sidebar-menu {
    list-style: none;
    padding: 0;
    width: 100%;
    margin-bottom: 20px;
}
.sidebar-menu li { margin-bottom: 4px; }
.sidebar-menu a {
    display: block;
    padding: 9px 12px;
    border-radius: 8px;
    color: var(--color-primary-dark);
    font-weight: 500;
    font-size: 1em;
    transition: background 0.18s, color 0.18s;
    border-left: 3px solid transparent;
}
.sidebar-menu a:hover {
    background: #e0ece0;
    color: var(--color-primary);
    border-left-color: var(--color-accent);
}
.sidebar-menu a.active {
    background: #d4ead4;
    color: var(--color-primary-dark);
    font-weight: 700;
    border-left-color: var(--color-primary);
}
.sidebar-contact {
    margin-top: 20px;
    text-align: center;
    width: 100%;
}
.sidebar-contact img {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: contain;
}
.sidebar-address {
    font-size: 0.95em;
    color: var(--color-primary-dark);
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.5;
}
.sidebar-hours {
    font-size: 0.92em;
    color: #44684e;
    margin-bottom: 16px;
    text-align: center;
}

/* Driving Directions Button — distinctive style */
.driving-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 8px auto 0 auto;
    padding: 11px 16px;
    font-weight: 700;
    font-size: 0.97em;
    border-radius: 10px;
    background: linear-gradient(135deg, #2471a3, #1a5276);
    color: #fff;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 3px 10px rgba(36,113,163,0.25);
    width: 100%;
    text-align: center;
    letter-spacing: 0.01em;
}
.driving-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}
.car-emoji { font-size: 1.1em; }

/* =====================
   MAIN CONTENT
   ===================== */
main {
    flex: 1;
    padding: 16px 28px;
    min-width: 0;
}

/* =====================
   FOOTER
   ===================== */
.site-footer {
    background: linear-gradient(135deg, #1e4d28 0%, #34633f 100%);
    color: #fff;
    margin-top: 32px;
    width: 100%;
}
.footer-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 2rem 2rem;
}
.footer-col h4 {
    font-size: 1em;
    font-weight: 700;
    color: #a8d8a8;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.footer-col p {
    margin: 0 0 8px 0;
    font-size: 0.92em;
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}
.footer-col a {
    color: rgba(255,255,255,0.85);
    transition: color 0.2s;
}
.footer-col a:hover { color: #fff; }
.footer-logo {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #fff;
    padding: 4px;
    margin-bottom: 12px;
    display: block;
    object-fit: contain;
}
.footer-clinic-name {
    font-weight: 700;
    font-size: 1em !important;
    color: #fff !important;
    margin-bottom: 10px !important;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li { margin-bottom: 7px; }
.footer-links a {
    font-size: 0.92em;
    color: rgba(255,255,255,0.80);
}
.footer-links a:hover { color: #fff; }
.footer-reviews {
    display: inline-block;
    margin-top: 10px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.9em;
    color: #fff !important;
    font-weight: 600;
}
.footer-reviews:hover {
    background: rgba(255,255,255,0.20);
}
.footer-directions {
    display: inline-block;
    margin-top: 10px;
    background: linear-gradient(135deg, #2471a3, #1a5276);
    color: #fff !important;
    border-radius: 8px;
    padding: 8px 16px;
    font-weight: 700;
    font-size: 0.9em;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.footer-bottom {
    text-align: center;
    padding: 12px 1rem;
    font-size: 0.83em;
    color: rgba(255,255,255,0.65);
    border-top: 1px solid rgba(255,255,255,0.15);
    max-width: 1200px;
    margin: 0 auto;
}
.footer-bottom a {
    color: #a8d8a8;
    font-weight: 600;
}
.footer-bottom a:hover { color: #fff; }

/* Legacy credit class — hidden, footer-bottom handles it */
.credit { display: none; }

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 900px) {
    .header-inner { padding: 12px 16px; }
    .brand-title { font-size: 1.3rem; }
    .brand-tagline { display: none; }
    .header-cta { gap: 6px; }
    .header-book-btn { padding: 6px 14px; font-size: 0.85em; }
    .container {
        flex-direction: column;
        max-width: 99vw;
        padding: 0 4px 30px 4px;
    }
    .left {
        width: 100%;
        flex-direction: column;
        align-items: center;
        border-radius: 14px 14px 0 0;
        padding: 18px 8px;
        border-right: none;
        border-bottom: 1px solid #e0ece0;
        max-width: 500px;
        margin: 0 auto;
    }
    .sidebar-logo img { width: 90px; height: 90px; }
    main { padding: 16px 10px; }
    .footer-inner { padding: 2rem 1rem 1.5rem; gap: 1.5rem; }
}
@media (max-width: 600px) {
    .brand-title { font-size: 1.1rem; }
    .header-phone { font-size: 0.85em; }
    .sidebar-logo img { width: 70px; height: 70px; }
    .container { padding: 0 0 18px 0; }
    .left { padding: 12px 5px; }
    main { padding: 8px 6px; }
    .footer-inner { grid-template-columns: 1fr; }
}

.contact-hero {
    width: 100%;
    height: 280px;
    background: url('/images/contact.png') no-repeat center;
    background-size: cover;
    border-radius: 14px;
    margin-bottom: 30px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 8px;
    background: var(--color-primary);
    color: #fff;
    font-weight: 600;
    font-size: 0.95em;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn:hover { background: var(--color-primary-dark); }
