@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Poppins:wght@400;500;600;700&display=swap");
:root{
    --primary:        #c69e63;   /* your brand accent */
    --primary-soft:   #dab989;
    --black:          #0a0908;
    --black-soft:     #131110;
    --gray:           #2b2724;
    --gray-light:     #3a352f;
    --text-muted:     #cfc8bc;
    --text-dim:       #9a9186;
    --font-heading:   "Playfair Display", Georgia, serif;
    --font-body:      "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;
  }

  *{ box-sizing: border-box; }

  .hcd-footer{ width:100%; position: relative; }
  .hcd-footer a{ text-decoration:none; }
  .hcd-footer svg{ display:block; }

  /* thin brand hairline that runs across the very top of the footer */
  .hcd-footer::before{
    content:"";
    display:block;
    height:1px;
    background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
    opacity:.5;
  }

  /* ---------------------------------------------------------------
     ROW 1 — contact bar
     --------------------------------------------------------------- */
  .hcd-footer__bar-top{
    background: var(--black);
    padding: 26px 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
  }
  .hcd-footer__contact-item{
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--text-muted);
    font-size: 14.5px;
    font-weight: 500;
    white-space: nowrap;
    transition: color .25s ease;
  }
  .hcd-footer__contact-item:hover{ color: #fff; }
  .hcd-footer__contact-icon{
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(198,158,99,.12);
    border: 1px solid rgba(198,158,99,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color .25s ease, border-color .25s ease;
  }
  .hcd-footer__contact-item:hover .hcd-footer__contact-icon{
    background: var(--primary);
    border-color: var(--primary);
  }
  .hcd-footer__contact-item:hover .hcd-footer__contact-icon svg{ color: var(--black); }
  .hcd-footer__contact-icon svg{ width: 14px; height: 14px; color: var(--primary); transition: color .25s ease; }

  /* ---------------------------------------------------------------
     ROW 2 — social icons
     --------------------------------------------------------------- */
  .hcd-footer__bar-social{
    background: var(--black);
    padding: 8px 20px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
  }
  .hcd-footer__social-circle{
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
  }
  .hcd-footer__social-circle svg{ width: 18px; height: 18px; }
  .hcd-footer__social-circle:hover{
    background: var(--primary);
    border-color: var(--primary);
    color: var(--black);
    transform: translateY(-3px);
  }

  /* ---------------------------------------------------------------
     ROW 3 — brand band
     --------------------------------------------------------------- */
  .hcd-footer__bar-brand{
    background: linear-gradient(180deg, var(--gray) 0%, var(--gray-light) 100%);
    padding: 36px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    position: relative;
  }
  .hcd-footer__bar-brand::before,
  .hcd-footer__bar-brand::after{
    content:"";
    position:absolute;
    top:0; left:0; right:0;
    height:1px;
  }
  .hcd-footer__bar-brand::before{ top:0; background: rgba(198,158,99,.25); }
  .hcd-footer__bar-brand::after{ top:auto; bottom:0; background: rgba(198,158,99,.25); }

  .hcd-footer__logo-img{ max-height: 72px; width: auto; display: block; }

  /* ---------------------------------------------------------------
     ROW 4 — copyright
     --------------------------------------------------------------- */
  .hcd-footer__bar-bottom{
    background: var(--black-soft);
    padding: 22px 20px;
    text-align: center;
  }
  .hcd-footer__copyright{
    color: var(--text-dim);
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: .02em;
    margin: 0;
  }
  .hcd-footer__copyright a{ color: var(--primary); transition: color .25s ease; }
  .hcd-footer__copyright a:hover{ color: var(--primary-soft); }

  /* ---------------------------------------------------------------
     RESPONSIVE
     --------------------------------------------------------------- */
  @media (max-width: 900px){
    .hcd-footer__bar-top{ gap: 28px; padding: 24px 24px; }
  }
  @media (max-width: 600px){
    .hcd-footer__bar-top{ flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px 28px; }
    .hcd-footer__bar-social{ padding-bottom: 34px; }
    .hcd-footer__bar-brand{ flex-direction: column; gap: 14px; padding: 32px 20px; }
    .hcd-footer__logo-img{ max-height: 54px; }
    .hcd-footer__social-circle{ width: 40px; height: 40px; }
  }

/* Preserve the existing child-theme behavior: Avada's native footer stays hidden. */
body:not(.wp-admin) .fusion-footer,
body:not(.wp-admin) .fusion-footer-widget-area,
body:not(.wp-admin) .fusion-copyright-notice,
body:not(.wp-admin) .fusion-copyright-content,
body:not(.wp-admin) #footer{display:none!important;}
.hcd-footer{display:block!important;}
