/* ByGénesisMed · bygenesismed.com — estilo común (crema y dorado, como la app) */
/* Siempre crema y dorado: los mismos colores del tema «Crema» de la app (src/index.css). Sin modo oscuro. */
:root {
  color-scheme: light;
  --fondo: #F3EADB;
  --tarjeta: #FBF6EC;
  --linea: #DCCFB3;
  --texto: #2A2116;
  --texto-2: #6E6250;
  --texto-3: #9A8D76;
  --oro: #D4A843;
  --oro-osc: #9A7420;
  --verde: #1DB86E;
  --rojo: #D9434C;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { min-height: 100%; }
body {
  background: var(--fondo);
  background-image: radial-gradient(ellipse 80% 45% at 50% 0%, rgba(212,168,67,0.18), transparent 70%);
  color: var(--texto);
  font-family: 'DM Sans', system-ui, sans-serif;
  display: flex; flex-direction: column; align-items: center;
  padding: 48px 16px 32px;
  -webkit-font-smoothing: antialiased;
}
main { width: 100%; max-width: 440px; display: flex; flex-direction: column; align-items: center; text-align: center; }

.logo {
  width: 76px; height: 76px; border-radius: 22px;
  background: linear-gradient(135deg, #F0C463, #B98A2B);
  border: 2px solid rgba(255,244,214,0.7);
  box-shadow: 0 10px 28px rgba(185,138,43,0.30);
  display: flex; align-items: center; justify-content: center;
}
.marca { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 30px; margin-top: 14px; letter-spacing: -0.5px;
  background: linear-gradient(180deg, #D9AE4C, #9A7420); -webkit-background-clip: text; background-clip: text; color: transparent; }
.firma { font-size: 12px; letter-spacing: 1.5px; color: var(--oro-osc); font-weight: 700; margin-top: 2px; }
.lema { font-family: Georgia, serif; font-style: italic; font-size: 14px; color: var(--texto-2); margin-top: 6px; }

.tarjeta {
  width: 100%; margin-top: 28px; padding: 26px 20px;
  background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 24px;
  box-shadow: 0 14px 36px rgba(120,90,30,0.10);
}
.icono { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; border: 2px solid var(--oro); display: flex; align-items: center; justify-content: center; }
.icono.ok { border-color: var(--verde); }
.icono.mal { border-color: var(--rojo); }
h1 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 22px; line-height: 1.25; }
.texto { font-size: 15px; color: var(--texto-2); line-height: 1.55; margin-top: 8px; }

.boton {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  width: 100%; margin-top: 20px; padding: 15px 18px; border-radius: 16px; border: 1px solid rgba(255,244,214,0.6);
  background: linear-gradient(135deg, #F0C463 0%, #D9AE4C 45%, #B98A2B 100%);
  color: #1A1205; font-family: 'Sora', sans-serif; font-weight: 800; font-size: 15.5px; text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 20px rgba(212,168,67,0.30);
}
.boton:disabled { opacity: 0.6; cursor: wait; }
.boton.claro { background: transparent; border: 1.5px solid var(--oro); color: var(--oro-osc); box-shadow: none; }

.campo { position: relative; margin-top: 12px; text-align: left; }
.campo input {
  width: 100%; padding: 15px 46px 15px 15px; border-radius: 14px; border: 1.5px solid var(--linea);
  background: var(--fondo); color: var(--texto); font-family: inherit; font-size: 15px; outline: none;
}
.campo input:focus { border-color: var(--oro); box-shadow: 0 0 0 4px rgba(212,168,67,0.14); }
.campo button { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; cursor: pointer; color: var(--texto-3); display: flex; }
.aviso { margin-top: 12px; padding: 10px 12px; border-radius: 12px; font-size: 13.5px; text-align: left; display: none; }
.aviso.si { display: block; }
.aviso.error { background: rgba(217,67,76,0.08); border: 1px solid rgba(217,67,76,0.3); color: var(--rojo); }
.aviso.bien { background: rgba(29,184,110,0.08); border: 1px solid rgba(29,184,110,0.3); color: var(--verde); }

.redes { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 26px; }
.redes a { padding: 8px 13px; border-radius: 999px; border: 1px solid var(--linea); color: var(--texto-2); text-decoration: none; font-size: 13px; font-weight: 600; background: var(--tarjeta); }
.redes a:hover { border-color: var(--oro); color: var(--oro-osc); }
.pie { margin-top: 26px; font-size: 12px; color: var(--texto-3); line-height: 1.6; }
.pie a { color: var(--texto-3); }
.oculto { display: none !important; }

/* ── Páginas largas (inicio, privacidad, términos, borrar cuenta) ── */
main.ancho { max-width: 980px; }
main.lectura { max-width: 720px; }
.cabecera { display: flex; flex-direction: column; align-items: center; }
.menu { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; margin-top: 18px; font-size: 14px; font-weight: 600; }
.menu a { color: var(--texto-2); text-decoration: none; }
.menu a:hover { color: var(--oro-osc); }
.etiqueta { display: inline-block; margin-top: 16px; padding: 6px 14px; border-radius: 999px; border: 1.5px solid var(--oro); color: var(--oro-osc); font-size: 13px; font-weight: 700; }
.portada h1 { font-size: clamp(28px, 6vw, 44px); line-height: 1.12; margin-top: 30px; max-width: 720px; }
.portada .texto { font-size: 17px; max-width: 620px; margin-left: auto; margin-right: auto; }
.seccion { width: 100%; margin-top: 64px; text-align: left; }
.seccion > h2 { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 24px; text-align: center; }
.seccion > .texto { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.rejilla { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin-top: 24px; }
.caja { background: var(--tarjeta); border: 1px solid var(--linea); border-radius: 20px; padding: 20px; }
.caja h3 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; margin-top: 12px; }
.caja p { font-size: 14px; color: var(--texto-2); line-height: 1.55; margin-top: 6px; }
.ico { width: 44px; height: 44px; border-radius: 13px; border: 1.5px solid var(--oro); display: flex; align-items: center; justify-content: center; color: var(--oro-osc); }
.ico svg { width: 22px; height: 22px; }
.unidades { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.unidades span { padding: 7px 12px 7px 10px; border-radius: 999px; border: 1px solid var(--linea); background: var(--tarjeta); font-size: 13px; font-weight: 600; color: var(--texto-2); display: inline-flex; align-items: center; gap: 7px; }
.unidades i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.planes { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-top: 24px; }
.planes .caja.oro { border: 1.5px solid var(--oro); }
.planes ul { list-style: none; margin-top: 12px; }
.planes li { font-size: 14px; color: var(--texto-2); padding: 6px 0 6px 22px; position: relative; line-height: 1.45; }
.planes li::before { content: ''; position: absolute; left: 2px; top: 11px; width: 10px; height: 6px; border-left: 2px solid var(--oro); border-bottom: 2px solid var(--oro); transform: rotate(-45deg); }
.cita { font-family: Georgia, serif; font-style: italic; font-size: 16px; color: var(--texto-2); text-align: center; margin-top: 14px; }
.enlaces-pie { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin-top: 30px; font-size: 13px; font-weight: 600; }
.enlaces-pie a { color: var(--texto-2); text-decoration: none; }
.enlaces-pie a:hover { color: var(--oro-osc); }

/* texto legal */
.legal { text-align: left; }
.legal h1 { font-size: 26px; }
.legal .fecha { font-size: 13px; color: var(--texto-3); margin-top: 6px; }
.legal h2 { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 17px; margin-top: 26px; }
.legal p, .legal li { font-size: 15px; color: var(--texto-2); line-height: 1.65; margin-top: 8px; }
.legal ul, .legal ol { padding-left: 22px; }
.legal strong { color: var(--texto); }
.legal a { color: var(--oro-osc); }
.volver { display: inline-block; margin-top: 18px; font-size: 14px; font-weight: 600; color: var(--oro-osc); text-decoration: none; }
