:root {
  --text: #ffffff;
  --main-bg: #0f0f0f;
  --primary: #990011;
  --secondary: #00218e;
  --transition-speed: 0.3s;
  --title: "Aktiv Grotesk Cd Trial", sans-serif;
}

.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.wrapper h1 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.wrapper h2 {
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  font-weight: 400;
  margin-bottom: 1.5rem;
}

.g-recaptcha{
  margin: 15px;
}

/* ====== DROP ZONE ====== */
.drop-zone {
  position: relative;
  border: 2px dashed var(--text);
  border-radius: 10px;
  width: clamp(260px, 50%, 480px);
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background-color: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.drop-zone:hover {
  background-color: rgba(255, 255, 255, 0.05);
}

.drop-zone.dragover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--text);
}

.drop-zone input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.drop-zone p {
  font-size: clamp(14px, 1.1vw, 1rem);
  color: var(--text);
}

.drop-zone p span {
  font-weight: 600;
  text-decoration: underline;
}

.file-info {
  margin-top: .6rem;
  font-size: clamp(13px, 1.05vw, 0.95rem);
  opacity: .85;
  max-width: 90%;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.file-info.error {
  color: #ff6b6b; /* si preferís usar una var, cambiala */
  opacity: 1;
}


/* ====== BOTÓN SUBIR ====== */
.btn {
  padding: 0.7rem 1.8rem;
  border: 1px solid var(--text);
  background-color: transparent;
  color: var(--text);
  border-radius: 6px;
  font-size: clamp(14px, 1.1vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 30px;
}

.btn:hover {
  background-color: var(--text);
  color: var(--main-bg);
}



/* ===== ANIMACIONES INICIALES ===== */
@keyframes slideUpFade {
  0% {
    transform: translateY(60px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.wrapper h1,
.wrapper h2,
.drop-zone,
.btn {
  opacity: 0;
  animation: slideUpFade 0.8s ease forwards;
}

/* tiempos escalonados */
.wrapper h1 {
  animation-delay: 0.2s;
}
.wrapper h2 {
  animation-delay: 0.4s;
}
.drop-zone {
  animation-delay: 0.6s;
}
.btn {
  animation-delay: 0.8s;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  border: 0;
}


@media (max-width: 568px) {
      .wrapper h1,
  .wrapper h2 {
    text-align: center;
    width: 100%;
  }

  .wrapper h1 {
    line-height: 1.2;
    margin-bottom: 0.4rem;
  }

  .wrapper h2 {
    font-size: clamp(15px, 1.2vw, 1.1rem);
  }
  .drop-zone {
    height: 180px; /* un poco más alto, opcional */
    text-align: center;
    justify-content: center;
    align-items: center;
    padding: 1rem;
  }

  .drop-zone p {
    text-align: center;
    line-height: 1.4;
  }

  .drop-zone p span {
    display: inline-block;
  }

  .file-info {
    text-align: center;
  }
}

.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 64px;
  height: 64px;

  background: #25d366;
  color: #ffffff;

  /* 🔹 En vez de 50% para círculo, usamos px para esquinas redondeadas */
  border-radius: 50px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 30px;        /* tamaño del ícono */
  z-index: 999;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;

  /* 🔥 ANIMACIÓN PULSE */
  animation: pulse 1.6s infinite ease-in-out;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.4);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    transform: scale(1.06);
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 769px) {
  .whatsapp-float {
    width: 56px;
    height: 56px;
    font-size: 26px;
    bottom: 16px;
    right: 16px;
  }
}