﻿/**
 * Javier Ãlvarez â€” web pÃºblica (FASE 1).
 * Alcance bajo .layout-fe; no depende de app.css.
 */

/* --- Reset suave --- */
.layout-fe *,
.layout-fe *::before,
.layout-fe *::after {
  box-sizing: border-box;
}

.layout-fe {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "Segoe UI", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", YuGoto, Meiryo, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: #0a0a0a;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
}

.layout-fe .javier-skip {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  z-index: 100000;
  padding: 0.5rem 1rem;
  background: #0a0a0a;
  color: #fff;
  text-decoration: none;
  border-radius: 2px;
}

.layout-fe .javier-skip:focus {
  left: 0.5rem;
}

/* --- Cabecera --- */
.layout-fe .javier-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.92);
  border-bottom: 1px solid #e5e5e5;
  backdrop-filter: blur(8px);
}

.layout-fe .javier-header__inner {
  position: relative;
  max-width: 72rem;
  margin: 0 auto;
  padding: 1rem 1.25rem;
}

.layout-fe .javier-header__toprow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

/* Solo mÃ³vil: hamburguesa a la derecha; escritorio oculta vÃ­a @media */
.layout-fe .javier-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid #d0d0d0;
  border-radius: 2px;
  background: #f3f3f3;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  line-height: 0;
}

.layout-fe .javier-header__sub {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-top: none;
}

/* Fuente Ãºnica: un solo listado (#javier-nav-mount > .javier-header__sub-row > a.sublink) */
.layout-fe .javier-header__nav-mount {
  display: none;
  box-sizing: border-box;
}

.layout-fe .javier-header__nav-mount.is-open {
  display: block;
}

.layout-fe .javier-header__sub-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.layout-fe .javier-header__menu-toggle:focus {
  outline: none;
}

.layout-fe .javier-header__menu-toggle:focus-visible {
  outline: 2px solid #8b0000;
  outline-offset: 2px;
}

.layout-fe .javier-header__menu-bars {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 1.25rem;
  height: 0.95rem;
}

.layout-fe .javier-header__menu-bar {
  display: block;
  height: 2px;
  background: #222;
  border-radius: 1px;
}

@media (max-width: 899px) {
  .layout-fe .javier-header__menu-toggle {
    display: flex !important;
  }

  .layout-fe .javier-header__nav-mount {
    position: absolute;
    left: auto;
    right: 0;
    top: 100%;
    margin-top: 0.5rem;
    z-index: 30;
    width: max-content;
    max-width: min(100%, calc(100vw - 2rem));
    padding: 0.35rem 0;
    border: 1px solid #e4e4e4;
    background: #fafafa;
    border-radius: 2px;
  }

  .layout-fe .javier-header__nav-mount.is-open {
    display: block;
  }

  .layout-fe .javier-header__sub-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow: visible;
    width: 100%;
  }

  .layout-fe .javier-header__sublink {
    display: block;
    text-align: left;
    font-size: 0.875rem;
    white-space: nowrap;
    padding: 0.55rem 1rem;
    border-top: 1px solid #e8e8e8;
  }

  .layout-fe .javier-header__sublink:first-child {
    border-top: none;
    padding-top: 0.65rem;
  }

  .layout-fe .javier-header__sublink:last-child {
    padding-bottom: 0.65rem;
  }

  .layout-fe .javier-header__sublink:not(:last-child)::after {
    display: none !important;
  }
}

@media (min-width: 900px) {
  .layout-fe .javier-header__sub {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px solid #e8e8e8;
  }

  /* Escritorio: solo menÃº horizontal; hamburguesa fuera de pantalla e interacciÃ³n */
  .layout-fe .javier-header__menu-toggle,
  .layout-fe #javier-nav-menu-btn {
    display: none !important;
    pointer-events: none !important;
  }

  .layout-fe #javier-nav-mount.javier-header__nav-mount,
  .layout-fe #javier-nav-mount {
    display: block !important;
    position: static !important;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    border-radius: 0;
    width: 100%;
    max-width: none;
    z-index: auto;
  }

  /* Una sola lÃ­nea; si falta ancho, scroll horizontal discreto. */
  .layout-fe .javier-header__sub-row {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    padding-bottom: 0.2rem;
  }

  /* PC: marco burdeos plano alrededor de cada Ã­tem (sin relieve). Sin barras verticales. */
  .layout-fe .javier-header__sublink {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 0.45rem 0.65rem;
    text-align: center;
    border: 1px solid #8b0000;
    background: transparent;
    box-shadow: none;
  }

  .layout-fe .javier-header__sublink:first-child,
  .layout-fe .javier-header__sublink:last-child {
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
  }

  .layout-fe .javier-header__sublink:hover {
    color: #8b0000;
    background: rgba(139, 0, 0, 0.05);
    border-color: #8b0000;
  }
}

.layout-fe .javier-header__sublink {
  display: inline-block;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #525252;
  text-decoration: none;
  line-height: 1.45;
  cursor: pointer;
  border-radius: 2px;
  transition: color 0.12s ease, background 0.12s ease;
}

.layout-fe .javier-header__sublink:visited {
  color: #525252;
}

.layout-fe .javier-header__sublink:hover {
  color: #8b0000;
  background: rgba(139, 0, 0, 0.06);
}

.layout-fe .javier-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #0a0a0a;
  text-decoration: none;
  border-left: 2px solid #8b0000;
  padding-left: 0.75rem;
  line-height: 1.3;
}

.layout-fe .javier-brand__line {
  display: block;
}

.layout-fe .javier-brand:hover {
  color: #1a1a1a;
}

/* --- Main --- */
.layout-fe .javier-main {
  flex: 1;
  width: 100%;
}

/* --- Flash (sin app.css) --- */
.layout-fe .alert {
  max-width: 72rem;
  margin: 1rem auto 0;
  padding: 0.85rem 1.25rem;
  border-radius: 2px;
  font-size: 0.9375rem;
}

.layout-fe .alert-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #7f1d1d;
}

.layout-fe .alert-ok {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #14532d;
}

.layout-fe .alert-info {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
}

/* --- Home: portada --- */
.layout-fe .javier-hero {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.25rem clamp(3rem, 8vw, 6rem);
  background-color: #ffffff;
}

.layout-fe .javier-hero__grid {
  display: grid;
  gap: clamp(2rem, 5vw, 3.25rem);
  align-items: center;
  background-color: #ffffff;
}

.layout-fe .javier-hero__figure {
  margin: 0;
  position: relative;
  order: 1;
  background-color: #ffffff;
}

.layout-fe .javier-hero__copy {
  order: 2;
}

@media (min-width: 900px) {
  .layout-fe .javier-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  }

  .layout-fe .javier-hero__copy {
    order: 1;
  }

  .layout-fe .javier-hero__figure {
    order: 2;
  }
}

.layout-fe .javier-hero__title {
  margin: 0 0 1.35rem;
  font-weight: 500;
  line-height: 1.15;
  color: #8b0000;
}

.layout-fe .javier-hero__title-line {
  display: block;
  font-size: clamp(1.5rem, 4.5vw, 2.35rem);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 500;
  color: #8b0000;
}

.layout-fe .javier-hero__title-line--secondary {
  margin-top: 0.45em;
  font-size: clamp(0.78rem, 2vw, 0.875rem);
  letter-spacing: 0.2em;
  color: rgba(139, 0, 0, 0.78);
  font-weight: 500;
}

.layout-fe .javier-hero__lead {
  margin: 0 0 1.75rem;
  max-width: 36em;
  font-size: 1.0625rem;
  color: #363636;
  font-weight: 400;
  line-height: 1.7;
}

/* Sin marco decorativo alrededor del hero: fotos con fondo blanco fundidas con la pÃ¡gina */
.layout-fe .javier-hero__figure::after {
  display: none;
}

/* Home Javier: foto sin borde ni sombra */
.layout-fe .javier-hero--home .javier-hero__figure {
  background-color: #ffffff;
  box-shadow: none;
}

.layout-fe .javier-hero--home .javier-hero__img {
  background-color: #ffffff;
  box-shadow: none;
  border: none;
  outline: none;
}

@media (max-width: 899px) {
  .layout-fe .javier-hero {
    padding-bottom: clamp(3.25rem, 9vw, 4.25rem);
  }
}

/* Hero imagen: sin borde ni sombra (recursos con lienzo blanco alinean con el fondo) */
.layout-fe .javier-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-height: min(78vh, 540px);
  object-fit: contain;
  object-position: center center;
  background: #ffffff;
  border: none;
  box-shadow: none;
  outline: none;
  position: relative;
  z-index: 1;
}

@media (max-width: 899px) {
  .layout-fe .javier-hero__img {
    width: 82%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
    max-height: min(50vh, 340px);
  }
}

@media (min-width: 900px) {
  .layout-fe .javier-hero__img {
    height: clamp(300px, 40vw, 460px);
    max-height: none;
    object-fit: cover;
    object-position: center 28%;
  }
}

/* Leyenda bajo la foto del hero (home personal Javier): discreta, no banner */
.layout-fe .javier-hero__photo-caption {
  margin: 0.65rem 0 0;
  padding: 0;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  color: rgba(54, 54, 54, 0.72);
  font-weight: 400;
  line-height: 1.45;
  text-align: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 900px) {
  .layout-fe .javier-hero__photo-caption {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 899px) {
  .layout-fe .javier-hero__photo-caption {
    display: none;
  }
}

.layout-fe .javier-hero__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(40vh, 280px);
  max-height: min(78vh, 540px);
  background-color: #ffffff;
  color: #737373;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 899px) {
  .layout-fe .javier-hero__placeholder {
    width: 82%;
    max-width: 300px;
    min-height: min(28vh, 200px);
    max-height: min(50vh, 340px);
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 900px) {
  .layout-fe .javier-hero__placeholder {
    min-height: clamp(300px, 40vw, 460px);
    max-height: none;
  }
}

.layout-fe .javier-hero__lead--destacado {
  font-size: clamp(1.05rem, 2.4vw, 1.22rem);
  font-weight: 500;
  color: #141414;
  line-height: 1.55;
  margin: 0 0 1rem;
}

.layout-fe .javier-extracto {
  margin: 1.35rem 0 0;
  padding: 0 0 0 1rem;
  border-left: 1px solid rgba(10, 10, 10, 0.28);
}

.layout-fe .javier-extracto p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.78;
  color: #2a2a2a;
}

.layout-fe .javier-extracto footer {
  margin-top: 0.85rem;
  font-size: 0.72rem;
  letter-spacing: 0.07em;
  color: #5c5c5c;
}

.layout-fe .javier-extracto--hero {
  margin-top: 1.15rem;
}

/* --- Fragmentos editoriales (libro) --- */
.layout-fe .javier-editorial {
  max-width: 40rem;
  margin: 0 auto;
  padding: clamp(2.25rem, 6.5vw, 4.25rem) 1.35rem;
}

.layout-fe .javier-editorial__h {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #5c5c5c;
  font-weight: 500;
  margin: 0 0 1.65rem;
  line-height: 1.55;
}

.layout-fe .javier-bloque-h {
  font-size: 1.05rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: #1a1a1a;
  margin: 0 0 1.35rem;
  line-height: 1.35;
}

.layout-fe .javier-editorial__cuerpo p {
  margin: 0 0 1.35rem;
  font-size: 1.02rem;
  line-height: 1.82;
  color: #262626;
}

.layout-fe .javier-editorial__cuerpo p:last-child {
  margin-bottom: 0;
}

/* --- Home editorial: aire mÃ³vil, lectura mÃ¡s estrecha, cita aparte --- */
.layout-fe .javier-reiki-cita {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: 28rem;
  padding: 1.35rem 1.15rem 1.35rem 1.25rem;
  border-left: 1px solid rgba(120, 0, 0, 0.22);
  background: rgba(247, 247, 245, 0.92);
  font-size: 0.9rem;
  line-height: 1.78;
  color: #505050;
  font-weight: 400;
  letter-spacing: 0.015em;
}

.layout-fe .javier-reiki-cita p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

@media (max-width: 899px) {
  .layout-fe .javier-editorial--home-breath {
    padding-top: clamp(2.85rem, 9vw, 3.75rem);
    padding-bottom: clamp(2.85rem, 9vw, 3.75rem);
  }

  .layout-fe .javier-editorial--home-breath .javier-bloque-h,
  .layout-fe .javier-editorial--home-breath .javier-editorial__cuerpo {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  .layout-fe .javier-home-reiki-panel .javier-reiki-cita {
    margin-top: 1.85rem;
  }

  .layout-fe .javier-reiki-cita {
    max-width: 22.5rem;
    font-size: 0.8125rem;
    line-height: 1.74;
    padding: 1.55rem 1rem 1.55rem 1.1rem;
  }
}

.layout-fe .javier-fuente {
  margin: 1.85rem 0 0;
  font-size: 0.74rem;
  letter-spacing: 0.04em;
  color: #777;
  line-height: 1.55;
}

.layout-fe .javier-interstitial {
  box-sizing: border-box;
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(1.85rem, 4.5vw, 3rem) 1.4rem;
  font-size: 0.98rem;
  line-height: 1.82;
  color: #333;
  border-left: 1px solid rgba(139, 0, 0, 0.35);
  background: #f7f7f6;
}

.layout-fe .javier-section.javier-seo-curso > .javier-section__label {
  font-weight: 700;
}

.layout-fe .javier-section.javier-seo-curso > h1 {
  color: #8b0000;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.layout-fe .javier-section.javier-seo-curso .javier-editorial--landing-seo {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: clamp(1rem, 3vw, 1.85rem) 0 clamp(1.25rem, 3.5vw, 2rem);
}

.layout-fe .javier-section.javier-seo-curso .javier-editorial--landing-seo .javier-bloque-h {
  margin-top: 0.35rem;
  margin-bottom: 1.35rem;
  max-width: 28em;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.0625rem, 2.15vw, 1.3125rem);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.02em;
  text-transform: none;
  color: #1c1c1c;
  text-align: center;
}

.layout-fe .javier-section.javier-seo-curso .javier-editorial__slogan {
  margin: -0.35rem auto 1.5rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.55;
  font-weight: 500;
  font-style: italic;
  color: #2c2c2c;
  letter-spacing: 0.015em;
  text-align: center;
}

.layout-fe .javier-section.javier-seo-curso .javier-editorial__historia {
  box-sizing: border-box;
  margin: 1.65rem auto 1.85rem;
  max-width: 36rem;
  padding: 1.35rem 1.2rem 1.35rem 1.3rem;
  border-left: 1px solid rgba(139, 0, 0, 0.28);
  background: rgba(248, 248, 246, 0.85);
}

.layout-fe .javier-section.javier-seo-curso .javier-editorial__historia .javier-editorial__historia-heading {
  margin: 0 0 1.15rem;
  font-size: 1rem;
}

.layout-fe .javier-section.javier-seo-curso .javier-editorial__historia p {
  margin: 0 0 1.05rem;
  font-size: 0.985rem;
  line-height: 1.8;
  color: #2e2e2e;
}

.layout-fe .javier-section.javier-seo-curso .javier-editorial__historia p:last-child {
  margin-bottom: 0;
}

.layout-fe .javier-section.javier-seo-curso .javier-interstitial--seo-nota {
  max-width: 38rem;
  margin: 0.2rem auto 0;
  padding: clamp(1.35rem, 3.5vw, 1.85rem) 1.25rem;
  font-size: 0.935rem;
  line-height: 1.78;
  color: #383838;
}

.layout-fe .javier-section.javier-seo-curso .javier-interstitial--seo-nota p {
  margin: 0;
}

.layout-fe .javier-actions--seo-curso {
  justify-content: center;
  margin-top: clamp(3.5rem, 10vw, 6.25rem);
  padding-top: clamp(1.15rem, 3.5vw, 2rem);
}

@media (max-width: 899px) {
  /* Solo en mÃ³vil: el texto descriptivo (pÃ¡rrafos del cuerpo) alineado a la izquierda; la columna sigue centrada. */
  .layout-fe .javier-section.javier-seo-curso .javier-editorial--landing-seo .javier-editorial__cuerpo > p {
    text-align: left;
  }

  .layout-fe .javier-section.javier-seo-curso .javier-editorial--landing-seo .javier-editorial__cuerpo {
    max-width: 26rem;
    margin-left: auto;
    margin-right: auto;
  }

  .layout-fe .javier-section.javier-seo-curso .javier-editorial--landing-seo .javier-bloque-h {
    box-sizing: border-box;
    max-width: none;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    font-size: clamp(1.05rem, 3.6vw, 1.2rem);
    line-height: 1.32;
  }

  .layout-fe .javier-section.javier-seo-curso .javier-editorial__slogan {
    max-width: 26rem;
    padding: 0 0.25rem;
    font-size: 1rem;
  }
}

.layout-fe .javier-editorial--cierrelectura {
  padding-bottom: clamp(1.75rem, 5vw, 3rem);
}

.layout-fe .javier-cierre__h {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #555;
  font-weight: 500;
  margin: 0 0 1.05rem;
}

.layout-fe .javier-hero__intro {
  max-width: 35em;
}

.layout-fe .javier-hero__intro p {
  margin: 0 0 1.2rem;
  font-size: 0.98rem;
  line-height: 1.76;
  color: #3a3a3a;
  font-weight: 400;
}

.layout-fe .javier-hero__intro p:last-of-type {
  margin-bottom: 0;
}

.layout-fe .javier-hero__intro strong {
  font-weight: 600;
  color: #222;
}

.layout-fe .javier-hero__ubic {
  font-size: 0.8125rem;
  letter-spacing: 0.055em;
  color: #5a5a5a;
  margin-top: 0.35rem;
  line-height: 1.55;
}

.layout-fe .javier-hero__ubic strong {
  font-weight: 600;
  color: #454545;
}

.layout-fe .javier-cierre--final {
  padding-top: clamp(1.75rem, 4vw, 2.75rem);
}

/* --- Frases / voz (no estilo â€œquoteâ€ redes) --- */
.layout-fe .javier-voz {
  box-sizing: border-box;
  max-width: 36rem;
  margin: 0 auto;
  padding: clamp(2.25rem, 5vw, 3.75rem) 1.25rem;
  padding-left: 1.35rem;
  border-left: 1px solid rgba(139, 0, 0, 0.45);
  font-size: 0.9375rem;
  line-height: 1.85;
  color: #404040;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.03em;
}

.layout-fe .javier-voz--ultima {
  padding-bottom: 0.5rem;
  margin-bottom: 0;
}

/* --- Carrusel itinerario (scroll horizontal) --- */
.layout-fe .javier-carrusel-wrap {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(1.25rem, 3vw, 2rem) 0 clamp(2rem, 5vw, 3rem);
}

.layout-fe .javier-carrusel {
  padding: 0;
}

.layout-fe .javier-carrusel__track {
  display: flex;
  gap: 0.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 1.25rem;
  padding: 0.25rem 1.25rem 0.65rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.layout-fe .javier-carrusel__card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 11.75rem;
  min-height: 5.6rem;
  padding: 1rem 1.1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid #d9d9d9;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}

.layout-fe .javier-carrusel__card:hover {
  border-color: rgba(139, 0, 0, 0.55);
  background: #fafafa;
}

.layout-fe .javier-carrusel__card-title {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0a0a0a;
  font-weight: 600;
  line-height: 1.4;
}

.layout-fe .javier-carrusel__card-micro {
  font-size: 0.75rem;
  color: #5c5c5c;
  letter-spacing: 0.035em;
  line-height: 1.45;
  font-weight: 400;
}

/* --- Cierre humano (despuÃ©s del carrusel) --- */
.layout-fe .javier-cierre {
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.25rem clamp(3rem, 8vw, 5rem);
}

.layout-fe .javier-cierre .javier-voz--ultima {
  margin-left: 0;
  margin-right: 0;
  max-width: none;
  padding-left: 1.35rem;
}

.layout-fe .javier-cierre__texto {
  margin: 0 0 1.75rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #363636;
  font-weight: 400;
}

.layout-fe .javier-cierre .javier-actions {
  margin-top: 0.5rem;
}

/* --- Cierre corporativo global (banda tinto: carrusel + contacto, todas las pÃ¡ginas Javier) --- */
.layout-fe .javier-premium-close {
  background-color: #6f0d0d;
  color: #f5f2f0;
  padding: clamp(1.65rem, 5vw, 2.85rem) 0 clamp(1.85rem, 6vw, 3.35rem);
}

.layout-fe .javier-premium-close__eyebrow {
  display: block;
  margin: 0 auto clamp(0.8rem, 3.5vw, 1.35rem);
  max-width: 72rem;
  padding: 0 clamp(1rem, 3vw, 1.35rem);
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(245, 243, 240, 0.52);
}

.layout-fe .javier-premium-close .javier-carrusel-wrap {
  box-sizing: border-box;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 0 clamp(0.85rem, 3.5vw, 1.5rem);
}

.layout-fe .javier-premium-close .javier-carrusel__track {
  padding-top: 0.2rem;
}

.layout-fe .javier-premium-close .javier-carrusel__card {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.layout-fe .javier-premium-close .javier-carrusel__card:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
}

.layout-fe .javier-premium-close .javier-carrusel__card-title {
  color: #f8f6f4;
}

.layout-fe .javier-premium-close .javier-carrusel__card-micro {
  color: rgba(245, 243, 240, 0.68);
}

.layout-fe .javier-premium-close .javier-cierre {
  max-width: 38rem;
  margin: 0 auto;
  padding: clamp(0.75rem, 3vw, 1.35rem) clamp(1rem, 3vw, 1.35rem) 0;
  text-align: center;
}

.layout-fe .javier-premium-close .javier-cierre--final {
  padding-top: 0;
}

.layout-fe .javier-premium-close .javier-cierre__texto {
  margin: 0 0 clamp(1rem, 3.5vw, 1.35rem);
  font-size: clamp(0.94rem, 2.8vw, 1rem);
  line-height: 1.72;
  font-weight: 400;
  color: rgba(245, 242, 240, 0.9);
}

.layout-fe .javier-premium-close .javier-actions {
  justify-content: center;
  margin-top: 0.15rem;
}

/* BotÃ³n WhatsApp en banda tinto: claro, texto tinto â€” premium, poco â€œCTA comercialâ€ */
.layout-fe .javier-premium-close .javier-btn--wa-close {
  padding: 0.62rem 1.45rem;
  background: #f4eeeb;
  color: #5c1010;
  border: 1px solid rgba(248, 242, 238, 0.95);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.layout-fe .javier-premium-close .javier-btn--wa-close:hover {
  background: #faf6f3;
  color: #6f0d0d;
  border-color: #faf6f3;
}

@media (min-width: 900px) {
  .layout-fe .javier-premium-close {
    padding: clamp(2.15rem, 4.2vw, 3.25rem) 0 clamp(2.4rem, 4.8vw, 3.65rem);
  }

  .layout-fe .javier-premium-close__eyebrow {
    font-size: 0.6875rem;
    letter-spacing: 0.22em;
    margin-bottom: clamp(1rem, 1.8vw, 1.4rem);
    color: rgba(245, 243, 240, 0.55);
    padding: 0 1.25rem;
  }

  .layout-fe .javier-premium-close .javier-carrusel-wrap {
    padding-bottom: clamp(1.05rem, 2.2vw, 1.55rem);
  }

  .layout-fe .javier-premium-close .javier-cierre {
    padding: clamp(1.35rem, 2.8vw, 1.85rem) 1.25rem 0;
  }

  .layout-fe .javier-premium-close .javier-cierre__texto {
    font-size: 1rem;
    margin-bottom: 1.35rem;
  }
}

/* --- Landings Javier: bloque cursos (wrapper + tÃ­tulo editorial; partial sin cambiar) --- */
.layout-fe .javier-land-cursos {
  box-sizing: border-box;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1rem;
}

.layout-fe .javier-land-cursos__kicker {
  margin: 0 auto clamp(0.45rem, 1.4vw, 0.75rem);
  padding: 0 0.75rem;
  max-width: 42rem;
  font-size: clamp(1.35rem, 3.8vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: center;
  color: #8b0000;
  line-height: 1.2;
}

.layout-fe .javier-land-cursos .javier-cursos-publicos__title {
  display: none;
}

.layout-fe .javier-land-cursos .javier-cursos-publicos {
  padding: clamp(1rem, 2.8vw, 1.45rem) 1rem clamp(3rem, 7vw, 4.5rem);
  margin-top: 0;
  background-color: #f5f5f5;
  border-top: 1px solid rgba(10, 10, 10, 0.05);
}

@media (min-width: 900px) {
  .layout-fe .javier-land-cursos__kicker {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: clamp(0.5rem, 1.35vw, 0.85rem);
    max-width: none;
  }

  .layout-fe .javier-land-cursos .javier-cursos-publicos {
    padding: clamp(1.2rem, 2.2vw, 1.65rem) 1rem clamp(2.25rem, 3.8vw, 2.85rem);
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
  }
}

/* --- Bloques de texto --- */
.layout-fe .javier-section {
  max-width: 42rem;
  margin: 0 auto;
  padding: clamp(3rem, 8vw, 5rem) 1.25rem;
}

.layout-fe .javier-section--wide {
  max-width: 72rem;
}

.layout-fe .javier-section__label {
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8b0000;
  margin: 0 0 1rem;
}

.layout-fe .javier-section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #0a0a0a;
}

.layout-fe .javier-section:not(.javier-sea) h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: #8b0000;
}

.layout-fe .javier-section:not(.javier-sea) p {
  margin: 0 0 1.25rem;
  color: #363636;
}

.layout-fe .javier-section:not(.javier-sea) p:last-child {
  margin-bottom: 0;
}

.layout-fe .javier-rule {
  height: 1px;
  background: #0a0a0a;
  max-width: 3rem;
  margin: 0 0 1.5rem;
  border: 0;
}

/* --- CTAs --- */
.layout-fe .javier-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem;
}

.layout-fe .javier-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.35rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid #0a0a0a;
  background: #0a0a0a;
  color: #fafafa;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.layout-fe .javier-btn:hover {
  background: #262626;
  border-color: #262626;
  color: #fff;
}

.layout-fe .javier-btn--ghost {
  background: transparent;
  color: #0a0a0a;
}

.layout-fe .javier-btn--ghost:hover {
  background: #0a0a0a;
  color: #fafafa;
}

.layout-fe .javier-btn--wa {
  background: #0a0a0a;
  border-color: #0a0a0a;
}

.layout-fe .javier-btn--wa:hover {
  background: #8b0000;
  border-color: #8b0000;
}

/* --- Lista zen --- */
.layout-fe .javier-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.layout-fe .javier-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e5e5;
  color: #363636;
}

.layout-fe .javier-list li:first-child {
  border-top: 1px solid #e5e5e5;
}

/* --- Pie --- */
.layout-fe .javier-footer {
  margin-top: auto;
  padding: 3rem 1.25rem 2.5rem;
  border-top: 1px solid #e5e5e5;
  background: #f5f5f5;
}

.layout-fe .javier-footer__inner {
  max-width: 72rem;
  margin: 0 auto;
  text-align: center;
}

.layout-fe .javier-footer__line {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #525252;
}

.layout-fe .javier-footer__sub {
  margin: 0;
  font-size: 0.8125rem;
  color: #737373;
}

/* --- WhatsApp flotante --- */
.layout-fe .javier-wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 8000;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid #0a0a0a;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s, border-color 0.2s;
}

.layout-fe .javier-wa-float:hover {
  transform: scale(1.04);
  background: #8b0000;
  border-color: #8b0000;
}

.layout-fe .javier-wa-float svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
}

.layout-fe .javier-wa-float--hidden {
  display: none;
}

/* =============================================================================
   Home Javier â€” refuerzo solo escritorio (>=900px). MÃ³vil: reglas base sin cambiar.
   Fases: hero / panel Reiki+cita / cursos / banda tinto cierre.
   ============================================================================= */

/* Block cursos: base en partial inline. Solo Javier desktop aplica overrides siguientes. */

@media (min-width: 900px) {
  .layout-fe .javier-hero {
    padding: clamp(1.75rem, 3.2vw, 2.65rem) 1.25rem clamp(2rem, 4.2vw, 3.15rem);
    background-color: #ffffff;
    border-bottom: 1px solid rgba(10, 10, 10, 0.055);
  }

  .layout-fe .javier-hero__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.72fr);
    gap: clamp(1.35rem, 2.8vw, 2.35rem);
    align-items: start;
  }

  .layout-fe .javier-hero__title {
    margin-bottom: 1.45rem;
  }

  .layout-fe .javier-hero__title-line {
    font-size: clamp(1.55rem, 2.65vw, 2rem);
    letter-spacing: 0.12em;
  }

  .layout-fe .javier-hero__title-line--secondary {
    font-size: clamp(0.72rem, 1.05vw, 0.8125rem);
  }

  .layout-fe .javier-hero__img {
    height: clamp(228px, 26vw, 348px);
    max-height: 348px;
    object-fit: cover;
    object-position: center 28%;
  }

  .layout-fe .javier-hero__placeholder {
    min-height: clamp(228px, 26vw, 348px);
    height: clamp(228px, 26vw, 348px);
    max-height: 348px;
  }

  .layout-fe .javier-hero__intro {
    max-width: 38rem;
    padding: 1.2rem 0 1.35rem 1.35rem;
    border-left: 3px solid rgba(139, 0, 0, 0.42);
  }

  .layout-fe .javier-hero__intro p {
    font-size: 1rem;
    line-height: 1.74;
  }

  .layout-fe .javier-hero__ubic {
    margin-top: 0.5rem;
  }

  /* Reiki + cita: panel editorial ancho, cita integrada (rejilla). */
  .layout-fe .javier-editorial.javier-home-reiki-panel {
    max-width: none;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    border-top: 1px solid rgba(10, 10, 10, 0.04);
    border-bottom: 1px solid rgba(10, 10, 10, 0.05);
  }

  .layout-fe .javier-home-reiki-panel__inner {
    box-sizing: border-box;
    max-width: 56rem;
    margin: 0 auto;
    padding: clamp(2rem, 3.8vw, 3rem) clamp(1.35rem, 3vw, 2rem);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(1.65rem, 3.2vw, 2.75rem);
    align-items: stretch;
  }

  .layout-fe .javier-home-reiki-panel__main .javier-bloque-h {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.025em;
    margin-bottom: 1.1rem;
    color: #141414;
  }

  .layout-fe .javier-home-reiki-panel__main .javier-editorial__cuerpo p {
    font-size: 1.0425rem;
    line-height: 1.84;
    margin-bottom: 0;
  }

  .layout-fe .javier-home-reiki-panel .javier-reiki-cita--panel {
    margin: 0;
    max-width: none;
    align-self: stretch;
    padding: 1.45rem 1.25rem 1.45rem 1.35rem;
    background: #fcfcfc;
    border: 1px solid rgba(10, 10, 10, 0.06);
    border-left: 3px solid rgba(139, 0, 0, 0.38);
    font-size: 0.9375rem;
    line-height: 1.82;
    color: #4a4a4a;
  }
}

/* --- Piloto SEO (Reiki I): mismas clases que home (hero + javier-home-reiki-panel); solo ajustes tipografÃ­a y mÃ¡rgenes --- */
.layout-fe .javier-seo-curso--pilot {
  padding-top: 0;
}

.layout-fe .javier-seo-curso--pilot .javier-hero__copy .javier-seo-pilot-hero__h1 {
  margin: 0 0 0.85rem;
  color: #8b0000;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: clamp(1.15rem, 2.8vw, 1.45rem);
  line-height: 1.2;
}

.layout-fe .javier-seo-curso--pilot .javier-hero__copy .javier-seo-pilot-hero__subtitle {
  margin: 0 0 0.65rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  color: #1c1c1c;
  text-transform: none;
}

.layout-fe .javier-seo-curso--pilot .javier-hero__copy .javier-seo-pilot-hero__slogan {
  margin: 0 0 1rem;
  font-size: 1.02rem;
  line-height: 1.5;
  font-weight: 500;
  font-style: italic;
  color: #2c2c2c;
  letter-spacing: 0.015em;
}

.layout-fe .javier-seo-curso--pilot .javier-seo-pilot-placeholder-hint {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: #6b6b6b;
}

/* El panel home fija margin-bottom:0 en pÃ¡rrafos; varios pÃ¡rrafos en curso necesitan respiro entre ellos */
.layout-fe .javier-seo-curso--pilot .javier-home-reiki-panel__main .javier-editorial__cuerpo > p:not(:last-child) {
  margin-bottom: 1.15rem;
}

@media (min-width: 900px) {
  .layout-fe .javier-seo-curso--pilot .javier-home-reiki-panel__inner--solo {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-fe .javier-seo-curso--pilot .javier-home-reiki-panel__main .javier-editorial__cuerpo > p:not(:last-child) {
    margin-bottom: 1.1rem;
  }

  /* Piloto SEO (escritorio): foto entera (contain); el <img> toma la altura real del bitmap */
  .layout-fe .javier-seo-curso--pilot .javier-hero__figure {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
  }

  .layout-fe .javier-seo-curso--pilot .javier-hero__img {
    display: block;
    box-sizing: border-box;
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: min(520px, 88vh);
    margin-left: auto;
    margin-right: auto;
    object-fit: contain;
    object-position: center center;
    background-color: #ffffff;
  }

  .layout-fe .javier-seo-curso--pilot .javier-hero__placeholder {
    box-sizing: border-box;
    width: 100%;
    min-height: clamp(280px, 40vw, 400px);
  }
}

/* Historia dentro del panel: alinear con lectura continua (menos â€œcajaâ€ que landing SEO genÃ©rica) */
.layout-fe .javier-section.javier-seo-curso.javier-seo-curso--pilot .javier-home-reiki-panel__main .javier-editorial__historia {
  margin: 1.35rem 0 0;
  margin-left: 0;
  margin-right: 0;
  padding: 0 0 0 1rem;
  max-width: none;
  background: transparent;
  border-left: 1px solid rgba(139, 0, 0, 0.22);
}

/* --- SanaciÃ³n EnergÃ©tica ActivaÂ® (S.E.A.) â€” landing propia (no plantilla SEO Reiki) --- */
.layout-fe .javier-sea {
  padding-top: 0;
  --sea-accent: #153c48;
  --sea-accent-soft: rgba(21, 60, 72, 0.12);
  --sea-surface: #f6f8f8;
}

.layout-fe .javier-sea-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.layout-fe .javier-sea .javier-sea-hero__title {
  margin: 0;
  padding: 0 0 clamp(1rem, 2.5vw, 1.35rem);
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: flex-start;
  align-self: flex-start;
  gap: clamp(0.45rem, 1.25vw, 0.65rem);
  box-sizing: border-box;
  font-weight: inherit;
  line-height: 1.15;
  color: var(--sea-accent);
  border-bottom: 1px solid rgba(21, 60, 72, 0.2);
  max-width: min(100%, 30rem);
}

.layout-fe .javier-sea .javier-sea-hero__title-main {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  font-size: clamp(2.65rem, 6.25vw, 4.15rem);
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.06;
  color: var(--sea-accent);
}

.layout-fe .javier-sea .javier-sea-hero__title-sub {
  display: block;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-family: Lora, "Libre Baskerville", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.02rem, 1.9vw, 1.1875rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.52;
  color: rgba(21, 60, 72, 0.78);
  text-transform: none;
  white-space: normal;
}

/* Cabecera: solo ancla de marca (H1); sin narrativa */
.layout-fe .javier-sea-hero--anchor {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2.75rem, 7vw, 5rem) clamp(1.15rem, 3vw, 1.5rem) clamp(2.25rem, 5vw, 3.5rem);
  background: #fbfbfb;
}

/* Entrada narrativa + logotipo (debajo del ancla) */
.layout-fe .javier-sea-lead {
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(2rem, 4.5vw, 3.25rem) clamp(1.15rem, 3vw, 1.5rem) clamp(2.25rem, 4.5vw, 3.25rem);
  background: #fbfbfb;
  border-bottom: 1px solid rgba(10, 10, 10, 0.06);
}

.layout-fe .javier-sea-lead__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: start;
}

.layout-fe .javier-sea-hero__prose {
  order: 1;
  min-width: 0;
  max-width: 38rem;
}

.layout-fe .javier-sea-prose__p {
  margin: 0 0 1.35em;
  font-size: clamp(1.05rem, 1.85vw, 1.2rem);
  line-height: 1.72;
  letter-spacing: -0.01em;
  color: #242424;
}

.layout-fe .javier-sea-prose__p:last-child {
  margin-bottom: 0;
}

.layout-fe .javier-sea-hero__brand {
  order: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  min-width: 0;
}

.layout-fe .javier-sea-hero__logo {
  display: block;
  width: 100%;
  max-width: min(100%, 26rem);
  height: auto;
  object-fit: contain;
}

.layout-fe .javier-sea-hero__wordmark {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--sea-accent);
  text-align: center;
}

/* Puente entre logotipo y foto editorial S.E.A.: aire, sin caja */
.layout-fe .javier-sea-bridge {
  padding: clamp(2.5rem, 6vw, 4.25rem) clamp(1.15rem, 3vw, 1.5rem);
  background: #fff;
  border-bottom: 1px solid rgba(10, 10, 10, 0.05);
}

.layout-fe .javier-sea-bridge__inner {
  max-width: 46rem;
  margin: 0 auto;
  text-align: center;
}

.layout-fe .javier-sea-bridge__p {
  margin: 0 0 1.1em;
  font-size: clamp(1.12rem, 2.25vw, 1.4rem);
  font-weight: 500;
  line-height: 1.58;
  letter-spacing: -0.02em;
  color: #1e1e1e;
}

.layout-fe .javier-sea-bridge__p:last-child {
  margin-bottom: 0;
}

.layout-fe .javier-sea-bridge__pull {
  margin: clamp(2.25rem, 5.5vw, 3.75rem) auto clamp(2rem, 5vw, 3.25rem);
  padding: clamp(1.65rem, 3.5vw, 2.35rem) 0 0;
  max-width: 38rem;
  border: 0;
  border-top: 1px solid rgba(21, 60, 72, 0.14);
  font-family: Lora, "Libre Baskerville", "Palatino Linotype", Georgia, serif;
  font-size: clamp(1.18rem, 2.2vw, 1.42rem);
  font-weight: 500;
  font-style: italic;
  font-variant-numeric: oldstyle-nums;
  line-height: 1.58;
  letter-spacing: 0.008em;
  color: rgba(21, 60, 72, 0.86);
  text-align: center;
}

/* Foto editorial S.E.A. + columna de texto: prosa continua (no tarjeta Reiki) */
.layout-fe .javier-sea-editorial-break {
  padding: clamp(1.75rem, 4.2vw, 3rem) 0 clamp(2rem, 5vw, 3.25rem);
  background: linear-gradient(180deg, #f9fafb 0%, #fcfcfc 55%, #fff 100%);
  border-top: none;
  border-bottom: 1px solid rgba(10, 10, 10, 0.045);
}

.layout-fe .javier-sea-editorial-break__inner {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 clamp(1.1rem, 3.2vw, 1.5rem);
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, 0.9fr);
  gap: clamp(1.75rem, 3.5vw, 3rem);
  align-items: start;
}

.layout-fe .javier-sea-editorial-break__photo {
  margin: 0;
  position: relative;
  max-width: none;
  width: 100%;
  justify-self: stretch;
  margin-left: clamp(-0.35rem, -1.2vw, 0);
}

.layout-fe .javier-sea-editorial-break__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
  aspect-ratio: auto;
  object-fit: unset;
  object-position: unset;
  border-radius: 0;
  border: none;
  box-shadow: none;
  outline: none;
  background: #ffffff;
}

.layout-fe .javier-sea-editorial-break__ph {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  max-width: 100%;
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: #6f6f6f;
  background: linear-gradient(145deg, #eef2f3 0%, #f6f8f8 100%);
  border-radius: 0 0 2.75rem 0;
  padding: 1.25rem;
}

/* Reserva de espacio editorial sin texto tÃ©cnico (solo si falta sea.jpg en disco) */
.layout-fe .javier-sea-editorial-break__ph.javier-sea-editorial-break__ph--empty {
  padding: 0;
  font-size: 0;
  letter-spacing: 0;
  color: transparent;
}

.layout-fe .javier-sea-editorial-break__col {
  min-width: 0;
  padding-top: 0.2rem;
}

.layout-fe .javier-sea-editorial-break__prose {
  max-width: 36rem;
}

.layout-fe .javier-sea-side__p {
  margin: 0 0 1.15em;
  font-size: clamp(1rem, 1.55vw, 1.09rem);
  line-height: 1.78;
  color: #272727;
}

.layout-fe .javier-sea-side__p:last-child {
  margin-bottom: 0;
}

@media (max-width: 899px) {
  .layout-fe .javier-sea-lead__grid {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.25rem);
    align-items: stretch;
  }

  .layout-fe .javier-sea-hero__brand {
    align-items: center;
  }

  .layout-fe .javier-sea-hero__logo {
    max-width: min(100%, 22rem);
  }

  .layout-fe .javier-sea-editorial-break__inner {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 3.8vw, 2.65rem);
  }

  .layout-fe .javier-sea-editorial-break__photo {
    max-width: min(100%, 34rem);
    justify-self: center;
    margin-left: 0;
    width: auto;
  }

  .layout-fe .javier-sea-editorial-break__img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: center 38%;
    border-radius: 0;
    width: 100%;
    max-width: none;
  }

  .layout-fe .javier-sea-editorial-break__ph {
    aspect-ratio: 16 / 10;
    min-height: 0;
    width: 100%;
  }
}

/* Cierre narrativo antes de cursos */
.layout-fe .javier-sea-narrative {
  padding: clamp(2.5rem, 5.5vw, 4rem) clamp(1.15rem, 3vw, 1.5rem) clamp(2.25rem, 4vw, 3.5rem);
  background: var(--sea-surface);
  border-top: 1px solid rgba(10, 10, 10, 0.06);
}

.layout-fe .javier-sea-narrative__inner {
  max-width: 44rem;
  margin: 0 auto;
}

.layout-fe .javier-sea-narrative__p {
  margin: 0 0 1.4em;
  font-size: clamp(1.04rem, 1.6vw, 1.14rem);
  line-height: 1.82;
  letter-spacing: -0.01em;
  color: #252525;
}

.layout-fe .javier-sea-narrative__p:last-child {
  margin-bottom: 0;
}

.layout-fe .javier-actions--sea {
  justify-content: center;
  margin-top: clamp(1.5rem, 4vw, 2.25rem);
  padding: 0 1.25rem clamp(1.5rem, 3vw, 2rem);
}

/* --- Legal (aviso, privacidad, cookies) + banner consentimiento --- */
.layout-fe .javier-legal-wrap {
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.25rem, 4vw, 2rem) clamp(3rem, 8vw, 5rem);
}

.layout-fe .javier-legal-sheet {
  max-width: 52rem;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  letter-spacing: -0.01em;
  color: #2a2a2a;
}

.layout-fe .javier-legal-sheet__h1 {
  margin: 0 0 0.75rem;
  font-weight: 700;
  font-size: clamp(1.5rem, 3.2vw, 1.95rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0a0a0a;
}

.layout-fe .javier-legal-sheet__meta {
  margin: 0 0 2rem;
  font-size: 0.875rem;
  color: #737373;
}

.layout-fe .javier-legal-sheet h2 {
  margin: 2rem 0 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #171717;
}

.layout-fe .javier-legal-sheet h2:first-of-type {
  margin-top: 1.5rem;
}

.layout-fe .javier-legal-sheet p,
.layout-fe .javier-legal-sheet li {
  margin: 0 0 0.75em;
}

.layout-fe .javier-legal-sheet ul {
  padding-left: 1.2rem;
}

.layout-fe .javier-legal-sheet a {
  color: #800000;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.14em;
}

.layout-fe .javier-legal-sheet a:hover {
  color: #520000;
}

.layout-fe .javier-legal-sheet__table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}

.layout-fe .javier-legal-sheet__table th,
.layout-fe .javier-legal-sheet__table td {
  border: 1px solid rgba(10, 10, 10, 0.12);
  padding: 0.55rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.layout-fe .javier-legal-sheet__table thead th {
  background: rgba(10, 10, 10, 0.04);
  font-weight: 600;
}

.layout-fe .javier-legal-sheet__aside {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 3px solid rgba(128, 0, 0, 0.55);
  background: rgba(248, 248, 248, 0.92);
  font-size: 0.875rem;
  color: #454545;
}

.layout-fe .javier-footer__legal {
  margin-top: 0.65rem;
  padding-top: 0;
  border-top: none;
  font-size: 0.8125rem;
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: normal;
  color: #737373;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0 0;
}

.layout-fe .javier-footer__legal a:link,
.layout-fe .javier-footer__legal a:visited {
  color: #737373;
  text-decoration: none;
}

.layout-fe .javier-footer__legal a:hover {
  color: #525252;
  text-decoration: none;
}

.layout-fe .javier-footer__legal a:focus-visible {
  outline: 1px solid rgba(82, 82, 82, 0.45);
  outline-offset: 3px;
  border-radius: 1px;
}

.layout-fe .javier-footer__legal-sep {
  margin: 0 0.35rem;
  color: #9ca3af;
  user-select: none;
}

.layout-fe .javier-footer__legal-btn {
  -webkit-appearance: none;
  appearance: none;
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  box-shadow: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  text-align: inherit;
  color: #737373;
  cursor: pointer;
  text-decoration: none;
}

.layout-fe .javier-footer__legal-btn:hover {
  color: #525252;
  text-decoration: none;
}

.layout-fe .javier-footer__legal-btn:focus-visible {
  outline: 1px solid rgba(82, 82, 82, 0.45);
  outline-offset: 3px;
  border-radius: 1px;
}

.layout-fe .javier-footer__legal-btn::-moz-focus-inner {
  border: 0;
  padding: 0;
}

