/* ===== FOOTER ===== */
.footer {
  background: var(--white);
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.3fr;
  gap: 48px;
  padding: 60px 48px 48px;
}

.footer-logo-text {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 14px;
}
.footer-logo-text span { color: var(--accent); }
.footer-desc {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 20px;
}

.social-links { display: flex; gap: 10px; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mid);
  font-size: 15px;
  transition: all 0.2s;
}
.social-links a:hover { transform: translateY(-3px); }
.social-links a:nth-child(1):hover { background: #1877f2; color: #fff; }
.social-links a:nth-child(2):hover { background: #e4405f; color: #fff; }
.social-links a:nth-child(3):hover { background: #1da1f2; color: #fff; }
.social-links a:nth-child(4):hover { background: #ff0000; color: #fff; }

.footer-col h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  margin-bottom: 20px;
  position: relative;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 28px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 14px;
  color: var(--text-light);
  transition: color 0.2s, padding-left 0.2s;
}
.footer-col ul li a:hover { color: var(--text-dark); padding-left: 4px; }

.newsletter-text {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.6;
}
.subscribe-wrap {
  display: flex;
  border: 1.5px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
}
.subscribe-wrap input {
  flex: 1;
  padding: 10px 14px;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--text-dark);
  background: var(--off-white);
  min-width: 0; /* prevent flex overflow */
}
.subscribe-wrap button {
  padding: 10px 16px;
  border: none;
  background: var(--text-dark);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.subscribe-wrap button:hover { background: var(--accent); }

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--off-white);
}
.footer-bottom p { font-size: 13px; color: var(--text-light); }

/* FIX #8: payment icons now visible */
.footer-pay {
  display: flex;
  gap: 10px;
  align-items: center;
}
.footer-pay i {
  font-size: 28px;
  color: var(--text-mid);
}

/* ===== FLOATING BUTTONS ===== */
.float-btn {
  position: fixed;
  bottom: 50px;
  z-index: 99999;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: floatPulse 2s infinite;
}
.float-btn:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 28px rgba(0,0,0,0.25);
}
.float-call {
  left: 20px;
  background: linear-gradient(135deg, #ff4d8d, #ff8c42);
  color: #fff;
}
.float-whatsapp {
  right: 20px;
  background: #25D366;
  color: #fff;
}
@keyframes floatPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
  50%       { box-shadow: 0 4px 30px rgba(0,0,0,0.35); }
}

/* ===== FOOTER RESPONSIVE ===== */

/* Tablet: 2-column grid */
@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    padding: 48px 32px 36px;
  }

  /* Brand block spans full width */
  .footer-top > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    padding: 16px 32px;
  }
}

/* Large mobile: narrower 2-column */
@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    padding: 36px 20px 28px;
  }

  .footer-bottom {
    padding: 14px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* Small mobile: single column */
@media (max-width: 420px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 16px 24px;
  }

  .footer-bottom {
    padding: 14px 16px;
  }

  .footer-pay i {
    font-size: 24px;
  }
}