/* ===== TERMS WAYGGO – NIVEL PRO ===== */



.wg-terms-wrap {
  max-width: 1200px;
  margin: 120px auto;
  padding: 0 24px;
  color: #0a0a0a;
}

.wg-terms-header {
  text-align: center;
  margin-bottom: 80px;
  animation: fadeUp 1s ease both;
}

.wg-terms-header h1 {
  font-size: 3rem;
  font-weight: 700;
}

.wg-terms-intro {
  max-width: 800px;
  margin: 20px auto;
  font-size: 1.1rem;
  color: #555;
}

.wg-terms-date {
  font-size: 0.9rem;
  color: #888;
}

.wg-terms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 32px;
}

.wg-term-box {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.06);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
  position: relative;
  overflow: hidden;
}

.wg-term-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,0,0,0.05), transparent);
  opacity: 0;
  transition: opacity .4s;
}

.wg-term-box:hover::before {
  opacity: 1;
}

.wg-term-box h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.wg-term-box p,
.wg-term-box li {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #444;
}

.wg-term-box ul {
  margin-left: 18px;
}

.wg-term-box.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}






/* ========================= */
/* CIUDAD ANIMADA WAYGGO     */
/* ========================= */

.wg-city {
  position: relative;
  width: 100%;
  height: 320px;
  background: linear-gradient(#0b0b0b, #111);
  overflow: hidden;
}

/* Edificios */
.wg-buildings {
  position: absolute;
  bottom: 80px;
  width: 200%;
  height: 180px;
  background: repeating-linear-gradient(
    to right,
    #1f1f1f 0 60px,
    #141414 60px 120px
  );
  animation: cityMove 40s linear infinite;
}

/* Carretera */
.wg-road {
  position: absolute;
  bottom: 0;
  width: 200%;
  height: 80px;
  background: #1a1a1a;
}

/* Línea central */
.wg-lane {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(
    to right,
    #fff 0 40px,
    transparent 40px 80px
  );
  transform: translateY(-50%);
  animation: laneMove 6s linear infinite;
}

/* ========================= */
/* VEHÍCULOS                 */
/* ========================= */

.wg-vehicle {
  position: absolute;
  bottom: 12px;
  width: 80px;
  height: 40px;
  background-size: contain;
  background-repeat: no-repeat;
  filter: drop-shadow(0 3px 4px rgba(0,0,0,.6));
}

/* Carros */
.wg-car {
      width: 120px;
  height: 50px;
  background-image: url("/assets/icons/icon-car2.png");
    animation: vehicleForward 90s linear infinite;

}

/* Variantes de carros */
.wg-car--main { animation: vehicleForward 18s linear infinite; }
.wg-car--second { animation: vehicleForward 40s linear infinite; bottom: 22px; }
.wg-car--third { animation: vehicleForward 20s linear infinite; bottom: 8px; }
.wg-car--fourth { animation: vehicleForward 30s linear infinite; bottom: 30px; }

/* Moto */
.wg-moto {
  width: 120px;
  height: 77px;
  background-image: url("/assets/icons/icon-moto2.png");
  animation: vehicleForward 12s linear infinite;
  bottom: 4px;
}

/* Bus */
.wg-bus {
  width: 120px;
  height: 60px;
  background-image: url("/assets/icons/bus.png");
  animation: vehicleForward 15s linear infinite;
  bottom: 18px;
}

/* ========================= */
/* ANIMACIONES               */
/* ========================= */

@keyframes vehicleForward {
  0% { left: -160px; }
  100% { left: 110%; }
}

@keyframes cityMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes laneMove {
  from { transform: translateX(0) translateY(-50%); }
  to { transform: translateX(-50%) translateY(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
  .wg-city { height: 240px; }
  .wg-vehicle { width: 60px; }
}








/* FEEDBACK MODAL */
.wg-feedback {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.wg-feedback__box {
  background: #fff;
  width: 100%;
  max-width: 420px;
  border-radius: 18px;
  padding: 30px;
  position: relative;
  animation: wgFadeUp .4s ease;
}

@keyframes wgFadeUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.wg-feedback__close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 26px;
  border: none;
  background: none;
  cursor: pointer;
}

.wg-feedback h3 {
  margin: 0 0 5px;
  font-size: 22px;
}

.wg-feedback__subtitle {
  font-size: 14px;
  color: #555;
  margin-bottom: 20px;
}

.wg-reactions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.wg-reaction {
  font-size: 30px;
  border: none;
  background: #f5f5f5;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: transform .2s, background .2s;
}

.wg-reaction:hover,
.wg-reaction.active {
  background: #276EF1;
  color: #fff;
  transform: scale(1.1);
}

.wg-reaction-text {
  text-align: center;
  font-weight: 600;
  margin-bottom: 15px;
}

#wgFeedbackMessage {
  width: 100%;
  min-height: 80px;
  border-radius: 12px;
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 15px;
  resize: none;
}

.wg-feedback__send {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #276EF1;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

.wg-feedback__send:hover {
  background: #00af19;
}

.wg-feedback__status {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
}




