/* =========================================================
   The Clubfoot Doula - Main Site Stylesheet
   File: /assets/templates/doula1/css/style.css
   Notes:
   - Bootstrap 5 assumed
   - Homepage has no sidebar
   - Inner pages may use sidebar layout
   - Keep sections categorized so future edits are easy to find
   ========================================================= */


/* =========================================================
   1. ROOT / THEME TOKENS
   ========================================================= */

:root {
    --doula-bg: #fcfaf7;
    --doula-surface: #ffffff;
    --doula-surface-soft: #f7f2ec;
    --doula-surface-warm: #f4ede6;
    --doula-border: #e7ddd2;
    --doula-border-strong: #d8c8b6;

    --doula-text: #2f2a26;
    --doula-text-soft: #5f564f;
    --doula-text-muted: #7a7068;
    --doula-heading: #231f1b;

    --doula-primary: #7c8f7a;
    --doula-primary-dark: #657663;
    --doula-primary-soft: #dfe8de;

    --doula-accent: #c58f73;
    --doula-accent-soft: #f3dfd3;
    --doula-blush: #f7ebe6;

    --doula-shadow-sm: 0 8px 24px rgba(58, 43, 32, 0.06);
    --doula-shadow-md: 0 16px 42px rgba(58, 43, 32, 0.09);
    --doula-shadow-lg: 0 28px 60px rgba(58, 43, 32, 0.12);

    --doula-radius-sm: 0.75rem;
    --doula-radius-md: 1.15rem;
    --doula-radius-lg: 1.75rem;
    --doula-radius-xl: 2.5rem;

    --doula-transition: 0.25s ease;
    --doula-max-text: 760px;
}


/* =========================================================
   2. BASE / GLOBAL ELEMENTS
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--doula-bg);
    color: var(--doula-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--doula-primary-dark);
    text-decoration: none;
    transition: color var(--doula-transition), opacity var(--doula-transition), border-color var(--doula-transition);
}

a:hover,
a:focus {
    color: var(--doula-accent);
    text-decoration: none;
}

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

strong,
b {
    color: var(--doula-heading);
}

hr {
    border-color: var(--doula-border);
    opacity: 1;
}

::selection {
    background: var(--doula-accent-soft);
    color: var(--doula-heading);
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--doula-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1,
.h1 {
    font-size: clamp(2.4rem, 5vw, 4.35rem);
}

h2,
.h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

h3,
.h3 {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

h4,
.h4 {
    font-size: clamp(1.2rem, 1.5vw, 1.45rem);
}

p,
li {
    color: var(--doula-text-soft);
}

.lead {
    color: var(--doula-text-soft);
}

.text-muted {
    color: var(--doula-text-muted) !important;
}

.doula-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--doula-accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doula-section-intro > p,
.doula-primary-cta-panel p,
.doula-intro-card p,
.doula-closing p {
    max-width: var(--doula-max-text);
}


/* =========================================================
   4. BOOTSTRAP OVERRIDES / COMMON UTILITIES
   ========================================================= */

.bg-light-subtle {
    background-color: var(--doula-surface-soft) !important;
}

.rounded-4 {
    border-radius: var(--doula-radius-lg) !important;
}

.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
    .pt-lg-6 {
        padding-top: 5rem !important;
    }

    .pb-lg-6 {
        padding-bottom: 5rem !important;
    }
}

.doula-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--doula-primary-dark);
    border-bottom: 1px solid transparent;
    padding-bottom: 0.1rem;
}

.doula-text-link:hover,
.doula-text-link:focus {
    color: var(--doula-accent);
    border-color: currentColor;
}

.max-text {
    max-width: var(--doula-max-text);
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.88rem 1.35rem;
    box-shadow: none;
    transition: transform var(--doula-transition), box-shadow var(--doula-transition), background-color var(--doula-transition), color var(--doula-transition), border-color var(--doula-transition);
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--doula-primary);
    border-color: var(--doula-primary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--doula-primary-dark) !important;
    border-color: var(--doula-primary-dark) !important;
    color: #fff !important;
    box-shadow: var(--doula-shadow-sm);
}

.btn-outline-primary {
    color: var(--doula-primary-dark);
    border-color: var(--doula-border-strong);
    background: rgba(255, 255, 255, 0.75);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: var(--doula-heading) !important;
    border-color: var(--doula-accent) !important;
    background: var(--doula-accent-soft) !important;
    box-shadow: var(--doula-shadow-sm);
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}


/* =========================================================
   6. GLOBAL SECTION / CARD PATTERNS
   ========================================================= */

.doula-home section {
    position: relative;
}

.doula-home .container {
    position: relative;
    z-index: 2;
}

.doula-intro-card,
.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-soft-cta-box,
.doula-primary-cta-panel,
.doula-sidebar-card,
.doula-content-card {
    background: var(--doula-surface);
    border: 1px solid rgba(216, 200, 182, 0.72);
    box-shadow: var(--doula-shadow-sm);
}

.doula-intro-card,
.doula-soft-cta-box,
.doula-primary-cta-panel {
    border-radius: var(--doula-radius-xl);
}

.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-sidebar-card,
.doula-content-card {
    border-radius: var(--doula-radius-lg);
}

.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-sidebar-card,
.doula-content-card {
    padding: 1.5rem;
}

.doula-intro-card {
    padding: 2rem 1.5rem;
}

.doula-soft-cta-box,
.doula-primary-cta-panel {
    padding: 2rem;
}

@media (min-width: 992px) {
    .doula-intro-card {
        padding: 2.5rem 3rem;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel {
        padding: 2.75rem 3rem;
    }
}

.doula-feature-card h3,
.doula-icon-card h3,
.doula-link-card h3 {
    margin-bottom: 0.65rem;
}

.doula-feature-card p:last-child,
.doula-icon-card p:last-child,
.doula-link-card p:last-child,
.doula-intro-card p:last-child,
.doula-primary-cta-panel p:last-child,
.doula-soft-cta-box p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   7. SITE HEADER / MAIN NAVIGATION
   ========================================================= */

.site-header,
.doula-site-header {
    position: relative;
    z-index: 100;
    background: rgba(252, 250, 247, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(216, 200, 182, 0.45);
}

.navbar,
.doula-navbar {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.navbar-brand,
.doula-brand {
    color: var(--doula-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.navbar-brand:hover,
.navbar-brand:focus,
.doula-brand:hover,
.doula-brand:focus {
    color: var(--doula-accent);
}

.navbar-nav .nav-link {
    color: var(--doula-heading);
    font-weight: 600;
    padding: 0.7rem 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--doula-accent);
}

.dropdown-menu {
    border: 1px solid var(--doula-border);
    border-radius: 1rem;
    box-shadow: var(--doula-shadow-md);
    padding: 0.6rem;
}

.dropdown-item {
    border-radius: 0.75rem;
    color: var(--doula-heading);
    padding: 0.65rem 0.85rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: var(--doula-accent-soft);
    color: var(--doula-heading);
}

.navbar-toggler {
    border-color: var(--doula-border-strong);
    border-radius: 0.85rem;
    padding: 0.45rem 0.7rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(124, 143, 122, 0.22);
}


/* =========================================================
   8. HERO SECTION (HOMEPAGE)
   ========================================================= */

.doula-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(243, 223, 211, 0.72), transparent 38%),
        radial-gradient(circle at bottom right, rgba(223, 232, 222, 0.75), transparent 34%),
        linear-gradient(180deg, #fcfaf7 0%, #f7f2ec 100%);
}

.doula-hero::before {
    content: "";
    position: absolute;
    right: -4rem;
    top: 2rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(10px);
    z-index: 1;
}

.doula-hero-title {
    margin-bottom: 1rem;
}

.doula-hero-lead {
    max-width: 40rem;
    font-size: 1.08rem;
}

.doula-hero-actions {
    margin-top: 1.5rem;
}

.doula-hero-note {
    color: var(--doula-text-muted);
    font-size: 0.95rem;
}

.doula-hero-media {
    position: relative;
}

.doula-hero-media img {
    display: block;
    box-shadow: var(--doula-shadow-lg);
    object-fit: cover;
    min-height: 360px;
}


/* =========================================================
   9. HOMEPAGE TRUST / INTRO SECTION
   ========================================================= */

.doula-intro {
    background: var(--doula-bg);
}

.doula-intro-card {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fcf8f4 100%);
}

.doula-intro-card h2 {
    margin-bottom: 1rem;
}


/* =========================================================
   10. HOMEPAGE OVERVIEW / FEATURE SECTION
   ========================================================= */

.doula-overview {
    background: var(--doula-bg);
}

.doula-overview-media img {
    display: block;
    min-height: 320px;
    object-fit: cover;
    box-shadow: var(--doula-shadow-md);
}

.doula-feature-card {
    height: 100%;
    background: linear-gradient(180deg, #fff 0%, #fcf8f4 100%);
}

.doula-feature-card:hover,
.doula-feature-card:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--doula-shadow-md);
    transition: transform var(--doula-transition), box-shadow var(--doula-transition);
}


/* =========================================================
   11. HOMEPAGE "HOW SUPPORT HELPS" SECTION
   ========================================================= */

.doula-support-ways {
    background: var(--doula-surface-soft);
}

.doula-icon-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.88);
}

.doula-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--doula-primary-soft);
    color: var(--doula-primary-dark);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(124, 143, 122, 0.18);
}


/* =========================================================
   12. HOMEPAGE SOFT CTA BAND
   ========================================================= */

.doula-soft-cta {
    background: var(--doula-bg);
}

.doula-soft-cta-box {
    background: linear-gradient(135deg, #fff 0%, #f8f2eb 100%);
}

.doula-soft-cta-box h2 {
    margin-bottom: 0.5rem;
}


/* =========================================================
   13. HOMEPAGE RESOURCE / LINK CARDS
   ========================================================= */

.doula-resource-links {
    background: var(--doula-bg);
}

.doula-link-card {
    background: linear-gradient(180deg, #ffffff 0%, #fcf8f5 100%);
}

.doula-link-card:hover,
.doula-link-card:focus-within {
    box-shadow: var(--doula-shadow-md);
    transform: translateY(-2px);
    transition: transform var(--doula-transition), box-shadow var(--doula-transition);
}


/* =========================================================
   14. HOMEPAGE PRIMARY CTA PANEL
   ========================================================= */

.doula-primary-cta {
    background: var(--doula-bg);
}

.doula-primary-cta-panel {
    background:
        radial-gradient(circle at top center, rgba(243, 223, 211, 0.72), transparent 42%),
        linear-gradient(180deg, #fff 0%, #fcf7f1 100%);
}

.doula-primary-cta-panel p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   15. HOMEPAGE CLOSING SECTION
   ========================================================= */

.doula-closing {
    background: var(--doula-bg);
}

.doula-closing .col-xl-8 {
    max-width: 820px;
}


/* =========================================================
   16. INNER PAGE HERO / PAGE HEADER
   ========================================================= */

.doula-page-hero,
.page-hero {
    background: linear-gradient(180deg, #f9f4ee 0%, #fcfaf7 100%);
    border-bottom: 1px solid rgba(216, 200, 182, 0.45);
    padding: 3rem 0 2.25rem;
}

.doula-page-hero h1,
.page-hero h1 {
    margin-bottom: 0.85rem;
}

.doula-page-hero .lead,
.page-hero .lead {
    max-width: 780px;
    margin-bottom: 0;
}


/* =========================================================
   17. BREADCRUMBS
   ========================================================= */

.breadcrumb,
.doula-breadcrumbs {
    background: transparent;
    margin-bottom: 1rem;
    padding: 0;
    font-size: 0.95rem;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--doula-text-muted);
}

.breadcrumb-item.active {
    color: var(--doula-heading);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--doula-border-strong);
}


/* =========================================================
   18. CONTENT AREA / DEFAULT PAGE BODY
   ========================================================= */

.doula-main,
.site-main {
    padding: 3rem 0;
}

.doula-content,
.doula-entry,
.entry-content {
    color: var(--doula-text-soft);
}

.doula-content > *:last-child,
.doula-entry > *:last-child,
.entry-content > *:last-child {
    margin-bottom: 0;
}

.doula-content h2,
.doula-content h3,
.doula-content h4,
.doula-entry h2,
.doula-entry h3,
.doula-entry h4,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
}

.doula-content ul,
.doula-content ol,
.doula-entry ul,
.doula-entry ol,
.entry-content ul,
.entry-content ol {
    padding-left: 1.25rem;
}

.doula-content blockquote,
.doula-entry blockquote,
.entry-content blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.25rem 1.25rem 1.2rem;
    border-left: 4px solid var(--doula-accent);
    background: #fffaf6;
    border-radius: 0 var(--doula-radius-md) var(--doula-radius-md) 0;
    color: var(--doula-text);
}

.doula-content-card {
    background: #fff;
}


/* =========================================================
   19. SIDEBAR LAYOUT / SIDEBAR CARDS
   ========================================================= */

.doula-sidebar,
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.doula-sidebar-card h2,
.doula-sidebar-card h3,
.doula-sidebar-card h4 {
    margin-bottom: 0.8rem;
}

.doula-sidebar-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.doula-sidebar-card li + li {
    margin-top: 0.55rem;
}

.doula-sidebar-card a {
    color: var(--doula-heading);
    font-weight: 600;
}

.doula-sidebar-card a:hover,
.doula-sidebar-card a:focus,
.doula-sidebar-card .active > a {
    color: var(--doula-accent);
}

.doula-sidebar-cta {
    background: linear-gradient(180deg, #fff 0%, #fcf6f0 100%);
}


/* =========================================================
   20. FORMS / CONTACT / SUPPORT REQUEST
   ========================================================= */

form {
    color: var(--doula-text-soft);
}

label,
.form-label {
    color: var(--doula-heading);
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.form-control,
.form-select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"] {
    border: 1px solid var(--doula-border-strong);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: #fff;
    color: var(--doula-text);
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus {
    border-color: var(--doula-primary);
    box-shadow: 0 0 0 0.2rem rgba(124, 143, 122, 0.16);
}

textarea {
    min-height: 160px;
}

.form-text,
.help-block {
    color: var(--doula-text-muted);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #b85b5b;
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #6d8b6b;
}


/* =========================================================
   21. ACCORDIONS / FAQ / COLLAPSIBLES
   ========================================================= */

.accordion-item {
    background: #fff;
    border: 1px solid var(--doula-border);
    border-radius: var(--doula-radius-md) !important;
    overflow: hidden;
    box-shadow: var(--doula-shadow-sm);
}

.accordion-item + .accordion-item {
    margin-top: 0.9rem;
}

.accordion-button {
    color: var(--doula-heading);
    font-weight: 700;
    background: #fff;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--doula-heading);
    background: #fcf7f2;
}

.accordion-button:focus {
    border-color: var(--doula-border-strong);
    box-shadow: 0 0 0 0.2rem rgba(197, 143, 115, 0.12) !important;
}

.accordion-body {
    color: var(--doula-text-soft);
}


/* =========================================================
   22. TABLES / SIMPLE DATA PRESENTATION
   ========================================================= */

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--doula-text-soft);
    --bs-table-border-color: var(--doula-border);
}

.table thead th {
    color: var(--doula-heading);
    font-weight: 700;
    border-bottom-width: 1px;
}

.table > :not(caption) > * > * {
    padding: 0.9rem 0.75rem;
}


/* =========================================================
   23. ALERTS / NOTICES / CALLOUTS
   ========================================================= */

.alert {
    border: 1px solid var(--doula-border);
    border-radius: var(--doula-radius-md);
    box-shadow: var(--doula-shadow-sm);
}

.alert-primary {
    color: #425240;
    background: #edf3ec;
    border-color: #d3e1d2;
}

.alert-secondary {
    color: #5c5047;
    background: #f8f1eb;
    border-color: #ead9cc;
}

.alert-light {
    color: var(--doula-text-soft);
    background: #fff;
    border-color: var(--doula-border);
}


/* =========================================================
   24. FOOTER
   ========================================================= */

.site-footer,
.doula-site-footer {
    background: #f3ece4;
    border-top: 1px solid rgba(216, 200, 182, 0.6);
    padding: 2.5rem 0;
    color: var(--doula-text-soft);
}

.site-footer a,
.doula-site-footer a {
    color: var(--doula-heading);
}

.site-footer a:hover,
.site-footer a:focus,
.doula-site-footer a:hover,
.doula-site-footer a:focus {
    color: var(--doula-accent);
}

.doula-footer-small,
.site-footer small {
    color: var(--doula-text-muted);
}


/* =========================================================
   25. IMAGE TREATMENTS / MEDIA HELPERS
   ========================================================= */

.doula-image-soft,
.doula-media-soft img {
    border-radius: var(--doula-radius-lg);
    box-shadow: var(--doula-shadow-md);
}

.doula-image-frame {
    padding: 0.55rem;
    background: #fff;
    border: 1px solid var(--doula-border);
    border-radius: calc(var(--doula-radius-lg) + 0.3rem);
    box-shadow: var(--doula-shadow-sm);
}


/* =========================================================
   26. ACCESSIBILITY / FOCUS STATES / MOTION
   ========================================================= */

:focus-visible {
    outline: 2px solid rgba(197, 143, 115, 0.75);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   27. RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 991.98px) {
    .doula-hero {
        padding-top: 1.5rem;
    }

    .doula-hero-title {
        max-width: 14ch;
    }

    .doula-hero-media img,
    .doula-overview-media img {
        min-height: 260px;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel,
    .doula-intro-card {
        border-radius: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .doula-feature-card,
    .doula-icon-card,
    .doula-link-card,
    .doula-sidebar-card,
    .doula-content-card {
        padding: 1.25rem;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel,
    .doula-intro-card {
        padding: 1.5rem 1.25rem;
    }

    .doula-page-hero,
    .page-hero,
    .doula-main,
    .site-main {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .btn-lg {
        width: 100%;
    }

    .doula-hero-actions {
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .doula-eyebrow {
        letter-spacing: 0.1em;
        font-size: 0.78rem;
    }

    .doula-hero-note {
        font-size: 0.92rem;
    }

    .doula-icon-wrap {
        width: 2.65rem;
        height: 2.65rem;
    }
}


/* =========================================================
   28. OPTIONAL MODX / CONTENTBLOCKS / EDITOR OUTPUT HELPERS
   ========================================================= */

.cb-layout p:last-child,
.contentblocks p:last-child,
.redactor-box p:last-child {
    margin-bottom: 0;
}

.contentblocks img,
.redactor-box img {
    border-radius: var(--doula-radius-md);
}

.contentblocks .btn,
.redactor-box .btn {
    margin-top: 0.35rem;
}


/* =========================================================
   29. PLACEHOLDER HELPERS FOR FUTURE SITE EXPANSION
   ========================================================= */

.doula-card-grid {/* =========================================================
   The Clubfoot Doula - Main Site Stylesheet
   File: /assets/templates/doula1/css/style.css
   Notes:
   - Bootstrap 5 assumed
   - Homepage has no sidebar
   - Inner pages may use sidebar layout
   - Keep sections categorized so future edits are easy to find
   ========================================================= */


/* =========================================================
   1. ROOT / THEME TOKENS
   ========================================================= */

:root {
    --doula-bg: #fcfaf7;
    --doula-surface: #ffffff;
    --doula-surface-soft: #f7f2ec;
    --doula-surface-warm: #f4ede6;
    --doula-border: #e7ddd2;
    --doula-border-strong: #d8c8b6;

    --doula-text: #2f2a26;
    --doula-text-soft: #5f564f;
    --doula-text-muted: #7a7068;
    --doula-heading: #231f1b;

    --doula-primary: #7c8f7a;
    --doula-primary-dark: #657663;
    --doula-primary-soft: #dfe8de;

    --doula-accent: #c58f73;
    --doula-accent-soft: #f3dfd3;
    --doula-blush: #f7ebe6;

    --doula-shadow-sm: 0 8px 24px rgba(58, 43, 32, 0.06);
    --doula-shadow-md: 0 16px 42px rgba(58, 43, 32, 0.09);
    --doula-shadow-lg: 0 28px 60px rgba(58, 43, 32, 0.12);

    --doula-radius-sm: 0.75rem;
    --doula-radius-md: 1.15rem;
    --doula-radius-lg: 1.75rem;
    --doula-radius-xl: 2.5rem;

    --doula-transition: 0.25s ease;
    --doula-max-text: 760px;
}


/* =========================================================
   2. BASE / GLOBAL ELEMENTS
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--doula-bg);
    color: var(--doula-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--doula-primary-dark);
    text-decoration: none;
    transition: color var(--doula-transition), opacity var(--doula-transition), border-color var(--doula-transition);
}

a:hover,
a:focus {
    color: var(--doula-accent);
    text-decoration: none;
}

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

strong,
b {
    color: var(--doula-heading);
}

hr {
    border-color: var(--doula-border);
    opacity: 1;
}

::selection {
    background: var(--doula-accent-soft);
    color: var(--doula-heading);
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--doula-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1,
.h1 {
    font-size: clamp(2.4rem, 5vw, 4.35rem);
}

h2,
.h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

h3,
.h3 {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

h4,
.h4 {
    font-size: clamp(1.2rem, 1.5vw, 1.45rem);
}

p,
li {
    color: var(--doula-text-soft);
}

.lead {
    color: var(--doula-text-soft);
}

.text-muted {
    color: var(--doula-text-muted) !important;
}

.doula-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--doula-accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doula-section-intro > p,
.doula-primary-cta-panel p,
.doula-intro-card p,
.doula-closing p {
    max-width: var(--doula-max-text);
}


/* =========================================================
   4. BOOTSTRAP OVERRIDES / COMMON UTILITIES
   ========================================================= */

.bg-light-subtle {
    background-color: var(--doula-surface-soft) !important;
}

.rounded-4 {
    border-radius: var(--doula-radius-lg) !important;
}

.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
    .pt-lg-6 {
        padding-top: 5rem !important;
    }

    .pb-lg-6 {
        padding-bottom: 5rem !important;
    }
}

.doula-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--doula-primary-dark);
    border-bottom: 1px solid transparent;
    padding-bottom: 0.1rem;
}

.doula-text-link:hover,
.doula-text-link:focus {
    color: var(--doula-accent);
    border-color: currentColor;
}

.max-text {
    max-width: var(--doula-max-text);
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.88rem 1.35rem;
    box-shadow: none;
    transition: transform var(--doula-transition), box-shadow var(--doula-transition), background-color var(--doula-transition), color var(--doula-transition), border-color var(--doula-transition);
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--doula-primary);
    border-color: var(--doula-primary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--doula-primary-dark) !important;
    border-color: var(--doula-primary-dark) !important;
    color: #fff !important;
    box-shadow: var(--doula-shadow-sm);
}

.btn-outline-primary {
    color: var(--doula-primary-dark);
    border-color: var(--doula-border-strong);
    background: rgba(255, 255, 255, 0.75);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: var(--doula-heading) !important;
    border-color: var(--doula-accent) !important;
    background: var(--doula-accent-soft) !important;
    box-shadow: var(--doula-shadow-sm);
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}


/* =========================================================
   6. GLOBAL SECTION / CARD PATTERNS
   ========================================================= */

.doula-home section {
    position: relative;
}

.doula-home .container {
    position: relative;
    z-index: 2;
}

.doula-intro-card,
.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-soft-cta-box,
.doula-primary-cta-panel,
.doula-sidebar-card,
.doula-content-card {
    background: var(--doula-surface);
    border: 1px solid rgba(216, 200, 182, 0.72);
    box-shadow: var(--doula-shadow-sm);
}

.doula-intro-card,
.doula-soft-cta-box,
.doula-primary-cta-panel {
    border-radius: var(--doula-radius-xl);
}

.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-sidebar-card,
.doula-content-card {
    border-radius: var(--doula-radius-lg);
}

.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-sidebar-card,
.doula-content-card {
    padding: 1.5rem;
}

.doula-intro-card {
    padding: 2rem 1.5rem;
}

.doula-soft-cta-box,
.doula-primary-cta-panel {
    padding: 2rem;
}

@media (min-width: 992px) {
    .doula-intro-card {
        padding: 2.5rem 3rem;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel {
        padding: 2.75rem 3rem;
    }
}

.doula-feature-card h3,
.doula-icon-card h3,
.doula-link-card h3 {
    margin-bottom: 0.65rem;
}

.doula-feature-card p:last-child,
.doula-icon-card p:last-child,
.doula-link-card p:last-child,
.doula-intro-card p:last-child,
.doula-primary-cta-panel p:last-child,
.doula-soft-cta-box p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   7. SITE HEADER / MAIN NAVIGATION
   ========================================================= */

.site-header,
.doula-site-header {
    position: relative;
    z-index: 100;
    background: rgba(252, 250, 247, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(216, 200, 182, 0.45);
}

.navbar,
.doula-navbar {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.navbar-brand,
.doula-brand {
    color: var(--doula-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.navbar-brand:hover,
.navbar-brand:focus,
.doula-brand:hover,
.doula-brand:focus {
    color: var(--doula-accent);
}

.navbar-nav .nav-link {
    color: var(--doula-heading);
    font-weight: 600;
    padding: 0.7rem 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--doula-accent);
}

.dropdown-menu {
    border: 1px solid var(--doula-border);
    border-radius: 1rem;
    box-shadow: var(--doula-shadow-md);
    padding: 0.6rem;
}

.dropdown-item {
    border-radius: 0.75rem;
    color: var(--doula-heading);
    padding: 0.65rem 0.85rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: var(--doula-accent-soft);
    color: var(--doula-heading);
}

.navbar-toggler {
    border-color: var(--doula-border-strong);
    border-radius: 0.85rem;
    padding: 0.45rem 0.7rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(124, 143, 122, 0.22);
}


/* =========================================================
   8. HERO SECTION (HOMEPAGE)
   ========================================================= */

.doula-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(243, 223, 211, 0.72), transparent 38%),
        radial-gradient(circle at bottom right, rgba(223, 232, 222, 0.75), transparent 34%),
        linear-gradient(180deg, #fcfaf7 0%, #f7f2ec 100%);
}

.doula-hero::before {
    content: "";
    position: absolute;
    right: -4rem;
    top: 2rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(10px);
    z-index: 1;
}

.doula-hero-title {
    margin-bottom: 1rem;
}

.doula-hero-lead {
    max-width: 40rem;
    font-size: 1.08rem;
}

.doula-hero-actions {
    margin-top: 1.5rem;
}

.doula-hero-note {
    color: var(--doula-text-muted);
    font-size: 0.95rem;
}

.doula-hero-media {
    position: relative;
}

.doula-hero-media img {
    display: block;
    box-shadow: var(--doula-shadow-lg);
    object-fit: cover;
    min-height: 360px;
}


/* =========================================================
   9. HOMEPAGE TRUST / INTRO SECTION
   ========================================================= */

.doula-intro {
    background: var(--doula-bg);
}

.doula-intro-card {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fcf8f4 100%);
}

.doula-intro-card h2 {
    margin-bottom: 1rem;
}


/* =========================================================
   10. HOMEPAGE OVERVIEW / FEATURE SECTION
   ========================================================= */

.doula-overview {
    background: var(--doula-bg);
}

.doula-overview-media img {
    display: block;
    min-height: 320px;
    object-fit: cover;
    box-shadow: var(--doula-shadow-md);
}

.doula-feature-card {
    height: 100%;
    background: linear-gradient(180deg, #fff 0%, #fcf8f4 100%);
}

.doula-feature-card:hover,
.doula-feature-card:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--doula-shadow-md);
    transition: transform var(--doula-transition), box-shadow var(--doula-transition);
}


/* =========================================================
   11. HOMEPAGE "HOW SUPPORT HELPS" SECTION
   ========================================================= */

.doula-support-ways {
    background: var(--doula-surface-soft);
}

.doula-icon-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.88);
}

.doula-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--doula-primary-soft);
    color: var(--doula-primary-dark);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(124, 143, 122, 0.18);
}


/* =========================================================
   12. HOMEPAGE SOFT CTA BAND
   ========================================================= */

.doula-soft-cta {
    background: var(--doula-bg);
}

.doula-soft-cta-box {
    background: linear-gradient(135deg, #fff 0%, #f8f2eb 100%);
}

.doula-soft-cta-box h2 {
    margin-bottom: 0.5rem;
}


/* =========================================================
   13. HOMEPAGE RESOURCE / LINK CARDS
   ========================================================= */

.doula-resource-links {
    background: var(--doula-bg);
}

.doula-link-card {
    background: linear-gradient(180deg, #ffffff 0%, #fcf8f5 100%);
}

.doula-link-card:hover,
.doula-link-card:focus-within {
    box-shadow: var(--doula-shadow-md);
    transform: translateY(-2px);
    transition: transform var(--doula-transition), box-shadow var(--doula-transition);
}


/* =========================================================
   14. HOMEPAGE PRIMARY CTA PANEL
   ========================================================= */

.doula-primary-cta {
    background: var(--doula-bg);
}

.doula-primary-cta-panel {
    background:
        radial-gradient(circle at top center, rgba(243, 223, 211, 0.72), transparent 42%),
        linear-gradient(180deg, #fff 0%, #fcf7f1 100%);
}

.doula-primary-cta-panel p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   15. HOMEPAGE CLOSING SECTION
   ========================================================= */

.doula-closing {
    background: var(--doula-bg);
}

.doula-closing .col-xl-8 {
    max-width: 820px;
}


/* =========================================================
   16. INNER PAGE HERO / PAGE HEADER
   ========================================================= */

.doula-page-hero,
.page-hero {
    background: linear-gradient(180deg, #f9f4ee 0%, #fcfaf7 100%);
    border-bottom: 1px solid rgba(216, 200, 182, 0.45);
    padding: 3rem 0 2.25rem;
}

.doula-page-hero h1,
.page-hero h1 {
    margin-bottom: 0.85rem;
}

.doula-page-hero .lead,
.page-hero .lead {
    max-width: 780px;
    margin-bottom: 0;
}


/* =========================================================
   17. BREADCRUMBS
   ========================================================= */

.breadcrumb,
.doula-breadcrumbs {
    background: transparent;
    margin-bottom: 1rem;
    padding: 0;
    font-size: 0.95rem;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--doula-text-muted);
}

.breadcrumb-item.active {
    color: var(--doula-heading);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--doula-border-strong);
}


/* =========================================================
   18. CONTENT AREA / DEFAULT PAGE BODY
   ========================================================= */

.doula-main,
.site-main {
    padding: 3rem 0;
}

.doula-content,
.doula-entry,
.entry-content {
    color: var(--doula-text-soft);
}

.doula-content > *:last-child,
.doula-entry > *:last-child,
.entry-content > *:last-child {
    margin-bottom: 0;
}

.doula-content h2,
.doula-content h3,
.doula-content h4,
.doula-entry h2,
.doula-entry h3,
.doula-entry h4,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
}

.doula-content ul,
.doula-content ol,
.doula-entry ul,
.doula-entry ol,
.entry-content ul,
.entry-content ol {
    padding-left: 1.25rem;
}

.doula-content blockquote,
.doula-entry blockquote,
.entry-content blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.25rem 1.25rem 1.2rem;
    border-left: 4px solid var(--doula-accent);
    background: #fffaf6;
    border-radius: 0 var(--doula-radius-md) var(--doula-radius-md) 0;
    color: var(--doula-text);
}

.doula-content-card {
    background: #fff;
}


/* =========================================================
   19. SIDEBAR LAYOUT / SIDEBAR CARDS
   ========================================================= */

.doula-sidebar,
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.doula-sidebar-card h2,
.doula-sidebar-card h3,
.doula-sidebar-card h4 {
    margin-bottom: 0.8rem;
}

.doula-sidebar-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.doula-sidebar-card li + li {
    margin-top: 0.55rem;
}

.doula-sidebar-card a {
    color: var(--doula-heading);
    font-weight: 600;
}

.doula-sidebar-card a:hover,
.doula-sidebar-card a:focus,
.doula-sidebar-card .active > a {
    color: var(--doula-accent);
}

.doula-sidebar-cta {
    background: linear-gradient(180deg, #fff 0%, #fcf6f0 100%);
}


/* =========================================================
   20. FORMS / CONTACT / SUPPORT REQUEST
   ========================================================= */

form {
    color: var(--doula-text-soft);
}

label,
.form-label {
    color: var(--doula-heading);
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.form-control,
.form-select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"] {
    border: 1px solid var(--doula-border-strong);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: #fff;
    color: var(--doula-text);
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus {
    border-color: var(--doula-primary);
    box-shadow: 0 0 0 0.2rem rgba(124, 143, 122, 0.16);
}

textarea {
    min-height: 160px;
}

.form-text,
.help-block {
    color: var(--doula-text-muted);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #b85b5b;
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #6d8b6b;
}


/* =========================================================
   21. ACCORDIONS / FAQ / COLLAPSIBLES
   ========================================================= */

.accordion-item {
    background: #fff;
    border: 1px solid var(--doula-border);
    border-radius: var(--doula-radius-md) !important;
    overflow: hidden;
    box-shadow: var(--doula-shadow-sm);
}

.accordion-item + .accordion-item {
    margin-top: 0.9rem;
}

.accordion-button {
    color: var(--doula-heading);
    font-weight: 700;
    background: #fff;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--doula-heading);
    background: #fcf7f2;
}

.accordion-button:focus {
    border-color: var(--doula-border-strong);
    box-shadow: 0 0 0 0.2rem rgba(197, 143, 115, 0.12) !important;
}

.accordion-body {
    color: var(--doula-text-soft);
}


/* =========================================================
   22. TABLES / SIMPLE DATA PRESENTATION
   ========================================================= */

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--doula-text-soft);
    --bs-table-border-color: var(--doula-border);
}

.table thead th {
    color: var(--doula-heading);
    font-weight: 700;
    border-bottom-width: 1px;
}

.table > :not(caption) > * > * {
    padding: 0.9rem 0.75rem;
}


/* =========================================================
   23. ALERTS / NOTICES / CALLOUTS
   ========================================================= */

.alert {
    border: 1px solid var(--doula-border);
    border-radius: var(--doula-radius-md);
    box-shadow: var(--doula-shadow-sm);
}

.alert-primary {
    color: #425240;
    background: #edf3ec;
    border-color: #d3e1d2;
}

.alert-secondary {
    color: #5c5047;
    background: #f8f1eb;
    border-color: #ead9cc;
}

.alert-light {
    color: var(--doula-text-soft);
    background: #fff;
    border-color: var(--doula-border);
}


/* =========================================================
   24. FOOTER
   ========================================================= */

.site-footer,
.doula-site-footer {
    background: #f3ece4;
    border-top: 1px solid rgba(216, 200, 182, 0.6);
    padding: 2.5rem 0;
    color: var(--doula-text-soft);
}

.site-footer a,
.doula-site-footer a {
    color: var(--doula-heading);
}

.site-footer a:hover,
.site-footer a:focus,
.doula-site-footer a:hover,
.doula-site-footer a:focus {
    color: var(--doula-accent);
}

.doula-footer-small,
.site-footer small {
    color: var(--doula-text-muted);
}


/* =========================================================
   25. IMAGE TREATMENTS / MEDIA HELPERS
   ========================================================= */

.doula-image-soft,
.doula-media-soft img {
    border-radius: var(--doula-radius-lg);
    box-shadow: var(--doula-shadow-md);
}

.doula-image-frame {
    padding: 0.55rem;
    background: #fff;
    border: 1px solid var(--doula-border);
    border-radius: calc(var(--doula-radius-lg) + 0.3rem);
    box-shadow: var(--doula-shadow-sm);
}


/* =========================================================
   26. ACCESSIBILITY / FOCUS STATES / MOTION
   ========================================================= */

:focus-visible {
    outline: 2px solid rgba(197, 143, 115, 0.75);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   27. RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 991.98px) {
    .doula-hero {
        padding-top: 1.5rem;
    }

    .doula-hero-title {
        max-width: 14ch;
    }

    .doula-hero-media img,
    .doula-overview-media img {
        min-height: 260px;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel,
    .doula-intro-card {
        border-radius: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .doula-feature-card,
    .doula-icon-card,
    .doula-link-card,
    .doula-sidebar-card,
    .doula-content-card {
        padding: 1.25rem;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel,
    .doula-intro-card {
        padding: 1.5rem 1.25rem;
    }

    .doula-page-hero,
    .page-hero,
    .doula-main,
    .site-main {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .btn-lg {
        width: 100%;
    }

    .doula-hero-actions {
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .doula-eyebrow {
        letter-spacing: 0.1em;
        font-size: 0.78rem;
    }

    .doula-hero-note {
        font-size: 0.92rem;
    }

    .doula-icon-wrap {
        width: 2.65rem;
        height: 2.65rem;
    }
}


/* =========================================================
   28. OPTIONAL MODX / CONTENTBLOCKS / EDITOR OUTPUT HELPERS
   ========================================================= */

.cb-layout p:last-child,
.contentblocks p:last-child,
.redactor-box p:last-child {
    margin-bottom: 0;
}

.contentblocks img,
.redactor-box img {
    border-radius: var(--doula-radius-md);
}

.contentblocks .btn,
.redactor-box .btn {
    margin-top: 0.35rem;
}


/* =========================================================
   29. PLACEHOLDER HELPERS FOR FUTURE SITE EXPANSION
   ========================================================= */

.doula-card-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .doula-card-grid.grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));/* =========================================================
   The Clubfoot Doula - Main Site Stylesheet
   File: /assets/templates/doula1/css/style.css
   Notes:
   - Bootstrap 5 assumed
   - Homepage has no sidebar
   - Inner pages may use sidebar layout
   - Keep sections categorized so future edits are easy to find
   ========================================================= */


/* =========================================================
   1. ROOT / THEME TOKENS
   ========================================================= */

:root {
    --doula-bg: #fcfaf7;
    --doula-surface: #ffffff;
    --doula-surface-soft: #f7f2ec;
    --doula-surface-warm: #f4ede6;
    --doula-border: #e7ddd2;
    --doula-border-strong: #d8c8b6;

    --doula-text: #2f2a26;
    --doula-text-soft: #5f564f;
    --doula-text-muted: #7a7068;
    --doula-heading: #231f1b;

    --doula-primary: #7c8f7a;
    --doula-primary-dark: #657663;
    --doula-primary-soft: #dfe8de;

    --doula-accent: #c58f73;
    --doula-accent-soft: #f3dfd3;
    --doula-blush: #f7ebe6;

    --doula-shadow-sm: 0 8px 24px rgba(58, 43, 32, 0.06);
    --doula-shadow-md: 0 16px 42px rgba(58, 43, 32, 0.09);
    --doula-shadow-lg: 0 28px 60px rgba(58, 43, 32, 0.12);

    --doula-radius-sm: 0.75rem;
    --doula-radius-md: 1.15rem;
    --doula-radius-lg: 1.75rem;
    --doula-radius-xl: 2.5rem;

    --doula-transition: 0.25s ease;
    --doula-max-text: 760px;
}


/* =========================================================
   2. BASE / GLOBAL ELEMENTS
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    background: var(--doula-bg);
    color: var(--doula-text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.65;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--doula-primary-dark);
    text-decoration: none;
    transition: color var(--doula-transition), opacity var(--doula-transition), border-color var(--doula-transition);
}

a:hover,
a:focus {
    color: var(--doula-accent);
    text-decoration: none;
}

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

strong,
b {
    color: var(--doula-heading);
}

hr {
    border-color: var(--doula-border);
    opacity: 1;
}

::selection {
    background: var(--doula-accent-soft);
    color: var(--doula-heading);
}


/* =========================================================
   3. TYPOGRAPHY
   ========================================================= */

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--doula-heading);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

h1,
.h1 {
    font-size: clamp(2.4rem, 5vw, 4.35rem);
}

h2,
.h2 {
    font-size: clamp(1.9rem, 3vw, 3rem);
}

h3,
.h3 {
    font-size: clamp(1.45rem, 2vw, 2rem);
}

h4,
.h4 {
    font-size: clamp(1.2rem, 1.5vw, 1.45rem);
}

p,
li {
    color: var(--doula-text-soft);
}

.lead {
    color: var(--doula-text-soft);
}

.text-muted {
    color: var(--doula-text-muted) !important;
}

.doula-eyebrow {
    display: inline-block;
    margin-bottom: 0.85rem;
    color: var(--doula-accent);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.doula-section-intro > p,
.doula-primary-cta-panel p,
.doula-intro-card p,
.doula-closing p {
    max-width: var(--doula-max-text);
}


/* =========================================================
   4. BOOTSTRAP OVERRIDES / COMMON UTILITIES
   ========================================================= */

.bg-light-subtle {
    background-color: var(--doula-surface-soft) !important;
}

.rounded-4 {
    border-radius: var(--doula-radius-lg) !important;
}

.py-lg-6 {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

@media (min-width: 992px) {
    .pt-lg-6 {
        padding-top: 5rem !important;
    }

    .pb-lg-6 {
        padding-bottom: 5rem !important;
    }
}

.doula-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    color: var(--doula-primary-dark);
    border-bottom: 1px solid transparent;
    padding-bottom: 0.1rem;
}

.doula-text-link:hover,
.doula-text-link:focus {
    color: var(--doula-accent);
    border-color: currentColor;
}

.max-text {
    max-width: var(--doula-max-text);
}


/* =========================================================
   5. BUTTONS
   ========================================================= */

.btn {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.88rem 1.35rem;
    box-shadow: none;
    transition: transform var(--doula-transition), box-shadow var(--doula-transition), background-color var(--doula-transition), color var(--doula-transition), border-color var(--doula-transition);
}

.btn:hover,
.btn:focus {
    transform: translateY(-1px);
}

.btn-primary {
    background-color: var(--doula-primary);
    border-color: var(--doula-primary);
    color: #fff;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--doula-primary-dark) !important;
    border-color: var(--doula-primary-dark) !important;
    color: #fff !important;
    box-shadow: var(--doula-shadow-sm);
}

.btn-outline-primary {
    color: var(--doula-primary-dark);
    border-color: var(--doula-border-strong);
    background: rgba(255, 255, 255, 0.75);
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    color: var(--doula-heading) !important;
    border-color: var(--doula-accent) !important;
    background: var(--doula-accent-soft) !important;
    box-shadow: var(--doula-shadow-sm);
}

.btn-lg {
    padding: 1rem 1.5rem;
    font-size: 1rem;
}


/* =========================================================
   6. GLOBAL SECTION / CARD PATTERNS
   ========================================================= */

.doula-home section {
    position: relative;
}

.doula-home .container {
    position: relative;
    z-index: 2;
}

.doula-intro-card,
.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-soft-cta-box,
.doula-primary-cta-panel,
.doula-sidebar-card,
.doula-content-card {
    background: var(--doula-surface);
    border: 1px solid rgba(216, 200, 182, 0.72);
    box-shadow: var(--doula-shadow-sm);
}

.doula-intro-card,
.doula-soft-cta-box,
.doula-primary-cta-panel {
    border-radius: var(--doula-radius-xl);
}

.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-sidebar-card,
.doula-content-card {
    border-radius: var(--doula-radius-lg);
}

.doula-feature-card,
.doula-icon-card,
.doula-link-card,
.doula-sidebar-card,
.doula-content-card {
    padding: 1.5rem;
}

.doula-intro-card {
    padding: 2rem 1.5rem;
}

.doula-soft-cta-box,
.doula-primary-cta-panel {
    padding: 2rem;
}

@media (min-width: 992px) {
    .doula-intro-card {
        padding: 2.5rem 3rem;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel {
        padding: 2.75rem 3rem;
    }
}

.doula-feature-card h3,
.doula-icon-card h3,
.doula-link-card h3 {
    margin-bottom: 0.65rem;
}

.doula-feature-card p:last-child,
.doula-icon-card p:last-child,
.doula-link-card p:last-child,
.doula-intro-card p:last-child,
.doula-primary-cta-panel p:last-child,
.doula-soft-cta-box p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   7. SITE HEADER / MAIN NAVIGATION
   ========================================================= */

.site-header,
.doula-site-header {
    position: relative;
    z-index: 100;
    background: rgba(252, 250, 247, 0.92);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(216, 200, 182, 0.45);
}

.navbar,
.doula-navbar {
    padding-top: 0.95rem;
    padding-bottom: 0.95rem;
}

.navbar-brand,
.doula-brand {
    color: var(--doula-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.navbar-brand:hover,
.navbar-brand:focus,
.doula-brand:hover,
.doula-brand:focus {
    color: var(--doula-accent);
}

.navbar-nav .nav-link {
    color: var(--doula-heading);
    font-weight: 600;
    padding: 0.7rem 0.95rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
    color: var(--doula-accent);
}

.dropdown-menu {
    border: 1px solid var(--doula-border);
    border-radius: 1rem;
    box-shadow: var(--doula-shadow-md);
    padding: 0.6rem;
}

.dropdown-item {
    border-radius: 0.75rem;
    color: var(--doula-heading);
    padding: 0.65rem 0.85rem;
}

.dropdown-item:hover,
.dropdown-item:focus,
.dropdown-item.active {
    background: var(--doula-accent-soft);
    color: var(--doula-heading);
}

.navbar-toggler {
    border-color: var(--doula-border-strong);
    border-radius: 0.85rem;
    padding: 0.45rem 0.7rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.18rem rgba(124, 143, 122, 0.22);
}


/* =========================================================
   8. HERO SECTION (HOMEPAGE)
   ========================================================= */

.doula-hero {
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(243, 223, 211, 0.72), transparent 38%),
        radial-gradient(circle at bottom right, rgba(223, 232, 222, 0.75), transparent 34%),
        linear-gradient(180deg, #fcfaf7 0%, #f7f2ec 100%);
}

.doula-hero::before {
    content: "";
    position: absolute;
    right: -4rem;
    top: 2rem;
    width: 16rem;
    height: 16rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    filter: blur(10px);
    z-index: 1;
}

.doula-hero-title {
    margin-bottom: 1rem;
}

.doula-hero-lead {
    max-width: 40rem;
    font-size: 1.08rem;
}

.doula-hero-actions {
    margin-top: 1.5rem;
}

.doula-hero-note {
    color: var(--doula-text-muted);
    font-size: 0.95rem;
}

.doula-hero-media {
    position: relative;
}

.doula-hero-media img {
    display: block;
    box-shadow: var(--doula-shadow-lg);
    object-fit: cover;
    min-height: 360px;
}


/* =========================================================
   9. HOMEPAGE TRUST / INTRO SECTION
   ========================================================= */

.doula-intro {
    background: var(--doula-bg);
}

.doula-intro-card {
    text-align: center;
    background: linear-gradient(180deg, #ffffff 0%, #fcf8f4 100%);
}

.doula-intro-card h2 {
    margin-bottom: 1rem;
}


/* =========================================================
   10. HOMEPAGE OVERVIEW / FEATURE SECTION
   ========================================================= */

.doula-overview {
    background: var(--doula-bg);
}

.doula-overview-media img {
    display: block;
    min-height: 320px;
    object-fit: cover;
    box-shadow: var(--doula-shadow-md);
}

.doula-feature-card {
    height: 100%;
    background: linear-gradient(180deg, #fff 0%, #fcf8f4 100%);
}

.doula-feature-card:hover,
.doula-feature-card:focus-within {
    transform: translateY(-2px);
    box-shadow: var(--doula-shadow-md);
    transition: transform var(--doula-transition), box-shadow var(--doula-transition);
}


/* =========================================================
   11. HOMEPAGE "HOW SUPPORT HELPS" SECTION
   ========================================================= */

.doula-support-ways {
    background: var(--doula-surface-soft);
}

.doula-icon-card {
    text-align: left;
    background: rgba(255, 255, 255, 0.88);
}

.doula-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: var(--doula-primary-soft);
    color: var(--doula-primary-dark);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px rgba(124, 143, 122, 0.18);
}


/* =========================================================
   12. HOMEPAGE SOFT CTA BAND
   ========================================================= */

.doula-soft-cta {
    background: var(--doula-bg);
}

.doula-soft-cta-box {
    background: linear-gradient(135deg, #fff 0%, #f8f2eb 100%);
}

.doula-soft-cta-box h2 {
    margin-bottom: 0.5rem;
}


/* =========================================================
   13. HOMEPAGE RESOURCE / LINK CARDS
   ========================================================= */

.doula-resource-links {
    background: var(--doula-bg);
}

.doula-link-card {
    background: linear-gradient(180deg, #ffffff 0%, #fcf8f5 100%);
}

.doula-link-card:hover,
.doula-link-card:focus-within {
    box-shadow: var(--doula-shadow-md);
    transform: translateY(-2px);
    transition: transform var(--doula-transition), box-shadow var(--doula-transition);
}


/* =========================================================
   14. HOMEPAGE PRIMARY CTA PANEL
   ========================================================= */

.doula-primary-cta {
    background: var(--doula-bg);
}

.doula-primary-cta-panel {
    background:
        radial-gradient(circle at top center, rgba(243, 223, 211, 0.72), transparent 42%),
        linear-gradient(180deg, #fff 0%, #fcf7f1 100%);
}

.doula-primary-cta-panel p {
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   15. HOMEPAGE CLOSING SECTION
   ========================================================= */

.doula-closing {
    background: var(--doula-bg);
}

.doula-closing .col-xl-8 {
    max-width: 820px;
}


/* =========================================================
   16. INNER PAGE HERO / PAGE HEADER
   ========================================================= */

.doula-page-hero,
.page-hero {
    background: linear-gradient(180deg, #f9f4ee 0%, #fcfaf7 100%);
    border-bottom: 1px solid rgba(216, 200, 182, 0.45);
    padding: 3rem 0 2.25rem;
}

.doula-page-hero h1,
.page-hero h1 {
    margin-bottom: 0.85rem;
}

.doula-page-hero .lead,
.page-hero .lead {
    max-width: 780px;
    margin-bottom: 0;
}


/* =========================================================
   17. BREADCRUMBS
   ========================================================= */

.breadcrumb,
.doula-breadcrumbs {
    background: transparent;
    margin-bottom: 1rem;
    padding: 0;
    font-size: 0.95rem;
}

.breadcrumb-item,
.breadcrumb-item a {
    color: var(--doula-text-muted);
}

.breadcrumb-item.active {
    color: var(--doula-heading);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--doula-border-strong);
}


/* =========================================================
   18. CONTENT AREA / DEFAULT PAGE BODY
   ========================================================= */

.doula-main,
.site-main {
    padding: 3rem 0;
}

.doula-content,
.doula-entry,
.entry-content {
    color: var(--doula-text-soft);
}

.doula-content > *:last-child,
.doula-entry > *:last-child,
.entry-content > *:last-child {
    margin-bottom: 0;
}

.doula-content h2,
.doula-content h3,
.doula-content h4,
.doula-entry h2,
.doula-entry h3,
.doula-entry h4,
.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: 2rem;
    margin-bottom: 0.85rem;
}

.doula-content ul,
.doula-content ol,
.doula-entry ul,
.doula-entry ol,
.entry-content ul,
.entry-content ol {
    padding-left: 1.25rem;
}

.doula-content blockquote,
.doula-entry blockquote,
.entry-content blockquote {
    margin: 1.75rem 0;
    padding: 1.25rem 1.25rem 1.25rem 1.2rem;
    border-left: 4px solid var(--doula-accent);
    background: #fffaf6;
    border-radius: 0 var(--doula-radius-md) var(--doula-radius-md) 0;
    color: var(--doula-text);
}

.doula-content-card {
    background: #fff;
}


/* =========================================================
   19. SIDEBAR LAYOUT / SIDEBAR CARDS
   ========================================================= */

.doula-sidebar,
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.doula-sidebar-card h2,
.doula-sidebar-card h3,
.doula-sidebar-card h4 {
    margin-bottom: 0.8rem;
}

.doula-sidebar-card ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.doula-sidebar-card li + li {
    margin-top: 0.55rem;
}

.doula-sidebar-card a {
    color: var(--doula-heading);
    font-weight: 600;
}

.doula-sidebar-card a:hover,
.doula-sidebar-card a:focus,
.doula-sidebar-card .active > a {
    color: var(--doula-accent);
}

.doula-sidebar-cta {
    background: linear-gradient(180deg, #fff 0%, #fcf6f0 100%);
}


/* =========================================================
   20. FORMS / CONTACT / SUPPORT REQUEST
   ========================================================= */

form {
    color: var(--doula-text-soft);
}

label,
.form-label {
    color: var(--doula-heading);
    font-weight: 600;
    margin-bottom: 0.45rem;
}

.form-control,
.form-select,
textarea,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="search"] {
    border: 1px solid var(--doula-border-strong);
    border-radius: 1rem;
    padding: 0.9rem 1rem;
    background: #fff;
    color: var(--doula-text);
}

.form-control:focus,
.form-select:focus,
textarea:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="search"]:focus {
    border-color: var(--doula-primary);
    box-shadow: 0 0 0 0.2rem rgba(124, 143, 122, 0.16);
}

textarea {
    min-height: 160px;
}

.form-text,
.help-block {
    color: var(--doula-text-muted);
}

.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #b85b5b;
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #6d8b6b;
}


/* =========================================================
   21. ACCORDIONS / FAQ / COLLAPSIBLES
   ========================================================= */

.accordion-item {
    background: #fff;
    border: 1px solid var(--doula-border);
    border-radius: var(--doula-radius-md) !important;
    overflow: hidden;
    box-shadow: var(--doula-shadow-sm);
}

.accordion-item + .accordion-item {
    margin-top: 0.9rem;
}

.accordion-button {
    color: var(--doula-heading);
    font-weight: 700;
    background: #fff;
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--doula-heading);
    background: #fcf7f2;
}

.accordion-button:focus {
    border-color: var(--doula-border-strong);
    box-shadow: 0 0 0 0.2rem rgba(197, 143, 115, 0.12) !important;
}

.accordion-body {
    color: var(--doula-text-soft);
}


/* =========================================================
   22. TABLES / SIMPLE DATA PRESENTATION
   ========================================================= */

.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--doula-text-soft);
    --bs-table-border-color: var(--doula-border);
}

.table thead th {
    color: var(--doula-heading);
    font-weight: 700;
    border-bottom-width: 1px;
}

.table > :not(caption) > * > * {
    padding: 0.9rem 0.75rem;
}


/* =========================================================
   23. ALERTS / NOTICES / CALLOUTS
   ========================================================= */

.alert {
    border: 1px solid var(--doula-border);
    border-radius: var(--doula-radius-md);
    box-shadow: var(--doula-shadow-sm);
}

.alert-primary {
    color: #425240;
    background: #edf3ec;
    border-color: #d3e1d2;
}

.alert-secondary {
    color: #5c5047;
    background: #f8f1eb;
    border-color: #ead9cc;
}

.alert-light {
    color: var(--doula-text-soft);
    background: #fff;
    border-color: var(--doula-border);
}


/* =========================================================
   24. FOOTER
   ========================================================= */

.site-footer,
.doula-site-footer {
    background: #f3ece4;
    border-top: 1px solid rgba(216, 200, 182, 0.6);
    padding: 2.5rem 0;
    color: var(--doula-text-soft);
}

.site-footer a,
.doula-site-footer a {
    color: var(--doula-heading);
}

.site-footer a:hover,
.site-footer a:focus,
.doula-site-footer a:hover,
.doula-site-footer a:focus {
    color: var(--doula-accent);
}

.doula-footer-small,
.site-footer small {
    color: var(--doula-text-muted);
}


/* =========================================================
   25. IMAGE TREATMENTS / MEDIA HELPERS
   ========================================================= */

.doula-image-soft,
.doula-media-soft img {
    border-radius: var(--doula-radius-lg);
    box-shadow: var(--doula-shadow-md);
}

.doula-image-frame {
    padding: 0.55rem;
    background: #fff;
    border: 1px solid var(--doula-border);
    border-radius: calc(var(--doula-radius-lg) + 0.3rem);
    box-shadow: var(--doula-shadow-sm);
}


/* =========================================================
   26. ACCESSIBILITY / FOCUS STATES / MOTION
   ========================================================= */

:focus-visible {
    outline: 2px solid rgba(197, 143, 115, 0.75);
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   27. RESPONSIVE ADJUSTMENTS
   ========================================================= */

@media (max-width: 991.98px) {
    .doula-hero {
        padding-top: 1.5rem;
    }

    .doula-hero-title {
        max-width: 14ch;
    }

    .doula-hero-media img,
    .doula-overview-media img {
        min-height: 260px;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel,
    .doula-intro-card {
        border-radius: 1.6rem;
    }
}

@media (max-width: 767.98px) {
    .doula-feature-card,
    .doula-icon-card,
    .doula-link-card,
    .doula-sidebar-card,
    .doula-content-card {
        padding: 1.25rem;
    }

    .doula-soft-cta-box,
    .doula-primary-cta-panel,
    .doula-intro-card {
        padding: 1.5rem 1.25rem;
    }

    .doula-page-hero,
    .page-hero,
    .doula-main,
    .site-main {
        padding-top: 2.25rem;
        padding-bottom: 2.25rem;
    }

    .btn-lg {
        width: 100%;
    }

    .doula-hero-actions {
        align-items: stretch;
    }
}

@media (max-width: 575.98px) {
    .doula-eyebrow {
        letter-spacing: 0.1em;
        font-size: 0.78rem;
    }

    .doula-hero-note {
        font-size: 0.92rem;
    }

    .doula-icon-wrap {
        width: 2.65rem;
        height: 2.65rem;
    }
}


/* =========================================================
   28. OPTIONAL MODX / CONTENTBLOCKS / EDITOR OUTPUT HELPERS
   ========================================================= */

.cb-layout p:last-child,
.contentblocks p:last-child,
.redactor-box p:last-child {
    margin-bottom: 0;
}

.contentblocks img,
.redactor-box img {
    border-radius: var(--doula-radius-md);
}

.contentblocks .btn,
.redactor-box .btn {
    margin-top: 0.35rem;
}


/* =========================================================
   29. PLACEHOLDER HELPERS FOR FUTURE SITE EXPANSION
   ========================================================= */

.doula-card-grid {
    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .doula-card-grid.grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doula-card-grid.grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.doula-section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--doula-border) 20%, var(--doula-border) 80%, transparent 100%);
    margin: 0;
}

    }

    .doula-card-grid.grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.doula-section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--doula-border) 20%, var(--doula-border) 80%, transparent 100%);
    margin: 0;
}

    display: grid;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .doula-card-grid.grid-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .doula-card-grid.grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.doula-section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--doula-border) 20%, var(--doula-border) 80%, transparent 100%);
    margin: 0;
}
