
/* shared: tokens.css */
/* ============================================================================
   TOKENS DE DISEÑO --lp-* (defaults canónicos del sistema de bloques)
   ----------------------------------------------------------------------------
   Capa 1 (este fichero): defaults neutros en :root, emitidos ANTES del CSS
   global / brand kit. Cualquier redefinición posterior (BFMETA_LANDING_CSS_GLOBAL,
   brand kit, :root del tema del builder o .lp-container) gana SIEMPRE a estos
   defaults: misma o mayor especificidad y aparece después en la cascada.
   Valores = fallback dominante cosechado de los 117 bloques (2026-08-02).
   Los tokens específicos de un bloque (--lp-reviews-*, --lp-team-*, …) NO van
   aquí: los define su propio bloque o el editor vía estilos inline.
   ============================================================================ */

/* Guard de accesibilidad: el atributo hidden SIEMPRE oculta, aunque el CSS del
   bloque defina display (flex/grid). Sin esto, overlays con display propio
   (lightbox de gallery, popups, back-to-top…) quedan visibles al cargar. */
[hidden] {
	display: none !important;
}

:root {
	/* Color de marca */
	--lp-primary: #3b82f6;
	--lp-primary-dark: #2563eb;
	--lp-primary-light: #93c5fd;
	--lp-primary-alpha: rgba(59, 130, 246, 0.1);
	--lp-secondary: #8b5cf6;
	--lp-accent: #ec4899;
	--lp-success: #10b981;
	--lp-error: #ef4444;

	/* Texto */
	--lp-text: #1f2937;
	--lp-text-primary: #1f2937;
	--lp-text-secondary: #6b7280;
	--lp-text-tertiary: #9ca3af;
	--lp-text-muted: #6b7280;
	--lp-text-light: #6b7280;
	--lp-text-dark: #1f2937;
	--lp-link-color: var(--lp-primary);
	--lp-link-hover-color: var(--lp-primary-dark);

	/* Fondos y bordes */
	--lp-bg: #ffffff;
	--lp-bg-primary: #ffffff;
	--lp-bg-secondary: #f9fafb;
	--lp-bg-light: #f9fafb;
	--lp-bg-soft: #f9fafb;
	--lp-bg-tertiary: #f3f4f6;
	--lp-border: #e5e7eb;
	--lp-border-color: #e5e7eb;
	--lp-border-dark: #d1d5db;
	--lp-gray-200: #e5e7eb;

	/* Espaciado */
	--lp-space-xs: 8px;
	--lp-space-sm: 12px;
	--lp-space-md: 16px;
	--lp-space-lg: 24px;
	--lp-space-xl: 40px;
	--lp-space-2xl: 60px;
	--lp-space-3xl: 80px;
	--lp-space-4xl: 120px;

	/* Radios */
	--lp-radius: 8px;
	--lp-radius-md: 8px;
	--lp-radius-lg: 12px;
	--lp-radius-xl: 18px;
	--lp-radius-full: 9999px;

	/* Tipografía */
	--lp-font-sans: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	--lp-font-size-xs: 0.75rem;
	--lp-font-size-sm: 0.95rem;
	--lp-font-size-md: 1.05rem;
	--lp-font-weight-bold: 600;
	--lp-font-weight-black: 950;
	--lp-line-height-tight: 1.12;
	--lp-line-height-relaxed: 1.7;

	/* Layout */
	--lp-container: 1200px;
	--lp-container-max: 1200px;
	--lp-container-width: 1200px;
	--lp-max-width: 1200px;

	/* Efectos */
	--lp-shadow-hover: 0 14px 40px rgba(0, 0, 0, 0.10);
	--lp-hover-lift: -3px;
	--lp-hover-scale: 1.04;
	--lp-transition-duration: 0.2s;
}

/* shared: utilities.css */
/* Utilidades compartidas del sistema de bloques */

/* Texto solo para lectores de pantalla */
.lp-sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}



:root{--lp-primary:#3b82f6;--lp-primary-dark:#2563eb;--lp-primary-light:#60a5fa;--lp-secondary:#8b5cf6;--lp-secondary-dark:#7c3aed;--lp-secondary-light:#a78bfa;--lp-success:#10b981;--lp-warning:#f59e0b;--lp-danger:#ef4444;--lp-info:#06b6d4;--lp-white:#ffffff;--lp-gray-50:#f9fafb;--lp-gray-100:#f3f4f6;--lp-gray-200:#e5e7eb;--lp-gray-300:#d1d5db;--lp-gray-400:#9ca3af;--lp-gray-500:#6b7280;--lp-gray-600:#4b5563;--lp-gray-700:#374151;--lp-gray-800:#1f2937;--lp-gray-900:#111827;--lp-black:#000000;--lp-font-sans:system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,'Helvetica Neue',Arial,sans-serif;--lp-font-serif:Georgia,Cambria,'Times New Roman',Times,serif;--lp-font-mono:'Courier New',Courier,monospace;--lp-text-xs:0.75rem;--lp-text-sm:0.875rem;--lp-text-base:1rem;--lp-text-lg:1.125rem;--lp-text-xl:1.25rem;--lp-text-2xl:1.5rem;--lp-text-3xl:1.875rem;--lp-text-4xl:2.25rem;--lp-text-5xl:3rem;--lp-space-1:0.25rem;--lp-space-2:0.5rem;--lp-space-3:0.75rem;--lp-space-4:1rem;--lp-space-5:1.25rem;--lp-space-6:1.5rem;--lp-space-8:2rem;--lp-space-10:2.5rem;--lp-space-12:3rem;--lp-space-16:4rem;--lp-radius-sm:0.25rem;--lp-radius:0.5rem;--lp-radius-lg:1rem;--lp-radius-full:9999px;--lp-shadow-sm:0 1px 2px 0 rgba(0,0,0,0.05);--lp-shadow:0 1px 3px 0 rgba(0,0,0,0.1),0 1px 2px 0 rgba(0,0,0,0.06);--lp-shadow-md:0 4px 6px -1px rgba(0,0,0,0.1),0 2px 4px -1px rgba(0,0,0,0.06);--lp-shadow-lg:0 10px 15px -3px rgba(0,0,0,0.1),0 4px 6px -2px rgba(0,0,0,0.05);--lp-shadow-xl:0 20px 25px -5px rgba(0,0,0,0.1),0 10px 10px -5px rgba(0,0,0,0.04);--lp-transition:all 0.3s ease;--lp-transition-fast:all 0.15s ease;}.lp-container *{box-sizing:border-box;margin:0;padding:0;}.lp-container{width:100%;max-width:1200px;margin:0 auto;padding:0 var(--lp-space-4);font-family:var(--lp-font-sans);font-size:var(--lp-text-base);line-height:1.6;color:var(--lp-gray-900);}.lp-container--narrow{max-width:800px;}.lp-container--wide{max-width:1400px;}.lp-container--full{max-width:100%;}.lp-section{padding:var(--lp-space-16) 0;}.lp-section--sm{padding:var(--lp-space-8) 0;}.lp-section--lg{padding:var(--lp-space-20,5rem) 0;}.lp-section-title{font-size:var(--lp-text-4xl);font-weight:700;line-height:1.2;margin-bottom:var(--lp-space-6);color:var(--lp-gray-900);text-align:center;}.lp-section-subtitle{font-size:var(--lp-text-xl);line-height:1.5;margin-bottom:var(--lp-space-8);color:var(--lp-gray-600);text-align:center;}.lp-h1{font-size:var(--lp-text-5xl);font-weight:800;line-height:1.1;margin-bottom:var(--lp-space-6);color:var(--lp-gray-900);}.lp-h2{font-size:var(--lp-text-4xl);font-weight:700;line-height:1.2;margin-bottom:var(--lp-space-5);color:var(--lp-gray-900);}.lp-h3{font-size:var(--lp-text-3xl);font-weight:600;line-height:1.3;margin-bottom:var(--lp-space-4);color:var(--lp-gray-900);}.lp-text-lead{font-size:var(--lp-text-xl);line-height:1.6;color:var(--lp-gray-700);}.lp-text-muted{color:var(--lp-gray-600);}.lp-text-small{font-size:var(--lp-text-sm);}.lp-btn{display:inline-block;padding:var(--lp-space-3) var(--lp-space-6);font-size:var(--lp-text-base);font-weight:600;text-align:center;text-decoration:none;border:none;border-radius:var(--lp-radius);cursor:pointer;transition:var(--lp-transition);line-height:1.5;}.lp-btn--primary{background-color:var(--lp-primary);color:var(--lp-white);}.lp-btn--primary:hover{background-color:var(--lp-primary-dark);transform:translateY(-2px);box-shadow:var(--lp-shadow-md);}.lp-btn--secondary{background-color:var(--lp-secondary);color:var(--lp-white);}.lp-btn--secondary:hover{background-color:var(--lp-secondary-dark);transform:translateY(-2px);box-shadow:var(--lp-shadow-md);}.lp-btn--outline{background-color:transparent;border:2px solid var(--lp-primary);color:var(--lp-primary);}.lp-btn--outline:hover{background-color:var(--lp-primary);color:var(--lp-white);}.lp-btn--ghost{background-color:transparent;color:var(--lp-primary);}.lp-btn--ghost:hover{background-color:var(--lp-gray-100);}.lp-btn--sm{padding:var(--lp-space-2) var(--lp-space-4);font-size:var(--lp-text-sm);}.lp-btn--lg{padding:var(--lp-space-4) var(--lp-space-8);font-size:var(--lp-text-lg);}.lp-btn--full{width:100%;}.lp-card{background-color:var(--lp-white);border-radius:var(--lp-radius-lg);box-shadow:var(--lp-shadow);padding:var(--lp-space-6);transition:var(--lp-transition);}.lp-card:hover{box-shadow:var(--lp-shadow-lg);transform:translateY(-4px);}.lp-card-title{font-size:var(--lp-text-xl);font-weight:600;margin-bottom:var(--lp-space-3);color:var(--lp-gray-900);}.lp-card-content{color:var(--lp-gray-700);}.lp-grid{display:grid;gap:var(--lp-space-6);}.lp-grid--2{grid-template-columns:repeat(2,1fr);}.lp-grid--3{grid-template-columns:repeat(3,1fr);}.lp-grid--4{grid-template-columns:repeat(4,1fr);}@media (max-width:1024px){.lp-grid--3,.lp-grid--4{grid-template-columns:repeat(2,1fr);}}@media (max-width:640px){.lp-grid--2,.lp-grid--3,.lp-grid--4{grid-template-columns:1fr;}}.lp-text-center{text-align:center;}.lp-text-left{text-align:left;}.lp-text-right{text-align:right;}.lp-mt-4{margin-top:var(--lp-space-4);}.lp-mb-4{margin-bottom:var(--lp-space-4);}.lp-my-4{margin-top:var(--lp-space-4);margin-bottom:var(--lp-space-4);}.lp-mt-8{margin-top:var(--lp-space-8);}.lp-mb-8{margin-bottom:var(--lp-space-8);}.lp-my-8{margin-top:var(--lp-space-8);margin-bottom:var(--lp-space-8);}@media (max-width:640px){:root{--lp-text-5xl:2.25rem;--lp-text-4xl:1.875rem;--lp-text-3xl:1.5rem;}.lp-section{padding:var(--lp-space-8) 0;}}

:root {
	--lp-primary: #667eea;
	--lp-primary-dark: #526ad6;
	--lp-primary-light: #8ea6ff;
	--lp-secondary: #764ba2;
	--lp-secondary-dark: #62378e;
	--lp-accent: #c9a45c;
	--lp-neutral-dark: #111827;
	--lp-neutral-light: #F8FAFC;
	--lp-surface: #f6f8fa;
	--lp-border: #5c6372;
	--lp-muted: #434a59;
	--lp-success: #16A34A;
	--lp-warning: #F59E0B;
	--lp-danger: #DC2626;
	--lp-info: #2563EB;
	--lp-text: #333333;
	--lp-text-light: #515151;
	--lp-bg: #ffffff;
	--lp-font: Inter;
	--lp-font-sans: Inter;
	--lp-font-heading: Playfair Display;
	--lp-font-body: Inter;
	--lp-font-script: 'Merienda', cursive;
	--lp-radius: 8px;
	--lp-section-space: clamp(3rem, 5vw, 4.5rem);
}
body {
	font-family: var(--lp-font-body);
}
h1, h2, h3, h4, h5, h6 {
	font-family: var(--lp-font-heading);
}
button, .lp-btn, input, select, textarea {
	border-radius: var(--lp-radius);
}
@media (max-width: 768px) {
	.lp-hide-mobile {
		display: none !important;
	}
	.lp-hide-desktop {
		display: inherit;
	}
}
@media (min-width: 769px) {
	.lp-hide-mobile {
		display: inherit;
	}
	.lp-hide-desktop {
		display: none !important;
	}
}


/* ============================================================
   HEADER v2 — adaptativo (topbar, glass sticky, drawer móvil)
   ============================================================ */
.lp-header {
  position: relative;
  z-index: 1000;
  --lp-header-ink: var(--lp-text, #1f2937);
  --lp-header-bg: var(--lp-bg, #ffffff);
}
/* Tema de barra "dark": al solidificar el fondo pasa a casi negro (webs sobre foto,
   tipo restaurante). La tinta pasa a clara en TODOS los estados de la barra. */
.lp-header--bar-dark {
  --lp-header-bg: #0b0b0f;
  --lp-header-ink: #f4f4f5;
}

/* ---------- Topbar ---------- */
.lp-header__topbar {
  background: var(--lp-text, #1f2937);
  color: var(--lp-bg-secondary, #f9fafb);
  font-size: 0.8rem;
  overflow: hidden;
  max-height: 44px;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}
.lp-header.is-scrolled .lp-header__topbar { max-height: 0; opacity: 0; }
.lp-header__topbar-inner {
  max-width: var(--lp-max-width, 1200px);
  margin: 0 auto;
  padding: 8px var(--lp-space-lg, 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.lp-header__topbar-note { display: inline-flex; align-items: center; gap: 7px; opacity: 0.9; }
.lp-header__topbar-phones { display: flex; gap: 18px; flex-wrap: wrap; }
.lp-header__topbar-phone {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  opacity: 0.92;
  transition: opacity 0.15s ease;
}
.lp-header__topbar-phone:hover { opacity: 1; text-decoration: underline; }

/* ---------- Barra principal ---------- */
.lp-header__bar {
  background: var(--lp-header-bg);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease;
}
/* ⚠️ El export envuelve cada container en su propio <div> raíz: position:sticky queda
   CONFINADO a esa caja (que mide lo que el propio header) y nunca pega. FIXED es el
   único modo robusto ahí. El JS compensa el alto en el body — salvo en modo
   transparente, donde el hero pasa por debajo A PROPÓSITO (como en la web original). */
.lp-header--always, .lp-header--smart { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
/* En el editor/preview el header vuelve al flujo (fixed rompería el canvas) */
.canvas-block .lp-header,
.block-preview .lp-header { position: relative !important; }
.lp-header--smart { transition: transform 0.35s ease; }
.lp-header--smart.is-hidden { transform: translateY(-110%); }

/* Transparente sobre el hero → sólido con blur al hacer scroll */
.lp-header--transparent:not(.is-scrolled) .lp-header__bar {
  background: transparent;
  box-shadow: none;
}
.lp-header--transparent:not(.is-scrolled) { --lp-header-ink: #ffffff; }
.lp-header.is-scrolled .lp-header__bar {
  background: color-mix(in srgb, var(--lp-header-bg) 84%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.lp-header__inner {
  max-width: var(--lp-max-width, 1200px);
  margin: 0 auto;
  padding: 14px var(--lp-space-lg, 24px);
  display: flex;
  align-items: center;
  gap: var(--lp-space-lg, 24px);
  transition: padding 0.3s ease;
}
.lp-header.is-scrolled .lp-header__inner { padding-top: 9px; padding-bottom: 9px; }

.lp-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--lp-header-ink);
  flex: none;
}
.lp-header__logo { display: block; width: auto; transition: height 0.3s ease; }
.lp-header.is-scrolled .lp-header__logo { height: 36px !important; }
.lp-header__brand-name {
  font-weight: 850;
  font-size: 1.12rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

/* ---------- Navegación desktop ---------- */
.lp-header__nav { margin-left: auto; }
.lp-header__menu {
  list-style: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}
.lp-header__link {
  position: relative;
  display: inline-block;
  padding: 10px 14px;
  color: var(--lp-header-ink);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.15s ease;
}
.lp-header__link:hover { opacity: 1; }
.lp-header__link-line {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--lp-primary, #3b82f6);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.lp-header__link:hover .lp-header__link-line,
.lp-header__link.is-active .lp-header__link-line { transform: scaleX(1); }
.lp-header__link.is-active { opacity: 1; }

/* ---------- Acciones ---------- */
.lp-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.lp-header__phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--lp-header-ink);
  text-decoration: none;
  font-weight: 800;
  font-size: 0.92rem;
  opacity: 0.9;
}
.lp-header__phone:hover { opacity: 1; }
.lp-header__phone i { color: var(--lp-primary, #3b82f6); }
.lp-header__cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--lp-radius-full, 9999px);
  background: var(--lp-primary, #3b82f6);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.93rem;
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.lp-header__cta:hover { transform: translateY(-1px); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22); }
.lp-header__cta-shine {
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
  pointer-events: none;
}
.lp-header__cta:hover .lp-header__cta-shine { left: 130%; }

/* ---------- Burger ---------- */
.lp-header__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: none;
  background: none;
  cursor: pointer;
}
.lp-header__burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--lp-header-ink);
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.lp-header__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.lp-header__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-header__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Drawer móvil ---------- */
.lp-header__drawer { position: fixed; inset: 0; z-index: 999; pointer-events: none; }
.lp-header__drawer-bg {
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 20, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.lp-header__drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(84vw, 360px);
  background: var(--lp-header-bg);
  /* La tinta sigue al tema de la barra: con bar-dark el panel es negro y el texto claro */
  color: var(--lp-header-ink, var(--lp-text, #1f2937));
  padding: 96px 30px 40px;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}
.lp-header__drawer.is-open { pointer-events: auto; }
.lp-header__drawer.is-open .lp-header__drawer-bg { opacity: 1; }
.lp-header__drawer.is-open .lp-header__drawer-panel { transform: translateX(0); }
.lp-header__drawer-menu { list-style: none; margin: 0 0 26px 0; padding: 0; }
.lp-header__drawer-item {
  opacity: 0;
  transform: translateX(22px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  transition-delay: calc(0.06s * var(--lp-drawer-i, 1));
}
.lp-header__drawer.is-open .lp-header__drawer-item { opacity: 1; transform: translateX(0); }
.lp-header__drawer-link {
  display: block;
  padding: 13px 4px;
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  font-size: 1.25rem;
  /* Borde derivado de la tinta: funciona sobre panel claro y oscuro */
  border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent);
}
.lp-header__drawer-link.is-active { color: var(--lp-primary, #3b82f6); }
.lp-header__drawer-cta {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border-radius: var(--lp-radius-full, 9999px);
  background: var(--lp-primary, #3b82f6);
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  margin-bottom: 22px;
}
.lp-header__drawer-phones { display: grid; gap: 10px; }
.lp-header__drawer-phone,
.lp-header__drawer-email {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.92rem;
  opacity: 0.85;
}
.lp-header__drawer-phone i,
.lp-header__drawer-email i { color: var(--lp-primary, #3b82f6); }

/* Bloqueo de scroll con drawer abierto */
body.lp-header-drawer-open { overflow: hidden; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .lp-header__nav { display: none; }
  .lp-header__phone { display: none; }
  .lp-header__burger { display: flex; }
  .lp-header__topbar-note { display: none; }
}
@media (max-width: 640px) {
  .lp-header__cta { display: none; }
  /* En móvil la topbar no cabe (3 teléfonos): fuera entera; los teléfonos y el email
     viven en el drawer del menú */
  .lp-header__topbar { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .lp-header__drawer-panel, .lp-header__drawer-item, .lp-header__link-line,
  .lp-header--smart, .lp-header__topbar { transition: none !important; }
}


/* ============================================================================
   DISPOSICIONES DE LA BARRA (campo layout)
   ----------------------------------------------------------------------------
   Solo CSS: el HTML es el mismo (brand | nav | actions), asi que cualquier
   header existente sigue identico con el default `split`.
   - split  : logo izquierda, menu al centro-derecha, acciones a la derecha (clasico)
   - center : LOGO CENTRADO con el menu a su izquierda y las acciones a la derecha
   - stack  : logo centrado arriba y menu centrado debajo (dos filas)
   ============================================================================ */

/* split: comportamiento historico (nav empujado a la derecha) */
.lp-header--layout-split .lp-header__nav { margin-left: auto; }

/* center: tres columnas iguales con la marca centrada.
   Va DENTRO de una media query de escritorio (min-width) en lugar de anularse luego
   con otra de movil: asi no hay dos reglas peleando y el modo movil del bloque
   (hamburguesa) queda intacto sin necesidad de contra-reglas.
   ⚠️ !important a proposito: la regla base del bloque tiene la misma especificidad
   (0,1,0) y se concatena DESPUES en el bundle, asi que sin esto gana ella. */
@media (min-width: 981px) {
.lp-header--layout-center .lp-header__inner {
  display: grid !important;
  grid-template-columns: 1fr auto 1fr;
  /* UNA sola fila explicita. Sin esto el navegador crea filas implicitas y, como la
     regla base del bloque trae `gap: 24px` (que tambien es row-gap), la marca caia a
     su propia fila y el header salia con doble altura. */
  grid-template-rows: auto;
  grid-auto-flow: column;
  row-gap: 0;
  align-items: center;
}
/* !important tambien en la colocacion de los hijos: la regla base del bloque
   (.lp-header__nav { margin-left:auto }) y la variante movil tienen la misma
   especificidad, y al concatenarse DESPUES en el bundle ganaban ellas, empujando
   la marca fuera de su columna (el header acababa en dos filas). */
.lp-header--layout-center .lp-header__nav {
  grid-row: 1 !important;
  grid-column: 1 !important;
  justify-self: start !important;
  margin-left: 0 !important;
}
.lp-header--layout-center .lp-header__brand {
  grid-row: 1 !important;
  grid-column: 2 !important;
  justify-self: center !important;
  margin: 0 !important;
}
.lp-header--layout-center .lp-header__actions {
  grid-row: 1 !important;
  grid-column: 3 !important;
  justify-self: end !important;
  margin-left: 0 !important;
}
} /* fin @media (min-width: 981px) — a partir de aqui, layout movil del bloque */

/* stack: marca sobre el menu, todo centrado */
.lp-header--layout-stack .lp-header__inner {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  row-gap: 10px;
  text-align: center;
}
.lp-header--layout-stack .lp-header__brand { order: 1; }
.lp-header--layout-stack .lp-header__nav { order: 2; }
.lp-header--layout-stack .lp-header__actions { order: 3; }

/* En movil todas las disposiciones vuelven a una sola fila con el menu hamburguesa,
   que es lo que ya hacia el bloque: se anula el grid para no romper ese layout. */
/* En movil no hace falta anular nada: el layout centrado SOLO existe por encima de
   980px (min-width), asi que aqui el bloque conserva su flex + hamburguesa original.
   Solo `stack`, que si se define fuera de media query, necesita volver a una fila. */
@media (max-width: 980px) {
  .lp-header--layout-stack .lp-header__inner {
    display: flex !important;
    grid-template-columns: none;
    justify-items: initial;
    text-align: initial;
  }
  .lp-header--layout-stack .lp-header__brand {
    justify-self: auto;
    margin-right: auto;
  }
}

/* ============================================================================
   ACCIONES OPCIONALES DE LA BARRA: redes, selector de idioma y carrito.
   Todas apagadas por defecto (campos vacios = no se pintan), asi que ningun
   header existente cambia.
   ============================================================================ */
.lp-header__socials { display: inline-flex; align-items: center; gap: 10px; }
.lp-header__social {
  color: inherit;
  opacity: .75;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  transition: opacity .15s ease;
}
.lp-header__social:hover { opacity: 1; }

/* Selector de idioma: desplegable simple, sin dependencias */
.lp-header__lang { position: relative; }
.lp-header__lang-btn {
  appearance: none;
  background: none;
  border: 0;
  color: inherit;
  font: inherit;
  font-size: .9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 6px 2px;
}
.lp-header__lang-btn i { font-size: .7em; opacity: .7; }
.lp-header__lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: #fff;
  color: #1f2937;
  border: 1px solid var(--lp-border, #e5e7eb);
  border-radius: var(--lp-radius-md, 8px);
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  display: none;
  z-index: 40;
}
.lp-header__lang.is-open .lp-header__lang-menu { display: block; }
.lp-header__lang-menu a {
  display: block;
  padding: 8px 14px;
  color: inherit;
  text-decoration: none;
  font-size: .9rem;
}
.lp-header__lang-menu a:hover { background: var(--lp-bg-secondary, #f9fafb); }

/* Carrito */
.lp-header__cart {
  color: inherit;
  opacity: .85;
  font-size: 1.05rem;
  line-height: 1;
  text-decoration: none;
  padding: 6px;
  transition: opacity .15s ease;
}
.lp-header__cart:hover { opacity: 1; }

/* En movil, estos extras se ocultan: el drawer ya lleva la navegacion */
@media (max-width: 980px) {
  .lp-header__socials, .lp-header__lang { display: none; }
}


/* ============================================================
   CURSOR FX v2 — punto + anillo con inercia (solo puntero fino)
   ============================================================ */
.lp-cursorfx { display: none; }

.lp-cursorfx-dot,
.lp-cursorfx-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  border-radius: 50%;
  z-index: 99999;
  /* difference: visible sobre claro y oscuro sin elegir color */
  mix-blend-mode: difference;
  will-change: transform;
}
.lp-cursorfx-dot { background: #ffffff; }
.lp-cursorfx-ring {
  border: 1.5px solid #ffffff;
  transition: width 0.22s ease, height 0.22s ease, opacity 0.22s ease;
}
.lp-cursorfx-ring.is-hover { opacity: 0.85; }

/* Cursor nativo oculto solo cuando el efecto está activo (clase en <html>) */
html.lp-cursorfx-on, html.lp-cursorfx-on * { cursor: none !important; }

@media (pointer: coarse) {
  .lp-cursorfx-dot, .lp-cursorfx-ring { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .lp-cursorfx-dot, .lp-cursorfx-ring { display: none; }
}


