/* =========================================
   FLOATING CONTACT - FULL BROWSER SUPPORT
========================================= */

.floating-contact {
  position: fixed;

  bottom: 24px;
  left: 24px;

  z-index: 9999;

  display: flex;
  flex-direction: column;
  gap: 14px;

  pointer-events: auto;
}

/* =========================================
   MAIN BUTTON
========================================= */

.contact-btn {
  position: relative;

  display: flex;
  align-items: center;

  width: 62px;
  height: 62px;

  overflow: hidden;

  text-decoration: none;

  border-radius: 18px;

  /* Safari support */
  -webkit-backdrop-filter: blur(16px);

  /* Modern browsers */
  backdrop-filter: blur(16px);

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);

  will-change: transform, width;

  transition:
    width 0.35s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

/* BACKDROP FILTER FALLBACK */

@supports not (
  (-webkit-backdrop-filter: blur(16px)) or (backdrop-filter: blur(16px))
) {
  .contact-btn {
    background-color: rgba(20, 20, 20, 0.92);
  }
}

/* =========================================
   HOVER / FOCUS
========================================= */

.contact-btn:hover,
.contact-btn:focus-visible {
  width: 190px;

  transform: translateY(-4px);

  box-shadow:
    0 18px 45px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* =========================================
   ICON AREA
========================================= */

.contact-btn .icon {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 62px;
  width: 62px;
  height: 62px;

  flex-shrink: 0;

  font-size: 22px;

  z-index: 2;
}

.contact-btn .icon .fa-solid,
.contact-btn .icon .fa-brands {
  color: #ffffff;

  line-height: 1;
}

/* =========================================
   TEXT
========================================= */

.contact-btn span {
  display: flex;
  align-items: center;

  padding-right: 20px;

  color: #ffffff;

  font-size: 15px;
  font-weight: 600;

  white-space: nowrap;

  opacity: 0;

  transform: translateX(10px);

  transition:
    opacity 0.3s ease,
    transform 0.3s ease;

  z-index: 2;
}

.contact-btn:hover span,
.contact-btn:focus-visible span {
  opacity: 1;

  transform: translateX(0);
}

/* =========================================
   WHATSAPP
========================================= */

.whatsapp {
  background: linear-gradient(145deg, #25d366, #128c46);

  /* fallback */
  background-color: #25d366;
}

/* =========================================
   EMAIL
========================================= */

.email {
  background: linear-gradient(145deg, #25aae1, #1676a0);

  /* fallback */
  background-color: #25aae1;
}

/* =========================================
   SHINE EFFECT
========================================= */

.contact-btn::before {
  content: "";

  position: absolute;
  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );

  opacity: 0;

  pointer-events: none;

  transition: opacity 0.3s ease;
}

.contact-btn:hover::before,
.contact-btn:focus-visible::before {
  opacity: 1;
}

/* =========================================
   ACTIVE STATE
========================================= */

.contact-btn:active {
  transform: scale(0.96);
}

/* =========================================
   ACCESSIBILITY
========================================= */

.contact-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 3px;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
  .floating-contact {
    bottom: 18px;
    left: 18px;

    gap: 12px;
  }

  .contact-btn {
    width: 58px;
    height: 58px;

    border-radius: 16px;
  }

  .contact-btn:hover,
  .contact-btn:focus-visible {
    width: 58px;

    transform: none;
  }

  .contact-btn .icon {
    min-width: 58px;
    width: 58px;
    height: 58px;

    font-size: 20px;
  }

  .contact-btn span {
    display: none;
  }
}

/* =========================================
   REDUCE MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {
  .contact-btn,
  .contact-btn span,
  .contact-btn::before {
    transition: none !important;
  }
}



















/* ================= FOOTER ================= */

.footer {
  background: linear-gradient(175deg, #25aae1, #2979a7);
  color: #ffffff;
  padding-top: 70px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 1px;

  background: linear-gradient(
    to right,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  padding-bottom: 50px;
}

.footer-col h3 {
  color: #ffffff;
  font-size: 22px;
  margin-bottom: 22px;
  position: relative;
}

.footer-col h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;

  width: 50px;
  height: 3px;

  background: #ffffff;
  border-radius: 20px;
}

.footer-col p {
  line-height: 1.8;
  font-size: 15px;
  color: #ffffff;
}

/* LINKS */

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  text-decoration: none;
  color: #ffffff;
  transition: 0.3s ease;
  font-size: 15px;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* CONTACT */

.footer-contact {
  list-style: none;
}

.footer-contact li {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 12px;

  color: #ffffff;
  font-size: 15px;
}

.footer-contact i {
  color: #ffffff;
  font-size: 16px;
  min-width: 20px;
}

/* SOCIAL */

.footer-socials {
  display: flex;
  gap: 14px;
  margin-top: 25px;
}

.footer-socials a {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;
  background: #21b5f1;

  color: #ffffff;
  text-decoration: none;

  transition: 0.35s ease;
}

.footer-socials a:hover {
  background: #3b82f6;
  transform: translateY(-5px);
}

/* COPYRIGHT */

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: #ffffff;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .footer {
    padding-top: 55px;
  }

  .footer-grid {
    gap: 40px;
  }
}
