/* Footer ELID */
.site-footer {
  --footer-bg: #123d59;
  --footer-bg-dark: #0d3149;
  --footer-gold: var(--brand-2, #d6b35f);
  --footer-text: rgba(255,255,255,.9);
  --footer-muted: rgba(255,255,255,.68);

  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 18%, rgba(255,255,255,.07), transparent 28%),
    radial-gradient(circle at 8% 18%, rgba(214,179,95,.08), transparent 30%),
    linear-gradient(135deg, var(--footer-bg-dark), var(--footer-bg));
  color: var(--footer-text);
}

/*
.site-footer::before {
  content: "";
  position: absolute;
  right: -170px;
  top: 50px;
  width: 520px;
  height: 520px;
  background: url("images/elidlogo.png") center / contain no-repeat;
  opacity: .045;
  pointer-events: none;
  filter: grayscale(1);
}
*/
.site-footer::before {
  content: "";
  position: absolute;
  right: -80px;
  top: 0;

  width: 380px;
  height: 380px;

  background: url("../images/elidlogo.png") center center / contain no-repeat;

  opacity: .06;
  pointer-events: none;
}

.site-footer::after {
  content: "";
  position: absolute;

  right: 60px;
  top: 80px;

  width: 250px;
  height: 250px;

  background: radial-gradient(
    circle,
    rgba(244,162,97,.12) 0%,
    rgba(244,162,97,.05) 35%,
    transparent 70%
  );

  pointer-events: none;
}

.footer-top-line {
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--footer-gold), transparent);
  opacity: .9;
}

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr;
  gap: 54px;
  align-items: start;
  padding: 62px 0 54px;
}

.footer-column {
  min-height: 100%;
  padding-left: 54px;
  border-left: 1px solid rgba(255,255,255,.18);
}

.logo-footer {
  display: inline-flex;
  margin-bottom: 22px;
}

.logo-footer img {
  width: 160px;
  height: auto;
  display: block;
}

.footer-brand p {
  max-width: 430px;
  margin: 0;
  color: var(--footer-text);
  font-size: 17px;
  line-height: 1.7;
}

.footer-brand h4,
.footer-column h4 {
  margin: 0;
  color: #fff;
  font-size: 19px;
  font-weight: 800;
}

.footer-small-line,
.footer-title-line {
  width: 56px;
  height: 2px;
  margin: 22px 0 24px;
  background: var(--footer-gold);
  border-radius: 99px;
}

.footer-title-line {
  margin-top: 14px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.footer-social a {
  position: relative;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  text-decoration: none;
  background: rgba(255,255,255,.11);
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 10px 22px rgba(0,0,0,.16);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.footer-social a::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  opacity: .85;
  z-index: 0;
}

.footer-social a i {
  position: relative;
  z-index: 1;
}

.social-tiktok::before {
  background: linear-gradient(135deg, #25f4ee, #111, #fe2c55);
}

.social-facebook::before {
  background: linear-gradient(135deg, #3b5998, #1877f2);
}

.social-instagram::before {
  background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af, #515bd4);
}

.footer-social a:hover {
  transform: translateY(-5px) scale(1.06);
  box-shadow: 0 16px 32px rgba(0,0,0,.26);
  border-color: rgba(255,255,255,.42);
}

.footer-social a:active {
  animation: footer-social-click .36s ease;
}

@keyframes footer-social-click {
  0% { transform: scale(1); }
  40% { transform: scale(.86); }
  72% { transform: scale(1.13); }
  100% { transform: scale(1); }
}

.footer-menu {
  display: flex;
  flex-direction: column;
}

.footer-menu a {
  display: grid;
  grid-template-columns: 34px 1fr 14px;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  color: var(--footer-text);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: color .22s ease, transform .22s ease, border-color .22s ease;
}

.footer-menu a:hover {
  color: #fff;
  transform: translateX(5px);
  border-color: rgba(214,179,95,.36);
}

.footer-link-icon,
.contact-icon {
  color: var(--footer-gold);
  font-size: 19px;
}

.footer-arrow {
  color: var(--footer-gold);
  font-size: 13px;
  transition: transform .22s ease;
}

.footer-menu a:hover .footer-arrow {
  transform: translateX(4px);
}

.footer-contact p {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  margin: 0 0 22px;
  color: var(--footer-text);
  font-size: 17px;
  line-height: 1.45;
}

.footer-contact a {
  color: var(--footer-text);
  text-decoration: none;
  transition: color .22s ease;
}

.footer-contact a:hover {
  color: var(--footer-gold);
}

.contact-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(214,179,95,.32);
  background: rgba(5,22,35,.24);
  text-align: center;
  padding: 28px 0 30px;
}

.footer-heart {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  color: var(--footer-gold);
}

.footer-heart span {
  width: 44px;
  height: 1px;
  background: var(--footer-gold);
  opacity: .7;
}

.footer-bottom p {
  margin: 0 0 8px;
  color: var(--footer-text);
  font-size: 17px;
}

.footer-bottom small {
  color: var(--footer-muted);
  font-size: 15px;
}

.footer-bottom strong {
  color: var(--footer-gold);
}

/* WhatsApp flotante */
.whatsapp {
  position: fixed;
  right: 26px;
  bottom: 22px;
  z-index: 50;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37,211,102,.35);
  transition: transform .24s ease, box-shadow .24s ease;
}

.whatsapp:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 16px 34px rgba(37,211,102,.48);
}

.whatsapp:active {
  transform: scale(.9);
}

@media (max-width: 900px) {
  /*
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0 42px;
  }

  .footer-column {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,.14);
    padding-top: 30px;
  }
  */
  .footer-grid {
    padding: 38px 24px 34px;
    gap: 28px;
  }
  
  .footer-brand {
    padding-left: 13px;
  }      

  .footer-column {
    padding-top: 24px;
  }
  
  
  .site-footer::before {
    right: -240px;
    top: 130px;
    opacity: .035;
  }
}

@media (max-width: 560px) {
  /*.footer-grid {
    padding-left: 18px;
    padding-right: 18px;
  }
  */
  .footer-grid {
    padding: 34px 18px;
  }
  
  .footer-brand {
    padding-left: 13px;
  }  

  .logo-footer img {
    width: 138px;
  }

  .footer-brand p,
  .footer-contact p,
  .footer-bottom p {
    font-size: 15px;
  }

  .footer-contact p {
    grid-template-columns: 44px 1fr;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }

  .whatsapp {
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
  }
}

/* Ajuste compacto del footer */
/*
.footer-grid {
  padding: 40px 0 34px;
  gap: 44px;
}
*/

.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 1fr 1.1fr;
  gap: 44px;

  padding-top: 40px;
  padding-bottom: 34px;

  padding-left: 28px;
  padding-right: 28px;
}

.logo-footer {
  margin-bottom: 14px;
}

.logo-footer img {
  width: 138px;
}

.footer-brand p {
  max-width: 390px;
  font-size: 15px;
  line-height: 1.55;
}

.footer-brand h4,
.footer-column h4 {
  font-size: 17px;
}

.footer-small-line,
.footer-title-line {
  width: 48px;
  margin: 16px 0 18px;
}

.footer-title-line {
  margin-top: 10px;
}

.footer-column {
  padding-left: 46px;
}

.footer-menu a {
  grid-template-columns: 28px 1fr 12px;
  gap: 12px;
  padding: 10px 0;
  font-size: 14px;
}

.footer-link-icon {
  font-size: 15px;
}

.footer-arrow {
  font-size: 11px;
}

.footer-contact p {
  grid-template-columns: 44px 1fr;
  gap: 14px;
  margin: 0 0 18px;
  font-size: 15px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  font-size: 16px;
}

.footer-social {
  gap: 12px;
  margin-top: 14px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  font-size: 18px;
}

.footer-bottom {
  display: none;
}

.site-footer::before {
  width: 440px;
  height: 440px;
  top: 18px;
}

@media (max-width: 900px) {
  .footer-grid {
    padding: 38px 0 34px;
    gap: 28px;
  }

  .footer-column {
    padding-top: 24px;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .logo-footer img {
    width: 128px;
  }
}
