/* ============================================================
   ce-encuentra-tokens.css  —  TENTATIVOS
   Aproximación a la marca Cross Ekklesia. Marcados como tentativos:
   reemplazar con valores reales de wwwroot/css/ce-design-tokens.css.
   ============================================================ */

:root {
  /* — paleta primaria — azul medianoche */
  --ce-ink-950: oklch(0.18 0.045 260);   /* casi negro, headers */
  --ce-ink-900: oklch(0.24 0.06  260);   /* primario navbar / footer */
  --ce-ink-800: oklch(0.30 0.07  260);   /* botones primarios */
  --ce-ink-700: oklch(0.42 0.06  260);   /* texto secundario */
  --ce-ink-500: oklch(0.58 0.04  260);   /* metas */
  --ce-ink-300: oklch(0.78 0.018 260);   /* bordes */
  --ce-ink-100: oklch(0.94 0.008 260);   /* superficies sutiles */

  /* — acentos cálidos — dorado */
  --ce-gold-700: oklch(0.55 0.13 75);    /* texto sobre claro */
  --ce-gold-600: oklch(0.66 0.14 75);    /* hover */
  --ce-gold-500: oklch(0.78 0.13 75);    /* base, badges */
  --ce-gold-200: oklch(0.92 0.06 78);    /* fondos sutiles */
  --ce-gold-100: oklch(0.96 0.03 80);    /* fondos extra-sutiles */

  /* — neutrales cálidos — lienzo */
  --ce-bg:        oklch(0.985 0.004 80); /* paper */
  --ce-bg-alt:    oklch(0.965 0.008 78); /* secciones */
  --ce-bg-card:   #ffffff;
  --ce-line:      oklch(0.90 0.01 75);
  --ce-line-soft: oklch(0.94 0.008 75);

  /* — semánticos — */
  --ce-success: oklch(0.62 0.13 155);
  --ce-warning: oklch(0.74 0.14 70);
  --ce-info:    oklch(0.60 0.10 240);

  /* — type — */
  --ce-font-sans: "Plus Jakarta Sans", ui-sans-serif, system-ui, sans-serif;
  --ce-font-serif: "Source Serif 4", "Source Serif Pro", Georgia, serif;
  --ce-font-mono: ui-monospace, "SF Mono", Menlo, monospace;

  /* — radii / shadow / spacing — */
  --ce-r-sm: 6px;
  --ce-r-md: 10px;
  --ce-r-lg: 14px;
  --ce-r-xl: 20px;

  --ce-sh-sm: 0 1px 2px rgba(20, 25, 50, 0.06);
  --ce-sh-md: 0 1px 2px rgba(20, 25, 50, 0.04), 0 8px 24px rgba(20, 25, 50, 0.06);
  --ce-sh-lg: 0 2px 4px rgba(20, 25, 50, 0.05), 0 24px 60px rgba(20, 25, 50, 0.10);
}

/* ===== Reset minimal artboard scope ===== */
.ce {
  font-family: var(--ce-font-sans);
  color: var(--ce-ink-900);
  background: var(--ce-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
.ce *, .ce *::before, .ce *::after { box-sizing: border-box; }
.ce h1, .ce h2, .ce h3, .ce h4, .ce p, .ce ul, .ce ol { margin: 0; padding: 0; }
.ce ul, .ce ol { list-style: none; }
.ce a { color: inherit; text-decoration: none; }
.ce button { font: inherit; background: none; border: 0; padding: 0; cursor: pointer; color: inherit; }
.ce img { max-width: 100%; display: block; }

/* ===== Tipo escala ===== */
.ce-display { font-size: 40px; line-height: 1.05; letter-spacing: -0.02em; font-weight: 700; }
.ce-h1      { font-size: 28px; line-height: 1.15; letter-spacing: -0.018em; font-weight: 700; }
.ce-h2      { font-size: 22px; line-height: 1.2;  letter-spacing: -0.014em; font-weight: 700; }
.ce-h3      { font-size: 18px; line-height: 1.25; letter-spacing: -0.01em;  font-weight: 600; }
.ce-body    { font-size: 15px; line-height: 1.5; }
.ce-small   { font-size: 13px; line-height: 1.45; }
.ce-meta    { font-size: 12px; line-height: 1.4; color: var(--ce-ink-500); letter-spacing: 0.005em; }
.ce-eyebrow { font-size: 11px; line-height: 1.3; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 600; color: var(--ce-ink-500); }
.ce-serif   { font-family: var(--ce-font-serif); }

/* ===== Botones ===== */
.ce-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 18px; border-radius: var(--ce-r-md);
  font-weight: 600; font-size: 14px; letter-spacing: 0.005em;
  transition: background .15s, transform .12s, box-shadow .15s;
  white-space: nowrap;
}
.ce-btn-primary   { background: var(--ce-ink-900); color: #fff; }
.ce-btn-primary:hover  { background: var(--ce-ink-800); }
.ce-btn-gold      { background: var(--ce-gold-500); color: var(--ce-ink-950); }
.ce-btn-gold:hover     { background: var(--ce-gold-600); }
.ce-btn-ghost     { background: transparent; color: var(--ce-ink-900); border: 1px solid var(--ce-line); }
.ce-btn-ghost:hover    { background: var(--ce-ink-100); }
.ce-btn-link      { color: var(--ce-ink-900); padding: 0; gap: 4px; font-weight: 600; }
.ce-btn-link:hover { color: var(--ce-gold-700); }
.ce-btn-block     { width: 100%; }
.ce-btn-lg        { padding: 14px 22px; font-size: 15px; }

/* ===== Chips / Tags ===== */
.ce-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--ce-line);
  font-size: 12.5px; font-weight: 500; color: var(--ce-ink-700);
  transition: background .12s, border-color .12s, color .12s;
  white-space: nowrap;
}
.ce-chip:hover     { border-color: var(--ce-ink-700); color: var(--ce-ink-900); }
.ce-chip[aria-pressed="true"] {
  background: var(--ce-ink-900); color: #fff; border-color: var(--ce-ink-900);
}
.ce-chip-sm { padding: 4px 9px; font-size: 11.5px; }
.ce-chip-gold {
  background: var(--ce-gold-100); color: var(--ce-gold-700); border-color: var(--ce-gold-200);
}

/* ===== Tarjetas ===== */
.ce-card {
  background: var(--ce-bg-card);
  border-radius: var(--ce-r-lg);
  border: 1px solid var(--ce-line-soft);
  overflow: hidden;
  transition: transform .15s, box-shadow .15s;
}
.ce-card:hover { box-shadow: var(--ce-sh-md); border-color: var(--ce-line); }

/* ===== Inputs ===== */
.ce-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--ce-r-md);
  border: 1px solid var(--ce-line);
  background: #fff;
  font: inherit; font-size: 15px;
  color: var(--ce-ink-900);
  outline: none;
  transition: border-color .12s, box-shadow .12s;
}
.ce-input:focus { border-color: var(--ce-ink-700); box-shadow: 0 0 0 3px oklch(0.78 0.018 260 / .4); }
.ce-input::placeholder { color: var(--ce-ink-500); }

/* ===== Mapa placeholder (Leaflet sim) ===== */
.ce-map {
  position: relative;
  background:
    linear-gradient(180deg, oklch(0.92 0.02 200 / .6), oklch(0.88 0.025 165 / .5)),
    #e9ecef;
  background-image:
    radial-gradient(circle at 30% 40%, oklch(0.85 0.04 165 / .6) 0, transparent 35%),
    radial-gradient(circle at 75% 60%, oklch(0.86 0.04 200 / .55) 0, transparent 40%),
    radial-gradient(circle at 50% 80%, oklch(0.88 0.03 90 / .4) 0, transparent 30%),
    linear-gradient(135deg, oklch(0.94 0.01 165) 0, oklch(0.91 0.012 200) 100%);
  overflow: hidden;
}
.ce-map::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.55) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 50%, #000 30%, transparent 80%);
}
.ce-map-attrib {
  position: absolute; bottom: 4px; right: 6px;
  font: 9px var(--ce-font-sans); color: rgba(20,25,50,.55);
  background: rgba(255,255,255,.7); padding: 1px 4px; border-radius: 2px;
  z-index: 4;
}
.ce-pin {
  position: absolute; transform: translate(-50%, -100%);
  width: 28px; height: 36px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
  z-index: 3;
}
.ce-pin svg { width: 100%; height: 100%; display: block; }
.ce-pin-cluster {
  position: absolute; transform: translate(-50%,-50%);
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ce-ink-900); color:#fff;
  display:flex; align-items:center; justify-content:center;
  font-weight:700; font-size:13px;
  box-shadow: 0 0 0 4px rgba(255,255,255,.7), 0 4px 10px rgba(0,0,0,.2);
  z-index: 3;
}

/* ===== Logo ===== */
.ce-logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; letter-spacing: -0.01em; font-size: 16px;
  color: var(--ce-ink-900);
}
.ce-logo-mark {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--ce-ink-900); color: var(--ce-gold-500);
  border-radius: 5px;
  font-weight: 800; font-size: 13px;
  font-family: var(--ce-font-serif);
}

/* ===== Placeholder image ===== */
.ce-img-ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg,
      oklch(0.94 0.008 75) 0 8px,
      oklch(0.91 0.012 75) 8px 16px);
  display: flex; align-items: center; justify-content: center;
  color: var(--ce-ink-500);
  font-family: var(--ce-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-align: center;
}
.ce-img-ph::after {
  content: ""; position: absolute; inset: 0;
  border: 1px dashed oklch(0.78 0.02 75 / .7);
  pointer-events: none;
}

/* ===== Avatar pastor ===== */
.ce-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ce-ink-100);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; color: var(--ce-ink-700);
  font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--ce-line);
}

/* ===== Badge verificado ===== */
.ce-verified {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 11.5px; font-weight: 600;
  color: var(--ce-gold-700);
}
.ce-verified svg { width: 13px; height: 13px; }

/* ===== Status / divider ===== */
.ce-divider { height: 1px; background: var(--ce-line-soft); border: 0; }

/* ===== Helpers ===== */
.ce-stack-4  { display: flex; flex-direction: column; gap: 4px; }
.ce-stack-8  { display: flex; flex-direction: column; gap: 8px; }
.ce-stack-12 { display: flex; flex-direction: column; gap: 12px; }
.ce-stack-16 { display: flex; flex-direction: column; gap: 16px; }
.ce-stack-24 { display: flex; flex-direction: column; gap: 24px; }
.ce-row-8    { display: flex; gap: 8px; align-items: center; }
.ce-row-12   { display: flex; gap: 12px; align-items: center; }
.ce-row-16   { display: flex; gap: 16px; align-items: center; }
