/* ================================================================
   lpb-styles.css — AI Landing Builder v4.1
   CSS ÚNICO consolidado. Reemplaza lpb-core.css, lpb-grid.css
   y responsive-fix.css.
   
   INSTRUCCIÓN: en index.php y admin/index.php reemplaza los 3 
   links de CSS por uno solo:
   <link rel="stylesheet" href="/assets/css/lpb-styles.css">
   ================================================================ */

/* ── 1. RESET BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-x: hidden;
}

body:not(.lpb-has-theme-css) { background: #fff; }

img, video, iframe, svg, canvas, embed, object {
  max-width: 100%;
  display: block;
}
img    { height: auto; }
video  { height: auto; aspect-ratio: 16/9; object-fit: cover; }

h1, h2, h3, h4, h5, h6 { margin: 0 0 0.75em; line-height: 1.2; font-weight: 700; }
p      { margin: 0 0 1em; }
a      { color: inherit; }
ul, ol { padding-left: 1.5em; margin: 0 0 1em; }
table  { width: 100%; border-collapse: collapse; }

/* ── 2. SISTEMA DE GRID ───────────────────────────────────── */
/* Todas las clases .lpb-grid usan display:grid — sin inline style */

.lpb-grid {
  display: grid;
  gap: 1.5rem;
  width: 100%;
}

.lpb-grid > * {
  min-width: 0;
  box-sizing: border-box;
}

/* Columnas numéricas — usadas por grid() helper */
.lpb-grid--1 { grid-template-columns: 1fr; }
.lpb-grid--2 { grid-template-columns: repeat(2, 1fr); }
.lpb-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lpb-grid--4 { grid-template-columns: repeat(4, 1fr); }
.lpb-grid--5 { grid-template-columns: repeat(5, 1fr); }
.lpb-grid--6 { grid-template-columns: repeat(6, 1fr); }

/* Grids semánticos */
.lpb-hero-grid    { display: grid; gap: 3rem; grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.lpb-contact-grid { display: grid; gap: 3rem; grid-template-columns: 1fr 1.2fr; align-items: start; }
.lpb-gallery-grid { display: grid; gap: 1rem; grid-template-columns: repeat(3, 1fr); }
.lpb-logo-grid    { display: grid; gap: 1.5rem; grid-template-columns: repeat(4, 1fr); align-items: center; }

/* Grids de secciones nuevas — sin inline style */
.lpb-blog-grid {
  display: grid;
  gap: 1.75rem;
}
.lpb-blog-grid--1 { grid-template-columns: 1fr; }
.lpb-blog-grid--2 { grid-template-columns: repeat(2, 1fr); }
.lpb-blog-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lpb-blog-grid--4 { grid-template-columns: repeat(4, 1fr); }

.lpb-album-grid { gap: 1rem; }
.lpb-album-grid--1 { columns: 1; }
.lpb-album-grid--2 { columns: 2; }
.lpb-album-grid--3 { columns: 3; }
.lpb-album-grid--4 { columns: 4; }

.lpb-product-grid    { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.lpb-product-features { display: grid; gap: 1rem; }
.lpb-checkout-grid   { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 1.75rem; align-items: start; }
.lpb-signin-wrapper  { max-width: 440px; margin: auto; }

.lpb-checklist-grid    { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: center; }
.lpb-location-grid     { display: grid; gap: 2rem; grid-template-columns: 1fr 1.5fr; align-items: start; }
.lpb-appdownload-grid  { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: center; }
.lpb-ebook-grid        { display: grid; gap: 3rem; grid-template-columns: 1.2fr 1fr; align-items: center; }
.lpb-demo-grid         { display: grid; gap: 3rem; grid-template-columns: 1fr 1fr; align-items: start; }
.lpb-countdown-timer   { flex-wrap: wrap; gap: 10px; }

.lpb-pricing2-grid    { display:grid; gap:24px; grid-template-columns:1fr 1fr; max-width:800px; margin:0 auto; }
.lpb-pricing3-grid    { display:grid; gap:20px; grid-template-columns:repeat(3,1fr); }
.lpb-socialstats-grid { display:grid; gap:24px; grid-template-columns:repeat(4,1fr); text-align:center; }
.lpb-testimonials-grid{ display:grid; gap:20px; grid-template-columns:repeat(3,1fr); }
.lpb-featicons-grid   { display:grid; gap:24px; grid-template-columns:repeat(3,1fr); }
.lpb-numbersbar-grid  { display:grid; gap:20px; grid-template-columns:1fr 1fr; }
.lpb-numbersdark-grid { display:grid; gap:20px; grid-template-columns:repeat(4,1fr); }
.lpb-footercol-grid   { display:grid; gap:40px; grid-template-columns:2fr 1fr 1fr 1fr; }
.lpb-processh-grid    { display:grid; gap:24px; grid-template-columns:repeat(4,1fr); position:relative; }
.lpb-galleryfull-grid { display:grid; gap:4px; grid-template-columns:2fr 1fr 1fr; grid-template-rows:300px 300px; }
.lpb-masonry-grid     { display:grid; gap:16px; grid-template-columns:repeat(3,1fr); grid-auto-rows:220px; }
.lpb-navcenter-grid   { display:grid; grid-template-columns:1fr auto 1fr; align-items:center; gap:16px; }
.lpb-signin-grid      { display:grid; gap:24px; grid-template-columns:1fr 1fr; }
.lpb-checkout-grid-2  { display:grid; gap:24px; grid-template-columns:1fr 1fr; }

.lpb-newsletter-form {
  display: flex;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 8px 8px 8px 20px;
  box-shadow: 0 4px 20px rgba(15,23,42,.08);
  margin-bottom: 1rem;
}
.lpb-newsletter-form input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  background: transparent;
  color: #0f172a;
  min-width: 0;
}

.lpb-timeline-row {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
  position: relative;
}
.lpb-timeline-row--normal  { flex-direction: row; }
.lpb-timeline-row--reverse { flex-direction: row-reverse; }
.lpb-timeline-content      { flex: 1; min-width: 0; }
.lpb-timeline-row--normal  .lpb-timeline-content { text-align: right; }
.lpb-timeline-row--reverse .lpb-timeline-content { text-align: left; }
.lpb-timeline-line { /* línea central — se oculta en móvil */ }

.lpb-process-grid {
  display: grid;
  gap: 0;
  position: relative;
}
.lpb-process-grid--1 { grid-template-columns: 1fr; }
.lpb-process-grid--2 { grid-template-columns: repeat(2, 1fr); }
.lpb-process-grid--3 { grid-template-columns: repeat(3, 1fr); }
.lpb-process-grid--4 { grid-template-columns: repeat(4, 1fr); }
.lpb-process-line {
  position: absolute;
  top: 28px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #2563eb, #e2e8f0);
  z-index: 0;
}

/* ── 3. SECCIONES ─────────────────────────────────────────── */
.lpb-section {
  padding: 80px 6%;
  width: 100%;
  box-sizing: border-box;
}

/* Colores de fondo por tipo */
.lpb-hero         { background: #f8fafc; }
.lpb-features     { background: #fff; }
.lpb-benefits     { background: #f8fafc; }
.lpb-services     { background: #f8fafc; }
.lpb-cards        { background: #fff; }
.lpb-gallery      { background: #fff; }
.lpb-testimonials { background: #f1f5f9; }
.lpb-pricing      { background: #fff; }
.lpb-faq          { background: #f8fafc; }
.lpb-contact      { background: #fff; }
.lpb-stats        { background: #1e293b; color: #fff; }
.lpb-video        { background: #0f172a; color: #fff; }
.lpb-team         { background: #fff; }
.lpb-comparison,
.lpb-compare      { background: #f8fafc; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.lpb-blog         { background: #fff; }
.lpb-album        { background: #f8fafc; }
.lpb-product      { background: #fff; }
.lpb-cover        { background: #0f172a; color: #fff; }
.lpb-newsletter   { background: #f8fafc; }
.lpb-timeline     { background: #fff; }
.lpb-signin       { background: #f8fafc; }
.lpb-checkout     { background: #fff; }

/* ── 4. HEADER ────────────────────────────────────────────── */
.lpb-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  padding: 0 6%;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}

.lpb-header-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 68px;
  max-width: 1180px;
  margin: auto;
}

.lpb-logo {
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
  color: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.lpb-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.lpb-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  color: #475569;
  transition: color .15s;
}
.lpb-nav a:hover   { color: #0f172a; }
.lpb-header-cta    { flex-shrink: 0; }
.lpb-nav-check     { display: none; }
.lpb-nav-toggle    { display: none; cursor: pointer; font-size: 1.4rem; background: none; border: none; padding: 4px; }

/* ── 5. FOOTER ────────────────────────────────────────────── */
.lpb-footer {
  background: #0f172a;
  color: #94a3b8;
  padding: 64px 6% 40px;
}
.lpb-footer > div  { max-width: 1180px; margin: auto; }
.lpb-footer h3     { color: #f1f5f9; margin-bottom: 0.75rem; }
.lpb-footer a      { color: #94a3b8; text-decoration: none; }
.lpb-footer a:hover { color: #f1f5f9; }

/* ── 6. BOTÓN ─────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 12px 28px;
  background: #2563eb;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s, transform .1s;
  white-space: nowrap;
}
.btn-primary:hover  { background: #1d4ed8; transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }

/* ── 7. FORMULARIO ────────────────────────────────────────── */
.lpb-form          { display: grid; gap: 1rem; }
.lpb-form-card     { background: #fff; border: 1px solid #e2e8f0; border-radius: 16px; padding: 2rem; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.lpb-form-field    { display: flex; flex-direction: column; gap: 6px; }
.lpb-form-field span { font-size: 0.85rem; font-weight: 600; color: #475569; }

.lpb-form input,
.lpb-form textarea,
.lpb-form select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  color: #1e293b;
  background: #f8fafc;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}
.lpb-form input:focus,
.lpb-form textarea:focus { border-color: #2563eb; background: #fff; }
.lpb-form textarea       { resize: vertical; min-height: 120px; }
.lpb-honeypot,
.lpb-form .lpb-honeypot {
  position: absolute !important;
  left: -100000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* ── 8. COMPONENTES POR SECCIÓN ───────────────────────────── */

/* Stats */
.lpb-stats .lpb-grid > div { text-align: center; padding: 1rem; }
.lpb-stats strong           { display: block; font-size: 2.5rem; font-weight: 800; color: #fff; }

/* Testimonios */
.lpb-testimonials blockquote {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 0;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.lpb-testimonials blockquote p      { font-style: italic; color: #475569; }
.lpb-testimonials blockquote strong { display: block; margin-top: 1rem; font-size: .9rem; }

/* Galería */
.lpb-gallery-grid figure     { margin: 0; }
.lpb-gallery-grid img        { width: 100%; border-radius: 10px; object-fit: cover; }
.lpb-gallery-grid figcaption { margin-top: 0.5rem; font-size: 0.85rem; color: #64748b; }

/* Precios */
.lpb-pricing .lpb-grid > div {
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}
.lpb-pricing strong { display: block; font-size: 2rem; font-weight: 800; margin: 1rem 0; }

/* FAQ */
.lpb-faq details {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
  background: #fff;
}
.lpb-faq summary {
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.lpb-faq summary::-webkit-details-marker { display: none; }
.lpb-faq summary::after                  { content: '+'; font-size: 1.25rem; color: #94a3b8; }
.lpb-faq details[open] summary::after    { content: '−'; }
.lpb-faq details p                       { margin-top: 0.75rem; color: #475569; }

/* Video */
.lpb-video > div > div {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  max-width: 900px;
  margin: 2rem auto 0;
}
.lpb-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Equipo */
.lpb-team article { text-align: center; }
.lpb-team img     { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin: 0 auto 1rem; }

/* Comparativa */
.lpb-comparison table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.lpb-comparison th,
.lpb-comparison td         { padding: 12px 16px; border-bottom: 1px solid #f1f5f9; text-align: center; font-size: 0.95rem; }
.lpb-comparison th         { background: #f8fafc; font-weight: 700; color: #1e293b; }
.lpb-comparison tr:last-child td { border-bottom: none; }

/* ── 9. RESPONSIVE ════════════════════════════════════════════

   REGLA: sin !important excepto donde sea estrictamente
   necesario para ganar a estilos inline residuales.
   Un solo bloque por breakpoint.
   ══════════════════════════════════════════════════════════ */

/* ── Tablet: 769 – 1024px ─────────────────────────────────── */
@media (max-width: 1024px) {

  .lpb-section { padding: 64px 5%; }

  /* Grids numéricos: 3+ columnas → 2 */
  .lpb-grid--3,
  .lpb-grid--4,
  .lpb-grid--5,
  .lpb-grid--6 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Blog: 3-4 columnas → 2 */
  .lpb-blog-grid--3,
  .lpb-blog-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Grids semánticos */
  .lpb-gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .lpb-logo-grid    { grid-template-columns: repeat(2, 1fr); }

  /* Checkout */
  .lpb-checkout-grid { grid-template-columns: 1fr; }
}

/* ── Móvil: ≤ 768px ───────────────────────────────────────── */
@media (max-width: 768px) {

  /* Secciones */
  .lpb-section  { padding: 48px 20px; }
  .lpb-footer   { padding: 48px 20px 32px; }

  /* ── Header móvil ── */
  .lpb-header        { padding: 0 20px; }
  .lpb-header-inner  { height: auto; min-height: 68px; padding: 12px 0; position: relative; }
  .lpb-nav-toggle    { display: flex !important; align-items: center; justify-content: center; order: 3; }
  .lpb-header-cta    { order: 2; }

  .lpb-header .lpb-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    max-width: 100%;
  }

  .lpb-header .lpb-logo-img {
    max-width: 48px !important;
    max-height: 48px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    flex-shrink: 0;
  }

  .lpb-header .lpb-logo-text {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    white-space: normal;
  }

  .lpb-nav {
    display: none;
    position: fixed;
    top: 68px; left: 0; right: 0;
    z-index: 9999;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    border-bottom: 1px solid #e2e8f0;
    border-radius: 12px;
    box-sizing: border-box;
    width: 100%;
  }
  .lpb-nav.open,
  .lpb-nav-check:checked ~ .lpb-nav {
    display: flex;
    visibility: visible;
    opacity: 1;
    height: auto;
  }

  .lpb-header .lpb-nav a {
    display: block;
    padding: 10px 12px;
    border-radius: 10px;
    text-align: left;
    font-size: 16px;
    color: #475569 !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    position: relative !important;
    z-index: 1;
    text-decoration: none;
  }

  .lpb-header .lpb-nav a.btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 42px;
    text-align: center;
    color: #fff !important;
  }

  .lpb-header-transparent .lpb-nav {
    background: #fff;
  }

  .lpb-header-centered .lpb-nav {
    border-top: 0 !important;
    justify-content: flex-start !important;
  }

  .lpb-navcenter-grid {
    grid-template-columns: 1fr auto !important;
  }

  .lpb-header .lpb-header-cta a,
  .lpb-header a.lpb-header-cta {
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
  }

  /* ── Todos los grids → 1 columna ── */
  .lpb-grid,
  .lpb-grid--2,
  .lpb-grid--3,
  .lpb-grid--4,
  .lpb-grid--5,
  .lpb-grid--6 {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lpb-grid > * {
    grid-column: 1 / -1;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lpb-grid[style*="grid-template-columns"],
  .lpb-checklist-grid[style*="grid-template-columns"],
  .lpb-gallery-grid[style*="grid-template-columns"],
  .lpb-grid--asymmetric[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lpb-section [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lpb-section [style*="grid-template-columns"] > * {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Grids semánticos */
  .lpb-hero-grid,
  .lpb-contact-grid,
  .lpb-gallery-grid,
  .lpb-logo-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Blog */
  .lpb-blog-grid,
  .lpb-blog-grid--2,
  .lpb-blog-grid--3,
  .lpb-blog-grid--4 {
    grid-template-columns: 1fr;
  }

  /* Album */
  .lpb-album-grid,
  .lpb-album-grid--2,
  .lpb-album-grid--3,
  .lpb-album-grid--4 {
    columns: 1;
    column-count: 1;
  }

  /* Product */
  .lpb-product-grid,
  .lpb-product-features {
    grid-template-columns: 1fr;
  }

  /* Checkout */
  .lpb-checkout-grid { grid-template-columns: 1fr; }

  /* Secciones nuevas: Checklist, Location, App Download, eBook, Demo Request */
  .lpb-checklist-grid,
  .lpb-location-grid,
  .lpb-appdownload-grid,
  .lpb-ebook-grid,
  .lpb-demo-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .lpb-demo-grid { align-items: stretch; }

  .lpb-pricing2-grid,
  .lpb-pricing3-grid,
  .lpb-socialstats-grid,
  .lpb-testimonials-grid,
  .lpb-featicons-grid,
  .lpb-numbersbar-grid,
  .lpb-numbersdark-grid,
  .lpb-footercol-grid,
  .lpb-processh-grid,
  .lpb-galleryfull-grid,
  .lpb-masonry-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .lpb-signin-grid,
  .lpb-checkout-grid-2 {
    grid-template-columns: 1fr;
  }

  /* Signin */
  .lpb-signin-wrapper { max-width: 100%; }

  /* Newsletter */
  .lpb-newsletter-form          { flex-direction: column; padding: 16px; }
  .lpb-newsletter-form input    { width: 100%; }
  .lpb-newsletter-form button   { width: 100%; margin-top: 8px; }

  .lpb-section input,
  .lpb-section select,
  .lpb-section textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .lpb-section button {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Timeline */
  .lpb-timeline-row,
  .lpb-timeline-row--normal,
  .lpb-timeline-row--reverse {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .lpb-timeline-content,
  .lpb-timeline-row--normal  .lpb-timeline-content,
  .lpb-timeline-row--reverse .lpb-timeline-content {
    text-align: left;
    width: 100%;
    flex: none;
  }
  .lpb-timeline-line { display: none; }

  /* Process */
  .lpb-process-grid,
  .lpb-process-grid--2,
  .lpb-process-grid--3,
  .lpb-process-grid--4 {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .lpb-process-line { display: none; }

  /* Cover */
  .lpb-cover { min-height: auto; padding-top: 60px; padding-bottom: 60px; }

  /* Comparison */
  .lpb-comparison,
  .lpb-compare {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .lpb-comparison table,
  .lpb-compare table {
    min-width: 480px;
  }

  /* Footer */
  .lpb-footer .lpb-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Tipografía fluida */
  h1 { font-size: clamp(28px, 8vw, 48px); line-height: 1.15; }
  h2 { font-size: clamp(22px, 6vw, 36px); line-height: 1.2; }
  h3 { font-size: clamp(18px, 5vw, 26px); line-height: 1.25; }

  /* Imágenes */
  img { width: 100%; max-width: 100%; height: auto; }

  /* Iframes */
  iframe { width: 100%; height: auto; aspect-ratio: 16/9; }
}

@media(max-width:600px){
  .lpb-table-scroll-hint {
    display: block !important;
  }
}

/* ── Móvil pequeño: ≤ 480px ───────────────────────────────── */
@media (max-width: 480px) {
  .lpb-section  { padding: 40px 16px; }
  .lpb-footer   { padding: 40px 16px 32px; }

  .lpb-header-minimal .lpb-header-inner {
    grid-template-columns: 1fr !important;
  }

  .lpb-header-minimal .lpb-header-cta {
    grid-column: 1 !important;
    width: 100%;
    display: flex !important;
    justify-content: center !important;
  }

  .lpb-countdown-timer > div {
    min-width: 60px;
    padding: 12px;
  }
  .lpb-countdown-timer > div > div:first-child {
    font-size: 32px;
  }

  .lpb-galleryfull-grid {
    grid-template-rows: auto;
  }
  .lpb-masonry-grid {
    grid-auto-rows: auto;
  }
}

/* ── Overlay de color sobre imagen de fondo ──────────────────── */
.lpb-section, .lpb-footer { position: relative; }
.lpb-section::before, .lpb-header::before, .lpb-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--overlay-color, transparent);
  pointer-events: none;
  z-index: 0;
}
.lpb-section > *, .lpb-header > *, .lpb-footer > * { position: relative; z-index: 1; }

/* ── Layout global controlado por variables ── */
:root {
  --lpb-site-max-width: 1180px;
  --lpb-site-padding-h: 6%;
  --lpb-section-padding-v: 96px;
}

/* Contenedor interno de cada sección (incluye header/footer, que no usan .lpb-section como raíz) */
.lpb-section > .lpb-inner, .lpb-header > .lpb-inner, .lpb-footer > .lpb-inner {
  max-width: var(--lpb-site-max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* Padding horizontal de la sección */
.lpb-section {
  padding-left: var(--lpb-site-padding-h);
  padding-right: var(--lpb-site-padding-h);
}

.lpb-gallery-grid .ha-item {
  border-radius: 12px;
  overflow: hidden;
  background: #f1f5f9;
}

.lpb-gallery-grid .ha-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* FAQ */
.lpb-faq-item > summary {
  list-style: none;
}
.lpb-faq-item > summary::-webkit-details-marker {
  display: none;
}
.lpb-faq-item > summary::marker {
  display: none;
}
.lpb-faq-item[open] .lpb-faq-icon {
  transform: rotate(45deg);
  opacity: .8;
}

/* Logo header */
.lpb-logo-img[src]:not([src=""]) {
  display: block !important;
}
.lpb-logo-img[src]:not([src=""]) + .lpb-logo-text {
  display: none;
}
