/* ══════════════════════════════════════════════════════════════════
   style.css — Tokens de marca (tomados de la presentación
   "Terapia afirmativa LGBTQIA+") + estilos del sitio público.
   ══════════════════════════════════════════════════════════════════ */

:root {
  /* Paleta contada de la presentación */
  --wine:       #571F20;   /* vino oscuro — texto fuerte, fondos */
  --wine-2:     #3A2A24;   /* casi negro cálido */
  --cream:      #F7F3EE;   /* fondo principal */
  --cream-2:    #F0EBE5;   /* tarjetas / franjas */
  --gold:       #E59945;   /* acento cálido */
  --coral:      #D7735B;   /* acento medio */
  --burnt:      #D85E2D;   /* acento fuerte — botones primarios */
  --taupe:      #9A8479;   /* texto suave / bordes */
  --taupe-2:    #7A6459;
  --line:       #D9C7BE;   /* líneas divisorias, bordes suaves */
  --white:      #FFFFFF;

  --radius:     18px;
  --radius-sm:  12px;
  --shadow:     0 8px 24px rgba(87, 31, 32, 0.10);
  --shadow-sm:  0 2px 8px rgba(87, 31, 32, 0.08);

  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html, body {
  min-height: 100%;
  background: var(--cream);
  color: var(--wine-2);
  font-family: var(--font);
}

body {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

a { color: inherit; text-decoration: none; }

img, svg { display: block; max-width: 100%; }

h1, h2, h3 { font-weight: 700; line-height: 1.25; }

p { line-height: 1.6; }

.container {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── Marca / mark ─────────────────────────────────────────────── */
.marca {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin: 56px 0 36px;
}

.marca .icono { width: 84px; height: 84px; }

.marca .nombre {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--wine);
  margin-top: 8px;
}

.marca .titulo {
  font-size: 0.95rem;
  color: var(--taupe-2);
  font-weight: 600;
  max-width: 380px;
}

.pie-inicio {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  text-align: center;
  padding: 24px 0 30px;
}

.pie-inicio .ubicacion {
  font-size: 0.82rem;
  color: var(--taupe);
}

.pie-inicio .copyright {
  font-size: 0.78rem;
  color: var(--taupe);
}

/* Pie simple de una sola línea, usado en páginas que no son el
   Inicio (por ejemplo la agenda de citas). */
footer.pie {
  margin-top: auto;
  padding: 24px 0 40px;
  text-align: center;
  font-size: 0.78rem;
  color: var(--taupe);
}

/* ── Botones tipo "linktree" ──────────────────────────────────── */
.enlaces {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  margin-bottom: 40px;
}

.enlace {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  font-weight: 600;
  font-size: 1rem;
  color: var(--wine);
}

.enlace:hover, .enlace:focus-visible {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--burnt);
}

.enlace .emoji-icono {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
  color: var(--white);
}

.enlace.principal { background: var(--burnt); color: var(--white); border-color: var(--burnt); }
.enlace.principal .emoji-icono { background: rgba(255,255,255,.22); }
.enlace.principal:hover { background: #c65224; }

.enlace .emoji-icono.i-about   { background: var(--gold); }
.enlace .emoji-icono.i-agenda  { background: var(--burnt); }
.enlace .emoji-icono.i-wa      { background: #2FAE60; }

.enlace .texto small {
  display: block;
  font-weight: 500;
  font-size: 0.78rem;
  opacity: .85;
  margin-top: 1px;
}

/* ── Página "Sobre mí" ────────────────────────────────────────── */
.volver {
  align-self: flex-start;
  margin: 28px 0 4px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--taupe-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tarjeta {
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 20px;
}

.tarjeta h2 {
  font-size: 1.05rem;
  color: var(--burnt);
  margin-bottom: 10px;
}

.tarjeta p { color: var(--wine-2); font-size: 0.95rem; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }

.chip {
  background: var(--cream-2);
  border: 1px solid var(--line);
  color: var(--wine);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
}

/* ── Listas tipográficas (especialidades, enfoque, idiomas) ──── */
.lista-tipo { display: flex; flex-wrap: wrap; align-items: baseline; row-gap: 6px; margin-top: 4px; }

.item-tipo { font-size: 0.95rem; font-weight: 700; line-height: 1.7; }

.sep { color: var(--line); font-weight: 400; margin: 0 9px; font-size: 0.85rem; }

/* ── Formación: jerarquía visual ──────────────────────────────── */
.tarjeta.formacion {
  border-color: var(--burnt);
  background: linear-gradient(180deg, #FBF6F1 0%, #fff 60%);
}

.form-item { display: flex; gap: 14px; align-items: flex-start; }

.form-item + .form-item { margin-top: 18px; }

.form-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 7px; flex-shrink: 0; }

.form-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 4px; }

.form-titulo { font-size: 1.05rem; font-weight: 700; color: var(--wine); line-height: 1.35; }

.form-inst { font-size: 0.82rem; color: var(--taupe-2); margin-top: 4px; line-height: 1.5; }

.cita-final {
  font-style: italic;
  color: var(--taupe-2);
  border-left: 3px solid var(--gold);
  padding-left: 14px;
  margin: 4px 0;
}

.cta-flotante {
  display: block;
  text-align: center;
  background: var(--burnt);
  color: var(--white);
  font-weight: 700;
  padding: 16px;
  border-radius: var(--radius);
  margin: 8px 0 40px;
  box-shadow: var(--shadow);
}

/* ── Botón genérico ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--burnt);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  cursor: pointer;
  transition: background .15s ease, opacity .15s ease;
  width: 100%;
}
.btn:hover { background: #c65224; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.secundario {
  background: var(--white);
  color: var(--wine);
  border: 1.5px solid var(--line);
}
.btn.secundario:hover { background: var(--cream-2); }

@media (max-width: 420px) {
  .marca { margin: 32px 0 22px; }
  .tarjeta { padding: 22px 18px; }
}
