/* ==========================================================================
   piezas.css · LAS PIEZAS DE LAS PANTALLAS
   Encabezado, portada, íconos de apps, tarjetas, etiquetas, botones,
   pasos, formulario y avisos.
   ========================================================================== */

/* ---------- Encabezado ---------- */
.cabecera { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.marca { display: flex; align-items: center; gap: 10px; color: var(--texto); text-decoration: none; }
.marca svg { color: var(--ambar); }
.marca__nombre { font-weight: 300; letter-spacing: .3em; font-size: 1rem; }
.etiqueta-ciudad { font-size: .75rem; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--linea-2); color: var(--suave); white-space: nowrap; }

/* ---------- Portada: el banner se ve COMPLETO (trae el nombre y el lema) ---------- */
.portada { border-radius: 24px; overflow: hidden; border: 1px solid var(--linea); box-shadow: 0 16px 40px #00000080; }
.portada img { width: 100%; height: auto; aspect-ratio: 1344 / 576; object-fit: cover; }
.titulo-grande { font-size: 1.75rem; font-weight: 300; line-height: 1.15; }
.titulo-grande b { font-weight: 600; color: var(--ambar); }
.intro { color: var(--suave); font-size: .9688rem; }
.fila-botones { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Títulos de sección ---------- */
.seccion-titulo { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.seccion-titulo h2 { font-size: 1.0625rem; font-weight: 600; }
.seccion-titulo a { font-size: .8125rem; font-weight: 500; text-decoration: none; }
.titulo-pantalla { font-size: 1.625rem; font-weight: 600; line-height: 1.2; }
.ojo { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--ambar); font-weight: 600; }

/* ---------- Íconos de apps (como la pantalla de un celular) ---------- */
.rejilla-apps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px 8px; }
.icono-app { display: grid; justify-items: center; gap: 7px; text-decoration: none; color: var(--texto); font-size: .75rem; text-align: center; line-height: 1.25; }
.icono-app__caja {
  position: relative; width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center;
  color: #07110D; box-shadow: 0 10px 24px #00000070; transition: transform .2s var(--curva); overflow: hidden;
}
.icono-app:hover .icono-app__caja, .icono-app:focus-visible .icono-app__caja { transform: translateY(-3px) scale(1.05); }
.icono-app__caja img { width: 100%; height: 100%; object-fit: cover; }
.icono-app__punto { position: absolute; z-index: 1; top: 5px; right: 5px; width: 13px; height: 13px; border-radius: 50%; border: 2.5px solid var(--fondo); box-shadow: 0 0 0 1.5px #ffffffcc; }   /* borde oscuro + aro claro: se ve sobre cualquier ícono */
.punto--lista { background: #3FCB82; } .punto--pronto { background: #F2B35A; } .punto--idea { background: #8A9993; }

/* Leyenda de los puntos de colores */
.leyenda { display: flex; flex-wrap: wrap; gap: 12px; font-size: .75rem; color: var(--suave); }
.leyenda span { display: inline-flex; align-items: center; gap: 6px; }
.leyenda i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }

/* ---------- Tarjetas ---------- */
.tarjeta { background: var(--fondo-2); border: 1px solid var(--linea); border-radius: var(--radio); padding: 18px; display: grid; gap: 12px; }
.tarjeta--brillo { background: linear-gradient(160deg, var(--fondo-3), var(--fondo-2)); border-color: var(--linea-2); }
.fila { display: flex; align-items: center; gap: 12px; }
.fila-separada { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tarjeta-app__icono { width: 56px; height: 56px; border-radius: 18px; flex: none; display: grid; place-items: center; color: #07110D; overflow: hidden; }
.tarjeta-app__icono img { width: 100%; height: 100%; object-fit: cover; }
.tarjeta-app h3 { font-size: 1.0625rem; font-weight: 600; line-height: 1.25; }
.tarjeta-app__frase { font-size: .8125rem; color: var(--suave); }
.puntos { display: grid; gap: 6px; font-size: .875rem; }
.puntos li { padding-left: 20px; position: relative; }
.puntos li::before { content: ""; position: absolute; left: 3px; top: .6em; width: 7px; height: 7px; border-radius: 50%; background: var(--menta); }
.direccion { font-size: .75rem; color: var(--suave); word-break: break-all; }

/* ---------- Etiquetas de estado ---------- */
.etiqueta { display: inline-block; padding: 4px 11px; border-radius: 999px; font-size: .6875rem; font-weight: 600; white-space: nowrap; }
.etiqueta--lista  { background: #10271E; color: var(--menta); }
.etiqueta--pronto { background: #2A2210; color: var(--ambar); }
.etiqueta--idea   { background: #1A2420; color: var(--suave); }

/* ---------- Botones ---------- */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: .9375rem;
  text-decoration: none; cursor: pointer; transition: transform .15s var(--curva), background .2s, border-color .2s, color .2s;
}
.boton:active { transform: scale(.98); }
.boton--principal { background: var(--ambar); color: #07110D; }
.boton--principal:hover { background: var(--ambar-2); color: #07110D; }
.boton--borde { background: transparent; border-color: var(--linea-2); color: var(--texto); }
.boton--borde:hover { border-color: var(--ambar); color: var(--ambar); }
.boton--ancho { width: 100%; }

/* ---------- Filtros ---------- */
.filtros { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.filtros::-webkit-scrollbar { display: none; }
.filtro { flex: none; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--linea-2); background: transparent; cursor: pointer; font-size: .8125rem; font-weight: 500; }
.filtro.activo { background: var(--ambar); border-color: var(--ambar); color: #07110D; }

/* ---------- Nosotros ---------- */
.cita { font-size: 1.125rem; font-weight: 300; line-height: 1.45; border-left: 3px solid var(--ambar); padding-left: 14px; }
.pasos { display: grid; gap: 10px; }
.paso { display: flex; gap: 14px; align-items: flex-start; padding: 14px; border-radius: var(--radio-sm); background: var(--fondo-2); border: 1px solid var(--linea); }
.paso__num { font-size: 1.5rem; font-weight: 200; color: var(--ambar); line-height: 1.1; min-width: 34px; }
.paso strong { display: block; font-weight: 600; }
.paso p { font-size: .875rem; color: var(--suave); }
.direcciones { display: flex; flex-wrap: wrap; gap: 8px; }
.direcciones li { padding: 7px 12px; border-radius: 999px; background: var(--fondo); border: 1px solid var(--linea); font-size: .8125rem; color: var(--suave); }
.direcciones b { color: var(--ambar); font-weight: 500; }

/* ---------- Formulario ---------- */
.formulario { display: grid; gap: 14px; }
.campo { display: grid; gap: 6px; }
.campo label { font-size: .8125rem; color: var(--suave); }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: var(--radio-sm);
  border: 1px solid var(--linea-2); background: #0A1611; font-size: 1rem;
}
.campo textarea { min-height: 110px; resize: none; }
.campo input:focus, .campo select:focus, .campo textarea:focus { outline: none; border-color: var(--ambar); box-shadow: 0 0 0 3px #F2B35A33; }
.campo--error input, .campo--error textarea { border-color: var(--error); }
.campo__error { color: var(--error); font-size: .8125rem; min-height: 1em; }
.estado-envio { font-size: .875rem; min-height: 1.4em; }
.estado-envio.ok { color: var(--menta); }
.estado-envio.mal { color: var(--error); }
.trampa { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }   /* campo anti-robots */
.canales { display: grid; gap: 8px; font-size: .9375rem; }

.pie { text-align: center; font-size: .75rem; color: var(--suave); }

/* ---------- Avisos flotantes ---------- */
.avisos { position: fixed; left: 50%; translate: -50% 0; bottom: 100px; z-index: 50; display: grid; gap: 8px; width: min(420px, calc(100vw - 32px)); pointer-events: none; }
.aviso { padding: 12px 16px; border-radius: var(--radio-sm); background: var(--fondo-3); border: 1px solid var(--linea-2); box-shadow: 0 14px 40px #000000AA; }
