/* ============================================================================
   v0.1.71 (additive) — SABJISTORE "DEEP GREEN FRESH" REFERENCE THEME LAYER.
   NEW FILE, 100% additive. Loads AFTER modern-v2.css on every public page, so
   every rule below wins the cascade without touching main.css, polish.css,
   modern.css, modern-v2.css or any page's markup, handlers or logic.

   Why: the user supplied a fresh-grocery homepage reference (green identity,
   real produce photography, rounded promo/farm/blog/newsletter sections and
   a deep-green footer) and asked for exactly that layout & style language,
   in DEEP GREEN, while keeping every current menu item and behaviour.

   Safety rules used while writing this layer:
     - No existing rule is modified or removed — every restyle below is a
       later, same-or-higher-specificity re-declaration of visual props.
     - All NEW content carries the md71- prefix (sections, classes, ids) so
       nothing can collide with existing markup or the md69-/md70- layers.
     - The only JS this layer needs is modern-v3.js, bound exclusively to
       the NEW #md71-news-form (validated client-side, stores opt-ins in
       localStorage); no existing element, handler or endpoint is touched.
     - Images are LOCAL files under assets/img/ (shipped inside the package).
     - Palette stays 100% inside the green family: deep forest greens for
       surfaces, fresh greens for actions, pale lime-greens for accents —
       no amber/yellow/gold anywhere (the v0.1.70 layer already re-pointed
       the shared tokens; any leftover hardcoded amber in the footer is
       re-declared green here).
     - prefers-reduced-motion disables every added effect.
   ============================================================================ */

/* ---------------------------------------------------------------------------
   0. TOKENS — the deep-green fresh palette
   --------------------------------------------------------------------------- */
:root {
    --md71-ink: #052e16;          /* deepest forest green (headings on light) */
    --md71-deep: #14532d;         /* deep brand green (bar end / footer) */
    --md71-deep-2: #166534;       /* deep green mid */
    --md71-leaf: #15803d;         /* leafy green (gradient start) */
    --md71-green: #22c55e;        /* fresh action green */
    --md71-mint: #4ade80;         /* light green accent on dark surfaces */
    --md71-pale: #d9f99d;         /* pale lime-green (accents on green banners) */
    --md71-cream: #f6fbf1;        /* soft fresh surface */
    --md71-mist: #f0fdf4;         /* pale green surface */
    --md71-line: rgba(20, 83, 45, 0.14);
    --md71-radius: 28px;
}

/* ---------------------------------------------------------------------------
   1. HEADER BAND — teal -> DEEP GREEN (ribbon + navbar re-skinned)
   --------------------------------------------------------------------------- */
.ribbon {
    background-image: linear-gradient(90deg, #052e16 0%, #14532d 50%, #052e16 100%);
}
.navbar {
    background-image: linear-gradient(120deg,
        var(--md71-leaf) 0%, var(--md71-deep-2) 55%, var(--md71-deep) 100%);
    box-shadow:
        inset 0 -3px 0 rgba(74, 222, 128, 0.85),
        0 10px 30px rgba(5, 46, 22, 0.35);
}
#nav-container-to-replace.md69-scrolled .navbar {
    box-shadow:
        inset 0 -3px 0 rgba(74, 222, 128, 0.85),
        0 8px 26px rgba(5, 46, 22, 0.45);
}
.navbar .logo img {
    box-shadow:
        0 0 0 2px rgba(74, 222, 128, 0.8),
        0 4px 14px rgba(5, 46, 22, 0.45);
}
.navbar .logo img:hover {
    box-shadow:
        0 0 0 3px rgba(74, 222, 128, 0.95),
        0 8px 22px rgba(5, 46, 22, 0.55);
}
.navbar #brand-name-header:hover {
    color: var(--md71-mint);
}
.navbar-nav a:hover {
    color: var(--md71-mint);
}
.navbar-nav #login-link {
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
}
.navbar-nav #login-link:hover {
    background-image: linear-gradient(120deg, #6ee7a0, #16a34a);
}
.search-btn {
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.45);
}
.search-btn:hover {
    box-shadow: 0 6px 18px rgba(21, 128, 61, 0.6);
}
.cart-count {
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    box-shadow: 0 3px 10px rgba(21, 128, 61, 0.5);
}
.dropdown-content {
    box-shadow:
        inset 0 3px 0 var(--md71-green),
        0 18px 42px rgba(5, 46, 22, 0.30);
    border: 1px solid rgba(20, 83, 45, 0.12);
}
.dropdown-content a {
    color: #14532d;
}
.dropdown-content a:hover {
    background: var(--md71-mist);
    color: var(--md71-ink);
}

/* ---------------------------------------------------------------------------
   1b. SHARED TEAL/BLUE TEXT ACCENTS -> deep green (audit-driven re-points;
       border flags from computed styles are just currentColor artefacts)
   --------------------------------------------------------------------------- */
.ribbon {
    background-color: #14532d;            /* fallback behind the green gradient */
}
.search-input {
    color: #14532d;
}
.search-btn {
    background-color: #15803d;            /* fallback behind the green gradient */
}
.cart-count {
    background-color: #14532d;            /* fallback behind the green gradient */
}
.cart-icon,
.cart-icon a {
    color: #ffffff;
}
.text-container,
.text-container h2,
.text-container h3 {
    color: var(--md71-ink);
}
.text-container p {
    color: #3f5c4d;
}
.text-container strong,
.text-container .highlight,
.highlight {
    color: var(--md71-leaf);
}
.section-title {
    color: var(--md71-ink);
}

/* ---------------------------------------------------------------------------
   1c. PAGE-INLINE TEAL ACCENTS — index.php's own <style> block loads after the
       linked css files, so these need equal-or-higher-specificity re-points
   --------------------------------------------------------------------------- */
.section-title.section-title {
    color: var(--md71-ink);
}
.how-it-works-section .step-number {
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    background-color: #15803d;            /* fallback behind the gradient */
}
main #next-day-delivery .text-container {
    color: var(--md71-ink);
}
main #next-day-delivery h2 {
    color: var(--md71-deep);
}
main #next-day-delivery p.highlight {
    color: var(--md71-leaf);
}
main #next-day-delivery .text-container strong {
    color: var(--md71-leaf);
}
.call-btn {
    background-color: #15803d;
}
.call-btn:hover {
    background-color: #14532d;
}

/* ---------------------------------------------------------------------------
   1d. CROSS-PAGE RE-POINTS — each page's own <style> block loads after the
       linked css files (equal-specificity ties go to the page), so every fix
       below carries one extra class/prefix of specificity. Purely visual.
   --------------------------------------------------------------------------- */
:root:root {
    --accent-orange: #16a34a;             /* b2b/about/contact amber var -> green */
}
.swal2-popup .swal2-confirm {
    background-color: #16a34a !important; /* JS-styled confirm button, visual only */
}
body h2 {
    color: var(--md71-deep);              /* shop/login page headings */
}
.how-it-works-section .step-card strong {
    color: var(--md71-leaf);
}
body .login-form h2 {
    color: var(--md71-deep);
}
body .login-form input:focus {
    border-color: var(--md71-green);
}
body .login-form button {
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    background-color: #15803d;
    color: #ffffff;
}
body .login-form .signup-link a,
body .login-form .forgot-password-link a {
    color: var(--md71-leaf);
}
button#submit-order-btn {
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    background-color: #15803d;
    color: #ffffff;
}
body #cart-outlet-select:focus {
    border-color: var(--md71-green);
}
.add-to-cart.add-to-cart {
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    background-color: #15803d;
    color: #ffffff;
}
.add-to-cart.add-to-cart:hover {
    background-image: linear-gradient(120deg, #3fe3ab, #16a34a);
    background-color: #14532d;
}
.total-count.total-count {
    color: var(--md71-leaf);
}
.category-btn.category-btn.active {
    border-color: var(--md71-green);
    background-color: var(--md71-mist);
}

/* ---------------------------------------------------------------------------
   2. HERO — gradient end tuned to meet the deep-green navbar; real photo,
      organic badge (markup inserted additively by scripts/insert-content-0171.py)
   --------------------------------------------------------------------------- */
.md70-hero {
    background:
        radial-gradient(1100px 480px at 85% -10%, rgba(74, 222, 128, 0.22), transparent 60%),
        radial-gradient(900px 420px at -10% 110%, rgba(20, 83, 45, 0.45), transparent 55%),
        linear-gradient(135deg, #064e3b 0%, #0b5e44 52%, var(--md71-deep) 100%);
}
.md70-hero-art {
    z-index: 0;
}
.md71-hero-photo {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.md71-hero-photo img {
    width: min(390px, 92%);
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 30px;
    border: 4px solid rgba(255, 255, 255, 0.18);
    background: #ffffff;
    box-shadow:
        0 26px 60px rgba(3, 32, 20, 0.55),
        0 0 0 10px rgba(255, 255, 255, 0.06);
    transform: rotate(1.5deg);
}
.md71-organic-badge {
    position: absolute;
    z-index: 3;
    bottom: 26px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--md71-ink);
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 0.4px;
    box-shadow: 0 14px 34px rgba(3, 32, 20, 0.45);
    transform: rotate(3deg);
}
.md71-organic-badge i {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    color: #ffffff;
    font-size: 15px;
}
.md71-organic-badge small {
    display: block;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--md71-leaf);
}
/* the glass chips stay ABOVE the photo */
.md70-chip {
    z-index: 2;
}
.md70-chip-a { top: 14px; left: -4px; }
.md70-chip-b { bottom: 110px; right: -6px; }
/* quiet the decorative orbs so the photo reads as the hero subject */
.md70-orb-1 { opacity: 0.55; }
.md70-orb-2 { display: none; }

/* ---------------------------------------------------------------------------
   3. PROMO BANNER — "Limited Time Offer" fresh-deals strip (NEW md71- block
      inserted after the features strip, before <main>)
   --------------------------------------------------------------------------- */
.md71-promo {
    max-width: 1200px;
    margin: 40px auto 0;
    padding: 0 28px;
}
.md71-promo-inner {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-radius: var(--md71-radius);
    background: linear-gradient(115deg, var(--md71-deep) 0%, var(--md71-leaf) 58%, var(--md71-green) 100%);
    box-shadow: 0 22px 50px rgba(20, 83, 45, 0.35);
    color: #ffffff;
    min-height: 216px;
}
.md71-promo-copy {
    flex: 1.15;
    min-width: 0;
    position: relative;
    z-index: 2;
    padding: 30px 10px 30px 38px;
}
.md71-promo-chip {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.26);
    color: #ffffff;
    border-radius: 999px;
    padding: 6px 15px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.md71-promo-title {
    margin: 14px 0 6px;
    font-size: 42px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 18px rgba(5, 46, 22, 0.45);
}
.md71-promo-title .md71-off {
    color: var(--md71-pale);
}
.md71-promo-sub {
    margin: 0 0 18px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.86);
}
.md71-promo-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: var(--md71-deep);
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 28px rgba(5, 46, 22, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.md71-promo-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(5, 46, 22, 0.5);
    color: var(--md71-deep);
}
.md71-promo-script {
    position: absolute;
    z-index: 3;
    right: 34px;
    top: 16px;
    font-family: Georgia, 'Times New Roman', serif;
    font-style: italic;
    font-size: 23px;
    color: var(--md71-pale);
    text-shadow: 0 3px 12px rgba(5, 46, 22, 0.55);
    transform: rotate(-3deg);
}
.md71-promo-art {
    flex: 0.9;
    min-width: 300px;
    align-self: stretch;
    position: relative;
}
.md71-promo-art img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 34%);
}
.md71-leaf-deco {
    position: absolute;
    color: rgba(255, 255, 255, 0.28);
    pointer-events: none;
}

/* ---------------------------------------------------------------------------
   4. FARM STORY — photo + promise checklist (NEW md71- block, before footer)
   --------------------------------------------------------------------------- */
.md71-story {
    max-width: 1200px;
    margin: 64px auto 0;
    padding: 0 28px;
}
.md71-story-inner {
    display: flex;
    align-items: center;
    gap: 44px;
    background: linear-gradient(145deg, var(--md71-mist) 0%, #ffffff 70%);
    border: 1px solid rgba(34, 197, 94, 0.16);
    border-radius: var(--md71-radius);
    padding: 42px;
    box-shadow: 0 18px 44px rgba(9, 97, 113, 0.08);
}
.md71-story-media {
    flex: 1;
    min-width: 0;
    position: relative;
}
.md71-story-media img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 24px;
    transform: rotate(-1.5deg);
    box-shadow: 0 22px 50px rgba(20, 83, 45, 0.28);
}
.md71-story-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--md71-deep);
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.6px;
    box-shadow: 0 12px 26px rgba(5, 46, 22, 0.3);
}
.md71-story-badge i {
    color: var(--md71-green);
}
.md71-story-copy {
    flex: 1.1;
    min-width: 0;
}
.md71-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--md71-leaf);
    background: rgba(34, 197, 94, 0.10);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 999px;
    padding: 6px 16px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.md71-story-copy h2 {
    margin: 16px 0 12px;
    font-size: 33px;
    line-height: 1.18;
    font-weight: 800;
    color: var(--md71-ink);
    letter-spacing: -0.4px;
}
.md71-story-copy p {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 1.75;
    color: #4b6b57;
}
.md71-check {
    list-style: none;
    margin: 0 0 24px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px 18px;
}
.md71-check li {
    display: flex;
    align-items: center;
    gap: 11px;
    font-size: 14px;
    font-weight: 700;
    color: var(--md71-deep);
}
.md71-check li i {
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    color: #ffffff;
    font-size: 12.5px;
    box-shadow: 0 5px 12px rgba(21, 128, 61, 0.35);
}
.md71-story-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    color: #ffffff;
    border-radius: 999px;
    padding: 12px 26px;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(21, 128, 61, 0.4);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.md71-story-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(21, 128, 61, 0.5);
    color: #ffffff;
}

/* ---------------------------------------------------------------------------
   5. BLOG & TIPS — three fresh cards (NEW md71- block, before footer)
   --------------------------------------------------------------------------- */
.md71-blog {
    max-width: 1200px;
    margin: 64px auto 0;
    padding: 0 28px;
}
.md71-blog-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 26px;
}
.md71-blog-head h2 {
    margin: 14px 0 6px;
    font-size: 33px;
    font-weight: 800;
    color: var(--md71-ink);
    letter-spacing: -0.4px;
}
.md71-blog-head p {
    margin: 0;
    font-size: 14.5px;
    color: #5b7268;
}
.md71-blog-note {
    font-size: 13px;
    font-weight: 700;
    color: var(--md71-leaf);
    white-space: nowrap;
    padding-bottom: 6px;
}
.md71-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}
.md71-post {
    background: #ffffff;
    border: 1px solid rgba(34, 197, 94, 0.14);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(9, 97, 113, 0.09);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.md71-post:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(9, 97, 113, 0.15);
}
.md71-post-media {
    position: relative;
    height: 172px;
    overflow: hidden;
}
.md71-post-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}
.md71-post:hover .md71-post-media img {
    transform: scale(1.05);
}
.md71-post-date {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(255, 255, 255, 0.96);
    color: var(--md71-leaf);
    border-radius: 12px;
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.5px;
    box-shadow: 0 8px 18px rgba(5, 46, 22, 0.25);
}
.md71-post-body {
    padding: 18px 20px 20px;
}
.md71-post-body h3 {
    margin: 0 0 8px;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--md71-ink);
    line-height: 1.35;
}
.md71-post-body p {
    margin: 0 0 14px;
    font-size: 13.5px;
    line-height: 1.6;
    color: #5b7268;
}
.md71-post-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 800;
    color: var(--md71-leaf);
    letter-spacing: 0.3px;
}

/* ---------------------------------------------------------------------------
   6. NEWSLETTER — deep-green subscribe bar (NEW md71- block, before footer;
      behaviour in modern-v3.js, bound ONLY to #md71-news-form)
   --------------------------------------------------------------------------- */
.md71-news {
    max-width: 1200px;
    margin: 64px auto 70px;
    padding: 0 28px;
}
.md71-news-inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 30px;
    overflow: hidden;
    border-radius: var(--md71-radius);
    background: linear-gradient(115deg, #052e16 0%, var(--md71-deep) 46%, var(--md71-leaf) 100%);
    padding: 36px 42px;
    color: #ffffff;
    box-shadow: 0 22px 50px rgba(5, 46, 22, 0.4);
}
.md71-news-intro {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
    z-index: 2;
}
.md71-news-ico {
    flex: 0 0 auto;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: var(--md71-mint);
    font-size: 24px;
}
.md71-news-intro h2 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.3px;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(6, 40, 24, 0.35);
}
.md71-news-intro p {
    margin: 0;
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.8);
}
.md71-news-form {
    flex: 1;
    max-width: 520px;
    position: relative;
    z-index: 2;
}
.md71-news-row {
    display: flex;
    gap: 10px;
}
.md71-news-input {
    flex: 1;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 13px 22px;
    font-size: 14px;
    color: var(--md71-ink);
    background: #ffffff;
    outline: none;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.md71-news-input::placeholder {
    color: #7a9384;
}
.md71-news-input:focus {
    border-color: var(--md71-mint);
    box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.25);
}
.md71-news-btn {
    flex: 0 0 auto;
    border: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 13px 28px;
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    background-image: linear-gradient(120deg, var(--md71-mint), var(--md71-leaf));
    box-shadow: 0 10px 24px rgba(5, 46, 22, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.md71-news-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
    box-shadow: 0 14px 30px rgba(5, 46, 22, 0.55);
}
.md71-news-msg {
    min-height: 20px;
    margin-top: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--md71-pale);
    padding-left: 22px;
}
.md71-news-msg.md71-news-err {
    color: #fecaca;
}
.md71-news-msg.md71-news-ok {
    color: var(--md71-mint);
}

/* ---------------------------------------------------------------------------
   7. FOOTER — deep-green restyle of the JS-rendered footer (visual props only)
   --------------------------------------------------------------------------- */
footer {
    background-color: var(--md71-deep);
    background-image: linear-gradient(160deg, #052e16 0%, var(--md71-deep) 55%, #0f4a27 100%);
}
/* polish.css painted the inner container teal — deepen it to the green family */
footer .footer-container,
.footer-container {
    background-image: linear-gradient(180deg, rgba(5, 46, 22, 0.55) 0%, rgba(4, 38, 20, 0.75) 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border-radius: 24px 24px 0 0;
}
.footer-quick-links h3,
.footer-contact h3 {
    color: #ffffff;
}
.footer-quick-links a,
.footer-contact p,
.footer-contact a {
    color: rgba(255, 255, 255, 0.85);
}
.footer-quick-links a:hover,
.footer-contact a:hover {
    color: var(--md71-mint);
}
/* main.css coloured the contact/quick-link icons amber — re-point to green */
.footer-contact i,
.footer-quick-links li a i {
    color: var(--md71-mint);
}
.footer-quick-links li a:hover {
    color: var(--md71-mint);
}
.footer-logo #brand-name-footer {
    color: #ffffff;
}
.footer-logo p,
.footer-logo-social p {
    color: rgba(255, 255, 255, 0.75);
}
.footer-socials .social-icon {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    border-radius: 50%;
    transition: background-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}
.footer-socials .social-icon:hover {
    background: var(--md71-green);
    border-color: var(--md71-green);
    color: #ffffff;
    transform: translateY(-3px);
}
.footer-copy {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-copy p {
    color: rgba(255, 255, 255, 0.7);
}

/* ---------------------------------------------------------------------------
   8. RESPONSIVE
   --------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .md71-promo-title { font-size: 34px; }
    .md71-story-inner { padding: 30px; gap: 28px; }
    .md71-story-media img { height: 270px; }
    .md71-story-copy h2, .md71-blog-head h2 { font-size: 28px; }
    .md71-news-inner { flex-direction: column; align-items: stretch; padding: 30px 26px; }
    .md71-news-form { max-width: none; }
}
@media (max-width: 768px) {
    .md71-promo { margin-top: 30px; }
    .md71-promo-inner { flex-direction: column-reverse; min-height: 0; }
    .md71-promo-art { min-width: 0; width: 100%; height: 150px; }
    .md71-promo-art img {
        -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
        mask-image: linear-gradient(180deg, transparent 0%, #000 40%);
    }
    .md71-promo-copy { padding: 6px 24px 28px; }
    .md71-promo-script { display: none; }
    .md71-promo-title { font-size: 29px; }
    .md71-story { margin-top: 46px; }
    .md71-story-inner { flex-direction: column; padding: 24px 20px; }
    .md71-story-copy h2, .md71-blog-head h2 { font-size: 24px; }
    .md71-check { grid-template-columns: 1fr; }
    .md71-story-media img { height: 220px; }
    .md71-blog { margin-top: 46px; }
    .md71-blog-head { flex-direction: column; align-items: flex-start; }
    .md71-blog-grid { grid-template-columns: 1fr; }
    .md71-news { margin: 46px auto 54px; }
    .md71-news-intro { flex-direction: column; align-items: flex-start; gap: 14px; }
    .md71-news-row { flex-direction: column; }
    .md71-news-btn { width: 100%; }
    .md71-news-msg { padding-left: 4px; }
}

/* ---------------------------------------------------------------------------
   9. MOTION SAFETY
   --------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    .md71-post,
    .md71-post .md71-post-media img,
    .md71-promo-cta,
    .md71-story-cta,
    .md71-news-btn,
    .md71-news-input,
    .footer-socials .social-icon {
        transition: none;
    }
    .md71-post:hover { transform: none; }
    .md71-promo-cta:hover,
    .md71-story-cta:hover,
    .md71-news-btn:hover { transform: none; }
    .md71-post:hover .md71-post-media img { transform: none; }
}
