/* Cozy Bloom — Footer Styles */

/* ════════════════════════════════════════════════════════════
   Footer — .cb-site-footer
   ════════════════════════════════════════════════════════════ */
.cb-site-footer {
  background: #1e2b22;
  color: rgba(255, 255, 255, .72);
  font-family: Poppins, system-ui, sans-serif;
  font-size: .93rem;
  line-height: 1.65;
}

/* ── Main area ── */
.cb-footer-main {
  padding: 5rem 0 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

/* ── Brand column ── */
.cb-footer-brand {
  display: flex;
  flex-direction: column;
}

.cb-footer-logo-link {
  display: inline-block;
  margin-bottom: .9rem;
}

.cb-footer-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 16px;
  background: #fff;
}

.cb-footer-brand-name {
  display: block;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: .2rem;
}

.cb-footer-brand-sub {
  display: block;
  color: rgba(255, 255, 255, .5);
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 1.1rem;
}

.cb-footer-desc {
  color: rgba(255, 255, 255, .58);
  font-size: .88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  max-width: 300px;
}

/* ── Social buttons ── */
.cb-footer-social {
  display: flex;
  gap: .6rem;
}

.cb-footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
  transition: background .22s, color .22s, transform .22s;
  text-decoration: none;
  flex-shrink: 0;
}

.cb-footer-social-btn:hover {
  background: var(--cb-pink-deep, #c97a6f);
  color: #fff;
  transform: translateY(-2px);
}

/* ── Nav columns ── */
.cb-footer-col-head {
  color: #fff;
  font-family: Poppins, system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .16em;
  margin-bottom: 1.2rem;
}

.cb-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.cb-footer-nav a {
  color: rgba(255, 255, 255, .62);
  text-decoration: none;
  font-size: .9rem;
  transition: color .2s, padding-left .2s;
}

.cb-footer-nav a:hover {
  color: #f0c4bc;
  padding-left: 4px;
}

/* ── Contact list ── */
.cb-footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .85rem;
}

.cb-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .65rem;
  color: rgba(255, 255, 255, .62);
  font-size: .88rem;
  line-height: 1.5;
}

.cb-footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(255, 255, 255, .07);
  color: #f0c4bc;
  flex-shrink: 0;
  margin-top: .05rem;
}

/* ── Bottom bar ── */
.cb-footer-bottom {
  padding: 1.4rem 0;
}

.cb-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: .78rem;
  color: rgba(255, 255, 255, .38);
  text-align: center;
}

/* ── Scroll-to-top button ── */
.cb-scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--cb-pink-deep, #c97a6f);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .28s, visibility .28s, transform .28s, background .2s;
  box-shadow: 0 4px 16px rgba(0,0,0,.22);
}

.cb-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.cb-scroll-top:hover {
  background: #b5625a;
  transform: translateY(-3px);
}

@media (max-width: 767.98px) {
  .cb-scroll-top {
    bottom: 1.2rem;
    right: 1.2rem;
    width: 40px;
    height: 40px;
  }
}

/* ── Responsive: tablet (≤ 991px) ── */
@media (max-width: 991.98px) {
  .cb-footer-main {
    padding: 4rem 0 3rem;
  }
  .cb-footer-desc {
    max-width: 100%;
  }
}

/* ── Responsive: mobile (≤ 767px) ── */
@media (max-width: 767.98px) {
  .cb-site-footer {
    text-align: center;
  }
  .cb-footer-main {
    padding: 3.5rem 0 2.5rem;
  }
  .cb-footer-brand {
    align-items: center;
    margin-bottom: 2.5rem;
  }
  .cb-footer-desc {
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }
  .cb-footer-social {
    justify-content: center;
  }
  .cb-footer-contact li {
    justify-content: center;
    text-align: left;
  }
  .cb-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: .4rem;
  }
  .cb-footer-nav a:hover {
    padding-left: 0;
  }
}
