/* Tema de Urbanyx Homes: la identidad de su web pública (urbanyxhomes.com), pedido por Miguel el 4-oct-2026.
   Colores, tipografías y logo copiados de la web (clientes/urbanyx-homes/web): azul noche con dorado,
   Cormorant Garamond en los títulos y Jost en el texto (SIL Open Font License 1.1: OFL.txt).
   Contraste AA comprobado: texto 12.9:1, secundario 7.6:1 y dorado 6.6:1 sobre las tarjetas,
   botón (azul sobre dorado) 7.0:1 en su punto más oscuro; borde de los campos 5.7:1. */
@font-face {
  font-family: "Jost"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url(/estaticos/tema/jost.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400 600; font-display: swap;
  src: url(/estaticos/tema/cormorant.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root, :root[data-theme] {
  color-scheme: dark;
  --bg: #0b1c38; --bg-2: #0a1830; --surface: #0e2142; --surface-2: #122750;
  --line: rgba(201, 160, 106, .16); --campo: #8f9bb3; --text: #ece6da; --muted: #b9b2a4;
  --c1: #e3c495; --c2: #c9a06a; --c3: #c9a06a; --c4: #3f5678; --c5: #e3c495;
  --red: #a4291f; --red-soft: #e3c495; --ok: #9ed4ae; --error: #f4a9b0;   /* --red-soft es el acento de la plantilla */
  --grad: linear-gradient(110deg, #e3c495, #c9a06a);
  --grad-boton: linear-gradient(110deg, #e3c495, #c9a06a); --texto-boton: #0b1c38;
  --peligro-fondo: #a4291f; --peligro-texto: #ffffff;
  --sans: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --cabecera: rgba(11, 28, 56, .9);
}
::selection { background: var(--c2); color: #0b1c38; }

/* Los títulos, como en la web: Cormorant a peso medio (la fuente llega hasta 600; sin esto el
   navegador la engordaría a la fuerza). */
h1, h2, h3 { font-weight: 500; letter-spacing: .01em; }

/* Los dos resplandores de la web (dorado arriba, azul abajo), detrás de todo y sin recibir clics. */
body::before, body::after { content: ""; position: fixed; z-index: 0; border-radius: 50%; filter: blur(100px);
  opacity: .3; pointer-events: none; }
body::before { width: 46vw; height: 46vw; max-width: 560px; max-height: 560px; top: -12%; right: -8%;
  background: radial-gradient(circle, rgba(201, 160, 106, .55), transparent 65%); }
body::after { width: 42vw; height: 42vw; max-width: 520px; max-height: 520px; bottom: -15%; left: -10%;
  background: radial-gradient(circle, var(--c4), transparent 65%); }

h1 .resalte { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
button:hover, .boton:hover { box-shadow: 0 12px 34px -8px rgba(201, 160, 106, .45); }
button.boton-claro, .boton.boton-claro { background: transparent; color: var(--c1); }
input:focus, select:focus, textarea:focus { border-color: var(--c2); box-shadow: 0 0 0 4px rgba(201, 160, 106, .22); }
select { color-scheme: dark; }

/* Estados de un lead (las claves salen de clientes/urbanyx-homes.toml). */
.estado-nuevo { background: rgba(201, 160, 106, .18); border-color: rgba(201, 160, 106, .45); color: #e3c495; }
.estado-hablando { background: rgba(143, 155, 179, .16); border-color: rgba(143, 155, 179, .4); color: #c9d1e0; }
.estado-cliente { background: rgba(120, 190, 140, .16); border-color: rgba(120, 190, 140, .35); color: #9ed4ae; }
.estado-no { background: rgba(185, 178, 164, .12); color: var(--muted); }

/* Lo que en la plantilla va en el cobre de Camaleónico: aquí, peligro en rosa y barras en el gris azulado de la web. */
a.peligro { color: var(--error); }
.track progress::-webkit-progress-value { background: rgba(143, 155, 179, .45); }
.track progress::-moz-progress-bar { background: rgba(143, 155, 179, .45); }
.legend i { background: rgba(143, 155, 179, .45); }
