/* ==========================================================================
   Core Chiro Rehab — Footer Redesign
   Namespaced under `.chc-footer` (shared sitewide, loaded from footer-2.blade.php)
   ========================================================================== */

.chc-footer{
  --f-orange:#ff8600;
  --f-orange-dark:#e07300;
  --f-mint:#eff7f6;
  --f-gold:#f6db7d;
  --f-ink:#0b1119;
  --f-ink-2:#121a24;
  --f-border:rgba(255,255,255,.09);
  --f-text:rgba(255,255,255,.62);
  --f-head:'Plus Jakarta Sans', sans-serif;
  --f-body:'DM Sans', sans-serif;
  position:relative;
  background:var(--f-ink);
  color:var(--f-text);
  font-family:var(--f-body);
  overflow:hidden;
  padding-top:96px;
}
.chc-footer *{ box-sizing:border-box; }
.chc-footer a{ text-decoration:none; transition:.25s ease; }
.chc-footer h2, .chc-footer h3, .chc-footer h4{ font-family:var(--f-head); color:#fff; margin:0; }
.chc-footer ul{ list-style:none; margin:0; padding:0; }
.chc-footer__container{ max-width:1280px; margin:0 auto; padding:0 24px; position:relative; z-index:2; }

/* decorative backdrop */
.chc-footer__glow{
  position:absolute; width:640px; height:640px; border-radius:50%;
  background:radial-gradient(circle, rgba(255,134,0,.16), transparent 70%);
  top:-220px; right:-160px; z-index:0; pointer-events:none;
}
.chc-footer__dots{
  position:absolute; inset:0; z-index:0; opacity:.5; pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.06) 1.4px, transparent 1.4px);
  background-size:22px 22px;
  mask-image:linear-gradient(180deg, transparent, #000 12%, #000 70%, transparent);
}
.chc-footer__watermark{
  position:absolute; left:50%; bottom:-4%; transform:translateX(-50%);
  max-width:96vw; overflow:hidden;
  font-family:var(--f-head); font-weight:800; font-size:clamp(32px, 6.2vw, 130px);
  color:transparent; -webkit-text-stroke:1px rgba(255,255,255,.06);
  white-space:nowrap; z-index:0; pointer-events:none; letter-spacing:-.02em;
}

/* top block: brand + newsletter */
.chc-footer__top{
  display:flex; align-items:center; justify-content:space-between; gap:40px;
  flex-wrap:wrap;
  padding-bottom:56px; margin-bottom:56px;
  border-bottom:1px solid var(--f-border);
}
.chc-footer__brand img{ height:48px; margin-bottom:14px; }
.chc-footer__brand p{ max-width:360px; font-size:14.5px; line-height:1.7; }
.chc-footer__newsletter{ min-width:340px; }
.chc-footer__newsletter h4{ font-size:17px; margin-bottom:6px; }
.chc-footer__newsletter p{ font-size:13.5px; margin-bottom:16px; color:var(--f-text); }
.chc-footer__form{ display:flex; gap:0; max-width:420px; }
.chc-footer__form input{
  flex:1; min-width:0;
  background:rgba(255,255,255,.06);
  border:1px solid var(--f-border);
  border-right:none;
  color:#fff; font-size:14px;
  padding:15px 18px;
  border-radius:50px 0 0 50px;
  outline:none;
}
.chc-footer__form input::placeholder{ color:rgba(255,255,255,.4); }
.chc-footer__form input:focus{ border-color:rgba(255,134,0,.5); }
.chc-footer__form button{
  flex-shrink:0;
  display:inline-flex; align-items:center; gap:8px;
  background:linear-gradient(135deg, var(--f-orange), #ff9d33);
  color:#fff; border:none; cursor:pointer;
  font-family:var(--f-head); font-weight:700; font-size:14px;
  padding:0 24px;
  border-radius:0 50px 50px 0;
  transition:filter .25s ease;
}
.chc-footer__form button:hover{ filter:brightness(1.08); }
.chc-footer__note{ font-size:12px; color:rgba(255,255,255,.35); margin-top:10px; }

/* columns */
.chc-footer__grid{
  display:grid;
  grid-template-columns:1.2fr 1fr 1.2fr 1.3fr;
  gap:40px;
  padding-bottom:60px;
}
.chc-footer__col h4{
  font-size:15px; text-transform:uppercase; letter-spacing:.06em;
  margin-bottom:24px; position:relative; padding-bottom:14px;
}
.chc-footer__col h4::after{
  content:''; position:absolute; left:0; bottom:0; width:36px; height:2px;
  background:linear-gradient(90deg, var(--f-orange), transparent);
}
.chc-footer__col p{ font-size:14px; line-height:1.75; margin-bottom:20px; }
.chc-footer__links li{ margin-bottom:12px; }
.chc-footer__links a{
  color:var(--f-text); font-size:14px; font-weight:500;
  display:inline-flex; align-items:center; gap:8px;
}
.chc-footer__links a::before{
  content:''; width:5px; height:5px; border-radius:50%;
  background:rgba(255,255,255,.25); flex-shrink:0; transition:.25s ease;
}
.chc-footer__links a:hover{ color:#fff; padding-left:4px; }
.chc-footer__links a:hover::before{ background:var(--f-orange); }

.chc-footer__social{ display:flex; gap:10px; margin-top:22px; }
.chc-footer__social a{
  width:38px; height:38px; border-radius:50%;
  background:rgba(255,255,255,.06); border:1px solid var(--f-border);
  display:inline-flex; align-items:center; justify-content:center;
  color:#fff; font-size:14px;
}
.chc-footer__social a:hover{ background:var(--f-orange); border-color:var(--f-orange); transform:translateY(-3px); }

.chc-footer__contact-list{ display:grid; gap:16px; }
.chc-footer__contact-item{ display:flex; gap:12px; align-items:flex-start; }
.chc-footer__contact-icon{
  width:36px; height:36px; border-radius:10px; flex-shrink:0;
  background:rgba(255,134,0,.12); border:1px solid rgba(255,134,0,.25);
  color:var(--f-orange); font-size:14px;
  display:inline-flex; align-items:center; justify-content:center;
}
.chc-footer__contact-value{ color:#fff; font-size:14.5px; font-weight:600; line-height:1.6; }
.chc-footer__contact-value a{ color:#fff; }
.chc-footer__contact-value a:hover{ color:var(--f-orange); }
.chc-footer__contact-label{ display:block; font-size:11px; text-transform:uppercase; letter-spacing:.06em; color:rgba(255,255,255,.4); margin-bottom:3px; font-weight:700; }

.chc-footer__hours{ margin-top:22px; padding-top:22px; border-top:1px solid var(--f-border); }
.chc-footer__hours li{ display:flex; justify-content:space-between; font-size:13px; padding:4px 0; text-transform:capitalize; }
.chc-footer__hours li span{ color:#fff; font-weight:600; }

.chc-footer__qr{
  display:inline-flex; align-items:center; gap:12px;
  margin-top:22px; padding:12px; border-radius:14px;
  background:rgba(255,255,255,.05); border:1px solid var(--f-border);
}
.chc-footer__qr img{ width:64px; height:64px; border-radius:8px; background:#fff; padding:4px; }
.chc-footer__qr span{ font-size:12.5px; color:var(--f-text); max-width:130px; line-height:1.5; }

/* bottom bar */
.chc-footer__bottom{
  border-top:1px solid var(--f-border);
  padding:24px 0;
  display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap;
  position:relative; z-index:2;
}
.chc-footer__bottom p{ font-size:13px; color:rgba(255,255,255,.4); margin:0; }
.chc-footer__bottom p a{ color:rgba(255,255,255,.6); }

/* back to top (restyled) — hardcoded colors: this button lives outside
   .chc-footer in the DOM, so the --f-* custom properties (scoped to
   .chc-footer) aren't available here. */
.chc-back-top{
  position:fixed; right:26px; bottom:26px; z-index:900;
  width:50px; height:50px; border-radius:50%;
  background:linear-gradient(135deg, #ff8600, #ff9d33);
  color:#fff; border:none; cursor:pointer;
  display:flex; align-items:center; justify-content:center;
  font-size:16px;
  box-shadow:0 14px 30px -8px rgba(255,134,0,.55);
  opacity:0; visibility:hidden; transform:translateY(14px);
  transition:opacity .3s ease, transform .3s ease, visibility .3s ease;
}
.chc-back-top.is-visible{ opacity:1; visibility:visible; transform:translateY(0); }
.chc-back-top:hover{ filter:brightness(1.06); transform:translateY(-3px); }

@media (max-width:1100px){
  .chc-footer__grid{ grid-template-columns:1fr 1fr; row-gap:44px; }
}
@media (max-width:767px){
  .chc-footer{ padding-top:64px; }
  .chc-footer__top{ padding-bottom:36px; margin-bottom:36px; }
  .chc-footer__newsletter{ min-width:0; width:100%; }
  .chc-footer__grid{ grid-template-columns:1fr; gap:36px; padding-bottom:40px; }
  .chc-footer__bottom{ flex-direction:column; text-align:center; }
  .chc-back-top{ right:16px; bottom:16px; width:44px; height:44px; }
}
