/* =====================================================================
   HEKTROVA FOOTER  -  footer.css  (v5, simple)
   Put this file in the ROOT of your child theme, next to footer.php.
   Theme colours: navy #04070d  |  green #2EE27A  |  Poppins + Inter
   ===================================================================== */

#hk-footer {
    --hk-bg: #04070d;
    --hk-green: #2EE27A;
    --hk-text: #ffffff;
    --hk-muted: rgba(255,255,255,.64);
    --hk-faint: rgba(255,255,255,.45);
    --hk-border: rgba(255,255,255,.09);

    position: relative;
    background: var(--hk-bg);
    border-top: 1px solid rgba(46,226,122,.35);
    color: var(--hk-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
}
#hk-footer *, #hk-footer *::before, #hk-footer *::after { box-sizing: border-box; }
#hk-footer h3, #hk-footer p, #hk-footer ul { margin: 0; padding: 0; }
#hk-footer ul { list-style: none; }
#hk-footer a { text-decoration: none; }
#hk-footer a:focus-visible { outline: 2px solid var(--hk-green); outline-offset: 3px; border-radius: 3px; }

/* =========================================================
   MAIN AREA
========================================================= */
#hk-footer .hk-footer__main { padding: 70px 0 56px; }
#hk-footer .hk-footer__grid {
    width: min(1200px, 90%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 48px;
}
#hk-footer .hk-footer__col { min-width: 0; }

/* ---------- brand ---------- */
#hk-footer .hk-footer__logo { display: inline-block; margin-bottom: 18px; line-height: 0; }
#hk-footer .hk-footer__logo-img { display: block; width: auto; height: 58px; max-width: 240px; object-fit: contain; }
#hk-footer .hk-footer__logo-text { color: #fff; font-family: 'Poppins', sans-serif; font-size: 22px; font-weight: 700; line-height: 1.2; }
#hk-footer .hk-footer__about { max-width: 330px; color: var(--hk-muted); font-size: 15px; line-height: 1.75; }

/* ---------- social ---------- */
#hk-footer .hk-footer__social { display: flex; gap: 10px; margin-top: 22px; }
#hk-footer .hk-social {
    display: flex; align-items: center; justify-content: center; width: 40px; height: 40px;
    border: 1px solid var(--hk-border); border-radius: 50%; color: var(--hk-muted);
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
#hk-footer .hk-social svg { display: block; width: 18px; height: 18px; }
#hk-footer .hk-ico-line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
#hk-footer .hk-ico-fill { fill: currentColor; stroke: none; }
#hk-footer .hk-ico-dot  { fill: currentColor; stroke: none; }
#hk-footer .hk-social:hover { background: var(--hk-green); border-color: var(--hk-green); color: #04100a; }

/* ---------- headings ---------- */
#hk-footer .hk-footer__heading {
    margin-bottom: 22px; color: #fff; font-family: 'Poppins', sans-serif; font-size: 17px; font-weight: 600; line-height: 1.3;
}
#hk-footer .hk-footer__heading::after { content: ""; display: block; width: 32px; height: 2px; margin-top: 10px; border-radius: 2px; background: var(--hk-green); }

/* ---------- menu links ---------- */
#hk-footer .hk-footer__links li + li { margin-top: 12px; }
#hk-footer .hk-footer__links a { display: inline-block; color: var(--hk-muted); font-size: 15px; line-height: 1.5; transition: color .25s ease, transform .25s ease; }
#hk-footer .hk-footer__links a:hover,
#hk-footer .hk-footer__links .current-menu-item > a,
#hk-footer .hk-footer__links .current_page_item > a { color: var(--hk-green); }
#hk-footer .hk-footer__links a:hover { transform: translateX(3px); }
#hk-footer .hk-footer__note { margin-top: 10px; color: var(--hk-faint); font-size: 12.5px; line-height: 1.5; }

/* ---------- contact ---------- */
#hk-footer .hk-contact li + li { margin-top: 16px; }
#hk-footer .hk-contact a { display: flex; align-items: flex-start; gap: 12px; color: var(--hk-muted); font-size: 15px; line-height: 1.65; transition: color .25s ease; }
#hk-footer .hk-contact svg { flex: none; width: 20px; height: 20px; margin-top: 2px; fill: none; stroke: var(--hk-green); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
#hk-footer .hk-contact span { min-width: 0; overflow-wrap: anywhere; }
#hk-footer .hk-contact a:hover { color: #fff; }

/* =========================================================
   BOTTOM BAR
========================================================= */
#hk-footer .hk-footer__bottom { border-top: 1px solid var(--hk-border); }
#hk-footer .hk-footer__bottom-inner {
    width: min(1200px, 90%); margin-inline: auto; padding: 20px 0;
    display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap;
}
#hk-footer .hk-footer__copy { color: var(--hk-faint); font-size: 14px; line-height: 1.6; }
#hk-footer .hk-footer__copy strong { color: rgba(255,255,255,.8); font-weight: 600; }
#hk-footer .hk-footer__legal { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; color: rgba(255,255,255,.2); font-size: 14px; }
#hk-footer .hk-footer__legal a { color: var(--hk-faint); transition: color .25s ease; }
#hk-footer .hk-footer__legal a:hover { color: var(--hk-green); }

/* =========================================================
   SIMPLE FADE-IN (only when JS runs)
========================================================= */
#hk-footer.hk-js .hk-rv { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
#hk-footer.hk-js .hk-rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    #hk-footer *, #hk-footer *::before, #hk-footer *::after { transition: none !important; animation: none !important; }
    #hk-footer.hk-js .hk-rv { opacity: 1; transform: none; }
}

/* =========================================================
   TABLET  (up to 991px)
   brand on top, then Company / Services / Contact in 3 columns
========================================================= */
@media (max-width: 991px) {
    #hk-footer .hk-footer__main { padding: 56px 0 44px; }
    #hk-footer .hk-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 32px; }
    #hk-footer .hk-footer__brand { grid-column: 1 / -1; }
    #hk-footer .hk-footer__about { max-width: 460px; }
}

/* =========================================================
   PHONE  (up to 640px)
   brand, Company + Services side by side, then Contact
========================================================= */
@media (max-width: 640px) {
    #hk-footer .hk-footer__main { padding: 44px 0 34px; }
    #hk-footer .hk-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px 20px; }
    #hk-footer .hk-footer__contact { grid-column: 1 / -1; }

    #hk-footer .hk-footer__logo { margin-bottom: 14px; }
    #hk-footer .hk-footer__logo-img { height: 52px; max-width: 210px; }
    #hk-footer .hk-footer__about { max-width: none; font-size: 14.5px; }
    #hk-footer .hk-footer__social { margin-top: 18px; }
    #hk-footer .hk-social { width: 44px; height: 44px; }

    #hk-footer .hk-footer__heading { margin-bottom: 14px; font-size: 16px; }
    #hk-footer .hk-footer__links li + li { margin-top: 2px; }
    #hk-footer .hk-footer__links a { padding: 8px 0; font-size: 14.5px; }   /* comfortable tap size */
    #hk-footer .hk-contact li + li { margin-top: 6px; }
    #hk-footer .hk-contact a { padding: 8px 0; font-size: 14.5px; }

    /* bottom bar: stacked and centred */
    #hk-footer .hk-footer__bottom-inner { flex-direction: column; justify-content: center; gap: 6px; padding: 18px 0 22px; text-align: center; }
    #hk-footer .hk-footer__copy, #hk-footer .hk-footer__legal { font-size: 13px; justify-content: center; }
}

/* very small phones: one column */
@media (max-width: 360px) {
    #hk-footer .hk-footer__grid { grid-template-columns: minmax(0, 1fr); }
}

/* touch screens: no sticky hover colours */
@media (hover: none) {
    #hk-footer .hk-social:hover { background: transparent; border-color: var(--hk-border); color: var(--hk-muted); }
    #hk-footer .hk-social:active { background: var(--hk-green); border-color: var(--hk-green); color: #04100a; }
    #hk-footer .hk-footer__links a:hover { transform: none; }
}