
/*
Theme Name: Drayxo Home Care
Description: Premium, responsive private-pay home care website for Drayxo Home Care, built on Astra.
Author: DawieLabs
Version: 1.0.0
Template: astra
Text Domain: evergreen-homecare
*/

/* =========================================
   1. BRAND SYSTEM
========================================= */

:root {
    --eh-evergreen: #163D36;
    --eh-evergreen-deep: #102F2A;
    --eh-ivory: #F7F5EF;
    --eh-sage: #DCE7DE;
    --eh-gold: #C5A46D;
    --eh-charcoal: #26332F;
    --eh-muted: #65736D;
    --eh-white: #FFFFFF;

    --eh-container: 1200px;
    --eh-radius: 22px;
    --eh-radius-large: 32px;

    --eh-line: rgba(22, 61, 54, 0.13);
    --eh-shadow: 0 20px 60px rgba(16, 47, 42, 0.10);
}

/* =========================================
   2. GLOBAL FOUNDATION
========================================= */

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
}

body,
button,
input,
textarea,
select {
    font-family: "DM Sans", sans-serif;
}

body {
    margin: 0;
    color: var(--eh-charcoal);
    background: var(--eh-ivory);
    font-size: 16px;
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

body.eh-homecare-theme {
    overflow-wrap: break-word;
}

body.eh-homecare-theme,
.eh-site {
    min-width: 0;
}

.eh-site-header,
.eh-site-footer {
    width: 100%;
}

body h1,
body h2,
body h3,
body h4 {
    font-family: "Manrope", sans-serif;
    color: var(--eh-evergreen);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 1.15;
}

body h1 {
    font-size: clamp(2.8rem, 5.5vw, 5rem);
}

body h2 {
    font-size: clamp(2.1rem, 4vw, 3.4rem);
}

body h3 {
    font-size: clamp(1.25rem, 2vw, 1.55rem);
}

body p {
    margin: 0 0 1.1rem;
}

body a {
    color: var(--eh-evergreen);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

body a:hover {
    color: #52776A;
}

body img {
    max-width: 100%;
    height: auto;
}

.eh-site {
    width: 100%;
}

.eh-site *,
.eh-site *::before,
.eh-site *::after {
    box-sizing: border-box;
}

.eh-container {
    width: min(
        var(--eh-container),
        calc(100% - 48px)
    );
    margin-inline: auto;
}

.eh-section {
    padding: clamp(76px, 9vw, 124px) 0;
}

.eh-section--white {
    background: var(--eh-white);
}

.eh-section--sage {
    background: var(--eh-sage);
}

.eh-section--dark {
    background: var(--eh-evergreen);
    color: rgba(255, 255, 255, 0.78);
}

.eh-section--dark h2,
.eh-section--dark h3 {
    color: var(--eh-white);
}

/* =========================================
   3. SECTION HEADINGS
========================================= */

.eh-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 19px;
    color: #58766A;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    line-height: 1.5;
    text-transform: uppercase;
}

.eh-kicker::before {
    content: "";
    width: 28px;
    height: 1px;
    background: var(--eh-gold);
}

.eh-section-head {
    max-width: 760px;
    margin-bottom: 46px;
}

.eh-section-head h2 {
    margin: 0 0 19px;
}

.eh-section-head p {
    max-width: 660px;
    margin: 0;
    color: var(--eh-muted);
    font-size: 1.08rem;
}

.eh-section--dark .eh-section-head p {
    color: rgba(255, 255, 255, 0.73);
}

.eh-section--dark .eh-kicker,
.eh-cta-panel .eh-kicker {
    color: #E0E9E2;
}

/* =========================================
   4. BUTTONS
========================================= */

.eh-button {
    display: inline-flex;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 23px;

    border: 1px solid var(--eh-evergreen);
    border-radius: 999px;

    background: var(--eh-evergreen);
    color: var(--eh-white) !important;

    font-size: 0.92rem;
    font-weight: 750;
    line-height: 1.4;
    text-align: center;
    text-decoration: none !important;

    box-shadow: 0 8px 24px rgba(22, 61, 54, 0.12);
    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.eh-button:hover {
    transform: translateY(-2px);
    background: var(--eh-evergreen-deep);
    border-color: var(--eh-evergreen-deep);
    color: var(--eh-white) !important;
    box-shadow: 0 13px 28px rgba(22, 61, 54, 0.19);
}

.eh-button--outline {
    background: transparent;
    color: var(--eh-evergreen) !important;
    border-color: rgba(22, 61, 54, 0.27);
    box-shadow: none;
}

.eh-button--outline:hover {
    background: var(--eh-sage);
    color: var(--eh-evergreen) !important;
}

.eh-button--light {
    background: var(--eh-white);
    color: var(--eh-evergreen) !important;
    border-color: var(--eh-white);
}

.eh-button--light:hover {
    background: var(--eh-ivory);
    border-color: var(--eh-ivory);
    color: var(--eh-evergreen) !important;
}

.eh-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--eh-evergreen);
    font-weight: 750;
    text-decoration: none;
}

.eh-link span {
    transition: transform 0.2s ease;
}

.eh-link:hover span {
    transform: translateX(4px);
}

/* =========================================
   5. HEADER AND NAVIGATION
========================================= */

.eh-site-header {
    position: sticky;
    top: 0;
    z-index: 999;

    background: rgba(247, 245, 239, 0.96);
    border-bottom: 1px solid rgba(22, 61, 54, 0.09);
    backdrop-filter: blur(16px);
}

.eh-header-inner {
    display: flex;
    min-height: 88px;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.eh-brand {
    display: inline-flex;
    min-width: 220px;
    align-items: center;
    gap: 12px;
    color: var(--eh-evergreen) !important;
    text-decoration: none !important;
}

.eh-brand-mark {
    display: grid;
    width: 43px;
    height: 43px;
    flex: 0 0 43px;
    place-items: center;

    border-radius: 15px 15px 15px 5px;
    background: var(--eh-evergreen);
    color: var(--eh-ivory);

    font-family: "Manrope", sans-serif;
    font-size: 1.3rem;
    font-weight: 800;
}

.eh-brand-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.eh-brand-copy strong {
    font-family: "Manrope", sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    letter-spacing: -0.035em;
}

.eh-brand-copy small {
    margin-top: 5px;
    color: var(--eh-muted);
    font-size: 0.63rem;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.eh-nav--desktop {
    display: flex;
    align-items: center;
    gap: clamp(15px, 2vw, 27px);
}

.eh-nav--desktop a {
    color: #354B43;
    font-size: 0.86rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.eh-nav--desktop a:hover {
    color: #668775;
}

.eh-header-cta {
    flex-shrink: 0;
}

/* Native expandable mobile menu */

.eh-mobile-menu {
    display: none;
    position: relative;
}

.eh-mobile-menu summary {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;

    border: 1px solid var(--eh-line);
    border-radius: 50%;
    background: var(--eh-white);
    color: var(--eh-evergreen);

    cursor: pointer;
    font-size: 1.35rem;
    list-style: none;
}

.eh-mobile-menu summary::-webkit-details-marker {
    display: none;
}

.eh-nav--mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.eh-nav--mobile a {
    padding: 13px 4px;
    border-bottom: 1px solid var(--eh-line);
    color: var(--eh-evergreen);
    font-weight: 700;
    text-decoration: none;
}

.eh-nav--mobile .eh-mobile-cta {
    margin-top: 12px;
    padding: 13px 18px;
    border-radius: 999px;
    background: var(--eh-evergreen);
    color: var(--eh-white);
    text-align: center;
}

/* Mobile menu icon states and introduction */
.eh-menu-open-icon {
    display: block;
}

.eh-menu-close-icon {
    display: none;
}

.eh-mobile-menu[open] .eh-menu-open-icon {
    display: none;
}

.eh-mobile-menu[open] .eh-menu-close-icon {
    display: block;
}

.eh-mobile-menu summary {
    transition: background 0.2s ease, border-color 0.2s ease;
}

.eh-mobile-menu summary:hover {
    background: var(--eh-sage);
    border-color: rgba(22, 61, 54, 0.25);
}

.eh-mobile-menu-heading {
    padding: 5px 0 15px;
    border-bottom: 1px solid var(--eh-line);
}

.eh-mobile-menu-heading .eh-kicker {
    margin-bottom: 8px;
    font-size: 0.68rem;
}

.eh-mobile-menu-heading p {
    margin: 0;
    color: var(--eh-muted);
    font-size: 0.86rem;
    line-height: 1.6;
}

.eh-nav--mobile .eh-mobile-call {
    padding: 15px 0 3px;
    border-bottom: 0;
    color: var(--eh-evergreen);
    font-size: 0.84rem;
    font-weight: 750;
}

.eh-screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.eh-skip-link {
    position: absolute;
    top: 10px;
    left: -9999px;
    z-index: 10000;
    padding: 12px 16px;
    background: var(--eh-white);
    color: var(--eh-evergreen);
}

.eh-skip-link:focus {
    left: 10px;
}

/* =========================================
   6. HOMEPAGE HERO
========================================= */

.eh-hero {
    overflow: hidden;
    padding: 56px 0 82px;
    background: var(--eh-ivory);
}

.eh-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
    align-items: center;
    gap: clamp(40px, 6vw, 82px);
}

.eh-hero-copy {
    padding: 24px 0;
}

.eh-hero h1 {
    max-width: 690px;
    margin: 0 0 24px;
    font-size: clamp(3rem, 5.3vw, 5rem);
    line-height: 1.06;
}

.eh-hero h1 em {
    color: #6E8A77;
    font-style: normal;
}

.eh-hero-copy > p {
    max-width: 570px;
    margin-bottom: 30px;
    color: var(--eh-muted);
    font-size: clamp(1.03rem, 1.4vw, 1.18rem);
    line-height: 1.8;
}

.eh-hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 13px;
}

.eh-hero-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 25px;
    color: #586B62;
    font-size: 0.84rem;
    line-height: 1.6;
}

.eh-check {
    display: inline-grid;
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    place-items: center;

    border-radius: 50%;
    background: var(--eh-sage);
    color: var(--eh-evergreen);

    font-size: 0.75rem;
    font-weight: 900;
}

.eh-hero-media {
    position: relative;
    min-height: 580px;
}

.eh-hero-photo {
    position: absolute;
    inset: 0 0 35px 45px;

    overflow: hidden;
    border-radius: 46% 46% 26px 26px;

    background-color: #DCE7DE;
    background-image:
        linear-gradient(
            180deg,
            rgba(16, 47, 42, 0) 55%,
            rgba(16, 47, 42, 0.19) 100%
        ),
        url("https://images.unsplash.com/photo-1576765608535-5f04d1e3f289?auto=format&fit=crop&w=1200&q=85");

    /* Adjust this percentage to reposition the background image. */
    background-position: center, 78% 40%;
    background-size: cover;
    background-repeat: no-repeat;

    box-shadow: var(--eh-shadow);
}

.eh-floating-card {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 2;

    width: min(310px, 82%);
    padding: 23px;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.97);

    box-shadow: 0 18px 45px rgba(16, 47, 42, 0.15);
}

.eh-floating-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;

    color: #5B7869;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.eh-floating-eyebrow i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--eh-gold);
}

.eh-floating-card strong {
    display: block;
    margin-bottom: 7px;
    color: var(--eh-evergreen);
    font-family: "Manrope", sans-serif;
    font-size: 1.02rem;
    line-height: 1.4;
}

.eh-floating-card p {
    margin: 0;
    color: var(--eh-muted);
    font-size: 0.83rem;
    line-height: 1.65;
}

/* =========================================
   7. TRUST BAR
========================================= */

.eh-trustbar {
    border-block: 1px solid rgba(22, 61, 54, 0.07);
    background: var(--eh-white);
}

.eh-trustbar-inner {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding-top: 25px;
    padding-bottom: 25px;
}

.eh-trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: #43574E;
    font-size: 0.84rem;
    font-weight: 750;
    text-align: center;
}

.eh-trust-item > span {
    color: #6B8977;
    font-size: 1.15rem;
}

/* =========================================
   8. TWO-COLUMN CONTENT SECTIONS
========================================= */

.eh-split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    align-items: center;
    gap: clamp(40px, 7vw, 90px);
}

.eh-split-media {
    position: relative;
    min-height: 510px;
}

.eh-split-photo {
    position: absolute;
    inset: 0 40px 35px 0;

    border-radius: var(--eh-radius-large);
    background-color: #DCE7DE;
    background-image: url("https://images.unsplash.com/photo-1544005313-94ddf0286df2?auto=format&fit=crop&w=1000&q=85");
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.eh-photo-stamp {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 190px;
    padding: 23px;

    border-radius: 20px;
    background: var(--eh-gold);
    color: #24352E;
}

.eh-photo-stamp strong {
    display: block;
    font-family: "Manrope", sans-serif;
    font-size: 1.28rem;
    font-weight: 800;
    line-height: 1.25;
}

.eh-photo-stamp span {
    display: block;
    margin-top: 8px;
    font-size: 0.79rem;
    line-height: 1.55;
}

.eh-check-list {
    display: grid;
    gap: 16px;
    margin: 28px 0 30px;
    padding: 0;
    list-style: none;
}

.eh-check-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: #44574F;
}

.eh-check-list .eh-check {
    margin-top: 3px;
}

/* =========================================
   9. SERVICE CARDS
========================================= */

.eh-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.eh-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.eh-service-card {
    min-width: 0;
    padding: 30px;

    border: 1px solid rgba(22, 61, 54, 0.09);
    border-radius: var(--eh-radius);
    background: var(--eh-white);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.eh-service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(22, 61, 54, 0.19);
    box-shadow: 0 20px 45px rgba(16, 47, 42, 0.08);
}

.eh-service-icon {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    margin-bottom: 25px;

    border-radius: 17px;
    background: var(--eh-sage);
    color: var(--eh-evergreen);
    font-size: 1.4rem;
}

.eh-service-card h3 {
    margin: 0 0 13px;
}

.eh-service-card p {
    margin-bottom: 21px;
    color: var(--eh-muted);
    font-size: 0.93rem;
    line-height: 1.75;
}

.eh-service-card .eh-link {
    font-size: 0.87rem;
}

/* =========================================
   10. CARE PROCESS
========================================= */

.eh-steps {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 27px;
}

.eh-step {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.24);
}

.eh-step-number {
    margin-bottom: 23px;
    color: var(--eh-gold);
    font-family: "Manrope", sans-serif;
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.1em;
}

.eh-step h3 {
    margin-bottom: 13px;
}

.eh-step p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.93rem;
    line-height: 1.8;
}

/* =========================================
   11. QUOTE / INFORMATION CARD
========================================= */

.eh-quote-card {
    padding: 34px;
    border: 1px solid var(--eh-line);
    border-radius: var(--eh-radius);
    background: var(--eh-white);
    box-shadow: 0 12px 35px rgba(16, 47, 42, 0.04);
}

.eh-quote-mark {
    color: var(--eh-gold);
    font-family: "Manrope", sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1;
}

.eh-quote-card h3 {
    margin: 12px 0 17px;
}

.eh-quote-card p {
    color: #53645C;
    font-size: 0.98rem;
}

/* =========================================
   12. FAQ ACCORDIONS
========================================= */

.eh-faq-list {
    display: grid;
    max-width: 850px;
    gap: 12px;
}

.eh-faq {
    overflow: hidden;
    border: 1px solid var(--eh-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.8);
}

.eh-faq summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 21px 24px;
    color: var(--eh-evergreen);
    font-weight: 800;
    line-height: 1.5;

    cursor: pointer;
    list-style: none;
}

.eh-faq summary::-webkit-details-marker {
    display: none;
}

.eh-faq summary::after {
    content: "+";
    flex: 0 0 auto;
    color: #648270;
    font-size: 1.4rem;
    font-weight: 500;
}

.eh-faq[open] summary::after {
    content: "−";
}

.eh-faq-content {
    padding: 0 24px 22px;
    color: var(--eh-muted);
}

.eh-faq-content p:last-child {
    margin-bottom: 0;
}

/* =========================================
   13. FINAL CALL TO ACTION
========================================= */

.eh-cta-panel {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px;

    overflow: hidden;
    padding: clamp(32px, 5vw, 62px);
    border-radius: var(--eh-radius-large);

    background: var(--eh-evergreen);
    color: rgba(255, 255, 255, 0.78);
}

.eh-cta-panel::after {
    position: absolute;
    top: -125px;
    right: 10%;
    width: 300px;
    height: 300px;

    border: 1px solid rgba(197, 164, 109, 0.27);
    border-radius: 50%;
    box-shadow:
        0 0 0 35px rgba(197, 164, 109, 0.045),
        0 0 0 70px rgba(197, 164, 109, 0.035);

    content: "";
    pointer-events: none;
}

.eh-cta-panel h2 {
    position: relative;
    z-index: 1;
    max-width: 740px;
    margin: 0 0 17px;

    color: var(--eh-white);
    font-size: clamp(2rem, 3.5vw, 3.1rem);
}

.eh-cta-panel p {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.76);
}

.eh-cta-panel .eh-button {
    position: relative;
    z-index: 2;
    white-space: normal;
}

/* =========================================
   14. FOOTER
========================================= */

.eh-site-footer {
    padding: 68px 0 25px;
    background: var(--eh-evergreen-deep);
    color: rgba(255, 255, 255, 0.73);
}

.eh-footer-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, 0.8fr)
        minmax(0, 0.9fr)
        minmax(0, 1.1fr);
    gap: 34px;
    padding-bottom: 48px;
}

.eh-site-footer .eh-brand {
    color: var(--eh-white) !important;
}

.eh-site-footer .eh-brand-copy small {
    color: rgba(255, 255, 255, 0.57);
}

.eh-footer-about {
    max-width: 370px;
    margin-top: 22px;
    color: rgba(255, 255, 255, 0.69);
    font-size: 0.9rem;
}

.eh-footer-title {
    margin: 0 0 18px;
    color: var(--eh-white) !important;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 750;
    letter-spacing: -0.015em;
}

.eh-footer-links {
    display: grid;
    gap: 11px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.eh-footer-links a {
    color: rgba(255, 255, 255, 0.73);
    font-size: 0.87rem;
    text-decoration: none;
}

.eh-footer-links a:hover,
.eh-footer-cta:hover {
    color: var(--eh-white);
}

.eh-footer-cta {
    color: var(--eh-white);
    font-size: 0.9rem;
}

.eh-footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding-top: 23px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);

    color: rgba(255, 255, 255, 0.57);
    font-size: 0.77rem;
}

.eh-footer-bottom p {
    margin: 0;
}

/* Footer contact details */
.eh-footer-contact-intro {
    margin: 0 0 22px;
    color: rgba(255, 255, 255, 0.69);
    font-size: 0.87rem;
    line-height: 1.75;
}

.eh-footer-address {
    display: grid;
    gap: 19px;
    margin: 0;
    font-style: normal;
}

.eh-contact-item {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: start;
    gap: 11px;
}

.eh-contact-icon {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.07);
    color: var(--eh-gold);
    font-size: 1rem;
}

.eh-contact-item > div {
    min-width: 0;
}

.eh-contact-label {
    display: block;
    margin-bottom: 3px;
    color: rgba(255, 255, 255, 0.53);
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.eh-contact-item a,
.eh-contact-value {
    display: block;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.82rem;
    line-height: 1.65;
    overflow-wrap: anywhere;
    text-decoration: none;
}

.eh-contact-item a:hover {
    color: var(--eh-gold);
}

/* Reassurance banner above the footer legal row */
.eh-footer-promise {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 24px 26px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.045);
}

.eh-footer-promise-mark {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(197, 164, 109, 0.48);
    border-radius: 15px 15px 15px 5px;
    color: var(--eh-gold);
    font-family: "Manrope", sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
}

.eh-footer-promise p {
    margin: 0;
    color: rgba(255, 255, 255, 0.69);
    font-size: 0.85rem;
    line-height: 1.7;
}

.eh-footer-promise p strong {
    display: block;
    margin-bottom: 3px;
    color: var(--eh-white);
    font-family: "Manrope", sans-serif;
    font-size: 0.96rem;
}

.eh-footer-promise-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--eh-white);
    font-size: 0.84rem;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.eh-footer-promise-link:hover {
    color: var(--eh-gold);
}

.eh-footer-legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.eh-footer-legal a {
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
}

.eh-footer-legal a:hover {
    color: var(--eh-white);
}

/* =========================================
   15. STANDARD WORDPRESS PAGES
========================================= */

.eh-page-hero {
    padding: 78px 0 68px;
    background: var(--eh-sage);
}

.eh-page-hero h1 {
    max-width: 850px;
    margin: 0 0 20px;
    font-size: clamp(2.7rem, 5vw, 4.5rem);
}

.eh-page-hero p {
    max-width: 700px;
    margin: 0;
    color: #53665D;
    font-size: 1.08rem;
}

.eh-content {
    min-height: 300px;
    padding: 70px 0 100px;
    background: var(--eh-white);
}

.eh-content-inner {
    max-width: 850px;
    margin-inline: auto;
}

.eh-content-inner > *:last-child {
    margin-bottom: 0;
}

.eh-page-featured-image {
    margin-bottom: 35px;
}

.eh-page-featured-image img {
    display: block;
    width: 100%;
    border-radius: 20px;
}

.eh-page-content > * {
    max-width: 100%;
}

.eh-page-content h2 {
    margin-top: 1.8em;
}

.eh-page-content h3 {
    margin-top: 1.5em;
}

.eh-page-content ul,
.eh-page-content ol {
    padding-left: 1.5em;
}

.eh-page-content li {
    margin-bottom: 0.5em;
}

.eh-page-content input,
.eh-page-content textarea,
.eh-page-content select {
    max-width: 100%;
    border: 1px solid var(--eh-line);
    border-radius: 12px;
    padding: 12px 14px;
}

.eh-page-content .wp-block-button__link {
    border-radius: 999px;
    background: var(--eh-evergreen);
    color: var(--eh-white);
}

.eh-page-content .wp-block-image img {
    border-radius: 18px;
}

.eh-page-links {
    margin-top: 30px;
}

/* =========================================
   16. TABLET
========================================= */

@media (max-width: 1080px) {
    .eh-brand {
        min-width: 190px;
    }

    .eh-header-inner {
        gap: 17px;
    }

    .eh-nav--desktop {
        gap: 15px;
    }

    .eh-nav--desktop a {
        font-size: 0.79rem;
    }

    .eh-hero-grid {
        gap: 38px;
    }

    .eh-hero-media {
        min-height: 510px;
    }

    .eh-footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 38px 32px;
    }

    .eh-footer-brand {
        grid-column: 1 / -1;
    }

    .eh-footer-promise {
        grid-template-columns: 46px minmax(0, 1fr);
    }

    .eh-footer-promise-link {
        grid-column: 2;
        justify-self: start;
    }
}

@media (max-width: 900px) {
    .eh-header-inner {
        min-height: 76px;
    }

    .eh-nav--desktop,
    .eh-header-cta {
        display: none;
    }

    .eh-mobile-menu {
        display: block;
    }

    .eh-mobile-menu[open] .eh-nav--mobile {
        position: absolute;
        top: calc(100% + 16px);
        right: -8px;
        z-index: 1000;

        display: flex;
        width: min(340px, calc(100vw - 36px));
        padding: 17px 22px 22px;

        border: 1px solid var(--eh-line);
        border-radius: 18px;
        background: var(--eh-ivory);
        box-shadow: var(--eh-shadow);
    }

    .eh-hero {
        padding-top: 28px;
    }

    .eh-hero-grid,
    .eh-split {
        grid-template-columns: 1fr;
    }

    .eh-hero-copy {
        padding-top: 20px;
    }

    .eh-hero h1 {
        max-width: 760px;
    }

    .eh-hero-media {
        width: 100%;
        max-width: 690px;
        min-height: 540px;
        margin-inline: auto;
    }

    .eh-trustbar-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eh-grid-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .eh-split-media {
        width: 100%;
        max-width: 650px;
        min-height: 460px;
    }

    .eh-steps {
        gap: 20px;
    }

    .eh-cta-panel {
        grid-template-columns: 1fr;
    }

    .eh-cta-panel .eh-button {
        justify-self: start;
    }

}

/* =========================================
   17. MOBILE
========================================= */

@media (max-width: 600px) {
    .eh-container {
        width: calc(100% - 36px);
    }

    .eh-section {
        padding: 70px 0;
    }

    .eh-header-inner {
        min-height: 72px;
    }

    .eh-brand {
        min-width: 0;
        gap: 9px;
    }

    .eh-brand-mark {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        border-radius: 13px 13px 13px 4px;
    }

    .eh-brand-copy strong {
        font-size: 0.88rem;
    }

    .eh-brand-copy small {
        font-size: 0.56rem;
        letter-spacing: 0.08em;
    }

    .eh-hero {
        padding: 15px 0 58px;
    }

    .eh-hero h1 {
        font-size: clamp(2.55rem, 11.8vw, 3.6rem);
    }

    .eh-hero-copy > p {
        font-size: 1rem;
    }

    .eh-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .eh-hero-actions .eh-button {
        width: 100%;
    }

    .eh-hero-media {
        min-height: 420px;
    }

    .eh-hero-photo {
        inset: 0 0 28px 20px;
        border-radius: 44% 44% 22px 22px;
    }

    .eh-floating-card {
        width: 86%;
        padding: 18px;
    }

    .eh-trustbar-inner {
        gap: 14px 8px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .eh-trust-item {
        gap: 7px;
        font-size: 0.73rem;
    }

    .eh-grid-3,
    .eh-grid-2,
    .eh-steps {
        grid-template-columns: 1fr;
    }

    .eh-service-card {
        padding: 25px;
    }

    .eh-split-media {
        min-height: 370px;
    }

    .eh-split-photo {
        inset: 0 24px 26px 0;
    }

    .eh-photo-stamp {
        width: 160px;
        padding: 18px;
    }

    .eh-photo-stamp strong {
        font-size: 1.08rem;
    }

    .eh-steps {
        gap: 28px;
    }

    .eh-step {
        padding-top: 20px;
    }

    .eh-quote-card {
        padding: 25px;
    }

    .eh-faq summary {
        padding: 18px;
    }

    .eh-faq-content {
        padding: 0 18px 18px;
    }

    .eh-cta-panel {
        gap: 25px;
        padding: 30px 24px;
        border-radius: 24px;
    }

    .eh-cta-panel .eh-button {
        width: 100%;
    }

    .eh-footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .eh-footer-brand {
        grid-column: auto;
    }

    .eh-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 13px;
    }

    .eh-footer-promise {
        grid-template-columns: 40px minmax(0, 1fr);
        gap: 14px;
        padding: 20px 17px;
    }

    .eh-footer-promise-mark {
        width: 40px;
        height: 40px;
    }

    .eh-footer-promise-link {
        grid-column: 1 / -1;
        padding-top: 5px;
        white-space: normal;
    }

    .eh-mobile-menu[open] .eh-nav--mobile {
        right: -4px;
        width: min(340px, calc(100vw - 36px));
        max-height: calc(100dvh - 100px);
        overflow-y: auto;
    }

    .eh-page-hero {
        padding: 58px 0 50px;
    }

    .eh-content {
        padding: 50px 0 70px;
    }
}

/* =========================================
   18. ACCESSIBILITY
========================================= */

:focus-visible {
    outline: 3px solid var(--eh-gold);
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* Dynamic DawieLabs demo footer logo */
.eh-footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 22px;
    min-width: 0;
}

.eh-footer-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.eh-footer-logo img.custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 240px;
    max-height: 76px;
    object-fit: contain;
}

.eh-footer-logo .eh-brand--fallback {
    text-decoration: none;
}

.eh-footer-promise-mark {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .eh-footer-logo img.custom-logo {
        max-width: 210px;
        max-height: 64px;
    }
}

@media (max-width: 480px) {
    .eh-footer-logo img.custom-logo {
        max-width: 185px;
        max-height: 56px;
    }
}

/* =========================================
   PREMIUM DYNAMIC HEADER BRAND
========================================= */

.eh-header-brand {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
}

.eh-header-logo {
    display: flex;
    align-items: center;
    min-width: 0;
}

.eh-header-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    max-width: 100%;
}

.eh-header-logo img.custom-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 245px;
    max-height: 66px;
    object-fit: contain;
}

.eh-brand--fallback {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.eh-brand--fallback .eh-brand-mark {
    display: grid;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    place-items: center;
}

.eh-brand--fallback .eh-brand-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.eh-brand--fallback .eh-brand-copy strong {
    color: #173D35;
    font-family: "Manrope", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.035em;
}

.eh-brand--fallback .eh-brand-copy small {
    color: #65736D;
    font-size: .72rem;
    line-height: 1.4;
}

.eh-header-logo img.custom-logo,
.eh-brand--fallback .eh-brand-mark {
    transition: transform .25s ease;
}

.eh-header-brand a:hover img.custom-logo,
.eh-header-brand a:hover .eh-brand-mark {
    transform: translateY(-1px);
}

@media (max-width: 1050px) {
    .eh-header-logo img.custom-logo {
        max-width: 205px;
        max-height: 58px;
    }
}

@media (max-width: 768px) {
    .eh-header-logo img.custom-logo {
        max-width: 185px;
        max-height: 52px;
    }

    .eh-brand--fallback .eh-brand-mark {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .eh-brand--fallback .eh-brand-copy strong {
        font-size: .94rem;
    }

    .eh-brand--fallback .eh-brand-copy small {
        font-size: .68rem;
    }
}

@media (max-width: 380px) {
    .eh-header-logo img.custom-logo {
        max-width: 145px;
        max-height: 46px;
    }

    .eh-brand--fallback {
        gap: 8px;
    }

    .eh-brand--fallback .eh-brand-copy small {
        display: none;
    }
}
