/**
 * Rama Kaelon — capa visual del hub y páginas internas.
 * Complementa kaelon-public.css (.javier-kaelon, .kaelon-*).
 */

.layout-fe .fe-kaelon-branch {
  background-color: #091612;
  color: #e2e8f0;
  overflow: hidden;
  position: relative;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* —— Hub: mapa del sistema —— */
.layout-fe .kaelon-hub-pillars {
  position: relative;
  z-index: 2;
  max-width: 72rem;
  margin: 0 auto;
  padding: clamp(4rem, 8vw, 6rem) 1.5rem;
}

.layout-fe .kaelon-hub-pillars__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #7a9a86;
  text-align: center;
  margin: 0 0 0.75rem;
}

.layout-fe .kaelon-hub-pillars__title {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
  color: #f4f9f4;
  text-align: center;
  margin: 0 0 clamp(2.5rem, 5vw, 3.5rem);
  text-wrap: balance;
}

.layout-fe .kaelon-hub-pillars__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 640px) {
  .layout-fe .kaelon-hub-pillars__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .layout-fe .kaelon-hub-pillars__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .layout-fe .kaelon-hub-pillars__grid--3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.layout-fe .kaelon-hub-pillar {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.75rem 1.5rem;
  background: rgba(18, 38, 32, 0.55);
  border: 1px solid rgba(45, 106, 79, 0.35);
  border-radius: 2px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.layout-fe .kaelon-hub-pillar:hover {
  border-color: rgba(64, 145, 108, 0.65);
  background: rgba(27, 67, 50, 0.45);
  transform: translateY(-2px);
}

.layout-fe .kaelon-hub-pillar__num {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #5a7867;
  margin-bottom: 1rem;
}

.layout-fe .kaelon-hub-pillar__label {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.35rem, 2.2vw, 1.55rem);
  font-weight: 400;
  color: #f4f9f4;
  margin: 0 0 0.65rem;
  line-height: 1.2;
}

.layout-fe .kaelon-hub-pillar__desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: #a8bba2;
  margin: 0 0 1.25rem;
  flex-grow: 1;
}

.layout-fe .kaelon-hub-pillar__link {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #95d5b2;
}

/* —— Puente editorial (home) —— */
.layout-fe .kaelon-hub-bridge {
  position: relative;
  z-index: 2;
  max-width: 44rem;
  margin: 0 auto;
  padding: 0 1.5rem clamp(4rem, 8vw, 6rem);
  text-align: center;
}

.layout-fe .kaelon-hub-bridge__text {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  line-height: 1.8;
  color: #ccd5d0;
  margin: 0 0 2rem;
}

.layout-fe .kaelon-hub-bridge__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.layout-fe .kaelon-hub-bridge__actions .kaelon-btn-elegant--ghost {
  background: transparent;
  border-color: rgba(149, 213, 178, 0.45);
  color: #d8f3dc;
}

.layout-fe .kaelon-hub-bridge__actions .kaelon-btn-elegant--ghost:hover {
  background: rgba(27, 67, 50, 0.35);
  border-color: #40916c;
}

/* —— Páginas internas: cabecera —— */
.layout-fe .kaelon-page-head {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(3.5rem, 7vw, 5rem) 1.5rem clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.layout-fe .kaelon-page-head--left {
  text-align: left;
  max-width: 54rem;
}

.layout-fe .kaelon-page-head__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7a9a86;
  margin: 0 0 0.85rem;
}

.layout-fe .kaelon-page-head__title {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.2;
  color: #f4f9f4;
  margin: 0 0 1.25rem;
  text-wrap: balance;
}

.layout-fe .kaelon-page-head__lead {
  font-size: clamp(1.05rem, 1.8vw, 1.15rem);
  line-height: 1.75;
  color: #ccd5d0;
  margin: 0;
  max-width: 40rem;
}

.layout-fe .kaelon-page-head--left .kaelon-page-head__lead {
  max-width: none;
}

/* —— Red: activadores Kaelon —— */
.layout-fe .kaelon-network {
  position: relative;
  z-index: 2;
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem clamp(5rem, 10vw, 7rem);
}

.layout-fe .kaelon-network__intro {
  max-width: 44rem;
  margin: 0 auto clamp(3rem, 6vw, 4rem);
  text-align: center;
}

.layout-fe .kaelon-network__intro + .kaelon-network__intro {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.layout-fe .kaelon-network__grid-heading {
  max-width: 68rem;
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
  padding: 0 1.5rem;
  text-align: left;
}

.layout-fe .kaelon-network__intro--left {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.layout-fe .kaelon-network__block-title {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.35rem, 2.5vw, 1.65rem);
  font-weight: 400;
  color: #f4f9f4;
  margin: 0 0 1rem;
}

.layout-fe .kaelon-network__p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #ccd5d0;
  margin: 0 0 1rem;
}

.layout-fe .kaelon-network__p:last-child {
  margin-bottom: 0;
}

.layout-fe .kaelon-network__grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (min-width: 600px) {
  .layout-fe .kaelon-network__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .layout-fe .kaelon-network__grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    justify-items: center;
  }
}

.layout-fe .kaelon-network__grid > li {
  width: 100%;
  max-width: 15.5rem;
}

.layout-fe .kaelon-network-card {
  --kaelon-card-thumb: 6.25rem;
  position: relative;
  display: block;
  box-sizing: border-box;
  width: 100%;
  min-height: 11.25rem;
  padding: 1.5rem 1.2rem 1.65rem;
  padding-right: calc(var(--kaelon-card-thumb) + 2.15rem);
  background: rgba(18, 38, 32, 0.5);
  border: 1px dashed rgba(90, 120, 103, 0.55);
  border-radius: 2px;
}

.layout-fe .kaelon-network-card:not(:has(.kaelon-network-card__thumb)) {
  padding-right: 1.2rem;
  min-height: 6rem;
}

.layout-fe .kaelon-network-card__thumb {
  position: absolute;
  top: 1.25rem;
  right: 1.15rem;
  width: var(--kaelon-card-thumb);
  height: var(--kaelon-card-thumb);
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid rgba(90, 120, 103, 0.5);
  background: rgba(12, 28, 24, 0.6);
}

.layout-fe .kaelon-network-card__tel {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  line-height: 1.4;
}

.layout-fe .kaelon-network-card__tel a {
  color: #a8c9b4;
  text-decoration: none;
}

.layout-fe .kaelon-network-card__tel a:hover {
  color: #d8f3dc;
  text-decoration: underline;
}

.layout-fe .kaelon-network__empty {
  grid-column: 1 / -1;
  list-style: none;
}

.layout-fe .kaelon-network-card__status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5a7867;
  margin-bottom: 1rem;
}

.layout-fe .kaelon-network-card__title {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: #d8f3dc;
  margin: 0 0 0.65rem;
  line-height: 1.25;
  padding-right: 0.15rem;
}

.layout-fe .kaelon-network-card__meta {
  font-size: 0.88rem;
  color: #7a9a86;
  margin: 0 0 auto;
  padding-bottom: 1rem;
}

.layout-fe .kaelon-network-card__note {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #6b8578;
  margin: 0;
  font-style: italic;
}

.layout-fe .kaelon-network__roles {
  display: grid;
  gap: 2rem;
  margin-top: clamp(3rem, 6vw, 4rem);
}

@media (min-width: 800px) {
  .layout-fe .kaelon-network__roles {
    grid-template-columns: 1fr 1fr;
  }
}

.layout-fe .kaelon-role-panel {
  padding: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid rgba(45, 106, 79, 0.3);
  background: rgba(12, 28, 23, 0.6);
}

.layout-fe .kaelon-role-panel__title {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: 1.35rem;
  color: #f4f9f4;
  margin: 0 0 0.75rem;
}

.layout-fe .kaelon-role-panel__list {
  margin: 0;
  padding-left: 1.1rem;
  color: #a8bba2;
  font-size: 0.95rem;
  line-height: 1.7;
}

.layout-fe .kaelon-role-panel__list li {
  margin-bottom: 0.35rem;
}

/* Estado vacío formación: fe-kaelon-cursos.css (.fe-kaelon-cursos-block) */

/* —— Experiencias Kaelon (fondo heredado de .fe-kaelon-branch) —— */
.layout-fe .fe-kaelon-exp.fe-exp--home,
.layout-fe .fe-kaelon-exp.fe-exp--pagina {
  border-top: 1px solid rgba(27, 67, 50, 0.35);
}

.layout-fe .fe-kaelon-exp .fe-exp__titulo,
.layout-fe .fe-kaelon-exp .fe-exp__titulo--home,
.layout-fe .fe-kaelon-exp.fe-exp--pagina .fe-exp__titulo {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-weight: 400;
  color: #f4f9f4;
}

.layout-fe .fe-kaelon-exp .fe-exp__sub,
.layout-fe .fe-kaelon-exp .fe-exp__lead,
.layout-fe .fe-kaelon-exp .fe-exp__kicker {
  color: #a8bba2;
}

.layout-fe .fe-kaelon-exp .fe-exp__btn-more {
  background-color: #1b4332;
  border: 1px solid #2d6a4f;
  color: #f4f9f4;
}

.layout-fe .fe-kaelon-exp .fe-exp__btn-more:hover {
  background-color: #2d6a4f;
}

.layout-fe .fe-kaelon-exp .fe-exp__volver {
  color: #95d5b2;
}

.layout-fe .fe-kaelon-exp .fe-exp__vacio {
  color: #a8bba2;
}
.fe-kaelon-exp .fe-exp__archivo {
  margin: 2.5rem 0 0;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(168, 187, 162, 0.4);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  user-select: none;
}

/* —— Protección imágenes galería Kaelon —— */
.fe-kaelon-exp .fe-exp__fig {
  position: relative;
}
.fe-kaelon-exp .fe-exp__notice {
  position: absolute;
  bottom: 3px;
  right: 4px;
  font-size: 0.5rem;
  color: rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.2);
  padding: 1px 3px;
  border-radius: 1px;
  pointer-events: none;
  user-select: none;
  line-height: 1.1;
  z-index: 1;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  letter-spacing: 0.02em;
}
.fe-kaelon-exp .fe-exp__img {
  -webkit-user-select: none;
  user-select: none;
  -webkit-user-drag: none;
}
.fe-kaelon-exp .fe-exp__muestra-i .fe-exp__fig {
  position: relative;
}

/* Home — mosaico experiencias (reglas legacy fe-home.css; no estaban en fe-sea → kaelon-hub) */
.layout-fe .fe-exp--home .fe-exp__inner--home {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2rem clamp(1rem, 4vw, 1.75rem) 2.5rem;
  box-sizing: border-box;
}

.layout-fe .fe-exp--home .fe-exp__muestra--home {
  list-style: none;
  margin: 1.2rem auto 0;
  padding: 0;
  width: 100%;
  max-width: min(26.5rem, 100%);
  margin-left: auto;
  margin-right: auto;
  display: grid;
  gap: 0.6rem 0.65rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  box-sizing: border-box;
}

@media (min-width: 900px) {
  .layout-fe .fe-exp--home .fe-exp__muestra--home {
    max-width: 52rem;
    gap: 0.7rem;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.layout-fe .fe-exp--home .fe-exp__muestra-i {
  margin: 0;
  min-width: 0;
}

.layout-fe .fe-exp--home .fe-exp__fig.fe-exp__fig--muestra {
  width: 100%;
  margin: 0;
  overflow: hidden;
  background: #e0e0dc;
  border-radius: 3px;
  aspect-ratio: 3 / 2;
  max-height: min(9.25rem, 42vw);
}

@media (min-width: 900px) {
  .layout-fe .fe-exp--home .fe-exp__fig.fe-exp__fig--muestra {
    max-height: min(7rem, 16vw);
    aspect-ratio: 3 / 2;
  }
}

.layout-fe .fe-exp--home .fe-exp__img.fe-exp__img--home {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.layout-fe .fe-exp--home .fe-exp__cta--home {
  margin-top: 1.35rem;
  text-align: center;
}

@media (max-width: 899.98px) {
  .layout-fe .fe-exp--home {
    overflow-x: hidden;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  .layout-fe .fe-exp--home .fe-exp__inner--home {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 1.75rem max(1rem, env(safe-area-inset-left, 0px)) 2rem max(1rem, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
    overflow-x: hidden;
  }

  .layout-fe .fe-exp--home .fe-exp__muestra--home {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 13rem;
    margin: 1.1rem auto 0;
    padding: 0;
    gap: 0.45rem;
    box-sizing: border-box;
    min-width: 0;
    list-style: none;
  }

  .layout-fe .fe-exp--home .fe-exp__muestra-i {
    min-width: 0;
    overflow: hidden;
    margin: 0;
  }

  .layout-fe .fe-exp--home .fe-exp__fig.fe-exp__fig--muestra {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 0;
    padding: 0;
    aspect-ratio: 3 / 2;
    max-height: none;
    overflow: hidden;
    box-sizing: border-box;
  }

  .layout-fe .fe-exp--home .fe-exp__img.fe-exp__img--home {
    width: 100%;
    height: 100%;
    min-width: 0;
    max-width: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
  }

  .layout-fe .fe-exp--home .fe-exp__cta--home {
    margin-top: 1.2rem;
    max-width: 100%;
    padding: 0 0.25rem;
    box-sizing: border-box;
  }
}

/* Página /experiencias — grid galería (reglas legacy fe-home.css; Reiki las carga vía fe-home.css) */
.layout-fe .fe-exp--narrow {
  max-width: 56rem;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3.5rem;
  box-sizing: border-box;
}

.layout-fe section.fe-exp.fe-exp--pagina.fe-exp--narrow {
  max-width: min(94rem, 100%);
  width: 100%;
  padding: 2rem clamp(1rem, 4vw, 2.75rem) 3.25rem;
}

.layout-fe .fe-exp__cab {
  margin-bottom: 2rem;
  text-align: center;
}

.layout-fe section.fe-exp--pagina .fe-exp__cab {
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.layout-fe section.fe-exp--pagina .fe-exp__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  display: grid;
  gap: clamp(0.55rem, 1.2vw, 1rem);
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

@media (min-width: 480px) {
  .layout-fe section.fe-exp--pagina .fe-exp__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 900px) {
  .layout-fe section.fe-exp--pagina .fe-exp__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.85rem;
  }
}

@media (min-width: 1280px) {
  .layout-fe section.fe-exp--pagina .fe-exp__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
  }
}

.layout-fe section.fe-exp--pagina .fe-exp__item {
  margin: 0;
  min-width: 0;
}

.layout-fe section.fe-exp--pagina .fe-exp__fig {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 3px;
  margin: 0;
  overflow: hidden;
}

.layout-fe section.fe-exp--pagina .fe-exp__img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.layout-fe section.fe-exp--pagina .fe-exp__pie-pag {
  margin: 2.25rem 0 0;
  text-align: center;
}

.layout-fe .kaelon-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #7a9a86;
  text-decoration: none;
  transition: color 0.2s ease;
}

.layout-fe .kaelon-back-link:hover {
  color: #95d5b2;
}

/* Hero compacto (páginas internas) */
.layout-fe .kaelon-hero--compact {
  min-height: auto;
  padding: clamp(4rem, 8vw, 5.5rem) 1.5rem clamp(2rem, 4vw, 2.5rem);
}

.layout-fe .kaelon-hero--compact .kaelon-logo {
  max-width: clamp(260px, 48vw, 380px);
  margin-bottom: 1.5rem;
}

.layout-fe .kaelon-hero--compact .kaelon-main-title {
  font-size: clamp(1.65rem, 3.5vw, 2.25rem);
  margin-bottom: 0;
}

/* —— Home cinematográfica: hero = 1 pantalla exacta (cabecera + vídeo) —— */
.layout-fe .fe-kaelon-home--cinematic .kaelon-hero {
  --kaelon-header-h: 5.5rem;
  box-sizing: border-box;
  min-height: 0;
  height: calc(100svh - var(--kaelon-header-h));
  max-height: calc(100svh - var(--kaelon-header-h));
  margin-top: 0;
  padding: clamp(2.5rem, 6vw, 4.5rem) clamp(1rem, 3vw, 1.5rem) 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.layout-fe .fe-kaelon-home--cinematic .kaelon-hero .kaelon-logo-container {
  margin: 0;
  transform: none;
}

.layout-fe .fe-kaelon-home--cinematic .kaelon-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  margin: 0;
}

.layout-fe .fe-kaelon-home--cinematic .kaelon-logo {
  max-width: clamp(440px, 76vw, 920px);
  max-height: min(44svh, 420px);
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Logo hero: más grande y más arriba solo en escritorio */
@media (min-width: 768px) {
  .layout-fe .fe-kaelon-home--cinematic .kaelon-hero {
    padding-top: 0.25rem;
  }

  .layout-fe .fe-kaelon-home--cinematic .kaelon-logo {
    max-width: clamp(520px, 82vw, 1020px);
    max-height: min(50svh, 480px);
  }
}

.layout-fe .fe-kaelon-home--cinematic .kaelon-video-container {
  height: 100%;
}

.layout-fe .fe-kaelon-home--cinematic .kaelon-video-bg {
  object-position: center 36%;
  opacity: 0.62;
}

.layout-fe .fe-kaelon-home--cinematic .kaelon-hero-poster-bg {
  object-position: center 36%;
  opacity: 1;
  filter: none;
}

.layout-fe .fe-kaelon-home--cinematic .kaelon-video-overlay {
  background: none;
}

.layout-fe .kaelon-hero-poster-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.55;
  filter: contrast(104%) saturate(108%);
}

.layout-fe .kaelon-hero__subtitle {
  margin: -1.5rem 0 clamp(2rem, 4vw, 2.75rem);
  font-size: clamp(0.7rem, 1.2vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #7a9a86;
}

.layout-fe .kaelon-hero__tagline {
  margin: 0;
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-style: italic;
  line-height: 1.5;
  color: #c5d4ca;
  letter-spacing: 0.02em;
}

/* Hub: logo + eslogan en una línea (secundario al wordmark) */
.layout-fe .kaelon-hero--tagline-split .kaelon-logo-container {
  margin-bottom: 0;
}

.layout-fe .kaelon-hero--tagline-split .kaelon-hero__slogan {
  margin: -1.5rem auto 0;
  max-width: min(100%, 26rem);
  padding: 0 0.5rem;
  box-sizing: border-box;
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.08rem, 2.05vw, 1.28rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: #b0c9b8;
  text-wrap: balance;
}

@media (max-width: 959px) {
  .layout-fe .fe-kaelon-home--cinematic .kaelon-hero--tagline-split {
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: clamp(4.75rem, 16vw, 6.5rem);
    padding-bottom: clamp(2.25rem, 5vw, 3rem);
  }
}

/* <picture> actúa como capa absoluta igual que la imagen directa */
.layout-fe .kaelon-video-container picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

/* Hero imagen vertical en móvil: altura automática por proporción */
@media (max-width: 767px) {
  .layout-fe .fe-kaelon-home--cinematic .kaelon-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    aspect-ratio: 3 / 4;
  }

  .layout-fe .fe-kaelon-home--cinematic .kaelon-video-container {
    position: absolute;
    inset: 0;
    height: 100%;
  }
}

.layout-fe .kaelon-xp-flow {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.1rem, 4.8vw, 2.9rem);
  width: 100%;
  max-width: 74rem;
  margin: 0 auto;
  padding: clamp(2.25rem, 4.4vw, 3.25rem) clamp(1rem, 3vw, 2rem) clamp(2.9rem, 5.8vw, 4rem);
  box-sizing: border-box;
}

@media (min-width: 960px) {
  .layout-fe .kaelon-xp-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.35rem 1.2rem;
  }

  .layout-fe .kaelon-xp--tall {
    grid-column: 1 / -1;
  }
}

.layout-fe .kaelon-xp {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.layout-fe .kaelon-xp__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  background: rgba(12, 28, 23, 0.5);
  border: 1px solid rgba(45, 106, 79, 0.28);
  border-radius: 2px;
}

.layout-fe .kaelon-xp__media {
  --kaelon-xp-object-position: center 42%;
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  max-height: min(58vw, 20rem);
  background: #0a1612;
  overflow: hidden;
}

@media (min-width: 960px) {
  .layout-fe .kaelon-xp__media {
    aspect-ratio: 16 / 11;
    max-height: 14.5rem;
  }

  .layout-fe .kaelon-xp--tall .kaelon-xp__card {
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
    align-items: stretch;
  }

  .layout-fe .kaelon-xp--tall .kaelon-xp__media {
    max-height: none;
    min-height: 100%;
    aspect-ratio: auto;
  }

  .layout-fe .kaelon-xp--tall .kaelon-xp__panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

.layout-fe .kaelon-xp__img,
.layout-fe .kaelon-xp__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--kaelon-xp-object-position, center 42%);
  display: block;
}

.layout-fe .kaelon-xp__video {
  filter: contrast(102%) saturate(106%);
}

.layout-fe .kaelon-xp__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(9, 22, 18, 0.28) 0%,
    rgba(9, 22, 18, 0.06) 38%,
    transparent 72%
  );
  pointer-events: none;
}

.layout-fe .kaelon-xp__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(1.4rem, 3vw, 1.7rem) clamp(1.15rem, 2.8vw, 1.55rem) clamp(1.55rem, 3.2vw, 1.9rem);
  box-sizing: border-box;
}

.layout-fe .kaelon-xp__name {
  margin: 0 0 0.8rem;
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.68rem, 4.1vw, 2.05rem);
  font-weight: 400;
  line-height: 1.14;
  letter-spacing: 0.095em;
  text-transform: uppercase;
  color: #eef5f0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.layout-fe .kaelon-xp__body {
  margin: 0;
  font-size: clamp(1rem, 1.95vw, 1.08rem);
  line-height: 1.62;
  color: #d4e0d8;
  font-style: normal;
  text-wrap: pretty;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.22);
}

/* Home narrativa continua (sin tarjetas temáticas) */
.layout-fe .kaelon-story-flow {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.75rem) clamp(1rem, 3vw, 2rem) clamp(3.25rem, 6vw, 4.5rem);
  box-sizing: border-box;
}

.layout-fe .fe-kaelon-home .kaelon-story-flow {
  padding-top: clamp(2rem, 4vw, 3rem);
}

@media (min-width: 960px) {
  .layout-fe .fe-kaelon-home .kaelon-story-block--media-left {
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: clamp(2.75rem, 5.5vw, 4rem);
  }

  .layout-fe .fe-kaelon-home .kaelon-story-block--media-right {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: clamp(2.75rem, 5.5vw, 4rem);
  }

  .layout-fe .fe-kaelon-home .kaelon-story-block--media-left .kaelon-story-block__media,
  .layout-fe .fe-kaelon-home .kaelon-story-block--media-right .kaelon-story-block__media {
    width: 100%;
    max-width: 100%;
  }
}

.layout-fe .fe-kaelon-home .kaelon-story-block__media {
  aspect-ratio: 4 / 3;
  min-height: 0;
  height: auto;
}

@media (min-width: 960px) {
  .layout-fe .fe-kaelon-home .kaelon-story-block {
    align-items: start;
  }

  .layout-fe .fe-kaelon-home .kaelon-story-block__media {
    align-self: start;
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

/* Móvil: texto siempre arriba, imagen abajo (separa hero de primer bloque) */
@media (max-width: 959px) {
  .layout-fe .fe-kaelon-home .kaelon-story-block__text  { order: 1; }
  .layout-fe .fe-kaelon-home .kaelon-story-block__media { order: 2; }
}

.layout-fe .fe-kaelon-home .kaelon-story-block__text {
  justify-content: flex-start;
  align-self: start;
  min-height: 0;
}

.layout-fe .fe-kaelon-home .kaelon-story-block__title {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
}

.layout-fe .fe-kaelon-home .kaelon-story-block__body {
  gap: 0;
}

.layout-fe .fe-kaelon-home .kaelon-story-block__copy {
  font-size: clamp(0.92rem, 1.6vw, 1.02rem);
  line-height: 1.65;
}

.layout-fe .kaelon-story-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3.8vw, 2.25rem);
  margin: 0 0 clamp(2.6rem, 6vw, 4.2rem);
  align-items: stretch;
}

.layout-fe .kaelon-story-block:last-child {
  margin-bottom: 0;
}

@media (min-width: 960px) {
  .layout-fe .kaelon-story-block {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
    gap: clamp(2.2rem, 4vw, 3.4rem);
    margin-bottom: clamp(3.6rem, 7.5vw, 5.5rem);
  }

  .layout-fe .kaelon-story-block--media-left .kaelon-story-block__media {
    order: 1;
  }

  .layout-fe .kaelon-story-block--media-left .kaelon-story-block__text {
    order: 2;
  }

  .layout-fe .kaelon-story-block--media-right .kaelon-story-block__text {
    order: 1;
  }

  .layout-fe .kaelon-story-block--media-right .kaelon-story-block__media {
    order: 2;
  }
}

.layout-fe .kaelon-story-block__media {
  --kaelon-story-object-position: center 42%;
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(9, 22, 18, 0.7);
  border: 1px solid rgba(45, 106, 79, 0.25);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.42);
  aspect-ratio: 4 / 3;
}

@media (min-width: 960px) {
  .layout-fe .kaelon-story-block__media {
    align-self: stretch;
    aspect-ratio: unset;
    min-height: 22rem;
  }
}

.layout-fe .kaelon-story-block__img,
.layout-fe .kaelon-story-block__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  filter: contrast(104%) saturate(108%);
}

.layout-fe .kaelon-story-block__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 22, 18, 0.08) 0%, rgba(9, 22, 18, 0.38) 100%);
  pointer-events: none;
}

/* Vídeo hub — filtro más oscuro para mejorar contraste */
.layout-fe #kaelon-video-hub .kaelon-story-block__veil {
  background: linear-gradient(to bottom, rgba(9, 22, 18, 0.35) 0%, rgba(9, 22, 18, 0.65) 100%);
}

.layout-fe .kaelon-story-block__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  min-height: 100%;
}

.layout-fe .kaelon-story-block__title {
  margin: 0 0 clamp(1rem, 2vw, 1.4rem);
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.layout-fe .kaelon-story-block__body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
}

.layout-fe .kaelon-story-block__copy {
  margin: 0;
  font-family: Lora, "Libre Baskerville", Georgia, serif;
  font-size: clamp(0.98rem, 1.9vw, 1.12rem);
  line-height: 1.85;
  color: rgba(212, 224, 216, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
  text-align: left;
}

.layout-fe .kaelon-story-block__text--empty {
  justify-content: center;
}

.layout-fe .kaelon-story-block__placeholder {
  width: 100%;
  min-height: clamp(9rem, 17vw, 12.5rem);
}

.layout-fe .kaelon-home-testimonials {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0;
  padding: clamp(3rem, 6.5vw, 4.5rem) 0;
  background: rgba(4, 12, 10, 0.72);
  border-top: 1px solid rgba(45, 106, 79, 0.14);
  border-bottom: 1px solid rgba(45, 106, 79, 0.14);
  box-sizing: border-box;
}

.layout-fe .kaelon-home-testimonials__inner {
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
  box-sizing: border-box;
}

.layout-fe .kaelon-home-testimonials__title {
  margin: 0 auto clamp(1.75rem, 3.5vw, 2.5rem);
  max-width: 38rem;
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.55rem, 3.1vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  text-align: center;
  color: #edf4ef;
  text-wrap: balance;
}

.layout-fe .kaelon-home-testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2.2vw, 1.35rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .layout-fe .kaelon-home-testimonials__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .layout-fe .kaelon-home-testimonials__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.layout-fe .kaelon-home-testimonials__card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  margin: 0;
  padding: clamp(1.25rem, 2.5vw, 1.6rem);
  background: rgba(12, 28, 23, 0.58);
  border: 1px solid rgba(45, 106, 79, 0.24);
  border-radius: 2px;
  box-sizing: border-box;
}

.layout-fe .kaelon-home-testimonials__quote {
  margin: 0 0 1rem;
}

.layout-fe .kaelon-home-testimonials__quote p {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(0.98rem, 1.75vw, 1.06rem);
  font-style: italic;
  line-height: 1.72;
  color: #d0ddd6;
  text-wrap: pretty;
}

.layout-fe .kaelon-home-testimonials__name {
  margin: 0;
  font-size: 0.8125rem;
  letter-spacing: 0.04em;
  color: #8fa89a;
}

.layout-fe .kaelon-hero__cta {
  margin-top: clamp(1.5rem, 3.5vw, 2.25rem);
}

.layout-fe .kaelon-hero__cta .kaelon-btn-elegant {
  min-height: 3.25rem;
  padding: 0.95rem clamp(1.35rem, 4vw, 2.5rem);
  letter-spacing: 0.1em;
}

.layout-fe .kaelon-home-prose {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  margin: 0 auto clamp(2.75rem, 6vw, 4.25rem);
}

.layout-fe .kaelon-home-prose__inner {
  width: 100%;
  max-width: 47.5rem;
  margin: 0 auto;
}

.layout-fe .kaelon-home-prose__title {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.55rem, 3.2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.28;
  color: #eef5f0;
  text-wrap: balance;
}

.layout-fe .kaelon-home-prose__copy {
  margin: 0 0 1.15em;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.06rem, 1.9vw, 1.14rem);
  line-height: 1.78;
  color: #c8d4cc;
  text-wrap: pretty;
}

.layout-fe .kaelon-home-prose__copy:last-child {
  margin-bottom: 0;
}

.layout-fe .kaelon-home-closing {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: clamp(2.5rem, 5.5vw, 4rem) clamp(1rem, 3vw, 2rem) clamp(4rem, 8vw, 5.5rem);
  box-sizing: border-box;
}

.layout-fe .kaelon-home-closing__inner {
  max-width: 47.5rem;
  margin: 0 auto;
  text-align: center;
}

.layout-fe .kaelon-home-closing__copy {
  margin: 0 0 1.15em;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.06rem, 1.9vw, 1.14rem);
  line-height: 1.78;
  color: #c8d4cc;
  text-wrap: pretty;
}

.layout-fe .kaelon-home-closing__copy:last-child {
  margin-bottom: 0;
}

.layout-fe .kaelon-home-closing__actions {
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}

.layout-fe .kaelon-home-closing__actions .kaelon-btn-elegant {
  min-height: 3.5rem;
  padding: 1.05rem clamp(1.5rem, 5vw, 3.25rem);
  letter-spacing: 0.12em;
}

.layout-fe .kaelon-home-upcoming {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 76rem;
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem) clamp(3.5rem, 7vw, 4.75rem);
  box-sizing: border-box;
}

.layout-fe .kaelon-home-upcoming__head {
  max-width: 38rem;
  margin: 0 auto clamp(1.5rem, 3vw, 2.2rem);
  text-align: center;
}

.layout-fe .kaelon-home-upcoming__title {
  margin: 0 0 0.65rem;
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.55rem, 3.1vw, 2.05rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #edf4ef;
}

.layout-fe .kaelon-home-upcoming__lead {
  margin: 0;
  font-size: clamp(0.95rem, 1.7vw, 1.04rem);
  line-height: 1.7;
  color: #b8c9c0;
}

.layout-fe .kaelon-home-upcoming__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.35rem, 3vw, 1.85rem);
}

@media (min-width: 900px) {
  .layout-fe .kaelon-home-upcoming__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.layout-fe .kaelon-home-upcoming__card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: rgba(12, 28, 23, 0.52);
  border: 1px solid rgba(45, 106, 79, 0.28);
  border-radius: 2px;
  overflow: hidden;
}

.layout-fe .kaelon-home-upcoming__media {
  position: relative;
  margin: 0;
  aspect-ratio: 4 / 3;
  background: rgba(9, 22, 18, 0.88);
}

.layout-fe .kaelon-home-upcoming__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.layout-fe .kaelon-home-upcoming__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 22, 18, 0.35) 0%, rgba(9, 22, 18, 0.05) 62%);
  pointer-events: none;
}

.layout-fe .kaelon-home-upcoming__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding: clamp(1.15rem, 2.4vw, 1.45rem);
}

.layout-fe .kaelon-home-upcoming__name {
  margin: 0;
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.45rem);
  line-height: 1.2;
  color: #f2f8f4;
}

.layout-fe .kaelon-home-upcoming__meta {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #90ab9d;
}

.layout-fe .kaelon-home-upcoming__schedule {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #a8bdb0;
}

.layout-fe .kaelon-home-upcoming__meta + .kaelon-home-upcoming__schedule {
  margin-top: -0.35rem;
}

.layout-fe .kaelon-home-upcoming__copy {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.42;
  color: #c5d4cb;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  min-height: calc(1.42em * 2);
  max-height: calc(1.42em * 2);
}

.layout-fe .kaelon-home-upcoming__actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.2rem;
}

.layout-fe .javier-kaelon .kaelon-home-upcoming__experience,
.layout-fe .javier-kaelon .kaelon-home-upcoming__experience:link,
.layout-fe .javier-kaelon .kaelon-home-upcoming__experience:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(212, 223, 216, 0.14);
  background: transparent;
  color: #d4dfd8;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.layout-fe .javier-kaelon .kaelon-home-upcoming__experience:hover,
.layout-fe .javier-kaelon .kaelon-home-upcoming__experience:active {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(212, 223, 216, 0.24);
  color: #ecefe8;
  text-decoration: none;
}

.layout-fe .javier-kaelon .kaelon-home-upcoming__experience:focus-visible {
  outline: 1px solid rgba(212, 223, 216, 0.35);
  outline-offset: 2px;
  color: #ecefe8;
  text-decoration: none;
}

.layout-fe .kaelon-home-upcoming__wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 0.78rem 1.05rem;
  border: 1px solid rgba(149, 213, 178, 0.45);
  color: #d8f3dc;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.layout-fe .kaelon-home-upcoming__wa:hover {
  background: rgba(27, 67, 50, 0.35);
  border-color: #40916c;
  color: #edf8f0;
}

.layout-fe .kaelon-javier-min {
  position: relative;
  z-index: 2;
  max-width: 74rem;
  margin: 0 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2.5rem, 6vw, 3.5rem) clamp(1rem, 3vw, 2rem) clamp(3rem, 6vw, 4rem);
  box-sizing: border-box;
}

.layout-fe .kaelon-javier-min__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  max-width: 28rem;
  margin: 0 auto;
  border-radius: 2px;
  overflow: hidden;
  opacity: 0.45;
}

@media (min-width: 960px) {
  .layout-fe .kaelon-javier-min__media {
    max-width: 22rem;
    max-height: 12rem;
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
  }
}

.layout-fe .kaelon-javier-min__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: contrast(102%) saturate(105%);
}

.layout-fe .kaelon-javier-min__veil {
  position: absolute;
  inset: 0;
  background: rgba(9, 22, 18, 0.35);
}

.layout-fe .kaelon-javier-min__line {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.4rem, 3vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.12em;
  color: #d8e4dc;
  text-align: center;
}

@media (prefers-reduced-motion: reduce) {
  .layout-fe .kaelon-xp__video {
    display: none;
  }

  .layout-fe .kaelon-xp__media:has(.kaelon-xp__video) .kaelon-xp__img,
  .layout-fe .kaelon-xp__media .kaelon-xp__img {
    display: block;
  }
}

/* —— «Qué es la Kaelon» — 4 bloques congelados —— */
.layout-fe .fe-kaelon-que--frozen {
  overflow-x: clip;
}

/* —— ¿Qué es Kaelon? — formato manifiesto —— */
.layout-fe .fe-kaelon-que-page--manifest .kaelon-que-es-manifest {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(3.5rem, 8vw, 5rem) 0 clamp(3.5rem, 7vw, 5rem);
  box-sizing: border-box;
}

.layout-fe .kaelon-que-es-prose {
  box-sizing: border-box;
  width: 100%;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  margin: 0 0 clamp(2.75rem, 6vw, 4.25rem);
}

.layout-fe .kaelon-que-es-prose__inner {
  width: 100%;
  max-width: 47.5rem;
  margin: 0 auto;
}

.layout-fe .kaelon-que-es-prose--intro {
  margin-bottom: clamp(3rem, 6.5vw, 4.5rem);
  padding-top: clamp(0.5rem, 2vw, 1.25rem);
}

.layout-fe .kaelon-que-es-prose--intro .kaelon-que-es-prose__title {
  font-size: clamp(1.85rem, 4.2vw, 2.45rem);
  text-align: center;
  margin-bottom: clamp(1.75rem, 4vw, 2.5rem);
}

.layout-fe .kaelon-que-es-prose__title {
  margin: 0 0 clamp(1.25rem, 3vw, 1.75rem);
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.55rem, 3.2vw, 1.95rem);
  font-weight: 400;
  line-height: 1.28;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #eef5f0;
  text-wrap: balance;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.2);
}

.layout-fe .kaelon-que-es-prose__body {
  margin: 0;
}

.layout-fe .kaelon-que-es-prose__copy {
  margin: 0 0 1.15em;
  font-family: "Lora", Georgia, serif;
  font-size: clamp(1.06rem, 1.9vw, 1.14rem);
  line-height: 1.78;
  color: #c8d4cc;
  text-align: left;
  text-wrap: pretty;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.14);
}

.layout-fe .kaelon-que-es-prose__copy:last-child {
  margin-bottom: 0;
}

.layout-fe .kaelon-que-es-figure {
  --kaelon-que-es-figure-position: center 42%;
  box-sizing: border-box;
  width: 100%;
  margin: 0 auto clamp(3rem, 6.5vw, 4.75rem);
  padding: 0 clamp(1.25rem, 4vw, 2rem);
}

.layout-fe .kaelon-que-es-figure--empty {
  position: relative;
  max-width: 47.5rem;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 16 / 9;
  min-height: clamp(10rem, 28vw, 14rem);
  overflow: hidden;
  border-radius: 2px;
  background: rgba(9, 22, 18, 0.28);
  border: 1px dashed rgba(45, 106, 79, 0.16);
}

.layout-fe .kaelon-que-es-figure__img {
  display: block;
  width: 100%;
  max-width: 47.5rem;
  height: auto;
  margin: 0 auto;
  object-position: var(--kaelon-que-es-figure-position, center 42%);
  border-radius: 2px;
  border: 1px solid rgba(45, 106, 79, 0.18);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  filter: contrast(101%) saturate(94%) brightness(93%);
}

.layout-fe .kaelon-que-es-figure__veil {
  display: none;
}

.layout-fe .fe-kaelon-que--frozen .kaelon-hero--compact {
  min-height: min(52vh, 520px);
}

.layout-fe .kaelon-que-flow {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 68rem;
  margin: 0 auto;
  padding: clamp(2rem, 4vw, 3rem) 1.25rem clamp(3.5rem, 7vw, 5rem);
  overflow-x: clip;
}

.layout-fe .kaelon-que-block {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.layout-fe .kaelon-que-block:last-of-type {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Móvil: siempre foto → texto (evita foto+foto seguidas) */
@media (max-width: 899px) {
  .layout-fe .kaelon-que-block {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .layout-fe .kaelon-que-block__media {
    order: 1;
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
  }

  .layout-fe .kaelon-que-block__text {
    order: 2;
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .layout-fe .kaelon-que-block__img,
  .layout-fe .kaelon-que-block__video {
    position: static;
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: min(52vw, 220px);
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 42%;
  }
}

/* PC: alternancia foto|texto y texto|foto */
@media (min-width: 900px) {
  .layout-fe .kaelon-que-block {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: clamp(2rem, 3.5vw, 3rem);
    align-items: stretch;
  }

  .layout-fe .kaelon-que-block--img-right .kaelon-que-block__text {
    order: 1;
  }

  .layout-fe .kaelon-que-block--img-right .kaelon-que-block__media {
    order: 2;
  }

  .layout-fe .kaelon-que-block--img-left .kaelon-que-block__media {
    order: 1;
  }

  .layout-fe .kaelon-que-block--img-left .kaelon-que-block__text {
    order: 2;
  }
}

.layout-fe .kaelon-que-block__media {
  margin: 0;
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
  max-width: 100%;
}

@media (min-width: 900px) {
  .layout-fe .kaelon-que-block__media {
    min-height: 100%;
    align-self: stretch;
  }

  .layout-fe .kaelon-que-block--img-right.kaelon-que-block--tall .kaelon-que-block__media,
  .layout-fe .kaelon-que-block--img-left.kaelon-que-block--tall .kaelon-que-block__media {
    min-height: 340px;
  }
}

.layout-fe .kaelon-que-block__img,
.layout-fe .kaelon-que-block__video {
  display: block;
  max-width: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: grayscale(100%) contrast(112%) brightness(88%);
}

.layout-fe .kaelon-que-block__video {
  background-color: #091612;
}

@media (min-width: 900px) {
  .layout-fe .kaelon-que-block__img,
  .layout-fe .kaelon-que-block__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    min-height: 300px;
  }

  .layout-fe .kaelon-que-block__media {
    min-height: 300px;
  }

  .layout-fe .kaelon-que-block--tall .kaelon-que-block__media {
    min-height: 360px;
  }
}

.layout-fe .kaelon-que-block__text {
  min-width: 0;
  max-width: 100%;
}

@media (min-width: 900px) {
  /* Ocupa el hueco de la columna junto a la foto: más ancho y centrado, sin amontonar a 24rem */
  .layout-fe .kaelon-que-block__text {
    align-self: center;
    justify-self: center;
    width: min(100%, 38rem);
    max-width: 92%;
    margin-inline: auto;
    padding-inline: clamp(0.35rem, 1.5vw, 1rem);
    box-sizing: border-box;
  }

  .layout-fe .kaelon-que-block--img-right .kaelon-que-block__text,
  .layout-fe .kaelon-que-block--img-left .kaelon-que-block__text {
    justify-self: center;
    margin-inline: auto;
  }
}

.layout-fe .kaelon-que-block__text p.kaelon-que-block__eyebrow {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9aac9f;
  line-height: 1.4;
  margin: 0.35rem 0 1rem;
}

.layout-fe .kaelon-que-block__title {
  font-family: "Cormorant Garamond", "Lora", Georgia, serif;
  font-size: clamp(1.45rem, 2.8vw, 1.85rem);
  font-weight: 400;
  line-height: 1.25;
  color: #f4f9f4;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.layout-fe .kaelon-que-block__title:has(+ .kaelon-que-block__eyebrow) {
  margin-bottom: 0;
}

.layout-fe .kaelon-que-block__text p {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #ccd5d0;
  margin: 0 0 0.85rem;
}

.layout-fe .kaelon-que-block__text p:last-child {
  margin-bottom: 0;
}

.layout-fe .kaelon-que-foot {
  text-align: center;
  padding-top: 0.5rem;
}

.layout-fe .kaelon-que-foot .kaelon-cta-container {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
  margin-top: 0;
}

.layout-fe .kaelon-que-foot__back {
  margin: 1.75rem 0 0;
}

.layout-fe .fe-kaelon-que--frozen .kaelon-btn-elegant--ghost {
  background: transparent;
  border-color: rgba(149, 213, 178, 0.45);
  color: #d8f3dc;
}

.layout-fe .fe-kaelon-que--frozen .kaelon-btn-elegant--ghost:hover {
  background: rgba(27, 67, 50, 0.35);
  border-color: #40916c;
}

/* ===== Bloque 1 fullscreen — foto de fondo + texto superpuesto ===== */
.layout-fe .kaelon-block1-fs {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-bottom: clamp(2.6rem, 6vw, 4.2rem);
}

.layout-fe .kaelon-block1-fs__bg {
  position: absolute;
  inset: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.layout-fe .kaelon-block1-fs__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.layout-fe .kaelon-block1-fs__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(9, 22, 18, 0.32) 0%, rgba(9, 22, 18, 0.68) 100%);
  pointer-events: none;
}

.layout-fe .kaelon-block1-fs__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 7rem) clamp(1.5rem, 5vw, 3.5rem);
  box-sizing: border-box;
}

.layout-fe .kaelon-block1-fs__title {
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.2;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  margin: 0 0 clamp(1.2rem, 2.5vw, 1.8rem);
}

.layout-fe .kaelon-block1-fs__body {
  display: flex;
  flex-direction: column;
  gap: clamp(0.9rem, 1.8vw, 1.2rem);
}

.layout-fe .kaelon-block1-fs__copy {
  margin: 0;
  font-family: Lora, "Libre Baskerville", Georgia, serif;
  font-size: clamp(0.98rem, 1.9vw, 1.12rem);
  line-height: 1.85;
  color: rgba(212, 224, 216, 0.9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.3);
}
