:root {
    --dd-primary: #176B4D;
    --dd-primary-dark: #10543b;
    --dd-primary-soft: #edf6f1;

    --dd-secondary: #C79A45;
    --dd-secondary-soft: #faf5e9;

    --dd-header-background: #ffffff;
    --dd-header-text: #17221d;

    --dd-body-background: #ffffff;
    --dd-body-text: #17221d;
    --dd-muted-text: #66736c;

    --dd-border: #e8ece9;
    --dd-light-background: #f7faf8;

    --dd-footer-background: #123b2c;
    --dd-footer-text: #ffffff;

    --dd-button-background: #176B4D;
    --dd-button-text: #ffffff;

    --dd-container-width: 1320px;
    --dd-border-radius: 10px;

    --dd-heading-font: "Playfair Display", Georgia, serif;
    --dd-body-font: "Inter", Arial, sans-serif;

    --dd-shadow-sm: 0 4px 18px rgba(17, 53, 39, .06);
    --dd-shadow-md: 0 12px 35px rgba(17, 53, 39, .10);
    --dd-transition: .25s ease;
}


/* =========================================================
   Base
   ========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--dd-body-background);
    color: var(--dd-body-text);
    font-family: var(--dd-body-font);
    font-size: 15px;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

::selection {
    background: var(--dd-secondary);
    color: #ffffff;
}

a {
    transition:
        color var(--dd-transition),
        background-color var(--dd-transition),
        border-color var(--dd-transition),
        opacity var(--dd-transition);
}

img {
    max-width: 100%;
}

.dd-container {
    width: 100%;
    max-width: var(--dd-container-width);
    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   Top Bar
   ========================================================= */

.dd-topbar {
    min-height: 36px;
    background: var(--dd-primary);
    color: #ffffff;
    font-size: 12px;
    letter-spacing: .01em;
}

.dd-topbar-inner {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.dd-topbar-contact,
.dd-topbar-social {
    display: flex;
    align-items: center;
}

.dd-topbar-contact {
    gap: 20px;
}

.dd-topbar-social {
    gap: 13px;
}

.dd-topbar a {
    color: rgba(255, 255, 255, .92);
    text-decoration: none;
}

.dd-topbar a:hover {
    color: #ffffff;
}

.dd-topbar-contact a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.dd-topbar-contact i {
    font-size: 11px;
}

.dd-topbar-social a {
    width: 23px;
    height: 23px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.dd-topbar-social a:hover {
    background: rgba(255, 255, 255, .12);
}


/* =========================================================
   Main Header
   ========================================================= */

.dd-header {
    position: sticky;
    top: 0;
    z-index: 1030;

    background: rgba(255, 255, 255, .97);
    color: var(--dd-header-text);

    border-bottom: 1px solid var(--dd-border);

    transition:
        box-shadow .25s ease,
        background-color .25s ease;
}

.dd-header-scrolled {
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 8px 28px rgba(16, 45, 34, .08);
}

.dd-header-inner {
    min-height: 82px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.dd-brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;

    flex-shrink: 0;

    color: var(--dd-header-text);
    text-decoration: none;
}

.dd-brand:hover {
    color: var(--dd-primary);
}

.dd-brand-mark {
    width: 43px;
    height: 43px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--dd-primary);
    color: #ffffff;

    font-size: 20px;

    box-shadow: 0 5px 15px rgba(23, 107, 77, .18);
}

.dd-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.dd-brand-name {
    font-family: var(--dd-heading-font);
    font-size: 22px;
    font-weight: 700;
    letter-spacing: -.01em;
}

.dd-brand-tagline {
    margin-top: 5px;

    color: var(--dd-muted-text);

    font-size: 9px;
    font-weight: 500;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.dd-logo {
    display: block;

    max-width: 180px;
    max-height: 58px;

    width: auto;
    height: auto;
}


/* =========================================================
   Desktop Navigation
   ========================================================= */

.dd-desktop-navigation {
    flex: 1;

    display: flex;
    justify-content: flex-end;
}

.dd-navigation {
    width: 100%;
}

.dd-nav-list {
    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 2px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.dd-nav-link {
    position: relative;

    display: inline-flex;
    align-items: center;

    min-height: 44px;

    padding: 7px 12px;

    color: var(--dd-header-text);

    text-decoration: none;

    font-size: 13px;
    font-weight: 500;

    border-radius: 6px;
}

.dd-nav-link:hover {
    color: var(--dd-primary);
    background: var(--dd-primary-soft);
}

.dd-nav-link.active {
    color: var(--dd-primary);
    font-weight: 600;
}

.dd-nav-link.active::after {
    content: "";

    position: absolute;

    left: 12px;
    right: 12px;
    bottom: 2px;

    height: 2px;

    border-radius: 2px;

    background: var(--dd-secondary);
}


/* =========================================================
   CTA
   ========================================================= */

.dd-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;

    flex-shrink: 0;
}

.dd-header-cta,
.dd-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    gap: 9px;

    min-height: 40px;

    padding: 9px 17px;

    background: var(--dd-button-background);
    color: var(--dd-button-text);

    border: 1px solid var(--dd-button-background);
    border-radius: 6px;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    box-shadow: 0 4px 12px rgba(23, 107, 77, .12);
}

.dd-header-cta:hover,
.dd-mobile-cta:hover {
    background: var(--dd-primary-dark);
    border-color: var(--dd-primary-dark);
    color: #ffffff;

    transform: translateY(-1px);
    box-shadow: 0 7px 18px rgba(23, 107, 77, .18);
}


/* =========================================================
   Mobile Navigation
   ========================================================= */

.dd-mobile-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 8px;

    border: 1px solid var(--dd-border);
    border-radius: 7px;

    background: #ffffff;
}

.dd-mobile-toggle span {
    display: block;

    width: 21px;
    height: 2px;

    margin: 4px auto;

    border-radius: 2px;

    background: var(--dd-header-text);

    transition:
        transform .2s ease,
        opacity .2s ease;
}

.dd-mobile-toggle:hover {
    border-color: var(--dd-primary);
    background: var(--dd-primary-soft);
}

.dd-mobile-navigation {
    display: none;

    border-top: 1px solid var(--dd-border);

    background: #ffffff;

    box-shadow: 0 12px 25px rgba(17, 53, 39, .07);
}

.dd-mobile-navigation.show {
    display: block;
}

.dd-mobile-navigation .dd-nav-list {
    display: block;

    padding: 10px 0;
}

.dd-mobile-navigation .dd-nav-item {
    display: block;
}

.dd-mobile-navigation .dd-nav-link {
    display: flex;

    width: 100%;
    min-height: auto;

    padding: 12px 4px;

    border-bottom: 1px solid #f0f2f1;

    border-radius: 0;
}

.dd-mobile-navigation .dd-nav-item:last-child .dd-nav-link {
    border-bottom: 0;
}

.dd-mobile-navigation .dd-nav-link.active::after {
    display: none;
}

.dd-mobile-cta {
    width: 100%;
    margin: 8px 0 18px;
}


/* =========================================================
   Main Content
   ========================================================= */

.dd-main-content {
    min-height: 300px;
}

.public-page {
    width: 100%;
}


/* =========================================================
   Generic Section Helpers
   ========================================================= */

.dd-section {
    padding: 90px 0;
}

.dd-section-soft {
    background: var(--dd-light-background);
}

.dd-section-label {
    color: var(--dd-primary);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.dd-section-heading {
    color: var(--dd-body-text);
    font-family: var(--dd-heading-font);
    font-weight: 600;
    letter-spacing: -.02em;
}


/* =========================================================
   Footer
   ========================================================= */

.dd-footer {
    background: var(--dd-footer-background);
    color: var(--dd-footer-text);
}

.dd-footer-main {
    display: grid;

    grid-template-columns: 1.45fr 1fr 1fr 1fr;

    gap: 55px;

    padding: 70px 0 55px;
}

.dd-footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    color: #ffffff;

    text-decoration: none;

    font-family: var(--dd-heading-font);
    font-size: 22px;
    font-weight: 700;
}

.dd-footer-brand:hover {
    color: #ffffff;
}

.dd-footer-brand-mark {
    width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 50%;

    font-size: 17px;
}

.dd-footer-description {
    max-width: 370px;

    margin: 19px 0 22px;

    color: rgba(255, 255, 255, .68);

    font-size: 13px;
    line-height: 1.8;
}

.dd-footer-title {
    margin: 0 0 19px;

    color: #ffffff;

    font-family: var(--dd-heading-font);
    font-size: 18px;
    font-weight: 600;
}

.dd-footer-links,
.dd-footer-contact {
    margin: 0;
    padding: 0;

    list-style: none;
}

.dd-footer-links li {
    margin-bottom: 9px;
}

.dd-footer-links a {
    color: rgba(255, 255, 255, .67);

    text-decoration: none;

    font-size: 13px;
}

.dd-footer-links a:hover {
    color: var(--dd-secondary);
    padding-left: 3px;
}

.dd-footer-contact li {
    display: flex;
    align-items: flex-start;

    gap: 10px;

    margin-bottom: 13px;

    color: rgba(255, 255, 255, .67);

    font-size: 13px;
}

.dd-footer-contact i {
    margin-top: 4px;

    color: var(--dd-secondary);
}

.dd-footer-contact a {
    color: inherit;
    text-decoration: none;
}

.dd-footer-contact a:hover {
    color: #ffffff;
}

.dd-footer-social {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dd-footer-social a {
    width: 33px;
    height: 33px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;

    color: #ffffff;
    text-decoration: none;
}

.dd-footer-social a:hover {
    background: var(--dd-primary);
    border-color: var(--dd-primary);
    transform: translateY(-2px);
}

.dd-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px 0;

    border-top: 1px solid rgba(255, 255, 255, .11);
}

.dd-footer-copyright,
.dd-footer-legal {
    color: rgba(255, 255, 255, .53);
    font-size: 11px;
}

.dd-footer-legal {
    display: flex;
    gap: 20px;
}

.dd-footer-legal a {
    color: inherit;
    text-decoration: none;
}

.dd-footer-legal a:hover {
    color: #ffffff;
}


/* =========================================================
   Error Page
   ========================================================= */

.dd-error-page {
    min-height: 55vh;

    display: flex;
    align-items: center;

    padding: 90px 0;
}

.dd-error-content {
    max-width: 650px;
    margin: 0 auto;
}

.dd-error-icon {
    width: 72px;
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 25px;

    border-radius: 50%;

    background: var(--dd-primary-soft);
    color: var(--dd-primary);

    font-size: 30px;
}

.dd-error-content h1 {
    margin: 0 0 15px;

    color: var(--dd-body-text);

    font-family: var(--dd-heading-font);
    font-size: clamp(2rem, 4vw, 3rem);
}

.dd-error-content p {
    margin-bottom: 25px;
    color: var(--dd-muted-text);
}


/* =========================================================
   Accessibility
   ========================================================= */

.dd-nav-link:focus-visible,
.dd-header-cta:focus-visible,
.dd-mobile-toggle:focus-visible,
.dd-footer a:focus-visible {
    outline: 3px solid rgba(199, 154, 69, .45);
    outline-offset: 3px;
}


/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1199.98px) {

    .dd-nav-link {
        padding-left: 8px;
        padding-right: 8px;
    }

    .dd-footer-main {
        gap: 35px;
    }
}


@media (max-width: 991.98px) {

    .dd-desktop-navigation {
        display: none;
    }

    .dd-mobile-toggle {
        display: block;
    }

    .dd-header-inner {
        min-height: 72px;
    }

    .dd-footer-main {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 767.98px) {

    .dd-container {
        padding-left: 18px;
        padding-right: 18px;
    }

    .dd-topbar-contact span {
        display: none;
    }

    .dd-topbar-contact {
        gap: 10px;
    }

    .dd-header-cta {
        display: none;
    }

    .dd-brand-name {
        font-size: 19px;
    }

    .dd-brand-tagline {
        display: none;
    }

    .dd-footer-main {
        grid-template-columns: 1fr;

        gap: 35px;

        padding: 50px 0 40px;
    }

    .dd-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .dd-footer-legal {
        flex-wrap: wrap;
        gap: 10px 18px;
    }
}


@media (max-width: 575.98px) {

    .dd-header-inner {
        min-height: 68px;
    }

    .dd-brand-mark {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .dd-brand-name {
        font-size: 18px;
    }

    .dd-logo {
        max-width: 150px;
        max-height: 50px;
    }

    .dd-section {
        padding: 60px 0;
    }
}

/* =========================================
   Page Builder Rows & Sections
   ========================================= */

.dd-page-row {
    width: 100%;
}

.dd-page-sections {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: stretch;
}

.dd-page-section {
    min-width: 0;
    box-sizing: border-box;
}

/* Mobile / tablet */
@media (max-width: 991.98px) {
    .dd-page-sections {
        display: block;
    }

    .dd-page-section {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }
}