/* ====================================================================
   LA PELU OF THE CITY
   Idea: una peluquería de familias. La página casi entera es una sola
   pregunta, "¿para quién es el turno?", con tres respuestas grandes y
   de colores, fáciles de tocar con el pulgar.
   ==================================================================== */
:root {
  --celeste: #5BC0EB;
  --amarillo: #FDE74C;
  --coral: #FA7B62;
  --noche: #1B2F4B;
  --blanco: #FFFFFF;
  --niebla: #F2F7FA;
  --texto-suave: #4E5D72;
  --wa: #25D366;

  --fuente-display: "Fredoka", system-ui, sans-serif;
  --fuente: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-tap-highlight-color: transparent; }
body { font-family: var(--fuente); background: var(--blanco); color: var(--noche); line-height: 1.55; font-size: 1.0625rem; }
a { color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 3px solid var(--noche); outline-offset: 3px; }

.contenedor { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 1.1rem; }

/* Cabecera */
.cabecera-fila { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.marca { font-family: var(--fuente-display); font-weight: 600; font-size: 1.3rem; text-decoration: none; }
.cabecera-ig { font-weight: 700; font-size: 0.95rem; text-underline-offset: 4px; }

/* ====================================================================
   PRESENTACIÓN Y OPCIONES
   ==================================================================== */
.inicio {
  position: relative;
  padding: 1.5rem 0 3.5rem;
  overflow: hidden;
}
/* Tres manchas de color de fondo: los mismos colores que las opciones */
.inicio::before, .inicio::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}
.inicio::before { width: 200px; height: 200px; background: var(--amarillo); top: -110px; right: -100px; }
.inicio::after { width: 220px; height: 220px; background: var(--celeste); opacity: 0.35; bottom: 40px; left: -110px; }

.inicio h1 {
  font-family: var(--fuente-display);
  font-weight: 600;
  font-size: clamp(2.6rem, 11vw, 5.2rem);
  line-height: 1;
  letter-spacing: -0.01em;
  max-width: 12ch;
}
.bajada { max-width: 40ch; font-size: 1.15rem; color: var(--texto-suave); margin: 1rem 0 2.4rem; }
.para-quien-titulo { font-family: var(--fuente-display); font-weight: 500; font-size: 1.6rem; margin-bottom: 1rem; }

.para-quien { display: grid; gap: 0.9rem; }
.opcion {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 1rem;
  align-items: center;
  padding: 1.2rem 1.3rem;
  border-radius: 24px;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.opcion:hover { transform: translateY(-3px); }
.opcion:active { transform: translateY(0); }
.opcion-emoji { grid-row: span 2; font-size: 2.6rem; line-height: 1; }
.opcion strong { font-family: var(--fuente-display); font-weight: 600; font-size: 1.45rem; line-height: 1.15; }
.opcion-texto { font-size: 1rem; }
.opcion-chicos { background: var(--amarillo); }
.opcion-adulto { background: var(--celeste); }
.opcion-familia { background: var(--coral); }

@media (min-width: 820px) {
  .inicio { padding: 3rem 0 5rem; }
  .inicio::before { width: 520px; height: 520px; top: -200px; right: -140px; }
  .para-quien { grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
  .opcion { grid-template-columns: 1fr; align-content: start; min-height: 230px; padding: 1.6rem; row-gap: 0.4rem; }
  .opcion-emoji { grid-row: auto; font-size: 3.2rem; margin-bottom: 0.6rem; }
}

/* ====================================================================
   UBICACIÓN Y PIE
   ==================================================================== */
.ubicacion { background: var(--niebla); padding: 3.2rem 0; }
.ubicacion h2 { font-family: var(--fuente-display); font-weight: 600; font-size: 2rem; margin-bottom: 0.4rem; }
.ubicacion-fila { display: grid; gap: 1.6rem; align-items: center; }
.ubicacion p { color: var(--texto-suave); margin-bottom: 0.5rem; }
.ubicacion p a { color: var(--noche); font-weight: 700; text-underline-offset: 4px; }
.boton-contorno {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  margin-top: 0.6rem;
  padding: 0.6rem 1.4rem;
  border: 2px solid var(--noche);
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}
.boton-contorno:hover { background: var(--blanco); }
#mapa-iframe { width: 100%; height: 300px; border: 0; border-radius: 24px; background: var(--blanco); }
@media (min-width: 860px) { .ubicacion-fila { grid-template-columns: 1fr 1.3fr; gap: 3rem; } #mapa-iframe { height: 340px; } }

.pie { background: var(--noche); color: #C9D5E6; padding: 2rem 0 6rem; font-size: 0.92rem; }
.pie p + p { margin-top: 0.3rem; }
.demo-aviso { font-style: italic; color: var(--amarillo); }
.credito a { color: var(--blanco); font-weight: 700; }

.flotante {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem;
  background: var(--wa);
  color: #0B2915;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(27, 47, 75, 0.25);
}
.flotante span { display: none; }
@media (min-width: 640px) { .flotante { padding: 0.85rem 1.25rem; } .flotante span { display: inline; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .opcion { transition: none; } .opcion:hover { transform: none; } }
