/* ==============================
   FOOTER CUETMX (Diploma Style)
   Archivo: CSS/footer.css
================================ */

.cuet-footer{
  background: var(--cuet-bg);
  border-top: 1px solid rgba(195,167,169,.35);
}

.cuet-footer__top{
  padding: clamp(44px, 6vw, 80px) 16px;
  background: linear-gradient(180deg, var(--cuet-bg2) 0%, var(--cuet-bg) 100%);
}

.cuet-footer__container{
  max-width: 1200px;
  margin: 0 auto;
}

.cuet-footer__top .cuet-footer__container{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: 18px;
}

/* Brand */
.cuet-footer__logo{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cuet-ink);
  margin-bottom: 10px;
}

.cuet-footer__logo img{
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.cuet-footer__logo span{
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 13px;
}

.cuet-footer__desc{
  margin: 0 0 14px;
  color: rgba(42,27,30,.76);
  line-height: 1.65;
  font-size: 14px;
  max-width: 50ch;
}

/* CTA */
.cuet-footer__cta{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 999px;
  background: var(--cuet-wine);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 10px 22px rgba(85,29,38,.20);
  transition: transform .15s ease, background .2s ease;
}

.cuet-footer__cta i{
  font-size: 30px;
}
.cuet-footer__cta:hover{
  background: #4A1720;
  transform: translateY(-1px);
}

/* Titles */
.cuet-footer__title{
  margin: 0 0 10px;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--cuet-ink);
}

/* Links */
.cuet-footer__links{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.cuet-footer__links a{
  text-decoration: none;
  color: rgba(42,27,30,.76);
  font-weight: 600;
  font-size: 14px;
  transition: color .2s ease;
}

.cuet-footer__links a:hover{
  color: var(--cuet-wine);
}

/* Contact info */
.cuet-footer__info{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.cuet-footer__info li{
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(42,27,30,.76);
  font-size: 14px;
  line-height: 1.55;
}

.cuet-footer__info i{
  color: var(--cuet-wine);
  font-size: 18px;
  transform: translateY(2px);
}

.cuet-footer__info a{
  color: rgba(42,27,30,.82);
  text-decoration: none;
  font-weight: 700;
}

.cuet-footer__info a:hover{
  color: var(--cuet-wine);
}

/* Social */
.cuet-footer__social{
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(42,27,30,.70);
  font-weight: 600;
  font-size: 13px;
}

.cuet-footer__social a{
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(195,167,169,.35);
  text-decoration: none;
  transition: transform .15s ease, border-color .2s ease;
}

.cuet-footer__social a i{
  font-size: 20px;
  color: var(--cuet-wine);
}

.cuet-footer__social a:hover{
  transform: translateY(-2px);
  border-color: rgba(85,29,38,.45);
}

/* Bottom */
.cuet-footer__bottom{
  border-top: 1px solid rgba(195,167,169,.35);
  background: rgba(243,242,238,.92);
}

.cuet-footer__bottom-inner{
  padding: 14px 16px;
  display: flex;
  flex-direction: column;  /* una debajo de la otra */
  align-items: center;     /* centrado */
  justify-content: center;
  gap: 6px;                /* separación entre líneas */
  text-align: center;
  color: rgba(42,27,30,.70);
  font-size: 13px;
}

.cuet-footer__bottom-inner p{
  margin: 0;               /* sin espacios extra */
}


/* Responsive */
@media (max-width: 980px){
  .cuet-footer__top .cuet-footer__container{
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px){
  .cuet-footer__top .cuet-footer__container{
    grid-template-columns: 1fr;
  }
  .cuet-footer__bottom-inner{
    flex-direction: column;
  }
}



/* ==============================
   Footer Bounce Wave (Premium)
================================ */

/* para poder posicionar la wave */
.cuet-footer{
  position: relative;
  overflow: hidden; /* evita que se vea “fuera” */
}

/* wave encima del footer */
.cuet-footer__wave{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 78px;               /* ajusta 60–90 si quieres */
  transform: translateY(-65%); /* “sale” desde arriba */
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 10px 22px rgba(42,27,30,.10));
}

/* svg full width */
.cuet-footer__wave svg{
  width: 100%;
  height: 100%;
  display: block;
}

/* color vino (tu variable) */
.cuet-footer__wave path{
  fill: var(--cuet-wine);
  opacity: .95;               /* premium, no tan “plano” */
}

/* opcional: un borde sutil para separarlo del fondo */
.cuet-footer__wave::after{
  content:"";
  position:absolute;
  left:0; right:0; bottom:-1px;
  height: 1px;
  background: rgba(243,242,238,.30);
}


/* ===== Footer bounce bar (solo barra) ===== */
.cuet-footer{
  position: relative;
  overflow: hidden;
}

.cuet-footer__bounceBar{
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  height: 14px;
  background: var(--cuet-wine);

  transform-origin: 50% 0%;
  will-change: transform, filter;

  /* look premium */
  filter: drop-shadow(0 12px 18px rgba(85,29,38,.28));
}
