/*
 * Footer — 3-column grid, brand column, services column, contact column,
 * divider, copyright/legal bar, WhatsApp FAB.
 *
 * Migrated from the original style.css footer block.
 * Responsive breakpoints (1080px, 640px) are in responsive.css.
 * Depends on: variables.css, layout.css
 *
 * @package Vinelec
 */

/* =================================================================
   FOOTER WRAPPER
   ================================================================= */

.site-footer {
  position: relative;
 background: url(/wp-content/uploads/2026/06/image-85-1.webp) bottom center / cover no-repeat;
  padding: 80px 0 0 0;
}

/* =================================================================
   FOOTER GRID — 3 columns
   ================================================================= */

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}

/* =================================================================
   COL 1 — BRAND
   ================================================================= */

.footer-brand-logo {
  display: flex;
  align-items: center;
  gap: 2px;
  font-family: var(--font-heading);
  font-weight: var(--fw-extrabold);
  font-size: 28px;
  margin-bottom: 24px;
}

.footer-brand-logo .mark {
  width: 34px;
  height: 34px;
  margin-right: 6px;
}

.footer-desc {
  font-size: var(--fs-sm);
  line-height: var(--lh-relaxed);
  color: var(--clr-text);
  margin-bottom: 28px;
  max-width: 300px;
}

/* Social icon buttons */
.footer-socials {
  display: flex;
  gap: 14px;
}

.footer-social {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 1px solid var(--clr-border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-light);
  text-decoration: none;
  transition:
    border-color var(--ease),
    color var(--ease),
    background var(--ease);
}

.footer-social:hover {
  border-color: var(--clr-primary-soft);
  color: var(--clr-primary-soft);
  background: rgba(44, 91, 255, 0.06);
}

.footer-social svg {
  width: 18px;
  height: 18px;
}

/* =================================================================
   COLUMN SHARED HEADING
   ================================================================= */

.footer-col-title {
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--clr-primary-soft);
  margin-bottom: 28px;
}

/* =================================================================
   COL 2 — SERVICES LIST
   ================================================================= */

.footer-services {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.footer-services li {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-services li .fi {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--clr-primary-soft);
  opacity: 0.6;
}

.footer-services li .fi svg {
  width: 100%;
  height: 100%;
}

.footer-services li a {
  font-size: var(--fs-sm);
  color: var(--clr-text);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-services li a:hover {
  color: var(--clr-white);
}

/* "Explore all services" link */
.footer-explore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-primary-soft);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-explore:hover {
  color: var(--clr-white);
}

.footer-explore svg {
  width: 14px;
  height: 14px;
}

/* =================================================================
   COL 3 — CONTACT DETAILS
   ================================================================= */

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-contact-item .ci {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--clr-primary-soft);
  margin-top: 2px;
}

.footer-contact-item .ci svg {
  width: 100%;
  height: 100%;
}

.footer-contact-item span,
.footer-contact-item address,
.footer-contact-item a {
  font-size: var(--fs-sm);
  line-height: var(--lh-normal);
  color: var(--clr-text);
  font-style: normal;
  text-decoration: none;
  transition: color var(--ease);
}

.footer-contact-item a:hover {
  color: var(--clr-white);
}

/* =================================================================
   DIVIDER
   ================================================================= */

.footer-divider {
  height: 1px;
  background: var(--clr-border-soft);
}

/* =================================================================
   BOTTOM BAR — COPYRIGHT + LEGAL LINKS
   ================================================================= */

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 0 28px;
}

.footer-copy {
  font-size: var(--fs-sm);
  color: var(--clr-text);
  margin: 0;
}

.footer-copy strong {
  font-weight: var(--fw-semibold);
  color: var(--clr-text-light);
}

/* Legal links nav */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-legal a {
  font-size: var(--fs-sm);
  color: var(--clr-text);
  text-decoration: none;
  transition: color var(--ease);
}

.footer-legal a:hover {
  color: var(--clr-white);
}

/* =================================================================
   WHATSAPP FLOATING ACTION BUTTON
   ================================================================= */

.whatsapp-fab {
  position: fixed;
  right: 28px;
  bottom: 28px;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 50;
  transition: transform var(--ease), box-shadow var(--ease);
}

.whatsapp-fab:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  color: #fff;
}
