/* ===== Base ===== */
.qre-wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 1rem;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  font-size: 0.8rem;
}

.qre-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,.06);
}

/* ===== Grid 9 elementos (3x3) ===== */
.qre-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .9rem;
  margin-top: 1rem;
}

.qre-card h2 {
  font-size: 1rem;
  text-align: center;
  color: #e83f30;
}


@media (max-width: 680px) {
  .qre-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 420px) {
  .qre-grid { grid-template-columns: 1fr; }
}

/* ===== Casillas base (blancas tipo cartilla) ===== */
.qre-chip {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  /* Fondo claro con textura ligera */
  background:
    radial-gradient(120% 100% at 100% 0%, rgba(0,0,0,.025), rgba(0,0,0,0) 50%),
    repeating-linear-gradient(135deg, rgba(0,0,0,.015) 0 8px, rgba(0,0,0,.03) 8px 16px),
    #fafafa;

  border: 2px dashed #d6d3d1;
  border-radius: 18px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.65),
    0 2px 6px rgba(0,0,0,.04);

  color: #333;
  font-weight: 600;
  text-align: center;
  transition: all 0.25s ease-in-out;
}

.qre-chip:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

/* ===== Casilla sellada (verde translúcido, sin check) ===== */
.qre-chip.done {
  background: rgba(34, 197, 94, 0.15); /* verde translúcido */
  border: 2px solid rgba(22, 163, 74, 0.4);
  color: #14532d; /* texto verde oscuro */
  box-shadow:
    inset 0 0 0 1px rgba(22, 163, 74, 0.1),
    0 3px 10px rgba(22, 163, 74, 0.15);
  transform: scale(1.01);
}

/* ===== Alertas ===== */
.qre-alert {
  margin: .9rem 0;
  padding: .85rem 1rem;
  border-radius: 10px;
  font-weight: 600;
}
.qre-ok {
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  color: #256029;
}
.qre-error {
  background: #ffebee;
  border: 1px solid #ffcdd2;
  color: #b71c1c;
}

/* ===== Formulario ===== */
.qre-form label {
  display: block;
  margin: .6rem 0 .3rem;
  font-weight: 700;
}

.qre-form input[type="text"],
.qre-form input[type="email"] {
  width: 100%;
  padding: .50rem .50rem;
  border: 1px solid #ddd;
  border-radius: 10px;
  font-size: 0.8rem;
  background: #fff;
}

.qre-form button {
  background-color: #e83f30;
  margin-top: 25px;
  text-transform: capitalize;
  font-size: 18px;
  width: 100%;
  /* margin-top: .9rem; */
  /* padding: .75rem 1.05rem; */
  /* border: 0; */
  /* border-radius: 12px; */
  /* background: #111; */
  /* color: #fff; */
  /* cursor: pointer; */
  /* font-size: 1rem; */
  /* font-weight: 600; */
  /* transition: transform .06s ease, background .2s ease; */
}

.qre-form button:hover { background: #1f1f1f; }
.qre-form button:active { transform: translateY(1px); }

/* ===== Texto auxiliar ===== */
.qre-small {
  color: #666;
  font-size: .9rem;
}


section.top-margin-web-concurso {
    top: 100px;
    background-image: url(http://www.dexis-iberica.loc/test/wp-content/uploads/2021/04/testi-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    /* opacity: 0.57; */
	margin-bottom:100px
}


@media (max-width:768px) { 

    section.top-margin-web-concurso {
      top: 0px;
  }
    .container.texto-normal.top-margin-web {
      margin-top: 20px;
    }
  
}