/* Página del sorteo EtMday 2026. Línea de Ambientalia (Montserrat, petróleo y verde), con pocos pesos tipográficos,
   casi sin bordes y el espacio como separador. */

.etm {
  --tinta: #17221e;
  --texto: #46514d;
  --suave: #5d6863;
  --petroleo: #003b49;
  --verde: #016d4c;
  --verde-claro: #edf6f1;
  --fondo: #f6f8f7;
  --linea: rgb(23 34 30 / .09);
  --error: #b3261e;
  --wa: #1fa855;
  --cabecera: 6.25rem;   /* alto del header flotante del sitio */
  --ease: cubic-bezier(.2, .8, .2, 1);
  display: block;
  padding: 0 0 4rem;
  color: var(--texto);
  font: 400 1rem/1.65 "Montserrat", Arial, sans-serif;
}
.etm :where(h1, h2, h3, p, ol, ul, dl, dd, fieldset) { margin: 0; padding: 0; }
.etm :where(ol, ul) { list-style: none; }
.etm :where(h1, h2, h3) { color: var(--tinta); font-family: inherit; }
.etm a { color: var(--verde); text-underline-offset: .18em; text-decoration-thickness: 1px; }
.etm a:hover { color: var(--petroleo); }
.etm [hidden] { display: none !important; }
.etm :is(a, button, input, summary):focus-visible { outline: 2px solid var(--verde); outline-offset: 3px; border-radius: .3rem; }
.etm .etm-oculto { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.etm .etm-icono { width: 1.25rem; height: 1.25rem; flex: 0 0 auto; color: var(--verde); }
.etm .etm-icono--wa { color: var(--wa); }

.etm > section, .etm > nav { width: min(90%, 70rem); margin-inline: auto; }

/* ---------- Primera pantalla ---------- */
.etm > .etm-portada-fondo {
  width: 100%;
  background:
    radial-gradient(48rem 26rem at 88% 0%, rgb(215 216 44 / .2), transparent 62%),
    radial-gradient(44rem 28rem at 0% 30%, rgb(30 180 112 / .14), transparent 62%),
    linear-gradient(180deg, #edf7f1 0%, #f6faf3 62%, #fff 100%);
}
.etm > .etm-portada-fondo.etm-fase-ganadores {
  background:
    radial-gradient(48rem 26rem at 85% 0%, rgb(215 216 44 / .3), transparent 62%),
    radial-gradient(44rem 28rem at 0% 30%, rgb(30 180 112 / .16), transparent 62%),
    linear-gradient(180deg, #f3f8e6 0%, #f8fbf2 62%, #fff 100%);
}
@media (min-width: 901px) {
  /* el header del sitio deja 87 px arriba (padding del body): el color sube por detrás de él y la portada llena la pantalla */
  .etm > .etm-portada-fondo { display: flex; min-height: 100vh; min-height: 100svh; margin-top: -87px; padding-top: 87px; }
  .etm > .etm-portada-fondo > .etm-portada { align-items: center; align-self: center; }
}
.etm-portada {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 30.5rem);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  width: min(90%, 70rem);
  margin-inline: auto;
  padding-block: 1.5rem 3.5rem;
}
.etm-portada__texto { padding-top: .25rem; }
.etm .etm-marcas { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; }
.etm .etm-marcas__amb { width: auto; height: 2.25rem; }
.etm .etm-marcas__sep { width: 1px; height: 2.25rem; background: rgb(23 34 30 / .2); }
.etm .etm-marcas__etmday { width: auto; height: 2.75rem; }
.etm .etm-etiqueta { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .75rem; border-radius: 999px; background: #fff; color: var(--verde); font-size: .8125rem; font-weight: 600; box-shadow: 0 1px 2px rgb(0 59 73 / .08); }
.etm .etm-etiqueta .etm-icono { width: 1rem; height: 1rem; }
.etm h1 {
  max-width: 15ch;
  margin-top: 1rem;
  font-size: clamp(2.1rem, 3.9vw, 3.1rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -.03em;
  text-wrap: balance;
}
.etm .etm-bajada { max-width: 33rem; margin-top: 1rem; font-size: 1.0625rem; line-height: 1.6; }
.etm .etm-bajada strong { color: var(--tinta); font-weight: 700; }
.etm .etm-brillo { color: var(--verde); font-weight: 700; white-space: nowrap; }
/* Degradado animado solo donde el navegador lo pinta bien; si no, queda el verde sólido (el texto nunca desaparece). */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .etm .etm-brillo {
    display: inline-block;
    padding-bottom: .04em;
    background-image: linear-gradient(90deg, #016d4c 0%, #12945f 25%, #0093b4 50%, #12945f 75%, #016d4c 100%);
    background-size: 200% 100%;
    background-repeat: repeat-x;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: etmBrillo 8s linear infinite;
  }
}
@keyframes etmBrillo { from { background-position: 0% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .etm .etm-brillo { animation: none; } }

.etm .etm-cuenta { margin-top: 1.6rem; }
.etm .etm-cuenta__texto { color: var(--texto); font-size: .8125rem; font-weight: 600; }
.etm .etm-cuenta__reloj { display: grid; grid-template-columns: repeat(4, 4.75rem); gap: .5rem; margin-top: .5rem; }
.etm .etm-cuenta__reloj span { display: grid; justify-items: center; gap: .1rem; padding: .7rem .25rem .55rem; border-radius: .9rem; background: #fff; color: var(--suave); font-size: .6875rem; font-weight: 500; box-shadow: 0 1px 2px rgb(0 59 73 / .06), 0 8px 18px -12px rgb(0 59 73 / .25); }
.etm .etm-cuenta__reloj b { color: var(--petroleo); font-size: 1.6rem; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }

.etm .etm-hechos { display: grid; gap: .55rem; margin-top: 1.5rem; }
.etm .etm-hechos li { display: flex; align-items: flex-start; gap: .7rem; color: var(--tinta); font-size: .95rem; line-height: 1.45; }
.etm .etm-hechos .etm-icono { margin-top: .05rem; }

.etm .etm-segunda {
  display: flex;
  align-items: center;
  gap: .8rem;
  max-width: 34rem;
  margin-top: 1.4rem;
  padding: .7rem .9rem;
  border: 1px solid rgb(31 168 85 / .22);
  border-radius: .95rem;
  background: linear-gradient(90deg, #e9f8ef 0%, #f3fbf3 100%);
  color: var(--texto);
  text-decoration: none;
  transition: border-color 160ms ease, transform 200ms var(--ease), box-shadow 200ms ease;
}
.etm .etm-segunda:hover { border-color: rgb(31 168 85 / .5); color: var(--texto); box-shadow: 0 8px 20px -14px rgb(31 168 85 / .6); transform: translateY(-1px); }
.etm .etm-segunda__icono { display: grid; place-items: center; flex: 0 0 auto; width: 2.1rem; height: 2.1rem; border-radius: 50%; background: #25d366; }
.etm .etm-segunda__icono .etm-icono { width: 1.15rem; height: 1.15rem; color: #fff; }
.etm .etm-segunda__texto { min-width: 0; font-size: .875rem; line-height: 1.45; }
.etm .etm-segunda__texto strong { display: block; color: var(--tinta); font-weight: 700; }
.etm .etm-segunda__texto b { color: var(--tinta); font-weight: 700; }
.etm .etm-segunda__ir { flex: 0 0 auto; margin-left: auto; }
.etm .etm-segunda__ir .etm-icono { width: 1.1rem; height: 1.1rem; color: var(--verde); }

/* ---------- Formulario ---------- */
.etm .etm-tarjeta {
  padding: 1.35rem 1.5rem 1.25rem;
  border: 1px solid var(--linea);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 24px 48px -32px rgb(0 59 73 / .28);
}
.etm .etm-tarjeta__titulo { font-size: 1.25rem; font-weight: 700; line-height: 1.25; letter-spacing: -.015em; }
.etm .etm-tarjeta__nota { margin-top: .3rem; color: var(--suave); font-size: .8125rem; line-height: 1.45; }
.etm .etm-grilla { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem .8rem; margin-top: 1rem; }
.etm .etm-campo { display: grid; gap: .3rem; }
.etm .etm-campo--ancho { grid-column: 1 / -1; }
.etm .etm-campo label { display: flex; align-items: center; gap: .35rem; color: var(--tinta); font-size: .8125rem; font-weight: 600; line-height: 1.3; }
.etm .etm-campo label .etm-icono { width: .95rem; height: .95rem; }
.etm .etm-campo label .etm-req, .etm .etm-campo label .etm-opc { margin-left: -.1rem; }
.etm .etm-req { color: var(--verde); }
.etm .etm-opc { color: var(--suave); font-weight: 400; }
.etm .etm-campo input {
  width: 100%;
  height: 2.75rem;
  margin: 0;
  padding: 0 .85rem;
  border: 1px solid rgb(23 34 30 / .18);
  border-radius: .65rem;
  background: #fff;
  color: var(--tinta);
  font: 400 .95rem/1.2 "Montserrat", Arial, sans-serif;
  box-shadow: none;
  transition: border-color 150ms ease, box-shadow 150ms ease;
}
.etm .etm-campo input::placeholder { color: #a3aca8; }
.etm .etm-campo input:hover { border-color: rgb(23 34 30 / .3); }
.etm .etm-campo input:focus { border-color: var(--verde); box-shadow: 0 0 0 3px rgb(1 109 76 / .12); outline: none; }
.etm .etm-campo input[aria-invalid="true"] { border-color: var(--error); box-shadow: 0 0 0 3px rgb(179 38 30 / .08); }
.etm .etm-campo__error { color: var(--error); font-size: .75rem; line-height: 1.3; }

.etm .etm-casillas { display: grid; gap: .5rem; margin: .95rem 0 0; border: 0; min-width: 0; }
.etm .etm-casilla { display: grid; grid-template-columns: 1.05rem minmax(0, 1fr); gap: .6rem; align-items: start; color: var(--texto); font-size: .8125rem; line-height: 1.45; cursor: pointer; }
.etm .etm-casilla input { width: 1.05rem; height: 1.05rem; margin: .1rem 0 0; accent-color: var(--verde); cursor: pointer; }
.etm .etm-casilla[data-invalida] { color: var(--error); }
.etm .etm-casilla[data-invalida] input { outline: 2px solid var(--error); outline-offset: 1px; }
.etm .etm-mas { display: inline; margin: 0 0 0 .15rem; padding: 0; border: 0; background: none; color: var(--verde); font: 500 .8125rem/1 "Montserrat", Arial, sans-serif; text-decoration: underline; text-underline-offset: .18em; cursor: pointer; }
.etm .etm-privacidad { margin: 0 0 .1rem 1.65rem; padding: .7rem .8rem; border-radius: .6rem; background: var(--fondo); color: var(--suave); font-size: .78rem; line-height: 1.55; }
.etm .etm-trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.etm .etm-enviar { width: 100%; margin-top: 1rem; }
.etm .etm-enviar[aria-busy="true"] { opacity: .7; cursor: progress; }
.etm .etm-form__estado { margin-top: .6rem; color: var(--suave); font-size: .8125rem; line-height: 1.4; text-align: center; }
.etm .etm-form__estado:empty { display: none; }
.etm .etm-form__estado[data-tipo="error"] { color: var(--error); }

.etm .etm-listo, .etm .etm-cerrado { display: grid; gap: .75rem; }
.etm .etm-listo:focus { outline: none; }
.etm .etm-listo p, .etm .etm-cerrado p { color: var(--texto); font-size: .9rem; line-height: 1.6; }
.etm .etm-listo p.etm-listo__marca { display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--verde-claro); color: var(--verde); }
.etm .etm-listo__marca .etm-icono { width: 1.35rem; height: 1.35rem; stroke-width: 2.25; }
.etm .etm-codigo { padding: .1rem .45rem; border-radius: .4rem; background: var(--fondo); color: var(--petroleo); font: 600 .95rem/1.5 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .04em; }
.etm .etm-listo p.etm-listo__nota { color: var(--suave); font-size: .8125rem; }
.etm .etm-listo .etm-boton, .etm .etm-cerrado .etm-boton { justify-self: start; }

/* ---------- Botones y enlaces ---------- */
.etm .etm-boton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 2.9rem;
  padding: 0 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: 600 .875rem/1 "Montserrat", Arial, sans-serif;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 200ms var(--ease);
}
.etm .etm-boton:active { transform: scale(.98); }
.etm .etm-boton--principal { background: var(--petroleo); color: #fff; letter-spacing: .04em; }
.etm .etm-boton--principal:hover { background: var(--verde); color: #fff; }
.etm .etm-boton--wa { background: #fff; color: var(--tinta); }
.etm .etm-boton--wa .etm-icono { color: var(--wa); }
.etm .etm-boton--wa:hover { background: #f0faf4; color: var(--tinta); }
.etm .etm-listo .etm-boton--wa { border-color: rgb(23 34 30 / .16); }
.etm .etm-boton--claro { border-color: rgb(23 34 30 / .16); background: #fff; color: var(--tinta); }
.etm .etm-boton--claro:hover { border-color: rgb(23 34 30 / .3); background: var(--fondo); color: var(--tinta); }
.etm .etm-enlace { display: inline-flex; align-items: center; gap: .45rem; font-size: .9375rem; font-weight: 600; }
.etm .etm-enlace .etm-icono { width: 1.1rem; height: 1.1rem; }

/* ---------- Índice ---------- */
.etm > nav.etm-indice.is-pegado { background: #fff; }
.etm > nav.etm-indice.is-pegado::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: calc(var(--cabecera) + 1px); background: #fff; }
.etm > nav.etm-indice { position: sticky; z-index: 6; top: calc(var(--cabecera) - .5rem); width: 100%; padding: .35rem max(5%, calc((100% - 70rem) / 2)); background: rgb(255 255 255 / .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--linea); }
.etm .etm-indice ol {
  display: flex;
  gap: .1rem;
  width: max-content;
  max-width: 100%;
  margin-inline: auto;
  padding: .25rem;
  overflow-x: auto;
  border-radius: 999px;
  background: var(--fondo);
  scrollbar-width: none;
}
.etm .etm-indice ol::-webkit-scrollbar { display: none; }
.etm .etm-indice a { display: block; padding: .5rem .85rem; border-radius: 999px; color: var(--suave); font-size: .8125rem; font-weight: 500; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background-color 150ms ease, color 150ms ease; }
.etm .etm-indice a:hover { color: var(--tinta); }
.etm .etm-indice a.is-activo { background: #fff; color: var(--tinta); box-shadow: 0 1px 2px rgb(0 0 0 / .06); }

/* ---------- Secciones ---------- */
.etm .etm-seccion { padding-top: clamp(3.5rem, 7vw, 5.5rem); scroll-margin-top: calc(var(--cabecera) + 2.5rem); }
.etm #inscripcion, .etm #resultados { scroll-margin-top: calc(var(--cabecera) + 3rem); }
.etm .etm-seccion h2 { font-size: clamp(1.5rem, 2.4vw, 1.875rem); font-weight: 700; line-height: 1.15; letter-spacing: -.025em; }
.etm .etm-seccion h3 { font-size: 1rem; font-weight: 600; line-height: 1.4; }
.etm .etm-intro { max-width: 42rem; margin-top: .6rem; font-size: 1rem; line-height: 1.65; }
.etm .etm-nota { max-width: 46rem; margin-top: 1.5rem; color: var(--suave); font-size: .875rem; line-height: 1.6; }

.etm .etm-premios { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.etm .etm-premios li { position: relative; display: grid; align-content: start; gap: .2rem; padding: 1.5rem 1.6rem 1.6rem; border-radius: 1.25rem; color: var(--texto); overflow: hidden; }
.etm .etm-premios li.is-doble { background: linear-gradient(135deg, #f6f7dc 0%, #e6f5ec 100%); }
.etm .etm-premios li.is-individual { background: linear-gradient(135deg, #e6f5ee 0%, #e2f2f6 100%); }
.etm .etm-premios__icono { position: absolute; top: 1.25rem; right: 1.25rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fff; }
.etm .etm-premios__icono .etm-icono { width: 1.4rem; height: 1.4rem; color: var(--verde); }
.etm .etm-premios__n { color: var(--verde); font-size: 3.25rem; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
.etm .etm-premios li.is-individual .etm-premios__n { color: #0b7f8f; }
.etm .etm-premios h3 { margin-top: .4rem; color: var(--tinta); font-size: 1.1rem; font-weight: 700; }
.etm .etm-premios p { color: var(--texto); font-size: .95rem; line-height: 1.55; }

.etm .etm-canales { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 3rem; margin-top: 2rem; }
.etm .etm-canal { display: grid; align-content: start; justify-items: start; gap: .55rem; }
.etm .etm-canal__icono { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-bottom: .25rem; border-radius: .85rem; background: #e3eef1; }
.etm .etm-canal__icono .etm-icono { color: var(--petroleo); }
.etm .etm-canal--wa .etm-canal__icono { background: #e2f6ea; }
.etm .etm-canal--wa .etm-canal__icono .etm-icono { color: var(--wa); }
.etm .etm-canal p, .etm .etm-pasos { font-size: .95rem; line-height: 1.6; }
.etm .etm-pasos { list-style: decimal; padding-left: 1.15rem; }
.etm .etm-pasos li + li { margin-top: .2rem; }
.etm .etm-pasos li::marker { color: var(--suave); }
.etm .etm-pasos strong { color: var(--tinta); font-weight: 600; }
.etm .etm-canal .etm-enlace { margin-top: .2rem; }
.etm .etm-reglas { display: grid; gap: .6rem; max-width: 46rem; margin-top: 2.25rem; padding-top: 1.75rem; border-top: 1px solid var(--linea); }
.etm .etm-reglas li { display: flex; align-items: flex-start; gap: .65rem; font-size: .95rem; line-height: 1.55; }
.etm .etm-reglas .etm-icono { width: 1.1rem; height: 1.1rem; margin-top: .2rem; }
.etm .etm-descarga { margin-top: 1.5rem; }

.etm .etm-fechas { max-width: 52rem; margin-top: 1.75rem; }
.etm .etm-fechas li { display: grid; grid-template-columns: 19rem minmax(0, 1fr); gap: 1.5rem; padding: .9rem 0; border-top: 1px solid var(--linea); }
.etm .etm-fechas li:last-child { border-bottom: 1px solid var(--linea); }
.etm .etm-fechas time { color: var(--tinta); font-size: .95rem; font-weight: 600; line-height: 1.5; }
.etm .etm-fechas span { font-size: .95rem; line-height: 1.5; }

.etm .etm-proceso { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem 3rem; margin-top: 2rem; }
.etm .etm-proceso li { display: flex; align-items: flex-start; gap: .9rem; }
.etm .etm-proceso .etm-icono { margin-top: .1rem; }
.etm .etm-proceso p { margin-top: .25rem; font-size: .95rem; line-height: 1.6; }

/* Ganadores y premios en la portada (fases cerradas) */
.etm .etm-ganadores ol, .etm .etm-premios-mini ul { display: grid; gap: .6rem; margin-top: 1.1rem; }
.etm .etm-ganadores li, .etm .etm-premios-mini li { display: flex; align-items: center; gap: .9rem; padding: .8rem .9rem; border-radius: .9rem; background: var(--fondo); }
.etm .etm-ganadores li.is-doble, .etm .etm-premios-mini li.is-doble { background: #f4f5d2; }
.etm .etm-ganadores__icono { display: grid; place-items: center; flex: 0 0 auto; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: #fff; }
.etm .etm-ganadores__icono .etm-icono { width: 1.35rem; height: 1.35rem; color: var(--verde); }
.etm li.is-doble .etm-ganadores__icono { background: #d7d82c; }
.etm li.is-doble .etm-ganadores__icono .etm-icono { color: #12301f; }
.etm .etm-ganadores__texto { display: grid; gap: .1rem; min-width: 0; }
.etm .etm-ganadores__texto strong { color: var(--tinta); font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.etm .etm-ganadores__texto span { color: var(--texto); font-size: .8125rem; line-height: 1.4; }
.etm .etm-premios-mini li span:last-child { color: var(--texto); font-size: .95rem; }
.etm .etm-premios-mini li strong { color: var(--tinta); font-weight: 700; }
.etm .etm-ganadores .etm-tarjeta__titulo { display: flex; align-items: center; gap: .5rem; }
.etm .etm-icono--oro { color: #b59a00; }
.etm .etm-premios-mini .etm-tarjeta__nota { margin-top: 1rem; }
.etm .etm-premios-mini .etm-enlace { margin-top: .75rem; }

.etm .etm-datos { display: grid; max-width: 52rem; margin-top: 1.75rem; }
.etm .etm-datos > div { display: grid; grid-template-columns: 12rem minmax(0, 1fr); gap: 1.5rem; padding: .95rem 0; border-top: 1px solid var(--linea); }
.etm .etm-datos > div:last-child { border-bottom: 1px solid var(--linea); }
.etm .etm-datos dt { color: var(--tinta); font-size: .9rem; font-weight: 600; line-height: 1.5; }
.etm .etm-datos dd { font-size: .95rem; line-height: 1.6; }

.etm .etm-preguntas { max-width: 52rem; margin-top: 1.5rem; }
.etm .etm-preguntas details { border-top: 1px solid var(--linea); }
.etm .etm-preguntas details:last-child { border-bottom: 1px solid var(--linea); }
.etm .etm-preguntas summary { position: relative; padding: 1.05rem 2.5rem 1.05rem 0; color: var(--tinta); font-size: 1rem; font-weight: 500; line-height: 1.45; list-style: none; cursor: pointer; }
.etm .etm-preguntas summary::-webkit-details-marker { display: none; }
.etm .etm-preguntas summary::after { content: ""; position: absolute; right: .4rem; top: 50%; width: .5rem; height: .5rem; border-right: 1.5px solid var(--suave); border-bottom: 1.5px solid var(--suave); transform: translateY(-70%) rotate(45deg); transition: transform 220ms var(--ease); }
.etm .etm-preguntas details[open] summary::after { transform: translateY(-25%) rotate(-135deg); }
.etm .etm-preguntas summary:hover { color: var(--verde); }
.etm .etm-preguntas details p { max-width: 44rem; padding: 0 0 1.15rem; font-size: .95rem; line-height: 1.65; }

.etm .etm-bases-acciones { margin-top: 1.5rem; }
.etm .etm-bases { max-width: 52rem; margin-top: 1rem; }
.etm .etm-bases summary { display: inline-block; padding: .25rem 0; color: var(--verde); font-size: .9375rem; font-weight: 500; cursor: pointer; }
.etm .etm-bases__texto { margin-top: 1rem; padding: 1.5rem 1.6rem; border-radius: 1rem; background: var(--fondo); }
.etm .etm-bases__texto h3 { margin: 1.4rem 0 .4rem; font-size: .95rem; font-weight: 600; }
.etm .etm-bases__texto h3:first-of-type { margin-top: .5rem; }
.etm .etm-bases__n { color: var(--verde); }
.etm .etm-bases__texto :is(p, li) { max-width: 44rem; font-size: .9rem; line-height: 1.7; }
.etm .etm-bases__texto p { margin: 0 0 .6rem; }
.etm .etm-bases__texto ul { list-style: disc; padding-left: 1.2rem; margin: .3rem 0 .7rem; }
.etm .etm-bases__texto ol { list-style: decimal; padding-left: 1.2rem; margin: .3rem 0 .7rem; }
.etm .etm-bases__texto li + li { margin-top: .3rem; }
.etm .etm-bases__texto strong { color: var(--tinta); font-weight: 600; }

/* ---------- Aparición suave al bajar (solo con JavaScript y movimiento permitido) ---------- */
.etm.etm-mov .etm-seccion > * { opacity: 0; transform: translateY(.5rem); transition: opacity 500ms ease, transform 600ms var(--ease); }
.etm.etm-mov .etm-seccion.is-visible > * { opacity: 1; transform: none; }
.etm.etm-mov .etm-seccion.is-visible > :nth-child(n+2) { transition-delay: 70ms; }

/* ---------- Pantallas más chicas ---------- */
@media (max-width: 64rem) {
  .etm-portada { grid-template-columns: minmax(0, 1fr) minmax(0, 27rem); gap: 2.5rem; }
  .etm .etm-fechas li { grid-template-columns: 16rem minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .etm-portada { padding-top: calc(var(--cabecera) + 1rem); }   /* aquí el header flota sin dejar espacio arriba */
}
@media (max-width: 52rem) {
  .etm { --cabecera: 5.6rem; }
  .etm-portada { display: flex; flex-direction: column; gap: 0; padding-top: calc(var(--cabecera) + 1.1rem); }
  .etm-portada__texto { display: contents; }
  .etm .etm-marcas { order: 1; }
  .etm h1 { order: 2; }
  .etm .etm-bajada { order: 3; }
  .etm-portada__lado { order: 4; width: 100%; margin-top: 1.5rem; }
  .etm .etm-cuenta { order: 6; }
  .etm .etm-hechos { order: 7; }
  .etm .etm-segunda { order: 5; max-width: none; }
  .etm .etm-premios, .etm .etm-canales, .etm .etm-proceso { grid-template-columns: 1fr; }
  .etm .etm-fechas li, .etm .etm-datos > div { grid-template-columns: 1fr; gap: .2rem; }
}
@media (max-width: 40rem) {
  .etm > section, .etm-portada { width: calc(100% - 2.5rem); }
  .etm .etm-marcas { flex-wrap: nowrap; gap: .6rem; }
  .etm .etm-marcas__etmday { height: 2.2rem; }
  .etm .etm-marcas__amb, .etm .etm-marcas__sep { height: 1.8rem; }
  .etm .etm-etiqueta { padding: .3rem .6rem; font-size: .75rem; white-space: nowrap; }
  .etm .etm-segunda .etm-boton { grid-column: 1; }
  .etm > nav.etm-indice { padding-inline: 1.25rem; }
  .etm h1 { font-size: clamp(1.95rem, 8.6vw, 2.4rem); }
  .etm .etm-bajada { font-size: 1rem; }
  .etm .etm-tarjeta { padding: 1.2rem 1.1rem 1.15rem; border-radius: 1rem; }
  .etm .etm-grilla .etm-campo:nth-child(n+3) { grid-column: 1 / -1; }
  .etm .etm-cuenta__reloj { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .etm .etm-indice ol { width: 100%; }
  .etm .etm-bases__texto { padding: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .etm *, .etm *::before, .etm *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .etm-sitio-cabecera, .etm-sitio-pie, .etm .etm-indice, .etm .etm-portada__form, #wpadminbar { display: none !important; }
}

/* ---------- Avisos y celebraciones ---------- */
.etm .etm-cuenta.is-urgente .etm-cuenta__texto { color: #b45309; font-weight: 700; }
.etm .etm-cuenta.is-urgente .etm-cuenta__reloj span { box-shadow: 0 0 0 1px rgb(242 183 5 / .55), 0 8px 18px -12px rgb(180 83 9 / .45); }
.etm .etm-cuenta.is-urgente .etm-cuenta__reloj span:last-child b { animation: etmLatido 1s ease-in-out infinite; }
@keyframes etmLatido { 50% { transform: scale(1.12); } }

.etm .etm-portada__lado { position: relative; }
.etm.etm-cerrando .etm-portada__lado > .etm-tarjeta { opacity: .25; filter: blur(2px); transform: scale(.98); transition: opacity 500ms ease, filter 500ms ease, transform 500ms ease; pointer-events: none; }
.etm .etm-aviso {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: .75rem;
  padding: 2rem;
  border-radius: 1.25rem;
  background: rgb(255 255 255 / .92);
  box-shadow: 0 24px 48px -32px rgb(0 59 73 / .35);
  text-align: center;
  opacity: 0;
  transform: scale(.92);
  transition: opacity 400ms ease, transform 600ms cubic-bezier(.34, 1.56, .64, 1);
}
.etm .etm-aviso.is-visible { opacity: 1; transform: none; }
.etm .etm-aviso h2 { margin: 0; color: var(--tinta); font-size: 1.5rem; font-weight: 700; line-height: 1.2; }
.etm .etm-aviso__texto { max-width: 22rem; color: var(--texto); font-size: .95rem; line-height: 1.55; }
.etm .etm-aviso__sello { display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: #d7d82c; color: #12301f; }
.etm .etm-aviso__sello .etm-icono { width: 2.1rem; height: 2.1rem; color: inherit; stroke-width: 2; }
.etm .etm-aviso.is-visible .etm-aviso__sello { animation: etmSello 700ms cubic-bezier(.34, 1.56, .64, 1) both; }
.etm .etm-aviso--sorteo.is-visible .etm-aviso__sello .etm-icono { animation: etmGiro 1.4s ease-in-out infinite; }
@keyframes etmSello { 0% { transform: scale(2.2) rotate(-25deg); opacity: 0; } 60% { transform: scale(.9) rotate(6deg); opacity: 1; } 100% { transform: none; } }
@keyframes etmGiro { 0% { transform: rotate(0); } 50% { transform: rotate(-14deg) scale(1.08); } 100% { transform: rotate(0); } }

.etm .etm-portada-fondo { position: relative; overflow: hidden; }
.etm .etm-confeti { position: absolute; inset: 0; z-index: 4; pointer-events: none; }
.etm .etm-confeti i { position: absolute; top: 5.5rem; width: 9px; height: 13px; border-radius: 2px; opacity: 0; animation: etmConfeti 3s cubic-bezier(.25, .6, .45, 1) forwards; will-change: transform, opacity; }
.etm .etm-confeti i.is-tira { width: 5px; height: 16px; border-radius: 3px; }
@keyframes etmConfeti {
  0% { opacity: 1; transform: translate3d(0, 0, 0) rotate(0); }
  85% { opacity: 1; }
  100% { opacity: 0; transform: translate3d(var(--deriva), 90vh, 0) rotate(var(--giro)); }
}
.etm.etm-celebra .etm-ganadores li { animation: etmEntra 600ms cubic-bezier(.34, 1.56, .64, 1) both; }
.etm.etm-celebra .etm-ganadores li:nth-child(2) { animation-delay: 150ms; }
.etm.etm-celebra .etm-ganadores li:nth-child(3) { animation-delay: 300ms; }
.etm.etm-celebra .etm-ganadores li:nth-child(4) { animation-delay: 450ms; }
@keyframes etmEntra { from { opacity: 0; transform: translateY(14px) scale(.96); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .etm .etm-confeti { display: none; }
  .etm .etm-aviso, .etm .etm-aviso__sello, .etm .etm-ganadores li { animation: none !important; transition: none !important; }
}
