/* Pantalla "en construcción" (web/en-construccion.html).
   Usa colores, fuentes y botones de base.css. Paleta: lima #CBEE5C, manchas #B6DE3A, azul #1D6FE6,
   azul hondo #0F4FB0, crema #FFFDFA, tinta #232323. */
.pronto { --mancha: #B6DE3A; position: relative; background: var(--lima); min-height: 100svh; display: flex; flex-direction: column; overflow-x: hidden; }
.pronto__manchas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; fill: var(--mancha); pointer-events: none; }

.pronto__escena { position: relative; z-index: 1; flex: 1; display: grid; gap: 48px; align-items: center;
  width: 100%; max-width: 1240px; margin: 0 auto; padding: 28px 20px 56px; }
@media (min-width: 960px) { .pronto__escena { grid-template-columns: 1.05fr 1fr; gap: 32px; padding: 40px 64px 56px 40px; } }

/* ---------- Texto ---------- */
.pronto__logo { width: clamp(220px, 22vw, 280px); height: auto; margin-bottom: clamp(24px, 5vh, 56px); }
.pronto__titulo { margin: 0 0 22px; font-family: var(--destacada); font-weight: 400; color: var(--azul);
  font-size: clamp(4.2rem, 12vw, 9.2rem); line-height: .86; letter-spacing: -.02em; }
/* El título es un botón: al tocarlo se da vuelta y aparece en español, al mismo tamaño */
.pronto__traducir { display: grid; padding: 0; border: 0; background: none; font: inherit; color: inherit; letter-spacing: inherit; line-height: inherit;
  text-align: left; cursor: pointer; perspective: 900px; transition: transform .35s var(--rebote); }
.pronto__traducir:hover { transform: rotate(-1.5deg) scale(1.015); }
.pronto__traducir:active { transform: scale(.98); }
.pronto__traducir:focus-visible { outline: 4px solid var(--azul-hondo); outline-offset: 8px; border-radius: 18px; }
.pronto__idioma { grid-area: 1 / 1; backface-visibility: hidden; transform-origin: 50% 55%;
  transition: transform .6s var(--rebote), opacity .3s; }
/* Subrayado ondulado fino, igual al de las palabras en portugués del sitio (línea delgada fija: en un título tan grande, el grosor proporcional se ve en zigzag) */
.pronto__idioma .pronto__linea:last-child { text-decoration: underline wavy; text-decoration-color: color-mix(in srgb, currentColor 55%, transparent); text-decoration-thickness: 3px; text-underline-offset: .14em; text-decoration-skip-ink: none; }
.pronto__idioma--es { color: var(--azul-hondo); transform: rotateX(-90deg); opacity: 0; }
.pronto__traducir[aria-pressed="true"] .pronto__idioma--pt { transform: rotateX(90deg); opacity: 0; }
.pronto__traducir[aria-pressed="true"] .pronto__idioma--es { transform: none; opacity: 1; }

/* Sticker que invita a tocar el título */
.pronto__pista { display: inline-flex; align-items: center; gap: 10px; margin: 10px 0 26px; padding: 10px 18px 10px 12px; rotate: -2deg;
  border-radius: 999px; background: var(--tinta); color: var(--lima); font-weight: 600; font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.25;
  box-shadow: 0 12px 24px -14px rgba(35,35,35,.6); }
.pronto__mano { display: inline-block; font-size: 1.35em; line-height: 1; }
.pronto__linea { display: block; }
.pronto__linea + .pronto__linea { padding-left: .55em; }
.pronto__bajada { font-size: clamp(1.1rem, 1.6vw, 1.28rem); line-height: 1.5; max-width: 27em; margin: 0 0 30px; }

.pronto__mientras { margin: 0 0 12px; font-weight: 600; }
.pronto__acciones { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-bottom: 16px; }
.pronto__ig { color: var(--tinta); font-weight: 600; text-underline-offset: 4px; text-decoration-thickness: 2px; }
.pronto__datos { margin: 0; font-size: .95rem; line-height: 1.5; }
.pronto__datos a { color: var(--tinta); }

/* ---------- Visual: arco, perrito, dibujos, sticker y etiqueta ---------- */
.pronto__visual { position: relative; justify-self: center; width: min(420px, 74vw); margin-top: 18%; }
@media (min-width: 960px) { .pronto__visual { margin-top: 70px; } }
.pronto__arco { position: relative; aspect-ratio: 4 / 5; border-radius: 999px 999px 28px 28px;
  background: radial-gradient(120% 70% at 50% 10%, #4B8FF0 0, var(--azul) 45%, var(--azul-hondo) 100%); }
/* El perrito es más alto que el arco: la cabeza sale por arriba, el cuerpo queda dentro */
.pronto__perro { position: absolute; left: 4%; bottom: 0; width: 92%; display: block; clip-path: inset(-60% 0 0 0 round 0 0 28px 28px); }
.pronto__perro img { width: 100%; height: auto; filter: drop-shadow(0 18px 24px rgba(5, 25, 80, .35)); }

.pronto__dibujo { position: absolute; fill: none; stroke: #fff; stroke-width: 4.5; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.pronto__dibujo--tijera { width: 26%; left: -22%; top: 34%; rotate: -14deg; }
.pronto__dibujo--peineta { width: 34%; right: -20%; top: 56%; rotate: 72deg; }
.pronto__dibujo--brillo { width: 13%; left: -6%; top: 6%; fill: #fff; stroke: none; }

.pronto__sticker { position: absolute; width: 32%; right: -12%; top: 4%; z-index: 2; overflow: visible; }
.pronto__sticker circle { fill: var(--tinta); }
.pronto__sticker text { fill: var(--lima); font: 600 17.5px "Gabarito", sans-serif; letter-spacing: .03em; }
.pronto__sticker-corazon { fill: var(--lima); }

/* Etiqueta tipo empaque: esquinas troqueladas y doble borde */
.pronto__etiqueta { position: absolute; z-index: 3; left: -14%; bottom: -12%; width: 86%; rotate: -4deg; padding: 16px 18px 14px;
  background: var(--azul-hondo); color: var(--crema);
  box-shadow: inset 0 0 0 6px var(--azul-hondo), inset 0 0 0 8px var(--crema), 0 24px 40px -22px rgba(5, 25, 80, .7);
  -webkit-mask: radial-gradient(circle 12px at 0 0, #0000 98%, #000) top left, radial-gradient(circle 12px at 100% 0, #0000 98%, #000) top right,
                radial-gradient(circle 12px at 0 100%, #0000 98%, #000) bottom left, radial-gradient(circle 12px at 100% 100%, #0000 98%, #000) bottom right;
  -webkit-mask-size: 51% 51%; -webkit-mask-repeat: no-repeat;
  mask: radial-gradient(circle 12px at 0 0, #0000 98%, #000) top left, radial-gradient(circle 12px at 100% 0, #0000 98%, #000) top right,
        radial-gradient(circle 12px at 0 100%, #0000 98%, #000) bottom left, radial-gradient(circle 12px at 100% 100%, #0000 98%, #000) bottom right;
  mask-size: 51% 51%; mask-repeat: no-repeat; }
.pronto__etiqueta-titulo { margin: 6px 8px 10px; font-family: var(--destacada); font-size: 1.2rem; line-height: 1; color: var(--lima); }
.pronto__pasos { list-style: none; margin: 0 6px 6px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1.5px solid rgba(255,253,250,.6); }
.pronto__pasos li { display: grid; gap: 1px; padding: 9px 10px 8px; border-bottom: 1.5px solid rgba(255,253,250,.6); }
.pronto__pasos li:nth-child(odd) { border-right: 1.5px solid rgba(255,253,250,.6); padding-left: 2px; }
.pronto__pasos li:nth-last-child(-n+2) { border-bottom: 0; }
.pronto__pasos span { font-weight: 700; font-size: 1.15rem; line-height: 1.15; }
.pronto__pasos small { display: flex; align-items: center; gap: 6px; margin: 0; font-size: .85rem; color: var(--lima); }
.pronto__pasos .hecho small::before { content: "✓"; font-weight: 700; }
/* "En eso estamos": un relojito cuyo minutero avanza (el tiempo pasa, está en proceso) */
.pronto__pasos .en-curso small { position: relative; }
.pronto__pasos .en-curso small::before { content: ""; order: -1; flex: none; width: 16px; height: 16px; border-radius: 50%; box-sizing: border-box;
  border: 2px solid var(--lima); background: radial-gradient(circle 1.6px, var(--lima) 98%, #0000) center / 100% 100% no-repeat,
  linear-gradient(var(--lima), var(--lima)) calc(50% + 2px) 50% / 4px 1.6px no-repeat; }
.pronto__pasos .en-curso small::after { content: ""; position: absolute; left: 7.2px; top: 50%; width: 1.6px; height: 5.5px; margin-top: -5.5px;
  border-radius: 1px; background: var(--lima); transform-origin: 50% 100%; }

.pronto__vertical { position: absolute; right: 6px; top: 50%; margin: 0; writing-mode: vertical-rl; translate: 0 -50%;
  font-weight: 600; font-size: .9rem; opacity: .75; }
@media (max-width: 959px) { .pronto__vertical { display: none; } }

/* ---------- Celular ---------- */
@media (max-width: 600px) {
  .pronto__visual { width: 70vw; margin: 22vw 0 18vw; }
  .pronto__etiqueta { left: -12%; width: 100%; bottom: -16%; }
  .pronto__sticker { right: -20%; width: 38%; }
  .pronto__dibujo--tijera { left: -20%; }
  .pronto__dibujo--peineta { right: -24%; }
}

.pronto__pie { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; padding: 16px 20px; background: var(--tinta); color: #fff; font-size: .9rem; }
.pronto__pie a { color: var(--lima); }

/* ---------- Movimiento: una sola entrada + el sticker girando ---------- */
@media (prefers-reduced-motion: no-preference) {
  .pronto__arco { animation: infla .9s var(--rebote) .1s both; }
  .pronto__perro { animation: perro-entra 1s var(--rebote) .35s both; }
  .pronto__etiqueta { animation: etiqueta-cae .9s var(--rebote) .75s both; }
  .pronto__sticker { animation: gira 22s linear infinite; }
  /* La mano "toca" el título unas veces y se detiene cuando ya se usó */
  .pronto__mano { animation: toca 1.6s var(--suave) 1.4s 6; }
  .pronto__pista.usada .pronto__mano { animation: none; }
  .pronto__pasos .en-curso small::after { animation: minutero 6s steps(12) infinite; }
}
@keyframes etiqueta-cae { from { opacity: 0; transform: translateY(-36px) rotate(8deg); } to { opacity: 1; transform: none; } }
@keyframes toca { 0%, 60%, 100% { transform: none; } 20% { transform: translateY(-7px) rotate(-8deg); } 35% { transform: translateY(2px) scale(.92); } }
@keyframes minutero { to { transform: rotate(360deg); } }

/* Celular y tablet: el perrito aparece justo después del título, no al final */
@media (max-width: 959px) {
  .pronto__escena { gap: 0; }
  .pronto__texto { display: contents; }
  .pronto__logo { order: 1; }
  .pronto__titulo { order: 2; }
  .pronto__pista { order: 2; justify-self: start; }
  .pronto__visual { order: 3; margin: 30vw auto 34vw; }
  .pronto__bajada { order: 4; }
  .pronto__contacto { order: 5; }
}
@media (max-width: 600px) {
  .pronto__titulo { font-size: clamp(3.6rem, 18vw, 5rem); }
  .pronto__visual { width: 64vw; margin: 14vw auto 40vw; }
  .pronto__etiqueta { bottom: -30%; left: -14%; width: 110%; }
  .pronto__pasos span { font-size: 1.02rem; }
  .pronto__pasos small { font-size: .74rem; white-space: nowrap; }
}
