:root {
    --brand-primary: #1f5f5b;
    --brand-primary-dark: #144340;
    --brand-secondary: #2c7a74;
    --brand-accent: #c89b54;
    --brand-ivory: #faf8f5;
    --brand-sage: #eef5f3;
    --brand-ink: #172b2a;
    --brand-muted: #526765;
    --radius-card: 1rem;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--brand-ink);
    background-color: #ffffff;
    line-height: 1.6;
}

h1, h2, h3, h4, .font-serif {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
    outline: 3px solid var(--brand-accent) !important;
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--brand-primary-dark);
    color: #fff;
    padding: 0.75rem 1.25rem;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
    border-radius: 0.5rem;
}

.top-bar {
    background-color: var(--brand-primary-dark);
    color: #d8ece9;
    font-size: 0.875rem;
}
.top-bar a {
    color: #ffffff;
    text-decoration: none;
}
.top-bar a:hover {
    color: #f3d7a4;
}

.site-navbar {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 18px rgba(20, 67, 64, 0.06);
}
.site-navbar .nav-link {
    color: var(--brand-ink);
    font-weight: 500;
    padding: 0.65rem 0.9rem;
    border-radius: 0.5rem;
    transition: color 0.2s, background-color 0.2s;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: var(--brand-primary);
    background-color: var(--brand-sage);
}

.btn-brand {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    color: #fff;
    font-weight: 600;
    border-radius: 0.6rem;
    padding: 0.65rem 1.4rem;
}
.btn-brand:hover {
    background-color: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
    color: #fff;
}

.btn-accent {
    background-color: var(--brand-accent);
    border-color: var(--brand-accent);
    color: #162524;
    font-weight: 600;
    border-radius: 0.6rem;
    padding: 0.65rem 1.4rem;
}
.btn-accent:hover {
    background-color: #b4863f;
    border-color: #b4863f;
    color: #fff;
}

.btn-outline-brand {
    border: 1.5px solid var(--brand-primary);
    color: var(--brand-primary);
    font-weight: 600;
    border-radius: 0.6rem;
    padding: 0.65rem 1.4rem;
}
.btn-outline-brand:hover {
    background-color: var(--brand-primary);
    color: #fff;
}

.section-eyebrow {
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--brand-secondary);
    background: var(--brand-sage);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
}

.bg-ivory { background-color: var(--brand-ivory); }
.bg-sage { background-color: var(--brand-sage); }
.bg-brand-dark { background-color: var(--brand-primary-dark); }
.text-brand { color: var(--brand-primary); }
.text-muted-clinical { color: var(--brand-muted); }

/* ---- Hero banner (layout modelled on arjonline.org: light banner, pills, left text, art on the right) ---- */
.hero-section {
    background: linear-gradient(180deg, #ffffff 0%, var(--brand-ivory) 100%);
    color: var(--brand-ink);
    position: relative;
    overflow: hidden;
}
/* Full-length banner: edge-to-edge image, text overlaid on the left */
.hero-full-stack {
    position: relative;
    display: grid;
    width: 100%;
    min-height: clamp(440px, 39vw, 680px);
}
.hero-full-picture {
    grid-area: 1 / 1;
    display: block;
    position: relative;
}
.hero-full-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}
.hero-full-overlay {
    grid-area: 1 / 1;
    position: relative;
    z-index: 2;
    align-self: center;
    padding: 2.5rem 0;
}
.hero-trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-bottom: 1.75rem;
}
.hero-trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.85rem;
    border: 1px solid #d5e1df;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--brand-primary-dark);
    line-height: 1.2;
    box-shadow: 0 1px 2px rgba(20, 67, 64, 0.05);
}
.hero-trust-pill i {
    color: var(--brand-primary);
}
.hero-trust-pill--accent i {
    color: var(--brand-accent);
}
.hero-title {
    font-size: clamp(1.85rem, 3.4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--brand-primary-dark);
    margin-bottom: 1rem;
}
.hero-title .highlight {
    color: var(--brand-accent);
}
.hero-subtitle {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-secondary);
    margin-bottom: 0.75rem;
}
.hero-desc {
    font-size: clamp(0.95rem, 1.2vw, 1.05rem);
    line-height: 1.6;
    color: #475569;
    margin-bottom: 1.5rem;
}
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(200, 155, 84, 0.35);
}
.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    background: transparent;
    color: var(--brand-primary-dark);
    border: 2px solid rgba(20, 67, 64, 0.35);
}
.btn-hero-secondary:hover {
    background: rgba(20, 67, 64, 0.06);
    color: var(--brand-primary-dark);
    border-color: var(--brand-primary-dark);
}
/* Desktop: the photo fills the whole banner, text sits on a dark teal fade over its left side */
@media (min-width: 992px) {
    .hero-full-stack {
        min-height: clamp(480px, 42vw, 680px);
    }
    .hero-full-img {
        object-position: center;
    }
    .hero-full-picture::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg,
            rgba(12, 44, 42, 0.92) 0%,
            rgba(12, 44, 42, 0.82) 32%,
            rgba(12, 44, 42, 0.45) 55%,
            rgba(12, 44, 42, 0.05) 80%,
            rgba(12, 44, 42, 0) 100%);
    }
    .hero-full-overlay .hero-title {
        color: #ffffff;
    }
    .hero-full-overlay .hero-title .highlight {
        color: #e8c37e;
    }
    .hero-full-overlay .hero-subtitle {
        color: #bfe0db;
    }
    .hero-full-overlay .hero-desc {
        color: #e3f0ee;
    }
    .hero-full-overlay .hero-trust-pill {
        background: rgba(255, 255, 255, 0.14);
        border-color: rgba(255, 255, 255, 0.35);
        color: #ffffff;
        backdrop-filter: blur(4px);
    }
    .hero-full-overlay .hero-trust-pill i {
        color: #e8c37e;
    }
    .hero-full-overlay .btn-hero-secondary {
        color: #ffffff;
        border-color: rgba(255, 255, 255, 0.85);
    }
    .hero-full-overlay .btn-hero-secondary:hover {
        background: rgba(255, 255, 255, 0.14);
        border-color: #ffffff;
        color: #ffffff;
    }
}

@media (max-width: 991.98px) {
    /* Mobile: text first, then the whole photo below it (nothing cropped). */
    .hero-full-stack {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }
    .hero-full-overlay {
        order: 1;
        padding: 1.5rem 0 1.25rem;
        background: var(--brand-ivory);
    }
    .hero-full-picture {
        order: 2;
        position: static;
    }
    .hero-full-img {
        position: static;
        height: auto;
        object-fit: contain;
    }
}
.carousel-indicators.hero-dots {
    position: static;
    margin: 0;
    padding-bottom: 1.5rem;
    gap: 0.5rem;
    justify-content: center;
}
.carousel-indicators.hero-dots [data-bs-target] {
    box-sizing: border-box;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    text-indent: 0;
    background-color: rgba(20, 67, 64, 0.25);
    opacity: 1;
}
.carousel-indicators.hero-dots [data-bs-target].active {
    background-color: var(--brand-primary);
}

.page-hero {
    background: linear-gradient(135deg, #144340 0%, #246a64 100%);
    color: #ffffff;
    padding: 4rem 0 3.5rem;
}
.page-hero .breadcrumb-item,
.page-hero .breadcrumb-item a {
    color: #cce3df;
    text-decoration: none;
}
.page-hero .breadcrumb-item.active {
    color: #ffffff;
}

.clinical-card {
    border: 1px solid rgba(31, 95, 91, 0.1);
    border-radius: var(--radius-card);
    background: #fff;
    box-shadow: 0 6px 24px rgba(20, 67, 64, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}
.clinical-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 32px rgba(20, 67, 64, 0.1);
}

.service-icon-badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--brand-sage);
    color: var(--brand-primary);
    font-size: 1.4rem;
}

.process-step-card {
    position: relative;
    border-radius: var(--radius-card);
    background: #ffffff;
    border: 1px solid rgba(31, 95, 91, 0.1);
    padding: 2rem 1.5rem;
    height: 100%;
}
.process-number {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-primary);
    color: #fff;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.testimonial-card {
    background: #ffffff;
    border-radius: var(--radius-card);
    border: 1px solid rgba(31, 95, 91, 0.1);
    padding: 1.75rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Google reviews */
.google-rating-number {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--brand, #1f5f5b);
}

.google-review-track {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0.25rem 0.25rem 0.75rem;
    scrollbar-width: thin;
}

.google-review-card {
    flex: 0 0 calc((100% - 1rem) / 2);
    scroll-snap-align: start;
    background: #fff;
    border: 1px solid rgba(31, 95, 91, 0.1);
    border-radius: var(--radius-card);
    box-shadow: 0 2px 10px rgba(16, 46, 44, 0.06);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

@media (min-width: 1200px) {
    .google-review-card { flex-basis: calc((100% - 2rem) / 3); }
}

@media (max-width: 767.98px) {
    .google-review-card { flex-basis: 88%; }
}

.google-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand, #1f5f5b);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.google-review-text {
    color: #3b4b4a;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.google-review-text.expanded {
    -webkit-line-clamp: unset;
    display: block;
}

.site-footer {
    background-color: #102e2c;
    color: #cde0dd;
}
.site-footer h5 {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    margin-bottom: 1.1rem;
}
.site-footer a {
    color: #cde0dd;
    text-decoration: none;
}
.site-footer a:hover {
    color: #e8c37e;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1040;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #1f8a5b;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.55rem;
    box-shadow: 0 10px 25px rgba(16, 46, 44, 0.25);
    text-decoration: none;
}
.whatsapp-float:hover {
    background: #176f48;
    color: #fff;
}

.prose-content h2, .prose-content h3, .prose-content h4 {
    color: var(--brand-primary-dark);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}
.prose-content ul, .prose-content ol {
    padding-left: 1.25rem;
}
.prose-content li {
    margin-bottom: 0.45rem;
}
