/* LOMITO CLUB · Blog. Diseño editorial, primero para celular.
   Colores, tipografías y patrón: 0_MARCA_Y_MATERIAL (paleta oficial, Playfair Display + Montserrat, azulejo rojo). */
:root {
  --rojo: #A61D30;          /* Rojo Lomito */
  --rojo-profundo: #721322; /* Rojo profundo */
  --mineral: #F7F3EE;       /* Blanco mineral */
  --arena: #EFE8E0;         /* Arena */
  --linea: #E2D9CF;         /* Arena borde */
  --gris: #5E5355;          /* Gris cálido */
  --noche: #211A1B;         /* Noche */
  --display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --texto: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --ancho: 680px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--mineral); color: var(--noche); font-family: var(--texto); font-size: 17px; line-height: 1.75; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--rojo-profundo); outline-offset: 3px; }

/* Barra superior */
.b-top { position: sticky; top: 0; z-index: 20; background: var(--mineral); border-bottom: 1px solid var(--linea); }
.b-top-in { max-width: 1120px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.b-logo img { height: 26px; width: auto; }
.b-top nav { display: flex; gap: 22px; }
.b-top nav a { font-size: 11px; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; text-decoration: none; color: var(--rojo); }
.b-top nav a.quiet { color: var(--gris); font-weight: 500; }
@media (max-width: 520px) { .b-top nav a.quiet { display: none; } }

/* Foto de portada */
.b-cover { position: relative; max-width: 1120px; margin: 0 auto; }
.b-cover img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: center 40%; }
@media (min-width: 900px) { .b-cover img { aspect-ratio: 16 / 9; } }
.ilus-tag { position: absolute; left: 20px; bottom: 16px; font-size: 9px; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.6); pointer-events: none; }

/* Cuerpo */
.b-wrap { max-width: var(--ancho); margin: 0 auto; padding: 0 22px; }
.b-head { padding: 40px 0 8px; }
.b-eyebrow { margin: 0 0 18px; font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--rojo); }
.b-head h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 8.6vw, 54px); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
.b-head h1 em { color: var(--rojo); }
.b-meta { margin: 18px 0 0; font-size: 12px; letter-spacing: 0.06em; color: #9A8E8A; }
.b-meta .caps { text-transform: uppercase; letter-spacing: 0.12em; }

.b-body p { margin: 0 0 1.2em; }
.b-lead { font-size: 1.18em; line-height: 1.65; }
/* [DATO]: recuadro claro con borde rojo */
.b-dato { margin: 8px 0 1.4em; background: var(--arena); border-left: 3px solid var(--rojo); padding: 18px 20px; }
.b-dato p { margin: 0; font-size: 16px; line-height: 1.65; }
.b-dato .b-dato-k { margin: 0 0 6px; font-size: 11px; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--rojo); }
/* [CHECKLIST]: tarjeta blanca con palomitas rojas */
.b-check { list-style: none; margin: 0 0 1.2em; padding: 8px 22px; background: #fff; border: 1px solid var(--linea); }
.b-check li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--linea); }
.b-check li:last-child { border-bottom: 0; }
.b-check li::before { content: ""; position: absolute; left: 2px; top: 21px; width: 14px; height: 8px; border-left: 2.5px solid var(--rojo); border-bottom: 2.5px solid var(--rojo); transform: rotate(-45deg); }
.b-lead::first-letter { float: left; font-family: var(--display); color: var(--rojo); font-size: 4.6em; line-height: 0.82; padding: 0.06em 0.12em 0 0; }
.b-body strong { font-weight: 600; }
.b-body a:not(.btn) { color: var(--rojo); text-underline-offset: 3px; }

.b-sec { padding-top: 32px; }
.b-num { margin: 0 0 6px; font-family: var(--display); font-size: 20px; color: var(--rojo); }
.b-sec h2 { margin: 0 0 18px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 6.4vw, 34px); line-height: 1.2; padding-bottom: 18px; border-bottom: 1px solid var(--linea); text-wrap: balance; }

.b-list { list-style: none; margin: 0 0 1.2em; padding: 0; counter-reset: n; }
.b-list li { counter-increment: n; display: grid; grid-template-columns: 44px 1fr; gap: 0 10px; padding: 16px 0; border-bottom: 1px solid var(--linea); }
.b-list li:last-child { border-bottom: 0; }
.b-list li::before { content: counter(n, decimal-leading-zero); font-family: var(--display); font-size: 20px; line-height: 1.5; color: var(--rojo); }

/* Frase destacada en franja de azulejo */
.b-quote { margin: 40px 0; background: var(--rojo) url('assets/azulejo_rojo.png') center / 200px repeat; position: relative; }
.b-quote::before { content: ""; position: absolute; inset: 0; background: rgba(166,29,48,0.82); }
.b-quote p { position: relative; max-width: var(--ancho); margin: 0 auto; padding: 44px 22px; font-family: var(--display); font-style: italic; font-size: clamp(26px, 6.8vw, 38px); line-height: 1.3; color: var(--mineral); }

/* Tarjeta negra de llamada a la acción */
.b-cta { margin: 40px 0; background: var(--noche); color: var(--mineral); padding: 32px 26px; }
.b-cta .b-eyebrow { color: #EA7A86; }
.b-cta h3 { margin: 0 0 24px; font-family: var(--display); font-weight: 400; font-size: clamp(26px, 6.6vw, 34px); line-height: 1.45; }
.btn { display: flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; background: var(--rojo); color: var(--mineral); border: 1px solid var(--rojo); font-family: var(--texto); font-size: 12px; font-weight: 600; letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; text-align: center; }
.btn:hover { background: var(--rojo-profundo); border-color: var(--rojo-profundo); }
.b-cta .btn { width: 100%; }

/* Botón fijo abajo (solo celular) */
.b-sticky { display: none; }
@media (max-width: 760px) {
  .b-sticky { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--mineral); border-top: 1px solid var(--linea); }
  body.has-sticky { padding-bottom: 84px; }
}

/* Índice del blog */
.b-index-head { padding: 48px 0 24px; }
.b-index-head h1 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(36px, 9vw, 56px); line-height: 1.08; }
.b-index-head h1 em { color: var(--rojo); }
.b-card { display: block; text-decoration: none; padding: 0 0 28px; margin-bottom: 28px; border-bottom: 1px solid var(--linea); }
.b-card .b-cover img { aspect-ratio: 4 / 3; }
.b-card h2 { margin: 18px 0 10px; font-family: var(--display); font-weight: 400; font-size: clamp(24px, 6vw, 32px); line-height: 1.2; }
.b-card p { margin: 0; color: var(--gris); }
.b-card:hover h2 { color: var(--rojo); }

/* Pie */
.b-foot { margin-top: 56px; border-top: 1px solid var(--linea); }
.b-foot-in { max-width: 1120px; margin: 0 auto; padding: 32px 20px 40px; display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; font-size: 12px; color: var(--gris); }
.b-foot a { color: var(--gris); }
.b-foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
