/* ==========================================================================
   Lago y Puga Abogados — hoja de estilos propia
   --------------------------------------------------------------------------
   Escrita desde cero para este sitio. NO hereda `site.css`, que es la hoja de
   cupperlab.com: re-tintar sus variables cambiaba el color pero no la forma
   (píldora de cristal en el header, animación de onda en los botones, tarjeta
   flotante en el formulario, radios y escalas de la agencia), así que la marca
   ajena seguía apareciendo en cada revisión. Aquí solo hay los componentes que
   este sitio usa de verdad.

   Reglas de la casa:
   · Tipografía: Playfair Display en titulares, Roboto en texto. Nada por
     debajo de 16px — el mínimo lo pidió el cliente y aplica a TODO, incluidas
     etiquetas, migas y notas legales.
   · Color: rojo de marca #BA1411 sobre negro y blancos cálidos.
   · Sin animaciones de entrada: el contenido se lee sin JavaScript, y las
     transiciones se limitan a estados de interacción (hover, focus).
   ========================================================================== */

/* --- Tipografía autoalojada --------------------------------------------
   Playfair Display 600 y Roboto 400/500/700, servidas desde este dominio en
   vez de desde fonts.googleapis.com. No es solo rendimiento: cada carga de
   una fuente de Google transmite la IP del visitante a un tercero antes de
   que haya consentido nada, y este es el sitio de un despacho de abogados.
   Autoalojadas, el sitio no hace NINGUNA petición a terceros al cargar.
   Solo los pesos que la hoja usa de verdad (se descargaron 500 y 700 de
   Playfair y se borraron: no aparecen en ninguna regla).
   `unicode-range` deja que el navegador baje `latin-ext` solo si el texto lo
   necesita; para castellano y gallego basta `latin`.
   ---------------------------------------------------------------------- */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-600-latin.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: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/assets/fonts/playfair-display-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-400-latin.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: 'Roboto';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/assets/fonts/roboto-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-500-latin.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: 'Roboto';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('/assets/fonts/roboto-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/roboto-700-latin.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: 'Roboto';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/assets/fonts/roboto-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --lp-red: #BA1411;
  --lp-red-dark: #920F0D;
  --lp-ink: #16110F;
  --lp-ink-soft: #4A423F;
  --lp-line: #E2DCD9;
  --lp-bg: #FFFFFF;
  --lp-bg-soft: #FAF7F6;
  --lp-black: #0C0C0C;
  --lp-on-dark: #F4F1F0;
  --lp-on-dark-soft: #B9B2AF;

  --lp-font: 'Roboto', system-ui, -apple-system, sans-serif;
  --lp-font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;

  /* Escala tipográfica: el suelo es 16px, no 13px. */
  --lp-fs-xs: 16px;
  --lp-fs-sm: 17px;
  --lp-fs-base: 18px;
  --lp-fs-lg: 21px;
  --lp-fs-xl: 26px;

  --lp-radius: 4px;
  --lp-gutter: 24px;
  --lp-max: 1180px;

  /* Ritmo vertical de las secciones. */
  --lp-section: 88px;
  --lp-section-tight: 64px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--lp-font);
  font-size: var(--lp-fs-base);
  line-height: 1.65;
  color: var(--lp-ink);
  background: var(--lp-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--lp-font-display);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 .5em;
  color: inherit;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(34px, 5vw, 58px); }
h2 { font-size: clamp(28px, 3.4vw, 40px); }
h3 { font-size: clamp(22px, 2.2vw, 27px); }
h4 { font-size: var(--lp-fs-lg); }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--lp-red); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--lp-red-dark); }

img, svg, iframe { max-width: 100%; }
img { height: auto; }

:focus-visible { outline: 2px solid var(--lp-red); outline-offset: 3px; }

.site-container {
  width: 100%;
  max-width: var(--lp-max);
  margin: 0 auto;
  padding: 0 var(--lp-gutter);
}

/* --- Botones ------------------------------------------------------------ */
.lp-btn, .cl-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px;
  font-family: var(--lp-font);
  font-size: var(--lp-fs-sm);
  font-weight: 700;
  line-height: 1;
  border: 0; border-radius: var(--lp-radius);
  background: var(--lp-red); color: #fff;
  text-decoration: none; cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.lp-btn:hover, .cl-button:hover { background: var(--lp-red-dark); color: #fff; transform: translateY(-1px); }
.lp-btn--secondary, .cl-button--outline-light {
  background: transparent; color: var(--lp-ink);
  border: 1px solid var(--lp-line);
}
.lp-btn--secondary:hover, .cl-button--outline-light:hover {
  background: transparent; color: var(--lp-red); border-color: var(--lp-red); transform: translateY(-1px);
}
/* Variante compacta que emiten algunos bloques del CMS. */
.cl-button--sm { padding: 12px 22px; font-size: var(--lp-fs-xs); }
/* Los bloques envuelven el texto y el icono del botón en spans propios. */
.cl-button__text, .cl-button__icon { display: inline-flex; align-items: center; }
.cl-button__icon img { width: 16px; height: 16px; display: block; }

/* --- Cabecera ----------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 30; background: var(--lp-black); }
.site-header__inner {
  display: flex; align-items: center; gap: 28px;
  max-width: var(--lp-max); margin: 0 auto; padding: 14px var(--lp-gutter);
}
.site-logo { display: inline-flex; flex-shrink: 0; }
.site-logo img { height: 54px; width: auto; display: block; }

.site-nav {
  display: flex; align-items: center; gap: 26px;
  margin-left: auto;
  font-size: var(--lp-fs-sm);
}
.site-nav > a, .site-nav__trigger {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--lp-on-dark); text-decoration: none; padding: 6px 0;
  transition: color .18s ease;
}
.site-nav > a:hover, .site-nav__trigger:hover { color: #fff; }
.site-nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--lp-red); }
.site-nav__item { position: relative; }
.site-nav__chevron { width: 15px; height: 15px; }
.site-nav__dropdown {
  position: absolute; top: 100%; left: 0; z-index: 5;
  min-width: 250px; padding: 10px;
  display: none; flex-direction: column; gap: 2px;
  background: #17120F; border: 1px solid #2C2320; border-radius: var(--lp-radius);
  box-shadow: 0 18px 40px rgb(0 0 0 / .35);
}
.site-nav__item:hover .site-nav__dropdown,
.site-nav__item:focus-within .site-nav__dropdown { display: flex; }
.site-nav__dropdown-link {
  padding: 9px 12px; border-radius: var(--lp-radius);
  color: var(--lp-on-dark); text-decoration: none; font-size: var(--lp-fs-xs);
}
.site-nav__dropdown-link:hover { background: rgb(255 255 255 / .07); color: #fff; }

.site-header__actions { display: flex; align-items: center; gap: 14px; margin-left: 8px; }
.lp-header-call {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 12px 20px; border-radius: var(--lp-radius);
  background: var(--lp-red); color: #fff;
  font-size: var(--lp-fs-sm); font-weight: 700; line-height: 1;
  text-decoration: none; white-space: nowrap;
  transition: background .18s ease;
}
.lp-header-call:hover { background: var(--lp-red-dark); color: #fff; }

.site-nav-toggle {
  display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 42px; height: 42px; padding: 0; border: 0; background: none; cursor: pointer;
}
.site-nav-toggle span { width: 22px; height: 2px; background: var(--lp-on-dark); border-radius: 2px; }

/* --- Hero de portada ---------------------------------------------------- */
.lp-hero { position: relative; overflow: hidden; background: var(--lp-black); color: var(--lp-on-dark); }
.lp-hero__media { position: absolute; inset: 0; }
.lp-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; display: block; }
.lp-hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgb(8 7 7 / .94) 0%, rgb(8 7 7 / .8) 46%, rgb(8 7 7 / .45) 100%);
}
.lp-hero__inner { position: relative; z-index: 1; max-width: 720px; padding: 104px 0 96px; }
.lp-hero__title { color: #fff; margin-bottom: 20px; }
.lp-hero__title-accent { display: block; color: var(--lp-red); }
.lp-hero__lead { font-size: var(--lp-fs-lg); color: var(--lp-on-dark); max-width: 56ch; }
.lp-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 34px; }
.lp-hero--media .lp-btn--secondary { color: #fff; border-color: rgb(255 255 255 / .45); }
.lp-hero--media .lp-btn--secondary:hover { color: #fff; border-color: #fff; background: rgb(255 255 255 / .08); }
.lp-hero__trust {
  list-style: none; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid rgb(255 255 255 / .18);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px;
}
.lp-hero__trust strong { display: block; font-family: var(--lp-font-display); font-size: var(--lp-fs-lg); color: #fff; }
.lp-hero__trust span { font-size: var(--lp-fs-xs); color: var(--lp-on-dark-soft); }

/* --- Áreas de práctica (portada) --------------------------------------- */
.lp-practice { padding: var(--lp-section) 0; background: var(--lp-bg-soft); }
.lp-practice__title { text-align: center; margin-bottom: 48px; }
.lp-practice__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.lp-practice__card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  transition: border-color .18s ease, transform .18s ease;
}
.lp-practice__card:hover { border-color: var(--lp-red); transform: translateY(-3px); }
.lp-practice__photo { width: 100%; height: 190px; object-fit: cover; display: block; }
.lp-practice__card h3 { padding: 24px 24px 0; margin-bottom: 12px; color: var(--lp-red); }
.lp-practice__card p { padding: 0 24px; font-size: var(--lp-fs-xs); color: var(--lp-ink-soft); }
.lp-practice__link {
  margin-top: auto; padding: 20px 24px 24px;
  font-size: var(--lp-fs-xs); font-weight: 700; text-decoration: none;
}

/* --- Cierre de portada -------------------------------------------------- */
.lp-closing { padding: var(--lp-section-tight) 0; background: var(--lp-black); color: var(--lp-on-dark); }
.lp-closing__inner { text-align: center; max-width: 680px; margin: 0 auto; }
.lp-closing h2 { color: #fff; }
.lp-closing p { font-size: var(--lp-fs-lg); color: var(--lp-on-dark); }
.lp-closing .lp-btn { margin-top: 26px; }
.lp-closing__meta { margin-top: 22px; font-size: var(--lp-fs-xs); color: var(--lp-on-dark-soft); }
.lp-closing__meta a { color: #fff; text-decoration: none; }
.lp-closing__meta a:hover { color: var(--lp-red); }

/* --- Encabezado de página interna -------------------------------------- */
.cl-page-hero { position: relative; background: var(--lp-black); color: var(--lp-on-dark); overflow: hidden; }
.cl-page-hero__frame { position: relative; }
.cl-page-hero__media { position: absolute; inset: 0; }
.cl-page-hero__image { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; display: block; }
.cl-page-hero__scrim {
  position: absolute; inset: 0; display: block;
  background: linear-gradient(100deg, rgb(8 7 7 / .93) 0%, rgb(8 7 7 / .78) 50%, rgb(8 7 7 / .45) 100%);
}
.cl-page-hero .site-container { position: relative; z-index: 1; }
.cl-page-hero__body { padding: 84px 0 72px; max-width: 760px; }
.cl-page-hero__eyebrow {
  margin: 0 0 14px; font-family: var(--lp-font); font-size: var(--lp-fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--lp-red);
}
.cl-page-hero--has-media .cl-page-hero__eyebrow { color: #fff; }
.cl-page-hero__title { color: #fff; margin-bottom: 16px; }
.cl-page-hero__lead { font-size: var(--lp-fs-lg); color: var(--lp-on-dark); max-width: 60ch; }

/* Migas de pan: al cierre del encabezado, no antes del título. */
.cl-page-hero__breadcrumb { margin: 34px 0 0; padding-top: 20px; border-top: 1px solid rgb(255 255 255 / .18); }
.cl-page-hero__breadcrumb ol {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  font-size: var(--lp-fs-xs); color: var(--lp-on-dark-soft);
}
.cl-page-hero__breadcrumb li + li::before { content: "/"; margin-right: 9px; opacity: .55; }
.cl-page-hero__breadcrumb a { color: var(--lp-on-dark-soft); text-decoration: none; }
.cl-page-hero__breadcrumb a:hover { color: #fff; text-decoration: underline; }
.cl-page-hero__breadcrumb [aria-current="page"] { color: #fff; }

/* --- Bloques de contenido ---------------------------------------------- */
.cl-block { padding: var(--lp-section) 0; }
.cl-block--bg-white { background: #fff; }
.cl-block--bg-grey, .cl-block--bg-light { background: var(--lp-bg-soft); }
.cl-block--bg-dark, .cl-block--bg-navy { background: var(--lp-black); color: var(--lp-on-dark); }
.cl-block--bg-dark h2, .cl-block--bg-navy h2 { color: #fff; }

.cl-block__head { max-width: 760px; margin-bottom: 40px; }
.cl-block__head--center { margin-left: auto; margin-right: auto; text-align: center; }
.cl-block__label {
  margin: 0 0 12px; font-size: var(--lp-fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--lp-red);
}
.cl-block__intro { font-size: var(--lp-fs-lg); color: var(--lp-ink-soft); }
.cl-block__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.cl-section-title { margin: 0 0 .5em; }
.cl-section-title--light { color: #fff; }

/* Texto largo (páginas legales, cuerpo de los servicios). */
.cl-rich { max-width: 74ch; font-size: var(--lp-fs-base); }
.cl-rich h2 { margin-top: 1.8em; }
.cl-rich h3 { margin-top: 1.6em; }
.cl-rich ul, .cl-rich ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.cl-rich li { margin-bottom: .5em; }
.cl-rich strong { font-weight: 700; }
.cl-rich blockquote {
  margin: 1.6em 0; padding: 4px 0 4px 22px;
  border-left: 3px solid var(--lp-red); color: var(--lp-ink-soft); font-style: normal;
}

/* --- Tarjetas ---------------------------------------------------------- */
.cl-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 26px; }
.cl-card {
  display: flex; flex-direction: column; padding: 28px;
  background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  transition: border-color .18s ease, transform .18s ease;
}
.cl-card:hover { border-color: var(--lp-red); transform: translateY(-3px); }
.cl-card--has-photo { padding: 0; overflow: hidden; }
.cl-card__photo { width: 100%; height: 200px; object-fit: cover; display: block; }
.cl-card__icon { width: 46px; height: 46px; margin-bottom: 16px; }
.cl-card__title { margin-bottom: 12px; color: var(--lp-red); font-size: var(--lp-fs-xl); }
.cl-card--has-photo .cl-card__title { padding: 24px 24px 0; }
.cl-card__text { font-size: var(--lp-fs-xs); color: var(--lp-ink-soft); }
.cl-card--has-photo .cl-card__text { padding: 0 24px; }
.cl-card__cta { margin-top: auto; padding-top: 20px; font-size: var(--lp-fs-xs); font-weight: 700; text-decoration: none; }
.cl-card--has-photo .cl-card__cta { padding: 20px 24px 24px; }

/* --- Preguntas frecuentes ---------------------------------------------- */
.cl-faq { display: grid; gap: 0; max-width: 860px; border-top: 1px solid var(--lp-line); }
.cl-faq__item { border-bottom: 1px solid var(--lp-line); }
.cl-faq__question {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  width: 100%; padding: 22px 0; cursor: pointer; list-style: none;
  font-family: var(--lp-font-display); font-size: var(--lp-fs-lg); font-weight: 600; color: var(--lp-ink);
}
.cl-faq__question::-webkit-details-marker { display: none; }
.cl-faq__question:hover { color: var(--lp-red); }
.cl-faq__marker { flex-shrink: 0; width: 22px; height: 22px; position: relative; margin-top: 6px; }
.cl-faq__marker::before, .cl-faq__marker::after {
  content: ""; position: absolute; background: var(--lp-red); transition: transform .2s ease;
}
.cl-faq__marker::before { inset: 10px 0 auto; height: 2px; }
.cl-faq__marker::after { inset: 0 10px auto; width: 2px; height: 22px; }
.cl-faq__item[open] .cl-faq__marker::after { transform: scaleY(0); }
.cl-faq__answer { padding: 0 0 24px; font-size: var(--lp-fs-base); color: var(--lp-ink-soft); max-width: 72ch; }

/* --- Blog: listado ------------------------------------------------------
   Las clases `cl-post-*` las emite el renderizador compartido
   (Blocks::postCards), igual que `cl-block` o `cl-faq`: son la
   infraestructura del CMS, no la identidad de la agencia. Lo que se escribe
   aquí es cómo se ven en este sitio. Sin ellas el blog salía sin estilos.
   ------------------------------------------------------------------------ */
.cl-post-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.cl-post-filter {
  padding: 9px 18px; border: 1px solid var(--lp-line); border-radius: 999px;
  font-size: var(--lp-fs-xs); color: var(--lp-ink-soft); text-decoration: none;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}
.cl-post-filter:hover { border-color: var(--lp-red); color: var(--lp-red); }
.cl-post-filter--active { background: var(--lp-black); border-color: var(--lp-black); color: #fff; }
.cl-post-filter--active:hover { background: var(--lp-red); border-color: var(--lp-red); color: #fff; }

.cl-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 34px 30px; }
.cl-post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  color: inherit; text-decoration: none;
  transition: border-color .18s ease, transform .18s ease;
}
.cl-post-card:hover { border-color: var(--lp-red); transform: translateY(-3px); color: inherit; }
.cl-post-card__media { display: block; background: var(--lp-bg-soft); }
.cl-post-card__media:empty { display: none; }
.cl-post-card__media img { display: block; width: 100%; height: 208px; object-fit: cover; }
.cl-post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 26px 26px 28px; }
.cl-post-card__meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px;
  font-size: var(--lp-fs-xs); color: var(--lp-ink-soft);
}
.cl-post-card__category { font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lp-red); }
.cl-post-card__title { font-family: var(--lp-font-display); font-size: var(--lp-fs-xl); font-weight: 600; line-height: 1.25; }
.cl-post-card:hover .cl-post-card__title { color: var(--lp-red); }
.cl-post-card__excerpt { font-size: var(--lp-fs-xs); color: var(--lp-ink-soft); }
.cl-post-empty { font-size: var(--lp-fs-lg); color: var(--lp-ink-soft); }

.cl-pagination { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 48px; }
.cl-pagination__link {
  min-width: 46px; padding: 10px 14px; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  font-size: var(--lp-fs-xs); text-align: center; text-decoration: none; color: var(--lp-ink);
}
.cl-pagination__link:hover { border-color: var(--lp-red); color: var(--lp-red); }
.cl-pagination__link--active { background: var(--lp-black); border-color: var(--lp-black); color: #fff; }

/* --- Blog: artículo ----------------------------------------------------- */
.cl-article { padding-bottom: var(--lp-section); }
.cl-article__header { background: var(--lp-black); color: var(--lp-on-dark); }
.cl-article__header-inner { padding: 76px 0 68px; max-width: 860px; }
.cl-article__meta {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 14px;
  margin: 0 0 18px; font-size: var(--lp-fs-xs); color: var(--lp-on-dark-soft);
}
.cl-article__category { font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #fff; }
.cl-article__title { color: #fff; margin: 0 0 18px; }
.cl-article__lead { font-size: var(--lp-fs-lg); color: var(--lp-on-dark); margin: 0; max-width: 62ch; }

/* Respuesta rápida: lo primero que se lee y lo que un motor de respuesta
   puede citar tal cual. Se marca con la barra roja de la marca, no con una
   tarjeta flotante. */
.cl-article__quick {
  max-width: 74ch; margin: 48px 0 0; padding: 4px 0 4px 24px;
  border-left: 3px solid var(--lp-red);
}
.cl-article__quick-label {
  margin: 0 0 8px; font-size: var(--lp-fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--lp-red);
}
.cl-article__quick-text { margin: 0; font-size: var(--lp-fs-lg); color: var(--lp-ink); }

.cl-article__cover { margin: 48px 0 0; }
.cl-article__cover img {
  display: block; width: 100%; max-height: 520px; object-fit: cover;
  border-radius: var(--lp-radius);
}
.cl-article__body { margin-top: 48px; }
.cl-article__faq { margin-top: 64px; }
.cl-article__faq h2 { margin: 0 0 24px; }
.cl-article__back { margin: 56px 0 0; }

/* --- Banner de llamada a la acción ------------------------------------- */
.cl-cta-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 26px;
  padding: 40px; background: var(--lp-black); color: var(--lp-on-dark); border-radius: var(--lp-radius);
}
.cl-cta-banner h2 { color: #fff; margin: 0; }
.cl-cta-banner p { font-size: var(--lp-fs-base); color: var(--lp-on-dark); margin: 10px 0 0; }

/* --- Bloque de consulta (formulario) ----------------------------------- */
.lp-consult { padding: var(--lp-section) 0; background: var(--lp-bg-soft); }
.lp-consult__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.lp-consult__title { margin-bottom: 16px; }
.lp-consult__lead { font-size: var(--lp-fs-lg); color: var(--lp-ink-soft); }
.lp-consult__channels {
  list-style: none; margin: 32px 0 0; padding: 26px 0 0; border-top: 1px solid var(--lp-line);
  display: grid; gap: 20px;
}
.lp-consult__channel-label {
  display: block; font-size: var(--lp-fs-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase; color: var(--lp-ink-soft);
}
.lp-consult__channels a { font-size: var(--lp-fs-lg); text-decoration: none; }
.lp-consult__channel-phone { font-family: var(--lp-font-display); font-size: var(--lp-fs-xl) !important; font-weight: 600; }
.lp-consult__form { background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius); padding: 34px; }
.lp-consult__form-title { margin-bottom: 8px; }
.lp-consult__form-text { font-size: var(--lp-fs-xs); color: var(--lp-ink-soft); margin-bottom: 26px; }

/* --- Formularios ------------------------------------------------------- */
.cl-lead-form { display: grid; gap: 18px; }
.cl-lead-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.cl-field { display: grid; gap: 7px; font-size: var(--lp-fs-xs); font-weight: 500; color: var(--lp-ink); }
.cl-field input, .cl-field select, .cl-field textarea {
  width: 100%; padding: 13px 15px;
  font-family: var(--lp-font); font-size: var(--lp-fs-xs); color: var(--lp-ink);
  background: #fff; border: 1px solid var(--lp-line); border-radius: var(--lp-radius);
  transition: border-color .18s ease;
}
.cl-field textarea { resize: vertical; min-height: 96px; line-height: 1.55; }
.cl-field input:focus, .cl-field select:focus, .cl-field textarea:focus {
  outline: none; border-color: var(--lp-red); box-shadow: 0 0 0 3px rgb(186 20 17 / .12);
}
.cl-field input::placeholder, .cl-field textarea::placeholder { color: #9C9391; }
.cl-field--check {
  grid-template-columns: auto 1fr; align-items: start; gap: 11px;
  font-size: var(--lp-fs-xs); font-weight: 400; color: var(--lp-ink-soft); line-height: 1.5;
}
.cl-field--check input { width: 19px; height: 19px; margin-top: 2px; padding: 0; accent-color: var(--lp-red); }
.cl-field--guard { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cl-lead-form__status { margin: 0; font-size: var(--lp-fs-xs); color: var(--lp-ink-soft); }
.cl-lead-form .lp-btn, .cl-lead-form .cl-button { justify-self: start; }

/* --- Fichas de contacto y franja de marca ------------------------------ */
.cl-contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.cl-contact-card { display: flex; flex-direction: column; gap: 10px; }
.cl-contact-card__icon { width: 46px; height: 46px; color: var(--lp-red); }
.cl-contact-card__title { margin: 0; font-size: var(--lp-fs-xl); }
.cl-contact-card__lines {
  list-style: none; margin: 0; padding: 0; display: grid; gap: 5px;
  font-size: var(--lp-fs-xs); color: var(--lp-ink-soft);
}
.cl-contact-card__lines a { text-decoration: none; }

/* Franja del color de marca — clon de la sección del sitio real. */
.cl-contact-info--strip { background: var(--lp-red); color: #fff; }
.cl-contact-info--strip .cl-block__head { max-width: none; text-align: center; margin-bottom: 52px; }
.cl-contact-info--strip .cl-block__label {
  color: #fff; font-family: var(--lp-font); font-weight: 400;
  font-size: var(--lp-fs-xs); letter-spacing: .32em;
}
.cl-contact-info--strip .cl-contact-cards { grid-template-columns: repeat(3, 1fr); }
.cl-contact-info--strip .cl-contact-card { align-items: center; text-align: center; gap: 14px; }
.cl-contact-info--strip .cl-contact-card__icon { width: 54px; height: 54px; color: #fff; }
.cl-contact-info--strip .cl-contact-card__title {
  color: #fff; font-weight: 400; text-transform: uppercase; letter-spacing: .02em;
}
.cl-contact-info--strip .cl-contact-card__lines { color: rgb(255 255 255 / .93); }
.cl-contact-info--strip .cl-contact-card__lines a { color: #fff; }
.cl-contact-info--strip .cl-contact-card__lines a:hover { text-decoration: underline; }

/* --- Contacto sin franja (variante plana del bloque) ------------------- */
.cl-contact-plain__form, .cl-contact-plain__info { display: grid; gap: 20px; }
.cl-contact-plain { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.cl-contact-plain__detail-title { margin: 0 0 6px; font-size: var(--lp-fs-lg); }
.cl-contact-plain__detail { font-size: var(--lp-fs-xs); color: var(--lp-ink-soft); }

/* --- Mapa -------------------------------------------------------------- */
.cl-map-embed {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  border: 1px solid var(--lp-line); border-radius: var(--lp-radius); background: #EDE9E7;
}
.cl-map-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.cl-map-embed__link { margin: 16px 0 0; font-size: var(--lp-fs-xs); }
/* Estado previo al clic: el iframe de Google no existe todavía en el DOM
   (ver Blocks::map y site.js). No es una cortina sobre un mapa cargado —
   el mapa no se ha pedido. */
.cl-map-embed--gated { display: grid; place-items: center; padding: 32px 24px; text-align: center; }
.cl-map-embed__gate { max-width: 46ch; }
.cl-map-embed__gate-text { font-size: var(--lp-fs-xs); color: var(--lp-ink-soft); margin: 0 0 20px; }

/* --- Pie de página ----------------------------------------------------- */
.lp-footer { margin-top: 0; background: var(--lp-black); color: var(--lp-on-dark-soft); }
.lp-footer__inner {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 44px;
  max-width: var(--lp-max); margin: 0 auto; padding: 72px var(--lp-gutter) 56px;
}
.lp-footer__logo { height: 62px; width: auto; display: block; }
.lp-footer__tagline { margin: 20px 0 0; font-size: var(--lp-fs-xs); line-height: 1.6; max-width: 34ch; }
.lp-footer__heading {
  margin: 0 0 18px; font-family: var(--lp-font); font-size: var(--lp-fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: #fff;
}
.lp-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: var(--lp-fs-xs); }
.lp-footer__list a { color: var(--lp-on-dark-soft); text-decoration: none; }
.lp-footer__list a:hover { color: #fff; }
.lp-footer__phone {
  font-family: var(--lp-font-display); font-size: var(--lp-fs-xl) !important;
  font-weight: 600; color: #fff !important;
}
.lp-footer__phone:hover { color: var(--lp-red) !important; }
.lp-footer__legal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  max-width: var(--lp-max); margin: 0 auto;
  padding: 24px var(--lp-gutter) 30px; border-top: 1px solid #262020;
  font-size: var(--lp-fs-xs);
}
.lp-footer__legal p { margin: 0; }
.lp-footer__legal nav { display: flex; flex-wrap: wrap; gap: 22px; }
.lp-footer__legal a { color: var(--lp-on-dark-soft); text-decoration: none; }
.lp-footer__legal a:hover { color: #fff; }

/* --- Barra de llamada persistente (solo móvil) ------------------------- */
.lp-call-bar { display: none; }

/* --- Página 404 -------------------------------------------------------- */
.lp-404 { padding: var(--lp-section) 0; background: var(--lp-black); color: var(--lp-on-dark); }
.lp-404__numeral {
  margin: 0 0 10px; font-family: var(--lp-font-display); font-size: 76px; line-height: 1; color: var(--lp-red);
}
.lp-404 h1 { color: #fff; }
.lp-404__lead { font-size: var(--lp-fs-lg); color: var(--lp-on-dark); max-width: 58ch; }
.lp-404__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 30px; }
.lp-404 .lp-btn--secondary { color: #fff; border-color: rgb(255 255 255 / .45); }
.lp-404__routes { margin-top: 52px; }
.lp-404__routes-label {
  display: block; margin-bottom: 18px; font-size: var(--lp-fs-xs); font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase; color: var(--lp-on-dark-soft);
}
.lp-404__routes-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.lp-404__route {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px; border: 1px solid #2A2222; border-radius: var(--lp-radius);
  color: var(--lp-on-dark); text-decoration: none; font-size: var(--lp-fs-xs);
  transition: border-color .18s ease, background .18s ease;
}
.lp-404__route:hover { border-color: var(--lp-red); background: rgb(255 255 255 / .04); color: #fff; }
.lp-404__route strong { display: block; font-family: var(--lp-font-display); font-size: var(--lp-fs-lg); color: #fff; }
.lp-404__route small { font-size: var(--lp-fs-xs); color: var(--lp-on-dark-soft); }

/* --- Barra de administración (solo con sesión) ------------------------- */
.admin-bar { background: #1C1614; color: #fff; font-size: var(--lp-fs-xs); }
.admin-bar__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 18px;
  max-width: var(--lp-max); margin: 0 auto; padding: 10px var(--lp-gutter);
}
.admin-bar__brand { font-weight: 700; }
.admin-bar__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-left: auto; }
.admin-bar__actions a { color: #fff; }

/* ==========================================================================
   Adaptación a pantallas pequeñas
   ========================================================================== */
@media (max-width: 980px) {
  :root { --lp-section: 68px; --lp-section-tight: 52px; }
  .lp-consult__grid, .cl-contact-plain { grid-template-columns: 1fr; gap: 40px; }
  .lp-footer__inner { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 760px) {
  .site-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 4px;
    padding: 14px var(--lp-gutter) 20px; background: var(--lp-black);
    border-top: 1px solid #241D1B;
  }
  .site-header__inner.is-nav-open .site-nav { display: flex; }
  .site-nav__dropdown { position: static; display: flex; min-width: 0; border: 0; box-shadow: none; padding: 4px 0 4px 14px; background: transparent; }
  .site-nav-toggle { display: flex; margin-left: auto; }
  .lp-header-call span { display: none; }
  .lp-header-call { padding: 12px 14px; }
  .site-header__actions { margin-left: 0; }

  .lp-hero__inner { padding: 72px 0 64px; }
  .cl-page-hero__body { padding: 60px 0 52px; }
  .cl-article__header-inner { padding: 56px 0 48px; }
  .cl-article__quick, .cl-article__cover, .cl-article__body { margin-top: 36px; }
  .cl-post-grid { grid-template-columns: 1fr; gap: 26px; }
  .cl-post-card__media img { height: 190px; }
  .cl-contact-info--strip .cl-contact-cards { grid-template-columns: 1fr; gap: 42px; }
  .cl-cta-banner { padding: 28px; }
  .lp-consult__form { padding: 24px; }
  .cl-map-embed { aspect-ratio: 4 / 3; }

  /* Barra de llamada fija: la acción principal siempre a un toque. */
  .lp-call-bar {
    display: flex; position: fixed; inset: auto 0 0 0; z-index: 40;
    align-items: center; justify-content: center; gap: 10px;
    padding: 15px 18px calc(15px + env(safe-area-inset-bottom, 0px));
    background: var(--lp-red); color: #fff;
    font-size: var(--lp-fs-sm); font-weight: 700; line-height: 1;
    text-decoration: none; box-shadow: 0 -6px 22px rgb(0 0 0 / .25);
  }
  .lp-call-bar:hover { background: var(--lp-red-dark); color: #fff; }
  body { padding-bottom: 70px; }
}

@media (max-width: 620px) {
  .cl-lead-form__row { grid-template-columns: 1fr; }
  .lp-footer__inner { grid-template-columns: 1fr; gap: 30px; padding: 52px var(--lp-gutter) 40px; }
  .lp-hero__actions .lp-btn, .lp-404__actions .lp-btn { width: 100%; }
  .lp-404__numeral { font-size: 60px; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
