.elementor-1004 .elementor-element.elementor-element-8b1bb2d{--display:flex;}.elementor-1004 .elementor-element.elementor-element-8b1bb2d:not(.elementor-motion-effects-element-type-background), .elementor-1004 .elementor-element.elementor-element-8b1bb2d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-6244969 );}.elementor-1004 .elementor-element.elementor-element-c925491 > .elementor-widget-container{padding:0px 20px 0px 0px;}.elementor-1004 .elementor-element.elementor-element-c925491{columns:1;text-align:justify;}.elementor-1004 .elementor-element.elementor-element-a1aab8d{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--row-gap:0px;--column-gap:0px;}.elementor-1004 .elementor-element.elementor-element-2d51e91{width:var( --container-widget-width, 32.187% );max-width:32.187%;--container-widget-width:32.187%;--container-widget-flex-grow:0;--item-text-hover-decoration:underline;}.elementor-1004 .elementor-element.elementor-element-2d51e91.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-1004 .elementor-element.elementor-element-2d51e91 .elementor-toc__header-title{text-align:start;}.elementor-1004 .elementor-element.elementor-element-2d51e91 .elementor-toc__header{flex-direction:row;}/* Start custom CSS for text-editor, class: .elementor-element-c925491 *//* ========= ENERGBLUE LEGAL PAGE CSS (v1) =========
   Uso: Aplica la clase 'eb-legal' al contenedor principal
   (sección/column en Elementor o wrapper de la página).
   Accesible, responsive, sin JS. 
=================================================== */

/* ---------- 1) Variables (ajusta colores/medidas) ---------- */
:root{
  --eb-bg: #ffffff;
  --eb-fg: #0f172a;          /* texto */
  --eb-muted: #475569;       /* texto secundario */
  --eb-brand: #0ea5e9;       /* azul EnergBlue (ajustable) */
  --eb-brand-2: #22d3ee;     /* cian/acento */
  --eb-line: #e2e8f0;        /* bordes */
  --eb-ok: #10b981;
  --eb-warn: #f59e0b;
  --eb-err: #ef4444;

  --eb-radius: 14px;
  --eb-radius-sm: 10px;
  --eb-shadow: 0 8px 24px rgba(2,6,23,0.06);
  --eb-max-w: 980px;

  --eb-h1: clamp(28px, 3.2vw, 42px);
  --eb-h2: clamp(22px, 2.4vw, 30px);
  --eb-h3: clamp(18px, 2vw, 24px);
  --eb-text: 17px;
  --eb-small: 14px;

  --eb-gap: 18px;
  --eb-gap-lg: 28px;
}

/* ---------- 2) Base ---------- */
.eb-legal{
  color: var(--eb-fg);
  background: var(--eb-bg);
  line-height: 1.65;
  font-size: var(--eb-text);
  max-width: var(--eb-max-w);
  margin: 0 auto;
  padding: 24px 18px 64px;
}
.eb-legal *{ box-sizing: border-box; }
.eb-legal p{ margin: 0 0 1em; color: var(--eb-fg); }
.eb-legal .muted{ color: var(--eb-muted); }
.eb-legal hr{ border:0; border-top:1px solid var(--eb-line); margin: 24px 0; }

/* ---------- 3) Headings con ancla ---------- */
.eb-legal h1,.eb-legal h2,.eb-legal h3{
  font-weight: 700;
  line-height: 1.25;
  scroll-margin-top: 96px; /* para sticky headers */
}
.eb-legal h1{ font-size: var(--eb-h1); margin: 6px 0 12px; }
.eb-legal h2{ font-size: var(--eb-h2); margin: 28px 0 10px; padding-top: 6px; }
.eb-legal h3{ font-size: var(--eb-h3); margin: 20px 0 8px; }
.eb-legal .eb-anchor{
  position: relative;
}
.eb-legal .eb-anchor a.anchor-link{
  text-decoration: none; color: var(--eb-brand); opacity: 0; 
  margin-left: 8px; font-weight: 600;
}
.eb-legal .eb-anchor:hover a.anchor-link{ opacity: 1; }

/* ---------- 4) Cards / Secciones ---------- */
.eb-card{
  border:1px solid var(--eb-line);
  border-radius: var(--eb-radius);
  box-shadow: var(--eb-shadow);
  padding: 18px;
  background: #fff;
}
.eb-section{ margin-bottom: var(--eb-gap-lg); }

/* ---------- 5) TOC lateral (desktop) ---------- */
@media (min-width: 1100px){
  .eb-legal-wrap{
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    align-items: start;
  }
  .eb-toc{
    position: sticky;
    top: 100px;
    border:1px solid var(--eb-line);
    border-radius: var(--eb-radius);
    padding: 14px;
    background: #fff;
    box-shadow: var(--eb-shadow);
  }
}
.eb-toc h4{
  margin: 0 0 8px; font-size: 15px; letter-spacing:.3px; text-transform:uppercase;
  color: var(--eb-muted);
}
.eb-toc ul{ list-style:none; margin:0; padding:0; }
.eb-toc li{ margin: 6px 0; }
.eb-toc a{
  display:block; padding: 8px 10px; border-radius: 10px;
  text-decoration:none; color: var(--eb-fg); border:1px solid transparent;
}
.eb-toc a:hover{ border-color: var(--eb-line); background: #f8fafc; }
.eb-toc .active{ border-color: var(--eb-brand); background:#eef9ff; }

/* ---------- 6) Listas / tablas ---------- */
.eb-legal ul{ padding-left: 20px; }
.eb-legal li{ margin: 6px 0; }
.eb-legal table{
  width:100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 16px;
}
.eb-legal th, .eb-legal td{
  border:1px solid var(--eb-line); padding: 12px 10px; text-align: left;
}
.eb-legal thead th{ background: #f8fafc; font-weight: 700; }

/* ---------- 7) Alertas ---------- */
.eb-alert{
  border-radius: var(--eb-radius-sm);
  border-left: 6px solid var(--eb-brand);
  background: #f0f9ff;
  padding: 12px 14px;
  margin: 12px 0;
}
.eb-alert.ok{ border-left-color: var(--eb-ok); background: #ecfdf5; }
.eb-alert.warn{ border-left-color: var(--eb-warn); background: #fffbeb; }
.eb-alert.err{ border-left-color: var(--eb-err); background: #fef2f2; }

/* ---------- 8) Acordeones (sin JS) ---------- */
.eb-accordion details{
  border:1px solid var(--eb-line);
  border-radius: var(--eb-radius);
  background: #fff;
  margin: 10px 0;
  box-shadow: var(--eb-shadow);
}
.eb-accordion summary{
  list-style: none; cursor: pointer; padding: 14px 16px; font-weight:600;
  position: relative;
}
.eb-accordion summary::-webkit-details-marker{ display:none; }
.eb-accordion summary:after{
  content:"▾"; position:absolute; right:14px; top: 50%; transform: translateY(-50%) rotate(0deg);
  transition: transform .2s ease;
}
.eb-accordion details[open] summary:after{ transform: translateY(-50%) rotate(-180deg); }
.eb-accordion .content{ padding: 0 16px 16px; }

/* ---------- 9) Tabs bilingües (CSS-only) ---------- */
/* Requiere estructura de inputs radio + labels + panels (ver snippet HTML) */
.eb-tabs{ margin: 14px 0 24px; }
.eb-tabs .tab-labels{
  display:flex; gap: 8px; flex-wrap: wrap;
}
.eb-tabs input[type="radio"]{ display:none; }
.eb-tabs label{
  padding: 10px 14px; border:1px solid var(--eb-line); border-radius: 999px;
  cursor:pointer; user-select:none; background: #fff;
}
.eb-tabs input:checked + label{
  border-color: var(--eb-brand); box-shadow: 0 0 0 3px rgba(14,165,233,.15);
}
.eb-tabs .tab-panels{ margin-top: 12px; }
.eb-tab-panel{ display:none; }
#eb-tab-es:checked ~ .tab-panels #panel-es{ display:block; }
#eb-tab-en:checked ~ .tab-panels #panel-en{ display:block; }

/* ---------- 10) Enlaces / botones ---------- */
.eb-legal a{ color: var(--eb-brand); }
.eb-cta{
  display:inline-block; padding:12px 16px; border-radius: 12px; border:1px solid var(--eb-brand);
  text-decoration:none; font-weight:600; transition: all .15s ease;
}
.eb-cta:hover{ background: var(--eb-brand); color: #fff; }

/* ---------- 11) Bloques destacados ---------- */
.eb-badge{
  display:inline-flex; align-items:center; gap:8px; 
  padding:6px 10px; border-radius:999px; background:#eef9ff; border:1px solid var(--eb-brand);
  font-size: 13px; font-weight:600; color: var(--eb-fg);
}

/* ---------- 12) Footer de política ---------- */
.eb-legal .eb-meta{
  margin-top: 36px; font-size: var(--eb-small); color: var(--eb-muted);
  border-top:1px solid var(--eb-line); padding-top:10px;
}

/* ---------- 13) Accesibilidad y foco ---------- */
.eb-legal a:focus,
.eb-legal button:focus,
.eb-legal summary:focus{
  outline: 3px solid rgba(14,165,233,.35);
  outline-offset: 2px;
  border-radius: 10px;
}

/* ---------- 14) Modo oscuro (opcional por preferencia del usuario) ---------- */
@media (prefers-color-scheme: dark){
  :root{
    --eb-bg: #0b1220;
    --eb-fg: #e5e7eb;
    --eb-muted: #94a3b8;
    --eb-line: #1f2937;
    --eb-shadow: 0 8px 24px rgba(0,0,0,.35);
  }
  .eb-card, .eb-toc, .eb-accordion details, .eb-legal{ background: #0b1220; }
  .eb-legal table thead th{ background: #0f172a; }
  .eb-legal a{ color: #67e8f9; }
  .eb-tabs label{ background:#0b1220; }
}

/* ---------- 15) Print friendly ---------- */
@media print{
  .eb-toc{ display:none !important; }
  .eb-cta,.eb-badge{ display:none !important; }
  .eb-legal{ padding: 0; }
  a[href]:after{ content:" (" attr(href) ")"; font-size: 12px; color:#64748b; }
}

/* Forzar fondo blanco en secciones legales */

/* === ESTILO CLÁSICO LEGAL PAGE (ENERGBLUE CLEAN MODE) === */
.eb-legal {
  background-color: #ffffff !important;
  color: #000000 !important;
}

.eb-legal p,
.eb-legal li,
.eb-legal td,
.eb-legal th {
  color: #000000 !important;
}

/* Encabezados */
.eb-legal h1,
.eb-legal h2,
.eb-legal h3,
.eb-legal h4 {
  color: #002b5c !important;
  font-weight: 700;
}

/* Bullets */
.eb-legal ul {
  list-style-type: disc;
  color: #000000 !important;
}

.eb-legal li::marker {
  color: #000000 !important;
}

/* Enlaces */
.eb-legal a {
  color: #002b5c !important;
  text-decoration: underline;
}

/* Tablas (si las usas) */
.eb-legal table,
.eb-legal th,
.eb-legal td {
  border-color: #d1d5db !important;
  color: #000000 !important;
  background-color: #ffffff !important;
}

/* Quita modo oscuro forzado */
@media (prefers-color-scheme: dark) {
  .eb-legal {
    background-color: #ffffff !important;
    color: #000000 !important;
  }
  .eb-legal h1,
  .eb-legal h2,
  .eb-legal h3,
  .eb-legal h4 {
    color: #002b5c !important;
  }
}/* End custom CSS */