﻿/* =========================================================================
   Xplash – Experiencias Frontend Styles
   ========================================================================= */

:root {
  /* Brand — aligned with Firebase app tokens */
  --xexp-pink:      #F65C7C;
  --xexp-orange:    #F46E35;
  --xexp-gradient:  linear-gradient(90deg, #F65C7C 0%, #F46E35 100%);
  --xexp-primary:   #2E3953;   /* headings + body text — matches Weedles theme */
  --xexp-text:      #2E3953;
  --xexp-text-70:   rgba(46,57,83,.7);
  --xexp-text-50:   rgba(46,57,83,.5);

  /* Surfaces */
  --xexp-bg:        #F3F3F3;
  --xexp-bg-alt:    #f8f9fa;
  --xexp-card-bg:   #ffffff;
  --xexp-border:    rgba(0,0,0,.12);

  /* Semantic */
  --xexp-green:     #22c55e;
  --xexp-yellow:    #f59e0b;

  /* Radius — Firebase uses 16/12/full */
  --xexp-radius:    12px;
  --xexp-radius-lg: 16px;
  --xexp-radius-full: 9999px;

  /* Typography */
  --xexp-font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.xexp-page {
  font-family: var(--xexp-font);
  color: var(--xexp-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── THEME CONFLICT FIXES ────────────────────────────────────────────────────
   Hide Weedles / AncoraThemes inner page-title banner on our CPT pages.
   The theme renders .post_header inside .post_item_single before the Loop.
   We target it via body classes WordPress adds automatically.
   ─────────────────────────────────────────────────────────────────────────── */

body.single-experiencia .post_header,
body.single-experiencia .post_header_wrap,
body.single-experiencia #page_title,
body.single-experiencia .page_title_wrap,
body.single-experiencia .top_panel_title,
body.single-experiencia .post_title:not(.xexp-card-title):not(.xexp-pricing-name):not(.xexp-form-title):not(.xexp-sidebar-title):not(.xexp-section-title):not(.xexp-single-title):not(.xexp-info-title),
body.single-experiencia .entry-header:not([class*="xexp"]),
body.post-type-archive-experiencia .post_header,
body.post-type-archive-experiencia #page_title,
body.post-type-archive-experiencia .page_title_wrap,
body.post-type-archive-experiencia .page_title,
body.post-type-archive-experiencia .page_title_section,
body.post-type-archive-experiencia .top_panel_title,
body.xexp-single-page .post_header,
body.xexp-single-page .top_panel_title,
body.xexp-archive-page .post_header,
body.xexp-archive-page .top_panel_title {
  display: none !important;
}

/* Reset any theme padding/margin that creates gaps after hiding the banner */
body.single-experiencia .page_content_wrap,
body.single-experiencia .post_item_single,
body.single-experiencia #content_wrap,
body.single-experiencia .content_wrap,
body.post-type-archive-experiencia .page_content_wrap {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Page background — match plugin sections */
body.single-experiencia,
body.single-experiencia .page_content_wrap {
  background: var(--xexp-bg) !important;
}

/* Prevent the theme from adding background on the body/wrap of our pages */
body.single-experiencia #xexp-single,
body.post-type-archive-experiencia #xexp-archivo {
  background: var(--xexp-bg);
  width: 100%;
  max-width: 100%;
}

/* Override theme h2 sizing (.scheme_default h2 = 45px) inside our plugin */
#xexp-single h2.xexp-info-title {
  font-size: 1.1rem !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
  margin-bottom: 10px !important;
}
#xexp-single h2.xexp-section-title {
  font-size: 1.8rem !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
}
#xexp-single h2.xexp-form-title {
  font-size: 1.5rem !important;
  line-height: 1.3 !important;
  letter-spacing: normal !important;
}

/* ── Base ────────────────────────────────────────────────────────────────── */

.xexp-page * { box-sizing: border-box; }

.xexp-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}
.xexp-container-narrow { max-width: 760px; }

/* ── ARCHIVE PAGE ─────────────────────────────────────────────────────────── */

#xexp-archivo { background: var(--xexp-bg); }

.xexp-page-hero {
  background: var(--xexp-bg-alt);
  padding: 72px 0 56px;
  text-align: center;
  border-bottom: 1px solid var(--xexp-border);
}
.xexp-page-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--xexp-primary);
  margin: 0 0 12px;
  line-height: 1.2;
}
.xexp-page-subtitle {
  font-size: 1rem;
  color: var(--xexp-text-70);
  max-width: 600px;
  margin: 0 auto;
}

.xexp-catalog-section {
  padding: 48px 0 72px;
}

/* ── Filter bar ──────────────────────────────────────────────────────────── */

.xexp-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}
.xexp-filter-btn {
  background: var(--xexp-card-bg);
  border: 1.5px solid var(--xexp-border);
  color: var(--xexp-primary);
  padding: 12px 23px;
  border-radius: var(--xexp-radius-full);
  font-size: 1rem;
  font-weight: 300;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .25s ease;
  font-family: var(--xexp-font);
  line-height: 1.4;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
}
.xexp-filter-btn:hover {
  border-color: var(--xexp-pink);
  color: var(--xexp-pink);
  box-shadow: 0 2px 8px rgba(246,92,124,.1);
}
.xexp-filter-btn.active {
  background: var(--xexp-gradient);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 2px 10px rgba(246,92,124,.25);
}

/* ── Cards grid ──────────────────────────────────────────────────────────── */

.xexp-grid {
  display: grid;
  gap: 24px;
}
.xexp-grid-3col { grid-template-columns: repeat(3, 1fr); }
.xexp-grid-2col { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 1024px) { .xexp-grid-3col { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .xexp-grid-3col, .xexp-grid-2col { grid-template-columns: 1fr; } }

.xexp-card {
  background: var(--xexp-card-bg);
  border: 1px solid var(--xexp-border);
  border-radius: var(--xexp-radius-lg);
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}
.xexp-card:hover {
  transform: translateY(-4px);
  border-color: var(--xexp-pink);
  box-shadow: 0 12px 40px rgba(246,92,124,.12), 0 4px 12px rgba(0,0,0,.06);
}
.xexp-card.xexp-hiding {
  opacity: 0;
  transform: scale(.95);
  pointer-events: none;
}
.xexp-card.xexp-hidden { display: none; }
.xexp-card.xexp-showing {
  animation: xexpCardIn .35s ease-out forwards;
}
@keyframes xexpCardIn {
  from { opacity: 0; transform: translateY(12px) scale(.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.xexp-card-link {
  display: flex;
  flex-direction: column;
  text-decoration: none !important;
  color: inherit;
  height: 100%;
}
.xexp-card-link:hover { text-decoration: none !important; }

.xexp-card-img {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  flex-shrink: 0;
}
.xexp-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s;
}
.xexp-card:hover .xexp-card-img img { transform: scale(1.04); }

.xexp-card-badge,
.xexp-card-area {
  position: absolute;
  font-size: .72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--xexp-radius-full);
  text-transform: uppercase;
  letter-spacing: .05em;
  white-space: nowrap;
}
.xexp-card-badge {
  top: 12px;
  left: 12px;
  background: var(--xexp-yellow);
  color: #000;
}
.xexp-card-area {
  bottom: 12px;
  left: 12px;
  background: rgba(0,0,0,.7);
  color: #fff;
  border: 1px solid rgba(255,255,255,.15);
  backdrop-filter: blur(6px);
}

.xexp-card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.xexp-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--xexp-primary) !important;
  margin: 0 0 8px !important;
  line-height: 1.3;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  letter-spacing: normal;
  word-spacing: normal;
}
.xexp-card-desc {
  font-size: 1.05rem;
  color: var(--xexp-text-70);
  margin: 0 0 18px;
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.xexp-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 8px 0;
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  -webkit-text-fill-color: #fff;
  background: var(--xexp-gradient);
  border-radius: var(--xexp-radius);
  margin-top: auto;
  transition: box-shadow .3s ease, opacity .3s ease;
  box-shadow: 0 2px 8px rgba(246,92,124,.2);
  text-align: center;
}
.xexp-card:hover .xexp-card-cta {
  box-shadow: 0 4px 14px rgba(246,92,124,.35);
  opacity: .92;
}

/* ── Card bullets ───────────────────────────────────────────────────────── */

.xexp-card-bullets {
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  flex: 1;
}
.xexp-card-bullets li {
  font-size: .9rem;
  color: var(--xexp-text-70);
  padding: 3px 0 3px 18px;
  position: relative;
  line-height: 1.45;
}
.xexp-card-bullets li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 10px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--xexp-gradient);
}
.xexp-card-plat-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: var(--xexp-radius-full);
  border: 1px solid var(--xexp-border);
  background: #efefef;
  color: var(--xexp-text-70);
  white-space: nowrap;
  letter-spacing: .02em;
}

/* ── Coming soon cards ──────────────────────────────────────────────────── */

.xexp-card-coming {
  cursor: default;
}
.xexp-card-coming .xexp-card-link {
  cursor: default;
}
.xexp-card-coming:hover {
  transform: none;
  border-color: var(--xexp-border);
  box-shadow: 0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
}
.xexp-card-coming .xexp-card-img img {
  filter: saturate(.7);
}
.xexp-card-cta-coming {
  background: var(--xexp-bg) !important;
  color: var(--xexp-text-50) !important;
  -webkit-text-fill-color: var(--xexp-text-50) !important;
  box-shadow: none !important;
  cursor: default;
  font-style: italic;
}

.xexp-coming-section {
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--xexp-border);
}
.xexp-coming-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--xexp-primary);
  margin: 0;
}

/* ── Scroll reveal animations ───────────────────────────────────────────── */

.xexp-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.xexp-reveal.xexp-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── SINGLE PAGE ─────────────────────────────────────────────────────────── */

#xexp-single {
  background: #fff;
}

/* ── Slider ──────────────────────────────────────────────────────────────── */

.xexp-slider-wrap {
  background: #eef1f6;
  position: relative;
  width: 100%;
  margin-top: 16px;
  border-radius: 0 0 var(--xexp-radius-lg) var(--xexp-radius-lg);
  overflow: hidden;
}

.xexp-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 16/7;
  overflow: hidden;
  background: #eef1f6;
}
@media (max-width: 768px) { .xexp-slider { aspect-ratio: 4/3; } }

.xexp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(0.988);
  transition: opacity .7s ease-out, transform .7s ease-out;
}
.xexp-slide.active {
  opacity: 1;
  transform: scale(1);
}

.xexp-slider-static { aspect-ratio: 16/7; }

.xexp-slide img,
.xexp-slider-static img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xexp-slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--xexp-border);
  color: var(--xexp-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, box-shadow .2s;
  padding: 0;
}
.xexp-slider-btn:hover {
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
}
.xexp-slider-btn:disabled { opacity: .4; cursor: not-allowed; }
.xexp-slider-prev { left: 12px; }
.xexp-slider-next { right: 12px; }

.xexp-slider-dots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}
.xexp-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.9);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .25s ease;
}
.xexp-dot.active {
  width: 24px;
  border-radius: 6px;
  border-color: transparent;
  background: var(--xexp-gradient);
}

/* ── Single header (title + platforms) ────────────────────────────────── */

.xexp-single-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.xexp-single-platforms {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 6px;
}

/* ── Single body layout ──────────────────────────────────────────────────── */

.xexp-single-body {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 8px 0 48px;
  align-items: start;
}
@media (max-width: 860px) {
  .xexp-single-body { grid-template-columns: 1fr; }
  .xexp-single-right { order: -1; }
}

/* ── Single H1 title ───────────────────────────────────────────────────── */

.xexp-single-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--xexp-primary);
  margin: 0 0 4px;
  line-height: 1.25;
}
.xexp-single-title-accent {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--xexp-gradient);
  margin: 10px 0 0;
}

/* ── Breadcrumbs ────────────────────────────────────────────────────────── */

.xexp-breadcrumbs {
  padding: 16px 0 12px;
  font-size: .85rem;
  color: var(--xexp-text-50);
}
.xexp-breadcrumbs a {
  color: var(--xexp-text-50);
  text-decoration: none;
  transition: color .2s;
}
.xexp-breadcrumbs a:hover {
  color: var(--xexp-pink);
}
.xexp-breadcrumbs .xexp-bc-sep {
  margin: 0 6px;
  opacity: .5;
}
.xexp-breadcrumbs .xexp-bc-current {
  color: var(--xexp-primary);
  font-weight: 600;
}

/* ── Left column ─────────────────────────────────────────────────────────── */

.xexp-info-block {
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--xexp-border);
}
.xexp-info-block:last-of-type { border-bottom: none; padding-bottom: 0; }

.xexp-info-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--xexp-primary);
  margin: 0 0 10px;
  line-height: 1.3;
}

.xexp-exp-label {
  font-size: .7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--xexp-text-50);
  margin: 0 0 8px;
}

.xexp-exp-description {
  font-size: 1.05rem;
  color: var(--xexp-text-70);
  line-height: 1.7;
  margin: 0;
}

.xexp-detail-bullets {
  list-style: none;
  margin: 0;
  padding: 0;
}
.xexp-detail-bullets li {
  font-size: 1rem;
  color: var(--xexp-text-70);
  padding: 6px 0 6px 22px;
  position: relative;
  line-height: 1.55;
}
.xexp-detail-bullets li::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 14px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--xexp-gradient);
}

.xexp-objetivos-block {
  background: var(--xexp-bg-alt);
  border-radius: var(--xexp-radius-lg);
  padding: 24px 28px;
  border: 1px solid var(--xexp-border);
  margin-bottom: 28px;
}
.xexp-objetivos-block .xexp-info-title { color: var(--xexp-primary); }
.xexp-objetivos-block .xexp-detail-bullets li { color: var(--xexp-primary); }
.xexp-objetivos-block .xexp-detail-bullets li::before { background: var(--xexp-gradient); }

/* ── Right column (sidebar) ──────────────────────────────────────────────── */

.xexp-single-right {
  background: var(--xexp-card-bg);
  border: 1px solid var(--xexp-border);
  border-radius: var(--xexp-radius-lg);
  padding: 24px;
  position: sticky;
  top: 90px;
  box-shadow: 0 2px 12px rgba(0,0,0,.05);
}

.xexp-sidebar-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--xexp-border);
  font-size: .95rem;
}
.xexp-sidebar-row:last-of-type { border-bottom: none; }
.xexp-sidebar-label {
  color: var(--xexp-text-50);
  font-weight: 600;
  flex-shrink: 0;
  margin-right: 12px;
}
.xexp-sidebar-value {
  color: var(--xexp-primary);
  text-align: right;
}
.xexp-sidebar-link {
  text-decoration: none;
  transition: color .2s;
}
.xexp-sidebar-link:hover {
  color: var(--xexp-pink);
}

.xexp-sidebar-row-wrap {
  flex-wrap: wrap;
  gap: 8px;
}
.xexp-sidebar-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.xexp-status-badge {
  display: inline-block;
  font-size: .78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--xexp-radius-full);
  border: 1px solid;
}
.xexp-status-disponible   { color: #16a34a; border-color: #16a34a; background: #f0fdf4; }
.xexp-status-proximamente { color: #d97706; border-color: #d97706; background: #fffbeb; }
.xexp-status-descontinuado { color: #dc2626; border-color: #dc2626; background: #fef2f2; }

.xexp-sidebar-actions { margin-top: 20px; }

/* ── Buttons ─────────────────────────────────────────────────────────────── */

.xexp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: var(--xexp-radius);
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none !important;
  border: 2px solid transparent;
  transition: all .3s ease;
  letter-spacing: .01em;
  font-family: var(--xexp-font);
  line-height: 1.2;
}
.xexp-btn:focus-visible {
  outline: 2px solid var(--xexp-pink);
  outline-offset: 2px;
}
.xexp-btn-primary {
  background: var(--xexp-gradient);
  color: #fff !important;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(246,92,124,.25);
}
.xexp-btn-primary:hover {
  box-shadow: 0 4px 16px rgba(246,92,124,.35);
  opacity: .92;
}
.xexp-btn-secondary {
  background: transparent;
  color: var(--xexp-primary) !important;
  border-color: var(--xexp-border);
}
.xexp-btn-secondary:hover {
  border-color: var(--xexp-primary);
}
.xexp-btn-outline {
  background: transparent;
  color: var(--xexp-pink) !important;
  border-color: var(--xexp-pink);
}
.xexp-btn-outline:hover {
  background: var(--xexp-gradient);
  color: #fff !important;
  border-color: transparent;
}
.xexp-btn-block { width: 100%; text-align: center; }
.xexp-btn[disabled] { opacity: .45; cursor: not-allowed; }

/* ── Pricing section ─────────────────────────────────────────────────────── */

.xexp-pricing-section {
  background: var(--xexp-bg);
  border-top: 1px solid var(--xexp-border);
  padding: 64px 0;
}

.xexp-section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--xexp-primary);
  margin: 0 0 10px;
}
.xexp-section-title-center { text-align: center; }
.xexp-section-accent {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: var(--xexp-gradient);
  margin: 0 auto 12px;
}
.xexp-section-subtitle {
  text-align: center;
  color: var(--xexp-text-70);
  font-size: .9rem;
  margin-bottom: 40px;
}

.xexp-pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  max-width: 820px;
  margin: 0 auto;
}

.xexp-pricing-card {
  background: #fff;
  border: 1px solid var(--xexp-border);
  border-radius: var(--xexp-radius-lg);
  padding: 32px 28px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(0,0,0,.04);
  transition: box-shadow .3s ease, transform .3s ease;
}
.xexp-pricing-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  transform: translateY(-2px);
}

.xexp-pricing-featured {
  border-color: var(--xexp-pink);
  box-shadow: 0 0 0 1px var(--xexp-pink), 0 4px 16px rgba(246,92,124,.1);
}
.xexp-pricing-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--xexp-gradient);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  padding: 3px 14px;
  border-radius: var(--xexp-radius-full);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.xexp-pricing-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--xexp-primary);
  margin: 0 0 16px;
}
.xexp-pricing-price { margin-bottom: 20px; }
.xexp-pricing-currency {
  font-size: .95rem;
  color: var(--xexp-text-50);
  font-weight: 600;
  display: block;
  margin-bottom: 2px;
}
.xexp-pricing-amount {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--xexp-primary);
  line-height: 1;
}
.xexp-pricing-quote {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--xexp-text-50);
}

.xexp-pricing-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  flex: 1;
}
.xexp-pricing-features li {
  font-size: 1rem;
  color: var(--xexp-text-70);
  padding: 8px 0;
  border-bottom: 1px solid var(--xexp-border);
  line-height: 1.5;
}
.xexp-pricing-features li:last-child { border-bottom: none; }

.xexp-pricing-cta { margin-top: auto; }

/* ── Contact form ────────────────────────────────────────────────────────── */

.xexp-contact-section {
  background: var(--xexp-bg);
  padding: 64px 0 80px;
}
.xexp-form-section {
  background: var(--xexp-bg-alt);
  border: 1px solid var(--xexp-border);
  border-radius: var(--xexp-radius-lg);
  padding: 40px;
}
@media (max-width: 600px) { .xexp-form-section { padding: 24px 18px; } }

.xexp-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--xexp-primary);
  margin: 0 0 6px;
}
.xexp-form-subtitle {
  color: var(--xexp-text-70);
  font-size: .9rem;
  margin: 0 0 28px;
}

.xexp-form-row { margin-bottom: 16px; }
.xexp-form-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) { .xexp-form-2col { grid-template-columns: 1fr; } }

.xexp-form-group { display: flex; flex-direction: column; }
.xexp-form-group label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--xexp-primary);
  margin-bottom: 6px;
}
.xexp-form-group label span { color: var(--xexp-pink); }
.xexp-form-group input,
.xexp-form-group textarea {
  background: #fff;
  border: 1px solid var(--xexp-border);
  border-radius: var(--xexp-radius);
  color: var(--xexp-primary);
  font-size: .9rem;
  padding: 10px 14px;
  transition: border-color .2s, box-shadow .2s;
  font-family: var(--xexp-font);
  width: 100%;
}
.xexp-form-group input:focus,
.xexp-form-group textarea:focus {
  outline: none;
  border-color: var(--xexp-pink);
  box-shadow: 0 0 0 3px rgba(246,92,124,.1);
}

.xexp-form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}
.xexp-form-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 2px;
  accent-color: var(--xexp-pink);
  flex-shrink: 0;
  cursor: pointer;
}
.xexp-checkbox-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--xexp-primary);
}
.xexp-checkbox-hint {
  font-size: .85rem;
  color: var(--xexp-text-50);
  margin: 4px 0 0 30px;
}

.xexp-form-submit { margin-top: 12px; }
.xexp-form-submit .xexp-btn { font-size: 1rem; padding: 14px 32px; }

.xexp-form-message {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--xexp-radius);
  font-size: .875rem;
}
.xexp-form-message.success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
.xexp-form-message.error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* ── Lightbox ────────────────────────────────────────────────────────────── */

.xexp-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(10,10,15,.96);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.xexp-lightbox-img-wrap {
  max-width: calc(100vw - 120px);
  max-height: calc(100vh - 100px);
}
.xexp-lightbox-img-wrap img {
  max-width: 100%;
  max-height: calc(100vh - 100px);
  border-radius: var(--xexp-radius);
  object-fit: contain;
  transition: opacity .3s ease;
}

.xexp-lb-toolbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  z-index: 3;
}
.xexp-lb-counter {
  color: rgba(255,255,255,.6);
  font-size: .9rem;
  font-family: var(--xexp-font);
  font-weight: 600;
}
.xexp-lightbox-close {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.15);
  color: #fff;
  font-size: 1.1rem;
  width: 40px;
  height: 40px;
  border-radius: var(--xexp-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
}
.xexp-lightbox-close:hover { background: rgba(255,255,255,.2); }

.xexp-lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: var(--xexp-radius);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 2;
}
.xexp-lb-nav:hover { background: rgba(255,255,255,.18); }
.xexp-lb-prev { left: 20px; }
.xexp-lb-next { right: 20px; }
@media (max-width: 640px) {
  .xexp-lb-nav { width: 40px; height: 40px; }
  .xexp-lb-prev { left: 10px; }
  .xexp-lb-next { right: 10px; }
  .xexp-lightbox-img-wrap { max-width: calc(100vw - 20px); }
}

/* ── Empty + Pagination ──────────────────────────────────────────────────── */

.xexp-empty {
  text-align: center;
  color: var(--xexp-text-50);
  padding: 60px 24px;
}
.xexp-catalog-section .nav-links { margin-top: 40px; text-align: center; }
.xexp-catalog-section .page-numbers {
  display: inline-block;
  padding: 7px 13px;
  margin: 0 2px;
  border-radius: var(--xexp-radius);
  border: 1px solid var(--xexp-border);
  color: var(--xexp-text-70);
  text-decoration: none;
  font-size: .875rem;
  transition: all .2s;
}
.xexp-catalog-section .page-numbers.current,
.xexp-catalog-section .page-numbers:hover {
  border-color: var(--xexp-pink);
  color: var(--xexp-pink);
}


/* ── HERO OVERLAY (replica Firebase hero) ──────────────────────────────────── */

body.page-id-1605 .top_panel_title,
body.page-id-1635 .top_panel_title {
  display: none !important;
}

/* ── Gallery video slider ────────────────────────────────────────────────── */

.xexp-gallery-section {
  background: transparent;
  padding: 0;
}

.xexp-gallery-section .xexp-container {
  max-width: 100%;
  padding: 0;
}

.xexp-gallery-slide video {
  pointer-events: none;
}
.xexp-gallery-slide video::-webkit-media-controls,
.xexp-gallery-slide video::-webkit-media-controls-enclosure,
.xexp-gallery-slide video::-webkit-media-controls-panel,
.xexp-gallery-slide video::-webkit-media-controls-start-playback-button,
.xexp-gallery-slide video::-webkit-media-controls-overlay-play-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
}
.xexp-gallery-slide video::-moz-range-track {
  display: none !important;
}

.xexp-gallery-header {
  margin-bottom: 16px;
}

.xexp-gallery-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--xexp-primary);
  margin: 0;
}
@media (min-width: 768px) {
  .xexp-gallery-title { font-size: 30px; }
}

.xexp-gallery-accent {
  height: 4px;
  width: 40px;
  margin-top: 8px;
  border-radius: 2px;
  background: var(--xexp-gradient);
}

.xexp-gallery-slider {
  position: relative;
  overflow: hidden;
  border-radius: 0;
  box-shadow: none;
}

.xexp-gallery-track {
  display: flex;
  transition: transform 700ms ease-out;
}

.xexp-gallery-slide {
  min-width: 100%;
  background: #eef1f6;
}

.xexp-gallery-slide video {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: center;
  background: #eef1f6;
  transition: transform 700ms ease-out, opacity 700ms ease-out;
  transform: scale(0.988);
  opacity: .86;
}

.xexp-gallery-slide.active video {
  transform: scale(1);
  opacity: 1;
}

@media (min-width: 640px)  { .xexp-gallery-slide video { height: 380px; } }
@media (min-width: 768px)  { .xexp-gallery-slide video { height: 56vh; } }
@media (min-width: 1024px) { .xexp-gallery-slide video { height: 62vh; } }

.xexp-gallery-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,.08);
  background: rgba(255,255,255,.8);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s;
}
.xexp-gallery-btn:hover { background: #fff; }
.xexp-gallery-btn:disabled { opacity: .4; cursor: not-allowed; }
@media (min-width: 768px) { .xexp-gallery-btn { display: flex; } }

.xexp-gallery-prev { left: 8px; }
.xexp-gallery-next { right: 8px; }

.xexp-gallery-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 5;
}

.xexp-gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.9);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: all .25s;
}

.xexp-gallery-dot.active {
  width: 24px;
  border-radius: 6px;
  border-color: transparent;
  background: var(--xexp-gradient);
}

.xexp-gallery-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,.2);
  z-index: 6;
}
.xexp-gallery-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--xexp-gradient);
  transition: width .25s linear;
  border-radius: 0 2px 2px 0;
}

.xexp-gallery-cta-wrap {
  margin-top: 32px;
  text-align: center;
}

.xexp-btn-gallery-cta {
  display: inline-flex;
  align-items: center;
  padding: 13px 24px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 600;
  text-decoration: none !important;
  color: #fff !important;
  background: #24364F;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  transition: box-shadow .2s;
}
.xexp-btn-gallery-cta:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,.25);
  color: #fff !important;
}

/* Hero buttons hover */
.xexp-btn-hero-white:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important;
}
.xexp-btn-hero-primary:hover {
  opacity: 0.92;
}

/* ── Related experiences section ─────────────────────────────────────────── */

.xexp-related-section {
  background: var(--xexp-bg);
  padding: 56px 0 64px;
  border-top: 1px solid var(--xexp-border);
}

/* ── Sticky CTA mobile ──────────────────────────────────────────────────── */

.xexp-sticky-cta {
  display: none;
}

@media (max-width: 860px) {
  /* Full-width content on mobile */
  body.single-experiencia .content_wrap,
  body.single-experiencia .page_content_wrap .content_wrap {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
  }
  #xexp-single .xexp-container {
    padding: 0 16px;
  }
  #xexp-single .xexp-slider-wrap {
    margin-top: 8px;
  }

  /* Bigger text on mobile (+0.2rem) */
  .xexp-single-title { font-size: clamp(1.8rem, 5vw, 2.4rem); }
  .xexp-exp-description { font-size: 1.15rem; }
  .xexp-detail-bullets li { font-size: 1.1rem; }
  .xexp-info-title { font-size: 1.2rem !important; }
  .xexp-sidebar-row { font-size: 1.05rem; }
  .xexp-breadcrumbs { font-size: .95rem; }
  .xexp-pricing-features li { font-size: 1.1rem; }
  .xexp-form-group label { font-size: 1.1rem; }
  .xexp-form-group input,
  .xexp-form-group textarea { font-size: 1rem; }

  /* Filter buttons smaller on mobile */
  .xexp-filter-btn {
    padding: 8px 16px;
    font-size: .85rem;
  }

  /* Sticky CTA */
  .xexp-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--xexp-border);
    padding: 12px 16px;
    transform: translateY(100%);
    transition: transform .35s ease;
  }
  .xexp-sticky-cta.xexp-sticky-visible {
    transform: translateY(0);
  }
  .xexp-sticky-cta .xexp-btn {
    width: 100%;
    text-align: center;
    padding: 14px 24px;
    font-size: 1rem;
  }
}