/* ==========================================================================
   Fotografía FE — tema claro "Galería blanca"
   Cuadrícula ordenada, fotos en proporción fija, mucho blanco y líneas finas.
   ========================================================================== */
:root {
  --fe-paper: #ffffff;
  --fe-mist: #f3f6fa;
  --fe-line: #dde4ee;
  --fe-ink: #141a2b;
  --fe-muted: #5a6680;
  --fe-navy: #1f2f63;
  --fe-steel: #355c8a;
  --fe-steel-soft: #e6edf6;
  --fe-wa: #1f8f55;

  --fe-f-body: "Fira Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --fe-f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --fe-step--1: .8125rem;
  --fe-step-1: 1.25rem;
  --fe-step-3: clamp(2rem, 4.2vw, 3rem);
  --fe-step-4: clamp(2.6rem, 6.5vw, 4.75rem);

  --fe-wrap: 1240px;
  --fe-gutter: max(16px, env(safe-area-inset-left, 0px));
  --fe-radius: 4px;
}
@media (min-width: 720px) { :root { --fe-gutter: max(32px, env(safe-area-inset-left, 0px)); } }

/* ---------- Base ---------- */
body.fe-theme {
  margin: 0;
  background: var(--fe-paper);
  color: var(--fe-ink);
  font-family: var(--fe-f-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
.fe-theme *, .fe-theme *::before, .fe-theme *::after { box-sizing: border-box; }
.fe-theme img { max-width: 100%; height: auto; }
.fe-theme a { color: inherit; }
.fe-theme :focus-visible { outline: 2px solid var(--fe-steel); outline-offset: 3px; }
.fe-theme h1, .fe-theme h2, .fe-theme h3 { font-family: var(--fe-f-body); line-height: 1.08; margin: 0; text-wrap: balance; color: var(--fe-ink); }
.fe-theme p { margin: 0; }
html { scroll-behavior: smooth; }
.fe-theme [id] { scroll-margin-top: 96px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.fe-skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--fe-navy); color: #fff; padding: 8px 14px; border-radius: 999px; text-decoration: none; }
.fe-skip:focus { left: 16px; }

.fe-wrap {
  width: 100%; max-width: var(--fe-wrap); margin-inline: auto;
  padding-left: var(--fe-gutter); padding-right: max(var(--fe-gutter), env(safe-area-inset-right, 0px));
}

/* ---------- Tipografía ---------- */
.fe-eyebrow {
  font-family: var(--fe-f-mono); font-size: var(--fe-step--1); letter-spacing: .14em;
  text-transform: uppercase; color: var(--fe-steel); display: inline-flex; gap: .6em; align-items: center;
}
.fe-eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.fe-theme .fe-display { font-size: var(--fe-step-4); font-weight: 200; letter-spacing: -.02em; }
.fe-theme .fe-display strong { font-weight: 600; color: var(--fe-navy); }
.fe-theme .fe-h2 { font-size: var(--fe-step-3); font-weight: 200; letter-spacing: -.015em; }
.fe-theme .fe-h2 strong { font-weight: 600; color: var(--fe-navy); }
.fe-lead { font-size: var(--fe-step-1); color: var(--fe-muted); max-width: 34ch; line-height: 1.5; font-weight: 300; }

/* ---------- Botones ---------- */
.fe-theme .fe-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .85em 1.5em; border-radius: 999px; border: 1px solid var(--fe-navy);
  background: var(--fe-navy); color: #fff; text-decoration: none; font-weight: 500;
  font-size: .95rem; letter-spacing: .01em; cursor: pointer; font-family: var(--fe-f-body); line-height: 1.2;
  transition: background .2s, color .2s, border-color .2s;
}
.fe-theme .fe-btn:hover { background: var(--fe-steel); border-color: var(--fe-steel); color: #fff; }
.fe-theme .fe-btn--ghost { background: transparent; color: var(--fe-navy); }
.fe-theme .fe-btn--ghost:hover { background: var(--fe-navy); color: #fff; }
.fe-theme .fe-btn--wa { background: var(--fe-wa); border-color: var(--fe-wa); color: #fff; }
.fe-theme .fe-btn--wa:hover { background: #18784a; border-color: #18784a; }
.fe-theme .fe-btn--light { background: #fff; color: var(--fe-navy); border-color: #fff; }
.fe-theme .fe-btn--light:hover { background: var(--fe-steel-soft); color: var(--fe-navy); border-color: var(--fe-steel-soft); }
.fe-theme .fe-btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.fe-theme .fe-btn--outline-light:hover { background: rgba(255,255,255,.12); color: #fff; border-color: #fff; }
.fe-btn svg { width: 18px; height: 18px; flex: none; }
.fe-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.fe-link-arrow { color: var(--fe-navy) !important; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--fe-line); padding-bottom: 2px; white-space: nowrap; }
.fe-link-arrow:hover { border-color: var(--fe-navy); }

/* ---------- Encabezado ---------- */
.fe-site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--fe-line);
}
.admin-bar .fe-site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .fe-site-header { top: 0; } }
.fe-site-header .fe-wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 76px; position: relative; }
.fe-brand { display: inline-flex; }
.fe-brand img { height: 44px; width: auto; display: block; }
.fe-nav { display: flex; align-items: center; gap: 28px; }
.fe-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.fe-menu a { text-decoration: none; font-size: .95rem; color: var(--fe-muted); position: relative; padding-block: 6px; display: block; }
.fe-menu a:hover, .fe-menu .current-menu-item > a, .fe-menu .current_page_item > a { color: var(--fe-navy); }
.fe-menu .current-menu-item > a::after, .fe-menu .current_page_item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--fe-steel); }
.fe-nav .fe-btn { padding: .6em 1.15em; }
.fe-menu-toggle { display: none; background: none; border: 1px solid var(--fe-line); border-radius: 999px; width: 44px; height: 44px; cursor: pointer; color: var(--fe-navy); padding: 0; }
.fe-menu-toggle svg { width: 20px; height: 20px; }
@media (max-width: 900px) {
  .fe-brand img { height: 36px; }
  .fe-menu-toggle { display: inline-grid; place-items: center; }
  .fe-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--fe-paper); border-bottom: 1px solid var(--fe-line);
    padding: 8px var(--fe-gutter) 20px;
  }
  .fe-nav:not(.is-open) { display: none; }
  .fe-menu { flex-direction: column; gap: 0; }
  .fe-menu a { padding: 14px 4px; border-bottom: 1px solid var(--fe-line); font-size: 1.05rem; }
  .fe-menu a::after { display: none; }
  .fe-nav .fe-btn { margin-top: 16px; }
}

/* ---------- Secciones (contenedores de Elementor) ---------- */
.fe-theme .e-con.fe-section {
  --padding-top: clamp(64px, 9vw, 120px);
  --padding-bottom: clamp(64px, 9vw, 120px);
  --padding-left: var(--fe-gutter);
  --padding-right: var(--fe-gutter);
  --gap: 0px;
  --row-gap: 0px;
  --content-width: var(--fe-wrap);
  --container-max-width: calc(var(--fe-wrap) + var(--fe-gutter) * 2);
}
.fe-theme .e-con.fe-section--hero { --padding-top: clamp(40px, 6vw, 80px); --padding-bottom: clamp(56px, 8vw, 96px); }
.fe-theme .e-con.fe-section--page { --padding-top: clamp(48px, 7vw, 88px); --padding-bottom: clamp(28px, 4vw, 44px); border-bottom: 1px solid var(--fe-line); }
.fe-theme .e-con.fe-section--tight { --padding-top: 40px; }
.fe-theme .e-con.fe-section--mist { --background-color: var(--fe-mist); background-color: var(--fe-mist); }
.fe-theme .e-con.fe-section > .e-con-inner { gap: 0; }
.fe-theme .fe-section .elementor-widget:not(:last-child) { margin-bottom: 0; }
.fe-theme .e-con.fe-section > .e-con-inner > .elementor-widget,
.fe-theme .e-con.fe-section > .e-con-inner > .e-con { width: 100%; }

/* Grupos internos */
.fe-theme .e-con.fe-con-services,
.fe-theme .e-con.fe-con-packs {
  --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px;
  display: grid !important; gap: 20px; width: 100%;
}
.fe-theme .e-con.fe-con-services { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) { .fe-theme .e-con.fe-con-services { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) { .fe-theme .e-con.fe-con-services { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 480px) { .fe-service p { display: none; } }
.fe-theme .e-con.fe-con-packs { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); align-items: stretch; padding-top: 12px; }
.fe-theme .e-con.fe-con-packs > .elementor-widget { width: 100%; }
.fe-theme .e-con.fe-con-packs > .elementor-widget > .elementor-widget-container { height: 100%; }
.fe-theme .e-con.fe-con-packs + .e-con.fe-con-packs { margin-top: 0; }
.fe-theme .e-con.fe-tab-hidden:not(.elementor-element-edit-mode) { display: none !important; }
.elementor-editor-active .e-con.fe-con-packs { outline: 1px dashed var(--fe-line); outline-offset: 6px; margin-bottom: 24px; }

.fe-theme .e-con.fe-con-contact > .e-con-inner { display: grid; gap: 48px; }
@media (min-width: 960px) { .fe-theme .e-con.fe-con-contact > .e-con-inner { grid-template-columns: 7fr 5fr; gap: 72px; align-items: start; } }

.fe-theme .e-con.fe-con-tab { --padding-top: 0px; --padding-bottom: 0px; --padding-left: 0px; --padding-right: 0px; width: 100%; }
.elementor-editor-active .e-con.fe-con-tab { outline: 1px dashed var(--fe-line); outline-offset: 6px; margin-bottom: 24px; }
.fe-note, .fe-note p { font-size: .88rem; color: var(--fe-muted); margin-top: 28px; }

/* Vista de páginas sin Elementor */
.fe-content { padding-block: clamp(48px, 7vw, 88px); }
.fe-page-title { margin-bottom: 32px; display: grid; gap: 8px; }
.fe-entry-content { max-width: 72ch; }
.fe-entry-content > * + * { margin-top: 1em; }
.fe-entry-meta { font-family: var(--fe-f-mono); font-size: .8rem; color: var(--fe-steel); }
.fe-entry-thumb { margin: 0 0 32px; }
.fe-posts { display: grid; gap: 32px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.fe-card-post a { text-decoration: none; display: grid; gap: 10px; }
.fe-card-post figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--fe-radius); }
.fe-card-post figure img { width: 100%; height: 100%; object-fit: cover; }
.fe-card-post h2 { font-size: 1.25rem; font-weight: 500; }
.fe-card-post p { color: var(--fe-muted); margin-top: 8px; }

/* ---------- Títulos de sección ---------- */
.fe-section-head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); }
.fe-section-head-main { display: grid; gap: 16px; }
@media (min-width: 860px) { .fe-section-head--split { grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; } }
.fe-section-head p { color: var(--fe-muted); max-width: 52ch; }

.fe-page-hero-inner { display: grid; gap: 18px; }
.fe-page-hero-inner p { color: var(--fe-muted); max-width: 60ch; font-size: 1.08rem; }
.fe-page-hero { padding-block: clamp(48px, 7vw, 88px); }
.fe-page-hero .fe-wrap { display: grid; gap: 18px; }
.fe-page-hero p { color: var(--fe-muted); }

/* ---------- Portada ---------- */
.fe-hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .fe-hero-grid { grid-template-columns: 5fr 7fr; gap: 56px; } }
.fe-hero-copy { display: grid; gap: 24px; }
.fe-theme .fe-hero-title { display: grid; gap: 24px; margin: 0; font-weight: inherit; }
.fe-hero-title .fe-display { display: block; line-height: 1.08; }
.fe-hero-copy .fe-actions { margin-top: 8px; }
.fe-hero-meta { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 16px; padding-top: 24px; border-top: 1px solid var(--fe-line); }
.fe-hero-meta div { display: grid; gap: 2px; }
.fe-hero-meta b { font-weight: 600; font-size: var(--fe-step-1); color: var(--fe-navy); }
.fe-hero-meta span { font-size: var(--fe-step--1); color: var(--fe-muted); }
.fe-hero-mosaic { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; align-items: start; }
.fe-hero-mosaic figure { margin: 0; overflow: hidden; border-radius: var(--fe-radius); aspect-ratio: 2 / 3; background: var(--fe-mist); }
.fe-hero-mosaic figure:nth-child(2) { margin-top: 48px; }
.fe-hero-mosaic figure:nth-child(3) { margin-top: 96px; }
.fe-hero-mosaic img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
@media (prefers-reduced-motion: no-preference) {
  .fe-hero-mosaic figure { animation: fe-rise .9s cubic-bezier(.2,.7,.2,1) both; }
  .fe-hero-mosaic figure:nth-child(2) { animation-delay: .12s; }
  .fe-hero-mosaic figure:nth-child(3) { animation-delay: .24s; }
  @keyframes fe-rise { from { transform: translateY(18px); opacity: .4; } to { transform: none; opacity: 1; } }
}

/* ---------- Servicios ---------- */
.fe-service { display: grid; gap: 14px; text-decoration: none; color: inherit; }
.fe-service figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--fe-radius); background: var(--fe-mist); }
.fe-service img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fe-service:hover img { transform: scale(1.04); }
.fe-theme .fe-service h3 { font-size: var(--fe-step-1); font-weight: 500; }
.fe-service p { color: var(--fe-muted); font-size: .95rem; }
.fe-tag { font-family: var(--fe-f-mono); font-size: var(--fe-step--1); color: var(--fe-steel); letter-spacing: .08em; }

/* ---------- Galería ---------- */
.fe-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.fe-theme .fe-filter {
  font-family: var(--fe-f-body); font-size: .92rem; padding: .55em 1.1em; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--fe-line); background: var(--fe-paper); color: var(--fe-muted); transition: all .2s; line-height: 1.3;
}
.fe-theme .fe-filter:hover, .fe-theme .fe-filter:focus { border-color: var(--fe-steel); color: var(--fe-navy); background: var(--fe-paper); }
.fe-theme .fe-filter[aria-pressed="true"] { background: var(--fe-navy); border-color: var(--fe-navy); color: #fff; }
.fe-count { font-family: var(--fe-f-mono); font-size: .78em; opacity: .7; margin-left: .35em; }
.fe-grid { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 720px) {
  .fe-grid { gap: 16px; }
  .fe-grid.fe-cols-3, .fe-grid.fe-cols-4, .fe-grid.fe-cols-5 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1080px) {
  .fe-grid.fe-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .fe-grid.fe-cols-5 { grid-template-columns: repeat(5, 1fr); }
}
.fe-theme .fe-tile {
  margin: 0; position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--fe-radius);
  background: var(--fe-mist); cursor: zoom-in; border: 0; padding: 0; display: block; width: 100%;
}
.fe-theme .fe-tile:hover, .fe-theme .fe-tile:focus { background: var(--fe-mist); }
.fe-ratio-2-3 .fe-tile { aspect-ratio: 2 / 3; }
.fe-ratio-1-1 .fe-tile { aspect-ratio: 1 / 1; }
.fe-ratio-3-2 .fe-tile { aspect-ratio: 3 / 2; }
.fe-tile img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fe-tile:hover img { transform: scale(1.035); }
.fe-cap {
  position: absolute; left: 10px; bottom: 10px; font-family: var(--fe-f-mono); font-size: .72rem; letter-spacing: .08em;
  text-transform: uppercase; background: rgba(255,255,255,.92); color: var(--fe-navy); padding: 4px 8px; border-radius: 2px;
}
.fe-tile[hidden] { display: none !important; }
/* Videos y reels en la galería */
.fe-tile video { width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; background: var(--fe-mist); }
.fe-theme .fe-tile-video { cursor: pointer; }
.fe-play {
  position: absolute; left: 50%; top: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%;
  background: rgba(255,255,255,.92); color: var(--fe-navy); display: grid; place-items: center;
  box-shadow: 0 6px 24px rgba(20,26,43,.25); transition: transform .3s ease;
}
.fe-play svg { width: 24px; height: 24px; margin-left: 3px; }
.fe-tile-video:hover .fe-play, .fe-tile-video:focus-visible .fe-play { transform: scale(1.08); }

.fe-empty { border: 1px dashed var(--fe-line); border-radius: var(--fe-radius); padding: 40px 16px; text-align: center; color: var(--fe-muted); }

/* ---------- Visor ---------- */
.fe-lightbox {
  position: fixed; inset: 0; z-index: 100000; background: rgba(250,251,253,.97);
  display: grid; grid-template-rows: auto 1fr auto;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
}
.fe-lightbox[hidden] { display: none !important; }
.fe-lb-bar { display: flex; justify-content: space-between; align-items: center; font-family: var(--fe-f-mono); font-size: .8rem; color: var(--fe-muted); }
/* La foto siempre cabe completa: se ajusta al espacio entre la barra superior y las flechas. */
.fe-lb-stage { position: relative; min-height: 0; overflow: hidden; }
.fe-theme .fe-lb-stage img {
  position: absolute; inset: 0; margin: auto;
  width: auto !important; height: auto !important; max-width: 100% !important; max-height: 100% !important;
  object-fit: contain; box-shadow: 0 20px 60px rgba(20,26,43,.18);
}
.fe-theme .fe-lb-stage img[hidden], .fe-lb-media[hidden] { display: none !important; }
/* Videos en el visor: caben completos igual que las fotos. */
.fe-lb-media { position: absolute; inset: 0; display: grid; place-items: center; container-type: size; }
.fe-lb-media video { --ar: 9 / 16; aspect-ratio: var(--ar); width: min(100cqw, 100cqh * (var(--ar))); height: auto; max-height: 100%; background: #000; box-shadow: 0 20px 60px rgba(20,26,43,.18); }
.fe-lb-media iframe { border: 0; background: #000; aspect-ratio: 16 / 9; width: min(100cqw, 100cqh * 16 / 9); height: auto; box-shadow: 0 20px 60px rgba(20,26,43,.18); }
.fe-lb-media iframe.is-vertical { aspect-ratio: 9 / 16; width: min(100cqw, 100cqh * 9 / 16); }
.fe-theme .fe-lb-btn { background: var(--fe-paper); border: 1px solid var(--fe-line); border-radius: 999px; width: 46px; height: 46px; display: inline-grid; place-items: center; cursor: pointer; color: var(--fe-navy); padding: 0; }
.fe-theme .fe-lb-btn:hover { border-color: var(--fe-navy); background: var(--fe-paper); color: var(--fe-navy); }
.fe-lb-btn svg { width: 20px; height: 20px; }
.fe-lb-nav { display: flex; justify-content: center; gap: 12px; padding-top: 12px; }

/* ---------- Sobre mí ---------- */
.fe-about { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) {
  .fe-about { grid-template-columns: 5fr 7fr; gap: 72px; }
  .fe-about--reverse { grid-template-columns: 7fr 5fr; }
  .fe-about--reverse figure { order: 2; }
}
.fe-about figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--fe-radius); }
.fe-about figure img { width: 100%; height: 100% !important; object-fit: cover; display: block; }
.fe-about-copy { display: grid; gap: 20px; }
.fe-about-text { color: var(--fe-muted); max-width: 58ch; display: grid; gap: 1em; }

/* ---------- Pasos ---------- */
.fe-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); border-top: 1px solid var(--fe-line); }
.fe-step { padding: 28px 24px 8px 0; display: grid; gap: 10px; align-content: start; }
.fe-n { font-family: var(--fe-f-mono); font-size: var(--fe-step--1); color: var(--fe-steel); letter-spacing: .1em; }
.fe-theme .fe-step h3 { font-size: var(--fe-step-1); font-weight: 500; }
.fe-step p { color: var(--fe-muted); font-size: .95rem; }

/* ---------- Testimonios ---------- */
.fe-quotes { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.fe-quote { background: var(--fe-paper); border: 1px solid var(--fe-line); border-radius: var(--fe-radius); padding: 28px; display: grid; gap: 18px; align-content: space-between; margin: 0; }
.fe-quote blockquote { margin: 0; padding: 0; border: 0; font-size: 1.08rem; font-weight: 300; line-height: 1.55; color: var(--fe-ink); font-style: normal; }
.fe-quote figcaption { font-size: .9rem; color: var(--fe-muted); }
.fe-quote figcaption b { color: var(--fe-navy); font-weight: 600; display: block; }

/* ---------- Llamada a la acción ---------- */
.fe-cta { background: var(--fe-navy); color: #fff; border-radius: var(--fe-radius); padding: clamp(36px, 6vw, 72px); display: grid; gap: 24px; position: relative; overflow: hidden; }
.fe-theme .fe-cta h2 { color: #fff; font-size: var(--fe-step-3); font-weight: 200; max-width: 18ch; }
.fe-theme .fe-cta h2 strong { font-weight: 600; color: #fff; }
.fe-cta p { color: #c9d4e6; max-width: 48ch; }
.fe-cta .fe-eyebrow { color: #9fb6d6; }
.fe-cta-rings { position: absolute; right: -80px; top: 50%; transform: translateY(-50%); width: 420px; opacity: .14; pointer-events: none; }
.fe-cta > *:not(.fe-cta-rings) { position: relative; }

/* ---------- Paquetes ---------- */
.fe-pack { border: 1px solid var(--fe-line); border-radius: var(--fe-radius); padding: 32px 28px; display: grid; gap: 20px; grid-template-rows: auto auto 1fr auto; background: var(--fe-paper); height: 100%; position: relative; }
.fe-pack--featured { border-color: var(--fe-navy); box-shadow: 0 18px 50px rgba(31,47,99,.10); }
.fe-badge { position: absolute; top: -12px; left: 28px; background: var(--fe-navy); color: #fff; font-family: var(--fe-f-mono); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 2px; }
.fe-theme .fe-pack h3 { font-size: var(--fe-step-1); font-weight: 600; }
.fe-sub { color: var(--fe-muted); font-size: .92rem; margin-top: 4px !important; }
.fe-price { display: flex; align-items: baseline; gap: 8px; font-variant-numeric: tabular-nums; }
.fe-price b { font-size: 2.4rem; font-weight: 300; color: var(--fe-navy); letter-spacing: -.02em; }
.fe-price span { font-family: var(--fe-f-mono); font-size: .8rem; color: var(--fe-muted); }
.fe-pack ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; align-content: start; }
.fe-pack li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: .95rem; }
.fe-pack li::before { content: ""; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; border: 1.5px solid var(--fe-steel); box-shadow: inset 0 0 0 3px var(--fe-paper), inset 0 0 0 10px var(--fe-steel-soft); }
.fe-pack .fe-btn { width: 100%; }

/* Cuadrícula de paquetes (widget FE Paquetes) */
.fe-packs-grid { display: grid; gap: 20px; grid-template-columns: 1fr; align-items: stretch; padding-top: 12px; }
@media (min-width: 720px) { .fe-packs-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) {
  .fe-packs-grid.fe-pcols-3 { grid-template-columns: repeat(3, 1fr); }
  .fe-packs-grid.fe-pcols-4 { grid-template-columns: repeat(4, 1fr); }
}
.fe-packs-grid .fe-pack { display: flex; flex-direction: column; gap: 20px; }
.fe-packs-grid .fe-pack > ul { flex: 1 1 auto; }
.fe-price-wrap { display: grid; gap: 6px; }
.fe-price-note { font-size: .85rem; color: var(--fe-muted); }
.fe-pack li.fe-no { color: #9aa4b8; text-decoration: line-through; text-decoration-color: rgba(154,164,184,.6); }
.fe-pack li.fe-no::before { border-color: var(--fe-line); box-shadow: none; }
.fe-theme .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }

/* Precio oculto: leyenda pequeña bajo el nombre */
.fe-price-ask { display: grid; gap: 4px; padding-top: 14px; border-top: 1px solid var(--fe-line); }
.fe-price-ask-label { font-family: var(--fe-f-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fe-steel); }
.fe-price-ask-sub { font-size: .82rem; color: var(--fe-muted); line-height: 1.4; }
.fe-hide-table-prices .fe-price-table td:not(:first-child) { font-size: 0; }
.fe-hide-table-prices .fe-price-table td:not(:first-child)::after { content: "Consultar"; font-size: .85rem; color: var(--fe-muted); font-family: var(--fe-f-body); }

/* Tablas de precios (fotolibros, etc.) dentro de un widget de texto con la clase fe-price-table */
.fe-price-table .elementor-widget-container, .fe-price-table { overflow-x: auto; }
.fe-price-table table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin: 0 0 28px; min-width: 560px; }
.fe-price-table caption { text-align: left; font-weight: 600; color: var(--fe-ink); padding-bottom: 10px; font-size: 1.05rem; }
.fe-price-table caption small { display: block; font-weight: 400; color: var(--fe-muted); font-size: .88rem; margin-top: 2px; }
.fe-price-table th, .fe-price-table td { padding: 12px 14px; border-bottom: 1px solid var(--fe-line); text-align: right; font-size: .95rem; }
.fe-price-table th:first-child, .fe-price-table td:first-child { text-align: left; }
.fe-price-table thead th { font-family: var(--fe-f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fe-steel); font-weight: 500; border-bottom-color: var(--fe-navy); }
.fe-price-table td { color: var(--fe-navy); font-family: var(--fe-f-mono); }
.fe-price-table td:first-child { font-family: var(--fe-f-body); color: var(--fe-ink); }
.fe-price-table td:empty::after { content: "—"; color: var(--fe-line); }

/* ---------- Extras y preguntas ---------- */
.fe-extras { display: grid; gap: 0 32px; grid-template-columns: 1fr; border-top: 1px solid var(--fe-line); }
@media (min-width: 640px) { .fe-extras { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .fe-extras { grid-template-columns: repeat(3, 1fr); } }
.fe-extra { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--fe-line); }
.fe-extra span:last-child { font-family: var(--fe-f-mono); color: var(--fe-navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.fe-faq { display: grid; border-top: 1px solid var(--fe-line); max-width: 860px; }
.fe-faq details { border-bottom: 1px solid var(--fe-line); padding: 20px 0; }
.fe-faq summary { cursor: pointer; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.fe-faq summary::-webkit-details-marker { display: none; }
.fe-faq summary::after { content: "+"; font-family: var(--fe-f-mono); color: var(--fe-steel); font-size: 1.2rem; line-height: 1; }
.fe-faq details[open] summary::after { content: "–"; }
.fe-faq details p { color: var(--fe-muted); margin-top: 12px; max-width: 65ch; }

/* ---------- Contacto ---------- */
.fe-form { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.fe-full { grid-column: 1 / -1; }
@media (max-width: 600px) { .fe-form { grid-template-columns: 1fr; } }
.fe-field { display: grid; gap: 6px; min-width: 0; }
.fe-field label { font-size: .85rem; font-weight: 500; color: var(--fe-ink); }
.fe-theme .fe-field input, .fe-theme .fe-field select, .fe-theme .fe-field textarea {
  font: inherit; color: var(--fe-ink); background: var(--fe-paper); border: 1px solid var(--fe-line); border-radius: var(--fe-radius);
  padding: 12px 14px; width: 100%; transition: border-color .2s, box-shadow .2s; min-height: 48px;
}
.fe-field textarea { min-height: 130px; resize: vertical; }
.fe-theme .fe-field input:focus, .fe-theme .fe-field select:focus, .fe-theme .fe-field textarea:focus { outline: none; border-color: var(--fe-steel); box-shadow: 0 0 0 3px var(--fe-steel-soft); }
.fe-form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.fe-form-actions [hidden] { display: none !important; }
.fe-form-status { font-size: .92rem; color: var(--fe-wa); }
.fe-info-list { display: grid; border-top: 1px solid var(--fe-line); }
.fe-info-item { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--fe-line); }
.fe-info-item small { font-family: var(--fe-f-mono); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--fe-steel); }
.fe-info-item span, .fe-info-item a { font-size: 1.08rem; text-decoration: none; overflow-wrap: anywhere; }
.fe-info-item a:hover { color: var(--fe-navy); }
.fe-map-card { margin-top: 24px; border: 1px solid var(--fe-line); border-radius: var(--fe-radius); background: var(--fe-mist); padding: 24px; display: grid; gap: 8px; }
.fe-coords { font-family: var(--fe-f-mono); color: var(--fe-navy); font-size: .9rem; }
.fe-map-card p { color: var(--fe-muted); }

/* ---------- Pie ---------- */
.fe-site-footer { border-top: 1px solid var(--fe-line); padding-block: 56px 32px; background: var(--fe-paper); }
.fe-footer-grid { display: grid; gap: 36px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.fe-footer-grid h4 { font-family: var(--fe-f-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--fe-steel); margin: 0 0 14px; font-weight: 500; }
.fe-footer-menu { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--fe-muted); }
.fe-footer-menu a { text-decoration: none; color: var(--fe-muted); }
.fe-footer-menu a:hover { color: var(--fe-navy); }
.fe-footer-logo { width: 150px; height: auto; }
.fe-footer-bottom { margin-top: 44px; padding-top: 20px; border-top: 1px solid var(--fe-line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: var(--fe-muted); }
.fe-socials { display: flex; gap: 10px; margin-top: 16px; }
.fe-socials a { width: 40px; height: 40px; border: 1px solid var(--fe-line); border-radius: 50%; display: grid; place-items: center; color: var(--fe-navy); }
.fe-socials a:hover { border-color: var(--fe-navy); }
.fe-socials svg { width: 18px; height: 18px; }

.fe-wa-float {
  position: fixed; z-index: 9990;
  right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; background: var(--fe-wa); color: #fff !important;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31,143,85,.35); text-decoration: none;
}
.fe-wa-float svg { width: 28px; height: 28px; }
.elementor-editor-active .fe-wa-float { display: none; }

/* ==========================================================================
   Galerías de clientes
   ========================================================================== */
.fe-cli-find { display: grid; gap: 10px; max-width: 560px; margin-bottom: 40px; padding: 24px; border: 1px solid var(--fe-line); border-radius: var(--fe-radius); background: var(--fe-mist); }
.fe-cli-find label { font-weight: 500; color: var(--fe-ink); }
.fe-cli-find-row { display: flex; gap: 10px; flex-wrap: wrap; }
.fe-theme .fe-cli input[type="password"], .fe-theme .fe-cli-gate input[type="password"] {
  font: inherit; font-size: 1.05rem; letter-spacing: .08em; color: var(--fe-ink); background: var(--fe-paper);
  border: 1px solid var(--fe-line); border-radius: var(--fe-radius); padding: 12px 14px; min-height: 48px; flex: 1 1 200px; width: 100%;
}
.fe-theme .fe-cli input[type="password"]:focus, .fe-theme .fe-cli-gate input[type="password"]:focus { outline: none; border-color: var(--fe-steel); box-shadow: 0 0 0 3px var(--fe-steel-soft); }
.fe-cli-find-row input { width: auto !important; }
.fe-cli-msg { color: #b32d2e; font-size: .9rem; min-height: 1.2em; }
.fe-cli-msg:empty { min-height: 0; }

.fe-cli-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .fe-cli-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .fe-cli-grid.fe-pcols-3 { grid-template-columns: repeat(3, 1fr); } .fe-cli-grid.fe-pcols-4 { grid-template-columns: repeat(4, 1fr); } }
.fe-cli-card { border: 1px solid var(--fe-line); border-radius: var(--fe-radius); overflow: hidden; background: var(--fe-paper); display: flex; flex-direction: column; }
.fe-cli-card figure { margin: 0; position: relative; aspect-ratio: 4 / 3; background: var(--fe-mist); overflow: hidden; }
.fe-cli-card figure img { width: 100%; height: 100% !important; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.fe-cli-card:hover figure img { transform: scale(1.03); }
.fe-cli-nocover { display: grid; place-items: center; height: 100%; }
.fe-cli-nocover .fe-cta-rings { position: static; transform: none; width: 96px; opacity: 1; stroke: var(--fe-steel); }
.fe-cli-lock { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--fe-navy); display: grid; place-items: center; }
.fe-cli-lock svg { width: 17px; height: 17px; }
.fe-cli-body { padding: 20px 22px 22px; display: grid; gap: 6px; flex: 1; align-content: start; }
.fe-cli-body .fe-btn { margin-top: 12px; justify-self: start; }
.fe-cli-date { font-family: var(--fe-f-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--fe-steel); }
.fe-theme .fe-cli-body h3 { font-size: 1.2rem; font-weight: 500; }
.fe-cli-body p { color: var(--fe-muted); font-size: .92rem; }
.fe-cli-card.is-expired { opacity: .6; }
.fe-cli-status { margin-top: 12px; font-size: .85rem; color: var(--fe-muted); }

.fe-cli-dialog { border: 0; border-radius: 8px; padding: 0; width: min(440px, calc(100vw - 32px)); box-shadow: 0 30px 80px rgba(20,26,43,.25); color: var(--fe-ink); }
.fe-cli-dialog::backdrop { background: rgba(20,26,43,.55); backdrop-filter: blur(3px); }
.fe-cli-dlg-form { display: grid; gap: 12px; padding: 32px 28px 28px; position: relative; }
.fe-theme .fe-cli-dlg-form h3 { font-size: 1.4rem; font-weight: 500; margin-bottom: 8px; }
.fe-cli-dlg-form label { font-size: .9rem; color: var(--fe-muted); }
.fe-cli-dlg-form .fe-btn { width: 100%; margin-top: 4px; }
.fe-theme .fe-cli-x { position: absolute; top: 10px; right: 12px; border: 0; background: none; font-size: 1.6rem; line-height: 1; color: var(--fe-muted); cursor: pointer; padding: 6px; }
.fe-theme .fe-cli-x:hover { color: var(--fe-ink); background: none; }

/* Página de una galería */
.fe-cli-page { padding-block: clamp(40px, 6vw, 80px) clamp(64px, 8vw, 104px); }
.fe-cli-gate { max-width: 460px; margin: clamp(16px, 4vw, 48px) auto; text-align: center; display: grid; gap: 14px; justify-items: center; }
.fe-cli-gate-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--fe-steel-soft); color: var(--fe-navy); display: grid; place-items: center; }
.fe-cli-gate-icon svg { width: 26px; height: 26px; }
.fe-cli-gate .fe-eyebrow::before { display: none; }
.fe-cli-gate-form { width: 100%; display: grid; gap: 10px; text-align: left; margin-top: 12px; }
.fe-cli-gate-form label { font-size: .9rem; color: var(--fe-muted); }
.fe-cli-gate-form .fe-btn { width: 100%; }
.fe-cli-help { font-size: .88rem; color: var(--fe-muted); }
.fe-cli-help a { color: var(--fe-navy); }
.fe-cli-head { display: grid; gap: 24px; margin-bottom: 32px; padding-bottom: 28px; border-bottom: 1px solid var(--fe-line); }
@media (min-width: 860px) { .fe-cli-head { grid-template-columns: 1fr auto; align-items: end; } }
.fe-cli-head-main { display: grid; gap: 10px; }
.fe-cli-meta { color: var(--fe-muted); font-family: var(--fe-f-mono); font-size: .82rem; letter-spacing: .04em; }
.fe-cli-note { color: var(--fe-ink); max-width: 62ch; padding: 14px 16px; background: var(--fe-mist); border-radius: var(--fe-radius); }
.fe-cli-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.fe-cli-logout { font-size: .88rem; color: var(--fe-muted); margin-left: 6px; }
.fe-cli-admin { font-size: .85rem; background: #fff8e5; border: 1px solid #f0d78c; padding: 8px 12px; border-radius: var(--fe-radius); margin-bottom: 20px; }
.fe-cli-item { position: relative; }
.fe-cli-item.is-selected .fe-tile { outline: 3px solid var(--fe-navy); outline-offset: -3px; }
.fe-theme .fe-cli-heart, .fe-theme .fe-cli-dl {
  position: absolute; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; padding: 0; cursor: pointer;
  background: rgba(255,255,255,.92); color: var(--fe-navy); display: grid; place-items: center; box-shadow: 0 2px 10px rgba(20,26,43,.12);
}
.fe-theme .fe-cli-heart { right: 10px; }
.fe-theme .fe-cli-dl { right: 56px; text-decoration: none; }
.fe-cli-heart svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.fe-cli-heart[aria-pressed="true"] svg { fill: #d1435b; stroke: #d1435b; }
.fe-cli-dl svg { width: 18px; height: 18px; }
.fe-theme .fe-cli-heart:hover, .fe-theme .fe-cli-dl:hover { background: #fff; color: var(--fe-navy); }
.fe-cli-bar {
  position: sticky; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 30; margin-top: 28px;
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between;
  background: var(--fe-paper); border: 1px solid var(--fe-line); border-radius: 999px; padding: 10px 10px 10px 22px;
  box-shadow: 0 12px 34px rgba(20,26,43,.12); font-size: .95rem; color: var(--fe-muted); margin-right: 72px;
}
.fe-cli-bar.has-selection { color: var(--fe-ink); font-weight: 500; }
.fe-cli-bar-actions { display: flex; gap: 8px; align-items: center; }
.fe-theme .fe-cli-clear { border: 0; background: none; color: var(--fe-muted); cursor: pointer; font: inherit; font-size: .88rem; padding: 6px 10px; }
.fe-theme .fe-cli-clear:hover { color: var(--fe-ink); background: none; }
.fe-cli-bar [hidden] { display: none !important; }
@media (max-width: 600px) { .fe-cli-bar { border-radius: 16px; margin-right: 0; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } }

/* ==========================================================================
   Fotolibros
   ========================================================================== */
.fe-books { display: grid; gap: 32px 24px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .fe-books { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .fe-books.fe-pcols-3 { grid-template-columns: repeat(3, 1fr); } .fe-books.fe-pcols-4 { grid-template-columns: repeat(4, 1fr); } }
.fe-book-card { display: grid; gap: 18px; text-decoration: none; color: inherit; }
.fe-book-cover { margin: 0; position: relative; aspect-ratio: 1 / 1; background: var(--fe-mist); display: flex; align-items: center; justify-content: center; border-radius: var(--fe-radius); overflow: hidden; max-width: 100%; }
/* El libro conserva su proporción real (cuadrado, vertical u horizontal) */
.fe-book-cover-inner {
  position: relative; display: block; height: 78%; max-width: 84%; transition: transform .5s cubic-bezier(.2,.7,.2,1);
  box-shadow: 0 1px 2px rgba(20,26,43,.12), 0 14px 30px rgba(20,26,43,.22), 5px 0 0 -2px #fff, 6px 0 0 -2px var(--fe-line), 9px 0 0 -4px #fff, 10px 0 0 -4px var(--fe-line);
  border-radius: 2px 4px 4px 2px;
}
.fe-theme .fe-book-cover-inner img { height: 100% !important; width: auto !important; max-width: 100%; object-fit: cover; display: block; border-radius: 2px 4px 4px 2px; }
.fe-book-cover-inner::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 5%; background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(255,255,255,.18) 60%, rgba(0,0,0,0)); border-radius: 2px 0 0 2px; pointer-events: none; }
.fe-book-card:hover .fe-book-cover-inner { transform: translateY(-4px) rotate(-.6deg); }
.fe-book-card-body { display: grid; gap: 6px; }
.fe-theme .fe-book-card-body h3 { font-size: 1.2rem; font-weight: 500; }
.fe-book-card-body p { color: var(--fe-muted); font-size: .92rem; }
.fe-book-card-body .fe-link-arrow { justify-self: start; margin-top: 6px; }

/* Página de un fotolibro */
.fe-libro-page { padding-block: clamp(28px, 4vw, 48px) clamp(56px, 7vw, 96px); }
.fe-libro-back { margin-bottom: 18px !important; font-size: .9rem; }
.fe-libro-back a { color: var(--fe-muted); text-decoration: none; }
.fe-libro-back a:hover { color: var(--fe-navy); }
.fe-libro-head { display: grid; gap: 20px; margin-bottom: 28px; }
@media (min-width: 900px) { .fe-libro-head { grid-template-columns: 1fr auto; align-items: end; } }
.fe-libro-head > div { display: grid; gap: 10px; }
.fe-libro-det { font-family: var(--fe-f-mono); font-size: .82rem; letter-spacing: .04em; color: var(--fe-steel); }
.fe-libro-desc { color: var(--fe-muted); max-width: 62ch; }
.fe-libro-more { padding-block: clamp(56px, 7vw, 96px); background: var(--fe-mist); }

/* Visor */
.fe-book { --h: clamp(280px, 62vh, 780px); background: var(--fe-mist); border-radius: var(--fe-radius); padding: 14px 0 18px; display: grid; gap: 14px; outline: none; }
.fe-book-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 0 18px; }
.fe-book-label { font-family: var(--fe-f-mono); font-size: .8rem; letter-spacing: .06em; color: var(--fe-navy); }
.fe-theme .fe-book-full { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--fe-line); background: var(--fe-paper); color: var(--fe-navy); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: .85rem; cursor: pointer; }
.fe-theme .fe-book-full:hover { border-color: var(--fe-navy); background: var(--fe-paper); color: var(--fe-navy); }
.fe-book-full svg { width: 16px; height: 16px; }
.fe-book-stage { position: relative; height: var(--h); display: grid; place-items: center; padding: 0 64px; touch-action: pan-y; user-select: none; }
.fe-book-spread { width: 100%; height: 100%; display: grid; place-items: center; cursor: pointer; }
.fe-book-view {
  position: relative; display: flex; aspect-ratio: var(--r, 1.5);
  width: min(100%, calc(var(--h) * var(--r, 1.5))); max-height: var(--h);
  box-shadow: 0 2px 4px rgba(20,26,43,.08), 0 22px 50px rgba(20,26,43,.20); background: #fff;
}
.fe-book-page { margin: 0; flex: 1 1 0; min-width: 0; height: 100%; }
.fe-theme .fe-book-page img { width: 100% !important; height: 100% !important; object-fit: contain; display: block; }
/* Pliegue central del libro abierto */
.fe-book-view--pair::after, .fe-book-view--spread::after {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 8%; transform: translateX(-50%); pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.10) 40%, rgba(0,0,0,.22) 50%, rgba(0,0,0,.10) 60%, rgba(0,0,0,0) 100%);
}
.fe-book-view--cover, .fe-book-view--back { border-radius: 2px 5px 5px 2px; }
.fe-book-view--cover::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4%; background: linear-gradient(90deg, rgba(0,0,0,.25), rgba(255,255,255,.15) 60%, rgba(0,0,0,0)); z-index: 1; pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .fe-book-view.enter-next { animation: fe-book-next .45s cubic-bezier(.2,.7,.2,1); }
  .fe-book-view.enter-prev { animation: fe-book-prev .45s cubic-bezier(.2,.7,.2,1); }
  @keyframes fe-book-next { from { opacity: .25; transform: translateX(28px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes fe-book-prev { from { opacity: .25; transform: translateX(-28px) scale(.985); } to { opacity: 1; transform: none; } }
}
.fe-theme .fe-book-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid var(--fe-line); background: var(--fe-paper); color: var(--fe-navy); display: grid; place-items: center; cursor: pointer; padding: 0;
}
.fe-theme .fe-book-nav:hover { border-color: var(--fe-navy); background: var(--fe-paper); color: var(--fe-navy); }
.fe-theme .fe-book-nav:disabled { opacity: .3; cursor: default; }
.fe-book-nav svg { width: 20px; height: 20px; }
.fe-book-prev { left: 10px; }
.fe-book-next { right: 10px; }
.fe-book-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 4px 18px 6px; scrollbar-width: thin; scroll-behavior: smooth; }
.fe-theme .fe-book-thumb { flex: none; display: flex; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 3px; background: none; cursor: pointer; opacity: .6; transition: opacity .2s; }
.fe-theme .fe-book-thumb:hover { opacity: 1; background: none; }
.fe-theme .fe-book-thumb.is-current { border-color: var(--fe-navy); opacity: 1; }
.fe-book-thumb img { height: 100% !important; width: auto !important; display: block; }
@media (max-width: 700px) {
  .fe-book { --h: clamp(260px, 62vh, 640px); }
  .fe-book-stage { padding: 0 12px; }
  .fe-book-nav { display: none !important; }
  .fe-book-full span { display: none; }
}
/* Pantalla completa */
.fe-book.is-full {
  position: fixed; inset: 0; z-index: 100000; border-radius: 0; background: var(--fe-paper);
  --h: calc(100dvh - 150px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px));
  padding: max(12px, env(safe-area-inset-top, 0px)) 0 max(12px, env(safe-area-inset-bottom, 0px)); align-content: start;
}
html.fe-book-lock { overflow: hidden; }

/* ---------- Páginas en preparación ---------- */
.fe-soon { min-height: 52vh; display: grid; align-items: center; text-align: center; }
.fe-soon .fe-wrap { justify-items: center; }
.fe-soon p { max-width: 56ch; margin-inline: auto; }
.fe-soon-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 8px; }
.fe-wip-bar {
  position: relative; z-index: 60; background: #fff4d6; color: #5c4400; border-bottom: 1px solid #f0d58a;
  font-family: var(--fe-f-mono); font-size: .78rem; letter-spacing: .02em; text-align: center; padding: 8px 16px;
}
