/* Portal de Mi Agenda de Masajes. Hereda la estructura de lumbre.lat y
   recolorea los acentos con el verde eucalipto de la app. */

:root {
  --navy: #3f6b5a;
  --navy-hi: #4f806c;
  --navy-lo: #1d3128;
  --free: #2f7d5a;
  --ink: #27312b;
  --muted: #65716a;
  --line: #e2dccf;
  --bg: #f7f3ec;
  --card: #ffffff;
  --bg-alt: #f3eee4;
  --bg-alt2: #efe9dd;
  --bg-alt3: #eae2d4;
  --radius: 12px;
  --shadow: 0 1px 2px rgba(31, 49, 40, .08), 0 8px 24px rgba(31, 49, 40, .08);
}

html.tema-oscuro {
  --navy: #6fa38c;
  --navy-hi: #82b59e;
  --navy-lo: #14211b;
  --free: #3fa374;
  --ink: #e9efe9;
  --muted: #a4b2a9;
  --line: #374239;
  --bg: #171c18;
  --card: #212823;
  --bg-alt: #262e28;
  --bg-alt2: #2a332c;
  --bg-alt3: #2e3831;
  --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 8px 22px rgba(0, 0, 0, .45);
}

.hero {
  background:
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, .16), transparent 38%),
    linear-gradient(120deg, var(--navy-lo), var(--navy) 62%, var(--navy-hi));
}

.icono--Masajes { background: linear-gradient(150deg, #5c8a74, #3f6b5a); }
.icono--Privacidad { background: linear-gradient(150deg, #4f806c, #2c5545); }

.icono-app {
  width: 84px;
  height: 84px;
  border-radius: 20px;
  flex: none;
  box-shadow: var(--shadow);
}

.hero__nota {
  color: #d7e5dc;
  font-size: 13px;
  margin: 16px 0 0;
}

.hero__telefono { justify-self: center; }

.telefono {
  width: min(290px, 100%);
  margin: 0 auto;
  padding: 9px;
  border-radius: 40px;
  background: #101713;
  box-shadow: 0 22px 55px rgba(0, 0, 0, .38);
}

.telefono img {
  width: 100%;
  height: auto;
  border-radius: 32px;
}

.telefono__leyenda {
  margin: 10px 0 0;
  color: #c9dbd0;
  font-size: 12px;
  text-align: center;
}

.pantallas {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin: 8px 0 4px;
}

.pantalla { text-align: center; }
.pantalla .telefono { width: min(250px, 100%); }
.pantalla figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.pantalla figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.recuadro--privacidad {
  border-left: 4px solid var(--free);
  background: #f2f8f4;
}

html.tema-oscuro .recuadro--privacidad { background: #1d2b23; }

.lista--simple {
  margin: 0 0 14px;
  padding-left: 20px;
  color: #40505f;
}
.lista--simple li { margin-bottom: 6px; }

html.tema-oscuro .lista--simple,
html.tema-oscuro .producto__cuerpo p,
html.tema-oscuro dd { color: var(--muted); }
html.tema-oscuro .pasos span,
html.tema-oscuro .lista--rasgos span,
html.tema-oscuro .faq p { color: var(--muted); }
html.tema-oscuro .pasos li,
html.tema-oscuro .lista--rasgos li,
html.tema-oscuro .recuadro { border-color: var(--line); }
html.tema-oscuro .nota--alerta {
  background: #3a3020;
  border-color: #6b5326;
  color: #f0d5a8;
}
html.tema-oscuro .nota--ok {
  background: #1d2b23;
  border-color: #335745;
  color: #bfe4cc;
}
html.tema-oscuro .nota--hash code { background: var(--bg-alt3); color: var(--ink); }
html.tema-oscuro .miga a { color: var(--muted); }
html.tema-oscuro .btn--fant { color: var(--ink); }
html.tema-oscuro .btn--fant:hover { color: #fff; background: var(--navy); border-color: var(--navy); }
html.tema-oscuro .baner span { color: rgba(255, 255, 255, .85); }
html.tema-oscuro .icono-app { box-shadow: 0 8px 22px rgba(0, 0, 0, .5); }

/* La base fija el fondo de .marco en blanco; en tema oscuro el texto es
   claro y quedaría ilegible. */
.marco { background: var(--card); }

/* El hash y el identificador del paquete no tienen espacios: sin esto su
   ancho mínimo ensancha la columna del producto y desborda en móvil. */
.nota--hash code { overflow-wrap: anywhere; }
.compra__datos span:last-child { overflow-wrap: anywhere; }

@media (max-width: 940px) {
  .hero__telefono { margin-top: 8px; }
  .pantallas { grid-template-columns: 1fr; }
  .pantalla .telefono { width: min(280px, 100%); }
  .producto { grid-template-columns: minmax(0, 1fr); }
  .producto__cuerpo, .compra { min-width: 0; }
}

@media (max-width: 640px) {
  .compra__botones .btn { width: 100%; }
  .producto__cab { align-items: flex-start; }
  .producto__cab h1 { font-size: 26px; }
}
