/* Marca Hilia vigente: lámina v2, variante B «Grafito y ámbar» (centralita/marca/propuestas/hilia/lamina_v2_b.html).
   Grafito #1B1A1F, claro #F4EFE6, un solo acento ámbar #F2A93B; letra Outfit fina (SIL OFL); logo HILIA en
   mayúsculas finas y espaciadas con el punto ámbar sobre la segunda I; el hilo de cuatro canales como fondo. */
@font-face { font-family: "Outfit"; src: url("marca/outfit.ttf") format("truetype"); font-weight: 100 900; font-display: swap; }
:root { --o:#1B1A1F; --l:#F4EFE6; --a:#F2A93B; --m:#4A4650; --t:#2E2C33; --s:#E6E0D5; --colgar:#C9453B; --coger:#3E8E5E; }
* { box-sizing: border-box; }
body { margin:0; min-height:100vh; font-family: "Outfit", Helvetica, Arial, sans-serif; font-weight: 300; background: var(--o); color: var(--l); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::after { content:""; position: fixed; right: -38vw; bottom: -6vh; width: 110vw; max-width: 900px; aspect-ratio: 1000/600; background: url("marca/hilo.svg") no-repeat center/contain; opacity: .16; pointer-events: none; z-index: 0; }
main { position: relative; z-index: 1; max-width: 420px; margin: 0 auto; padding: max(22px, env(safe-area-inset-top)) 20px 32px; }
header { display:flex; align-items:center; justify-content:space-between; margin-bottom: 32px; }
.wm { font-weight: 300; letter-spacing: .34em; display:inline-block; line-height:1; white-space:nowrap; font-size: 24px; color: var(--l); }
.wm .i2 { position: relative; display: inline-block; }
.wm .i2 i { position:absolute; left:50%; top:-.26em; width:.17em; height:.17em; border-radius:50%; transform: translateX(-62%); background: var(--a); }
.ante { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--a); margin: 0 0 10px; }
h2 { margin: 0 0 26px; font-size: 30px; font-weight: 300; line-height: 1.15; }
.estado { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; font-weight: 500; color: rgba(244,239,230,.7); display:inline-flex; align-items:center; gap:8px; }
.estado::before { content:""; width:8px; height:8px; border-radius:50%; background: var(--m); }
.estado.ok { color: var(--l); } .estado.ok::before { background: var(--coger); }
.estado.mal::before { background: var(--colgar); }
label { display:block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,239,230,.7); margin-bottom: 18px; font-weight: 500; }
input { width:100%; margin-top:8px; padding: 14px 16px; font: inherit; font-size: 18px; font-weight: 400; letter-spacing: normal; text-transform: none; border-radius: 14px; border: 1px solid rgba(244,239,230,.25); background: rgba(244,239,230,.06); color: var(--l); }
input:focus { outline: none; border-color: var(--a); }
input::placeholder { color: rgba(244,239,230,.4); font-size: 15px; letter-spacing: normal; }
#numero { font-size: 30px; font-weight: 300; text-align:center; margin: 6px 0 18px; letter-spacing: .06em; }
button { font: inherit; font-size: 16px; font-weight: 400; padding: 14px 16px; border-radius: 999px; border: 1px solid rgba(244,239,230,.25); background: transparent; color: var(--l); cursor:pointer; flex:1; }
button:active { transform: scale(0.97); }
button[type=submit] { width:100%; margin-top: 8px; background: var(--a); color: var(--o); border: 0; font-weight: 500; }
.verde { background: var(--coger); border: 0; color: #fff; }
.rojo { background: var(--colgar); border: 0; color: #fff; }
.fila { display:flex; gap: 12px; margin: 14px 0; }
.teclado { display:grid; grid-template-columns: repeat(3, 1fr); gap: 12px 22px; padding: 0 18px; }
.teclado button { font-size: 28px; font-weight: 300; padding: 0; aspect-ratio: 1; border-radius: 50%; background: rgba(244,239,230,.07); border: 0; }
.aviso { border-top: 2px solid var(--a); padding: 18px 0 4px; margin-bottom: 18px; }
.aviso p { margin: 0 0 14px; font-size: 26px; font-weight: 300; line-height: 1.2; }
.aviso p.ante { font-size: 11px; margin-bottom: 8px; }
.aviso p b { font-weight: 400; }
.error { color: var(--l); border-left: 3px solid var(--colgar); padding: 6px 12px; font-size: 14px; font-weight: 400; }
.nota { font-size: 13px; color: rgba(244,239,230,.6); line-height: 1.55; margin-top: 18px; }
.nota b { color: var(--l); font-weight: 500; }
.quien { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(244,239,230,.6); margin: 0 0 18px; font-weight: 500; }
.quien b { color: var(--l); font-weight: 500; }
.enlace { border: 0; color: rgba(244,239,230,.55); text-decoration: underline; width:100%; font-size:13px; margin-top: 10px; }
