/* Cheto Café — home "Próximamente"
   Versión 1 Blanca del manual de identidad: fondo Blanco, nombre Índigo,
   eslogan y frase Carbón. Turquesa como único acento dominante. */

:root {
  /* Paleta del manual */
  --indigo: #130C29;
  --carbon: #333434;
  --blanco: #FEFEFE;
  --turquesa: #27AEAD;
  --naranja: #CD8F52;
  --mostaza: #D3A447;
  --lila: #986494;
  --cafe: #593A2B;
  --verde-gris: #5D7C81;

  /* Tipografías del manual */
  --fuente-nombre: "Bagel Fat One", "Arial Black", system-ui, sans-serif;
  --fuente-texto: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Jerarquía del manual: eslogan = 32% del nombre, frase = 24% */
  --nombre: clamp(3rem, min(14vw, 11vh), 7rem);
  --eslogan: calc(var(--nombre) * 0.32);
  --frase: max(calc(var(--nombre) * 0.24), 0.9375rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--blanco);
  color: var(--carbon);
  font-family: var(--fuente-texto);
  font-size: 1rem;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
h1 {
  margin: 0;
}

.home {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.5rem, 4vh, 3rem) 1.25rem clamp(1rem, 2.5vh, 2rem);
}

/* Etiqueta de estado: turquesa = disponible/activo según el manual */
.estado {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.5em 1.1em;
  border-radius: 999px;
  background: var(--turquesa);
  color: var(--indigo);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.estado__punto {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--indigo);
  animation: latido 2.4s ease-in-out infinite;
}

/* Coronel: protagonista, con aire alrededor y sin efectos agregados */
.coronel {
  display: block;
  width: min(72vw, 36vh, 24rem);
  margin-top: clamp(1.5rem, 4vh, 2.5rem);
}

.coronel img {
  display: block;
  width: 100%;
  height: auto;
}

.nombre {
  /* Más aire entre el platito y el nombre (ajuste pendiente del manual) */
  margin-top: clamp(1.5rem, 3.5vh, 2.5rem);
  font-family: var(--fuente-nombre);
  font-size: var(--nombre);
  font-weight: 400;
  line-height: 1;
  color: var(--indigo);
  white-space: nowrap;
}

.eslogan {
  margin-top: 0.35em;
  font-size: var(--eslogan);
  font-weight: 700;
  line-height: 1.2;
  color: var(--carbon);
}

/* Pequeña repetición de la cola de Coronel como acento */
.cola {
  display: flex;
  gap: 0.375rem;
  margin-top: clamp(1.25rem, 3vh, 2rem);
}

.cola span {
  width: 1.75rem;
  height: 0.5rem;
  border-radius: 999px;
}

.cola span:nth-child(1) { background: var(--turquesa); }
.cola span:nth-child(2) { background: var(--naranja); }
.cola span:nth-child(3) { background: var(--mostaza); }
.cola span:nth-child(4) { background: var(--lila); }

.aviso {
  margin-top: clamp(1rem, 2.5vh, 1.5rem);
  font-size: clamp(1rem, 2.4vw, 1.1875rem);
  text-wrap: balance;
  color: var(--carbon);
}

.frase {
  margin-top: 0.5em;
  font-size: var(--frase);
  font-style: italic;
  color: var(--carbon);
}

.pie {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.75rem;
  padding: 1rem 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--carbon);
}

.pie a {
  color: var(--indigo);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.pie a:hover {
  color: var(--turquesa);
}

.pie a:focus-visible {
  outline: 2px solid var(--turquesa);
  outline-offset: 2px;
}

/* Separador "·" entre los dos textos; solo cuando entran en la misma línea */
@media (min-width: 640px) {
  .pie p + p::before {
    content: "·";
    margin-right: 0.75rem;
  }
}

@keyframes latido {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

@media (prefers-reduced-motion: reduce) {
  .estado__punto {
    animation: none;
  }
}
