/**
 * Páginas núcleo método FV — layout, breadcrumbs, sidebar, puentes.
 */

.fv-metodo {
  padding: 2.5rem 1.25rem 4rem;
}

.fv-metodo__inner {
  max-width: 1080px;
  margin: 0 auto;
}

.fv-breadcrumbs {
  margin: 0 0 1.5rem;
}

.fv-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #8c827d;
}

.fv-breadcrumbs__item:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: #c4bdb8;
}

.fv-breadcrumbs__link {
  color: inherit;
  text-decoration: none;
}

.fv-breadcrumbs__link:hover {
  color: var(--reiki-burgundy, #8a1c1c);
}

.fv-breadcrumbs__current {
  color: #4a4542;
}

.fv-metodo__title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 1.5rem;
  color: #1a1715;
}

.fv-metodo__layout {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .fv-metodo__layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
  }
}

.fv-metodo__lead {
  font-size: 1.08rem;
  line-height: 1.7;
  color: #3d3835;
  margin: 0 0 1.25rem;
}

.fv-metodo__lead--authorized {
  font-style: italic;
}

.fv-metodo__placeholder {
  font-size: 1rem;
  line-height: 1.75;
  color: #6b6560;
  margin: 0;
  padding: 1.25rem 1.5rem;
  border: 1px dashed #d8d2cc;
  background: #f5f3f1;
}

.fv-metodo__prose {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #3d3835;
}

.fv-metodo__prose p {
  margin: 0 0 1.1rem;
}

.fv-metodo__prose h2 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.65rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: #1a1715;
}

.fv-metodo__prose h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
  color: #1a1715;
}

.fv-metodo__prose ul {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
}

.fv-metodo__prose li {
  margin-bottom: 0.45rem;
}

.fv-metodo__prose a {
  color: #1a1715;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.fv-metodo__prose a:hover {
  color: var(--reiki-burgundy, #8a1c1c);
}

.fv-metodo-seq {
  margin: 2rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e4e0;
}

.fv-metodo-seq__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.fv-metodo-seq__item {
  flex: 1 1 220px;
  max-width: 100%;
}

.fv-metodo-seq__item--next {
  text-align: right;
  margin-left: auto;
}

.fv-metodo-seq__kicker {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9a928c;
  margin-bottom: 0.35rem;
}

.fv-metodo-seq__link {
  color: #1a1715;
  text-decoration: none;
  font-weight: 500;
}

.fv-metodo-seq__link:hover {
  color: var(--reiki-burgundy, #8a1c1c);
}

.fv-metodo__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 2rem;
}

.fv-metodo-sidebar {
  padding: 1.25rem 1rem;
  background: #f7f5f3;
  border: 1px solid #ebe7e3;
}

.fv-metodo-sidebar__title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c827d;
  margin: 0 0 1rem;
}

.fv-metodo-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.fv-metodo-sidebar__link {
  font-size: 0.92rem;
  color: #3d3835;
  text-decoration: none;
  line-height: 1.4;
}

.fv-metodo-sidebar__link:hover {
  color: var(--reiki-burgundy, #8a1c1c);
}

.fv-metodo-sidebar__item.is-current .fv-metodo-sidebar__current {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1a1715;
}

.fv-metodo__puente-core {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e8e4e0;
}

.fv-metodo__puente-core-title {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8c827d;
  margin: 0 0 0.75rem;
}

.fv-metodo__puente-core-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
}

.fv-metodo__puente-core-link {
  color: #1a1715;
  text-decoration: none;
  font-weight: 500;
}

.fv-metodo__puente-core-link:hover {
  color: var(--reiki-burgundy, #8a1c1c);
}

/* ══════════════════════════════════════════════════════════════════════
   Línea editorial — páginas concepto FV (.fv-metodo-page)
   Manual / estudio: crema cálido, tinta oscura, transición intencionada
   desde hero oscuro. Experiencia y encuentros mantienen tema Kaelon.
══════════════════════════════════════════════════════════════════════ */

.layout-fe .fv-metodo-page.fe-kaelon-branch {
  overflow: visible;
}

/* Hero compacto — puerta de entrada, no pantalla completa */
.layout-fe .fv-metodo-page .kaelon-hero--compact {
  min-height: min(44vh, 440px);
  height: auto;
  max-height: none;
  padding: clamp(1rem, 3vw, 2rem) clamp(1.5rem, 5vw, 4rem) clamp(2.5rem, 6vw, 3.5rem);
}

@media (min-width: 768px) {
  .layout-fe .fv-metodo-page .kaelon-hero--compact {
    padding-top: 0.25rem;
  }
}

/* Puente visual hero → cuerpo editorial */
.layout-fe .fv-metodo-page .kaelon-hero--compact::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(3rem, 8vw, 5rem);
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(248, 244, 237, 0.35) 45%,
    rgba(248, 244, 237, 0.92) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* Hoja editorial — se superpone al hero con intención de diseño */
.layout-fe .fv-metodo-page .fv-metodo {
  --fv-metodo-paper: #f8f4ed;
  --fv-metodo-paper-alt: #f3efe6;
  --fv-metodo-ink: #1a1715;
  --fv-metodo-ink-soft: #3d3835;
  --fv-metodo-muted: #7a726b;
  --fv-metodo-rule: rgba(155, 115, 62, 0.22);
  --fv-metodo-shadow: 0 -10px 40px rgba(32, 24, 16, 0.1);

  position: relative;
  z-index: 4;
  margin-top: clamp(-2.75rem, -6vw, -1.75rem);
  padding: clamp(3rem, 6.5vw, 4.25rem) clamp(1.25rem, 4vw, 2rem) clamp(4rem, 8vw, 5.5rem);
  border-radius: 14px 14px 0 0;
  background:
    radial-gradient(ellipse 120% 80% at 50% -20%, rgba(255, 252, 247, 0.9) 0%, transparent 55%),
    linear-gradient(180deg, #faf7f1 0%, var(--fv-metodo-paper) 12%, #f6f1e9 100%);
  color: var(--fv-metodo-ink-soft);
  box-shadow: var(--fv-metodo-shadow);
}

.layout-fe .fv-metodo-page .fv-metodo__inner {
  max-width: 1040px;
}

/* Migas — identidad FV, escala editorial */
.layout-fe .fv-metodo-page .fv-breadcrumbs {
  margin-bottom: clamp(1.25rem, 3vw, 1.75rem);
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--fv-metodo-rule);
}

.layout-fe .fv-metodo-page .fv-breadcrumbs__list {
  color: var(--fv-metodo-muted);
}

.layout-fe .fv-metodo-page .fv-breadcrumbs__current {
  color: var(--fv-metodo-ink);
  font-weight: 500;
}

/* Título — portada de capítulo */
.layout-fe .fv-metodo-page .fv-metodo__title {
  margin-bottom: clamp(1.5rem, 3.5vw, 2rem);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(155, 115, 62, 0.14);
  letter-spacing: 0.01em;
}

/* Imagen/infografía intro — opcional, ancho del contenido, 16:9 */
.fv-metodo-intro {
  margin: 0 0 clamp(1.75rem, 4vw, 2.5rem);
  padding: 0;
  border: 0;
}

.fv-metodo-intro__frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid var(--fv-metodo-rule, rgba(155, 115, 62, 0.22));
  background: var(--fv-metodo-paper-alt, #f3efe6);
  box-shadow: 0 2px 14px rgba(32, 24, 16, 0.06);
}

.fv-metodo-intro__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.layout-fe .fv-metodo-page .fv-metodo-intro__frame {
  border-color: var(--fv-metodo-rule);
  background: var(--fv-metodo-paper-alt);
}

.layout-fe .fv-metodo-page .fv-metodo-intro {
  margin-bottom: clamp(2rem, 4.5vw, 2.75rem);
}

/* Prosa — cuerpo de manual */
.layout-fe .fv-metodo-page .fv-metodo__prose,
.layout-fe .fv-metodo-page .fv-metodo__lead {
  font-family: Lora, "Libre Baskerville", Georgia, serif;
}

.layout-fe .fv-metodo-page .fv-metodo__prose h2:first-child {
  margin-top: 0.25rem;
}

/* Índice lateral — ficha de estudio */
.layout-fe .fv-metodo-page .fv-metodo-sidebar {
  padding: 1.35rem 1.15rem 1.5rem;
  background: var(--fv-metodo-paper-alt);
  border: 1px solid rgba(155, 115, 62, 0.2);
  border-radius: 4px;
  box-shadow: 0 2px 12px rgba(42, 32, 22, 0.05);
}

@media (min-width: 900px) {
  .layout-fe .fv-metodo-page .fv-metodo-sidebar {
    position: sticky;
    top: 5.25rem;
  }
}

.layout-fe .fv-metodo-page .fv-metodo-sidebar__title {
  color: var(--fv-metodo-muted);
  padding-bottom: 0.65rem;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(155, 115, 62, 0.12);
}

.layout-fe .fv-metodo-page .fv-metodo-sidebar__item.is-current .fv-metodo-sidebar__current {
  display: block;
  padding-left: 0.7rem;
  border-left: 2px solid var(--reiki-burgundy, #8a1c1c);
}

/* Navegación secuencial entre conceptos */
.layout-fe .fv-metodo-page .fv-metodo-seq {
  margin-top: 2.5rem;
  padding: 1.35rem 1.25rem;
  border: 1px solid rgba(155, 115, 62, 0.16);
  border-radius: 4px;
  background: rgba(255, 252, 247, 0.65);
}

/* CTAs — identidad verde FV sobre papel cálido */
.layout-fe .fv-metodo-page .fv-metodo__cta {
  margin-top: 2.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--fv-metodo-rule);
}

.layout-fe .fv-metodo-page .fv-metodo__cta .kaelon-btn-elegant--ghost {
  background: transparent;
  color: #1b4332;
  border-color: rgba(27, 67, 50, 0.5);
  box-shadow: none;
}

.layout-fe .fv-metodo-page .fv-metodo__cta .kaelon-btn-elegant--ghost:hover {
  background: rgba(27, 67, 50, 0.07);
  color: #1b4332;
  border-color: #1b4332;
  transform: translateY(-1px);
  box-shadow: none;
}

.layout-fe .fv-metodo-page .fv-metodo__cta .kaelon-btn-elegant:not(.kaelon-btn-elegant--ghost) {
  box-shadow: 0 3px 14px rgba(27, 67, 50, 0.18);
}

/* Cierre — transición crema → tono cálido oscuro (sin corte brusco) */
.layout-fe .fv-metodo-page .fe-kaelon-close {
  position: relative;
  z-index: 3;
  margin-top: 0;
  border-top: none;
  padding-top: clamp(3.5rem, 8vw, 5rem);
  background:
    linear-gradient(
      180deg,
      #f0ebe3 0%,
      #e5ddd0 5%,
      #c9bba8 11%,
      #8a7864 20%,
      #5c4a38 32%,
      #453628 48%,
      #3a2e20 100%
    );
}

.layout-fe .fv-metodo-page .fe-kaelon-close__nav-title {
  color: #f5efe4;
}

.layout-fe .fv-metodo-page .fe-kaelon-close__nav-link {
  background: rgba(255, 250, 242, 0.06);
  border-color: rgba(200, 168, 112, 0.28);
}

.layout-fe .fv-metodo-page .fe-kaelon-close__nav-link:hover {
  background: rgba(255, 250, 242, 0.12);
  border-color: rgba(200, 168, 112, 0.5);
}

.layout-fe .fv-metodo-page .fe-kaelon-close__kicker {
  color: #d4b878;
}

.layout-fe .fv-metodo-page .fe-kaelon-close__text {
  color: rgba(232, 222, 206, 0.92);
}
