/* Secciones nuevas del home (tools/home.py). Autónomas: el home carga los
   estilos de Elementor, así que todo va con prefijo .lxh y fija sus propios
   tamaños, márgenes y colores. */
.lxh {
  --t: #f8dcff; --b: #e6d3ee; --m: #bfa0ca; --pink: #FFC0D8; --hot: #ff3d8b;
  --card: #231030; --card2: #2b1439; --line: rgba(191, 160, 202, .16);
  --grad: linear-gradient(95deg, #E88CA0 0%, #D070C0 35%, #EB0159 70%, #FE5000 100%);
  --shadow: 0 30px 70px -28px rgba(0, 0, 0, .85);
  background: #1A0825; color: var(--b); font-family: 'Manrope', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased; overflow-x: clip;
}
.lxh *, .lxh *::before, .lxh *::after { box-sizing: border-box; }
.lxh img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; border: 0; border-radius: 0; box-shadow: none; }
.lxh figure { margin: 0; }
.lxh h2, .lxh h3, .lxh p, .lxh ul { margin: 0; padding: 0; }
.lxh a { text-decoration: none; }
.lxh .lxh-wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.25rem; }
.lxh .lxh-sec { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.lxh .lxh-center { justify-content: center; }
.lxh .lxh-arrow { width: 1.05em; height: 1.05em; flex: 0 0 auto; }

.lxh .lxh-eyebrow { margin-bottom: .9rem; font: 500 .78rem/1.3 'Space Grotesk', sans-serif; letter-spacing: .22em; text-transform: uppercase; color: var(--pink); }
.lxh .lxh-h2 { margin-bottom: 1.1rem; color: var(--t); font: 800 clamp(2rem, 5vw, 3.4rem)/1.05 'Epilogue', sans-serif; letter-spacing: -.035em; text-transform: none; }
.lxh .lxh-h2 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lxh .lxh-lead { font-size: 1.12rem; line-height: 1.75; color: var(--b); }
.lxh .lxh-lead strong { color: var(--t); }
.lxh .lxh-head { max-width: 780px; margin: 0 auto 2.75rem; text-align: center; }
.lxh .lxh-head > p:last-child:not(.lxh-eyebrow) { color: var(--m); font-size: 1.08rem; line-height: 1.6; }

.lxh .lxh-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.lxh .lxh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: 1rem 1.6rem; border-radius: 999px;
  background: var(--grad); background-size: 140% 100%; color: #fff !important; font: 700 1rem/1 'Manrope', sans-serif;
  box-shadow: 0 12px 34px -10px rgba(235, 1, 89, .75); transition: transform .2s ease, background-position .4s ease;
}
.lxh .lxh-btn:hover { transform: translateY(-2px); background-position: 100% 0; }
.lxh .lxh-btn--ghost { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 192, 216, .35); box-shadow: none; }
.lxh .lxh-btn--ghost:hover { background: rgba(255, 255, 255, .12); }

/* ¿Qué es Luxorfest? */
.lxh .lxh-about { background: radial-gradient(ellipse 60% 70% at 15% 50%, rgba(145, 0, 203, .2), transparent 70%); }
.lxh .lxh-about__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.lxh .lxh-about__media { position: relative; padding: 0 2.5rem 3rem 0; }
.lxh .lxh-about__main { aspect-ratio: 4 / 5; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow); }
.lxh .lxh-about__mini {
  position: absolute; right: 0; bottom: 0; width: 52%; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden;
  border: 4px solid #1A0825; box-shadow: var(--shadow);
}
.lxh .lxh-about__mini img { filter: brightness(1.4); }
.lxh .lxh-about__seal {
  position: absolute; left: -1rem; top: 1.5rem; width: 116px; height: 116px; border-radius: 50%;
  display: grid; place-content: center; text-align: center; background: var(--grad); color: #fff; transform: rotate(-10deg);
  font: 600 .66rem/1.25 'Space Grotesk', sans-serif; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 0 40px rgba(235, 1, 89, .5);
}
.lxh .lxh-about__seal strong { font: 800 1.05rem/1.2 'Epilogue', sans-serif; letter-spacing: 0; text-transform: none; }
.lxh .lxh-pills { list-style: none; display: grid; gap: .8rem; margin-top: 1.75rem; }
.lxh .lxh-pills li { display: flex; gap: 1rem; padding: 1.1rem 1.2rem; border-radius: 18px; background: var(--card); border: 1px solid var(--line); }
.lxh .lxh-pill__ico { flex: 0 0 auto; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, rgba(235, 1, 89, .22), rgba(145, 0, 203, .22)); color: var(--pink); }
.lxh .lxh-pill__ico svg { width: 22px; height: 22px; }
.lxh .lxh-pills h3 { margin-bottom: .25rem; font: 700 1.05rem/1.3 'Epilogue', sans-serif; color: var(--t); }
.lxh .lxh-pills p { font-size: .93rem; line-height: 1.55; color: var(--m); }

/* galería */
.lxh .lxh-gallery { background: linear-gradient(180deg, transparent, rgba(235, 1, 89, .07) 50%, transparent); }
.lxh .lxh-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; grid-auto-flow: dense; gap: .8rem; }
.lxh .lxh-tile {
  position: relative; display: block; overflow: hidden; border-radius: 20px; background: var(--card);
  box-shadow: 0 20px 50px -25px rgba(0, 0, 0, .9); isolation: isolate; cursor: zoom-in;
}
.lxh .lxh-tile { grid-column: var(--c); grid-row: var(--r); }
.lxh .lxh-tile img { transition: transform .7s cubic-bezier(.2, .7, .2, 1), filter .5s ease; filter: saturate(.95) brightness(.92); }
.lxh .lxh-tile::after {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(20, 6, 29, .85)); transition: opacity .4s ease;
}
.lxh .lxh-tile:hover img, .lxh .lxh-tile:focus-visible img { transform: scale(1.07); filter: saturate(1.1) brightness(1); }
.lxh .lxh-tile__tag {
  position: absolute; left: .9rem; bottom: .85rem; z-index: 2; padding: .4rem .75rem; border-radius: 999px;
  background: rgba(26, 8, 37, .6); border: 1px solid rgba(255, 192, 216, .3); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font: 600 .72rem/1 'Space Grotesk', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #fff;
}
.lxh .lxh-tile__zoom {
  position: absolute; right: .8rem; top: .8rem; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%;
  background: var(--grad); color: #fff; opacity: 0; transform: scale(.7); transition: opacity .3s ease, transform .3s ease;
}
.lxh .lxh-tile__zoom svg { width: 20px; height: 20px; }
.lxh .lxh-tile:hover .lxh-tile__zoom, .lxh .lxh-tile:focus-visible .lxh-tile__zoom { opacity: 1; transform: none; }
.lxh .lxh-tile:focus-visible { outline: 2px solid var(--hot); outline-offset: 3px; }

/* visor de fotos */
.lxh .lxh-lb {
  position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center;
  background: rgba(10, 2, 16, .94); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); padding: 4.5rem 4.5rem 3.5rem;
}
.lxh .lxh-lb[hidden] { display: none; }
.lxh .lxh-lb__fig { display: flex; flex-direction: column; align-items: center; gap: 1rem; max-width: 100%; max-height: 100%; }
.lxh .lxh-lb__fig img { width: auto; height: auto; max-width: min(1100px, 100%); max-height: calc(100vh - 9rem); object-fit: contain; border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lxh .lxh-lb__fig figcaption { font: 600 .8rem/1 'Space Grotesk', sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--pink); }
.lxh .lxh-lb__btn {
  position: absolute; display: grid; place-items: center; width: 52px; height: 52px; padding: 0 !important; border-radius: 50% !important; cursor: pointer;
  background: rgba(255, 255, 255, .08) !important; border: 1px solid rgba(255, 192, 216, .3) !important; color: #fff !important; transition: background .2s ease;
}
.lxh .lxh-lb__btn:hover, .lxh .lxh-lb__btn:focus { background: rgba(235, 1, 89, .5) !important; color: #fff !important; }
.lxh .lxh-lb__btn svg { width: 24px; height: 24px; }
.lxh .lxh-lb__close { top: 1rem; right: 1rem; }
.lxh .lxh-lb__prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lxh .lxh-lb__next { right: 1rem; top: 50%; transform: translateY(-50%); }

/* tres formas de vivirlo */
.lxh .lxh-ways-sec { padding-top: 0; }
.lxh .lxh-ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.lxh .lxh-way { position: relative; display: block; height: 380px; border-radius: 24px; overflow: hidden; isolation: isolate; box-shadow: var(--shadow); border: 1px solid rgba(255, 192, 216, .12); }
.lxh .lxh-way img { position: absolute; inset: 0; z-index: -2; filter: brightness(.7); transition: transform .8s ease, filter .5s ease; }
.lxh .lxh-way::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 8, 37, .05) 20%, rgba(20, 6, 29, .95)); }
.lxh .lxh-way:hover img { transform: scale(1.06); filter: brightness(.85); }
.lxh .lxh-way__body { position: absolute; inset: auto 0 0; padding: 1.6rem; display: grid; gap: .45rem; }
.lxh .lxh-way__body small { font: 500 .72rem/1 'Space Grotesk', sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--pink); }
.lxh .lxh-way__body strong { font: 800 1.6rem/1.15 'Epilogue', sans-serif; color: #fff; }
.lxh .lxh-way__body > span { color: rgba(248, 220, 255, .85); line-height: 1.55; font-size: .95rem; }
.lxh .lxh-way__body em { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; font-style: normal; font-weight: 700; color: var(--hot); }

/* responsive */
@media (max-width: 1000px) {
  .lxh .lxh-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .lxh .lxh-tile { grid-column: auto; grid-row: auto; }
  .lxh .lxh-tile--tall { grid-row: span 2; }
  .lxh .lxh-tile--wide { grid-column: span 2; }
  .lxh .lxh-tile--big { grid-column: span 2; grid-row: span 2; }
  .lxh .lxh-ways { grid-template-columns: 1fr; }
  .lxh .lxh-way { height: 300px; }
}
@media (max-width: 860px) {
  .lxh .lxh-about__grid { grid-template-columns: 1fr; }
  .lxh .lxh-about__media { max-width: 520px; margin: 0 auto; width: 100%; }
}
@media (max-width: 640px) {
  .lxh .lxh-grid { grid-auto-rows: 160px; gap: .55rem; }
  .lxh .lxh-tile__zoom { opacity: 1; transform: none; width: 34px; height: 34px; }
  .lxh .lxh-tile__tag { font-size: .62rem; left: .6rem; bottom: .6rem; }
  .lxh .lxh-actions .lxh-btn { flex: 1 1 100%; }
  .lxh .lxh-lb { padding: 4rem .75rem 5.5rem; }
  .lxh .lxh-lb__prev, .lxh .lxh-lb__next { top: auto; bottom: 1rem; transform: none; }
  .lxh .lxh-lb__prev { left: calc(50% - 64px); } .lxh-lb__next { right: calc(50% - 64px); }
  .lxh .lxh-about__seal { width: 96px; height: 96px; left: -.25rem; }
  .lxh .lxh-about__media { padding: 0 1.5rem 2.5rem 0; }
}

/* la sección vacía de Elementor que sigue trae margin-top negativo y montaba
   el bloque de testimonios sobre estas secciones */
.elementor-element-3213339, .elementor-element-9f358a7 { margin-top: 0 !important; }
