/* =========================================================
   Experience Ecuador – Shared Footer Styles
   Source: Approved Mission page footer
   ========================================================= */

.footer{
  background: var(--brand-blue, #034EA2);
  color: #ffffff;
  margin-top: 30px;
}

.footer-inner{
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}

.footer-tagline{
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 16px;
  opacity: 0.98;
}

/* ===== Social icons ===== */

.social{
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.icon-btn{
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--brand-blue, #034EA2);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(0,0,0,0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.icon-btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
}

.icon-btn img{
  width: 34px;
  height: 34px;
}

/* ===== Footer copyright ===== */

.footer small{
  font-size: 13px;
  opacity: 0.9;
}

/* ===== Mobile refinements ===== */

@media (max-width: 600px){
  .icon-btn{
    width: 56px;
    height: 56px;
  }

  .icon-btn img{
    width: 30px;
    height: 30px;
  }
}

/* =========================================
   Experience Ecuador WhatsApp Smart CTA
   ========================================= */

.eeWaFab{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 9998;
  display: block;
}

.eeWaFabBtn{
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0;
  cursor: pointer;
  display: block;
}

.eeWaFabImg{
  display: block;
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 14px 30px rgba(0,0,0,.18));
  transition: transform .18s ease, filter .18s ease;
}

.eeWaFabBtn:hover .eeWaFabImg,
.eeWaFabBtn:focus-visible .eeWaFabImg{
  transform: translateY(-2px);
  filter: drop-shadow(0 18px 34px rgba(0,0,0,.22));
}

.eeWaFabBackdrop{
  position: fixed;
  inset: 0;
  background: rgba(15,47,98,.16);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 9996;
}

.eeWaFabPanel{
  position: absolute;
  right: 0;
  bottom: 96px;
  width: min(360px, calc(100vw - 28px));
  background: #ffffff;
  border: 1px solid rgba(3,78,162,.14);
  border-radius: 22px;
  box-shadow: 0 20px 60px rgba(3,78,162,.18);
  padding: 14px;
  opacity: 0;
  transform: translateY(10px) scale(.98);
  transform-origin: bottom right;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 9997;
}

.eeWaFab.is-open .eeWaFabBackdrop{
  opacity: 1;
  pointer-events: auto;
}

.eeWaFab.is-open .eeWaFabPanel{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.eeWaFabHead{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.eeWaFabTitle{
  font-family: Montserrat, Inter, sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1.2;
  color: #0f2f62;
  letter-spacing: -0.02em;
  text-align: left;
}

.eeWaFabClose{
  appearance: none;
  -webkit-appearance: none;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(3,78,162,.14);
  background: #ffffff;
  color: #0f2f62;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.eeWaFabActions{
  display: grid;
  gap: 10px;
}

.eeWaFabAction{
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(3,78,162,.14);
  background: linear-gradient(180deg, rgba(3,78,162,.045), rgba(3,78,162,.015));
  color: #0f2f62;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-weight: 800;
  font-size: 14px;
  line-height: 1.3;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.eeWaFabAction:hover,
.eeWaFabAction:focus{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(3,78,162,.10);
  border-color: rgba(3,78,162,.24);
  background: linear-gradient(180deg, rgba(3,78,162,.06), rgba(3,78,162,.02));
  text-decoration: none;
}

.eeWaFabAction::after{
  content: "→";
  margin-left: auto;
  font-weight: 900;
}

@media (max-width: 900px){
  .eeWaFab{
    right: 14px;
    bottom: 14px;
  }

  .eeWaFabImg{
    width: 76px;
    height: 76px;
  }

  .eeWaFabPanel{
    width: min(340px, calc(100vw - 20px));
    bottom: 84px;
  }
}

@media (max-width: 520px){
  .eeWaFabImg{
    width: 70px;
    height: 70px;
  }

  .eeWaFabPanel{
    right: 0;
    width: min(320px, calc(100vw - 20px));
  }
}
