/* =====================================================
   1. FOOTER SHELL
===================================================== */

.site-footer{
  position:relative;
  z-index:2147483647;

  isolation:isolate;
  contain:layout paint style;

  overflow:hidden;

  padding:72px 24px 34px;

  color:#0f3d2a;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(216,179,95,.18),
      transparent 32%
    ),
    linear-gradient(
      180deg,
      #fff7e8 0%,
      #f6ead2 52%,
      #efe0bf 100%
    );

  border-top:1px solid rgba(15,61,42,.16);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.8);
}

.site-footer,
.site-footer *{
  position:relative;
}

.site-footer *{
  z-index:2;
}

.site-footer::before,
.site-footer::after{
  z-index:1;
}


.site-footer::before{
  content:"";

  position:absolute;
  top:0;
  left:50%;

  width:min(920px, calc(100% - 48px));
  height:1px;

  transform:translateX(-50%);

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(15,61,42,.22),
      rgba(216,179,95,.55),
      rgba(15,61,42,.22),
      transparent
    );
}

.site-footer::after{
  content:"";

  position:absolute;
  right:clamp(-80px, -6vw, -24px);
  bottom:clamp(-90px, -8vw, -40px);

  width:clamp(260px, 34vw, 520px);
  height:clamp(260px, 34vw, 520px);

  background:
    url("/media/COSH-Social-Logo.png")
    center center / contain
    no-repeat;

  opacity:.035;

  pointer-events:none;
}


/* =====================================================
   2. MAIN LAYOUT
===================================================== */

.footer-inner{
  position:relative;
  z-index:1;

  max-width:1180px;
  margin:0 auto;

  display:grid;
  grid-template-columns:minmax(0,1.55fr) minmax(180px,.65fr) minmax(220px,.75fr);
  gap:clamp(42px,6vw,78px);

  align-items:start;
}


/* =====================================================
   3. BRAND COLUMN
===================================================== */
/* =====================================================
   3. BRAND COLUMN
===================================================== */

.footer-brand{
  position:relative;
  max-width:560px;
  padding-left:26px;
}

.footer-brand::before{
  content:"";

  position:absolute;
  left:0;
  top:6px;

  width:3px;
  height:116px;

  background:
    linear-gradient(
      180deg,
      #c8a45b,
      rgba(15,61,42,.18),
      transparent
    );
}

.footer-logo-row{
  display:flex;
  align-items:center;
  gap:20px;

  margin-bottom:26px;

  color:inherit;
  text-decoration:none;
}

.footer-logo-row:hover,
.footer-logo-row:focus,
.footer-logo-row:visited{
  color:inherit;
  text-decoration:none;
}

.footer-logo-row img{
  width:82px;
  height:82px;

  object-fit:contain;
  flex-shrink:0;

  filter:
    drop-shadow(0 8px 18px rgba(15,61,42,.16));

  transition:
    transform .3s ease,
    filter .3s ease;
}

.footer-brand:hover .footer-logo-row img{
  transform:translateY(-2px);

  filter:
    drop-shadow(0 12px 24px rgba(15,61,42,.2));
}

.footer-logo-row strong{
  display:block;

  font-family:"Cormorant Garamond", serif;
  font-size:clamp(2.35rem,3vw,3.45rem);
  line-height:.94;
  font-weight:650;
  letter-spacing:-.03em;

  color:#0f3d2a;
  text-decoration:none;
}

.footer-logo-row span{
  display:inline-block;

  margin-top:12px;

  color:#9c7830;

  text-transform:uppercase;
  letter-spacing:.34em;

  font-size:.68rem;
  font-weight:900;

  text-decoration:none;
}

/* Removed decorative gold line */

.footer-brand p{
  max-width:540px;
  margin:0;

  color:rgba(15,61,42,.78);

  line-height:1.8;
  font-size:1rem;
}

/* =====================================================
   4. FOOTER COLUMNS
===================================================== */

.footer-column{
  position:relative;

  margin-top:34px;
}

.footer-column h3{
  margin:0 0 22px;

  color:#9c7830;

  font-size:.72rem;
  font-weight:900;

  text-transform:uppercase;
  letter-spacing:.28em;
}


/* =====================================================
   5. FOOTER NAVIGATION
===================================================== */

.footer-nav{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.footer-nav a{
  position:relative;

  padding-bottom:9px;

  color:rgba(15,61,42,.78);

  border-bottom:1px solid rgba(15,61,42,.10);

  text-decoration:none;

  font-size:.86rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;

  transition:
    color .22s ease,
    padding-left .22s ease,
    border-color .22s ease;
}

.footer-nav a::after{
  content:"";

  position:absolute;
  left:0;
  bottom:-1px;

  width:0;
  height:1px;

  background:#c8a45b;

  transition:width .25s ease;
}

.footer-nav a:hover{
  color:#0f3d2a;

  padding-left:8px;

  border-color:rgba(15,61,42,.16);
}

.footer-nav a:hover::after{
  width:100%;
}


/* =====================================================
   6. SOCIAL LINKS
===================================================== */

.footer-socials{
  display:flex;
  flex-direction:column;
  gap:14px;

  margin-bottom:30px;
}

.footer-socials a{
  color:rgba(15,61,42,.78);

  text-decoration:none;

  font-size:.92rem;
  font-weight:700;
  letter-spacing:.04em;

  transition:
    color .22s ease,
    transform .22s ease;
}

.footer-socials a:hover{
  color:#9c7830;

  transform:translateX(4px);
}


/* =====================================================
   7. FOOTER CTA BUTTONS
===================================================== */

.footer-actions{
  display:flex;
  align-items:center;
  gap:16px;

  margin-top:24px;
}

.footer-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  min-width:150px;
  min-height:52px;

  padding:0 28px;

  text-decoration:none;

  text-transform:uppercase;

  letter-spacing:.18em;

  font-size:.72rem;
  font-weight:900;

  border-radius:0;

  transition:
    background .22s ease,
    color .22s ease,
    box-shadow .22s ease,
    transform .22s ease,
    border-color .22s ease;
}

.footer-btn.primary{
  background:#c8a45b;

  border:1px solid #c8a45b;

  color:#082719;

  box-shadow:
    0 10px 22px rgba(15,61,42,.12);
}

.footer-btn.primary:hover{
  background:#d9b971;

  transform:translateY(-2px);

  box-shadow:
    0 14px 28px rgba(15,61,42,.16);
}

.footer-btn.ghost{
  background:rgba(255,255,255,.4);

  border:1px solid rgba(15,61,42,.22);

  color:#0f3d2a;
}

.footer-btn.ghost:hover{
  background:#0f3d2a;

  color:#fff7e8;

  border-color:#0f3d2a;

  transform:translateY(-2px);
}


/* =====================================================
   8. FOOTER NOTE
===================================================== */

.footer-note{
  position:relative;
  z-index:1;

  max-width:1180px;

  margin:54px auto 0;
  padding:30px 0;

  text-align:center;

  border-top:1px solid rgba(15,61,42,.12);
  border-bottom:1px solid rgba(15,61,42,.12);

  font-family:"Cormorant Garamond", serif;

  font-size:clamp(1.75rem,2.3vw,2.65rem);
  font-style:italic;

  color:#0f3d2a;
}


/* =====================================================
   9. BOTTOM BAR
===================================================== */

/* =====================================================
   9. BOTTOM BAR
===================================================== */

.footer-bottom{
  position:relative;
  z-index:1;

  max-width:1180px;
  margin:24px auto 0;
  padding-top:18px;

  border-top:1px solid rgba(15,61,42,.10);

  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:24px;

  color:rgba(15,61,42,.66);
}

.footer-bottom-left{
  color:rgba(15,61,42,.62);

  font-size:.72rem;
  font-weight:600;
  white-space:nowrap;
}

.footer-bottom-right{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}

.footer-bottom-right a{
  color:rgba(15,61,42,.66);

  text-decoration:none;

  font-size:.72rem;
  font-weight:600;

  transition:color .22s ease;
}

.footer-bottom-right a:hover{
  color:#9c7830;
}


/* =====================================================
   10. TABLET RESPONSIVE
===================================================== */

@media(max-width:900px){

  .site-footer{
    padding:62px 22px 32px;
  }

  .footer-inner{
    grid-template-columns:1fr;
    gap:44px;

    text-align:center;
  }

  .footer-brand{
    max-width:none;

    padding-left:0;
  }

  .footer-brand::before{
    display:none;
  }

  .footer-brand p{
    margin:0 auto;
  }

  .footer-logo-row{
    justify-content:center;
  }

  .footer-column{
    margin-top:0;
  }

  .footer-actions{
    justify-content:center;
  }

  .footer-socials{
    align-items:center;
  }

  .footer-nav{
    max-width:340px;
    margin:0 auto;
  }

  .footer-bottom{
    flex-direction:column;

    text-align:center;
  }

}


/* =====================================================
   11. MOBILE RESPONSIVE
===================================================== */

@media(max-width:600px){

  .site-footer{
    padding:52px 18px 30px;
  }

  .footer-logo-row{
    flex-direction:column;

    text-align:center;
  }

  .footer-logo-row img{
    width:74px;
    height:74px;
  }

  .footer-logo-row strong{
    white-space:normal;

    font-size:2.25rem;
  }

  .footer-logo-row span{
    letter-spacing:.24em;
  }

  .footer-actions{
    flex-direction:column;
  }

  .footer-btn{
    width:100%;
  }

  .footer-note{
    font-size:1.7rem;
  }

  .footer-bottom-right{
    flex-direction:column;
    gap:12px;
  }

}