/* Site footer (round 17, 2026-10-12): CTA card → ridge line → navy footer → memberships/payments → bottom bar. */
.mdfoot { --ink: #0a2540; --navy: #0a2540; --navy-2: #071c33; --blue: #0073ad; --sky: #7cc4ea; --green: #15803d; --wa: #15803d; position: relative; margin-top: 40px; color: rgba(255, 255, 255, .78); font-family: var(--font-body, "Manrope", sans-serif); background: none; }
.mdfoot > .container:first-child { position: relative; z-index: 2; margin-bottom: -150px; }
.mdfoot a { text-decoration: none !important; }
.mdfoot ul { margin: 0 !important; padding: 0 !important; list-style: none; }
.mdfoot li { display: block !important; }
.mdfoot h3, .mdfoot .mdfoot-title { line-height: 1.35; margin: 0 0 18px !important; padding: 0 !important; font-size: 12.5px !important; font-weight: 800 !important; letter-spacing: .14em !important; text-transform: uppercase; color: #fff !important; }

/* CTA card floating over the edge */
.mdfoot-cta { position: relative; z-index: 2; isolation: isolate; display: flex; align-items: center; justify-content: space-between; gap: 28px 40px; flex-wrap: wrap; min-height: 260px; padding: 48px 56px; border-radius: 30px; overflow: hidden; background: #0b4d78; box-shadow: 0 40px 80px -40px rgba(10, 37, 64, .7); }
.mdfoot-cta-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; }
.mdfoot-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(10, 37, 64, .94) 0%, rgba(10, 37, 64, .78) 45%, rgba(0, 92, 140, .35) 100%); }
.mdfoot-cta-copy { max-width: 620px; }
.mdfoot-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 12px !important; font-size: 12.5px !important; font-weight: 800 !important; letter-spacing: .14em; text-transform: uppercase; color: var(--sky) !important; }
.mdfoot-eyebrow::before { content: ""; width: 30px; height: 2px; border-radius: 2px; background: currentColor; }
.mdfoot-cta h2, .mdfoot-cta .mdfoot-cta-title { margin: 0 0 16px !important; padding: 0 !important; font-size: clamp(28px, 3.2vw, 44px) !important; font-weight: 800 !important; line-height: 1.08 !important; letter-spacing: -.035em !important; color: #fff !important; }
.mdfoot-rev { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.mdfoot-rev li { font-size: 13.5px; font-weight: 600; color: rgba(255, 255, 255, .85); }
.mdfoot-rev i { color: #f5a524; font-size: 12px; }
.mdfoot-rev b { color: #fff; }
.mdfoot-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mdfoot-btn { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 26px; border-radius: 999px; font-size: 15.5px; font-weight: 800; color: #fff !important; transition: transform .2s, background .2s, box-shadow .2s; }
.mdfoot-btn--green { background: var(--green); box-shadow: 0 16px 30px -14px rgba(5, 60, 25, .9); }
.mdfoot-btn--green:hover { background: #188a4c; transform: translateY(-2px); }
.mdfoot-btn--green i { transition: transform .2s; }
.mdfoot-btn--green:hover i { transform: translateX(4px); }
.mdfoot-btn--glass { background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.mdfoot-btn--glass:hover { background: rgba(255, 255, 255, .22); transform: translateY(-2px); }
.mdfoot-btn--glass i { font-size: 18px; color: #fff; }
.mdfoot-btn--wa { background: var(--wa); border-color: var(--wa); backdrop-filter: none; -webkit-backdrop-filter: none; }
.mdfoot-btn--wa:hover { background: #1ebe5b; }

/* ridge */
.mdfoot-ridge { display: block; width: 100%; height: 120px; position: relative; z-index: 1; }
.mdfoot-ridge .r1 { fill: #0e3354; }
.mdfoot-ridge .r2 { fill: var(--navy); }

/* main */
.mdfoot-main { position: relative; padding: 70px 0 8px; background: var(--navy); }
.mdfoot-main::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px); background-size: 24px 24px; mask-image: linear-gradient(180deg, #000, transparent 70%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 70%); pointer-events: none; }
.mdfoot-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(auto-fit, minmax(150px, 1fr)); gap: 40px 48px; padding-bottom: 48px; }
.mdfoot-logo { display: inline-block; padding: 12px 16px; margin-bottom: 20px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .6); }
.mdfoot-logo img { display: block; height: 52px; width: auto; }
.mdfoot-brand p { margin: 0 0 14px !important; max-width: 340px; font-size: 14.5px !important; line-height: 1.65 !important; font-weight: 500; color: rgba(255, 255, 255, .72) !important; }
.mdfoot-addr { display: flex; gap: 8px; align-items: baseline; }
.mdfoot-addr i { color: var(--sky); }
.mdfoot-social { display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 20px !important; }
.mdfoot-social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: #fff !important; font-size: 16px; transition: background .2s, transform .2s, border-color .2s; }
.mdfoot-social a:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-2px); }
.mdfoot-col li + li { margin-top: 11px; }
.mdfoot-col a { position: relative; display: inline-flex; align-items: center; gap: 9px; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .74) !important; transition: color .15s, transform .15s; }
.mdfoot-col a:hover { color: #fff !important; transform: translateX(3px); }
.mdfoot-col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.mdfoot-col a:hover::after { transform: scaleX(1); }
.mdfoot-contact a { color: #fff !important; font-weight: 700; }
.mdfoot-contact i { width: 16px; color: var(--sky); text-align: center; }
.mdfoot-contact i.fa-whatsapp { color: var(--wa); font-size: 16px; }

/* memberships + payments */
.mdfoot-trust { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 28px 40px; padding: 32px 0 40px; border-top: 1px solid rgba(255, 255, 255, .1); }
.mdfoot-trust h3, .mdfoot-trust .mdfoot-title { margin-bottom: 14px !important; font-size: 11.5px !important; color: rgba(255, 255, 255, .6) !important; }
.mdfoot-members ul, .mdfoot-pay ul { display: flex !important; flex-wrap: wrap; gap: 8px; }
.mdfoot-members a { display: grid; place-items: center; width: 56px; height: 56px; padding: 6px; border-radius: 14px; background: #fff; transition: transform .2s, box-shadow .2s; }
.mdfoot-members a:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .6); }
.mdfoot-members img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mdfoot-pay-row { display: flex; align-items: center; gap: 12px; }
.mdfoot-pay li { display: grid !important; place-items: center; height: 44px; padding: 6px 12px; border-radius: 10px; background: #fff; }
.mdfoot-pay img { height: 24px; width: auto; }
.mdfoot-paynow { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border-radius: 10px; background: var(--blue); color: #fff !important; font-size: 14px; font-weight: 800; transition: background .2s; }
.mdfoot-paynow:hover { background: #0a93d8; }
.mdfoot-paynow i { font-size: 11px; }

/* bottom bar */
.mdfoot-bottom { background: var(--navy-2); }
.mdfoot-bottom .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; padding-top: 18px; padding-bottom: 18px; }
.mdfoot-bottom p { margin: 0 !important; font-size: 13px !important; font-weight: 500; color: rgba(255, 255, 255, .6) !important; }
.mdfoot-bottom a { color: rgba(255, 255, 255, .75) !important; font-size: inherit !important; font-weight: 600; }
.mdfoot-bottom a:hover { color: #fff !important; }

@media (max-width: 991.98px) {
    .mdfoot-cta { padding: 36px 28px; border-radius: 24px; }
    .mdfoot-main { padding-top: 110px; }
    .mdfoot-rev { gap: 6px 14px; }
    .mdfoot-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .mdfoot-brand { grid-column: 1 / -1; }
    .mdfoot-contact { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .mdfoot-cta-actions, .mdfoot-btn { width: 100%; justify-content: center; }
    .mdfoot-ridge { height: 80px; }
    .mdfoot-bottom .container { justify-content: center; text-align: center; padding-bottom: 90px; }
}

/* ---------- round 20 ---------- */
/* style.css gives every <footer> 60px padding top and bottom: that was the white band above the CTA and below the bottom bar */
footer.mdfoot { margin-top: 0; padding: 32px 0 0 !important; }
.mdfoot-grid { padding-bottom: 36px; }
.mdfoot-trust { padding-bottom: 28px; }
/* the old footer illustration (trekker, rafting, rhino, elephant under the Himalaya) as a quiet navy silhouette;
   its ground runs straight into the bottom bar */
.mdfoot-scene { position: relative; height: clamp(96px, 11.5vw, 210px); margin-top: -8px; background: url("../images/footer-scene.svg") center bottom / cover no-repeat; pointer-events: none; }
.mdfoot-main + .mdfoot-scene { background-color: var(--navy); }
@media (max-width: 575.98px) { .mdfoot-scene { height: 84px; background-size: auto 100%; } }
/* homepage ends on the light-grey news band: the strip behind the CTA card continues it instead of showing a white gap */
body:has(.blog-home) footer.mdfoot { background: linear-gradient(#f5f7f9 0 40%, transparent 40%) !important; padding-top: 8px !important; }
