/* Earthfit — header and footer v2. All rules are scoped to the new layout. */
.ef-layout-header,
.ef-layout-footer {
    --ef-layout-green: #0b3e34;
    --ef-layout-lime: #c8e84a;
    --ef-layout-font: 'Inter', Arial, sans-serif;
    font-family: var(--ef-layout-font);
    font-size: 14px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.ef-layout-header *, .ef-layout-header *::before, .ef-layout-header *::after,
.ef-layout-footer *, .ef-layout-footer *::before, .ef-layout-footer *::after {
    box-sizing: border-box;
}
.ef-layout-header a, .ef-layout-footer a { text-decoration: none; }
.ef-layout-header a:focus-visible, .ef-layout-header button:focus-visible,
.ef-layout-footer a:focus-visible, .ef-layout-popup button:focus-visible,
.ef-layout-whatsapp:focus-visible { outline: 2px solid #88b71c; outline-offset: 4px; }
.ef-layout-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* Header — 1440px reference: 92px height, 64px outer margins. */
header.ef-layout-header {
    position: sticky;
    top: 0;
    left: auto;
    right: auto;
    z-index: 1030;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    background: #fff;
    color: #102924;
    border: 0;
    border-bottom: 1px solid #d9e3dc;
    box-shadow: none;
    transform: none;
}
.ef-layout-header .ef-layout-header__inner {
    width: min(calc(100% - 128px), 1440px);
    min-height: 91px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 24px;
}
.ef-layout-header .ef-layout-header__brand { display: inline-flex; align-items: center; justify-self: start; margin: 0; padding: 0; }
.ef-layout-header .ef-layout-header__brand img,
.ef-layout-footer .ef-layout-footer__brand img { display: block; width: 200px; max-width: 100%; height: auto; object-fit: contain; margin: 0; }
.ef-layout-header .ef-layout-header__nav { display: block; position: static; margin: 0; padding: 0; }
.ef-layout-header .ef-layout-header__links { display: flex; align-items: center; justify-content: center; gap: clamp(17px, 1.9vw, 28px); list-style: none; padding: 0; margin: 0; }
.ef-layout-header .ef-layout-header__links li { list-style: none; margin: 0; padding: 0; }
.ef-layout-header .ef-layout-header__link { display: block; font-family: var(--ef-layout-font); font-weight: 400; font-size: 14px; line-height: 1.5; white-space: nowrap; color: #4b4b4b; padding: 12px 0; transition: color .2s ease; }
.ef-layout-header .ef-layout-header__link:hover, .ef-layout-header .ef-layout-header__link.is-active { color: #102924; }
.ef-layout-header .ef-layout-header__link.is-active { font-weight: 500; }
.ef-layout-header .ef-layout-header__cta { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 25px; border: 0; border-radius: 999px; background: var(--ef-layout-lime); color: var(--ef-layout-green); font: 500 16px/1.4 var(--ef-layout-font); white-space: nowrap; text-align: center; transition: background .2s ease, transform .2s ease; }
.ef-layout-header .ef-layout-header__cta:hover { background: #bada3b; color: var(--ef-layout-green); transform: translateY(-1px); }
.ef-layout-header .ef-layout-header__cta--desktop { justify-self: end; min-width: 200px; }
.ef-layout-header .ef-layout-header__cta--mobile, .ef-layout-header .ef-layout-header__toggle { display: none; }

/* Footer — 1440px reference: 1260px content width, 353px overall height. */
footer.ef-layout-footer { display: block; position: relative; width: 100%; height: auto; margin: 0; padding: 66px 0 47px; background: var(--ef-layout-green); color: #ccc; border: 0; }
.ef-layout-footer .ef-layout-footer__inner { width: min(calc(100% - 180px), 1260px); margin-inline: auto; }
.ef-layout-footer .ef-layout-footer__grid { display: grid; grid-template-columns: 2.26fr 1fr 1fr 1.22fr; gap: 0; align-items: start; }
.ef-layout-footer .ef-layout-footer__brand-col { min-width: 0; padding-right: 40px; }
.ef-layout-footer .ef-layout-footer__brand { display: inline-flex; align-items: center; margin: 0 0 27px; padding: 0; }
.ef-layout-footer .ef-layout-footer__brand-col p { max-width: 345px; margin: 0; padding: 0; color: #d8e6e0; font: 400 14px/1.5 var(--ef-layout-font); }
.ef-layout-footer .ef-layout-footer__column { display: block; min-width: 0; margin: 0; padding: 4px 14px 0 0; }
/*.ef-layout-footer .ef-layout-footer__column h2 { margin: 0 0 20px; padding: 0; color: var(--ef-layout-lime); font: 600 14px/1.5 var(--ef-layout-font); letter-spacing: 0; text-transform: uppercase; }*/
.ef-layout-footer .ef-layout-footer__column h2 { margin: 0 0 20px; padding: 0; color: var(--ef-layout-lime); font-size: 14px !important; letter-spacing: 0; text-transform: uppercase; }
.ef-layout-footer .ef-layout-footer__column ul { list-style: none; display: flex; flex-direction: column; gap: 17px; margin: 0; padding: 0; }
.ef-layout-footer .ef-layout-footer__column li { list-style: none; margin: 0; padding: 0; color: #ccc; font: 400 14px/1.5 var(--ef-layout-font); overflow-wrap: anywhere; }
.ef-layout-footer .ef-layout-footer__column a { color: inherit; font: inherit; transition: color .2s ease; }
.ef-layout-footer .ef-layout-footer__column a:hover { color: var(--ef-layout-lime); }
.ef-layout-footer .ef-layout-footer__column address { margin: 0; padding: 0; font-style: normal; }
.ef-layout-footer .ef-layout-footer__bottom { margin-top: 54px; padding-top: 20px; border-top: 1px solid #305b52; }
.ef-layout-footer .ef-layout-footer__bottom p { margin: 0; padding: 0; color: #b0c2bb; font: 400 14px/1.5 var(--ef-layout-font); }

/* Existing service widgets; styles scoped to their new classes. */
a.ef-layout-whatsapp { position: fixed; right: 10px; bottom: 70px; z-index: 9999; display: flex; align-items: center; justify-content: center; width: 55px; height: 55px; margin: 0; border-radius: 50%; background: #1bd741; box-shadow: 2px 2px 3px #999; }
a.ef-layout-whatsapp img { display: block; width: 35px; height: 35px; object-fit: contain; }
dialog.ef-layout-popup { position: fixed; inset: 0; width: fit-content; height: fit-content; max-width: min(80vw, 1000px); max-height: 90vh; margin: auto; padding: 0; border: 0; border-radius: 8px; background: #fff; overflow: auto; }
dialog.ef-layout-popup:not([open]) { display: none; }
dialog.ef-layout-popup::backdrop { background: rgba(0,0,0,.8); }
.ef-layout-popup .ef-layout-popup__content { position: relative; padding: 15px; }
.ef-layout-popup .ef-layout-popup__image { display: block; width: auto; max-width: 100%; max-height: calc(90vh - 30px); height: auto; object-fit: contain; border-radius: 5px; }
.ef-layout-popup .ef-layout-popup__close { position: absolute; top: 7px; right: 7px; z-index: 1; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; color: #102924; font: 500 27px/1 Arial,sans-serif; cursor: pointer; box-shadow: 0 1px 6px #0003; }

@media (max-width: 1279px) {
    .ef-layout-header .ef-layout-header__inner { width: calc(100% - 64px); gap: 20px; grid-template-columns: minmax(155px,1fr) auto minmax(160px,1fr); }
    .ef-layout-header .ef-layout-header__brand img { width: 155px; }
    .ef-layout-header .ef-layout-header__cta--desktop { min-width: 160px; padding-inline: 18px; font-size: 15px; }
    .ef-layout-header .ef-layout-header__links { gap: 17px; }
    .ef-layout-footer .ef-layout-footer__inner { width: calc(100% - 100px); }
}
@media (max-width: 1099px) {
    .ef-layout-header .ef-layout-header__inner { width: calc(100% - 48px); min-height: 76px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0; }
    .ef-layout-header .ef-layout-header__brand img { width: 154px; }
    .ef-layout-header .ef-layout-header__cta--desktop { display: none; }
    .ef-layout-header .ef-layout-header__nav { width: 100%; padding: 10px 0 24px; }
    .ef-layout-header .ef-layout-header__links { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
    .ef-layout-header .ef-layout-header__links li { border-bottom: 1px solid #e5ebe7; }
    .ef-layout-header .ef-layout-header__link { padding: 14px 0; font-size: 16px; white-space: normal; }
    .ef-layout-header .ef-layout-header__cta--mobile { display: inline-flex; margin-top: 20px; width: 100%; max-width: 320px; }
    /* Without JS the navigation remains visible. */
    .ef-layout-header.ef-menu-ready .ef-layout-header__toggle { display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; margin: 0; padding: 0; border: 1px solid #e0e8e1; border-radius: 8px; background: #fff; color: var(--ef-layout-green); cursor: pointer; }
    .ef-layout-header .ef-layout-header__toggle span { display: block; width: 22px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
    .ef-layout-header.ef-menu-ready .ef-layout-header__nav { display: none; position: absolute; top: 100%; left: 0; right: 0; max-height: calc(100vh - 77px); max-height: calc(100dvh - 77px); overflow-y: auto; overscroll-behavior: contain; padding: 8px 24px 24px; background: #fff; border-bottom: 1px solid #d9e3dc; box-shadow: 0 12px 20px #0b3e3412; }
    .ef-layout-header.ef-menu-ready.is-menu-open .ef-layout-header__nav { display: block; }
    .ef-layout-header.is-menu-open .ef-layout-header__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .ef-layout-header.is-menu-open .ef-layout-header__toggle span:nth-child(2) { opacity: 0; }
    .ef-layout-header.is-menu-open .ef-layout-header__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 850px) {
    footer.ef-layout-footer { padding-block: 48px 32px; }
    .ef-layout-footer .ef-layout-footer__inner { width: calc(100% - 64px); }
    .ef-layout-footer .ef-layout-footer__grid { grid-template-columns: repeat(3, minmax(0,1fr)); column-gap: 24px; row-gap: 32px; }
    .ef-layout-footer .ef-layout-footer__brand-col { grid-column: 1/-1; padding-right: 0; }
    .ef-layout-footer .ef-layout-footer__brand { margin-bottom: 18px; }
    .ef-layout-footer .ef-layout-footer__bottom { margin-top: 36px; }
}
@media (max-width: 575px) {
    .ef-layout-header .ef-layout-header__inner { width: calc(100% - 36px); min-height: 68px; }
    .ef-layout-header .ef-layout-header__brand img { width: 145px; }
    .ef-layout-header.ef-menu-ready .ef-layout-header__nav { padding-inline: 18px; max-height: calc(100vh - 69px); max-height: calc(100dvh - 69px); }
    .ef-layout-header .ef-layout-header__cta--mobile { max-width: none; }
    footer.ef-layout-footer { padding-block: 40px 28px; }
    .ef-layout-footer .ef-layout-footer__inner { width: calc(100% - 40px); }
    .ef-layout-footer .ef-layout-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 28px 20px; }
    .ef-layout-footer .ef-layout-footer__column { padding-right: 0; }
    .ef-layout-footer .ef-layout-footer__column:last-child { grid-column: 1/-1; }
    .ef-layout-footer .ef-layout-footer__column h2 { margin-bottom: 14px; }
    .ef-layout-footer .ef-layout-footer__column ul { gap: 12px; }
    .ef-layout-footer .ef-layout-footer__bottom { margin-top: 28px; padding-top: 18px; }
    .ef-layout-footer .ef-layout-footer__bottom p { font-size: 12px; }
    dialog.ef-layout-popup { max-width: 92vw; }
    a.ef-layout-whatsapp { width: 48px; height: 48px; }
    a.ef-layout-whatsapp img { width: 30px; height: 30px; }
}
@media (prefers-reduced-motion: reduce) {
    .ef-layout-header *, .ef-layout-footer * { transition: none !important; }
    .ef-layout-header .ef-layout-header__cta:hover { transform: none; }
}

/*extra css*/

/* Default font */
body, span, p, a, li {
    font-family: 'DM Sans', sans-serif !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif !important;
}

/* Talk to Our Team — desktop dropdown and mobile disclosure */
.ef-layout-header .ef-layout-team {
    position: relative;
    min-width: 0;
    margin: 0;
}
.ef-layout-header .ef-layout-team--desktop {
    justify-self: end;
}
.ef-layout-header .ef-layout-team--mobile {
    display: none;
}
.ef-layout-header .ef-layout-team__trigger {
    position: relative;
    cursor: pointer;
    list-style: none;
    width: 100%;
    font-family: 'DM Sans', sans-serif;
    transform: none;
}
.ef-layout-header .ef-layout-team__trigger::-webkit-details-marker {
    display: none;
}
.ef-layout-header .ef-layout-team__trigger::marker {
    content: "";
}
.ef-layout-header .ef-layout-team__trigger::after {
    content: "";
    position: absolute;
    right: 10px;
    top: 50%;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-70%) rotate(45deg);
    transition: transform .2s ease;
    margin: auto 12px;
}
.ef-layout-header .ef-layout-team[open] > .ef-layout-team__trigger::after {
    transform: translateY(-25%) rotate(225deg);
}
.ef-layout-header .ef-layout-team[open] > .ef-layout-team__trigger,
.ef-layout-header .ef-layout-team__trigger:hover {
    background: #bada3b;
    transform: none;
}
.ef-layout-header .ef-layout-team__trigger:focus-visible {
    outline: 2px solid #88b71c;
    outline-offset: 4px;
}
.ef-layout-header .ef-layout-team__panel {
    position: absolute;
    top: 100%;
    right: 0;
    width: min(288px, calc(100vw - 36px));
    padding-top: 10px; /* continuous hover area */
    z-index: 10;
}
.ef-layout-header .ef-layout-team:not([open]) > .ef-layout-team__panel {
    display: none;
}
.ef-layout-header .ef-layout-team__list {
    display: flex;
    flex-direction: column;
    list-style: none;
    padding: 7px;
    margin: 0;
    border: 1px solid #dfe8e1;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(11,62,52,.13);
}
.ef-layout-header .ef-layout-team__list li {
    list-style: none;
    padding: 0;
    margin: 0;
    border: 0;
}
.ef-layout-header .ef-layout-team__list a {
    display: block;
    padding: 12px 13px;
    border-radius: 8px;
    color: #0b3e34;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    white-space: normal;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}
.ef-layout-header .ef-layout-team__list a:hover,
.ef-layout-header .ef-layout-team__list a:focus-visible {
    color: #0b3e34;
    background: #eef6d5;
}
@media (max-width: 1099px) {
    .ef-layout-header .ef-layout-team--desktop { display: none; }
    .ef-layout-header .ef-layout-team--mobile {
        display: block;
        width: 100%;
        max-width: 320px;
        margin-top: 20px;
    }
    .ef-layout-header .ef-layout-team__trigger.ef-layout-header__cta--mobile {
        margin-top: 0;
        max-width: none;
        padding-inline: 28px;
    }
    .ef-layout-header .ef-layout-team__trigger::after { right: 17px; }
    .ef-layout-header .ef-layout-team__panel {
        position: static;
        width: 100%;
        padding-top: 8px;
    }
    .ef-layout-header .ef-layout-team__list {
        box-shadow: none;
        background: #f8faf5;
    }
    .ef-layout-header .ef-layout-team__list a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}
@media (max-width: 575px) {
    .ef-layout-header .ef-layout-team--mobile { max-width: none; }
}
