/* LAGB shared floating component tokens (v3.2.8)
   Conservative defaults preserve the current visual language while centralizing
   radius, shadow, focus, transition and interaction values for floating UI elements.

   CSS maintainability map:
   1) Global/floating tokens and base landing sections.
   2) Component foundations inherited from earlier stable releases.
   3) Design-system tokens for blank-template variants.
   4) Targeted visual patches grouped by feature/section.
   5) Navbar/mobile consolidation layer near the end of the file.

   Rule of thumb for future edits: prefer adding or adjusting tokens in the
   nearest scoped block before introducing new duplicate selector branches. */
:root {
  --lagb-floating-radius-xs: 8px;
  --lagb-floating-radius-sm: 12px;
  --lagb-floating-radius-md: 14px;
  --lagb-floating-radius-lg: 16px;
  --lagb-floating-radius-pill: 999px;
  --lagb-floating-shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.16);
  --lagb-floating-shadow-hover: 0 3px 8px rgba(0, 0, 0, 0.22);
  --lagb-floating-shadow-strong: 0 22px 60px rgba(15, 23, 42, 0.22);
  --lagb-floating-shadow-modal: 0 22px 60px rgba(15, 23, 42, 0.32);
  --lagb-floating-shadow-sticky: 0 12px 28px rgba(0, 0, 0, 0.28);
  --lagb-floating-shadow-sticky-hover: 0 16px 32px rgba(0, 0, 0, 0.32);
  --lagb-floating-shadow-sticky-desktop: 0 20px 50px rgba(15, 23, 42, 0.35);
  --lagb-floating-shadow-navbar: 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 28px rgba(15, 23, 42, 0.13);
  --lagb-floating-shadow-navbar-scrolled: 0 1px 0 rgba(255, 255, 255, 0.055), 0 14px 34px rgba(15, 23, 42, 0.18);
  --lagb-floating-shadow-navbar-cta: 0 8px 18px rgba(15, 23, 42, 0.18);
  --lagb-floating-shadow-navbar-cta-hover: 0 10px 22px rgba(15, 23, 42, 0.22);
  --lagb-floating-shadow-menu: 0 18px 40px rgba(15, 23, 42, 0.24);
  --lagb-floating-focus-ring: rgba(34, 113, 177, 0.72);
  --lagb-floating-focus-ring-solid: #2271b1;
  --lagb-floating-focus-ring-inverse: rgba(255, 255, 255, 0.75);
  --lagb-interaction-touch-target: 44px;
  --lagb-mobile-edge: 12px;
  --lagb-color-ink-strong: #06111f;
  --lagb-color-on-dark: #ffffff;
  --lagb-accent-on: var(--lagb-accent-contrast, #06111f);
  --lagb-accent-readable: #06111f;
  --lagb-primary-on: var(--lagb-primary-contrast, #ffffff);
  --lagb-primary-readable: var(--lagb-brand-primary, #0f172a);
  --lagb-contrast-text-shadow-dark: 0 1px 2px rgba(15, 23, 42, 0.32);
  --lagb-floating-transition-fast: 0.15s ease;
  --lagb-floating-transition-lift: 0.1s ease;
  --lagb-floating-transition-normal: 0.2s ease;
}

/* Secciones con estructura estable independientemente del theme */
.lag-section{max-width:1100px;margin:40px auto;padding:0 16px}
.lag-hero .wp-block-group{max-width:1100px;margin:0 auto}
.wp-block-cover.lag-hero.alignfull,
.wp-block-cover.alignfull.lag-hero {
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}


/* Forzar que las columnas de Servicios no tengan borde propio del tema */
.lag-services .wp-block-column{
  border:none !important;
}
.lag-services{
  padding:60px 20px;
  max-width:1100px;
  margin:0 auto;
  text-align:center;
}
.lag-services .lag-services-row{
  gap:24px;
  justify-content:center;
}

.lag-service-card{
  background:#ffffff;
  border:none;
  border-radius:18px;
  padding:22px 20px;
  box-shadow:0 12px 32px rgba(15,23,42,0.05);
  max-width:320px;
  text-align:center;
}

.lag-service-image{
  margin-bottom:12px;
  aspect-ratio: 4 / 3;
  overflow:hidden;
  border-radius:8px;
}
.lag-service-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
  border:none;
  box-shadow:none;
  display:block;
}
.lag-service-title{
  margin:8px 0 4px;
  font-size:20px;
}
.lag-service-blurb{
  margin:0;
  font-size:14px;
  color:#6b7280;
}

/* Servicios: layout móvil (1col / 2col / no-stack) */
@media (max-width: 782px){
  /* Asegura wrap incluso si el tema altera estilos de Columns */
  body.lag-services-mobile-1col .lag-services .wp-block-columns.lag-services-row:not(.lag-services-row-rows),
  body.lag-services-mobile-2col .lag-services .wp-block-columns.lag-services-row:not(.lag-services-row-rows),
  body.lag-services-stack-mobile .lag-services .wp-block-columns.lag-services-row:not(.lag-services-row-rows),
  .lag-services.lag-stack-mobile .wp-block-columns.lag-services-row:not(.lag-services-row-rows){
    flex-wrap: wrap !important;
  }

  /* 1 columna (recomendado) */
  body.lag-services-mobile-1col .lag-services .wp-block-columns.lag-services-row:not(.lag-services-row-rows) > .wp-block-column,
  body.lag-services-stack-mobile .lag-services .wp-block-columns.lag-services-row:not(.lag-services-row-rows) > .wp-block-column,
  .lag-services.lag-stack-mobile.lag-mobile-1col .wp-block-columns.lag-services-row:not(.lag-services-row-rows) > .wp-block-column{
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* 2 columnas (móviles grandes / tablet) */
  body.lag-services-mobile-2col .lag-services .wp-block-columns.lag-services-row:not(.lag-services-row-rows) > .wp-block-column,
  .lag-services.lag-stack-mobile.lag-mobile-2col .wp-block-columns.lag-services-row:not(.lag-services-row-rows) > .wp-block-column{
    flex: 0 0 calc(50% - 8px) !important;
    width: calc(50% - 8px) !important;
    max-width: calc(50% - 8px) !important;
  }

  .lag-services{
    padding:44px 16px;
  }
  .lag-services .lag-services-row{
    gap:16px;
  }
  .lag-service-card{
    max-width:none;
    padding:18px 16px;
  }
  /* Imagen: legible y consistente */
  .lag-service-image{
    border-radius:12px;
    width: 100%;
    height: auto;
    object-fit: cover;
  }
  body.lag-services-mobile-1col .lag-service-image,
  body.lag-services-stack-mobile .lag-service-image{
    aspect-ratio: 16 / 10;
  }
  body.lag-services-mobile-2col .lag-service-image{
    aspect-ratio: 4 / 3;
  }
  .lag-service-title{
    font-size:18px;
  }
  .lag-service-blurb{
    font-size:14px;
  }
}

/* En móviles muy pequeños, incluso en “2 columnas” se apila a 1 por legibilidad */
@media (max-width: 520px){
  body.lag-services-mobile-2col .lag-services .wp-block-columns.lag-services-row:not(.lag-services-row-rows) > .wp-block-column{
    flex-basis: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}
.lag-testimonials blockquote{margin:16px auto;max-width:800px}
.lag-faq{border-top:1px solid #e5e7eb;padding:12px 0}
.lag-pricing-table table{width:100%}
.lag-pricing-table th,.lag-pricing-table td{padding:8px 10px;border-bottom:1px solid #e5e7eb}


.lag-pricing-cards{margin-top:18px}
.lag-pricing-columns{gap:16px}
.lag-pricing-col{display:flex}
.lag-pricing-card{border:1px solid #e5e7eb;border-radius:16px;padding:18px;background:#fff;width:100%}
.lag-pricing-card.is-featured{border-color:#111827}
.lag-pricing-price{font-size:28px;font-weight:700;margin:8px 0 12px}
.lag-pricing-features{margin:0;padding-left:18px;text-align:left}
.lag-pricing-features li{margin:6px 0}

@media (max-width: 781px){
  .lag-pricing-col{display:block}
}

.lag-cta{margin-top:28px;margin-bottom:40px;text-align:center}


.lag-form-error-global {
  margin-bottom: 0.75rem;
}

.lag-field-error {
  margin-top: 0.25rem;
}


/* Layout en blanco del plugin (independiente del theme en el cuerpo de la landing) */
.lag-landing-basic {
  background: #ffffff;
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}

.lag-landing-basic.lag-basic-no-pt {
  padding-top: 0;
}

.lag-landing-basic .lag-section {
  max-width: 1100px;
  margin: 3rem auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.lag-landing-basic p,
.lag-landing-basic li {
  font-size: 0.95rem;
  line-height: 1.7;
}

.lag-landing-basic h2 {
  font-size: 1.6rem;
  margin-bottom: 1.1rem;
}

.lag-landing-basic h3 {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
}

/* Servicios: cards limpias dentro del layout en blanco */
.lag-landing-basic .lag-services .lag-services-row {
  gap: 2rem;
}

.lag-landing-basic .lag-service-card {
  display: flex;
  flex-direction: column;
  background: rgba(249, 250, 251, 0.9);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.lag-landing-basic .lag-service-title {
  font-size: 1.05rem;
  margin-top: 0.5rem;
  margin-bottom: 0.25rem;
}

.lag-landing-basic .lag-service-blurb {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Ubicación: layout más consistente y tipo card */
.lag-landing-basic .lag-location-columns {
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: flex-start;
}

.lag-landing-basic .lag-location-text {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  font-size: 0.95rem;
  line-height: 1.6;
  background: rgba(249, 250, 251, 0.9);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.lag-landing-basic .lag-location-text p {
  margin: 0;
}

.lag-landing-basic .lag-location-text strong {
  display: inline-block;
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.lag-google-map-iframe {
  width: 100%;
  max-width: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.lag-landing-basic .lag-location-map {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.lag-landing-basic .lag-location-map iframe {
  width: 100%;
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.lag-location-map-link {
  margin-top: 0.25rem;
  font-size: 0.9rem;
}

.lag-location-map-link a {
  text-decoration: underline;
}

.lag-location-contact-text a {
  text-decoration: underline;
}



/* Botones nativos en ubicación (mapa / contacto) */
.lag-landing-basic .lag-location-contact-buttons,
.lag-landing-basic .lag-location-map-buttons {
  margin-top: 0.25rem;
}

.lag-landing-basic .lag-location-contact-buttons .wp-block-button__link,
.lag-landing-basic .lag-location-map-buttons .wp-block-button__link {
  text-decoration: none;
}

/* Listas nativas (referencias / transporte) */
.lag-location-landmarks-list,
.lag-location-transport-list {
  margin: 0 0 0.5rem 1.2rem;
  padding: 0;
}

/* Subbloques de sucursales / referencias / transporte */
.lag-location-subheading {
  margin-top: 1.4rem;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.lag-location-branches-list {
  margin: 0 0 0.5rem 1.2rem;
  padding: 0;
}

.lag-location-branches-list li {
  margin-bottom: 0.15rem;
}

.lag-location-landmarks,
.lag-location-transport {
  margin: 0 0 0.65rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

@media (max-width: 782px) {
  .lag-landing-basic .lag-section {
    margin: 2.25rem auto;
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .lag-landing-basic .lag-location-columns {
    flex-direction: column;
  }

  .lag-landing-basic .lag-location-map {
    margin-top: 1.5rem;
  }
}


/* Afinado de "modo blanco" para que se sienta más landing que post de blog */

/* Hero más protagonista */
.lag-landing-basic .lag-hero {
  min-height: 420px;
}

.lag-landing-basic .lag-hero .wp-block-heading {
  font-size: clamp(2.1rem, 4vw, 2.7rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.lag-landing-basic .lag-hero p {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1rem;
  line-height: 1.7;
}

/* Botones de hero tipo landing */
.lag-landing-basic .lag-hero .wp-block-buttons {
  margin-top: 1.5rem;
}

.lag-landing-basic .lag-hero .wp-block-button__link {
  padding: 0.8rem 1.8rem;
  font-size: 0.96rem;
  border-radius: 999px;
}

/* Títulos de sección más fuertes */
.lag-landing-basic .lag-section > .wp-block-heading,
.lag-landing-basic .lag-section > h2 {
  font-size: 1.7rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
}

/* Distancia entre secciones tipo landing */
.lag-landing-basic .lag-section {
  margin: 3.25rem auto;
}

/* CTA final bien marcada */
.lag-landing-basic .lag-cta {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
}

.lag-landing-basic .lag-cta .wp-block-heading {
  font-size: 1.8rem;
  margin-bottom: 0.75rem;
}

.lag-landing-basic .lag-cta p {
  font-size: 1rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

.lag-landing-basic .lag-cta .wp-block-button__link {
  padding: 0.85rem 2rem;
  border-radius: 999px;
  font-size: 0.98rem;
}



/* Modo blanco: Hero tipo landing con imagen de fondo y texto centrado en blanco */
.lag-landing-basic .lag-hero {
  color: #ffffff;
  padding-top: 3rem;
  padding-bottom: 3.25rem;
}

.lag-landing-basic .lag-hero > .wp-block-group__inner-container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Texto del hero centrado, típico de landing con fondo de imagen */
.lag-landing-basic .lag-hero .wp-block-heading,
.lag-landing-basic .lag-hero p,
.lag-landing-basic .lag-hero .wp-block-buttons {
  text-align: center;
}

.lag-landing-basic .lag-hero .wp-block-heading,
.lag-landing-basic .lag-hero p {
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.7);
}

@media (max-width: 782px) {
  .lag-landing-basic .lag-hero > .wp-block-group__inner-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}


/* Forzar que el título y el texto del hero sean blancos y centrados en modo blanco,
   incluso si el theme aplica estilos más específicos. */
.lag-landing-basic .lag-hero h1,
.lag-landing-basic .lag-hero h2,
.lag-landing-basic .lag-hero h3 {
  color: #ffffff !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.7);
}

.lag-landing-basic .lag-hero p {
  color: #ffffff !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.7);
}

/* Centrar botones del hero aunque el theme fuerce alineación distinta */
.lag-landing-basic .lag-hero .wp-block-buttons {
  justify-content: center;
  text-align: center !important;
}


/* Testimonios y FAQs con estilo más de landing dentro del modo blanco */
.lag-landing-basic .lag-testimonials {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

.lag-landing-basic .lag-testimonial {
  background: rgba(249, 250, 251, 0.95);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(148, 163, 184, 0.35);
  font-style: normal;
}

.lag-landing-basic .lag-testimonial p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.lag-landing-basic .lag-testimonial cite {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0.9;
}

/* FAQs como bloques claros y legibles */
.lag-landing-basic .lag-faqs {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.lag-landing-basic .lag-faq {
  border-top: none;
  padding: 0.9rem 1.1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  background: rgba(249, 250, 251, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.lag-landing-basic .lag-faq-q {
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.lag-landing-basic .lag-faq-a {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}


/* About como bloque editorial dentro del modo blanco */
.lag-landing-basic .lag-about-columns {
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.lag-landing-basic .lag-about-text {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(226, 232, 240, 0.9);
  font-size: 0.96rem;
  line-height: 1.8;
}

.lag-landing-basic .lag-about-text p {
  margin: 0;
}

.lag-landing-basic .lag-about-image img {
  border-radius: 1.2rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.10);
}

/* FAQs desplegables con <details> */
.lag-landing-basic .lag-faqs {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.lag-landing-basic .lag-faq-item {
  margin: 0 0 0.75rem 0;
  border-radius: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(249, 250, 251, 0.97);
  padding: 0.7rem 0.95rem;
}

.lag-landing-basic .lag-faq-item[open] {
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
}

.lag-landing-basic .lag-faq-q {
  list-style: none;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
}

.lag-landing-basic .lag-faq-q::-webkit-details-marker {
  display: none;
}

.lag-landing-basic .lag-faq-q::after {
  content: "▾";
  float: right;
  font-size: 0.8rem;
  opacity: 0.7;
}

.lag-landing-basic .lag-faq-item[open] .lag-faq-q::after {
  content: "▴";
}

.lag-landing-basic .lag-faq-a {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.lag-landing-basic .lag-faq-a p {
  margin: 0;
}



/* Layout FILAS para Servicios cuando blueprint[services_style] = rows */
.lag-services-row-rows 
.lag-service-card{
  background:#ffffff;
  border:none;
  border-radius:18px;
  padding:22px 20px;
  box-shadow:0 12px 32px rgba(15,23,42,0.05);
  max-width:320px;
  text-align:center;
}


.lag-services-row-rows .lag-service-image{
    flex:0 0 220px;
    margin-bottom:0;
}

.lag-services-row-rows .lag-service-image img{
    width:100%;
    height:auto;
    object-fit:cover;
    display:block;
    border-radius:8px;
}


/* --- Ajustes visuales extra para Servicios, Testimonios y FAQs (modo layout en blanco) --- */

/* Servicios como cards tipo landing */
.lag-landing-basic .lag-services {
  max-width: 1100px;
  margin: 0 auto 3rem auto;
}

.lag-landing-basic .lag-services-row {
  gap: 1.75rem;
}

.lag-landing-basic .lag-service-card {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.25rem 1.3rem 1.4rem;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.lag-landing-basic .lag-service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.09);
  border-color: rgba(59, 130, 246, 0.25);
}

.lag-landing-basic .lag-service-card .lag-service-image {
  margin-bottom: 0.9rem;
}

.lag-landing-basic .lag-service-title {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 0.35rem 0;
  color: #0f172a;
}

.lag-landing-basic .lag-service-blurb {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #4b5563;
  margin: 0;
}

@media (max-width: 782px) {
  .lag-landing-basic .lag-services-row {
    flex-wrap: wrap;
  }

  .lag-landing-basic .lag-service-card {
    padding: 1.1rem 1.1rem 1.25rem;
  }
}

/* Testimonios como cards */
.lag-landing-basic .lag-testimonials {
  max-width: 900px;
  margin: 0 auto 3rem auto;
}

.lag-landing-basic .lag-testimonial {
  background: #ffffff;
  border-radius: 1.1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  padding: 1.3rem 1.4rem 1.4rem;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.04);
  position: relative;
}

.lag-landing-basic .lag-testimonial::before {
  content: "“";
  position: absolute;
  top: 0.4rem;
  left: 1.1rem;
  font-size: 2.6rem;
  color: rgba(148, 163, 184, 0.4);
  pointer-events: none;
}

.lag-landing-basic .lag-testimonial p {
  margin: 0.4rem 0 0.75rem 0;
  font-size: 0.97rem;
  line-height: 1.7;
  color: #4b5563;
}

.lag-landing-basic .lag-testimonial cite {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: 0.94rem;
  color: #0f172a;
}

.lag-landing-basic .lag-testimonial .lag-testimonial-role {
  display: block;
  font-size: 0.86rem;
  color: #6b7280;
}

/* FAQs más limpios */
.lag-landing-basic .lag-faq-item {
  border-radius: 0.8rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #ffffff;
  padding: 0.8rem 1rem;
  margin-bottom: 0.65rem;
}

.lag-landing-basic .lag-faq-q {
  font-weight: 600;
  font-size: 0.98rem;
  color: #0f172a;
}

.lag-landing-basic .lag-faq-a {
  font-size: 0.95rem;
  color: #4b5563;
  margin-top: 0.25rem;
}


/* Layout en blanco del plugin: cuerpo */
body.lag-blank-template {
  margin: 0;
  padding: 0;
  background: #ffffff;
}

.lag-blank-page {
  min-height: 100vh;
}

.lag-blank-main {
  display: block;
}

/* Imágenes de servicios: tamaño consistente en cards */
.lag-service-card .lag-service-image {
  border-radius: 0.9rem;
  overflow: hidden;
}

.lag-service-card .lag-service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}


/* --- Ajustes específicos para versión móvil (<= 782px) --- */
@media (max-width: 782px) {
  /* Secciones: menos margen vertical en móvil */
  .lag-section {
    margin: 26px auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .lag-landing-basic .lag-section {
    margin-top: 22px;
    margin-bottom: 30px;
  }

  /* Hero más compacto en móvil */
  .lag-landing-basic .lag-hero .wp-block-group {
    padding-top: 24px !important;
    padding-bottom: 28px !important;
  }

  .lag-landing-basic .lag-hero .wp-block-heading {
    font-size: clamp(1.8rem, 6.4vw, 2.1rem);
  }

  .lag-landing-basic .lag-hero p {
    font-size: 0.95rem;
  }

  /* Servicios: cards apiladas y con menos padding */
  .lag-landing-basic .lag-services .wp-block-columns {
    row-gap: 1.1rem;
  }

  .lag-landing-basic .lag-services .wp-block-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
  }

  .lag-landing-basic .lag-service-card {
    padding: 1rem 1rem 1.15rem;
  }

  /* Testimonios: card más ligera en móvil */
  .lag-landing-basic .lag-testimonial {
    padding: 1rem 1.05rem 1.15rem;
  }

  /* FAQs: un poco más compactos */
  .lag-landing-basic .lag-faq-item {
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.55rem;
  }

  /* CTA final: botones en columna y full width */
  .lag-landing-basic .lag-cta {
    margin-top: 22px;
    margin-bottom: 28px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .lag-landing-basic .lag-cta .wp-block-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .lag-landing-basic .lag-cta .wp-block-button__link {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .lag-landing-basic .lag-cta .wp-block-heading {
    font-size: 1.35rem;
  }
}

/* Ajustes extras para pantallas muy pequeñas (<= 480px) */
@media (max-width: 480px) {
  .lag-landing-basic .lag-hero .wp-block-heading {
    font-size: 1.7rem;
  }

  .lag-landing-basic .lag-hero p {
    font-size: 0.9rem;
  }

  .lag-landing-basic .lag-service-title {
    font-size: 1rem;
  }
}


/* --- FAQs: estilo acordeón compacto --- */

/* Contenedor general */
.lag-landing-basic .lag-faqs {
  max-width: 820px;
  margin: 0 auto 2.5rem auto;
}

/* Cada grupo de FAQ (envoltorio del details) */
.lag-landing-basic .lag-faqs .lag-faq {
  border-top: none;
  padding: 0;
  margin: 0 0 0.25rem 0;
}

/* Card del acordeón */
.lag-landing-basic .lag-faq-item {
  border-radius: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f9fafb;
  padding: 0.55rem 0.85rem;
  margin: 0;
}

/* Pregunta: estilo fila clickable con flecha */
.lag-landing-basic .lag-faq-q {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.96rem;
  color: #0f172a;
  margin: 0;
}

/* Ocultar marcador por defecto del <summary> */
.lag-landing-basic .lag-faq-q::-webkit-details-marker {
  display: none;
}
.lag-landing-basic .lag-faq-q::marker {
  content: "";
}

/* Flecha */
.lag-landing-basic .lag-faq-q::after {
  content: "\25BC";
  font-size: 0.7rem;
  margin-left: 0.75rem;
  color: #6b7280;
  transition: transform 0.18s ease, color 0.18s ease;
}

/* Flecha al abrir */
.lag-landing-basic .lag-faq-item[open] .lag-faq-q::after {
  transform: rotate(180deg);
  color: #2563eb;
}

/* Respuesta */
.lag-landing-basic .lag-faq-a {
  margin-top: 0.35rem;
  font-size: 0.93rem;
  color: #4b5563;
}

/* Ajustes móviles extra para FAQs */
@media (max-width: 782px) {
  .lag-landing-basic .lag-faq-item {
    padding: 0.5rem 0.75rem;
  }

  .lag-landing-basic .lag-faq-q {
    font-size: 0.94rem;
  }

  .lag-landing-basic .lag-faq-a {
    font-size: 0.9rem;
  }
}


/* Nota de confianza bajo el CTA final */
.lag-landing-basic .lag-cta-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: #6b7280;
  text-align: center;
}

@media (max-width: 782px) {
  .lag-landing-basic .lag-cta-note {
    font-size: 0.88rem;
  }
}



/* Aviso flotante después de generar la página (para animar a contratar) */
.lag-post-gen-banner{
  position: fixed;
  bottom: 16px;
  right: 16px;
  max-width: 420px;
  background: #ffffff;
  color: #0f172a;
  padding: 16px 16px 14px;
  border: 1px solid rgba(15,23,42,0.08);
  border-radius: var(--lagb-floating-radius-lg, 1rem);
  box-shadow: var(--lagb-floating-shadow-strong, 0 22px 60px rgba(15,23,42,0.22));
  z-index: 9999;
  font-size: 14px;
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  animation: lag-post-gen-enter 0.25s ease-out forwards;
}

@keyframes lag-post-gen-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .lag-post-gen-banner {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.lag-post-gen-content{
  flex: 1;
  min-width: 0;
}
.lag-post-gen-title{
  margin: 0 22px 6px 0;
  color: #0f172a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}
.lag-post-gen-text{
  margin: 0;
  color: #475569;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.6;
  white-space: pre-line;
}
.lag-post-gen-close{
  border: none;
  background: #f1f5f9;
  color: #475569;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  width: 26px;
  height: 26px;
  border-radius: var(--lagb-floating-radius-pill, 999px);
  padding: 0;
  flex: 0 0 auto;
}
.lag-post-gen-close:hover{
  background: #e2e8f0;
  color: #0f172a;
}
.lag-post-gen-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 16px;
  margin-top: 12px;
  border-radius: var(--lagb-floating-radius-pill, 999px);
  border: none;
  background: #15803d;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 10px 24px rgba(21, 128, 61, 0.25);
  transition: background-color var(--lagb-floating-transition-fast, 0.15s ease), transform var(--lagb-floating-transition-lift, 0.1s ease);
}

.lag-post-gen-btn:hover {
  background: #166534;
  transform: translateY(-1px);
}
.lag-post-gen-btn:hover{
  filter: brightness(1.05);
  color: #ffffff;
}
@media (max-width: 782px){
  .lag-post-gen-banner{
    left: 10px;
    right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    max-width: none;
    font-size: 13px;
    padding: 14px 14px 12px;
  }
  .lag-post-gen-title{
    font-size: 14px;
  }
  .lag-post-gen-text{
    font-size: 13px;
    line-height: 1.65;
  }
  .lag-post-gen-btn{
    width: 100%;
    white-space: normal;
    padding: 10px 14px;
  }
}


/* === Fallback OpenStreetMap (móvil) === */
.lag-osm-map {
  width: 100%;
  min-height: 300px;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  margin-top: 0.5rem;
}

.lag-map-loading,
.lag-map-error {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  font-size: 0.95rem;
  background: #f8fafc;
  color: #0f172a;
  text-align: center;
  padding: 1rem;
}


/* Navbar sticky con menú ancla (desktop + móvil) */
.lag-navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: var(--lag-navbar-bg, #0d6efd);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

/* Estado scrolled: sombra más marcada */
.lag-navbar--scrolled {
  box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.lag-navbar__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.lag-navbar__brand {
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
}

.lag-navbar__logo {
  text-decoration: none;
  color: #ffffff;
}

/* Menú */
.lag-navbar__menu {
  display: flex;
  gap: 16px;
  align-items: center;
}

/* Links */
.lag-navbar__link {
  text-decoration: none;
  font-size: 0.9rem;
  padding: 7px 12px;
  border-radius: var(--lagb-floating-radius-pill, 999px);
  color: #ffffff;
  transition: background-color 0.15s ease, color 0.15s ease, transform 0.1s ease;
  font-weight: 500;
}

.lag-navbar__link:hover,
.lag-navbar__link:focus {
  background-color: rgba(255,255,255,0.20);
  color: #ffffff;
  transform: translateY(-1px);
}

.lag-navbar__link--active {
  background-color: rgba(255,255,255,0.15);
  font-weight: 600;
}

/* Botón hamburguesa */
.lag-navbar__toggle {
  display: none;
  border: none;
  background: none;
  padding: 8px;
  cursor: pointer;
  color: #ffffff;
  border-radius: var(--lagb-floating-radius-xs, 8px);
  transition: background-color 0.15s ease;
}

.lag-navbar__toggle:hover {
  background-color: rgba(255,255,255,0.12);
}

.lag-navbar__toggle-line {
  display: block;
  width: 20px;
  height: 2px;
  margin: 3px 0;
  background: currentColor;
  border-radius: var(--lagb-floating-radius-pill, 999px);
}

.lag-navbar__link:focus-visible,
.lag-navbar__cta:focus-visible,
.lag-navbar__toggle:focus-visible {
  outline: 2px solid var(--lagb-floating-focus-ring, rgba(34, 113, 177, 0.72));
  outline-offset: 2px;
}

/* Ajuste para que las secciones (y anclas) no queden ocultas debajo de la navbar */
.lag-section {
  scroll-margin-top: 72px;
}

.lag-anchor {
  scroll-margin-top: 72px;
}

/* Skip link (accesibilidad) para la plantilla en blanco */
.lag-blank-template .lag-skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  padding: 10px 14px;
  z-index: 100000;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.14);
  background: #ffffff;
  color: #111827;
  border: 2px solid #111827;
}

.lag-blank-template .lag-skip-link:focus,
.lag-blank-template .lag-skip-link:focus-visible {
  transform: translateY(0);
  outline: none;
}


/* Móvil: menú colapsable */
@media (max-width: 768px) {
  .lag-navbar__inner {
    padding: 8px 12px;
  }

  .lag-navbar__toggle {
    display: inline-block;
    min-width: 44px;
    min-height: 44px;
  }

  .lag-navbar__menu {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    background: var(--lag-navbar-bg, #0d6efd);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    max-height: calc(100vh - 72px);
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 8px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .lag-navbar--open .lag-navbar__menu {
    display: flex;
  }
}


/* Resaltar enlace activo según la sección visible */
.lag-navbar__link--active {
  background-color: transparent;
  color: #ffffff;
  box-shadow: none;
}


/* Último ítem del menú como botón CTA (ej. "Contacto") */

.lag-navbar__link--cta-btn{
  background:transparent;
  color:#ffffff;
  padding:6px 14px;
  border:none;
  box-shadow:none;
  font-weight:600;
}



.lag-navbar__link--cta-btn:hover{
  background:transparent;
  color:#d1d5db;
}


/* En móvil, que se vea como botón full-width suave */
@media (max-width: 768px){
  
.lag-navbar__link--cta-btn{
  background:transparent;
  color:#ffffff;
  padding:6px 14px;
  border:none;
  box-shadow:none;
  font-weight:600;
}

}

/* Botón destacado en el navbar (CTA principal) */

.lag-navbar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 14px;
  margin-left: 12px;
  border-radius: var(--lagb-floating-radius-pill, 999px);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: var(--lagb-floating-shadow-subtle, 0 1px 3px rgba(0,0,0,0.16));
  transition: transform var(--lagb-floating-transition-lift, 0.12s ease), box-shadow var(--lagb-floating-transition-lift, 0.12s ease), background-color var(--lagb-floating-transition-lift, 0.12s ease), color var(--lagb-floating-transition-lift, 0.12s ease), border-color var(--lagb-floating-transition-lift, 0.12s ease);
}

/* Variante: sólido (por defecto) */
.lag-navbar__cta--solid {
  background-color: var(--lag-accent-color, #25d366);
  color: #ffffff;
  border: 1px solid var(--lag-accent-color, #25d366);
}

.lag-navbar__cta--solid:hover,
.lag-navbar__cta--solid:focus {
  transform: translateY(-1px);
  box-shadow: var(--lagb-floating-shadow-hover, 0 3px 8px rgba(0,0,0,0.22));
  background-color: var(--lag-accent-color, #25d366);
  color: #ffffff;
}

/* Variante: outline */
.lag-navbar__cta--outline {
  background-color: transparent;
  color: var(--lag-accent-color, #25d366);
  border: 1px solid var(--lag-accent-color, #25d366);
}

.lag-navbar__cta--outline:hover,
.lag-navbar__cta--outline:focus {
  transform: translateY(-1px);
  box-shadow: var(--lagb-floating-shadow-hover, 0 3px 8px rgba(0,0,0,0.22));
  background-color: rgba(0,0,0,0.02);
}

/* Variante: ghost (discreta, pensada para fondos oscuros) */
.lag-navbar__cta--ghost {
  background-color: transparent;
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.3);
}

.lag-navbar__cta--ghost:hover,
.lag-navbar__cta--ghost:focus {
  transform: translateY(-1px);
  box-shadow: var(--lagb-floating-shadow-hover, 0 3px 8px rgba(0,0,0,0.22));
  background-color: rgba(255,255,255,0.06);
}

/* Icono e interior del botón */
.lag-navbar__cta-icon {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lag-navbar__cta-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.lag-navbar__cta-text {
  display: inline-block;
}

/* En móvil la CTA ocupa todo el ancho del menú */
@media (max-width: 768px) {
  .lag-navbar__cta {
    width: 100%;
    margin-left: 0;
    margin-top: 8px;
  }
}

/* Grid de productos */
.lag-products{
  padding:60px 20px;
  max-width:1100px;
  margin:0 auto;
  text-align:center;
}
.lag-products-row{
  margin-top:20px;
  gap:24px;
  justify-content:center;
}
.lag-products .wp-block-column{
  padding:0 !important;
  border:none;
}
.lag-product-card{
  background:#ffffff;
  border:none;
  border-radius:18px;
  padding:22px 20px;
  box-shadow:0 12px 32px rgba(15,23,42,0.05);
  max-width:320px;
  text-align:center;
  margin-bottom:24px;
}

.lag-product-card--interactive{
  cursor:pointer;
  transition:box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}

.lag-product-card--interactive:hover{
  transform:translateY(-2px);
  box-shadow:0 16px 34px rgba(15,23,42,0.10);
}

.lag-product-card--interactive:focus-visible{
  outline:3px solid rgba(37,99,235,0.28);
  outline-offset:3px;
}

.lag-product-selection-status{
  margin:10px 0 0;
  font-size:14px;
  color:#6b7280;
  min-height:1.4em;
}

.lag-product-selection-status.is-active{
  color:#111827;
  font-weight:600;
}

.lag-product-image{
  aspect-ratio: 4 / 3;
  overflow:hidden;
  border-radius:8px;
}

.lag-product-image img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:0;
  display:block;
}
.lag-product-title{
  font-size:20px;
  margin-top:12px;
  margin-bottom:6px;
}
.lag-product-blurb{
  font-size:14px;
  color:#6b7280;
  margin-bottom:8px;
}
.lag-product-price{
  font-weight:600;
  font-size:16px;
}

.lag-product-select{
  margin-top:12px;
}

.lag-product-select-btn,
.lag-product-select-btn .wp-block-button__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0.6rem 1.4rem;
  border-radius:999px;
  border:1px solid #d1d5db;
  background-color:#f9fafb;
  color:#111827;
  font-size:14px;
  font-weight:500;
  text-decoration:none;
  cursor:pointer;
  transition:all .18s ease;
}

.lag-product-select-btn{
  border:none;
  background:transparent;
  padding:0;
}

.lag-product-select-btn .wp-block-button__link{
  margin:0;
}

.lag-product-select-btn:hover,
.lag-product-select-btn .wp-block-button__link:hover{
  background-color:#1f2937;
  border-color:#1f2937;
  color:#ffffff;
  box-shadow:0 10px 25px rgba(15,23,42,0.18);
  transform:translateY(-1px);
}

.lag-product-card.is-selected{
  border:1px solid #1f2937;
  box-shadow:0 14px 32px rgba(15,23,42,0.18);
}

.lag-product-card.is-selected .lag-product-select-btn,
.lag-product-card.is-selected .lag-product-select-btn .wp-block-button__link{
  background-color:#1f2937;
  border-color:#1f2937;
  color:#ffffff;
}

.lag-product-select-btn:active,
.lag-product-select-btn .wp-block-button__link:active{
  transform:translateY(0);
  box-shadow:0 4px 12px rgba(15,23,42,0.06);
}



/* Enlace de WhatsApp en banner final */
.lag-post-gen-text a{
  color:#25D366 !important;
  font-weight:600;
  text-decoration:none;
}
.lag-post-gen-text a:hover{
  text-decoration:underline;
}


/* Alinear imágenes de Productos destacados con el estilo de Servicios */
.lag-product-card.lag-service-card .lag-product-image.lag-service-image {
  margin-bottom: 0.9rem;
  border-radius: 0.9rem;
  overflow: hidden;
}

.lag-product-card.lag-service-card .lag-product-image.lag-service-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}


/* === Sticky CTA inferior (WhatsApp) === */
body.lag-has-sticky-cta {
  padding-bottom: 78px;
}

.lag-sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  padding: 10px 12px;
  padding-bottom: calc(10px + env(safe-area-inset-bottom));
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lag-sticky-cta__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 16px;
  border-radius: var(--lagb-floating-radius-md, 14px);
  text-decoration: none;
  font-weight: 700;
  color: #0b1220;
  background: var(--lag-accent-color, #06b6d4);
  box-shadow: var(--lagb-floating-shadow-sticky, 0 12px 28px rgba(0, 0, 0, 0.28));
  transition: transform var(--lagb-floating-transition-fast, 0.15s ease), box-shadow var(--lagb-floating-transition-fast, 0.15s ease), filter var(--lagb-floating-transition-fast, 0.15s ease);
}

.lag-sticky-cta__btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--lagb-floating-shadow-sticky-hover, 0 16px 32px rgba(0, 0, 0, 0.32));
  filter: brightness(1.03);
}

.lag-sticky-cta__btn:focus {
  outline: 3px solid var(--lagb-floating-focus-ring-inverse, rgba(255, 255, 255, 0.75));
  outline-offset: 3px;
}

.lag-sticky-cta__icon {
  width: 20px;
  height: 20px;
  display: inline-flex;
}

.lag-sticky-cta__icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.lag-sticky-cta__text {
  line-height: 1.1;
}

@media (min-width: 992px) {
  body.lag-has-sticky-cta {
    padding-bottom: 0;
  }
  .lag-sticky-cta {
    display: none;
  }
  body.lag-sticky-cta-desktop .lag-sticky-cta {
    display: block;
    max-width: 640px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: var(--lagb-floating-radius-lg, 16px);
    margin-bottom: 16px;
    background: rgba(15, 23, 42, 0.92);
    box-shadow: var(--lagb-floating-shadow-sticky-desktop, 0 20px 50px rgba(15, 23, 42, 0.35));
  }
  body.lag-sticky-cta-desktop .lag-sticky-cta__btn {
    border-radius: var(--lagb-floating-radius-md, 14px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
  }
}


/* === WhatsApp modal (lead context) === */
.lag-wa-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.55);
}

.lag-wa-modal.is-open {
  display: flex;
}

.lag-wa-modal__dialog {
  width: 100%;
  max-width: 520px;
  background: #ffffff;
  color: #0b1220;
  border-radius: var(--lagb-floating-radius-md, 14px);
  padding: 18px;
  box-shadow: var(--lagb-floating-shadow-modal, 0 22px 60px rgba(15, 23, 42, 0.32));
  transition: transform var(--lagb-floating-transition-normal, 0.2s ease), box-shadow var(--lagb-floating-transition-normal, 0.2s ease);
}

.lag-wa-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.lag-wa-modal__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.lag-wa-modal__close {
  appearance: none;
  background: #f1f5f9;
  border: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: #475569;
  padding: 4px 10px;
  border-radius: var(--lagb-floating-radius-pill, 999px);
  transition: background-color var(--lagb-floating-transition-fast, 0.15s ease), color var(--lagb-floating-transition-fast, 0.15s ease);
}

.lag-wa-modal__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.lag-wa-modal__close:focus-visible {
  outline: 2px solid var(--lagb-floating-focus-ring-solid, #2271b1);
  outline-offset: 2px;
}

.lag-wa-modal__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lag-wa-modal__field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.lag-wa-modal__label {
  font-size: 13px;
  font-weight: 700;
}

.lag-wa-modal__input {
  padding: 12px 12px;
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: var(--lagb-floating-radius-sm, 12px);
  font-size: 15px;
  background: #ffffff;
}

.lag-wa-modal__input:focus {
  outline: 3px solid rgba(6, 182, 212, 0.35);
  border-color: rgba(6, 182, 212, 0.6);
}

.lag-wa-modal__dialog:focus {
  outline: none;
}

.lag-wa-modal__input:focus-visible,
.lag-wa-modal__submit:focus-visible,
.lag-wa-modal__remember input:focus-visible {
  outline: 2px solid var(--lagb-floating-focus-ring, rgba(34, 113, 177, 0.72));
  outline-offset: 2px;
}

.lag-wa-modal__remember {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  margin-top: 2px;
}

.lag-wa-modal__actions {
  margin-top: 6px;
}

.lag-wa-modal__submit {
  width: 100%;
  padding: 13px 14px;
  border-radius: var(--lagb-floating-radius-sm, 12px);
  border: 0;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  background: var(--lag-accent-color, #06b6d4);
  color: #0b1220;
}

html.lag-wa-modal-open {
  overflow: hidden;
}
/* Navbar: bloqueo de scroll cuando el menú móvil está abierto */
body.lag-nav-locked {
  overflow: hidden;
  overscroll-behavior: contain;
}

/* Respeta prefers-reduced-motion (evita transform/animaciones innecesarias) */
@media (prefers-reduced-motion: reduce) {
  .lag-navbar__link,
  .lag-navbar__cta {
    transition: none !important;
  }
  .lag-navbar__link:hover,
  .lag-navbar__link:focus,
  .lag-navbar__cta:hover,
  .lag-navbar__cta:focus {
    transform: none !important;
  }
}

/* Blank template: footer simple */
body.lag-blank-template .lag-blank-footer{
  border-top:1px solid #e5e7eb;
  margin-top:48px;
  padding:18px 16px;
  text-align:center;
  color:#6b7280;
  font-size:13px;
  line-height:1.5;
}
body.lag-blank-template .lag-blank-footer-inner{
  max-width:1100px;
  margin:0 auto;
}


.lag-visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}


/* Compatibilidad con core/details nativo para mantener FAQ editable sin invalidar el bloque */
.lag-landing-basic .lag-faq-item > .wp-block-details__summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
}
.lag-landing-basic .lag-faq-item > .wp-block-details__summary::-webkit-details-marker {
  display: none;
}
.lag-landing-basic .lag-faq-item > .wp-block-details__content {
  padding-top: 10px;
}
.lag-landing-basic .lag-faq-item > .wp-block-details__content p {
  margin: 0;
}

/* ==========================================================
   LAGB Enterprise UI System - v2.7.11.11
   Compact, serious and aligned visual layer for blank template.
   ========================================================== */
body.lag-blank-template,
body.lag-blank-template .lag-blank-page,
body.lag-blank-template .lag-blank-main {
  font-family: 'Inter', sans-serif;
  color: #111827;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.lag-blank-template .lag-section,
body.lag-blank-template .lag-services,
body.lag-blank-template .lag-products {
  max-width: 1120px;
}

body.lag-blank-template .lag-section {
  margin-top: 0;
  margin-bottom: 52px;
}

body.lag-blank-template .lag-services,
body.lag-blank-template .lag-products {
  padding: 48px 20px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

body.lag-blank-template .lag-services > .wp-block-heading,
body.lag-blank-template .lag-products > .wp-block-heading,
body.lag-blank-template .lag-services h2,
body.lag-blank-template .lag-services h3,
body.lag-blank-template .lag-products h2,
body.lag-blank-template .lag-products h3 {
  text-align: center;
}

body.lag-blank-template .lag-services > .wp-block-heading,
body.lag-blank-template .lag-products > .wp-block-heading,
body.lag-blank-template .lag-section-services .wp-block-heading:first-child,
body.lag-blank-template .lag-section-products .wp-block-heading:first-child {
  margin-top: 0 !important;
  margin-bottom: 18px !important;
  color: #111827;
  font-weight: 700;
  letter-spacing: -0.025em;
}

body.lag-blank-template .lag-services-row,
body.lag-blank-template .lag-products-row,
body.lag-blank-template .lag-services .wp-block-columns,
body.lag-blank-template .lag-products .wp-block-columns {
  gap: 20px !important;
  align-items: stretch !important;
  margin-top: 18px !important;
  margin-bottom: 0 !important;
}

body.lag-blank-template .lag-services .wp-block-column,
body.lag-blank-template .lag-products .wp-block-column {
  min-width: 0;
}

body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-landing-basic .lag-service-card,
body.lag-blank-template .lag-product-card.lag-service-card {
  width: 100%;
  max-width: none;
  height: 100%;
  min-height: 100%;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  text-align: left;
  background: #ffffff;
  border: 1px solid #e5e7eb !important;
  border-radius: 8px !important;
  padding: 20px !important;
  margin: 0 !important;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03) !important;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease !important;
}

body.lag-blank-template .lag-service-card:hover,
body.lag-blank-template .lag-product-card:hover,
body.lag-blank-template .lag-product-card--interactive:hover,
body.lag-blank-template .lag-landing-basic .lag-service-card:hover {
  transform: none !important;
  border-color: rgba(37, 99, 235, 0.22) !important;
  box-shadow: 0 5px 7px -1px rgba(0, 0, 0, 0.055), 0 2px 5px -1px rgba(0, 0, 0, 0.035) !important;
}

body.lag-blank-template .lag-service-image,
body.lag-blank-template .lag-product-image,
body.lag-blank-template .lag-service-card .lag-service-image,
body.lag-blank-template .lag-product-card .lag-product-image,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image,
body.lag-blank-template .lag-landing-basic .lag-service-card .lag-service-image {
  width: 100%;
  aspect-ratio: 16 / 10 !important;
  height: auto !important;
  overflow: hidden;
  border-radius: 8px !important;
  margin: 0 0 14px 0 !important;
  background: #f3f4f6;
}

body.lag-blank-template .lag-service-image img,
body.lag-blank-template .lag-product-image img,
body.lag-blank-template .lag-service-card .lag-service-image img,
body.lag-blank-template .lag-product-card .lag-product-image img,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  border-radius: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

body.lag-blank-template .lag-card-content {
  display: block;
  margin: 0 !important;
  padding: 0 !important;
}

body.lag-blank-template .lag-card-action {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start;
  gap: 12px;
  margin-top: auto !important;
  padding-top: 12px !important;
}

body.lag-blank-template .lag-card-content > *,
body.lag-blank-template .lag-card-action > *,
body.lag-blank-template .lag-service-card > *,
body.lag-blank-template .lag-product-card > * {
  margin-block-start: 0 !important;
}

body.lag-blank-template .lag-service-title,
body.lag-blank-template .lag-product-title,
body.lag-blank-template .lag-landing-basic .lag-service-title {
  margin: 0 0 8px 0 !important;
  color: #111827 !important;
  font-size: 1.05rem !important;
  line-height: 1.35 !important;
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  text-align: left !important;
}

body.lag-blank-template .lag-service-blurb,
body.lag-blank-template .lag-product-blurb,
body.lag-blank-template .lag-landing-basic .lag-service-blurb {
  margin: 0 !important;
  color: #4B5563 !important;
  font-size: 0.94rem !important;
  line-height: 1.6 !important;
  text-align: left !important;
}

body.lag-blank-template .lag-product-price {
  margin: 0 !important;
  color: #111827 !important;
  font-size: 0.98rem !important;
  line-height: 1.45 !important;
  font-weight: 600 !important;
  text-align: left !important;
}

body.lag-blank-template .lag-product-select {
  margin: 0 !important;
  width: 100%;
}

body.lag-blank-template .lag-product-select-btn,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link {
  min-height: 42px;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px !important;
  border: 1px solid #d1d5db !important;
  background: #ffffff !important;
  color: #111827 !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
  line-height: 1.2;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, box-shadow 160ms ease !important;
}

body.lag-blank-template .lag-product-select-btn:hover,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link:hover,
body.lag-blank-template .lag-product-card.is-selected .lag-product-select-btn,
body.lag-blank-template .lag-product-card.is-selected .lag-product-select-btn .wp-block-button__link {
  background: #111827 !important;
  border-color: #111827 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 8px rgba(17, 24, 39, 0.08) !important;
  transform: none !important;
}

body.lag-blank-template .lag-product-card.is-selected {
  border-color: #111827 !important;
  box-shadow: 0 5px 8px rgba(17, 24, 39, 0.08) !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-services,
  body.lag-blank-template .lag-products {
    padding: 38px 16px;
  }

  body.lag-blank-template .lag-services-row,
  body.lag-blank-template .lag-products-row,
  body.lag-blank-template .lag-services .wp-block-columns,
  body.lag-blank-template .lag-products .wp-block-columns {
    gap: 16px !important;
  }

  body.lag-blank-template .lag-service-card,
  body.lag-blank-template .lag-product-card,
  body.lag-blank-template .lag-landing-basic .lag-service-card {
    padding: 18px !important;
  }
}

/* LAGB Enterprise UI Centered Card Copy - v2.7.11.12
   Centers service/product copy while preserving Flexbox bottom alignment. */
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-landing-basic .lag-service-card,
body.lag-blank-template .lag-product-card.lag-service-card {
  text-align: center !important;
}

body.lag-blank-template .lag-card-content {
  text-align: center !important;
}

body.lag-blank-template .lag-card-action {
  align-items: center !important;
  text-align: center !important;
}

body.lag-blank-template .lag-service-title,
body.lag-blank-template .lag-product-title,
body.lag-blank-template .lag-landing-basic .lag-service-title {
  text-align: center !important;
  width: 100%;
}

body.lag-blank-template .lag-service-blurb,
body.lag-blank-template .lag-product-blurb,
body.lag-blank-template .lag-landing-basic .lag-service-blurb {
  text-align: center !important;
  width: 100%;
}

body.lag-blank-template .lag-product-price {
  text-align: center !important;
  width: 100%;
}

body.lag-blank-template .lag-product-select {
  display: flex !important;
  justify-content: center !important;
  width: 100%;
}

body.lag-blank-template .lag-product-select-btn {
  align-self: center !important;
  width: auto !important;
}

body.lag-blank-template .lag-product-select-btn .wp-block-button__link {
  width: auto !important;
  min-width: 120px;
  padding-left: 16px !important;
  padding-right: 16px !important;
}

/* ==========================================================
   LAGB Enterprise Layout Polish - v2.7.11.13
   Professional, compact and consistent frontend layer for the blank template.
   This block intentionally overrides only visual/layout concerns.
   ========================================================== */
body.lag-blank-template {
  --lag-enterprise-text: #111827;
  --lag-enterprise-muted: #4b5563;
  --lag-enterprise-soft: #f8fafc;
  --lag-enterprise-surface: #ffffff;
  --lag-enterprise-border: #e5e7eb;
  --lag-enterprise-border-strong: #d1d5db;
  --lag-enterprise-primary: #1d4ed8;
  --lag-enterprise-primary-dark: #111827;
  --lag-enterprise-radius: 8px;
  --lag-enterprise-radius-lg: 12px;
  --lag-enterprise-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.045), 0 2px 4px -1px rgba(0, 0, 0, 0.025);
  --lag-enterprise-shadow-hover: 0 5px 8px -1px rgba(0, 0, 0, 0.055), 0 2px 5px -1px rgba(0, 0, 0, 0.032);
  --lag-enterprise-section-y: 60px;
  --lag-enterprise-section-y-mobile: 42px;
  background: #ffffff;
  color: var(--lag-enterprise-text);
}

body.lag-blank-template *,
body.lag-blank-template *::before,
body.lag-blank-template *::after { box-sizing: border-box; }

body.lag-blank-template a { text-underline-offset: 3px; }
body.lag-blank-template .lag-blank-main { background: #ffffff; }

body.lag-blank-template .lag-section {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: var(--lag-enterprise-section-y) 20px !important;
  scroll-margin-top: 76px;
}

body.lag-blank-template .lag-section > .wp-block-group,
body.lag-blank-template .lag-section > .wp-block-columns,
body.lag-blank-template .lag-section > .lag-services,
body.lag-blank-template .lag-section > .lag-products,
body.lag-blank-template .lag-section > .lag-testimonials,
body.lag-blank-template .lag-section > .lag-faqs,
body.lag-blank-template .lag-section > .lag-cta {
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template .lag-section-services,
body.lag-blank-template .lag-section-products,
body.lag-blank-template .lag-section-testimonials,
body.lag-blank-template .lag-section-faqs,
body.lag-blank-template .lag-section-pricing,
body.lag-blank-template .lag-section-location { border-top: 1px solid rgba(229, 231, 235, 0.7); }

body.lag-blank-template .lag-section-services,
body.lag-blank-template .lag-section-products,
body.lag-blank-template .lag-section-faqs {
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 56%, #f9fafb 100%);
}

body.lag-blank-template .lag-section > .wp-block-heading,
body.lag-blank-template .lag-section .wp-block-group > .wp-block-heading:first-child,
body.lag-blank-template .lag-services > .wp-block-heading,
body.lag-blank-template .lag-products > .wp-block-heading,
body.lag-blank-template .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lag-faqs > .wp-block-heading {
  max-width: 760px;
  margin: 0 auto 22px !important;
  color: var(--lag-enterprise-text) !important;
  font-size: clamp(1.55rem, 2.2vw, 2rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.035em;
  font-weight: 700 !important;
  text-align: center !important;
}

body.lag-blank-template .lag-section > p,
body.lag-blank-template .lag-section .wp-block-group > p:first-of-type {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: var(--lag-enterprise-muted);
}

body.lag-blank-template .lag-hero.wp-block-cover,
body.lag-blank-template .lag-landing-basic .lag-hero.wp-block-cover {
  min-height: clamp(440px, 58vh, 620px) !important;
  padding-top: 72px !important;
  padding-bottom: 72px !important;
  display: flex;
  align-items: center;
}

body.lag-blank-template .lag-hero .wp-block-cover__background {
  opacity: 0.62 !important;
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.66) 48%, rgba(15, 23, 42, 0.38) 100%) !important;
}

body.lag-blank-template .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template .lag-hero > .wp-block-group__inner-container {
  width: 100%;
  max-width: 1120px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px !important;
  padding-right: 20px !important;
}

body.lag-blank-template .lag-hero h1,
body.lag-blank-template .lag-hero h2,
body.lag-blank-template .lag-hero h3,
body.lag-blank-template .lag-hero .wp-block-heading {
  max-width: 880px;
  margin: 0 auto 16px !important;
  font-size: clamp(2.15rem, 5vw, 4.1rem) !important;
  line-height: 1.03 !important;
  letter-spacing: -0.055em !important;
  font-weight: 700 !important;
  text-align: center !important;
  color: #ffffff !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.55) !important;
}

body.lag-blank-template .lag-hero p {
  max-width: 700px !important;
  margin: 0 auto !important;
  color: rgba(255, 255, 255, 0.92) !important;
  font-size: clamp(1rem, 1.35vw, 1.14rem) !important;
  line-height: 1.65 !important;
  text-align: center !important;
  text-shadow: 0 1px 2px rgba(15, 23, 42, 0.45) !important;
}

body.lag-blank-template .lag-hero .wp-block-buttons {
  margin-top: 28px !important;
  gap: 12px !important;
  justify-content: center !important;
}

body.lag-blank-template .wp-block-button__link,
body.lag-blank-template .lag-multi-cta-link,
body.lag-blank-template .lag-navbar__cta,
body.lag-blank-template .lag-wa-modal__submit,
body.lag-blank-template .lag-sticky-cta__btn {
  min-height: 44px;
  border-radius: var(--lag-enterprise-radius) !important;
  font-size: 0.94rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  box-shadow: none;
  transform: none !important;
}

body.lag-blank-template .wp-block-button__link:hover,
body.lag-blank-template .wp-block-button__link:focus,
body.lag-blank-template .lag-multi-cta-link:hover,
body.lag-blank-template .lag-multi-cta-link:focus {
  transform: none !important;
  box-shadow: 0 4px 8px rgba(17, 24, 39, 0.08) !important;
}

body.lag-blank-template .lag-navbar {
  background: #111827;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 1px 8px rgba(15, 23, 42, 0.14);
}

body.lag-blank-template .lag-navbar__inner {
  max-width: 1120px;
  min-height: 56px;
  padding: 9px 20px;
}

body.lag-blank-template .lag-navbar__link,
body.lag-blank-template .lag-navbar__logo { color: rgba(255, 255, 255, 0.92); }
body.lag-blank-template .lag-navbar__link { border-radius: var(--lag-enterprise-radius); transform: none !important; }
body.lag-blank-template .lag-navbar__link:hover,
body.lag-blank-template .lag-navbar__link:focus,
body.lag-blank-template .lag-navbar__link--active { background: rgba(255, 255, 255, 0.10); color: #ffffff; }

body.lag-blank-template .lag-services,
body.lag-blank-template .lag-products { padding: 0 !important; margin: 0 auto !important; }

body.lag-blank-template .lag-services-row,
body.lag-blank-template .lag-products-row,
body.lag-blank-template .lag-services .wp-block-columns,
body.lag-blank-template .lag-products .wp-block-columns {
  gap: 22px !important;
  align-items: stretch !important;
  margin-top: 24px !important;
}

body.lag-blank-template .lag-services .wp-block-column,
body.lag-blank-template .lag-products .wp-block-column { display: flex !important; flex-direction: column !important; }

body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-product-card.lag-service-card {
  min-height: 100%;
  padding: 22px !important;
  border-radius: var(--lag-enterprise-radius) !important;
  border-color: var(--lag-enterprise-border) !important;
  box-shadow: var(--lag-enterprise-shadow) !important;
  background: var(--lag-enterprise-surface) !important;
}

body.lag-blank-template .lag-service-card:hover,
body.lag-blank-template .lag-product-card:hover,
body.lag-blank-template .lag-product-card--interactive:hover {
  border-color: rgba(29, 78, 216, 0.24) !important;
  box-shadow: var(--lag-enterprise-shadow-hover) !important;
  transform: none !important;
}

body.lag-blank-template .lag-service-image,
body.lag-blank-template .lag-product-image,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image {
  border-radius: var(--lag-enterprise-radius) !important;
  margin-bottom: 16px !important;
  background: #eef2f7;
}

body.lag-blank-template .lag-card-content { flex: 0 0 auto; }
body.lag-blank-template .lag-service-title,
body.lag-blank-template .lag-product-title {
  margin-bottom: 8px !important;
  font-size: 1.02rem !important;
  line-height: 1.32 !important;
  font-weight: 600 !important;
  color: var(--lag-enterprise-text) !important;
}

body.lag-blank-template .lag-service-blurb,
body.lag-blank-template .lag-product-blurb {
  color: var(--lag-enterprise-muted) !important;
  font-size: 0.94rem !important;
  line-height: 1.58 !important;
}

body.lag-blank-template .lag-card-action { margin-top: auto !important; padding-top: 12px !important; gap: 10px !important; }
body.lag-blank-template .lag-product-price { margin-bottom: 0 !important; font-size: 0.98rem !important; font-weight: 700 !important; color: var(--lag-enterprise-text) !important; }
body.lag-blank-template .lag-product-select-btn .wp-block-button__link,
body.lag-blank-template .lag-product-select-btn { min-width: 132px; }

body.lag-blank-template .lag-about-text,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-pricing-card,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-wa-modal__dialog {
  border-radius: var(--lag-enterprise-radius-lg) !important;
  border: 1px solid var(--lag-enterprise-border) !important;
  background: #ffffff !important;
  box-shadow: var(--lag-enterprise-shadow) !important;
}

body.lag-blank-template .lag-about-text,
body.lag-blank-template .lag-location-text { padding: 24px !important; }

body.lag-blank-template .lag-about-text p,
body.lag-blank-template .lag-location-text p,
body.lag-blank-template .lag-testimonial p,
body.lag-blank-template .lag-faq-a,
body.lag-blank-template .lag-pricing-features,
body.lag-blank-template .lag-pricing-features li { color: var(--lag-enterprise-muted) !important; line-height: 1.65 !important; }

body.lag-blank-template .lag-about-image img,
body.lag-blank-template .lag-location-map iframe,
body.lag-blank-template .lag-osm-map {
  border-radius: var(--lag-enterprise-radius-lg) !important;
  border: 1px solid var(--lag-enterprise-border);
  box-shadow: var(--lag-enterprise-shadow) !important;
}

body.lag-blank-template .lag-testimonial::before { color: rgba(17, 24, 39, 0.12) !important; }
body.lag-blank-template .lag-faq-item[open] { box-shadow: var(--lag-enterprise-shadow-hover) !important; }

body.lag-blank-template .lag-section-cta {
  background: #f9fafb;
  border-top: 1px solid var(--lag-enterprise-border);
  border-bottom: 1px solid var(--lag-enterprise-border);
}

body.lag-blank-template .lag-cta {
  max-width: 820px !important;
  margin: 0 auto !important;
  padding: 34px 28px !important;
  text-align: center;
  border: 1px solid var(--lag-enterprise-border);
  border-radius: var(--lag-enterprise-radius-lg);
  background: #ffffff;
  box-shadow: var(--lag-enterprise-shadow);
}

body.lag-blank-template .lag-cta .wp-block-heading {
  max-width: 680px;
  margin: 0 auto 10px !important;
  color: var(--lag-enterprise-text) !important;
  font-size: clamp(1.45rem, 2vw, 1.85rem) !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em;
}

body.lag-blank-template .lag-cta p { max-width: 640px; margin-left: auto !important; margin-right: auto !important; color: var(--lag-enterprise-muted) !important; }
body.lag-blank-template .lag-cta .wp-block-buttons { margin-top: 20px !important; justify-content: center !important; gap: 12px !important; }

body.lag-blank-template input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='submit']),
body.lag-blank-template select,
body.lag-blank-template textarea,
body.lag-blank-template .lag-wa-modal__input {
  border-radius: var(--lag-enterprise-radius) !important;
  border: 1px solid var(--lag-enterprise-border-strong) !important;
  background: #ffffff !important;
  color: var(--lag-enterprise-text) !important;
  box-shadow: none !important;
}

body.lag-blank-template input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='submit']):focus,
body.lag-blank-template select:focus,
body.lag-blank-template textarea:focus,
body.lag-blank-template .lag-wa-modal__input:focus {
  outline: 3px solid rgba(29, 78, 216, 0.16) !important;
  border-color: rgba(29, 78, 216, 0.45) !important;
}

body.lag-blank-template .lag-blank-footer {
  margin-top: 0 !important;
  background: #ffffff;
  border-top: 1px solid var(--lag-enterprise-border);
  color: #6b7280;
}

@media (max-width: 782px) {
  body.lag-blank-template { --lag-enterprise-section-y: var(--lag-enterprise-section-y-mobile); }
  body.lag-blank-template .lag-section { padding-left: 16px !important; padding-right: 16px !important; }
  body.lag-blank-template .lag-hero.wp-block-cover,
  body.lag-blank-template .lag-landing-basic .lag-hero.wp-block-cover { min-height: 420px !important; padding-top: 56px !important; padding-bottom: 56px !important; }
  body.lag-blank-template .lag-hero h1,
  body.lag-blank-template .lag-hero h2,
  body.lag-blank-template .lag-hero h3,
  body.lag-blank-template .lag-hero .wp-block-heading { font-size: clamp(1.9rem, 8vw, 2.65rem) !important; }
  body.lag-blank-template .lag-hero p { font-size: 0.98rem !important; }
  body.lag-blank-template .lag-services-row,
  body.lag-blank-template .lag-products-row,
  body.lag-blank-template .lag-services .wp-block-columns,
  body.lag-blank-template .lag-products .wp-block-columns { gap: 16px !important; }
  body.lag-blank-template .lag-service-card,
  body.lag-blank-template .lag-product-card,
  body.lag-blank-template .lag-product-card.lag-service-card { padding: 18px !important; }
  body.lag-blank-template .lag-cta { padding: 26px 18px !important; }
  body.lag-blank-template .lag-cta .wp-block-buttons,
  body.lag-blank-template .lag-hero .wp-block-buttons { flex-direction: column; align-items: stretch; }
  body.lag-blank-template .lag-cta .wp-block-button__link,
  body.lag-blank-template .lag-hero .wp-block-button__link { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  body.lag-blank-template .lag-service-card,
  body.lag-blank-template .lag-product-card,
  body.lag-blank-template .lag-product-card.lag-service-card { padding: 16px !important; }
  body.lag-blank-template .lag-section > .wp-block-heading,
  body.lag-blank-template .lag-section .wp-block-group > .wp-block-heading:first-child,
  body.lag-blank-template .lag-services > .wp-block-heading,
  body.lag-blank-template .lag-products > .wp-block-heading { font-size: 1.45rem !important; }
}


/* ==========================================================
   LAGB Brand Controls & Premium Sections - v2.7.11.14
   Safe visual overrides powered by admin brand controls.
   ========================================================== */
body.lag-blank-template {
  --lagb-premium-primary: var(--lagb-brand-primary, var(--lag-enterprise-primary, #0f172a));
  --lagb-premium-accent: var(--lagb-brand-accent, var(--lag-accent-color, #06b6d4));
  --lagb-premium-bg: var(--lagb-brand-bg, #ffffff);
  --lagb-premium-surface: var(--lagb-brand-surface, #ffffff);
  --lagb-premium-text: #111827;
  --lagb-premium-muted: #4b5563;
  --lagb-premium-border: #e5e7eb;
  --lagb-premium-border-strong: #d1d5db;
  --lagb-premium-radius: 8px;
  --lagb-premium-radius-lg: 12px;
  --lagb-premium-shadow: 0 4px 10px rgba(15, 23, 42, 0.045);
  --lagb-premium-shadow-hover: 0 6px 14px rgba(15, 23, 42, 0.055);
  background: var(--lagb-premium-bg) !important;
}

body.lag-blank-template .lag-blank-main,
body.lag-blank-template .lag-landing-basic {
  background: var(--lagb-premium-bg) !important;
}

body.lag-blank-template .lag-navbar {
  background: var(--lagb-premium-primary) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06), 0 8px 24px rgba(15,23,42,0.10) !important;
}

body.lag-blank-template .lag-navbar__inner { min-height: 58px; }
body.lag-blank-template .lag-navbar__logo { font-weight: 700; letter-spacing: -0.018em; }

body.lag-blank-template .lag-navbar__link,
body.lag-blank-template .lag-navbar__cta {
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, box-shadow 160ms ease !important;
}

body.lag-blank-template .lag-navbar__link:hover,
body.lag-blank-template .lag-navbar__link:focus,
body.lag-blank-template .lag-navbar__link--active { background: rgba(255,255,255,0.12) !important; }

body.lag-blank-template .lag-navbar__cta--solid,
body.lag-blank-template .lag-sticky-cta__btn,
body.lag-blank-template .lag-wa-modal__submit {
  background: var(--lagb-premium-accent) !important;
  border-color: var(--lagb-premium-accent) !important;
  color: #06111f !important;
}

body.lag-blank-template .lag-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.90) 0%, rgba(15, 23, 42, 0.72) 48%, rgba(15, 23, 42, 0.42) 100%) !important;
}

body.lag-blank-template .wp-block-button__link:not(.has-background),
body.lag-blank-template .lag-multi-cta-link--primary {
  background-color: var(--lagb-premium-primary) !important;
  border: 1px solid var(--lagb-premium-primary) !important;
  color: #ffffff !important;
}

body.lag-blank-template .wp-block-button.is-style-outline .wp-block-button__link,
body.lag-blank-template .lag-multi-cta-link--outline,
body.lag-blank-template .lag-multi-cta-link--secondary {
  background: transparent !important;
  border: 1px solid rgba(255,255,255,0.55) !important;
  color: #ffffff !important;
}

body.lag-blank-template .lag-section-services,
body.lag-blank-template .lag-section-products,
body.lag-blank-template .lag-section-faqs,
body.lag-blank-template .lag-section-location,
body.lag-blank-template .lag-section-pricing,
body.lag-blank-template .lag-section-testimonials { background: var(--lagb-premium-bg) !important; }

body.lag-blank-template .lag-section:nth-of-type(even):not(.lag-section-hero):not(.lag-section-cta) { background: color-mix(in srgb, var(--lagb-premium-bg) 92%, #f8fafc 8%) !important; }

body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-about-text,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-pricing-card,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-cta,
body.lag-blank-template .lag-wa-modal__dialog {
  background: var(--lagb-premium-surface) !important;
  border-color: var(--lagb-premium-border) !important;
  border-radius: var(--lagb-premium-radius-lg) !important;
  box-shadow: var(--lagb-premium-shadow) !important;
}

body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card { border-radius: var(--lagb-premium-radius) !important; }

body.lag-blank-template .lag-service-card:hover,
body.lag-blank-template .lag-product-card:hover,
body.lag-blank-template .lag-product-card--interactive:hover,
body.lag-blank-template .lag-faq-item[open] {
  border-color: color-mix(in srgb, var(--lagb-premium-primary) 26%, var(--lagb-premium-border) 74%) !important;
  box-shadow: var(--lagb-premium-shadow-hover) !important;
}

body.lag-blank-template .lag-product-select-btn:hover,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link:hover,
body.lag-blank-template .lag-product-card.is-selected .lag-product-select-btn,
body.lag-blank-template .lag-product-card.is-selected .lag-product-select-btn .wp-block-button__link {
  background: var(--lagb-premium-primary) !important;
  border-color: var(--lagb-premium-primary) !important;
  color: #ffffff !important;
}

body.lag-blank-template .lag-section-cta {
  background: linear-gradient(180deg, color-mix(in srgb, var(--lagb-premium-primary) 7%, #ffffff 93%) 0%, var(--lagb-premium-bg) 100%) !important;
}

body.lag-blank-template .lag-cta { position: relative; overflow: hidden; }
body.lag-blank-template .lag-cta::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lagb-premium-primary), var(--lagb-premium-accent));
}

body.lag-blank-template .lag-faqs .lag-faq { margin-bottom: 8px !important; }
body.lag-blank-template .lag-faq-item { padding: 14px 16px !important; }
body.lag-blank-template .lag-faq-q::after { color: var(--lagb-premium-primary) !important; }
body.lag-blank-template .lag-testimonial { padding: 22px 24px !important; }
body.lag-blank-template .lag-testimonial::before { color: color-mix(in srgb, var(--lagb-premium-primary) 16%, transparent) !important; }
body.lag-blank-template .lag-pricing-card.is-featured { border-color: var(--lagb-premium-primary) !important; }

body.lag-blank-template input:not([type='hidden']):not([type='checkbox']):not([type='radio']):not([type='submit']):focus,
body.lag-blank-template select:focus,
body.lag-blank-template textarea:focus,
body.lag-blank-template .lag-wa-modal__input:focus {
  outline: 3px solid color-mix(in srgb, var(--lagb-premium-primary) 16%, transparent) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary) 45%, var(--lagb-premium-border) 55%) !important;
}

/* Minimal style: same structure, less visual weight. */
body.lag-blank-template.lagb-style-minimal {
  --lagb-premium-shadow: none;
  --lagb-premium-shadow-hover: 0 2px 8px rgba(15, 23, 42, 0.045);
}
body.lag-blank-template.lagb-style-minimal .lag-section:nth-of-type(even):not(.lag-section-hero):not(.lag-section-cta),
body.lag-blank-template.lagb-style-minimal .lag-section-cta { background: var(--lagb-premium-bg) !important; }
body.lag-blank-template.lagb-style-minimal .lag-hero.wp-block-cover { min-height: clamp(380px, 48vh, 520px) !important; }
body.lag-blank-template.lagb-style-minimal .lag-service-card,
body.lag-blank-template.lagb-style-minimal .lag-product-card,
body.lag-blank-template.lagb-style-minimal .lag-about-text,
body.lag-blank-template.lagb-style-minimal .lag-location-text,
body.lag-blank-template.lagb-style-minimal .lag-testimonial,
body.lag-blank-template.lagb-style-minimal .lag-faq-item,
body.lag-blank-template.lagb-style-minimal .lag-cta { box-shadow: none !important; }

@media (max-width: 782px) {
  body.lag-blank-template .lag-navbar__menu { background: var(--lagb-premium-primary) !important; }
  body.lag-blank-template .lag-faq-item { padding: 12px 14px !important; }
}


/* ==========================================================
   LAGB CTA Final Section Fix - v2.7.11.15
   Ensure final CTA buttons remain visible and professional on white cards.
   ========================================================== */
body.lag-blank-template .lag-cta .wp-block-buttons {
  align-items: center;
}

body.lag-blank-template .lag-cta .wp-block-button__link,
body.lag-blank-template .lag-cta .lag-multi-cta-link {
  min-width: 220px;
  justify-content: center;
}

/* Primary CTA inside final white CTA section */
body.lag-blank-template .lag-cta .wp-block-button__link.has-background,
body.lag-blank-template .lag-cta .lag-multi-cta-link--primary {
  background: var(--lagb-premium-accent) !important;
  border: 1px solid var(--lagb-premium-accent) !important;
  color: #ffffff !important;
}

body.lag-blank-template .lag-cta .wp-block-button__link.has-background:hover,
body.lag-blank-template .lag-cta .wp-block-button__link.has-background:focus,
body.lag-blank-template .lag-cta .lag-multi-cta-link--primary:hover,
body.lag-blank-template .lag-cta .lag-multi-cta-link--primary:focus {
  filter: brightness(0.98);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08) !important;
}

/* Outline / secondary CTA inside final white CTA section */
body.lag-blank-template .lag-cta .wp-block-button.is-style-outline .wp-block-button__link,
body.lag-blank-template .lag-cta .lag-multi-cta-link--outline,
body.lag-blank-template .lag-cta .lag-multi-cta-link--secondary {
  background: #ffffff !important;
  border: 1px solid var(--lagb-premium-border-strong) !important;
  color: var(--lagb-premium-text) !important;
}

body.lag-blank-template .lag-cta .wp-block-button.is-style-outline .wp-block-button__link:hover,
body.lag-blank-template .lag-cta .wp-block-button.is-style-outline .wp-block-button__link:focus,
body.lag-blank-template .lag-cta .lag-multi-cta-link--outline:hover,
body.lag-blank-template .lag-cta .lag-multi-cta-link--outline:focus,
body.lag-blank-template .lag-cta .lag-multi-cta-link--secondary:hover,
body.lag-blank-template .lag-cta .lag-multi-cta-link--secondary:focus {
  background: #f9fafb !important;
  border-color: #cbd5e1 !important;
  color: var(--lagb-premium-text) !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06) !important;
}

body.lag-blank-template .lag-cta .wp-block-button,
body.lag-blank-template .lag-cta .wp-block-buttons > .wp-block-button {
  display: inline-flex;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-cta .wp-block-buttons {
    align-items: stretch;
  }
  body.lag-blank-template .lag-cta .wp-block-button,
  body.lag-blank-template .lag-cta .wp-block-buttons > .wp-block-button {
    display: block;
  }
  body.lag-blank-template .lag-cta .wp-block-button__link,
  body.lag-blank-template .lag-cta .lag-multi-cta-link {
    min-width: 0;
    width: 100%;
  }
}

/* ==========================================================
   LAGB Premium Form & Trust Polish FIXED - v2.7.11.17
   Conservative version: no testimonial grid override, no structural changes.
   ========================================================== */

/* Testimonios: mantener estructura original y solo pulir cards individuales. */
body.lag-blank-template .lag-section-testimonials .lag-testimonials {
  display: block !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lag-section-testimonials .lag-testimonials > h2,
body.lag-blank-template .lag-section-testimonials .lag-testimonials > h3 {
  margin-bottom: 20px !important;
  text-align: center !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial {
  position: relative;
  display: block !important;
  width: 100% !important;
  max-width: 820px !important;
  margin: 0 auto 14px !important;
  padding: 22px 24px 22px 56px !important;
  text-align: left !important;
  border: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
  border-radius: var(--lagb-premium-radius-lg, 12px) !important;
  background: var(--lagb-premium-surface, #ffffff) !important;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.045) !important;
  font-style: normal !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial:hover,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial:hover {
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 18%, #e5e7eb 82%) !important;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.055) !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial::before {
  content: "\201C" !important;
  position: absolute !important;
  top: 17px !important;
  left: 22px !important;
  right: auto !important;
  color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 18%, transparent) !important;
  font-size: 2.8rem !important;
  line-height: 1 !important;
  pointer-events: none !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial p {
  margin: 0 0 12px !important;
  color: var(--lagb-premium-muted, #4b5563) !important;
  font-size: 0.96rem !important;
  line-height: 1.68 !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial cite,
body.lag-blank-template .lag-section-testimonials .lag-testimonial .wp-block-quote__citation {
  display: block !important;
  margin: 0 !important;
  color: var(--lagb-premium-text, #111827) !important;
  font-size: 0.9rem !important;
  font-style: normal !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
}

/* FAQ: pulido seguro sin cambiar layout global. */
body.lag-blank-template .lag-section-faqs .lag-faqs {
  max-width: 860px !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item {
  overflow: hidden;
  border: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
  border-radius: var(--lagb-premium-radius-lg, 12px) !important;
  background: var(--lagb-premium-surface, #ffffff) !important;
  box-shadow: none !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item[open] {
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 18%, #e5e7eb 82%) !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.045) !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q,
body.lag-blank-template .lag-section-faqs .lag-faq-item > summary,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
  color: var(--lagb-premium-text, #111827) !important;
  font-weight: 700 !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-a,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__content {
  color: var(--lagb-premium-muted, #4b5563) !important;
  line-height: 1.68 !important;
}

/* Formulario visible en landing: modal WhatsApp/contacto. */
body.lag-blank-template .lag-wa-modal__dialog {
  border: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  box-shadow: 0 22px 48px rgba(15, 23, 42, 0.18) !important;
}

body.lag-blank-template .lag-wa-modal__header {
  padding-bottom: 14px !important;
  border-bottom: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
}

body.lag-blank-template .lag-wa-modal__title {
  color: var(--lagb-premium-text, #111827) !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
}

body.lag-blank-template .lag-wa-modal__label {
  color: var(--lagb-premium-text, #111827) !important;
  font-weight: 600 !important;
}

body.lag-blank-template .lag-wa-modal__input {
  min-height: 44px !important;
  border-color: var(--lagb-premium-border-strong, #d1d5db) !important;
  border-radius: var(--lagb-premium-radius, 8px) !important;
  background: #ffffff !important;
  color: var(--lagb-premium-text, #111827) !important;
  box-shadow: none !important;
}

body.lag-blank-template .lag-wa-modal__input:focus {
  outline: 3px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 14%, transparent) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 44%, #d1d5db 56%) !important;
}

body.lag-blank-template .lag-wa-modal__remember {
  color: var(--lagb-premium-muted, #4b5563) !important;
  font-size: 0.88rem !important;
}

body.lag-blank-template .lag-wa-modal__submit {
  min-height: 44px !important;
  border-radius: var(--lagb-premium-radius, 8px) !important;
  background: var(--lagb-premium-primary, #0f172a) !important;
  border-color: var(--lagb-premium-primary, #0f172a) !important;
  color: #ffffff !important;
}

body.lag-blank-template .lag-wa-modal__submit:hover,
body.lag-blank-template .lag-wa-modal__submit:focus {
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.10) !important;
}

@media (max-width: 640px) {
  body.lag-blank-template .lag-section-testimonials .lag-testimonial,
  body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial {
    padding: 20px 18px 20px 48px !important;
  }
  body.lag-blank-template .lag-section-testimonials .lag-testimonial::before {
    left: 18px !important;
  }
}

/* ==========================================================
   LAGB Design Presets - v2.7.11.20
   Safe visual presets for blank-template landings.
   ========================================================== */
body.lag-blank-template.lagb-style-local_business {
  --lagb-premium-primary: var(--lagb-brand-primary, #1f2937);
  --lagb-premium-accent: var(--lagb-brand-accent, #0ea5e9);
  --lagb-premium-bg: var(--lagb-brand-bg, #fbfdff);
  --lagb-premium-surface: var(--lagb-brand-surface, #ffffff);
}

body.lag-blank-template.lagb-style-local_business .lag-navbar {
  background: color-mix(in srgb, var(--lagb-premium-primary) 92%, #ffffff 8%) !important;
}

body.lag-blank-template.lagb-style-local_business .lag-service-card,
body.lag-blank-template.lagb-style-local_business .lag-product-card,
body.lag-blank-template.lagb-style-local_business .lag-faq-item,
body.lag-blank-template.lagb-style-local_business .lag-testimonials blockquote,
body.lag-blank-template.lagb-style-local_business .lag-cta {
  border-radius: 10px !important;
}

body.lag-blank-template.lagb-style-premium_visual {
  --lagb-premium-primary: var(--lagb-brand-primary, #020617);
  --lagb-premium-accent: var(--lagb-brand-accent, #38bdf8);
  --lagb-premium-shadow: 0 8px 24px rgba(15, 23, 42, 0.065);
  --lagb-premium-shadow-hover: 0 10px 28px rgba(15, 23, 42, 0.085);
}

body.lag-blank-template.lagb-style-premium_visual .lag-navbar,
body.lag-blank-template.lagb-style-premium_visual .lag-section-cta {
  background: linear-gradient(135deg, var(--lagb-premium-primary), color-mix(in srgb, var(--lagb-premium-primary) 78%, var(--lagb-premium-accent) 22%)) !important;
}

body.lag-blank-template.lagb-style-premium_visual .lag-section-cta .lag-cta {
  background: rgba(255, 255, 255, 0.98) !important;
}

body.lag-blank-template.lagb-style-premium_visual .lag-service-card,
body.lag-blank-template.lagb-style-premium_visual .lag-product-card,
body.lag-blank-template.lagb-style-premium_visual .lag-faq-item,
body.lag-blank-template.lagb-style-premium_visual .lag-testimonials blockquote {
  border-top: 3px solid color-mix(in srgb, var(--lagb-premium-accent) 60%, #ffffff 40%) !important;
}

body.lag-blank-template.lagb-style-no_images .lag-hero img.wp-block-cover__image-background,
body.lag-blank-template.lagb-style-no_images .lag-service-image,
body.lag-blank-template.lagb-style-no_images .lag-product-image,
body.lag-blank-template.lagb-style-no_images .lag-about-image,
body.lag-blank-template.lagb-style-no_images .lag-testimonial-image,
body.lag-blank-template.lagb-style-no_images .lag-faq-image,
body.lag-blank-template.lagb-style-no_images figure[class*="lag-"] {
  display: none !important;
}

body.lag-blank-template.lagb-style-no_images .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-style-no_images .lag-landing-basic .lag-hero.wp-block-cover {
  background: linear-gradient(135deg, var(--lagb-premium-primary), color-mix(in srgb, var(--lagb-premium-primary) 78%, var(--lagb-premium-accent) 22%)) !important;
  min-height: 460px !important;
}

body.lag-blank-template.lagb-style-no_images .lag-hero .wp-block-cover__background {
  background: rgba(15, 23, 42, 0.68) !important;
}

body.lag-blank-template.lagb-style-no_images .lag-service-card,
body.lag-blank-template.lagb-style-no_images .lag-product-card,
body.lag-blank-template.lagb-style-no_images .lag-product-card.lag-service-card {
  padding-top: 28px !important;
}


/* ==========================================================
   LAGB Hero Variants & Visual Density - v2.7.11.21
   Safe frontend-only polish for blank-template landings.
   ========================================================== */
body.lag-blank-template.lagb-density-compact {
  --lag-enterprise-section-y: 44px;
  --lag-enterprise-section-y-mobile: 32px;
  --lagb-card-padding-adjust: -4px;
  --lagb-hero-min: 360px;
  --lagb-hero-pad: 52px;
}

body.lag-blank-template.lagb-density-normal {
  --lagb-card-padding-adjust: 0px;
  --lagb-hero-min: 440px;
  --lagb-hero-pad: 72px;
}

body.lag-blank-template.lagb-density-spacious {
  --lag-enterprise-section-y: 76px;
  --lag-enterprise-section-y-mobile: 48px;
  --lagb-card-padding-adjust: 4px;
  --lagb-hero-min: 520px;
  --lagb-hero-pad: 88px;
}

body.lag-blank-template.lagb-density-compact .lag-section > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-services > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-products > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-testimonials > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-faqs > .wp-block-heading {
  margin-bottom: 16px !important;
}

body.lag-blank-template.lagb-density-spacious .lag-section > .wp-block-heading,
body.lag-blank-template.lagb-density-spacious .lag-services > .wp-block-heading,
body.lag-blank-template.lagb-density-spacious .lag-products > .wp-block-heading,
body.lag-blank-template.lagb-density-spacious .lag-testimonials > .wp-block-heading,
body.lag-blank-template.lagb-density-spacious .lag-faqs > .wp-block-heading {
  margin-bottom: 28px !important;
}

body.lag-blank-template.lagb-density-compact .lag-service-card,
body.lag-blank-template.lagb-density-compact .lag-product-card,
body.lag-blank-template.lagb-density-compact .lag-product-card.lag-service-card,
body.lag-blank-template.lagb-density-compact .lag-testimonial,
body.lag-blank-template.lagb-density-compact .lag-faq-item {
  padding: max(16px, calc(22px + var(--lagb-card-padding-adjust, 0px))) !important;
}

body.lag-blank-template.lagb-density-spacious .lag-service-card,
body.lag-blank-template.lagb-density-spacious .lag-product-card,
body.lag-blank-template.lagb-density-spacious .lag-product-card.lag-service-card,
body.lag-blank-template.lagb-density-spacious .lag-testimonial,
body.lag-blank-template.lagb-density-spacious .lag-faq-item {
  padding: calc(24px + var(--lagb-card-padding-adjust, 0px)) !important;
}

/* Hero variants: default auto still follows the visual preset. */
body.lag-blank-template.lagb-hero-dark .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-hero-auto.lagb-style-enterprise .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-hero-auto.lagb-style-local_business .lag-hero.wp-block-cover {
  min-height: clamp(var(--lagb-hero-min, 440px), 58vh, 620px) !important;
  padding-top: var(--lagb-hero-pad, 72px) !important;
  padding-bottom: var(--lagb-hero-pad, 72px) !important;
}

body.lag-blank-template.lagb-hero-dark .lag-hero .wp-block-cover__background,
body.lag-blank-template.lagb-hero-auto.lagb-style-enterprise .lag-hero .wp-block-cover__background,
body.lag-blank-template.lagb-hero-auto.lagb-style-local_business .lag-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.74) 48%, rgba(15, 23, 42, 0.46) 100%) !important;
}

body.lag-blank-template.lagb-hero-minimal .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero.wp-block-cover {
  min-height: clamp(340px, 44vh, 480px) !important;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--lagb-premium-bg, #ffffff) 88%, #f8fafc 12%) 100%) !important;
  border-bottom: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
}

body.lag-blank-template.lagb-hero-minimal .lag-hero img.wp-block-cover__image-background,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero img.wp-block-cover__image-background {
  display: none !important;
}

body.lag-blank-template.lagb-hero-minimal .lag-hero .wp-block-cover__background,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero .wp-block-cover__background {
  background: transparent !important;
  opacity: 0 !important;
}

body.lag-blank-template.lagb-hero-minimal .lag-hero,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero,
body.lag-blank-template.lagb-hero-minimal .lag-hero h1,
body.lag-blank-template.lagb-hero-minimal .lag-hero h2,
body.lag-blank-template.lagb-hero-minimal .lag-hero h3,
body.lag-blank-template.lagb-hero-minimal .lag-hero p,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero h1,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero h2,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero h3,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero p {
  color: var(--lagb-premium-text, #111827) !important;
  text-shadow: none !important;
}

body.lag-blank-template.lagb-hero-minimal .lag-hero p,
body.lag-blank-template.lagb-hero-auto.lagb-style-minimal .lag-hero p {
  color: var(--lagb-premium-muted, #4b5563) !important;
}

body.lag-blank-template.lagb-hero-split .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero.wp-block-cover {
  min-height: clamp(480px, 62vh, 680px) !important;
  padding: clamp(56px, 7vw, 92px) 20px !important;
  background: linear-gradient(135deg, var(--lagb-premium-primary, #020617), color-mix(in srgb, var(--lagb-premium-primary, #020617) 72%, var(--lagb-premium-accent, #38bdf8) 28%)) !important;
}

body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__background,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(2, 6, 23, 0.58) 54%, rgba(2, 6, 23, 0.26) 100%) !important;
}

body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container {
  position: relative;
  max-width: 1120px !important;
}

body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container::after,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: min(34vw, 380px);
  height: min(34vw, 380px);
  transform: translateY(-50%);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255,255,255,0.16), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: 0 24px 80px rgba(2, 6, 23, 0.22);
  pointer-events: none;
}

body.lag-blank-template.lagb-hero-split .lag-hero h1,
body.lag-blank-template.lagb-hero-split .lag-hero h2,
body.lag-blank-template.lagb-hero-split .lag-hero h3,
body.lag-blank-template.lagb-hero-split .lag-hero p,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h1,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h2,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h3,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero p,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-buttons {
  max-width: 620px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

body.lag-blank-template.lagb-hero-compact .lag-hero.wp-block-cover {
  min-height: clamp(320px, 40vh, 440px) !important;
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

body.lag-blank-template.lagb-hero-compact .lag-hero h1,
body.lag-blank-template.lagb-hero-compact .lag-hero h2,
body.lag-blank-template.lagb-hero-compact .lag-hero h3,
body.lag-blank-template.lagb-density-compact .lag-hero h1,
body.lag-blank-template.lagb-density-compact .lag-hero h2,
body.lag-blank-template.lagb-density-compact .lag-hero h3 {
  font-size: clamp(2rem, 4.8vw, 3.15rem) !important;
}

/* Button styles. Auto keeps the preset rules; explicit styles override safely. */
body.lag-blank-template.lagb-buttons-solid .wp-block-button__link:not(.lag-product-select-btn),
body.lag-blank-template.lagb-buttons-solid .lag-multi-cta-link,
body.lag-blank-template.lagb-buttons-solid .lag-navbar__cta,
body.lag-blank-template.lagb-buttons-solid .lag-sticky-cta__btn {
  border-radius: 8px !important;
  background: var(--lagb-premium-primary, #0f172a) !important;
  border-color: var(--lagb-premium-primary, #0f172a) !important;
  color: #ffffff !important;
}

body.lag-blank-template.lagb-buttons-soft .wp-block-button__link:not(.lag-product-select-btn),
body.lag-blank-template.lagb-buttons-soft .lag-multi-cta-link,
body.lag-blank-template.lagb-buttons-soft .lag-navbar__cta,
body.lag-blank-template.lagb-buttons-soft .lag-sticky-cta__btn {
  border-radius: 10px !important;
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 10%, #ffffff 90%) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 20%, #e5e7eb 80%) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
}

body.lag-blank-template.lagb-buttons-outline .wp-block-button__link:not(.has-background),
body.lag-blank-template.lagb-buttons-outline .lag-multi-cta-link,
body.lag-blank-template.lagb-buttons-outline .lag-navbar__cta {
  background: transparent !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 34%, #e5e7eb 66%) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
  box-shadow: none !important;
}

/* Premium footer polish. */
body.lag-blank-template .lag-blank-footer {
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 4%, #ffffff 96%) !important;
  border-top: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
}

body.lag-blank-template .lag-blank-footer-inner {
  max-width: 1120px !important;
  margin: 0 auto !important;
  padding: 22px 20px !important;
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--lagb-premium-muted, #4b5563) !important;
  font-size: 0.9rem !important;
}

body.lag-blank-template .lag-blank-footer-brand {
  color: var(--lagb-premium-text, #111827) !important;
  font-weight: 700;
  letter-spacing: -0.01em;
}

body.lag-blank-template .lag-blank-footer-copy {
  text-align: right;
}

@media (max-width: 782px) {
  body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container::after,
  body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after {
    display: none;
  }

  body.lag-blank-template.lagb-hero-split .lag-hero h1,
  body.lag-blank-template.lagb-hero-split .lag-hero h2,
  body.lag-blank-template.lagb-hero-split .lag-hero h3,
  body.lag-blank-template.lagb-hero-split .lag-hero p,
  body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-buttons,
  body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h1,
  body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h2,
  body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h3,
  body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero p,
  body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-buttons {
    max-width: 100% !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.lag-blank-template .lag-blank-footer-inner {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px !important;
  }

  body.lag-blank-template .lag-blank-footer-copy {
    text-align: center;
  }
}

/* ==========================================================
   LAGB Beauty Visual Polish - v2.7.11.22
   Dirección visual suave para rubros de belleza, estética y wellness.
   ========================================================== */
body.lag-blank-template.lagb-style-beauty_elegant {
  --lagb-premium-primary: var(--lagb-brand-primary, #4a2f35);
  --lagb-premium-accent: var(--lagb-brand-accent, #c48674);
  --lagb-premium-bg: var(--lagb-brand-bg, #fff8f4);
  --lagb-premium-surface: var(--lagb-brand-surface, #fffdfb);
  --lagb-premium-text: #2a2324;
  --lagb-premium-muted: #6f5d60;
  --lagb-premium-border: #eadbd4;
  --lagb-premium-border-strong: #dcc7be;
  --lagb-premium-radius: 18px;
  --lagb-premium-radius-lg: 26px;
  --lagb-premium-shadow: 0 18px 48px rgba(74, 47, 53, 0.075);
  --lagb-premium-shadow-hover: 0 24px 64px rgba(74, 47, 53, 0.12);
  background:
    radial-gradient(circle at 12% 0%, rgba(247, 218, 209, 0.55), transparent 28%),
    linear-gradient(180deg, #fffaf7 0%, #fff8f4 100%) !important;
  color: var(--lagb-premium-text) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-blank-main,
body.lag-blank-template.lagb-style-beauty_elegant .lag-landing-basic {
  background: transparent !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar {
  background: rgba(54, 36, 42, 0.96) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.10) !important;
  box-shadow: 0 12px 34px rgba(54, 36, 42, 0.16) !important;
  backdrop-filter: blur(12px);
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar__inner {
  min-height: 64px !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar__logo {
  color: #fff7f2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar__link {
  color: rgba(255, 247, 242, 0.88) !important;
  border-radius: 999px !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar__link:hover,
body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar__link:focus,
body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar__link--active {
  background: rgba(255, 247, 242, 0.13) !important;
  color: #ffffff !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar__cta--solid,
body.lag-blank-template.lagb-style-beauty_elegant .lag-sticky-cta__btn,
body.lag-blank-template.lagb-style-beauty_elegant .lag-wa-modal__submit {
  background: linear-gradient(135deg, #f2c5b6, #c48674) !important;
  border-color: transparent !important;
  color: #321f24 !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 26px rgba(196, 134, 116, 0.28) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant.lagb-hero-beauty .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-style-beauty_elegant.lagb-hero-auto .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-style-beauty_elegant .lag-hero.wp-block-cover {
  min-height: clamp(520px, 64vh, 720px) !important;
  padding: clamp(64px, 8vw, 108px) 20px !important;
  overflow: hidden !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-cover__background {
  background:
    radial-gradient(circle at 16% 28%, rgba(244, 205, 191, 0.38), transparent 32%),
    linear-gradient(90deg, rgba(53, 36, 42, 0.82) 0%, rgba(53, 36, 42, 0.60) 48%, rgba(53, 36, 42, 0.34) 100%) !important;
  opacity: 1 !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-cover__image-background {
  filter: saturate(0.92) contrast(0.96) brightness(0.95) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-style-beauty_elegant .lag-hero-content {
  max-width: 1040px !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero h1,
body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-heading {
  max-width: 860px !important;
  font-size: clamp(2.45rem, 5.4vw, 4.9rem) !important;
  line-height: 0.98 !important;
  letter-spacing: -0.065em !important;
  font-weight: 800 !important;
  color: #fffaf6 !important;
  text-shadow: 0 3px 18px rgba(43, 30, 34, 0.42) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero p {
  max-width: 720px !important;
  color: rgba(255, 250, 246, 0.94) !important;
  font-size: clamp(1.04rem, 1.5vw, 1.22rem) !important;
  line-height: 1.72 !important;
  text-shadow: 0 2px 12px rgba(43, 30, 34, 0.35) !important;
}

body.lag-blank-template .lag-hero-trust-row {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  gap: 10px !important;
  margin-top: 22px !important;
}

body.lag-blank-template .lag-trust-chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  border-radius: 999px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
}

body.lag-blank-template .lag-trust-chip::before {
  content: "✓" !important;
  font-weight: 900 !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-trust-chip {
  background: rgba(255, 250, 246, 0.15) !important;
  border: 1px solid rgba(255, 250, 246, 0.24) !important;
  color: #fffaf6 !important;
  box-shadow: 0 12px 28px rgba(43, 30, 34, 0.16) !important;
  backdrop-filter: blur(8px);
}

body.lag-blank-template.lagb-style-beauty_elegant .wp-block-button__link,
body.lag-blank-template.lagb-style-beauty_elegant .lag-multi-cta-link {
  border-radius: 999px !important;
  padding: 0.86rem 1.65rem !important;
  font-weight: 800 !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-button__link.has-background,
body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-button__link:not(.has-background),
body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta-primary .wp-block-button__link,
body.lag-blank-template.lagb-style-beauty_elegant .lag-cta .wp-block-button__link.has-background {
  background: linear-gradient(135deg, #f2c5b6, #c48674) !important;
  border: 1px solid transparent !important;
  color: #321f24 !important;
  box-shadow: 0 14px 30px rgba(196, 134, 116, 0.26) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-button.is-style-outline .wp-block-button__link,
body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta-secondary .wp-block-button__link,
body.lag-blank-template.lagb-style-beauty_elegant .lag-cta .wp-block-button.is-style-outline .wp-block-button__link {
  background: rgba(255, 255, 255, 0.08) !important;
  border: 1px solid rgba(255, 250, 246, 0.54) !important;
  color: #fffaf6 !important;
  box-shadow: none !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section {
  padding-top: clamp(62px, 7vw, 96px) !important;
  padding-bottom: clamp(62px, 7vw, 96px) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section-services,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section-testimonials,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section-faqs {
  background:
    radial-gradient(circle at 92% 0%, rgba(244, 205, 191, 0.32), transparent 28%),
    linear-gradient(180deg, #fff8f4 0%, #fff3ee 100%) !important;
  border-top: 1px solid rgba(234, 219, 212, 0.75) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section-about,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section-products,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section-location,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section-pricing {
  background: #fffdfb !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section > .wp-block-heading,
body.lag-blank-template.lagb-style-beauty_elegant .lag-services > .wp-block-heading,
body.lag-blank-template.lagb-style-beauty_elegant .lag-products > .wp-block-heading,
body.lag-blank-template.lagb-style-beauty_elegant .lag-testimonials > .wp-block-heading,
body.lag-blank-template.lagb-style-beauty_elegant .lag-faqs > .wp-block-heading {
  color: var(--lagb-premium-text) !important;
  font-size: clamp(1.85rem, 3.2vw, 2.7rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.05em !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-about-columns {
  gap: clamp(28px, 5vw, 56px) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-about-text {
  padding: clamp(26px, 4vw, 42px) !important;
  border-radius: 28px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.96), rgba(255,248,244,0.96)) !important;
  border: 1px solid rgba(234, 219, 212, 0.95) !important;
  box-shadow: 0 20px 50px rgba(74, 47, 53, 0.075) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-about-text p {
  color: var(--lagb-premium-muted) !important;
  font-size: 1rem !important;
  line-height: 1.78 !important;
}

body.lag-blank-template .lag-about-highlights {
  list-style: none !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  display: grid !important;
  gap: 10px !important;
}

body.lag-blank-template .lag-about-highlights li {
  position: relative !important;
  padding-left: 30px !important;
  margin: 0 !important;
  font-weight: 700 !important;
}

body.lag-blank-template .lag-about-highlights li::before {
  content: "✓" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.05em !important;
  width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.78rem !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-about-highlights li {
  color: var(--lagb-premium-text) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-about-highlights li::before {
  background: #f3d1c5 !important;
  color: #4a2f35 !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-about-image img,
body.lag-blank-template.lagb-style-beauty_elegant .lag-location-map iframe,
body.lag-blank-template.lagb-style-beauty_elegant .lag-osm-map {
  border-radius: 28px !important;
  border: 1px solid rgba(234, 219, 212, 0.95) !important;
  box-shadow: 0 22px 56px rgba(74, 47, 53, 0.11) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-card,
body.lag-blank-template.lagb-style-beauty_elegant .lag-testimonial,
body.lag-blank-template.lagb-style-beauty_elegant .lag-faq-item,
body.lag-blank-template.lagb-style-beauty_elegant .lag-pricing-card,
body.lag-blank-template.lagb-style-beauty_elegant .lag-location-text {
  background: rgba(255, 253, 251, 0.98) !important;
  border: 1px solid rgba(234, 219, 212, 0.95) !important;
  border-radius: 24px !important;
  box-shadow: 0 18px 44px rgba(74, 47, 53, 0.07) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-card {
  padding: 18px 18px 22px !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card:hover,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-card:hover,
body.lag-blank-template.lagb-style-beauty_elegant .lag-testimonial:hover {
  border-color: rgba(196, 134, 116, 0.48) !important;
  box-shadow: 0 26px 66px rgba(74, 47, 53, 0.12) !important;
  transform: translateY(-3px) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-image,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-image {
  aspect-ratio: 16 / 11 !important;
  border-radius: 18px !important;
  margin-bottom: 18px !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-title,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-title {
  color: var(--lagb-premium-text) !important;
  font-weight: 800 !important;
  font-size: 1.08rem !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-blurb,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-blurb {
  color: var(--lagb-premium-muted) !important;
}

body.lag-blank-template .lag-service-card-action {
  margin: 14px 0 0 !important;
  text-align: center !important;
}

body.lag-blank-template .lag-service-card-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 0.55rem 1rem !important;
  border-radius: 999px !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card-link {
  background: #fff3ee !important;
  border: 1px solid #eadbd4 !important;
  color: #4a2f35 !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card-link:hover,
body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card-link:focus {
  background: #4a2f35 !important;
  border-color: #4a2f35 !important;
  color: #fffaf7 !important;
}

body.lag-blank-template .lag-mid-cta {
  margin: clamp(28px, 5vw, 48px) auto 0 !important;
  max-width: 860px !important;
  padding: clamp(24px, 4vw, 38px) !important;
  text-align: center !important;
  overflow: hidden !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta {
  border-radius: 30px !important;
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.28), transparent 32%),
    linear-gradient(135deg, #4a2f35, #8b5a57 55%, #c48674) !important;
  box-shadow: 0 24px 64px rgba(74, 47, 53, 0.17) !important;
  color: #fffaf7 !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta-title,
body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta h3 {
  color: #fffaf7 !important;
  margin-bottom: 8px !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta-text {
  color: rgba(255, 250, 247, 0.88) !important;
  max-width: 620px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section-testimonials .lag-testimonial {
  padding-left: 60px !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section-testimonials .lag-testimonial::before {
  color: rgba(196, 134, 116, 0.34) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section-cta {
  background:
    radial-gradient(circle at 8% 0%, rgba(244, 205, 191, 0.36), transparent 28%),
    linear-gradient(180deg, #fff3ee 0%, #fff8f4 100%) !important;
  border-top: 1px solid rgba(234, 219, 212, 0.75) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-cta {
  max-width: 900px !important;
  padding: clamp(30px, 5vw, 52px) !important;
  border-radius: 34px !important;
  background: rgba(255, 253, 251, 0.98) !important;
  border: 1px solid rgba(234, 219, 212, 0.95) !important;
  box-shadow: 0 28px 72px rgba(74, 47, 53, 0.10) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-blank-footer {
  background: #fff8f4 !important;
  border-top: 1px solid #eadbd4 !important;
}

@media (max-width: 782px) {
  body.lag-blank-template.lagb-style-beauty_elegant.lagb-hero-beauty .lag-hero.wp-block-cover,
  body.lag-blank-template.lagb-style-beauty_elegant.lagb-hero-auto .lag-hero.wp-block-cover,
  body.lag-blank-template.lagb-style-beauty_elegant .lag-hero.wp-block-cover {
    min-height: 500px !important;
    padding-top: 58px !important;
    padding-bottom: 58px !important;
  }

  body.lag-blank-template.lagb-style-beauty_elegant .lag-hero h1,
  body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-heading {
    font-size: clamp(2rem, 9vw, 3rem) !important;
  }

  body.lag-blank-template.lagb-style-beauty_elegant .lag-hero-trust-row {
    gap: 8px !important;
  }

  body.lag-blank-template.lagb-style-beauty_elegant .lag-trust-chip {
    font-size: 0.8rem !important;
    padding: 7px 10px !important;
  }

  body.lag-blank-template.lagb-style-beauty_elegant .lag-section {
    padding-top: 46px !important;
    padding-bottom: 46px !important;
  }

  body.lag-blank-template.lagb-style-beauty_elegant .lag-about-text,
  body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card,
  body.lag-blank-template.lagb-style-beauty_elegant .lag-product-card,
  body.lag-blank-template.lagb-style-beauty_elegant .lag-cta,
  body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta {
    border-radius: 22px !important;
  }

  body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta .wp-block-buttons,
  body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta-buttons {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta .wp-block-button__link {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Base visual para nuevos microbloques de conversión (aplica también fuera del preset beauty). */
body.lag-blank-template .lag-mid-cta {
  border: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
  border-radius: var(--lagb-premium-radius-lg, 16px) !important;
  background: var(--lagb-premium-surface, #ffffff) !important;
  box-shadow: var(--lagb-premium-shadow, 0 8px 24px rgba(15, 23, 42, 0.055)) !important;
}
body.lag-blank-template .lag-mid-cta-title {
  margin: 0 0 8px !important;
  color: var(--lagb-premium-text, #111827) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}
body.lag-blank-template .lag-mid-cta-text {
  margin-top: 0 !important;
  color: var(--lagb-premium-muted, #4b5563) !important;
}
body.lag-blank-template .lag-mid-cta-buttons {
  margin-top: 18px !important;
  gap: 12px !important;
}
body.lag-blank-template .lag-service-card-link {
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 8%, #ffffff 92%) !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 18%, #e5e7eb 82%) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
}
body.lag-blank-template .lag-service-card-link:hover,
body.lag-blank-template .lag-service-card-link:focus {
  background: var(--lagb-premium-primary, #0f172a) !important;
  border-color: var(--lagb-premium-primary, #0f172a) !important;
  color: #ffffff !important;
}

/* Mantener el preset beauty por encima de la base añadida. */
body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta {
  background:
    radial-gradient(circle at 100% 0%, rgba(255,255,255,0.28), transparent 32%),
    linear-gradient(135deg, #4a2f35, #8b5a57 55%, #c48674) !important;
  border-color: transparent !important;
}


/* ==========================================================
   LAGB Clean Professional UI - v2.7.11.25
   Ajuste global: reducir peso visual y aumentar limpieza.
   ========================================================== */
body.lag-blank-template {
  --lagb-clean-radius: 14px;
  --lagb-clean-radius-sm: 10px;
  --lagb-clean-btn-height: 38px;
  --lagb-clean-btn-height-hero: 44px;
  --lagb-clean-shadow: 0 6px 18px rgba(15, 23, 42, 0.045);
  --lagb-clean-shadow-hover: 0 10px 26px rgba(15, 23, 42, 0.07);
  --lagb-clean-border: color-mix(in srgb, var(--lagb-premium-border, #e5e7eb) 88%, #ffffff 12%);
}

body.lag-blank-template .lag-about-text,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-pricing-card,
body.lag-blank-template .lag-cta,
body.lag-blank-template .lag-mid-cta {
  border-radius: var(--lagb-clean-radius) !important;
  border-color: var(--lagb-clean-border) !important;
  box-shadow: var(--lagb-clean-shadow) !important;
}

body.lag-blank-template .lag-service-card:hover,
body.lag-blank-template .lag-product-card:hover,
body.lag-blank-template .lag-product-card--interactive:hover,
body.lag-blank-template .lag-testimonial:hover,
body.lag-blank-template .lag-faq-item[open] {
  box-shadow: var(--lagb-clean-shadow-hover) !important;
  transform: translateY(-1px) !important;
}

body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-product-card.lag-service-card,
body.lag-blank-template .lag-landing-basic .lag-service-card {
  padding: 18px !important;
  background: color-mix(in srgb, var(--lagb-premium-surface, #ffffff) 96%, #ffffff 4%) !important;
}

body.lag-blank-template .lag-service-image,
body.lag-blank-template .lag-product-image,
body.lag-blank-template .lag-service-card .lag-service-image,
body.lag-blank-template .lag-product-card .lag-product-image {
  border-radius: 12px !important;
  margin-bottom: 12px !important;
}

body.lag-blank-template .lag-service-title,
body.lag-blank-template .lag-product-title,
body.lag-blank-template .lag-landing-basic .lag-service-title {
  font-size: 1rem !important;
  line-height: 1.35 !important;
  margin-bottom: 6px !important;
}

body.lag-blank-template .lag-service-blurb,
body.lag-blank-template .lag-product-blurb,
body.lag-blank-template .lag-landing-basic .lag-service-blurb {
  font-size: 0.9rem !important;
  line-height: 1.58 !important;
}

body.lag-blank-template .wp-block-button__link,
body.lag-blank-template .lag-multi-cta-link,
body.lag-blank-template .lag-navbar__cta,
body.lag-blank-template .lag-sticky-cta__btn,
body.lag-blank-template .lag-wa-modal__submit,
body.lag-blank-template .lag-service-card-link,
body.lag-blank-template .lag-product-select-btn,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link {
  min-height: var(--lagb-clean-btn-height) !important;
  padding: 0.52rem 0.95rem !important;
  border-radius: var(--lagb-clean-radius-sm) !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  box-shadow: none !important;
  transform: none !important;
}

body.lag-blank-template .wp-block-button__link:hover,
body.lag-blank-template .wp-block-button__link:focus,
body.lag-blank-template .lag-multi-cta-link:hover,
body.lag-blank-template .lag-multi-cta-link:focus,
body.lag-blank-template .lag-navbar__cta:hover,
body.lag-blank-template .lag-navbar__cta:focus,
body.lag-blank-template .lag-sticky-cta__btn:hover,
body.lag-blank-template .lag-sticky-cta__btn:focus,
body.lag-blank-template .lag-service-card-link:hover,
body.lag-blank-template .lag-service-card-link:focus,
body.lag-blank-template .lag-product-select-btn:hover,
body.lag-blank-template .lag-product-select-btn:focus,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link:hover,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link:focus {
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.065) !important;
  transform: translateY(-1px) !important;
}

body.lag-blank-template .lag-service-card-action,
body.lag-blank-template .lag-product-select {
  margin-top: auto !important;
  padding-top: 12px !important;
  display: flex !important;
  justify-content: center !important;
}

body.lag-blank-template .lag-service-card-link,
body.lag-blank-template .lag-product-select-btn,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link {
  width: auto !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px !important;
  font-size: 0.78rem !important;
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 6%, #ffffff 94%) !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 14%, var(--lagb-premium-border, #e5e7eb) 86%) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
}

body.lag-blank-template .lag-service-card-link:hover,
body.lag-blank-template .lag-service-card-link:focus,
body.lag-blank-template .lag-product-select-btn:hover,
body.lag-blank-template .lag-product-select-btn:focus,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link:hover,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link:focus,
body.lag-blank-template .lag-product-card.is-selected .lag-product-select-btn,
body.lag-blank-template .lag-product-card.is-selected .lag-product-select-btn .wp-block-button__link {
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 12%, #ffffff 88%) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 22%, var(--lagb-premium-border, #e5e7eb) 78%) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
}

body.lag-blank-template .lag-hero .wp-block-button__link,
body.lag-blank-template .lag-hero .lag-multi-cta-link {
  min-height: var(--lagb-clean-btn-height-hero) !important;
  padding: 0.66rem 1.2rem !important;
  font-size: 0.9rem !important;
  border-radius: 999px !important;
}

body.lag-blank-template .lag-hero .wp-block-button__link.has-background,
body.lag-blank-template .lag-hero .lag-multi-cta-link--primary {
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12) !important;
}

body.lag-blank-template .lag-hero-trust-row { gap: 10px !important; }

body.lag-blank-template .lag-trust-chip {
  padding: 6px 10px !important;
  font-size: 0.82rem !important;
  background: rgba(255, 255, 255, 0.10) !important;
  border-color: rgba(255, 255, 255, 0.20) !important;
}

body.lag-blank-template .lag-cta,
body.lag-blank-template .lag-mid-cta {
  max-width: 820px !important;
  padding: clamp(22px, 3.6vw, 34px) !important;
  background: color-mix(in srgb, var(--lagb-premium-surface, #ffffff) 97%, #ffffff 3%) !important;
  border-color: var(--lagb-clean-border) !important;
}

body.lag-blank-template .lag-cta::before,
body.lag-blank-template .lag-mid-cta::before {
  opacity: 0.45 !important;
  height: 2px !important;
}

body.lag-blank-template .lag-section-cta {
  background: color-mix(in srgb, var(--lagb-premium-bg, #ffffff) 96%, #f8fafc 4%) !important;
}

body.lag-blank-template .lag-cta .wp-block-button__link,
body.lag-blank-template .lag-mid-cta .wp-block-button__link,
body.lag-blank-template .lag-cta .lag-multi-cta-link,
body.lag-blank-template .lag-mid-cta .lag-multi-cta-link {
  min-width: 0 !important;
  min-height: 38px !important;
  padding: 0.56rem 1rem !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial {
  padding: 20px 22px 20px 54px !important;
  box-shadow: var(--lagb-clean-shadow) !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial::after,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial::after {
  width: 3px !important;
  opacity: 0.55 !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item { box-shadow: var(--lagb-clean-shadow) !important; }

body.lag-blank-template .lag-section-faqs .lag-faq-q,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
  padding: 15px 52px 15px 16px !important;
  background: #ffffff !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-a,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__content {
  padding: 0 16px 16px !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta,
body.lag-blank-template.lagb-style-premium_visual .lag-section-cta,
body.lag-blank-template.lagb-style-local_business .lag-cta {
  box-shadow: var(--lagb-clean-shadow) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta {
  background: color-mix(in srgb, #4a2f35 8%, var(--lagb-premium-surface, #fffdfb) 92%) !important;
  border: 1px solid var(--lagb-premium-border, #eadbd4) !important;
  color: var(--lagb-premium-text, #2a2324) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta-title,
body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta h3,
body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta-text {
  color: var(--lagb-premium-text, #2a2324) !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .wp-block-button__link,
  body.lag-blank-template .lag-multi-cta-link,
  body.lag-blank-template .lag-navbar__cta,
  body.lag-blank-template .lag-sticky-cta__btn,
  body.lag-blank-template .lag-wa-modal__submit {
    min-height: 40px !important;
  }

  body.lag-blank-template .lag-service-card-link,
  body.lag-blank-template .lag-product-select-btn,
  body.lag-blank-template .lag-product-select-btn .wp-block-button__link {
    width: auto !important;
    min-height: 34px !important;
  }

  body.lag-blank-template .lag-service-card,
  body.lag-blank-template .lag-product-card,
  body.lag-blank-template .lag-product-card.lag-service-card,
  body.lag-blank-template .lag-landing-basic .lag-service-card {
    padding: 16px !important;
  }

  body.lag-blank-template .lag-cta,
  body.lag-blank-template .lag-mid-cta {
    padding: 22px 18px !important;
  }
}


/* ==========================================================
   LAGB Layout Alignment + Mid CTA Button Fix - v2.7.11.26
   Iguala el ancho visual de About/Ubicación con Servicios/Productos
   y corrige el botón del bloque intermedio de CTA.
   ========================================================== */

/* 1) Ancho visual más ordenado para About y Ubicación */
body.lag-blank-template .lag-section-about,
body.lag-blank-template .lag-section-location {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

body.lag-blank-template .lag-section-about .lag-about-columns,
body.lag-blank-template .lag-section-location .lag-location-columns,
body.lag-blank-template .lag-section-about > .wp-block-columns.lag-about-columns,
body.lag-blank-template .lag-section-location > .wp-block-columns.lag-location-columns {
  width: 100% !important;
  max-width: 1048px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  gap: 22px !important;
  align-items: stretch !important;
}

body.lag-blank-template .lag-section-about .lag-about-text,
body.lag-blank-template .lag-section-about .lag-about-image,
body.lag-blank-template .lag-section-location .lag-location-text,
body.lag-blank-template .lag-section-location .lag-location-map {
  min-width: 0 !important;
}

body.lag-blank-template .lag-section-about .lag-about-text,
body.lag-blank-template .lag-section-location .lag-location-text {
  padding: 22px !important;
}

body.lag-blank-template .lag-section-about .lag-about-image img,
body.lag-blank-template .lag-section-location .lag-location-map iframe,
body.lag-blank-template .lag-section-location .lag-osm-map {
  width: 100% !important;
  height: 100% !important;
  min-height: 320px !important;
  object-fit: cover !important;
}

/* 2) Botones consistentes en el Mid CTA */
body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary .wp-block-button__link,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary > a,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary .lag-multi-cta-link {
  background: var(--lagb-premium-primary, #0f172a) !important;
  border: 1px solid var(--lagb-premium-primary, #0f172a) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary .wp-block-button__link:hover,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary .wp-block-button__link:focus,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary > a:hover,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary > a:focus,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary .lag-multi-cta-link:hover,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-primary .lag-multi-cta-link:focus {
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 88%, #000 12%) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 88%, #000 12%) !important;
  color: #ffffff !important;
}

body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary .wp-block-button__link,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary > a,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary .lag-multi-cta-link {
  background: #ffffff !important;
  border: 1px solid var(--lagb-premium-border-strong, #d1d5db) !important;
  color: var(--lagb-premium-text, #111827) !important;
  box-shadow: none !important;
}

body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary .wp-block-button__link:hover,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary .wp-block-button__link:focus,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary > a:hover,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary > a:focus,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary .lag-multi-cta-link:hover,
body.lag-blank-template .lag-mid-cta .lag-mid-cta-secondary .lag-multi-cta-link:focus {
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 5%, #ffffff 95%) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 22%, var(--lagb-premium-border-strong, #d1d5db) 78%) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
}

/* 3) En móviles, mantener el ancho alineado y más limpio */
@media (max-width: 782px) {
  body.lag-blank-template .lag-section-about,
  body.lag-blank-template .lag-section-location {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.lag-blank-template .lag-section-about .lag-about-columns,
  body.lag-blank-template .lag-section-location .lag-location-columns,
  body.lag-blank-template .lag-section-about > .wp-block-columns.lag-about-columns,
  body.lag-blank-template .lag-section-location > .wp-block-columns.lag-location-columns {
    max-width: 100% !important;
    gap: 16px !important;
  }

  body.lag-blank-template .lag-section-about .lag-about-text,
  body.lag-blank-template .lag-section-location .lag-location-text {
    padding: 18px !important;
  }

  body.lag-blank-template .lag-section-about .lag-about-image img,
  body.lag-blank-template .lag-section-location .lag-location-map iframe,
  body.lag-blank-template .lag-section-location .lag-osm-map {
    min-height: 240px !important;
  }
}


/* ==========================================================
   LAGB Location Section Fix - v2.7.11.27
   Evita la duplicación visual del mapa en escritorio.
   Google Maps en desktop; OSM fallback solo en móvil.
   ========================================================== */

body.lag-blank-template .lag-map-wrap {
  width: 100% !important;
  display: block !important;
}

body.lag-blank-template .lag-section-location .lag-google-map-iframe {
  display: block;
  width: 100%;
  min-height: 320px;
}

body.lag-blank-template .lag-section-location .lag-osm-map {
  display: none !important;
  margin-top: 0 !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-location .lag-osm-map {
    display: block !important;
  }
}


/* ==========================================================
   LAGB Spacing & Height Rhythm Polish - v2.7.11.28
   Opción A: pulir espaciados y alturas para una landing más ordenada.
   ========================================================== */

/* 1) Ritmo vertical general por sección */
body.lag-blank-template {
  --lagb-rhythm-section-y: clamp(56px, 7vw, 84px);
  --lagb-rhythm-section-y-compact: clamp(44px, 6vw, 68px);
  --lagb-rhythm-heading-gap: 22px;
  --lagb-rhythm-grid-gap: 24px;
  --lagb-rhythm-card-pad: 20px;
  --lagb-rhythm-card-pad-mobile: 16px;
  --lagb-rhythm-card-min-h: 100%;
  --lagb-rhythm-image-h: 176px;
  --lagb-rhythm-image-h-product: 164px;
}

body.lag-blank-template .lag-section {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: var(--lagb-rhythm-section-y) !important;
  padding-bottom: var(--lagb-rhythm-section-y) !important;
}

body.lag-blank-template .lag-section-about {
  padding-top: var(--lagb-rhythm-section-y-compact) !important;
}

body.lag-blank-template .lag-section-services,
body.lag-blank-template .lag-section-products,
body.lag-blank-template .lag-section-location,
body.lag-blank-template .lag-section-testimonials,
body.lag-blank-template .lag-section-faqs,
body.lag-blank-template .lag-section-cta {
  padding-top: var(--lagb-rhythm-section-y) !important;
  padding-bottom: var(--lagb-rhythm-section-y) !important;
}

/* 2) Headings con separación constante */
body.lag-blank-template .lag-section > .wp-block-heading,
body.lag-blank-template .lag-services > .wp-block-heading,
body.lag-blank-template .lag-products > .wp-block-heading,
body.lag-blank-template .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lag-faqs > .wp-block-heading,
body.lag-blank-template .lag-section h2:first-child {
  margin-top: 0 !important;
  margin-bottom: var(--lagb-rhythm-heading-gap) !important;
}

/* 3) Grids de servicios/productos más consistentes */
body.lag-blank-template .lag-services,
body.lag-blank-template .lag-products {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

body.lag-blank-template .lag-services-row,
body.lag-blank-template .lag-products-row,
body.lag-blank-template .lag-services .wp-block-columns,
body.lag-blank-template .lag-products .wp-block-columns {
  gap: var(--lagb-rhythm-grid-gap) !important;
  margin-top: var(--lagb-rhythm-heading-gap) !important;
  margin-bottom: 0 !important;
  align-items: stretch !important;
}

body.lag-blank-template .lag-services .wp-block-column,
body.lag-blank-template .lag-products .wp-block-column {
  display: flex !important;
  min-width: 0 !important;
}

/* 4) Cards con estructura y altura equilibrada */
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-product-card.lag-service-card,
body.lag-blank-template .lag-landing-basic .lag-service-card {
  min-height: var(--lagb-rhythm-card-min-h) !important;
  height: 100% !important;
  padding: var(--lagb-rhythm-card-pad) !important;
  display: flex !important;
  flex-direction: column !important;
}

body.lag-blank-template .lag-card-content,
body.lag-blank-template .lag-service-card > .lag-card-content,
body.lag-blank-template .lag-product-card > .lag-card-content {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
}

body.lag-blank-template .lag-card-action,
body.lag-blank-template .lag-service-card-action,
body.lag-blank-template .lag-product-select {
  margin-top: auto !important;
  padding-top: 14px !important;
}

/* 5) Imágenes con proporción estable */
body.lag-blank-template .lag-service-image,
body.lag-blank-template .lag-service-card .lag-service-image,
body.lag-blank-template .lag-landing-basic .lag-service-card .lag-service-image {
  height: var(--lagb-rhythm-image-h) !important;
  aspect-ratio: auto !important;
  flex: 0 0 auto !important;
}

body.lag-blank-template .lag-product-image,
body.lag-blank-template .lag-product-card .lag-product-image,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image {
  height: var(--lagb-rhythm-image-h-product) !important;
  aspect-ratio: auto !important;
  flex: 0 0 auto !important;
}

body.lag-blank-template .lag-service-image img,
body.lag-blank-template .lag-product-image img,
body.lag-blank-template .lag-service-card .lag-service-image img,
body.lag-blank-template .lag-product-card .lag-product-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* 6) Texto interno más predecible */
body.lag-blank-template .lag-service-title,
body.lag-blank-template .lag-product-title {
  margin-bottom: 7px !important;
}

body.lag-blank-template .lag-service-blurb,
body.lag-blank-template .lag-product-blurb {
  margin-bottom: 0 !important;
}

/* 7) About y Ubicación: columnas alineadas y alturas más ordenadas */
body.lag-blank-template .lag-section-about .lag-about-columns,
body.lag-blank-template .lag-section-location .lag-location-columns {
  gap: var(--lagb-rhythm-grid-gap) !important;
  align-items: stretch !important;
}

body.lag-blank-template .lag-section-about .lag-about-text,
body.lag-blank-template .lag-section-location .lag-location-text {
  height: 100% !important;
}

body.lag-blank-template .lag-section-about .lag-about-image,
body.lag-blank-template .lag-section-location .lag-location-map {
  display: flex !important;
  flex-direction: column !important;
}

body.lag-blank-template .lag-section-about .lag-about-image figure,
body.lag-blank-template .lag-section-about .lag-about-image img {
  height: 100% !important;
}

body.lag-blank-template .lag-section-about .lag-about-image img {
  min-height: 300px !important;
  object-fit: cover !important;
}

/* 8) Mid CTA y CTA final con aire controlado */
body.lag-blank-template .lag-mid-cta {
  margin-top: clamp(28px, 4vw, 42px) !important;
  padding: clamp(22px, 3vw, 30px) !important;
}

body.lag-blank-template .lag-cta {
  padding: clamp(26px, 4vw, 38px) !important;
}

body.lag-blank-template .lag-cta .wp-block-buttons,
body.lag-blank-template .lag-mid-cta .wp-block-buttons,
body.lag-blank-template .lag-mid-cta-buttons {
  margin-top: 16px !important;
}

/* 9) Testimonios y FAQ: separación vertical más consistente */
body.lag-blank-template .lag-section-testimonials .lag-testimonials,
body.lag-blank-template .lag-section-faqs .lag-faqs {
  margin-bottom: 0 !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial {
  margin-bottom: 14px !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial:last-child,
body.lag-blank-template .lag-section-faqs .lag-faq:last-child,
body.lag-blank-template .lag-section-faqs .lag-faq-item:last-child {
  margin-bottom: 0 !important;
}

/* 10) Mobile: menos altura excesiva y mejor lectura */
@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-rhythm-section-y: 44px;
    --lagb-rhythm-section-y-compact: 38px;
    --lagb-rhythm-heading-gap: 18px;
    --lagb-rhythm-grid-gap: 16px;
    --lagb-rhythm-image-h: 190px;
    --lagb-rhythm-image-h-product: 176px;
  }

  body.lag-blank-template .lag-section {
    padding-top: var(--lagb-rhythm-section-y) !important;
    padding-bottom: var(--lagb-rhythm-section-y) !important;
  }

  body.lag-blank-template .lag-service-card,
  body.lag-blank-template .lag-product-card,
  body.lag-blank-template .lag-product-card.lag-service-card,
  body.lag-blank-template .lag-landing-basic .lag-service-card {
    padding: var(--lagb-rhythm-card-pad-mobile) !important;
  }

  body.lag-blank-template .lag-section-about .lag-about-image img,
  body.lag-blank-template .lag-section-location .lag-google-map-iframe,
  body.lag-blank-template .lag-section-location .lag-osm-map {
    min-height: 240px !important;
  }

  body.lag-blank-template .lag-mid-cta,
  body.lag-blank-template .lag-cta {
    padding: 22px 18px !important;
  }
}

@media (min-width: 783px) and (max-width: 1080px) {
  body.lag-blank-template {
    --lagb-rhythm-image-h: 160px;
    --lagb-rhythm-image-h-product: 150px;
    --lagb-rhythm-grid-gap: 18px;
  }
}


/* ==========================================================
   LAGB Compact Rhythm + FAQ + Mobile Location Fix - v2.7.11.29
   Reduce espacio vertical excesivo entre secciones, compacta FAQs
   y mejora ubicación en móvil.
   ========================================================== */

/* 1) Ritmo global más compacto: evita grandes blancos entre secciones */
body.lag-blank-template {
  --lagb-rhythm-section-y: clamp(34px, 4.2vw, 50px);
  --lagb-rhythm-section-y-compact: clamp(30px, 3.8vw, 44px);
  --lagb-rhythm-heading-gap: 18px;
  --lagb-rhythm-grid-gap: 20px;
  --lagb-rhythm-image-h: 168px;
  --lagb-rhythm-image-h-product: 156px;
}

body.lag-blank-template .lag-section,
body.lag-blank-template .lag-section-services,
body.lag-blank-template .lag-section-products,
body.lag-blank-template .lag-section-location,
body.lag-blank-template .lag-section-testimonials,
body.lag-blank-template .lag-section-faqs,
body.lag-blank-template .lag-section-cta {
  padding-top: var(--lagb-rhythm-section-y) !important;
  padding-bottom: var(--lagb-rhythm-section-y) !important;
}

body.lag-blank-template .lag-section-about {
  padding-top: var(--lagb-rhythm-section-y-compact) !important;
  padding-bottom: var(--lagb-rhythm-section-y) !important;
}

/* Reduce separación extra generada por wrappers internos */
body.lag-blank-template .lag-services,
body.lag-blank-template .lag-products,
body.lag-blank-template .lag-testimonials,
body.lag-blank-template .lag-faqs {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.lag-blank-template .lag-services-row,
body.lag-blank-template .lag-products-row,
body.lag-blank-template .lag-services .wp-block-columns,
body.lag-blank-template .lag-products .wp-block-columns {
  margin-top: var(--lagb-rhythm-heading-gap) !important;
}

/* 2) Mid CTA y CTA final: menos espacio antes/después */
body.lag-blank-template .lag-mid-cta {
  margin-top: clamp(18px, 2.4vw, 28px) !important;
  margin-bottom: 0 !important;
  padding: clamp(18px, 2.5vw, 26px) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta,
body.lag-blank-template .lag-cta {
  padding: clamp(22px, 3vw, 32px) !important;
}

body.lag-blank-template .lag-cta .wp-block-buttons,
body.lag-blank-template .lag-mid-cta .wp-block-buttons,
body.lag-blank-template .lag-mid-cta-buttons {
  margin-top: 12px !important;
}

/* 3) FAQs más compactas: evita preguntas demasiado altas/estiradas */
body.lag-blank-template .lag-section-faqs .lag-faqs {
  max-width: 820px !important;
}

body.lag-blank-template .lag-section-faqs .lag-faqs .lag-faq {
  margin-bottom: 8px !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item {
  border-radius: 12px !important;
  min-height: 0 !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
  padding: 12px 48px 12px 16px !important;
  min-height: 44px !important;
  display: flex !important;
  align-items: center !important;
  font-size: 0.94rem !important;
  line-height: 1.35 !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q::after,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary::after {
  right: 14px !important;
  width: 22px !important;
  height: 22px !important;
  font-size: 0.92rem !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-a,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__content {
  padding: 0 16px 14px !important;
}

/* 4) Ubicación: menos altura y menos blanco, especialmente en móvil */
body.lag-blank-template .lag-section-location .lag-location-columns {
  gap: 20px !important;
}

body.lag-blank-template .lag-section-location .lag-location-text {
  padding: 20px !important;
}

body.lag-blank-template .lag-section-location .lag-location-subheading {
  margin-top: 1rem !important;
  margin-bottom: 0.25rem !important;
}

body.lag-blank-template .lag-section-location .lag-location-subheading:first-child {
  margin-top: 0 !important;
}

body.lag-blank-template .lag-section-location .lag-google-map-iframe,
body.lag-blank-template .lag-section-location .lag-osm-map {
  min-height: 300px !important;
}

/* 5) Mobile compact */
@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-rhythm-section-y: 34px;
    --lagb-rhythm-section-y-compact: 30px;
    --lagb-rhythm-heading-gap: 16px;
    --lagb-rhythm-grid-gap: 14px;
    --lagb-rhythm-image-h: 176px;
    --lagb-rhythm-image-h-product: 164px;
  }

  body.lag-blank-template .lag-section,
  body.lag-blank-template .lag-section-services,
  body.lag-blank-template .lag-section-products,
  body.lag-blank-template .lag-section-location,
  body.lag-blank-template .lag-section-testimonials,
  body.lag-blank-template .lag-section-faqs,
  body.lag-blank-template .lag-section-cta {
    padding-top: var(--lagb-rhythm-section-y) !important;
    padding-bottom: var(--lagb-rhythm-section-y) !important;
  }

  body.lag-blank-template .lag-section-about {
    padding-top: var(--lagb-rhythm-section-y-compact) !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-columns {
    gap: 14px !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-text {
    padding: 16px !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-map {
    gap: 8px !important;
    margin-top: 0 !important;
  }

  body.lag-blank-template .lag-section-location .lag-google-map-iframe,
  body.lag-blank-template .lag-section-location .lag-osm-map {
    min-height: 210px !important;
    height: 210px !important;
  }

  body.lag-blank-template .lag-location-map-link {
    margin-top: 4px !important;
    font-size: 0.84rem !important;
  }

  body.lag-blank-template .lag-section-faqs .lag-faq-q,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
    padding: 11px 44px 11px 14px !important;
    min-height: 42px !important;
    font-size: 0.9rem !important;
  }

  body.lag-blank-template .lag-mid-cta,
  body.lag-blank-template .lag-cta {
    padding: 18px 16px !important;
  }
}


/* ==========================================================
   LAGB Mobile Map + FAQ Compact Final Fix - v2.7.11.30
   Quita blanco residual del mapa móvil y compacta FAQs.
   ========================================================== */

/* Mapa: OSM no debe reservar espacio si no está activo/cargado. */
body.lag-blank-template .lag-section-location .lag-osm-map {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  box-shadow: none !important;
  border: 0 !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-location .lag-google-map-iframe {
    display: block !important;
    height: 210px !important;
    min-height: 210px !important;
  }

  body.lag-blank-template .lag-section-location .lag-osm-map.is-active {
    display: block !important;
    height: 210px !important;
    min-height: 210px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    box-shadow: var(--lagb-clean-shadow, 0 6px 18px rgba(15, 23, 42, 0.045)) !important;
  }

  body.lag-blank-template .lag-section-location .lag-map-wrap {
    margin: 0 !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-map {
    gap: 6px !important;
  }
}

/* FAQ: eliminar padding acumulado y reducir altura visual por pregunta. */
body.lag-blank-template .lag-section-faqs .lag-faqs {
  max-width: 760px !important;
}

body.lag-blank-template .lag-section-faqs .lag-faqs .lag-faq {
  margin: 0 0 6px 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item {
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 10px !important;
  min-height: 0 !important;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.035) !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q,
body.lag-blank-template .lag-section-faqs .lag-faq-item > summary,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
  padding: 8px 38px 8px 12px !important;
  min-height: 34px !important;
  font-size: 0.88rem !important;
  line-height: 1.25 !important;
  display: flex !important;
  align-items: center !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q::after,
body.lag-blank-template .lag-section-faqs .lag-faq-item > summary::after,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary::after {
  right: 10px !important;
  width: 20px !important;
  height: 20px !important;
  font-size: 0.84rem !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-a,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__content {
  padding: 0 12px 10px !important;
  font-size: 0.86rem !important;
  line-height: 1.5 !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-faqs .lag-faqs .lag-faq {
    margin-bottom: 5px !important;
  }

  body.lag-blank-template .lag-section-faqs .lag-faq-q,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > summary,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
    padding: 8px 36px 8px 12px !important;
    min-height: 32px !important;
    font-size: 0.84rem !important;
  }
}


/* ==========================================================
   LAGB Final Visual Consistency - v2.7.11.31
   Pulido fino de jerarquía, cards, imágenes, botones y detalles.
   ========================================================== */
body.lag-blank-template {
  --lagb-fvc-radius: 14px;
  --lagb-fvc-radius-sm: 10px;
  --lagb-fvc-shadow: 0 8px 22px rgba(15, 23, 42, 0.045);
  --lagb-fvc-shadow-hover: 0 12px 26px rgba(15, 23, 42, 0.065);
}

/* Jerarquía más consistente entre títulos de sección */
body.lag-blank-template .lag-section > .wp-block-heading,
body.lag-blank-template .lag-services > .wp-block-heading,
body.lag-blank-template .lag-products > .wp-block-heading,
body.lag-blank-template .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lag-faqs > .wp-block-heading,
body.lag-blank-template .lag-cta > .wp-block-heading,
body.lag-blank-template .lag-mid-cta-title,
body.lag-blank-template .lag-section h2:first-child {
  font-size: clamp(1.45rem, 2vw, 1.95rem) !important;
  line-height: 1.2 !important;
  font-weight: 800 !important;
  letter-spacing: -0.025em !important;
  margin-bottom: 14px !important;
}

body.lag-blank-template .lag-hero h1,
body.lag-blank-template .lag-hero h2,
body.lag-blank-template .lag-hero h3,
body.lag-blank-template .lag-hero .wp-block-heading {
  letter-spacing: -0.035em !important;
}

/* Texto secundario más homogéneo */
body.lag-blank-template .lag-about-text p,
body.lag-blank-template .lag-location-text p,
body.lag-blank-template .lag-service-blurb,
body.lag-blank-template .lag-product-blurb,
body.lag-blank-template .lag-testimonial p,
body.lag-blank-template .lag-faq-a,
body.lag-blank-template .lag-mid-cta-copy,
body.lag-blank-template .lag-cta p {
  font-size: 0.94rem !important;
  line-height: 1.65 !important;
  color: var(--lagb-premium-muted, #4b5563) !important;
}

/* Sistema de superficies más uniforme */
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-about-text,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-cta,
body.lag-blank-template .lag-mid-cta {
  border-radius: var(--lagb-fvc-radius) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-border, #e5e7eb) 88%, #ffffff 12%) !important;
  box-shadow: var(--lagb-fvc-shadow) !important;
}

body.lag-blank-template .lag-service-card:hover,
body.lag-blank-template .lag-product-card:hover,
body.lag-blank-template .lag-product-card--interactive:hover,
body.lag-blank-template .lag-faq-item[open] {
  box-shadow: var(--lagb-fvc-shadow-hover) !important;
}

/* Imágenes de cards con tratamiento más consistente */
body.lag-blank-template .lag-service-card .lag-service-image,
body.lag-blank-template .lag-product-card .lag-product-image,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image,
body.lag-blank-template .lag-about-image,
body.lag-blank-template .lag-location-map {
  border-radius: calc(var(--lagb-fvc-radius) - 2px) !important;
  overflow: hidden !important;
}

body.lag-blank-template .lag-service-card .lag-service-image,
body.lag-blank-template .lag-product-card .lag-product-image,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image {
  aspect-ratio: 4 / 3;
}

body.lag-blank-template .lag-service-card .lag-service-image img,
body.lag-blank-template .lag-product-card .lag-product-image img,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image img,
body.lag-blank-template .lag-about-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Títulos de cards más alineados */
body.lag-blank-template .lag-service-title,
body.lag-blank-template .lag-product-title {
  font-size: 1rem !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  letter-spacing: -0.015em !important;
  margin-bottom: 8px !important;
}

body.lag-blank-template .lag-service-blurb,
body.lag-blank-template .lag-product-blurb {
  margin-bottom: 12px !important;
}

/* Botones: cerrar lenguaje visual */
body.lag-blank-template .wp-block-button__link,
body.lag-blank-template .lag-service-card-link,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link,
body.lag-blank-template .lag-navbar__cta,
body.lag-blank-template .lag-multi-cta-link,
body.lag-blank-template .lag-sticky-cta__btn {
  min-height: 36px !important;
  padding: 0.58rem 1rem !important;
  border-radius: 999px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
}

body.lag-blank-template .lag-service-card-link,
body.lag-blank-template .lag-product-select-btn .wp-block-button__link {
  min-height: 34px !important;
  padding: 0.5rem 0.95rem !important;
}

/* Navbar y hero: microajustes de consistencia */
body.lag-blank-template .lag-navbar__brand {
  letter-spacing: -0.015em;
  font-weight: 800 !important;
}

body.lag-blank-template .lag-navbar__link {
  font-weight: 600 !important;
}

body.lag-blank-template .lag-hero .wp-block-buttons {
  gap: 10px !important;
}

/* Mid CTA / CTA final: más pulidos */
body.lag-blank-template .lag-mid-cta,
body.lag-blank-template .lag-cta {
  border-radius: calc(var(--lagb-fvc-radius) + 2px) !important;
}

body.lag-blank-template .lag-mid-cta-title,
body.lag-blank-template .lag-cta .wp-block-heading {
  margin-bottom: 10px !important;
}

body.lag-blank-template .lag-mid-cta-copy,
body.lag-blank-template .lag-cta p {
  max-width: 640px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Testimonios: cita y autor más finos */
body.lag-blank-template .lag-testimonial cite {
  font-size: 0.9rem !important;
  font-weight: 800 !important;
}

/* Ubicación: labels más claras */
body.lag-blank-template .lag-location-text strong,
body.lag-blank-template .lag-about-text strong {
  color: var(--lagb-premium-text, #111827) !important;
  font-weight: 700 !important;
}

/* Footer más discreto y limpio */
body.lag-blank-template .site-footer,
body.lag-blank-template footer {
  color: #6b7280;
  font-size: 0.8rem;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section > .wp-block-heading,
  body.lag-blank-template .lag-services > .wp-block-heading,
  body.lag-blank-template .lag-products > .wp-block-heading,
  body.lag-blank-template .lag-testimonials > .wp-block-heading,
  body.lag-blank-template .lag-faqs > .wp-block-heading,
  body.lag-blank-template .lag-cta > .wp-block-heading,
  body.lag-blank-template .lag-mid-cta-title,
  body.lag-blank-template .lag-section h2:first-child {
    font-size: 1.34rem !important;
    margin-bottom: 12px !important;
  }

  body.lag-blank-template .lag-about-text p,
  body.lag-blank-template .lag-location-text p,
  body.lag-blank-template .lag-service-blurb,
  body.lag-blank-template .lag-product-blurb,
  body.lag-blank-template .lag-testimonial p,
  body.lag-blank-template .lag-faq-a,
  body.lag-blank-template .lag-mid-cta-copy,
  body.lag-blank-template .lag-cta p {
    font-size: 0.9rem !important;
  }

  body.lag-blank-template .lag-service-title,
  body.lag-blank-template .lag-product-title {
    font-size: 0.96rem !important;
  }

  body.lag-blank-template .lag-service-card .lag-service-image,
  body.lag-blank-template .lag-product-card .lag-product-image,
  body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image {
    aspect-ratio: 16 / 10;
  }

  body.lag-blank-template .wp-block-button__link,
  body.lag-blank-template .lag-service-card-link,
  body.lag-blank-template .lag-product-select-btn .wp-block-button__link,
  body.lag-blank-template .lag-navbar__cta,
  body.lag-blank-template .lag-multi-cta-link,
  body.lag-blank-template .lag-sticky-cta__btn {
    min-height: 38px !important;
    font-size: 0.84rem !important;
  }
}

/* ======================================================================
   2.7.11.35 — Section Variant Foundation
   ----------------------------------------------------------------------
   Base no disruptiva para variantes por sección generadas desde PHP.
   Estas clases son hooks estables para futuras fases visuales; no alteran
   prompts, imágenes, seguridad, mapas ni estructura profunda de Gutenberg.
   ====================================================================== */
body.lag-blank-template .lagb-section-variant {
  --lagb-section-variant-foundation: 1;
}


/* ======================================================================
   2.7.11.36 — Section Variant Visual Polish
   ----------------------------------------------------------------------
   Pulido visual por variantes semánticas creadas en 2.7.11.35.
   Alcance: solo presentación frontend. No toca prompts, imágenes, JS,
   mapas, seguridad, parser JSON ni estructura profunda de Gutenberg.
   ====================================================================== */
body.lag-blank-template {
  --lagb-sv-radius: 16px;
  --lagb-sv-radius-sm: 12px;
  --lagb-sv-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
  --lagb-sv-shadow-hover: 0 16px 34px rgba(15, 23, 42, 0.085);
  --lagb-sv-border: color-mix(in srgb, var(--lagb-premium-border, #e5e7eb) 86%, #ffffff 14%);
  --lagb-sv-soft: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 4%, #ffffff 96%);
  --lagb-sv-accent-soft: color-mix(in srgb, var(--lagb-premium-accent, #2563eb) 10%, #ffffff 90%);
}

body.lag-blank-template .lagb-section-variant {
  --lagb-section-variant-foundation: 1;
}

/* HERO variants ------------------------------------------------------- */
body.lag-blank-template .lagb-variant-hero-centered-clean.lag-hero.wp-block-cover,
body.lag-blank-template .lagb-variant-hero-centered-clean .lag-hero.wp-block-cover {
  min-height: clamp(420px, 54vh, 600px) !important;
}

body.lag-blank-template .lagb-variant-hero-centered-clean .lag-hero-content,
body.lag-blank-template .lagb-variant-hero-centered-clean.lag-hero .lag-hero-content {
  max-width: 860px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template .lagb-variant-hero-split-image.lag-hero.wp-block-cover,
body.lag-blank-template .lagb-variant-hero-split-image .lag-hero.wp-block-cover {
  min-height: clamp(480px, 62vh, 680px) !important;
}

body.lag-blank-template .lagb-variant-hero-split-image.lag-hero .wp-block-cover__background,
body.lag-blank-template .lagb-variant-hero-split-image .lag-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(2, 6, 23, 0.62) 48%, rgba(2, 6, 23, 0.22) 100%) !important;
}

body.lag-blank-template .lagb-variant-hero-split-image.lag-hero h1,
body.lag-blank-template .lagb-variant-hero-split-image.lag-hero h2,
body.lag-blank-template .lagb-variant-hero-split-image.lag-hero h3,
body.lag-blank-template .lagb-variant-hero-split-image.lag-hero p,
body.lag-blank-template .lagb-variant-hero-split-image.lag-hero .wp-block-buttons,
body.lag-blank-template .lagb-variant-hero-split-image .lag-hero h1,
body.lag-blank-template .lagb-variant-hero-split-image .lag-hero h2,
body.lag-blank-template .lagb-variant-hero-split-image .lag-hero h3,
body.lag-blank-template .lagb-variant-hero-split-image .lag-hero p,
body.lag-blank-template .lagb-variant-hero-split-image .lag-hero .wp-block-buttons {
  max-width: 640px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

body.lag-blank-template .lagb-variant-hero-overlay-soft.lag-hero .wp-block-cover__background,
body.lag-blank-template .lagb-variant-hero-overlay-soft .lag-hero .wp-block-cover__background {
  background: radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.20), transparent 30%), linear-gradient(135deg, rgba(15, 23, 42, 0.72), rgba(15, 23, 42, 0.46)) !important;
  opacity: 0.72 !important;
}

body.lag-blank-template .lagb-variant-hero-compact-conversion.lag-hero.wp-block-cover,
body.lag-blank-template .lagb-variant-hero-compact-conversion .lag-hero.wp-block-cover {
  min-height: clamp(320px, 42vh, 460px) !important;
  padding-top: clamp(42px, 6vw, 66px) !important;
  padding-bottom: clamp(42px, 6vw, 66px) !important;
}

body.lag-blank-template .lagb-variant-hero-compact-conversion.lag-hero h1,
body.lag-blank-template .lagb-variant-hero-compact-conversion.lag-hero h2,
body.lag-blank-template .lagb-variant-hero-compact-conversion.lag-hero h3,
body.lag-blank-template .lagb-variant-hero-compact-conversion .lag-hero h1,
body.lag-blank-template .lagb-variant-hero-compact-conversion .lag-hero h2,
body.lag-blank-template .lagb-variant-hero-compact-conversion .lag-hero h3 {
  font-size: clamp(1.95rem, 4.8vw, 3.25rem) !important;
}

/* ABOUT variants ------------------------------------------------------ */
body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-columns,
body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-columns {
  gap: clamp(22px, 4vw, 42px) !important;
  align-items: center !important;
}

body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-text,
body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-text,
body.lag-blank-template .lagb-variant-about-editorial-panel .lag-about-text {
  border-radius: var(--lagb-sv-radius) !important;
  border: 1px solid var(--lagb-sv-border) !important;
  background: color-mix(in srgb, var(--lagb-premium-surface, #ffffff) 97%, #ffffff 3%) !important;
  box-shadow: var(--lagb-sv-shadow) !important;
}

body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-image,
body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-image {
  border-radius: var(--lagb-sv-radius) !important;
  box-shadow: var(--lagb-sv-shadow) !important;
}

body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-image img,
body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-image img {
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}

body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-highlights {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
  margin-top: 16px !important;
  padding-left: 0 !important;
  list-style: none !important;
}

body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-highlights li {
  margin: 0 !important;
  padding: 9px 10px !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 12%, var(--lagb-premium-border, #e5e7eb) 88%) !important;
  border-radius: 999px !important;
  background: var(--lagb-sv-soft) !important;
  color: var(--lagb-premium-text, #111827) !important;
  font-size: 0.84rem !important;
  font-weight: 650 !important;
  line-height: 1.25 !important;
}

body.lag-blank-template .lagb-variant-about-editorial-panel .lag-about-columns {
  max-width: 900px !important;
}

body.lag-blank-template .lagb-variant-about-editorial-panel .lag-about-text {
  padding: clamp(22px, 4vw, 36px) !important;
}

/* SERVICES / PRODUCTS variants -------------------------------------- */
body.lag-blank-template .lagb-variant-services-card-grid .lag-service-card,
body.lag-blank-template .lagb-variant-products-clean-grid .lag-product-card,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-card,
body.lag-blank-template .lagb-variant-services-featured-grid .lag-service-card {
  border-radius: var(--lagb-sv-radius) !important;
  border: 1px solid var(--lagb-sv-border) !important;
  box-shadow: var(--lagb-sv-shadow) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.lag-blank-template .lagb-variant-services-card-grid .lag-service-card:hover,
body.lag-blank-template .lagb-variant-products-clean-grid .lag-product-card:hover,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-card:hover,
body.lag-blank-template .lagb-variant-services-featured-grid .lag-service-card:hover {
  transform: translateY(-2px) !important;
  box-shadow: var(--lagb-sv-shadow-hover) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 18%, var(--lagb-premium-border, #e5e7eb) 82%) !important;
}

body.lag-blank-template .lagb-variant-services-card-grid .lag-service-image,
body.lag-blank-template .lagb-variant-products-clean-grid .lag-product-image,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-image {
  aspect-ratio: 16 / 10 !important;
  border-radius: var(--lagb-sv-radius-sm) !important;
}

body.lag-blank-template .lagb-variant-services-featured-grid .lag-service-card,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-card {
  position: relative !important;
  overflow: hidden !important;
}

body.lag-blank-template .lagb-variant-services-featured-grid .lag-service-card::before,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--lagb-premium-primary, #0f172a), var(--lagb-premium-accent, #2563eb));
  opacity: .78;
  pointer-events: none;
}

body.lag-blank-template .lagb-variant-services-compact-list .lag-services-row,
body.lag-blank-template .lagb-variant-products-minimal .lag-products-row {
  gap: 14px !important;
}

body.lag-blank-template .lagb-variant-services-compact-list .lag-service-card,
body.lag-blank-template .lagb-variant-products-minimal .lag-product-card {
  padding: 16px !important;
  box-shadow: none !important;
  border: 1px solid var(--lagb-sv-border) !important;
  border-radius: var(--lagb-sv-radius-sm) !important;
}

body.lag-blank-template .lagb-variant-services-compact-list .lag-service-image,
body.lag-blank-template .lagb-variant-products-minimal .lag-product-image {
  aspect-ratio: 16 / 7 !important;
  margin-bottom: 10px !important;
}

/* TESTIMONIALS variants --------------------------------------------- */
body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonials,
body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonials,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonials {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonials > .wp-block-heading {
  grid-column: 1 / -1 !important;
}

body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonial,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial {
  height: 100% !important;
  margin: 0 !important;
  border-radius: var(--lagb-sv-radius) !important;
}

body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type {
  grid-column: span 2 !important;
  padding: 26px 30px 26px 62px !important;
  background: linear-gradient(135deg, #ffffff, var(--lagb-sv-soft)) !important;
}

body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type p {
  font-size: clamp(1rem, 1.5vw, 1.14rem) !important;
  line-height: 1.65 !important;
}

body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonial {
  margin: 0 !important;
  padding: 16px 18px 16px 44px !important;
  box-shadow: none !important;
}

/* FAQ variants -------------------------------------------------------- */
body.lag-blank-template .lagb-variant-faq-two-column .lag-faqs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 14px !important;
}

body.lag-blank-template .lagb-variant-faq-two-column .lag-faqs > .wp-block-heading {
  grid-column: 1 / -1 !important;
}

body.lag-blank-template .lagb-variant-faq-compact-accordion .lag-faq,
body.lag-blank-template .lagb-variant-faq-minimal .lag-faq,
body.lag-blank-template .lagb-variant-faq-two-column .lag-faq {
  margin-bottom: 0 !important;
}

body.lag-blank-template .lagb-variant-faq-minimal .lag-faq-item {
  box-shadow: none !important;
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
}

body.lag-blank-template .lagb-variant-faq-compact-accordion .lag-faq-item {
  border-radius: var(--lagb-sv-radius-sm) !important;
}

/* CTA variants -------------------------------------------------------- */
body.lag-blank-template .lagb-variant-cta-soft-panel .lag-cta,
body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta,
body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta {
  border-radius: calc(var(--lagb-sv-radius) + 4px) !important;
  border: 1px solid var(--lagb-sv-border) !important;
}

body.lag-blank-template .lagb-variant-cta-soft-panel .lag-cta {
  background: linear-gradient(135deg, #ffffff, var(--lagb-sv-soft)) !important;
  box-shadow: var(--lagb-sv-shadow) !important;
}

body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta {
  max-width: 980px !important;
  text-align: left !important;
}

body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .wp-block-buttons,
body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .lag-multi-cta {
  justify-content: flex-start !important;
}

body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta {
  max-width: 900px !important;
  padding: clamp(18px, 3vw, 26px) !important;
}

/* LOCATION variants --------------------------------------------------- */
body.lag-blank-template .lagb-variant-location-clean-card .lag-location-columns {
  gap: clamp(18px, 3vw, 32px) !important;
  align-items: stretch !important;
}

body.lag-blank-template .lagb-variant-location-clean-card .lag-location-text,
body.lag-blank-template .lagb-variant-location-clean-card .lag-location-map {
  border-radius: var(--lagb-sv-radius) !important;
  border: 1px solid var(--lagb-sv-border) !important;
  background: #ffffff !important;
  box-shadow: var(--lagb-sv-shadow) !important;
}

body.lag-blank-template .lagb-variant-location-clean-card .lag-location-map iframe,
body.lag-blank-template .lagb-variant-location-clean-card .lag-map-wrap,
body.lag-blank-template .lagb-variant-location-clean-card .lag-osm-map {
  border-radius: calc(var(--lagb-sv-radius) - 2px) !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lagb-variant-hero-split-image.lag-hero h1,
  body.lag-blank-template .lagb-variant-hero-split-image.lag-hero h2,
  body.lag-blank-template .lagb-variant-hero-split-image.lag-hero h3,
  body.lag-blank-template .lagb-variant-hero-split-image.lag-hero p,
  body.lag-blank-template .lagb-variant-hero-split-image.lag-hero .wp-block-buttons,
  body.lag-blank-template .lagb-variant-hero-split-image .lag-hero h1,
  body.lag-blank-template .lagb-variant-hero-split-image .lag-hero h2,
  body.lag-blank-template .lagb-variant-hero-split-image .lag-hero h3,
  body.lag-blank-template .lagb-variant-hero-split-image .lag-hero p,
  body.lag-blank-template .lagb-variant-hero-split-image .lag-hero .wp-block-buttons,
  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta,
  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .wp-block-buttons,
  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .lag-multi-cta {
    text-align: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-highlights,
  body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonials,
  body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonials,
  body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonials,
  body.lag-blank-template .lagb-variant-faq-two-column .lag-faqs {
    grid-template-columns: 1fr !important;
  }

  body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type {
    grid-column: auto !important;
    padding: 20px 22px 20px 54px !important;
  }

  body.lag-blank-template .lagb-variant-services-compact-list .lag-service-image,
  body.lag-blank-template .lagb-variant-products-minimal .lag-product-image {
    aspect-ratio: 16 / 9 !important;
  }
}


/* ======================================================================
   2.7.11.37 — Section Variant Stability Fix
   ----------------------------------------------------------------------
   Corrige regresiones visuales detectadas en testimonios, FAQ y parte
   inferior tras 2.7.11.36. Mantiene el sistema de variantes, pero revierte
   overrides estructurales riesgosos en la zona media/baja de la landing.
   No toca IA, imágenes, JS, mapas, seguridad ni parser.
   ====================================================================== */

/* Asegura flujo normal y separación limpia entre secciones bajas. */
body.lag-blank-template .lag-section-testimonials,
body.lag-blank-template .lag-section-faqs,
body.lag-blank-template .lag-section-cta,
body.lag-blank-template .lag-section-location {
  clear: both !important;
  isolation: isolate !important;
}

/* TESTIMONIALS: volver a layout seguro de una columna.
   Se mantiene el pulido visual de cards, pero se evita grid agresivo que
   generó columnas estrechas / desbordes visuales. */
body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonials,
body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonials,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonials {
  display: block !important;
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonials > .wp-block-heading {
  display: block !important;
  margin-bottom: 20px !important;
}

body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonial,
body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonial,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial,
body.lag-blank-template .lagb-variant-testimonials-cards blockquote.lag-testimonial,
body.lag-blank-template .lagb-variant-testimonials-compact blockquote.lag-testimonial,
body.lag-blank-template .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial {
  display: block !important;
  width: 100% !important;
  max-width: 820px !important;
  height: auto !important;
  margin: 0 auto 14px !important;
  padding: 22px 24px 22px 56px !important;
  border-radius: var(--lagb-sv-radius) !important;
  border: 1px solid var(--lagb-sv-border) !important;
  background: #ffffff !important;
  box-shadow: var(--lagb-sv-shadow) !important;
  text-align: left !important;
  font-style: normal !important;
}

body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonial,
body.lag-blank-template .lagb-variant-testimonials-compact blockquote.lag-testimonial {
  padding: 18px 20px 18px 48px !important;
  border-radius: var(--lagb-sv-radius-sm) !important;
  box-shadow: none !important;
}

body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type,
body.lag-blank-template .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial:first-of-type {
  grid-column: auto !important;
  max-width: 820px !important;
  padding: 24px 26px 24px 58px !important;
  background: linear-gradient(135deg, #ffffff, var(--lagb-sv-soft)) !important;
}

body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type p,
body.lag-blank-template .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial:first-of-type p {
  font-size: 0.98rem !important;
  line-height: 1.68 !important;
}

/* FAQ: neutralizar layout de dos columnas y volver a acordeón estable. */
body.lag-blank-template .lagb-variant-faq-compact-accordion .lag-faqs,
body.lag-blank-template .lagb-variant-faq-two-column .lag-faqs,
body.lag-blank-template .lagb-variant-faq-minimal .lag-faqs {
  display: block !important;
  max-width: 760px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template .lagb-variant-faq-two-column .lag-faqs > .wp-block-heading,
body.lag-blank-template .lagb-variant-faq-compact-accordion .lag-faqs > .wp-block-heading,
body.lag-blank-template .lagb-variant-faq-minimal .lag-faqs > .wp-block-heading {
  display: block !important;
}

body.lag-blank-template .lagb-variant-faq-compact-accordion .lag-faq,
body.lag-blank-template .lagb-variant-faq-two-column .lag-faq,
body.lag-blank-template .lagb-variant-faq-minimal .lag-faq {
  margin: 0 0 6px 0 !important;
}

body.lag-blank-template .lagb-variant-faq-two-column .lag-faq-item,
body.lag-blank-template .lagb-variant-faq-compact-accordion .lag-faq-item,
body.lag-blank-template .lagb-variant-faq-minimal .lag-faq-item {
  display: block !important;
  width: 100% !important;
}

/* CTA final: asegurar contenedor centrado y evitar arrastres visuales. */
body.lag-blank-template .lagb-variant-cta-soft-panel .lag-cta,
body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta,
body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta {
  text-align: center !important;
}

body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .wp-block-buttons,
body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .lag-multi-cta {
  justify-content: center !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonial,
  body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonial,
  body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial,
  body.lag-blank-template .lagb-variant-testimonials-cards blockquote.lag-testimonial,
  body.lag-blank-template .lagb-variant-testimonials-compact blockquote.lag-testimonial,
  body.lag-blank-template .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial {
    padding: 18px 18px 18px 46px !important;
  }

  body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type,
  body.lag-blank-template .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial:first-of-type {
    padding: 18px 18px 18px 48px !important;
  }

  body.lag-blank-template .lagb-variant-faq-compact-accordion .lag-faqs,
  body.lag-blank-template .lagb-variant-faq-two-column .lag-faqs,
  body.lag-blank-template .lagb-variant-faq-minimal .lag-faqs {
    max-width: 100% !important;
  }
}


/* ======================================================================
   2.7.11.38 — Variant Preset Refinement
   ----------------------------------------------------------------------
   Capa segura: solo pequenos tokens por preset para acompañar el mapeo
   refinado de variantes. No altera estructura de testimonios/FAQ ni mapas.
   ====================================================================== */
body.lag-blank-template.lagb-style-enterprise {
  --lagb-sv-preset-weight: 1;
}

body.lag-blank-template.lagb-style-local_business {
  --lagb-sv-soft: color-mix(in srgb, var(--lagb-premium-accent, #06b6d4) 5%, #ffffff 95%);
}

body.lag-blank-template.lagb-style-premium_visual {
  --lagb-sv-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  --lagb-sv-shadow-hover: 0 18px 38px rgba(15, 23, 42, 0.09);
  --lagb-sv-soft: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 5%, #ffffff 95%);
}

body.lag-blank-template.lagb-style-minimal,
body.lag-blank-template.lagb-style-no_images {
  --lagb-sv-shadow: none;
  --lagb-sv-shadow-hover: none;
}

body.lag-blank-template.lagb-density-spacious {
  --lagb-sv-radius: 18px;
}

body.lag-blank-template.lagb-density-compact {
  --lagb-sv-radius: 14px;
  --lagb-sv-radius-sm: 10px;
}


/* ======================================================================
   2.7.11.40 — Design Tokens Foundation
   ----------------------------------------------------------------------
   Capa base de tokens visuales para futuras fases esteticas.
   Alcance: define aliases semanticos y conecta variables existentes
   de ritmo/variantes sin cambiar estructura HTML, IA, imagenes, JS,
   mapas, seguridad ni parser.
   ====================================================================== */
body.lag-blank-template {
  /* Layout / contenedores */
  --lagb-token-container-wide: 1120px;
  --lagb-token-container-default: 1040px;
  --lagb-token-container-narrow: 900px;
  --lagb-token-container-readable: 760px;

  /* Ritmo vertical */
  --lagb-token-section-y: clamp(34px, 4.2vw, 50px);
  --lagb-token-section-y-compact: clamp(30px, 3.8vw, 44px);
  --lagb-token-heading-gap: 18px;
  --lagb-token-grid-gap: 20px;
  --lagb-token-stack-gap: 14px;

  /* Superficies / cards */
  --lagb-token-card-radius: 16px;
  --lagb-token-card-radius-sm: 12px;
  --lagb-token-card-padding: clamp(18px, 2.4vw, 24px);
  --lagb-token-card-shadow: 0 10px 28px rgba(15, 23, 42, 0.055);
  --lagb-token-card-shadow-hover: 0 16px 34px rgba(15, 23, 42, 0.085);
  --lagb-token-border-soft: color-mix(in srgb, var(--lagb-premium-border, #e5e7eb) 86%, #ffffff 14%);

  /* Imagenes */
  --lagb-token-image-height: 168px;
  --lagb-token-image-height-product: 156px;
  --lagb-token-image-radius: var(--lagb-token-card-radius-sm);
  --lagb-token-image-ratio-card: 16 / 10;
  --lagb-token-image-ratio-compact: 16 / 9;

  /* Botones */
  --lagb-token-button-radius: 999px;
  --lagb-token-button-min-height: 42px;
  --lagb-token-button-padding-x: 18px;
  --lagb-token-button-gap: 12px;

  /* Tipografia / lectura */
  --lagb-token-heading-max: 840px;
  --lagb-token-text-max: 680px;
  --lagb-token-body-line-height: 1.68;

  /* Compatibilidad con variables creadas en fases anteriores. */
  --lagb-rhythm-section-y: var(--lagb-token-section-y);
  --lagb-rhythm-section-y-compact: var(--lagb-token-section-y-compact);
  --lagb-rhythm-heading-gap: var(--lagb-token-heading-gap);
  --lagb-rhythm-grid-gap: var(--lagb-token-grid-gap);
  --lagb-rhythm-image-h: var(--lagb-token-image-height);
  --lagb-rhythm-image-h-product: var(--lagb-token-image-height-product);
  --lagb-sv-radius: var(--lagb-token-card-radius);
  --lagb-sv-radius-sm: var(--lagb-token-card-radius-sm);
  --lagb-sv-shadow: var(--lagb-token-card-shadow);
  --lagb-sv-shadow-hover: var(--lagb-token-card-shadow-hover);
  --lagb-sv-border: var(--lagb-token-border-soft);
}

body.lag-blank-template.lagb-density-compact {
  --lagb-token-section-y: 34px;
  --lagb-token-section-y-compact: 30px;
  --lagb-token-heading-gap: 16px;
  --lagb-token-grid-gap: 14px;
  --lagb-token-stack-gap: 10px;
  --lagb-token-card-radius: 14px;
  --lagb-token-card-radius-sm: 10px;
  --lagb-token-card-padding: 16px;
  --lagb-token-image-height: 176px;
  --lagb-token-image-height-product: 164px;
  --lagb-token-button-min-height: 40px;
  --lagb-token-button-padding-x: 16px;
}

body.lag-blank-template.lagb-density-spacious {
  --lagb-token-section-y: clamp(46px, 5.2vw, 68px);
  --lagb-token-section-y-compact: clamp(40px, 4.8vw, 58px);
  --lagb-token-heading-gap: 22px;
  --lagb-token-grid-gap: 24px;
  --lagb-token-stack-gap: 18px;
  --lagb-token-card-radius: 18px;
  --lagb-token-card-radius-sm: 14px;
  --lagb-token-card-padding: clamp(22px, 3vw, 30px);
  --lagb-token-image-height: 196px;
  --lagb-token-image-height-product: 184px;
  --lagb-token-button-min-height: 44px;
  --lagb-token-button-padding-x: 20px;
}

body.lag-blank-template.lagb-style-minimal,
body.lag-blank-template.lagb-style-no_images {
  --lagb-token-card-shadow: none;
  --lagb-token-card-shadow-hover: none;
  --lagb-token-border-soft: var(--lagb-premium-border, #e5e7eb);
}

body.lag-blank-template.lagb-style-premium_visual {
  --lagb-token-card-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  --lagb-token-card-shadow-hover: 0 18px 38px rgba(15, 23, 42, 0.09);
  --lagb-token-card-radius: 18px;
}

body.lag-blank-template.lagb-style-beauty_elegant {
  --lagb-token-card-radius: 18px;
  --lagb-token-card-radius-sm: 14px;
  --lagb-token-card-shadow: 0 12px 30px rgba(74, 47, 53, 0.06);
  --lagb-token-card-shadow-hover: 0 18px 38px rgba(74, 47, 53, 0.09);
}

/* Aplicacion conservadora de tokens: solo propiedades ya controladas por
   capas previas, evitando redisenar la zona baja estabilizada en 2.7.11.37. */
body.lag-blank-template .lag-services-row,
body.lag-blank-template .lag-products-row,
body.lag-blank-template .lag-about-columns,
body.lag-blank-template .lag-location-columns {
  gap: var(--lagb-token-grid-gap) !important;
}

body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map,
body.lag-blank-template .lag-mid-cta,
body.lag-blank-template .lag-cta {
  border-radius: var(--lagb-token-card-radius) !important;
}

body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card {
  box-shadow: var(--lagb-token-card-shadow) !important;
}

body.lag-blank-template .lag-service-card:hover,
body.lag-blank-template .lag-product-card:hover {
  box-shadow: var(--lagb-token-card-shadow-hover) !important;
}

body.lag-blank-template .lag-service-image,
body.lag-blank-template .lag-product-image,
body.lag-blank-template .lag-about-image,
body.lag-blank-template .lag-about-image img,
body.lag-blank-template .lag-location-map iframe,
body.lag-blank-template .lag-map-wrap,
body.lag-blank-template .lag-osm-map {
  border-radius: var(--lagb-token-image-radius) !important;
}

body.lag-blank-template .wp-block-button__link,
body.lag-blank-template .lag-multi-cta-link,
body.lag-blank-template .lag-service-card-link,
body.lag-blank-template .lag-navbar__cta,
body.lag-blank-template .lag-sticky-cta__button {
  border-radius: var(--lagb-token-button-radius) !important;
  min-height: var(--lagb-token-button-min-height) !important;
}

body.lag-blank-template .lag-section > .wp-block-heading,
body.lag-blank-template .lag-section > h2,
body.lag-blank-template .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lag-faqs > .wp-block-heading {
  max-width: var(--lagb-token-heading-max) !important;
}

body.lag-blank-template .lag-section > p,
body.lag-blank-template .lag-about-text p,
body.lag-blank-template .lag-cta p {
  max-width: var(--lagb-token-text-max) !important;
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-token-section-y: 34px;
    --lagb-token-section-y-compact: 30px;
    --lagb-token-grid-gap: 14px;
    --lagb-token-card-padding: 16px;
    --lagb-token-button-min-height: 42px;
    --lagb-token-button-padding-x: 16px;
  }
}


/* ======================================================================
   2.7.11.41 — About Rhythm Balance Fix
   ----------------------------------------------------------------------
   Corrige la compresion visual de la seccion About/Nosotros detectada
   despues de Design Tokens Foundation. Mantiene los tokens, pero agrega
   tokens especificos para About con mas aire vertical, mejor gap entre
   columnas y padding interno mas equilibrado.
   No toca IA, imagenes, JS, mapas, seguridad ni parser.
   ====================================================================== */
body.lag-blank-template {
  --lagb-token-about-section-y: clamp(44px, 5.2vw, 66px);
  --lagb-token-about-heading-gap: clamp(18px, 2.4vw, 26px);
  --lagb-token-about-grid-gap: clamp(26px, 4vw, 44px);
  --lagb-token-about-card-padding: clamp(24px, 3vw, 32px);
  --lagb-token-about-image-min-height: clamp(320px, 29vw, 380px);
}

body.lag-blank-template .lag-section-about {
  padding-top: var(--lagb-token-about-section-y) !important;
  padding-bottom: var(--lagb-token-about-section-y) !important;
}

body.lag-blank-template .lag-section-about > .wp-block-heading,
body.lag-blank-template .lag-section-about > h2,
body.lag-blank-template .lag-section-about .wp-block-heading:first-child {
  margin-bottom: var(--lagb-token-about-heading-gap) !important;
}

body.lag-blank-template .lag-section-about .lag-about-columns,
body.lag-blank-template .lag-section-about > .wp-block-columns.lag-about-columns,
body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-columns,
body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-columns {
  gap: var(--lagb-token-about-grid-gap) !important;
  align-items: center !important;
}

body.lag-blank-template .lag-section-about .lag-about-text,
body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-text,
body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-text,
body.lag-blank-template .lagb-variant-about-editorial-panel .lag-about-text {
  padding: var(--lagb-token-about-card-padding) !important;
}

body.lag-blank-template .lag-section-about .lag-about-text p {
  line-height: 1.72 !important;
}

body.lag-blank-template .lag-section-about .lag-about-highlights {
  margin-top: 18px !important;
  gap: 10px !important;
}

body.lag-blank-template .lag-section-about .lag-about-image img {
  min-height: var(--lagb-token-about-image-min-height) !important;
}

body.lag-blank-template.lagb-density-compact {
  --lagb-token-about-section-y: clamp(40px, 4.8vw, 56px);
  --lagb-token-about-heading-gap: 18px;
  --lagb-token-about-grid-gap: clamp(22px, 3.4vw, 34px);
  --lagb-token-about-card-padding: clamp(22px, 2.6vw, 28px);
  --lagb-token-about-image-min-height: clamp(300px, 27vw, 350px);
}

body.lag-blank-template.lagb-density-spacious {
  --lagb-token-about-section-y: clamp(54px, 6vw, 78px);
  --lagb-token-about-heading-gap: clamp(22px, 3vw, 32px);
  --lagb-token-about-grid-gap: clamp(32px, 4.8vw, 52px);
  --lagb-token-about-card-padding: clamp(28px, 3.5vw, 38px);
  --lagb-token-about-image-min-height: clamp(340px, 31vw, 420px);
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-token-about-section-y: 40px;
    --lagb-token-about-heading-gap: 18px;
    --lagb-token-about-grid-gap: 16px;
    --lagb-token-about-card-padding: 18px;
    --lagb-token-about-image-min-height: 240px;
  }

  body.lag-blank-template .lag-section-about .lag-about-columns,
  body.lag-blank-template .lag-section-about > .wp-block-columns.lag-about-columns,
  body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-columns,
  body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-columns {
    gap: var(--lagb-token-about-grid-gap) !important;
    align-items: stretch !important;
  }
}


/* ======================================================================
   2.7.11.42 — About Width Uniformity Fix
   ----------------------------------------------------------------------
   Corrige la falta de uniformidad de ancho visual en About/Nosotros para
   alinearlo con Servicios/Productos. Mantiene el ritmo balanceado de 2.7.11.41
   y no toca IA, imágenes, parser, seguridad, mapas ni JS.
   ====================================================================== */
body.lag-blank-template {
  --lagb-token-about-container-max: var(--lagb-token-container-wide, 1120px);
}

body.lag-blank-template .lag-section-about {
  padding-left: 16px !important;
  padding-right: 16px !important;
}

body.lag-blank-template .lag-section-about > .wp-block-heading,
body.lag-blank-template .lag-section-about > h2,
body.lag-blank-template .lag-section-about .wp-block-heading:first-child {
  width: 100% !important;
  max-width: var(--lagb-token-about-container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template .lag-section-about .lag-about-columns,
body.lag-blank-template .lag-section-about > .wp-block-columns.lag-about-columns,
body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-columns,
body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-columns,
body.lag-blank-template .lagb-variant-about-editorial-panel .lag-about-columns {
  width: 100% !important;
  max-width: var(--lagb-token-about-container-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Evita compresión visual en viewport intermedio cuando la columna de texto
   es más larga que la imagen. */
body.lag-blank-template .lag-section-about .lag-about-text,
body.lag-blank-template .lag-section-about .lag-about-image {
  min-width: 0 !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-about {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  body.lag-blank-template .lag-section-about > .wp-block-heading,
  body.lag-blank-template .lag-section-about > h2,
  body.lag-blank-template .lag-section-about .wp-block-heading:first-child,
  body.lag-blank-template .lag-section-about .lag-about-columns,
  body.lag-blank-template .lag-section-about > .wp-block-columns.lag-about-columns,
  body.lag-blank-template .lagb-variant-about-split-text-image .lag-about-columns,
  body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-columns,
  body.lag-blank-template .lagb-variant-about-editorial-panel .lag-about-columns {
    max-width: 100% !important;
  }
}


/* ======================================================================
   2.7.11.43 — Global Container Uniformity Pass
   ----------------------------------------------------------------------
   Pasada final conservadora para uniformar la logica de anchos visuales
   entre About, Servicios, Productos, Ubicacion, Testimonios, FAQ y CTA.
   Alcance: solo max-width, padding lateral y centrado de contenedores.
   No cambia estructura, grids, IA, imagenes, JS, mapas, seguridad ni parser.
   ====================================================================== */
body.lag-blank-template {
  --lagb-token-container-main: var(--lagb-token-container-wide, 1120px);
  --lagb-token-container-panel: 900px;
  --lagb-token-container-readable-final: var(--lagb-token-container-readable, 760px);
  --lagb-token-container-side-pad: 16px;
}

/* Padding lateral uniforme para secciones de contenido. */
body.lag-blank-template .lag-section-about,
body.lag-blank-template .lag-section-services,
body.lag-blank-template .lag-section-products,
body.lag-blank-template .lag-section-location,
body.lag-blank-template .lag-section-testimonials,
body.lag-blank-template .lag-section-faqs,
body.lag-blank-template .lag-section-cta {
  padding-left: var(--lagb-token-container-side-pad) !important;
  padding-right: var(--lagb-token-container-side-pad) !important;
}

/* Contenedor principal: secciones amplias con contenido en columnas/grids. */
body.lag-blank-template .lag-services,
body.lag-blank-template .lag-products,
body.lag-blank-template .lag-services-row,
body.lag-blank-template .lag-products-row,
body.lag-blank-template .lag-section-about > .wp-block-heading,
body.lag-blank-template .lag-section-about > h2,
body.lag-blank-template .lag-section-about .wp-block-heading:first-child,
body.lag-blank-template .lag-section-about .lag-about-columns,
body.lag-blank-template .lag-section-about > .wp-block-columns.lag-about-columns,
body.lag-blank-template .lag-section-location > .wp-block-heading,
body.lag-blank-template .lag-section-location > h2,
body.lag-blank-template .lag-section-location .wp-block-heading:first-child,
body.lag-blank-template .lag-section-location .lag-location-columns,
body.lag-blank-template .lag-section-location > .wp-block-columns.lag-location-columns {
  width: 100% !important;
  max-width: var(--lagb-token-container-main) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Panel medio: CTAs y testimonios mantienen un ancho mas enfocado.
   Importante: no se cambia display/grid de Testimonios para conservar
   la estabilidad corregida en 2.7.11.37. */
body.lag-blank-template .lag-mid-cta,
body.lag-blank-template .lag-section-cta .lag-cta,
body.lag-blank-template .lag-cta,
body.lag-blank-template .lag-section-testimonials .lag-testimonials,
body.lag-blank-template .lagb-variant-testimonials-cards .lag-testimonials,
body.lag-blank-template .lagb-variant-testimonials-compact .lag-testimonials,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonials {
  width: 100% !important;
  max-width: var(--lagb-token-container-panel) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* FAQ mantiene ancho de lectura para no volver a desbalancear la parte baja. */
body.lag-blank-template .lag-section-faqs .lag-faqs,
body.lag-blank-template .lagb-variant-faq-compact-accordion .lag-faqs,
body.lag-blank-template .lagb-variant-faq-two-column .lag-faqs,
body.lag-blank-template .lagb-variant-faq-minimal .lag-faqs {
  width: 100% !important;
  max-width: var(--lagb-token-container-readable-final) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* CTA final: evita que reglas previas de variantes generen anchos distintos. */
body.lag-blank-template .lagb-variant-cta-soft-panel .lag-cta,
body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta,
body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta {
  width: 100% !important;
  max-width: var(--lagb-token-container-panel) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-token-container-side-pad: 16px;
  }

  body.lag-blank-template .lag-services,
  body.lag-blank-template .lag-products,
  body.lag-blank-template .lag-services-row,
  body.lag-blank-template .lag-products-row,
  body.lag-blank-template .lag-section-about > .wp-block-heading,
  body.lag-blank-template .lag-section-about > h2,
  body.lag-blank-template .lag-section-about .wp-block-heading:first-child,
  body.lag-blank-template .lag-section-about .lag-about-columns,
  body.lag-blank-template .lag-section-about > .wp-block-columns.lag-about-columns,
  body.lag-blank-template .lag-section-location > .wp-block-heading,
  body.lag-blank-template .lag-section-location > h2,
  body.lag-blank-template .lag-section-location .wp-block-heading:first-child,
  body.lag-blank-template .lag-section-location .lag-location-columns,
  body.lag-blank-template .lag-section-location > .wp-block-columns.lag-location-columns,
  body.lag-blank-template .lag-mid-cta,
  body.lag-blank-template .lag-section-cta .lag-cta,
  body.lag-blank-template .lag-cta,
  body.lag-blank-template .lag-section-testimonials .lag-testimonials,
  body.lag-blank-template .lag-section-faqs .lag-faqs {
    max-width: 100% !important;
  }
}


/* ======================================================================
   2.7.11.44 — Mobile First Polish
   ----------------------------------------------------------------------
   Pulido responsive conservador para mejorar lectura y conversion en mobile.
   Alcance: CSS frontend solamente. No toca IA, imagenes, JS, mapas,
   seguridad, iframes ni parser JSON.
   ====================================================================== */
body.lag-blank-template {
  --lagb-mobile-page-x: 16px;
  --lagb-mobile-section-y: 38px;
  --lagb-mobile-section-y-tight: 32px;
  --lagb-mobile-card-pad: 18px;
  --lagb-mobile-card-gap: 16px;
  --lagb-mobile-image-h: 190px;
  --lagb-mobile-product-image-h: 178px;
  --lagb-mobile-map-h: 220px;
}

@media (max-width: 782px) {
  body.lag-blank-template {
    overflow-x: hidden !important;
  }

  body.lag-blank-template .lag-section,
  body.lag-blank-template .lag-section-about,
  body.lag-blank-template .lag-section-services,
  body.lag-blank-template .lag-section-products,
  body.lag-blank-template .lag-section-location,
  body.lag-blank-template .lag-section-testimonials,
  body.lag-blank-template .lag-section-faqs,
  body.lag-blank-template .lag-section-cta {
    padding-left: var(--lagb-mobile-page-x) !important;
    padding-right: var(--lagb-mobile-page-x) !important;
    padding-top: var(--lagb-mobile-section-y) !important;
    padding-bottom: var(--lagb-mobile-section-y) !important;
  }

  body.lag-blank-template .lag-section-about,
  body.lag-blank-template .lag-section-faqs,
  body.lag-blank-template .lag-section-cta {
    padding-top: var(--lagb-mobile-section-y-tight) !important;
    padding-bottom: var(--lagb-mobile-section-y-tight) !important;
  }

  body.lag-blank-template .lag-section > .wp-block-heading,
  body.lag-blank-template .lag-section > h2,
  body.lag-blank-template .lag-services > .wp-block-heading,
  body.lag-blank-template .lag-products > .wp-block-heading,
  body.lag-blank-template .lag-testimonials > .wp-block-heading,
  body.lag-blank-template .lag-faqs > .wp-block-heading {
    max-width: 100% !important;
    margin-bottom: 18px !important;
    font-size: clamp(1.38rem, 6vw, 1.82rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.02em !important;
  }

  /* Navbar: más compacta y resistente a nombres largos. */
  body.lag-blank-template .lag-navbar__inner {
    min-height: 52px !important;
    padding: 8px var(--lagb-mobile-page-x) !important;
    gap: 10px !important;
  }

  body.lag-blank-template .lag-navbar__logo {
    max-width: min(48vw, 210px) !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
  }

  body.lag-blank-template .lag-navbar__cta {
    min-height: 38px !important;
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
    line-height: 1.1 !important;
  }

  /* Hero mobile: menos alto, mas legible y con CTAs tocables. */
  body.lag-blank-template .lag-hero.wp-block-cover,
  body.lag-blank-template .wp-block-cover.lag-hero {
    min-height: clamp(380px, 76vh, 520px) !important;
    padding: 78px var(--lagb-mobile-page-x) 48px !important;
  }

  body.lag-blank-template .lag-hero .wp-block-cover__inner-container,
  body.lag-blank-template .lag-hero-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.lag-blank-template .lag-hero h1,
  body.lag-blank-template .lag-hero h2,
  body.lag-blank-template .lag-hero h3 {
    max-width: 100% !important;
    font-size: clamp(2rem, 10vw, 3rem) !important;
    line-height: 1.02 !important;
    letter-spacing: -0.045em !important;
  }

  body.lag-blank-template .lag-hero p {
    max-width: 34rem !important;
    font-size: 0.96rem !important;
    line-height: 1.55 !important;
  }

  body.lag-blank-template .lag-hero .wp-block-buttons,
  body.lag-blank-template .lag-hero .lag-multi-cta {
    width: 100% !important;
    max-width: 360px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 10px !important;
  }

  body.lag-blank-template .lag-hero .wp-block-button,
  body.lag-blank-template .lag-hero .wp-block-buttons > .wp-block-button {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  body.lag-blank-template .lag-hero .wp-block-button__link,
  body.lag-blank-template .lag-hero .lag-multi-cta-link {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
  }

  body.lag-blank-template .lag-hero-bullets,
  body.lag-blank-template .lag-hero-trust,
  body.lag-blank-template .lag-hero-badges {
    max-width: 100% !important;
    gap: 7px !important;
    justify-content: center !important;
  }

  body.lag-blank-template .lag-hero-bullets li,
  body.lag-blank-template .lag-hero-trust li,
  body.lag-blank-template .lag-hero-badges li,
  body.lag-blank-template .lag-hero-bullets span,
  body.lag-blank-template .lag-hero-trust span,
  body.lag-blank-template .lag-hero-badges span {
    font-size: 0.76rem !important;
    line-height: 1.2 !important;
  }

  /* Columnas y cards: una columna limpia y consistente. */
  body.lag-blank-template .lag-about-columns,
  body.lag-blank-template .lag-location-columns,
  body.lag-blank-template .lag-services-row,
  body.lag-blank-template .lag-products-row,
  body.lag-blank-template .lag-services .wp-block-columns,
  body.lag-blank-template .lag-products .wp-block-columns {
    width: 100% !important;
    max-width: 100% !important;
    gap: var(--lagb-mobile-card-gap) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.lag-blank-template .lag-about-columns > .wp-block-column,
  body.lag-blank-template .lag-location-columns > .wp-block-column,
  body.lag-blank-template .lag-services-row > .wp-block-column,
  body.lag-blank-template .lag-products-row > .wp-block-column,
  body.lag-blank-template .lag-services .wp-block-column,
  body.lag-blank-template .lag-products .wp-block-column {
    flex-basis: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  body.lag-blank-template .lag-about-text,
  body.lag-blank-template .lag-location-text,
  body.lag-blank-template .lag-service-card,
  body.lag-blank-template .lag-product-card,
  body.lag-blank-template .lag-product-card.lag-service-card,
  body.lag-blank-template .lag-testimonial,
  body.lag-blank-template .lag-mid-cta,
  body.lag-blank-template .lag-cta {
    padding: var(--lagb-mobile-card-pad) !important;
  }

  body.lag-blank-template .lag-about-text p,
  body.lag-blank-template .lag-service-blurb,
  body.lag-blank-template .lag-product-blurb,
  body.lag-blank-template .lag-testimonial p,
  body.lag-blank-template .lag-faq-a {
    font-size: 0.93rem !important;
    line-height: 1.62 !important;
  }

  body.lag-blank-template .lag-service-image,
  body.lag-blank-template .lag-service-card .lag-service-image,
  body.lag-blank-template .lag-landing-basic .lag-service-card .lag-service-image {
    height: var(--lagb-mobile-image-h) !important;
    min-height: 0 !important;
  }

  body.lag-blank-template .lag-product-image,
  body.lag-blank-template .lag-product-card .lag-product-image,
  body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image {
    height: var(--lagb-mobile-product-image-h) !important;
    min-height: 0 !important;
  }

  body.lag-blank-template .lag-about-image img {
    height: auto !important;
    min-height: 230px !important;
    max-height: 320px !important;
    object-fit: cover !important;
  }

  /* Ubicacion: conservar logica de mapas existente, solo tamaño visual. */
  body.lag-blank-template .lag-section-location .lag-google-map-iframe,
  body.lag-blank-template .lag-section-location .lag-osm-map.is-active {
    height: var(--lagb-mobile-map-h) !important;
    min-height: var(--lagb-mobile-map-h) !important;
  }

  body.lag-blank-template .lag-location-map-link {
    margin-top: 6px !important;
    font-size: 0.82rem !important;
  }

  /* Testimonios y FAQ: lectura cómoda sin layouts agresivos. */
  body.lag-blank-template .lag-testimonials,
  body.lag-blank-template .lag-faqs {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.lag-blank-template .lag-testimonial,
  body.lag-blank-template blockquote.lag-testimonial {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.lag-blank-template .lag-section-faqs .lag-faq-q,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > summary,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
    min-height: 42px !important;
    padding: 10px 40px 10px 13px !important;
    font-size: 0.9rem !important;
    line-height: 1.28 !important;
  }

  body.lag-blank-template .lag-section-faqs .lag-faq-a,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__content {
    padding-left: 13px !important;
    padding-right: 13px !important;
  }

  /* CTAs: botones táctiles, claros y sin desbordes. */
  body.lag-blank-template .lag-mid-cta,
  body.lag-blank-template .lag-section-cta .lag-cta,
  body.lag-blank-template .lag-cta {
    width: 100% !important;
    max-width: 100% !important;
  }

  body.lag-blank-template .lag-mid-cta .wp-block-buttons,
  body.lag-blank-template .lag-cta .wp-block-buttons,
  body.lag-blank-template .lag-mid-cta-buttons,
  body.lag-blank-template .lag-multi-cta {
    width: 100% !important;
    gap: 10px !important;
  }

  body.lag-blank-template .lag-mid-cta .wp-block-button,
  body.lag-blank-template .lag-cta .wp-block-button,
  body.lag-blank-template .lag-mid-cta .wp-block-buttons > .wp-block-button,
  body.lag-blank-template .lag-cta .wp-block-buttons > .wp-block-button {
    flex: 1 1 100% !important;
    width: 100% !important;
  }

  body.lag-blank-template .lag-mid-cta .wp-block-button__link,
  body.lag-blank-template .lag-cta .wp-block-button__link,
  body.lag-blank-template .lag-mid-cta .lag-multi-cta-link,
  body.lag-blank-template .lag-cta .lag-multi-cta-link {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: center !important;
  }

  body.lag-blank-template .lag-sticky-cta {
    left: var(--lagb-mobile-edge, 12px) !important;
    right: var(--lagb-mobile-edge, 12px) !important;
    bottom: 12px !important;
    width: auto !important;
    max-width: none !important;
  }

  body.lag-blank-template .lag-sticky-cta__button {
    width: 100% !important;
    min-height: 44px !important;
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  body.lag-blank-template {
    --lagb-mobile-page-x: 14px;
    --lagb-mobile-section-y: 34px;
    --lagb-mobile-section-y-tight: 30px;
    --lagb-mobile-card-pad: 16px;
    --lagb-mobile-card-gap: 14px;
    --lagb-mobile-image-h: 176px;
    --lagb-mobile-product-image-h: 166px;
    --lagb-mobile-map-h: 210px;
  }

  body.lag-blank-template .lag-hero.wp-block-cover,
  body.lag-blank-template .wp-block-cover.lag-hero {
    min-height: clamp(360px, 74vh, 500px) !important;
    padding-top: 72px !important;
    padding-bottom: 42px !important;
  }

  body.lag-blank-template .lag-hero h1,
  body.lag-blank-template .lag-hero h2,
  body.lag-blank-template .lag-hero h3 {
    font-size: clamp(1.86rem, 11vw, 2.62rem) !important;
  }

  body.lag-blank-template .lag-navbar__logo {
    max-width: 44vw !important;
  }

  body.lag-blank-template .lag-navbar__cta {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}


/* ======================================================================
   2.7.11.45 — Final CTA Aesthetic Polish (Soft Panel CTA)
   ----------------------------------------------------------------------
   Mejora estética conservadora del CTA final con enfoque Soft Panel.
   Objetivo: dar mejor cierre visual, integrar mejor los dos botones y
   eliminar la sensación de bloque vacío con línea suelta.
   No toca IA, imágenes, parser, seguridad, mapas ni JS.
   ====================================================================== */
body.lag-blank-template {
  --lagb-soft-cta-max: 920px;
  --lagb-soft-cta-radius: 24px;
  --lagb-soft-cta-pad-y: clamp(28px, 4vw, 40px);
  --lagb-soft-cta-pad-x: clamp(20px, 4.2vw, 36px);
  --lagb-soft-cta-bar-w: 124px;
  --lagb-soft-cta-bar-h: 4px;
  --lagb-soft-cta-note-max: 36rem;
  --lagb-soft-cta-shadow: 0 22px 44px -34px rgba(15, 23, 42, 0.18);
}

body.lag-blank-template .lag-section-cta {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--lagb-premium-bg, #ffffff) 93%, var(--lagb-premium-primary, #22d3ee) 7%) 0%,
    color-mix(in srgb, var(--lagb-premium-bg, #ffffff) 98%, #f8fafc 2%) 100%
  ) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta {
  position: relative !important;
  width: 100% !important;
  max-width: var(--lagb-soft-cta-max) !important;
  padding: var(--lagb-soft-cta-pad-y) var(--lagb-soft-cta-pad-x) !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 12%, var(--lagb-clean-border, #e5e7eb) 88%) !important;
  border-radius: var(--lagb-soft-cta-radius) !important;
  background:
    linear-gradient(180deg, color-mix(in srgb, #ffffff 92%, var(--lagb-premium-primary, #22d3ee) 8%) 0%, #ffffff 100%) !important;
  box-shadow: var(--lagb-soft-cta-shadow) !important;
  text-align: center !important;
  overflow: hidden !important;
}

/* Sustituye la línea superior genérica por un acento centrado e integrado. */
body.lag-blank-template .lag-section-cta .lag-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  right: auto;
  inset: 0 auto auto 50%;
  width: var(--lagb-soft-cta-bar-w);
  height: var(--lagb-soft-cta-bar-h);
  transform: translateX(-50%);
  border-radius: 999px;
  opacity: 0.9 !important;
  background: linear-gradient(90deg, var(--lagb-premium-primary, #22d3ee), color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 64%, var(--lagb-premium-accent, #0f172a) 36%)) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta {
  margin-top: 2px !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 12px !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button,
body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button {
  flex: 0 0 auto !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link {
  min-height: 44px !important;
  padding: 0.72rem 1.2rem !important;
  border-radius: 999px !important;
  box-shadow: none !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link.has-background,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--primary {
  box-shadow: 0 10px 22px -16px color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 42%, transparent) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .lag-cta-note {
  width: 100% !important;
  max-width: var(--lagb-soft-cta-note-max) !important;
  margin: 2px auto 0 !important;
  padding-top: 10px !important;
  font-size: 0.9rem !important;
  line-height: 1.5 !important;
  color: color-mix(in srgb, var(--lagb-premium-accent, #0f172a) 58%, #64748b 42%) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .lag-cta-note::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 auto 10px;
  background: color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 26%, transparent) !important;
}

/* CTA intermedio: acompaña visualmente, pero más liviano que el CTA final. */
body.lag-blank-template .lag-mid-cta {
  border-radius: calc(var(--lagb-soft-cta-radius) - 2px) !important;
  background: linear-gradient(180deg, color-mix(in srgb, #ffffff 96%, var(--lagb-premium-primary, #22d3ee) 4%) 0%, #ffffff 100%) !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 8%, var(--lagb-clean-border, #e5e7eb) 92%) !important;
  box-shadow: 0 18px 36px -32px rgba(15, 23, 42, 0.16) !important;
}

body.lag-blank-template .lag-mid-cta::before {
  opacity: 0.6 !important;
  height: 2px !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-cta {
    padding-top: 34px !important;
    padding-bottom: 34px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta {
    padding: 24px 16px !important;
    border-radius: 20px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta::before {
    width: 88px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta {
    gap: 10px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link {
    width: 100% !important;
    min-height: 44px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .lag-cta-note {
    font-size: 0.86rem !important;
  }
}


/* ======================================================================
   2.7.11.46 — Final CTA Content Balance Fix
   ----------------------------------------------------------------------
   Corrige el Soft Panel CTA para que no se vea vacío: agrega soporte visual
   para título + texto de apoyo + doble botón + microcopy. Mantiene la línea
   superior como acento integrado y no toca IA, imágenes, seguridad, mapas ni JS.
   ====================================================================== */
body.lag-blank-template .lag-section-cta .lag-cta {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 220px !important;
  padding-top: clamp(34px, 4.5vw, 48px) !important;
  padding-bottom: clamp(32px, 4.2vw, 44px) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta-title {
  max-width: 720px !important;
  margin: 0 auto 8px !important;
  color: var(--lagb-premium-text, #0f172a) !important;
  font-size: clamp(1.45rem, 2.4vw, 2rem) !important;
  line-height: 1.16 !important;
  letter-spacing: -0.03em !important;
  font-weight: 850 !important;
}

body.lag-blank-template .lag-section-cta .lag-cta-copy {
  max-width: 620px !important;
  margin: 0 auto 18px !important;
  color: var(--lagb-premium-muted, #475569) !important;
  font-size: 0.98rem !important;
  line-height: 1.58 !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .lag-cta-note {
  margin-top: 12px !important;
  padding-top: 12px !important;
  color: color-mix(in srgb, var(--lagb-premium-muted, #475569) 78%, var(--lagb-premium-primary, #06b6d4) 22%) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .lag-cta-note::before {
  width: 56px !important;
  margin-bottom: 12px !important;
  opacity: 0.75 !important;
}

/* En caso de landings antiguas sin título renderizado, el panel no queda
   excesivamente alto ni vacío. */
body.lag-blank-template .lag-section-cta .lag-cta:not(:has(.lag-cta-title)) {
  min-height: 170px !important;
  padding-top: clamp(28px, 3.5vw, 38px) !important;
  padding-bottom: clamp(26px, 3.2vw, 36px) !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-cta .lag-cta {
    min-height: 0 !important;
    padding-top: 28px !important;
    padding-bottom: 26px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta-title {
    font-size: clamp(1.3rem, 6vw, 1.65rem) !important;
    margin-bottom: 8px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta-copy {
    margin-bottom: 16px !important;
    font-size: 0.92rem !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .lag-cta-note {
    margin-top: 10px !important;
    font-size: 0.84rem !important;
  }
}


/* ======================================================================
   2.7.11.47 — Final CTA Title Scale Fix
   ----------------------------------------------------------------------
   Ajuste fino del título de la CTA final para que su escala tipográfica sea
   más uniforme con el resto de la landing.
   ====================================================================== */
body.lag-blank-template {
  --lagb-soft-cta-title-size: clamp(1.18rem, 1.5vw, 1.5rem);
  --lagb-soft-cta-title-line: 1.22;
  --lagb-soft-cta-title-weight: 780;
}

body.lag-blank-template .lag-section-cta .lag-cta-title {
  max-width: 680px !important;
  margin: 0 auto 8px !important;
  font-size: var(--lagb-soft-cta-title-size) !important;
  line-height: var(--lagb-soft-cta-title-line) !important;
  letter-spacing: -0.018em !important;
  font-weight: var(--lagb-soft-cta-title-weight) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta-copy {
  max-width: 600px !important;
  margin: 0 auto 16px !important;
  font-size: 0.95rem !important;
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-soft-cta-title-size: clamp(1.08rem, 4.3vw, 1.3rem);
  }

  body.lag-blank-template .lag-section-cta .lag-cta-title {
    margin-bottom: 7px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta-copy {
    font-size: 0.9rem !important;
    margin-bottom: 15px !important;
  }
}

/* ======================================================================
   2.7.11.48 — Services & Products Card Polish
   ----------------------------------------------------------------------
   Pulido visual controlado para cards de Servicios y Productos.
   Alcance: CSS frontend solamente. No cambia estructura Gutenberg, IA,
   imagenes, parser, mapas, JS ni seguridad.
   ====================================================================== */
body.lag-blank-template {
  --lagb-card-polish-bg: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, #ffffff 94%, var(--lagb-premium-primary, #22d3ee) 6%) 100%);
  --lagb-card-polish-border: color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 10%, var(--lagb-clean-border, #e5e7eb) 90%);
  --lagb-card-polish-border-hover: color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 24%, var(--lagb-clean-border, #e5e7eb) 76%);
  --lagb-card-polish-shadow: 0 14px 34px -28px rgba(15, 23, 42, 0.34), 0 1px 0 rgba(255, 255, 255, 0.86) inset;
  --lagb-card-polish-shadow-hover: 0 20px 44px -30px rgba(15, 23, 42, 0.42), 0 1px 0 rgba(255, 255, 255, 0.92) inset;
  --lagb-card-polish-radius: max(16px, var(--lagb-token-card-radius, 16px));
  --lagb-card-polish-image-radius: max(12px, var(--lagb-token-card-radius-sm, 12px));
  --lagb-card-polish-image-bg: color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 5%, #f8fafc 95%);
}

body.lag-blank-template.lagb-style-minimal,
body.lag-blank-template.lagb-style-no_images {
  --lagb-card-polish-bg: #ffffff;
  --lagb-card-polish-shadow: none;
  --lagb-card-polish-shadow-hover: 0 10px 24px -22px rgba(15, 23, 42, 0.26);
}

body.lag-blank-template .lag-section-services .lag-service-card,
body.lag-blank-template .lag-section-products .lag-product-card,
body.lag-blank-template .lag-services .lag-service-card,
body.lag-blank-template .lag-products .lag-product-card,
body.lag-blank-template .lag-product-card.lag-service-card {
  position: relative !important;
  overflow: hidden !important;
  padding: clamp(18px, 2.2vw, 24px) !important;
  border: 1px solid var(--lagb-card-polish-border) !important;
  border-radius: var(--lagb-card-polish-radius) !important;
  background: var(--lagb-card-polish-bg) !important;
  box-shadow: var(--lagb-card-polish-shadow) !important;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease !important;
}

body.lag-blank-template .lag-section-services .lag-service-card::before,
body.lag-blank-template .lag-section-products .lag-product-card::before,
body.lag-blank-template .lag-services .lag-service-card::before,
body.lag-blank-template .lag-products .lag-product-card::before,
body.lag-blank-template .lag-product-card.lag-service-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 52%, transparent) 50%, transparent 100%);
  opacity: 0.72;
  pointer-events: none;
}

body.lag-blank-template .lag-section-services .lag-service-card:hover,
body.lag-blank-template .lag-section-products .lag-product-card:hover,
body.lag-blank-template .lag-products .lag-product-card--interactive:hover,
body.lag-blank-template .lag-services .lag-service-card:hover,
body.lag-blank-template .lag-products .lag-product-card:hover,
body.lag-blank-template .lag-product-card.lag-service-card:hover {
  transform: translateY(-2px) !important;
  border-color: var(--lagb-card-polish-border-hover) !important;
  box-shadow: var(--lagb-card-polish-shadow-hover) !important;
}

body.lag-blank-template .lag-section-services .lag-service-card:focus-within,
body.lag-blank-template .lag-section-products .lag-product-card:focus-within,
body.lag-blank-template .lag-services .lag-service-card:focus-within,
body.lag-blank-template .lag-products .lag-product-card:focus-within {
  border-color: var(--lagb-card-polish-border-hover) !important;
  box-shadow: var(--lagb-card-polish-shadow-hover) !important;
}

body.lag-blank-template .lag-section-services .lag-service-image,
body.lag-blank-template .lag-section-products .lag-product-image,
body.lag-blank-template .lag-services .lag-service-image,
body.lag-blank-template .lag-products .lag-product-image,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image {
  border-radius: var(--lagb-card-polish-image-radius) !important;
  background: var(--lagb-card-polish-image-bg) !important;
  box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.045) inset !important;
  margin-bottom: 16px !important;
}

body.lag-blank-template .lag-section-services .lag-service-image img,
body.lag-blank-template .lag-section-products .lag-product-image img,
body.lag-blank-template .lag-services .lag-service-image img,
body.lag-blank-template .lag-products .lag-product-image img,
body.lag-blank-template .lag-product-card.lag-service-card .lag-product-image.lag-service-image img {
  transform: scale(1) !important;
  transition: transform 220ms ease !important;
}

body.lag-blank-template .lag-section-services .lag-service-card:hover .lag-service-image img,
body.lag-blank-template .lag-section-products .lag-product-card:hover .lag-product-image img,
body.lag-blank-template .lag-services .lag-service-card:hover .lag-service-image img,
body.lag-blank-template .lag-products .lag-product-card:hover .lag-product-image img,
body.lag-blank-template .lag-product-card.lag-service-card:hover .lag-product-image.lag-service-image img {
  transform: scale(1.025) !important;
}

body.lag-blank-template .lag-section-services .lag-card-content,
body.lag-blank-template .lag-section-products .lag-card-content,
body.lag-blank-template .lag-services .lag-card-content,
body.lag-blank-template .lag-products .lag-card-content {
  gap: 0 !important;
}

body.lag-blank-template .lag-section-services .lag-service-title,
body.lag-blank-template .lag-section-products .lag-product-title,
body.lag-blank-template .lag-services .lag-service-title,
body.lag-blank-template .lag-products .lag-product-title {
  margin-bottom: 8px !important;
  font-size: clamp(1.02rem, 1.08vw, 1.12rem) !important;
  line-height: 1.32 !important;
  font-weight: 720 !important;
  letter-spacing: -0.015em !important;
  color: var(--lagb-premium-text, #0f172a) !important;
}

body.lag-blank-template .lag-section-services .lag-service-blurb,
body.lag-blank-template .lag-section-products .lag-product-blurb,
body.lag-blank-template .lag-services .lag-service-blurb,
body.lag-blank-template .lag-products .lag-product-blurb {
  color: var(--lagb-premium-muted, #475569) !important;
  font-size: 0.94rem !important;
  line-height: 1.62 !important;
}

body.lag-blank-template .lag-section-products .lag-card-action,
body.lag-blank-template .lag-products .lag-card-action {
  gap: 12px !important;
  padding-top: 16px !important;
}

body.lag-blank-template .lag-section-products .lag-product-price,
body.lag-blank-template .lag-products .lag-product-price {
  color: var(--lagb-premium-text, #0f172a) !important;
  font-size: 1rem !important;
  font-weight: 760 !important;
  letter-spacing: -0.01em !important;
}

body.lag-blank-template .lag-section-products .lag-product-select-btn,
body.lag-blank-template .lag-section-products .lag-product-select-btn .wp-block-button__link,
body.lag-blank-template .lag-products .lag-product-select-btn,
body.lag-blank-template .lag-products .lag-product-select-btn .wp-block-button__link {
  min-height: 42px !important;
  padding: 0.62rem 1.05rem !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 18%, #d1d5db 82%) !important;
  background: color-mix(in srgb, #ffffff 92%, var(--lagb-premium-primary, #22d3ee) 8%) !important;
  color: var(--lagb-premium-text, #0f172a) !important;
  box-shadow: 0 8px 18px -18px rgba(15, 23, 42, 0.28) !important;
}

body.lag-blank-template .lag-section-products .lag-product-select-btn:hover,
body.lag-blank-template .lag-section-products .lag-product-select-btn .wp-block-button__link:hover,
body.lag-blank-template .lag-products .lag-product-select-btn:hover,
body.lag-blank-template .lag-products .lag-product-select-btn .wp-block-button__link:hover,
body.lag-blank-template .lag-section-products .lag-product-card.is-selected .lag-product-select-btn,
body.lag-blank-template .lag-section-products .lag-product-card.is-selected .lag-product-select-btn .wp-block-button__link,
body.lag-blank-template .lag-products .lag-product-card.is-selected .lag-product-select-btn,
body.lag-blank-template .lag-products .lag-product-card.is-selected .lag-product-select-btn .wp-block-button__link {
  background: var(--lagb-premium-text, #0f172a) !important;
  border-color: var(--lagb-premium-text, #0f172a) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 24px -18px rgba(15, 23, 42, 0.44) !important;
}

body.lag-blank-template .lag-section-products .lag-product-card.is-selected,
body.lag-blank-template .lag-products .lag-product-card.is-selected {
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 38%, var(--lagb-premium-text, #0f172a) 62%) !important;
  box-shadow: var(--lagb-card-polish-shadow-hover) !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-services .lag-service-card,
  body.lag-blank-template .lag-section-products .lag-product-card,
  body.lag-blank-template .lag-services .lag-service-card,
  body.lag-blank-template .lag-products .lag-product-card,
  body.lag-blank-template .lag-product-card.lag-service-card {
    padding: 17px !important;
    transform: none !important;
  }

  body.lag-blank-template .lag-section-services .lag-service-card:hover,
  body.lag-blank-template .lag-section-products .lag-product-card:hover,
  body.lag-blank-template .lag-services .lag-service-card:hover,
  body.lag-blank-template .lag-products .lag-product-card:hover,
  body.lag-blank-template .lag-product-card.lag-service-card:hover {
    transform: none !important;
  }

  body.lag-blank-template .lag-section-services .lag-service-image,
  body.lag-blank-template .lag-section-products .lag-product-image,
  body.lag-blank-template .lag-services .lag-service-image,
  body.lag-blank-template .lag-products .lag-product-image {
    margin-bottom: 14px !important;
  }

  body.lag-blank-template .lag-section-services .lag-service-title,
  body.lag-blank-template .lag-section-products .lag-product-title,
  body.lag-blank-template .lag-services .lag-service-title,
  body.lag-blank-template .lag-products .lag-product-title {
    font-size: 1.02rem !important;
  }
}

/* ==========================================================================
   2.7.11.49 — Hero Overlay Readability Fix
   Mejora localizada: eleva la superposición del hero con imagen para reforzar
   la lectura del título y descripción sin cambiar estructura, admin ni JS.
   ========================================================================== */

body.lag-blank-template:not(.lagb-hero-minimal):not(.lagb-style-minimal):not(.lagb-style-no_images):not(.lagb-style-beauty_elegant) .lag-hero .wp-block-cover__background {
  opacity: 0.70 !important;
}


/* ===========================================================================
   2.7.11.50 — Hero Overlay Readability Fix v2
   Refuerzo: aplica 70% tanto a landings nuevas como a landings ya creadas
   que conserven has-background-dim-60 en el HTML serializado.
   ========================================================================== */

body.lag-blank-template:not(.lagb-hero-minimal):not(.lagb-style-minimal):not(.lagb-style-no_images):not(.lagb-style-beauty_elegant) .lag-hero .wp-block-cover__background.has-background-dim,
body.lag-blank-template:not(.lagb-hero-minimal):not(.lagb-style-minimal):not(.lagb-style-no_images):not(.lagb-style-beauty_elegant) .lag-hero .wp-block-cover__background.has-background-dim-60,
body.lag-blank-template:not(.lagb-hero-minimal):not(.lagb-style-minimal):not(.lagb-style-no_images):not(.lagb-style-beauty_elegant) .lag-hero .wp-block-cover__background.has-background-dim-70 {
  opacity: 0.70 !important;
}

/* ===========================================================================
   2.7.11.51 — Hero Overlay Readability Fix v3
   Ajuste localizado: eleva el overlay del Hero al 75% para reforzar
   la lectura del título y descripción sobre imágenes de fondo.
   ========================================================================== */

body.lag-blank-template:not(.lagb-hero-minimal):not(.lagb-style-minimal):not(.lagb-style-no_images):not(.lagb-style-beauty_elegant) .lag-hero .wp-block-cover__background.has-background-dim,
body.lag-blank-template:not(.lagb-hero-minimal):not(.lagb-style-minimal):not(.lagb-style-no_images):not(.lagb-style-beauty_elegant) .lag-hero .wp-block-cover__background.has-background-dim-60,
body.lag-blank-template:not(.lagb-hero-minimal):not(.lagb-style-minimal):not(.lagb-style-no_images):not(.lagb-style-beauty_elegant) .lag-hero .wp-block-cover__background.has-background-dim-70,
body.lag-blank-template:not(.lagb-hero-minimal):not(.lagb-style-minimal):not(.lagb-style-no_images):not(.lagb-style-beauty_elegant) .lag-hero .wp-block-cover__background.has-background-dim-75 {
  opacity: 0.75 !important;
}

/* ===========================================================================
   2.7.11.52 — Section Header Visual Polish
   Pulido controlado para títulos y descripciones de secciones principales.
   Alcance: CSS frontend solamente. No cambia Gutenberg, IA, imagenes, parser,
   mapas, JS, admin ni seguridad.
   ========================================================================== */
body.lag-blank-template {
  --lagb-section-header-max: 820px;
  --lagb-section-header-copy-max: 700px;
  --lagb-section-header-title-size: clamp(1.62rem, 2.25vw, 2.12rem);
  --lagb-section-header-title-line: 1.13;
  --lagb-section-header-title-gap: clamp(22px, 3vw, 30px);
  --lagb-section-header-accent-width: 46px;
  --lagb-section-header-accent-height: 3px;
}

body.lag-blank-template .lag-section-about > .wp-block-heading,
body.lag-blank-template .lag-section-services .lag-services > .wp-block-heading,
body.lag-blank-template .lag-section-products .lag-products > .wp-block-heading,
body.lag-blank-template .lag-section-testimonials .lag-testimonials > .wp-block-heading,
body.lag-blank-template .lag-section-faqs .lag-faqs > .wp-block-heading,
body.lag-blank-template .lag-section-pricing .lag-pricing > .wp-block-heading,
body.lag-blank-template .lag-section-location > .wp-block-heading {
  position: relative !important;
  display: block !important;
  max-width: var(--lagb-section-header-max) !important;
  margin: 0 auto var(--lagb-section-header-title-gap) !important;
  padding-bottom: 14px !important;
  color: var(--lagb-premium-text, var(--lag-enterprise-text, #0f172a)) !important;
  font-size: var(--lagb-section-header-title-size) !important;
  line-height: var(--lagb-section-header-title-line) !important;
  letter-spacing: -0.04em !important;
  font-weight: 760 !important;
  text-align: center !important;
}

body.lag-blank-template .lag-section-about > .wp-block-heading::after,
body.lag-blank-template .lag-section-services .lag-services > .wp-block-heading::after,
body.lag-blank-template .lag-section-products .lag-products > .wp-block-heading::after,
body.lag-blank-template .lag-section-testimonials .lag-testimonials > .wp-block-heading::after,
body.lag-blank-template .lag-section-faqs .lag-faqs > .wp-block-heading::after,
body.lag-blank-template .lag-section-pricing .lag-pricing > .wp-block-heading::after,
body.lag-blank-template .lag-section-location > .wp-block-heading::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: var(--lagb-section-header-accent-width);
  height: var(--lagb-section-header-accent-height);
  border-radius: 999px;
  background: linear-gradient(90deg, transparent 0%, var(--lagb-premium-primary, #22d3ee) 50%, transparent 100%);
  opacity: 0.72;
  transform: translateX(-50%);
  pointer-events: none;
}

body.lag-blank-template .lag-section-about > p:first-of-type,
body.lag-blank-template .lag-section-services .lag-services > p:first-of-type,
body.lag-blank-template .lag-section-products .lag-products > p:first-of-type,
body.lag-blank-template .lag-section-testimonials .lag-testimonials > p:first-of-type,
body.lag-blank-template .lag-section-faqs .lag-faqs > p:first-of-type,
body.lag-blank-template .lag-section-pricing .lag-pricing > p:first-of-type,
body.lag-blank-template .lag-section-location > p:first-of-type {
  max-width: var(--lagb-section-header-copy-max) !important;
  margin: -8px auto clamp(22px, 3vw, 30px) !important;
  color: var(--lagb-premium-muted, var(--lag-enterprise-muted, #475569)) !important;
  font-size: clamp(0.98rem, 1.18vw, 1.08rem) !important;
  line-height: 1.72 !important;
  text-align: center !important;
}

body.lag-blank-template.lagb-style-minimal .lag-section-about > .wp-block-heading::after,
body.lag-blank-template.lagb-style-minimal .lag-section-services .lag-services > .wp-block-heading::after,
body.lag-blank-template.lagb-style-minimal .lag-section-products .lag-products > .wp-block-heading::after,
body.lag-blank-template.lagb-style-minimal .lag-section-testimonials .lag-testimonials > .wp-block-heading::after,
body.lag-blank-template.lagb-style-minimal .lag-section-faqs .lag-faqs > .wp-block-heading::after,
body.lag-blank-template.lagb-style-minimal .lag-section-pricing .lag-pricing > .wp-block-heading::after,
body.lag-blank-template.lagb-style-minimal .lag-section-location > .wp-block-heading::after,
body.lag-blank-template.lagb-style-no_images .lag-section-about > .wp-block-heading::after,
body.lag-blank-template.lagb-style-no_images .lag-section-services .lag-services > .wp-block-heading::after,
body.lag-blank-template.lagb-style-no_images .lag-section-products .lag-products > .wp-block-heading::after,
body.lag-blank-template.lagb-style-no_images .lag-section-testimonials .lag-testimonials > .wp-block-heading::after,
body.lag-blank-template.lagb-style-no_images .lag-section-faqs .lag-faqs > .wp-block-heading::after,
body.lag-blank-template.lagb-style-no_images .lag-section-pricing .lag-pricing > .wp-block-heading::after,
body.lag-blank-template.lagb-style-no_images .lag-section-location > .wp-block-heading::after {
  opacity: 0.42;
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-section-header-title-size: clamp(1.42rem, 6.1vw, 1.72rem);
    --lagb-section-header-title-gap: 22px;
    --lagb-section-header-accent-width: 38px;
  }

  body.lag-blank-template .lag-section-about > .wp-block-heading,
  body.lag-blank-template .lag-section-services .lag-services > .wp-block-heading,
  body.lag-blank-template .lag-section-products .lag-products > .wp-block-heading,
  body.lag-blank-template .lag-section-testimonials .lag-testimonials > .wp-block-heading,
  body.lag-blank-template .lag-section-faqs .lag-faqs > .wp-block-heading,
  body.lag-blank-template .lag-section-pricing .lag-pricing > .wp-block-heading,
  body.lag-blank-template .lag-section-location > .wp-block-heading {
    padding-bottom: 12px !important;
    letter-spacing: -0.032em !important;
  }

  body.lag-blank-template .lag-section-about > p:first-of-type,
  body.lag-blank-template .lag-section-services .lag-services > p:first-of-type,
  body.lag-blank-template .lag-section-products .lag-products > p:first-of-type,
  body.lag-blank-template .lag-section-testimonials .lag-testimonials > p:first-of-type,
  body.lag-blank-template .lag-section-faqs .lag-faqs > p:first-of-type,
  body.lag-blank-template .lag-section-pricing .lag-pricing > p:first-of-type,
  body.lag-blank-template .lag-section-location > p:first-of-type {
    margin-top: -6px !important;
    font-size: 0.96rem !important;
    line-height: 1.64 !important;
  }
}

/* ===========================================================================
   2.7.11.53 — FAQ Visual Clarity Polish
   Pulido visual localizado para mejorar lectura, separación y estado abierto
   del acordeón FAQ sin cambiar Gutenberg, IA, JS, admin ni seguridad.
   ========================================================================== */
body.lag-blank-template {
  --lagb-faq-max-width: 800px;
  --lagb-faq-radius: 14px;
  --lagb-faq-question-size: 0.94rem;
  --lagb-faq-answer-size: 0.9rem;
}

body.lag-blank-template .lag-section-faqs .lag-faqs {
  max-width: var(--lagb-faq-max-width) !important;
}

body.lag-blank-template .lag-section-faqs .lag-faqs .lag-faq {
  margin: 0 0 9px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item {
  position: relative !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-border, #e5e7eb) 88%, var(--lagb-premium-primary, #0f172a) 12%) !important;
  border-radius: var(--lagb-faq-radius) !important;
  background: #ffffff !important;
  background: linear-gradient(180deg, #ffffff 0%, rgba(248, 250, 252, 0.92) 100%) !important;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, transform 0.18s ease !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  width: 3px !important;
  background: var(--lagb-premium-primary, #0f172a) !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: opacity 0.18s ease !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item[open] {
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 24%, var(--lagb-premium-border, #e5e7eb) 76%) !important;
  background: #ffffff !important;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.065) !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item[open]::before {
  opacity: 0.68 !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q,
body.lag-blank-template .lag-section-faqs .lag-faq-item > summary,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 13px 50px 13px 18px !important;
  color: var(--lagb-premium-text, var(--lag-enterprise-text, #0f172a)) !important;
  font-size: var(--lagb-faq-question-size) !important;
  font-weight: 720 !important;
  line-height: 1.42 !important;
  letter-spacing: -0.01em !important;
  list-style: none !important;
  cursor: pointer !important;
  user-select: none !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q::-webkit-details-marker,
body.lag-blank-template .lag-section-faqs .lag-faq-item > summary::-webkit-details-marker,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary::-webkit-details-marker {
  display: none !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q::marker,
body.lag-blank-template .lag-section-faqs .lag-faq-item > summary::marker,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary::marker {
  content: "" !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q::after,
body.lag-blank-template .lag-section-faqs .lag-faq-item > summary::after,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary::after {
  content: "+" !important;
  position: absolute !important;
  top: 50% !important;
  right: 15px !important;
  display: grid !important;
  place-items: center !important;
  width: 24px !important;
  height: 24px !important;
  margin: 0 !important;
  border: 1px solid rgba(226, 232, 240, 0.95) !important;
  border-radius: 999px !important;
  background: rgba(248, 250, 252, 0.96) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
  font-size: 1rem !important;
  font-weight: 760 !important;
  line-height: 1 !important;
  opacity: 1 !important;
  transform: translateY(-50%) !important;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, transform 0.18s ease !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-item[open] .lag-faq-q::after,
body.lag-blank-template .lag-section-faqs .lag-faq-item[open] > summary::after,
body.lag-blank-template .lag-section-faqs .lag-faq-item[open] > .wp-block-details__summary::after {
  content: "−" !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 28%, #e5e7eb 72%) !important;
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 10%, #ffffff 90%) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-q:focus-visible,
body.lag-blank-template .lag-section-faqs .lag-faq-item > summary:focus-visible,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 22%, transparent) !important;
  outline-offset: -3px !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-a,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__content {
  margin: 0 18px !important;
  padding: 11px 0 16px !important;
  border-top: 1px solid rgba(226, 232, 240, 0.78) !important;
  color: var(--lagb-premium-muted, var(--lag-enterprise-muted, #475569)) !important;
  font-size: var(--lagb-faq-answer-size) !important;
  line-height: 1.66 !important;
}

body.lag-blank-template .lag-section-faqs .lag-faq-a p,
body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__content p {
  margin: 0 !important;
}

@media (hover: hover) and (pointer: fine) {
  body.lag-blank-template .lag-section-faqs .lag-faq-item:hover {
    border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 20%, var(--lagb-premium-border, #e5e7eb) 80%) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06) !important;
    transform: translateY(-1px) !important;
  }

  body.lag-blank-template .lag-section-faqs .lag-faq-item:hover .lag-faq-q::after,
  body.lag-blank-template .lag-section-faqs .lag-faq-item:hover > summary::after,
  body.lag-blank-template .lag-section-faqs .lag-faq-item:hover > .wp-block-details__summary::after {
    border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 24%, #e5e7eb 76%) !important;
    background: #ffffff !important;
  }
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-faq-radius: 12px;
    --lagb-faq-question-size: 0.9rem;
    --lagb-faq-answer-size: 0.86rem;
  }

  body.lag-blank-template .lag-section-faqs .lag-faqs .lag-faq {
    margin-bottom: 7px !important;
  }

  body.lag-blank-template .lag-section-faqs .lag-faq-q,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > summary,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary {
    min-height: 42px !important;
    padding: 11px 45px 11px 14px !important;
    line-height: 1.36 !important;
  }

  body.lag-blank-template .lag-section-faqs .lag-faq-q::after,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > summary::after,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__summary::after {
    right: 12px !important;
    width: 22px !important;
    height: 22px !important;
    font-size: 0.94rem !important;
  }

  body.lag-blank-template .lag-section-faqs .lag-faq-a,
  body.lag-blank-template .lag-section-faqs .lag-faq-item > .wp-block-details__content {
    margin: 0 14px !important;
    padding: 9px 0 13px !important;
    line-height: 1.58 !important;
  }
}

/* ===========================================================================
   2.7.11.54 — Testimonials Soft Trust Polish
   Pulido visual localizado para testimonios: mejora lectura, confianza y
   jerarquía sin cambiar estructura Gutenberg, IA, templates, JS ni seguridad.
   ========================================================================== */
body.lag-blank-template {
  --lagb-testimonial-max-width: 840px;
  --lagb-testimonial-radius: var(--lagb-token-card-radius, 16px);
  --lagb-testimonial-border: color-mix(in srgb, var(--lagb-premium-border, #e5e7eb) 86%, var(--lagb-premium-primary, #0f172a) 14%);
  --lagb-testimonial-shadow: 0 10px 26px rgba(15, 23, 42, 0.055);
  --lagb-testimonial-shadow-hover: 0 16px 34px rgba(15, 23, 42, 0.085);
  --lagb-testimonial-quote-size: clamp(2.55rem, 4.4vw, 3.35rem);
  --lagb-testimonial-text-size: 0.97rem;
  --lagb-testimonial-cite-size: 0.9rem;
}

body.lag-blank-template.lagb-style-minimal,
body.lag-blank-template.lagb-style-no_images {
  --lagb-testimonial-shadow: none;
  --lagb-testimonial-shadow-hover: none;
  --lagb-testimonial-border: var(--lagb-premium-border, #e5e7eb);
}

body.lag-blank-template.lagb-style-beauty_elegant {
  --lagb-testimonial-border: rgba(234, 219, 212, 0.95);
  --lagb-testimonial-shadow: 0 18px 44px rgba(74, 47, 53, 0.07);
  --lagb-testimonial-shadow-hover: 0 24px 56px rgba(74, 47, 53, 0.105);
}

body.lag-blank-template .lag-section-testimonials .lag-testimonials {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial {
  position: relative !important;
  isolation: isolate !important;
  overflow: hidden !important;
  max-width: var(--lagb-testimonial-max-width) !important;
  margin: 0 auto 14px !important;
  padding: clamp(21px, 2.7vw, 27px) clamp(21px, 3vw, 30px) clamp(21px, 2.7vw, 27px) clamp(56px, 5.2vw, 66px) !important;
  border: 1px solid var(--lagb-testimonial-border) !important;
  border-left: 1px solid var(--lagb-testimonial-border) !important;
  border-radius: var(--lagb-testimonial-radius) !important;
  background: linear-gradient(135deg, #ffffff 0%, rgba(248, 250, 252, 0.92) 100%) !important;
  box-shadow: var(--lagb-testimonial-shadow) !important;
  color: var(--lagb-premium-text, #111827) !important;
  font-style: normal !important;
  text-align: left !important;
  transform: translateZ(0) !important;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial::before,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial::before {
  content: "\201C" !important;
  position: absolute !important;
  top: 16px !important;
  left: 20px !important;
  right: auto !important;
  z-index: 0 !important;
  color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 20%, transparent) !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-size: var(--lagb-testimonial-quote-size) !important;
  font-weight: 700 !important;
  line-height: 0.92 !important;
  pointer-events: none !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial p,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial p {
  position: relative !important;
  z-index: 1 !important;
  margin: 0 0 14px !important;
  color: var(--lagb-premium-muted, #475569) !important;
  font-size: var(--lagb-testimonial-text-size) !important;
  line-height: 1.72 !important;
  letter-spacing: -0.003em !important;
}

body.lag-blank-template .lag-section-testimonials .lag-testimonial cite,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial cite,
body.lag-blank-template .lag-section-testimonials .lag-testimonial .wp-block-quote__citation,
body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial .wp-block-quote__citation {
  position: relative !important;
  z-index: 1 !important;
  display: block !important;
  margin: 0 !important;
  padding-top: 12px !important;
  border-top: 1px solid rgba(226, 232, 240, 0.78) !important;
  color: var(--lagb-premium-text, #111827) !important;
  font-size: var(--lagb-testimonial-cite-size) !important;
  font-style: normal !important;
  font-weight: 800 !important;
  line-height: 1.38 !important;
  letter-spacing: -0.01em !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section-testimonials .lag-testimonial,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section-testimonials blockquote.lag-testimonial {
  background: linear-gradient(135deg, rgba(255, 253, 251, 0.99) 0%, rgba(255, 248, 244, 0.97) 100%) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-section-testimonials .lag-testimonial::before,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section-testimonials blockquote.lag-testimonial::before {
  color: rgba(196, 134, 116, 0.34) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.lag-blank-template .lag-section-testimonials .lag-testimonial:hover,
  body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial:hover {
    border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 24%, var(--lagb-premium-border, #e5e7eb) 76%) !important;
    box-shadow: var(--lagb-testimonial-shadow-hover) !important;
    transform: translateY(-2px) !important;
  }

  body.lag-blank-template.lagb-style-minimal .lag-section-testimonials .lag-testimonial:hover,
  body.lag-blank-template.lagb-style-minimal .lag-section-testimonials blockquote.lag-testimonial:hover,
  body.lag-blank-template.lagb-style-no_images .lag-section-testimonials .lag-testimonial:hover,
  body.lag-blank-template.lagb-style-no_images .lag-section-testimonials blockquote.lag-testimonial:hover {
    transform: none !important;
  }
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-testimonial-quote-size: 2.45rem;
    --lagb-testimonial-text-size: 0.92rem;
    --lagb-testimonial-cite-size: 0.86rem;
  }

  body.lag-blank-template .lag-section-testimonials .lag-testimonial,
  body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial {
    margin-bottom: 11px !important;
    padding: 18px 17px 18px 48px !important;
    border-radius: 13px !important;
    transform: none !important;
  }

  body.lag-blank-template .lag-section-testimonials .lag-testimonial::before,
  body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial::before {
    top: 16px !important;
    left: 17px !important;
  }

  body.lag-blank-template .lag-section-testimonials .lag-testimonial p,
  body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial p {
    margin-bottom: 12px !important;
    line-height: 1.64 !important;
  }

  body.lag-blank-template .lag-section-testimonials .lag-testimonial cite,
  body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial cite,
  body.lag-blank-template .lag-section-testimonials .lag-testimonial .wp-block-quote__citation,
  body.lag-blank-template .lag-section-testimonials blockquote.lag-testimonial .wp-block-quote__citation {
    padding-top: 10px !important;
  }
}


/* ===========================================================================
   3.2.8 — Navbar CSS Maintainability Layer
   Consolidación conservadora de la navbar: mantiene el resultado visual, agrupa
   ajustes móviles, centraliza dimensiones repetidas y limita nuevas ramas CSS.
   ========================================================================== */
body.lag-blank-template {
  --lagb-navbar-height: 60px;
  --lagb-navbar-link-radius: var(--lagb-floating-radius-pill, 999px);
  --lagb-navbar-link-min: 38px;
  --lagb-navbar-touch-min: var(--lagb-interaction-touch-target, 44px);
  --lagb-navbar-inner-max: min(1160px, calc(100% - 32px));
  --lagb-navbar-inner-max-tablet: calc(100% - 28px);
  --lagb-navbar-inner-max-mobile: calc(100% - 24px);
  --lagb-navbar-inner-gap: clamp(10px, 1.4vw, 18px);
  --lagb-navbar-menu-gap-desktop: clamp(4px, 0.55vw, 9px);
  --lagb-navbar-logo-max: min(32vw, 260px);
  --lagb-navbar-logo-max-tablet: min(28vw, 220px);
  --lagb-navbar-logo-max-mobile: calc(100vw - 124px);
  --lagb-navbar-mobile-edge: 12px;
  --lagb-navbar-mobile-offset: 8px;
  --lagb-navbar-mobile-viewport-reserve: 24px;
  --lagb-navbar-mobile-menu-gap: 6px;
  --lagb-navbar-mobile-menu-padding: 10px;
  --lagb-navbar-transition: 0.16s ease;
  --lagb-navbar-focus: rgba(255, 255, 255, 0.42);
  --lagb-navbar-soft-border: rgba(255, 255, 255, 0.13);
  --lagb-navbar-soft-bg: rgba(255, 255, 255, 0.095);
  --lagb-navbar-soft-bg-hover: rgba(255, 255, 255, 0.145);
}

html.lag-nav-locked,
body.lag-nav-locked {
  overscroll-behavior: none;
}

body.lag-blank-template.lagb-style-beauty_elegant {
  --lagb-navbar-focus: rgba(255, 255, 255, 0.52);
  --lagb-navbar-soft-border: rgba(255, 255, 255, 0.18);
  --lagb-navbar-soft-bg: rgba(255, 255, 255, 0.12);
  --lagb-navbar-soft-bg-hover: rgba(255, 255, 255, 0.18);
}

body.lag-blank-template .lag-navbar {
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 94%, #000000 6%) !important;
  border-bottom: 1px solid var(--lagb-navbar-soft-border) !important;
  box-shadow: var(--lagb-floating-shadow-navbar, 0 1px 0 rgba(255, 255, 255, 0.055), 0 10px 28px rgba(15, 23, 42, 0.13)) !important;
  backdrop-filter: saturate(135%) blur(10px);
  -webkit-backdrop-filter: saturate(135%) blur(10px);
}

body.lag-blank-template .lag-navbar--scrolled {
  box-shadow: var(--lagb-floating-shadow-navbar-scrolled, 0 1px 0 rgba(255, 255, 255, 0.055), 0 14px 34px rgba(15, 23, 42, 0.18)) !important;
}

body.lag-blank-template .lag-navbar__inner {
  max-width: var(--lagb-navbar-inner-max, min(1160px, calc(100% - 32px))) !important;
  min-height: var(--lagb-navbar-height) !important;
  padding: 8px 0 !important;
  gap: var(--lagb-navbar-inner-gap, clamp(10px, 1.4vw, 18px)) !important;
}

body.lag-blank-template .lag-navbar__brand {
  min-width: 0;
  flex: 0 1 auto;
}

body.lag-blank-template .lag-navbar__logo {
  display: inline-block !important;
  max-width: var(--lagb-navbar-logo-max, min(32vw, 260px)) !important;
  overflow: hidden !important;
  color: #ffffff !important;
  font-size: clamp(0.94rem, 1.15vw, 1.02rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.024em !important;
  line-height: 1.12 !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

body.lag-blank-template .lag-navbar__menu {
  gap: var(--lagb-navbar-menu-gap-desktop, clamp(4px, 0.55vw, 9px)) !important;
  align-items: center !important;
}

body.lag-blank-template .lag-navbar__link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: var(--lagb-navbar-link-min) !important;
  padding: 8px 11px !important;
  border: 1px solid transparent !important;
  border-radius: var(--lagb-navbar-link-radius) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  font-size: 0.865rem !important;
  font-weight: 650 !important;
  letter-spacing: -0.006em !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color var(--lagb-navbar-transition, 0.16s ease), border-color var(--lagb-navbar-transition, 0.16s ease), color var(--lagb-navbar-transition, 0.16s ease), box-shadow var(--lagb-navbar-transition, 0.16s ease) !important;
}

body.lag-blank-template .lag-navbar__link:hover,
body.lag-blank-template .lag-navbar__link:focus,
body.lag-blank-template .lag-navbar__link--active {
  background: var(--lagb-navbar-soft-bg-hover) !important;
  border-color: var(--lagb-navbar-soft-border) !important;
  color: #ffffff !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.085) !important;
}

body.lag-blank-template .lag-navbar__link:focus-visible,
body.lag-blank-template .lag-navbar__cta:focus-visible,
body.lag-blank-template .lag-navbar__toggle:focus-visible {
  outline: 2px solid var(--lagb-navbar-focus) !important;
  outline-offset: 2px !important;
}

body.lag-blank-template .lag-navbar__cta,
body.lag-blank-template .lag-navbar__link--cta-btn {
  min-height: 40px !important;
  padding: 8px 14px !important;
  border-radius: var(--lagb-floating-radius-pill, 999px) !important;
  font-size: 0.87rem !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  white-space: nowrap !important;
}

body.lag-blank-template .lag-navbar__cta {
  margin-left: clamp(4px, 0.65vw, 10px) !important;
  box-shadow: var(--lagb-floating-shadow-navbar-cta, 0 8px 18px rgba(15, 23, 42, 0.18)) !important;
}

body.lag-blank-template .lag-navbar__cta:hover,
body.lag-blank-template .lag-navbar__cta:focus {
  box-shadow: var(--lagb-floating-shadow-navbar-cta-hover, 0 10px 22px rgba(15, 23, 42, 0.22)) !important;
  transform: translateY(-1px) !important;
}

body.lag-blank-template .lag-navbar__cta-icon {
  width: 15px;
  height: 15px;
  margin-right: 7px;
  flex: 0 0 auto;
}

body.lag-blank-template .lag-navbar__toggle {
  width: 40px !important;
  height: 40px !important;
  padding: 0 !important;
  border: 1px solid var(--lagb-navbar-soft-border) !important;
  border-radius: var(--lagb-floating-radius-sm, 12px) !important;
  background: var(--lagb-navbar-soft-bg) !important;
  color: #ffffff !important;
  align-items: center !important;
  justify-content: center !important;
}

body.lag-blank-template .lag-navbar__toggle-line {
  width: 18px;
  height: 2px;
  margin: 3px auto;
  border-radius: var(--lagb-floating-radius-pill, 999px);
}

@media (max-width: 1080px) and (min-width: 783px) {
  body.lag-blank-template .lag-navbar__inner {
    max-width: var(--lagb-navbar-inner-max-tablet, calc(100% - 28px)) !important;
  }

  body.lag-blank-template .lag-navbar__logo {
    max-width: var(--lagb-navbar-logo-max-tablet, min(28vw, 220px)) !important;
  }

  body.lag-blank-template .lag-navbar__link {
    padding-left: 9px !important;
    padding-right: 9px !important;
    font-size: 0.82rem !important;
  }

  body.lag-blank-template .lag-navbar__cta,
  body.lag-blank-template .lag-navbar__link--cta-btn {
    padding-left: 12px !important;
    padding-right: 12px !important;
    font-size: 0.82rem !important;
  }
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-navbar-height: 56px;
    --lagb-navbar-link-min: 44px;
  }

  body.lag-blank-template .lag-navbar__inner {
    max-width: var(--lagb-navbar-inner-max-mobile, calc(100% - 24px)) !important;
    min-height: var(--lagb-navbar-height) !important;
    padding: 7px 0 !important;
  }

  body.lag-blank-template .lag-navbar__logo {
    max-width: var(--lagb-navbar-logo-max-mobile, calc(100vw - 124px)) !important;
    font-size: 0.94rem !important;
  }

  body.lag-blank-template .lag-navbar__toggle {
    display: inline-flex !important;
    min-width: var(--lagb-navbar-touch-min) !important;
    min-height: var(--lagb-navbar-touch-min) !important;
    flex: 0 0 var(--lagb-navbar-touch-min) !important;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0;
  }

  body.lag-blank-template .lag-navbar__toggle-line {
    display: block;
    width: 18px;
    height: 2px;
    margin: 2px 0;
    flex: 0 0 auto;
  }

  body.lag-blank-template .lag-navbar__menu {
    left: var(--lagb-navbar-mobile-edge, 12px) !important;
    right: var(--lagb-navbar-mobile-edge, 12px) !important;
    top: calc(100% + var(--lagb-navbar-mobile-offset, 8px)) !important;
    width: auto !important;
    max-height: calc(100vh - var(--lagb-navbar-height) - var(--lagb-navbar-mobile-viewport-reserve, 24px)) !important;
    max-height: calc(100dvh - var(--lagb-navbar-height) - var(--lagb-navbar-mobile-viewport-reserve, 24px) - env(safe-area-inset-bottom, 0px)) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    padding: var(--lagb-navbar-mobile-menu-padding) !important;
    padding-bottom: calc(var(--lagb-navbar-mobile-menu-padding) + env(safe-area-inset-bottom, 0px)) !important;
    gap: var(--lagb-navbar-mobile-menu-gap) !important;
    border: 1px solid var(--lagb-navbar-soft-border) !important;
    border-radius: var(--lagb-floating-radius-lg, 16px) !important;
    background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 96%, #000000 4%) !important;
    box-shadow: var(--lagb-floating-shadow-menu, 0 18px 40px rgba(15, 23, 42, 0.24)) !important;
  }

  body.lag-blank-template .lag-navbar__link {
    width: 100% !important;
    justify-content: flex-start !important;
    min-height: var(--lagb-navbar-link-min) !important;
    padding: 11px 13px !important;
    font-size: 0.91rem !important;
    text-align: left !important;
  }

  body.lag-blank-template .lag-navbar__link--active,
  body.lag-blank-template .lag-navbar__link:hover,
  body.lag-blank-template .lag-navbar__link:focus {
    background: var(--lagb-navbar-soft-bg-hover) !important;
  }

  body.lag-blank-template .lag-navbar__cta,
  body.lag-blank-template .lag-navbar__link--cta-btn {
    width: 100% !important;
    min-height: calc(var(--lagb-navbar-touch-min) + 2px) !important;
    justify-content: center !important;
    margin: 4px 0 0 !important;
    padding: 12px 14px !important;
    font-size: 0.9rem !important;
    text-align: center !important;
  }
}

/* ===========================================================================
   3.2.7 — About Highlights Spacing Fix
   Se conserva separado porque no pertenece a la navbar consolidada.
   ========================================================================== */
body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-highlights li,
body.lag-blank-template .lag-section-about .lagb-variant-about-highlight-points .lag-about-highlights li,
body.lag-blank-template .lag-section-about .lag-about-highlights li {
  position: relative !important;
}

body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-highlights li {
  padding-left: 34px !important;
}

body.lag-blank-template .lagb-variant-about-highlight-points .lag-about-highlights li::before {
  left: 11px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}

/* ===========================================================================
   2.7.11.59 — Location Section Visual Polish
   Pulido visual localizado para la sección Ubicación. No modifica la lógica de
   Leaflet/OSM/Nominatim, iframes, queries ni JS: solo presentación CSS.
   ========================================================================== */
body.lag-blank-template .lag-section-location {
  --lagb-location-card-bg: #ffffff;
  --lagb-location-card-border: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 10%, var(--lagb-premium-border, #e5e7eb) 90%);
  --lagb-location-card-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  --lagb-location-card-shadow-hover: 0 22px 54px rgba(15, 23, 42, 0.11);
  --lagb-location-radius: var(--lagb-token-card-radius, 22px);
  --lagb-location-inner-gap: clamp(16px, 2.4vw, 26px);
}

body.lag-blank-template .lag-section-location .lag-location-columns,
body.lag-blank-template .lagb-variant-location-clean-card .lag-location-columns {
  gap: var(--lagb-location-inner-gap) !important;
  align-items: stretch !important;
}

body.lag-blank-template .lag-section-location .lag-location-text,
body.lag-blank-template .lag-section-location .lag-location-map {
  position: relative !important;
  overflow: hidden !important;
  border: 1px solid var(--lagb-location-card-border) !important;
  border-radius: var(--lagb-location-radius) !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.98), rgba(255,255,255,0.94)),
    var(--lagb-location-card-bg) !important;
  box-shadow: var(--lagb-location-card-shadow) !important;
}

body.lag-blank-template .lag-section-location .lag-location-text {
  padding: clamp(20px, 2.8vw, 30px) !important;
}

body.lag-blank-template .lag-section-location .lag-location-text::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  width: 4px !important;
  background: linear-gradient(
    180deg,
    var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)),
    color-mix(in srgb, var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)) 42%, transparent)
  ) !important;
}

body.lag-blank-template .lag-section-location .lag-location-subheading {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 18px 0 6px !important;
  color: var(--lagb-premium-text, #111827) !important;
  font-size: clamp(0.94rem, 1vw, 1.02rem) !important;
  font-weight: 800 !important;
  letter-spacing: -0.012em !important;
  line-height: 1.22 !important;
}

body.lag-blank-template .lag-section-location .lag-location-subheading:first-child {
  margin-top: 0 !important;
}

body.lag-blank-template .lag-section-location .lag-location-subheading::before {
  content: "" !important;
  width: 9px !important;
  height: 9px !important;
  flex: 0 0 9px !important;
  border-radius: 999px !important;
  background: var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)) 13%, transparent) !important;
}

body.lag-blank-template .lag-section-location .lag-location-hours,
body.lag-blank-template .lag-section-location .lag-location-address,
body.lag-blank-template .lag-section-location .lag-location-contact-text,
body.lag-blank-template .lag-section-location .lag-location-landmarks,
body.lag-blank-template .lag-section-location .lag-location-transport {
  margin: 0 !important;
  color: var(--lagb-premium-muted, #475569) !important;
  font-size: 0.98rem !important;
  line-height: 1.68 !important;
}

body.lag-blank-template .lag-section-location .lag-location-contact-text a {
  display: inline-flex !important;
  align-items: center !important;
  max-width: 100% !important;
  margin: 3px 0 !important;
  padding: 6px 10px !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)) 16%, var(--lagb-premium-border, #e5e7eb) 84%) !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)) 7%, #ffffff 93%) !important;
  color: var(--lagb-premium-text, #111827) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  overflow-wrap: anywhere !important;
  text-decoration: none !important;
}

body.lag-blank-template .lag-section-location .lag-location-contact-text a:hover,
body.lag-blank-template .lag-section-location .lag-location-contact-text a:focus {
  background: color-mix(in srgb, var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)) 11%, #ffffff 89%) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)) 26%, var(--lagb-premium-border, #e5e7eb) 74%) !important;
  color: var(--lagb-premium-text, #111827) !important;
}

body.lag-blank-template .lag-section-location .lag-location-branches-list,
body.lag-blank-template .lag-section-location .lag-location-landmarks-list,
body.lag-blank-template .lag-section-location .lag-location-transport-list {
  display: grid !important;
  gap: 7px !important;
  margin: 6px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.lag-blank-template .lag-section-location .lag-location-branches-list li,
body.lag-blank-template .lag-section-location .lag-location-landmarks-list li,
body.lag-blank-template .lag-section-location .lag-location-transport-list li {
  position: relative !important;
  margin: 0 !important;
  padding-left: 18px !important;
  color: var(--lagb-premium-muted, #475569) !important;
  line-height: 1.58 !important;
}

body.lag-blank-template .lag-section-location .lag-location-branches-list li::before,
body.lag-blank-template .lag-section-location .lag-location-landmarks-list li::before,
body.lag-blank-template .lag-section-location .lag-location-transport-list li::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 0.72em !important;
  width: 6px !important;
  height: 6px !important;
  border-radius: 999px !important;
  background: color-mix(in srgb, var(--lagb-premium-accent, var(--lagb-premium-primary, #0f172a)) 70%, #ffffff 30%) !important;
}

body.lag-blank-template .lag-section-location .lag-location-map {
  padding: clamp(10px, 1.4vw, 14px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

body.lag-blank-template .lag-section-location .lag-map-wrap {
  width: 100% !important;
  min-height: 320px !important;
  margin: 0 !important;
  border-radius: calc(var(--lagb-location-radius) - 8px) !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.025)) !important;
}

body.lag-blank-template .lag-section-location .lag-google-map-iframe,
body.lag-blank-template .lag-section-location .lag-osm-map.is-active {
  width: 100% !important;
  min-height: 320px !important;
  border: 0 !important;
  border-radius: calc(var(--lagb-location-radius) - 8px) !important;
}

body.lag-blank-template .lag-section-location .lag-location-map-link {
  margin: 10px 0 0 !important;
  text-align: center !important;
}

body.lag-blank-template .lag-section-location .lag-location-map-link a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 8px 14px !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 14%, var(--lagb-premium-border, #e5e7eb) 86%) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: var(--lagb-premium-text, #111827) !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.07) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.lag-blank-template .lag-section-location .lag-location-text,
  body.lag-blank-template .lag-section-location .lag-location-map {
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-text:hover,
  body.lag-blank-template .lag-section-location .lag-location-map:hover {
    border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 16%, var(--lagb-premium-border, #e5e7eb) 84%) !important;
    box-shadow: var(--lagb-location-card-shadow-hover) !important;
    transform: translateY(-1px) !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-map-link a:hover,
  body.lag-blank-template .lag-section-location .lag-location-map-link a:focus {
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.10) !important;
    transform: translateY(-1px) !important;
  }
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-location {
    --lagb-location-inner-gap: 14px;
    --lagb-location-radius: 18px;
  }

  body.lag-blank-template .lag-section-location .lag-location-text {
    padding: 18px !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-subheading {
    margin-top: 15px !important;
    font-size: 0.94rem !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-hours,
  body.lag-blank-template .lag-section-location .lag-location-address,
  body.lag-blank-template .lag-section-location .lag-location-contact-text,
  body.lag-blank-template .lag-section-location .lag-location-landmarks,
  body.lag-blank-template .lag-section-location .lag-location-transport {
    font-size: 0.94rem !important;
    line-height: 1.62 !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-map {
    padding: 9px !important;
  }

  body.lag-blank-template .lag-section-location .lag-map-wrap {
    min-height: var(--lagb-mobile-map-h, 230px) !important;
  }

  body.lag-blank-template .lag-section-location .lag-google-map-iframe,
  body.lag-blank-template .lag-section-location .lag-osm-map.is-active {
    height: var(--lagb-mobile-map-h, 230px) !important;
    min-height: var(--lagb-mobile-map-h, 230px) !important;
  }

  body.lag-blank-template .lag-section-location .lag-location-map-link a {
    width: 100% !important;
    min-height: 42px !important;
  }
}

body.lag-blank-template.lagb-style-minimal .lag-section-location .lag-location-text,
body.lag-blank-template.lagb-style-minimal .lag-section-location .lag-location-map,
body.lag-blank-template.lagb-style-no_images .lag-section-location .lag-location-text,
body.lag-blank-template.lagb-style-no_images .lag-section-location .lag-location-map {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.055) !important;
}

/* ===========================================================================
   2.7.11.60 — Final CTA Button & Spacing Polish
   Pulido conservador de botones, spacing y microcopy del CTA final.
   No cambia HTML, Gutenberg, IA, parser, seguridad, imágenes, mapas ni JS.
   ========================================================================== */
body.lag-blank-template {
  --lagb-final-cta-button-gap: clamp(10px, 1.5vw, 14px);
  --lagb-final-cta-button-min: 178px;
  --lagb-final-cta-button-height: 46px;
  --lagb-final-cta-note-width: 34rem;
}

body.lag-blank-template .lag-section-cta .lag-cta {
  gap: 0 !important;
}

body.lag-blank-template .lag-section-cta .lag-cta-title {
  margin-bottom: 9px !important;
}

body.lag-blank-template .lag-section-cta .lag-cta-copy {
  margin-bottom: clamp(17px, 2.2vw, 22px) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: var(--lagb-final-cta-button-gap) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button,
body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button {
  flex: 0 1 auto !important;
  margin: 0 !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link {
  min-width: var(--lagb-final-cta-button-min) !important;
  min-height: var(--lagb-final-cta-button-height) !important;
  padding: 0.78rem 1.28rem !important;
  border-radius: 999px !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  text-align: center !important;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:first-child .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link.has-background,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--primary {
  box-shadow: 0 12px 24px -15px color-mix(in srgb, var(--lagb-premium-primary, #06b6d4) 58%, #0f172a 42%) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:not(:first-child) .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--secondary,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--outline {
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #06b6d4) 20%, var(--lagb-clean-border, #e5e7eb) 80%) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  color: var(--lagb-premium-accent, #0f172a) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72), 0 10px 22px -20px rgba(15, 23, 42, 0.26) !important;
}

@media (hover: hover) and (pointer: fine) {
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link:hover {
    transform: translateY(-1px) !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:first-child .wp-block-button__link:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link.has-background:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--primary:hover {
    box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--lagb-premium-primary, #06b6d4) 68%, #0f172a 32%) !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:not(:first-child) .wp-block-button__link:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--secondary:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--outline:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: color-mix(in srgb, var(--lagb-premium-primary, #06b6d4) 32%, var(--lagb-clean-border, #e5e7eb) 68%) !important;
  }
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link:focus-visible,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--lagb-premium-primary, #06b6d4) 34%, transparent) !important;
  outline-offset: 3px !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .lag-cta-note {
  max-width: var(--lagb-final-cta-note-width) !important;
  margin-top: clamp(13px, 1.8vw, 16px) !important;
  padding-top: 13px !important;
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-final-cta-button-min: 100%;
    --lagb-final-cta-button-height: 46px;
  }

  body.lag-blank-template .lag-section-cta .lag-cta-copy {
    margin-bottom: 17px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta {
    width: 100% !important;
    gap: 10px !important;
    flex-direction: column !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link {
    width: 100% !important;
    min-height: var(--lagb-final-cta-button-height) !important;
    padding: 0.82rem 1rem !important;
    font-size: 0.92rem !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .lag-cta-note {
    margin-top: 12px !important;
    padding-top: 12px !important;
    font-size: 0.84rem !important;
  }
}

/* ===========================================================================
   3.2.12 — Double CTA Visual Coherence Pass
   Unifica pares de CTAs en hero, CTA intermedio y CTA final sin cambiar
   estructura HTML, JS, tracking, generación IA ni comportamiento funcional.
   ========================================================================== */
body.lag-blank-template {
  --lagb-double-cta-gap: clamp(10px, 1.5vw, 14px);
  --lagb-double-cta-min-width: 176px;
  --lagb-double-cta-height: 44px;
  --lagb-double-cta-mobile-width: min(100%, 360px);
  --lagb-double-cta-radius: var(--lagb-token-button-radius, 999px);
}

body.lag-blank-template .lag-hero .wp-block-buttons,
body.lag-blank-template .lag-hero .lag-multi-cta,
body.lag-blank-template .lag-mid-cta .wp-block-buttons,
body.lag-blank-template .lag-mid-cta-buttons,
body.lag-blank-template .lag-cta .wp-block-buttons,
body.lag-blank-template .lag-cta .lag-multi-cta {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: center !important;
  gap: var(--lagb-double-cta-gap) !important;
}

body.lag-blank-template .lag-hero .wp-block-button,
body.lag-blank-template .lag-mid-cta .wp-block-button,
body.lag-blank-template .lag-cta .wp-block-button,
body.lag-blank-template .lag-hero .wp-block-buttons > .wp-block-button,
body.lag-blank-template .lag-mid-cta .wp-block-buttons > .wp-block-button,
body.lag-blank-template .lag-cta .wp-block-buttons > .wp-block-button {
  flex: 0 1 auto !important;
  margin: 0 !important;
}

body.lag-blank-template .lag-hero .wp-block-button__link,
body.lag-blank-template .lag-mid-cta .wp-block-button__link,
body.lag-blank-template .lag-cta .wp-block-button__link,
body.lag-blank-template .lag-hero .lag-multi-cta-link,
body.lag-blank-template .lag-mid-cta .lag-multi-cta-link,
body.lag-blank-template .lag-cta .lag-multi-cta-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: var(--lagb-double-cta-min-width) !important;
  min-height: var(--lagb-double-cta-height) !important;
  border-radius: var(--lagb-double-cta-radius) !important;
  text-align: center !important;
  line-height: 1.15 !important;
  white-space: normal !important;
}

body.lag-blank-template .lag-hero .wp-block-button:first-child .wp-block-button__link,
body.lag-blank-template .lag-mid-cta .wp-block-button:first-child .wp-block-button__link,
body.lag-blank-template .lag-cta .wp-block-button:first-child .wp-block-button__link,
body.lag-blank-template .lag-hero .lag-multi-cta-link--primary,
body.lag-blank-template .lag-mid-cta .lag-multi-cta-link--primary,
body.lag-blank-template .lag-cta .lag-multi-cta-link--primary {
  font-weight: 800 !important;
}

body.lag-blank-template .lag-hero .wp-block-button:not(:first-child) .wp-block-button__link,
body.lag-blank-template .lag-mid-cta .wp-block-button:not(:first-child) .wp-block-button__link,
body.lag-blank-template .lag-cta .wp-block-button:not(:first-child) .wp-block-button__link,
body.lag-blank-template .lag-hero .lag-multi-cta-link--secondary,
body.lag-blank-template .lag-mid-cta .lag-multi-cta-link--secondary,
body.lag-blank-template .lag-cta .lag-multi-cta-link--secondary,
body.lag-blank-template .lag-hero .lag-multi-cta-link--outline,
body.lag-blank-template .lag-mid-cta .lag-multi-cta-link--outline,
body.lag-blank-template .lag-cta .lag-multi-cta-link--outline {
  font-weight: 700 !important;
}

@media (hover: hover) and (pointer: fine) {
  body.lag-blank-template .lag-hero .wp-block-button__link:hover,
  body.lag-blank-template .lag-mid-cta .wp-block-button__link:hover,
  body.lag-blank-template .lag-cta .wp-block-button__link:hover,
  body.lag-blank-template .lag-hero .lag-multi-cta-link:hover,
  body.lag-blank-template .lag-mid-cta .lag-multi-cta-link:hover,
  body.lag-blank-template .lag-cta .lag-multi-cta-link:hover {
    transform: translateY(-1px) !important;
  }
}

@media (max-width: 782px) {
  body.lag-blank-template {
    --lagb-double-cta-min-width: 100%;
    --lagb-double-cta-height: 46px;
  }

  body.lag-blank-template .lag-hero .wp-block-buttons,
  body.lag-blank-template .lag-hero .lag-multi-cta,
  body.lag-blank-template .lag-mid-cta .wp-block-buttons,
  body.lag-blank-template .lag-mid-cta-buttons,
  body.lag-blank-template .lag-cta .wp-block-buttons,
  body.lag-blank-template .lag-cta .lag-multi-cta {
    width: var(--lagb-double-cta-mobile-width) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
  }

  body.lag-blank-template .lag-hero .wp-block-button,
  body.lag-blank-template .lag-mid-cta .wp-block-button,
  body.lag-blank-template .lag-cta .wp-block-button,
  body.lag-blank-template .lag-hero .wp-block-buttons > .wp-block-button,
  body.lag-blank-template .lag-mid-cta .wp-block-buttons > .wp-block-button,
  body.lag-blank-template .lag-cta .wp-block-buttons > .wp-block-button {
    width: 100% !important;
    flex: 1 1 100% !important;
  }

  body.lag-blank-template .lag-hero .wp-block-button__link,
  body.lag-blank-template .lag-mid-cta .wp-block-button__link,
  body.lag-blank-template .lag-cta .wp-block-button__link,
  body.lag-blank-template .lag-hero .lag-multi-cta-link,
  body.lag-blank-template .lag-mid-cta .lag-multi-cta-link,
  body.lag-blank-template .lag-cta .lag-multi-cta-link {
    width: 100% !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}


/* 3.2.1 — Stable UX regression review: post-generation banner accessibility polish. */
.lag-post-gen-close:focus-visible,
.lag-post-gen-btn:focus-visible{
  outline:2px solid #0f172a;
  outline-offset:3px;
}

@media (max-width: 782px){
  .lag-post-gen-banner{
    bottom:calc(10px + env(safe-area-inset-bottom, 0px));
    max-height:calc(100vh - 24px - env(safe-area-inset-bottom, 0px));
    overflow:auto;
  }
}

/* ===========================================================================
   3.2.7 — Contrast Safety Pass
   Variables calculadas desde PHP refuerzan la legibilidad de CTAs con colores
   personalizados claros u oscuros, sin cambiar lógica ni estructura HTML.
   ========================================================================== */
.lag-navbar__cta--solid,
.lag-navbar__cta--solid:hover,
.lag-navbar__cta--solid:focus,
.lag-sticky-cta__btn,
.lag-wa-modal__submit {
  color: var(--lagb-accent-on, var(--lagb-accent-contrast, #06111f));
}

.lag-navbar__cta--outline {
  color: var(--lagb-accent-readable, var(--lag-accent-color, #25d366));
}

.lag-navbar__cta--ghost {
  color: var(--lagb-primary-on, #ffffff);
}

body.lag-blank-template .lag-navbar__cta--solid,
body.lag-blank-template .lag-sticky-cta__btn,
body.lag-blank-template .lag-wa-modal__submit,
body.lag-blank-template.lagb-buttons-auto .lag-navbar__cta,
body.lag-blank-template.lagb-buttons-auto .lag-sticky-cta__btn {
  color: var(--lagb-accent-on, var(--lagb-accent-contrast, #06111f)) !important;
}

body.lag-blank-template.lagb-buttons-solid .wp-block-button__link:not(.lag-product-select-btn),
body.lag-blank-template.lagb-buttons-solid .lag-multi-cta-link,
body.lag-blank-template.lagb-buttons-solid .lag-navbar__cta,
body.lag-blank-template.lagb-buttons-solid .lag-sticky-cta__btn {
  color: var(--lagb-primary-on, var(--lagb-primary-contrast, #ffffff)) !important;
}

body.lag-blank-template.lagb-buttons-soft .wp-block-button__link:not(.lag-product-select-btn),
body.lag-blank-template.lagb-buttons-soft .lag-multi-cta-link,
body.lag-blank-template.lagb-buttons-soft .lag-navbar__cta,
body.lag-blank-template.lagb-buttons-soft .lag-sticky-cta__btn,
body.lag-blank-template.lagb-buttons-outline .wp-block-button__link:not(.has-background),
body.lag-blank-template.lagb-buttons-outline .lag-multi-cta-link,
body.lag-blank-template.lagb-buttons-outline .lag-navbar__cta {
  color: var(--lagb-primary-readable, var(--lagb-premium-primary, #0f172a)) !important;
}

body.lag-blank-template .lag-navbar__cta,
body.lag-blank-template .lag-sticky-cta__btn,
body.lag-blank-template .lag-wa-modal__submit {
  text-shadow: none !important;
}



/* ===========================================================================
   3.2.13 — Final CTA Double Button Consistency Fix
   Corrige el caso detectado en prueba visual: el CTA final heredaba colores
   inline/antiguos diferentes al CTA intermedio. Se mantiene el HTML, IA,
   JS, tracking, seguridad y estructura Gutenberg intactos.
   ========================================================================== */
body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta {
  gap: var(--lagb-double-cta-gap, clamp(10px, 1.5vw, 14px)) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link {
  min-width: var(--lagb-double-cta-min-width, 176px) !important;
  min-height: var(--lagb-double-cta-height, 44px) !important;
  padding: 0.72rem 1.18rem !important;
  border-radius: var(--lagb-double-cta-radius, var(--lagb-token-button-radius, 999px)) !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1.14 !important;
  box-shadow: none !important;
}

/* Botón principal del CTA final: mismo lenguaje que el CTA intermedio. */
body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button:first-child .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:first-child .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--primary {
  background: var(--lagb-premium-primary, #0f172a) !important;
  border: 1px solid var(--lagb-premium-primary, #0f172a) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

/* Botón secundario del CTA final: mismo lenguaje outline/suave del CTA intermedio. */
body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button:not(:first-child) .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:not(:first-child) .wp-block-button__link,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--secondary,
body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--outline {
  background: #ffffff !important;
  border: 1px solid var(--lagb-premium-border-strong, #d1d5db) !important;
  color: var(--lagb-premium-text, #111827) !important;
  box-shadow: none !important;
}

@media (hover: hover) and (pointer: fine) {
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button:first-child .wp-block-button__link:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:first-child .wp-block-button__link:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--primary:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button:first-child .wp-block-button__link:focus,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:first-child .wp-block-button__link:focus,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--primary:focus {
    background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 88%, #000 12%) !important;
    border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 88%, #000 12%) !important;
    color: #ffffff !important;
    transform: translateY(-1px) !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button:not(:first-child) .wp-block-button__link:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:not(:first-child) .wp-block-button__link:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--secondary:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--outline:hover,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons > .wp-block-button:not(:first-child) .wp-block-button__link:focus,
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button:not(:first-child) .wp-block-button__link:focus,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--secondary:focus,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link--outline:focus {
    background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 5%, #ffffff 95%) !important;
    border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 22%, var(--lagb-premium-border-strong, #d1d5db) 78%) !important;
    color: var(--lagb-premium-primary, #0f172a) !important;
    transform: translateY(-1px) !important;
  }
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-buttons,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta {
    width: var(--lagb-double-cta-mobile-width, min(100%, 360px)) !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta .wp-block-button__link,
  body.lag-blank-template .lag-section-cta .lag-cta .lag-multi-cta-link {
    width: 100% !important;
    min-width: 100% !important;
    min-height: 46px !important;
  }
}

/* ===========================================================================
   3.2.14 — Final CTA Background Removal Pass
   Elimina el fondo visual del CTA final (cover image + overlay) para integrar
   mejor la sección con el resto de la landing, manteniendo la tarjeta blanca,
   la jerarquía del contenido y la coherencia del CTA doble.
   ========================================================================== */
body.lag-blank-template .lag-section-cta {
  background: transparent !important;
}

body.lag-blank-template .lag-section-cta .wp-block-cover.lag-cta-cover,
body.lag-blank-template .lag-section-cta .lag-cta-cover {
  min-height: auto !important;
  background: transparent !important;
  padding-top: clamp(12px, 2vw, 18px) !important;
  padding-bottom: clamp(12px, 2vw, 18px) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta-cover .wp-block-cover__background,
body.lag-blank-template .lag-section-cta .lag-cta-cover img.wp-block-cover__image-background {
  display: none !important;
}

body.lag-blank-template .lag-section-cta .lag-cta-cover .wp-block-cover__inner-container {
  width: min(100%, 1120px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: clamp(16px, 3vw, 24px) !important;
  padding-right: clamp(16px, 3vw, 24px) !important;
}

body.lag-blank-template .lag-section-cta .lag-cta {
  box-shadow: 0 18px 38px -34px rgba(15, 23, 42, 0.14) !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lag-section-cta .wp-block-cover.lag-cta-cover,
  body.lag-blank-template .lag-section-cta .lag-cta-cover {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  body.lag-blank-template .lag-section-cta .lag-cta-cover .wp-block-cover__inner-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}

/* ===========================================================================
   3.2.16 — CTA Variant Refinement Pass
   Pulido conservador de variantes CTA tras la uniformización del CTA doble y
   la eliminación del fondo visual final. Mantiene la tarjeta, estructura,
   IA, JS, tracking, seguridad y Gutenberg intactos.
   ========================================================================== */
body.lag-blank-template {
  --lagb-cta-variant-soft-max: 920px;
  --lagb-cta-variant-split-max: 960px;
  --lagb-cta-variant-compact-max: 840px;
  --lagb-cta-variant-compact-pad-y: clamp(22px, 3vw, 30px);
  --lagb-cta-variant-compact-pad-x: clamp(18px, 3vw, 28px);
}

body.lag-blank-template .lagb-variant-cta-soft-panel .lag-cta {
  max-width: var(--lagb-cta-variant-soft-max) !important;
  background: linear-gradient(180deg, color-mix(in srgb, #ffffff 96%, var(--lagb-premium-primary, #22d3ee) 4%) 0%, #ffffff 100%) !important;
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #22d3ee) 10%, var(--lagb-clean-border, #e5e7eb) 90%) !important;
}

body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta {
  max-width: var(--lagb-cta-variant-split-max) !important;
  align-items: flex-start !important;
  text-align: left !important;
}

body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta-title,
body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta-copy,
body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta-note {
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .wp-block-buttons,
body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .lag-multi-cta {
  justify-content: flex-start !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .lag-cta-note::before {
  margin-left: 0 !important;
  margin-right: auto !important;
}

body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta {
  max-width: var(--lagb-cta-variant-compact-max) !important;
  min-height: 0 !important;
  padding: var(--lagb-cta-variant-compact-pad-y) var(--lagb-cta-variant-compact-pad-x) !important;
}

body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta-title {
  font-size: clamp(1.25rem, 2vw, 1.65rem) !important;
  margin-bottom: 6px !important;
}

body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta-copy {
  margin-bottom: 14px !important;
  font-size: 0.92rem !important;
}

body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta .lag-cta-note {
  margin-top: 9px !important;
  padding-top: 9px !important;
  font-size: 0.82rem !important;
}

body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta .lag-cta-note::before {
  width: 36px !important;
  margin-bottom: 9px !important;
  opacity: 0.55 !important;
}

@media (max-width: 782px) {
  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta {
    align-items: center !important;
    text-align: center !important;
  }

  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta-title,
  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta-copy,
  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta-note {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
  }

  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .wp-block-buttons,
  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .lag-multi-cta {
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.lag-blank-template .lagb-variant-cta-split-contact .lag-cta .lag-cta-note::before {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  body.lag-blank-template .lagb-variant-cta-compact-banner .lag-cta {
    padding: 22px 16px !important;
  }
}

/* ===========================================================================
   3.2.20 — Design Controls Diagnostic Pass
   Runtime bridge for generated landings rendered with the active theme template.
   The blank template already had these body classes, but theme-mode pages only
   received color variables. This bridge makes Diseño controls visibly effective
   without changing IA, prompts, parser, AJAX, nonces, captcha, images or maps.
   ========================================================================== */
body.lag-landing-generated.lagb-design-controls-enabled {
  --lagb-premium-primary: var(--lagb-brand-primary, #0f172a);
  --lagb-premium-accent: var(--lagb-brand-accent, #06b6d4);
  --lagb-premium-bg: var(--lagb-brand-bg, #f8fafc);
  --lagb-premium-surface: var(--lagb-brand-surface, #ffffff);
  --lagb-premium-border: #e5e7eb;
  --lagb-premium-border-strong: #d1d5db;
  --lagb-premium-text: #111827;
  --lagb-premium-muted: #4b5563;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business {
  --lagb-premium-primary: var(--lagb-brand-primary, #1f2937);
  --lagb-premium-accent: var(--lagb-brand-accent, #0ea5e9);
  --lagb-premium-bg: var(--lagb-brand-bg, #fbfdff);
  --lagb-premium-surface: var(--lagb-brand-surface, #ffffff);
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual {
  --lagb-premium-primary: var(--lagb-brand-primary, #020617);
  --lagb-premium-accent: var(--lagb-brand-accent, #38bdf8);
  --lagb-premium-shadow: 0 12px 34px rgba(15, 23, 42, 0.10);
  --lagb-premium-shadow-hover: 0 16px 42px rgba(15, 23, 42, 0.14);
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact {
  --lag-enterprise-section-y: 44px;
  --lag-enterprise-section-y-mobile: 32px;
  --lagb-hero-min: 360px;
  --lagb-hero-pad: 52px;
  --lagb-card-pad: 16px;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-normal {
  --lagb-hero-min: 440px;
  --lagb-hero-pad: 72px;
  --lagb-card-pad: 22px;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious {
  --lag-enterprise-section-y: 76px;
  --lag-enterprise-section-y-mobile: 48px;
  --lagb-hero-min: 520px;
  --lagb-hero-pad: 88px;
  --lagb-card-pad: 28px;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-section,
body.lag-landing-generated.lagb-design-controls-enabled .lag-services,
body.lag-landing-generated.lagb-design-controls-enabled .lag-products {
  padding-top: var(--lag-enterprise-section-y, 60px) !important;
  padding-bottom: var(--lag-enterprise-section-y, 60px) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled .lag-cta {
  padding: var(--lagb-card-pad, 22px) !important;
  border-color: var(--lagb-premium-border, #e5e7eb) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-navbar {
  background: color-mix(in srgb, var(--lagb-premium-primary) 92%, #ffffff 8%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-cta {
  border-radius: 10px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-navbar,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-section-cta {
  background: linear-gradient(135deg, var(--lagb-premium-primary), color-mix(in srgb, var(--lagb-premium-primary) 78%, var(--lagb-premium-accent) 22%)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-testimonial {
  border-top: 3px solid color-mix(in srgb, var(--lagb-premium-accent) 68%, #ffffff 32%) !important;
  box-shadow: var(--lagb-premium-shadow, 0 12px 34px rgba(15, 23, 42, 0.10)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-section-cta .lag-cta {
  background: rgba(255, 255, 255, 0.98) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-section:nth-of-type(even):not(.lag-section-hero):not(.lag-section-cta),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-section-cta {
  background: var(--lagb-premium-bg, #f8fafc) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-cta {
  box-shadow: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero img.wp-block-cover__image-background,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-service-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-product-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-about-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-testimonial-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-faq-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images figure[class*="lag-"] {
  display: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-dark .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-enterprise .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-local_business .lag-hero.wp-block-cover {
  min-height: clamp(var(--lagb-hero-min, 440px), 58vh, 620px) !important;
  padding-top: var(--lagb-hero-pad, 72px) !important;
  padding-bottom: var(--lagb-hero-pad, 72px) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-dark .lag-hero .wp-block-cover__background,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-enterprise .lag-hero .wp-block-cover__background,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-local_business .lag-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.74) 48%, rgba(15, 23, 42, 0.46) 100%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-minimal .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-minimal .lag-hero.wp-block-cover {
  min-height: clamp(340px, 44vh, 480px) !important;
  padding-top: 56px !important;
  padding-bottom: 56px !important;
  background: linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--lagb-premium-bg, #ffffff) 88%, #f8fafc 12%) 100%) !important;
  border-bottom: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-minimal .lag-hero img.wp-block-cover__image-background,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-minimal .lag-hero img.wp-block-cover__image-background {
  display: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-minimal .lag-hero .wp-block-cover__background,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-minimal .lag-hero .wp-block-cover__background {
  background: transparent !important;
  opacity: 0 !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero.wp-block-cover {
  min-height: clamp(480px, 62vh, 680px) !important;
  padding: clamp(56px, 7vw, 92px) 20px !important;
  background: linear-gradient(135deg, var(--lagb-premium-primary, #020617), color-mix(in srgb, var(--lagb-premium-primary, #020617) 72%, var(--lagb-premium-accent, #38bdf8) 28%)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-cover__background,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(2, 6, 23, 0.86) 0%, rgba(2, 6, 23, 0.58) 54%, rgba(2, 6, 23, 0.26) 100%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-buttons {
  max-width: 620px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-compact .lag-hero.wp-block-cover {
  min-height: clamp(320px, 40vh, 440px) !important;
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-solid .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-solid .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-solid .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-solid .lag-sticky-cta__btn {
  border-radius: 8px !important;
  background: var(--lagb-premium-primary, #0f172a) !important;
  background-color: var(--lagb-premium-primary, #0f172a) !important;
  border-color: var(--lagb-premium-primary, #0f172a) !important;
  color: var(--lagb-primary-on, #ffffff) !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.18) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-soft .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-soft .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-soft .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-soft .lag-sticky-cta__btn {
  border-radius: 14px !important;
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 10%, #ffffff 90%) !important;
  background-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 10%, #ffffff 90%) !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 20%, #e5e7eb 80%) !important;
  color: var(--lagb-primary-readable, var(--lagb-premium-primary, #0f172a)) !important;
  box-shadow: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .lag-sticky-cta__btn {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 38%, var(--lagb-premium-border-strong, #d1d5db) 62%) !important;
  color: var(--lagb-primary-readable, var(--lagb-premium-primary, #0f172a)) !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .wp-block-button__link.has-background:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .lag-section-cta .lag-cta .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .lag-section-cta .lag-cta .lag-multi-cta-link {
  background: transparent !important;
  background-color: transparent !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline.lagb-hero-dark .lag-hero .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline.lagb-hero-dark .lag-hero .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline.lagb-hero-auto.lagb-style-enterprise .lag-hero .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline.lagb-hero-auto.lagb-style-enterprise .lag-hero .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline.lagb-hero-auto.lagb-style-local_business .lag-hero .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline.lagb-hero-auto.lagb-style-local_business .lag-hero .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline.lagb-hero-auto.lagb-style-premium_visual .lag-hero .lag-multi-cta-link {
  background: transparent !important;
  background-color: transparent !important;
  border-color: rgba(255, 255, 255, 0.82) !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

@media (max-width: 782px) {
  body.lag-landing-generated.lagb-design-controls-enabled .lag-section,
  body.lag-landing-generated.lagb-design-controls-enabled .lag-services,
  body.lag-landing-generated.lagb-design-controls-enabled .lag-products {
    padding-top: var(--lag-enterprise-section-y-mobile, 42px) !important;
    padding-bottom: var(--lag-enterprise-section-y-mobile, 42px) !important;
  }
}

/* ===========================================================================
   3.2.20.1 — Design Controls Refinement Pass
   Fine-tunes the diagnostic bridge so Diseño controls feel intentional in both
   blank-template and active-theme rendering modes. Visual CSS only.
   ========================================================================== */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise {
  --lagb-premium-border: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 12%, #e5e7eb 88%);
  --lagb-premium-border-strong: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 22%, #d1d5db 78%);
  --lagb-premium-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  --lagb-premium-shadow-hover: 0 18px 44px rgba(15, 23, 42, 0.14);
  --lagb-card-radius: 16px;
  --lagb-button-radius: 10px;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business {
  --lagb-premium-border: color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 18%, #e5e7eb 82%);
  --lagb-premium-border-strong: color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 30%, #d1d5db 70%);
  --lagb-premium-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
  --lagb-premium-shadow-hover: 0 12px 28px rgba(15, 23, 42, 0.12);
  --lagb-card-radius: 14px;
  --lagb-button-radius: 999px;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual {
  --lagb-card-radius: 20px;
  --lagb-button-radius: 999px;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images {
  --lagb-card-radius: 8px;
  --lagb-button-radius: 8px;
  --lagb-premium-shadow: none;
  --lagb-premium-shadow-hover: none;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled blockquote.lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled .lag-cta,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map {
  border-radius: var(--lagb-card-radius, 16px) !important;
  box-shadow: var(--lagb-premium-shadow, 0 10px 28px rgba(15, 23, 42, 0.08)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card:hover {
  box-shadow: var(--lagb-premium-shadow-hover, 0 14px 36px rgba(15, 23, 42, 0.12)) !important;
  transform: translateY(-2px);
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-location-map {
  border-left: 4px solid color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 70%, #ffffff 30%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise .lag-navbar,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise .lag-section-cta {
  background: linear-gradient(135deg, var(--lagb-premium-primary, #0f172a), color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 84%, #111827 16%)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise .lag-section-cta .lag-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-section-cta .lag-cta {
  background: var(--lagb-premium-surface, #ffffff) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-multi-cta {
  gap: 8px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-multi-cta {
  gap: 16px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact blockquote.lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-cta {
  padding: min(var(--lagb-card-pad, 16px), 18px) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-section > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-services > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-products > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-testimonials > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-faqs > .wp-block-heading {
  margin-bottom: 26px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean.lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean .lag-hero.wp-block-cover {
  align-items: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean.lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean.lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean.lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean.lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean.lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-centered-clean .lag-hero .wp-block-buttons {
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-overlay-soft.lag-hero .wp-block-cover__background,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-overlay-soft .lag-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.86) 0%, rgba(15, 23, 42, 0.66) 52%, rgba(15, 23, 42, 0.30) 100%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image.lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image .lag-hero.wp-block-cover {
  background: linear-gradient(135deg, var(--lagb-premium-primary, #020617), color-mix(in srgb, var(--lagb-premium-primary, #020617) 76%, var(--lagb-premium-accent, #38bdf8) 24%)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image.lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image.lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image.lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image.lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image.lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-split-image .lag-hero .wp-block-buttons {
  max-width: 640px !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-compact-conversion.lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-hero-compact-conversion .lag-hero.wp-block-cover {
  min-height: clamp(320px, 40vh, 440px) !important;
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-featured-grid .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-showcase-cards .lag-product-card {
  border-top: 3px solid color-mix(in srgb, var(--lagb-premium-accent, #38bdf8) 72%, #ffffff 28%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-compact-list .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-minimal .lag-product-card {
  box-shadow: none !important;
  border: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial:first-of-type {
  border-left: 4px solid var(--lagb-premium-accent, #06b6d4) !important;
  background: color-mix(in srgb, var(--lagb-premium-accent, #06b6d4) 8%, #ffffff 92%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-faq-two-column .lag-faqs {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-faq-two-column .lag-faqs > .wp-block-heading {
  grid-column: 1 / -1 !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-cta-split-contact .lag-cta {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-cta-split-contact .lag-cta .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-cta-split-contact .lag-cta .lag-multi-cta {
  justify-content: flex-end !important;
  flex-shrink: 0 !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled .lag-sticky-cta__btn {
  min-height: 44px !important;
  border-radius: var(--lagb-button-radius, 10px) !important;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease, border-color 160ms ease, color 160ms ease !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .wp-block-button__link:not(.lag-product-select-btn):hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-multi-cta-link:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-navbar__cta:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-sticky-cta__btn:hover {
  transform: translateY(-1px);
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-enterprise .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-enterprise .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-enterprise .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-enterprise .lag-sticky-cta__btn,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-premium_visual .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-premium_visual .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-premium_visual .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-premium_visual .lag-sticky-cta__btn {
  background: linear-gradient(135deg, var(--lagb-premium-primary, #0f172a), color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 82%, var(--lagb-premium-accent, #06b6d4) 18%)) !important;
  background-color: var(--lagb-premium-primary, #0f172a) !important;
  border-color: transparent !important;
  color: var(--lagb-primary-on, #ffffff) !important;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-local_business .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-local_business .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-local_business .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-local_business .lag-sticky-cta__btn,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-beauty_elegant .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-beauty_elegant .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-beauty_elegant .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-beauty_elegant .lag-sticky-cta__btn {
  background: color-mix(in srgb, var(--lagb-premium-accent, #06b6d4) 14%, #ffffff 86%) !important;
  background-color: color-mix(in srgb, var(--lagb-premium-accent, #06b6d4) 14%, #ffffff 86%) !important;
  border: 1px solid color-mix(in srgb, var(--lagb-premium-accent, #06b6d4) 36%, #d1d5db 64%) !important;
  color: var(--lagb-primary-readable, var(--lagb-premium-primary, #0f172a)) !important;
  box-shadow: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-minimal .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-minimal .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-minimal .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-minimal .lag-sticky-cta__btn,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-no_images .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-no_images .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-no_images .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto.lagb-style-no_images .lag-sticky-cta__btn {
  background: transparent !important;
  background-color: transparent !important;
  border: 1px solid var(--lagb-premium-border-strong, #d1d5db) !important;
  color: var(--lagb-primary-readable, var(--lagb-premium-primary, #0f172a)) !important;
  box-shadow: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .lag-section-hero .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .lag-section-hero .lag-multi-cta-link {
  backdrop-filter: blur(2px);
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-solid .wp-block-button__link:not(.lag-product-select-btn):focus-visible,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-soft .wp-block-button__link:not(.lag-product-select-btn):focus-visible,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-outline .wp-block-button__link:not(.lag-product-select-btn):focus-visible,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-buttons-auto .wp-block-button__link:not(.lag-product-select-btn):focus-visible,
body.lag-landing-generated.lagb-design-controls-enabled .lag-multi-cta-link:focus-visible,
body.lag-landing-generated.lagb-design-controls-enabled .lag-navbar__cta:focus-visible,
body.lag-landing-generated.lagb-design-controls-enabled .lag-sticky-cta__btn:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--lagb-premium-accent, #06b6d4) 72%, #ffffff 28%) !important;
  outline-offset: 3px !important;
}

@media (max-width: 782px) {
  body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-faq-two-column .lag-faqs {
    display: block !important;
  }

  body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-cta-split-contact .lag-cta {
    display: block !important;
    text-align: center !important;
  }

  body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-cta-split-contact .lag-cta .wp-block-buttons,
  body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-cta-split-contact .lag-cta .lag-multi-cta {
    justify-content: center !important;
  }
}

/* ===========================================================================
   3.2.20.2 — Design Controls Hero/No-Images Polish Pass
   Experimental visual polish for the Diseño branch. CSS-only refinements plus
   a PHP template cleanup that stops adding hero trust chips in new generations.
   ========================================================================== */

/* 1) Hero cleanup: remove the 3 check/trust chips from already-generated pages.
   New pages no longer receive this block by default from PHP. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-hero .lag-hero-trust-row,
body.lag-landing-generated.lagb-design-controls-enabled .lag-hero .lag-hero-trust-row,
body.lag-blank-template .lag-section-hero .lag-hero-trust-row,
body.lag-blank-template .lag-hero .lag-hero-trust-row {
  display: none !important;
}

/* 2) Premium visual / split hero: remove the decorative empty glass frame that
   could look like a broken or missing image placeholder. */
body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container::after,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-cover__inner-container::after,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after {
  content: none !important;
  display: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-style-premium_visual .lag-hero.wp-block-cover {
  overflow: hidden !important;
  isolation: isolate;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero.wp-block-cover::before,
body.lag-blank-template.lagb-style-premium_visual .lag-hero.wp-block-cover::before {
  content: "";
  position: absolute;
  inset: auto -12% -34% auto;
  width: min(42vw, 440px);
  height: min(42vw, 440px);
  border-radius: 999px;
  background: radial-gradient(circle, color-mix(in srgb, var(--lagb-premium-accent, #38bdf8) 42%, transparent 58%) 0%, transparent 68%);
  opacity: 0.42;
  pointer-events: none;
  z-index: 1;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container {
  z-index: 2;
}

/* 3) Enterprise sin imágenes decorativas: make the image-free preset feel like
   an intentional editorial layout rather than just hidden photos. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images,
body.lag-blank-template.lagb-style-no_images {
  --lagb-card-radius: 12px;
  --lagb-button-radius: 8px;
  --lagb-premium-shadow: none;
  --lagb-premium-shadow-hover: 0 8px 24px rgba(15, 23, 42, 0.08);
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-style-no_images .lag-hero.wp-block-cover {
  min-height: clamp(390px, 54vh, 560px) !important;
  background:
    radial-gradient(circle at 12% 18%, color-mix(in srgb, var(--lagb-premium-accent, #06b6d4) 24%, transparent 76%) 0%, transparent 30%),
    linear-gradient(135deg, var(--lagb-premium-primary, #0f172a) 0%, color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 78%, var(--lagb-premium-accent, #06b6d4) 22%) 100%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero img.wp-block-cover__image-background,
body.lag-blank-template.lagb-style-no_images .lag-hero img.wp-block-cover__image-background,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero .wp-block-cover__background,
body.lag-blank-template.lagb-style-no_images .lag-hero .wp-block-cover__background {
  display: none !important;
  opacity: 0 !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero p,
body.lag-blank-template.lagb-style-no_images .lag-hero h1,
body.lag-blank-template.lagb-style-no_images .lag-hero h2,
body.lag-blank-template.lagb-style-no_images .lag-hero h3,
body.lag-blank-template.lagb-style-no_images .lag-hero p {
  color: #ffffff !important;
  text-shadow: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-about-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-service-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-product-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-testimonial-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-faq-image,
body.lag-blank-template.lagb-style-no_images .lag-about-image,
body.lag-blank-template.lagb-style-no_images .lag-service-image,
body.lag-blank-template.lagb-style-no_images .lag-product-image,
body.lag-blank-template.lagb-style-no_images .lag-testimonial-image,
body.lag-blank-template.lagb-style-no_images .lag-faq-image {
  display: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-about-columns,
body.lag-blank-template.lagb-style-no_images .lag-about-columns {
  justify-content: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-about-text,
body.lag-blank-template.lagb-style-no_images .lag-about-text {
  flex-basis: 100% !important;
  max-width: 920px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-testimonial,
body.lag-blank-template.lagb-style-no_images .lag-service-card,
body.lag-blank-template.lagb-style-no_images .lag-product-card,
body.lag-blank-template.lagb-style-no_images .lag-faq-item,
body.lag-blank-template.lagb-style-no_images .lag-testimonial {
  border: 1px solid var(--lagb-premium-border, #e5e7eb) !important;
  border-left: 4px solid color-mix(in srgb, var(--lagb-premium-accent, #06b6d4) 58%, var(--lagb-premium-primary, #0f172a) 42%) !important;
  box-shadow: var(--lagb-premium-shadow, none) !important;
}

/* 4) Beauty / wellness elegante: extend the warm style more consistently to
   theme-template pages and keep it intentional when selected manually. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant,
body.lag-blank-template.lagb-style-beauty_elegant {
  --lagb-premium-primary: #4a2f35;
  --lagb-premium-accent: #c28b73;
  --lagb-premium-bg: #fff8f5;
  --lagb-premium-surface: #fffdfb;
  --lagb-premium-border: #eadbd4;
  --lagb-premium-border-strong: #d9bbae;
  --lagb-premium-text: #2a2324;
  --lagb-premium-muted: #6f5b58;
  --lagb-card-radius: 18px;
  --lagb-button-radius: 999px;
  --lagb-premium-shadow: 0 12px 30px rgba(74, 47, 53, 0.08);
  --lagb-premium-shadow-hover: 0 16px 38px rgba(74, 47, 53, 0.12);
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-navbar,
body.lag-blank-template.lagb-style-beauty_elegant .lag-navbar {
  background: linear-gradient(135deg, #4a2f35 0%, #6f4743 100%) !important;
  border-bottom-color: rgba(255, 255, 255, 0.16) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-style-beauty_elegant .lag-hero.wp-block-cover {
  background:
    radial-gradient(circle at 80% 12%, rgba(194, 139, 115, 0.30) 0%, transparent 34%),
    linear-gradient(135deg, #4a2f35 0%, #7a5149 52%, #c28b73 100%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-hero .wp-block-cover__background,
body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(74, 47, 53, 0.84) 0%, rgba(74, 47, 53, 0.62) 54%, rgba(74, 47, 53, 0.28) 100%) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-section,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section {
  background-color: var(--lagb-premium-bg, #fff8f5) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-mid-cta,
body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-card,
body.lag-blank-template.lagb-style-beauty_elegant .lag-testimonial,
body.lag-blank-template.lagb-style-beauty_elegant .lag-faq-item,
body.lag-blank-template.lagb-style-beauty_elegant .lag-cta,
body.lag-blank-template.lagb-style-beauty_elegant .lag-mid-cta {
  background: var(--lagb-premium-surface, #fffdfb) !important;
  border-color: var(--lagb-premium-border, #eadbd4) !important;
  border-radius: var(--lagb-card-radius, 18px) !important;
  box-shadow: var(--lagb-premium-shadow, 0 12px 30px rgba(74, 47, 53, 0.08)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-service-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-product-card:hover,
body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card:hover,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-card:hover {
  box-shadow: var(--lagb-premium-shadow-hover, 0 16px 38px rgba(74, 47, 53, 0.12)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant.lagb-buttons-auto .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant.lagb-buttons-auto .lag-multi-cta-link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant.lagb-buttons-soft .wp-block-button__link:not(.lag-product-select-btn),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant.lagb-buttons-soft .lag-multi-cta-link,
body.lag-blank-template.lagb-style-beauty_elegant.lagb-buttons-auto .wp-block-button__link:not(.lag-product-select-btn),
body.lag-blank-template.lagb-style-beauty_elegant.lagb-buttons-auto .lag-multi-cta-link,
body.lag-blank-template.lagb-style-beauty_elegant.lagb-buttons-soft .wp-block-button__link:not(.lag-product-select-btn),
body.lag-blank-template.lagb-style-beauty_elegant.lagb-buttons-soft .lag-multi-cta-link {
  background: color-mix(in srgb, #c28b73 18%, #fffdfb 82%) !important;
  border: 1px solid color-mix(in srgb, #c28b73 42%, #eadbd4 58%) !important;
  color: #4a2f35 !important;
  box-shadow: none !important;
}

@media (max-width: 782px) {
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero.wp-block-cover::before,
  body.lag-blank-template.lagb-style-premium_visual .lag-hero.wp-block-cover::before {
    display: none !important;
  }

  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero.wp-block-cover,
  body.lag-blank-template.lagb-style-no_images .lag-hero.wp-block-cover {
    min-height: clamp(340px, 48vh, 470px) !important;
  }
}


/* ===========================================================================
   3.2.20.3 — Design Controls Premium Visual Cleanup Pass
   Experimental follow-up for the Diseño branch.
   Goal: Camino 1 = hide the empty right-side premium panel when it has no real
   content, and more aggressively remove the 3 hero trust checks/chips.
   ========================================================================== */

/* A) Hero trust/check cleanup — broader coverage for generated pages and the
   blank template. This removes trust rows, chips, badge lists and similar
   helper blocks only inside the hero section. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-hero .lag-hero-trust-row,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-hero .lag-hero-bullets,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-hero .lag-hero-trust,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-hero .lag-hero-badges,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-hero .lag-trust-chip,
body.lag-landing-generated.lagb-design-controls-enabled .lag-hero .lag-hero-trust-row,
body.lag-landing-generated.lagb-design-controls-enabled .lag-hero .lag-hero-bullets,
body.lag-landing-generated.lagb-design-controls-enabled .lag-hero .lag-hero-trust,
body.lag-landing-generated.lagb-design-controls-enabled .lag-hero .lag-hero-badges,
body.lag-landing-generated.lagb-design-controls-enabled .lag-hero .lag-trust-chip,
body.lag-blank-template .lag-section-hero .lag-hero-trust-row,
body.lag-blank-template .lag-section-hero .lag-hero-bullets,
body.lag-blank-template .lag-section-hero .lag-hero-trust,
body.lag-blank-template .lag-section-hero .lag-hero-badges,
body.lag-blank-template .lag-section-hero .lag-trust-chip,
body.lag-blank-template .lag-hero .lag-hero-trust-row,
body.lag-blank-template .lag-hero .lag-hero-bullets,
body.lag-blank-template .lag-hero .lag-hero-trust,
body.lag-blank-template .lag-hero .lag-hero-badges,
body.lag-blank-template .lag-hero .lag-trust-chip {
  display: none !important;
  visibility: hidden !important;
  max-height: 0 !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* B) Camino 1 — Premium visual / split hero. Remove the decorative empty box
   on the right side when it does not carry useful content, and let the text
   area breathe a little more. Placed at the end of the stylesheet so it wins
   against earlier design-control declarations. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-cover__inner-container::after,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after,
body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container::after,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container::after {
  content: none !important;
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container {
  position: relative !important;
  max-width: min(1120px, calc(100% - 40px)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-style-premium_visual .lag-hero h1,
body.lag-blank-template.lagb-style-premium_visual .lag-hero h2,
body.lag-blank-template.lagb-style-premium_visual .lag-hero h3,
body.lag-blank-template.lagb-style-premium_visual .lag-hero p,
body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-hero-split .lag-hero h1,
body.lag-blank-template.lagb-hero-split .lag-hero h2,
body.lag-blank-template.lagb-hero-split .lag-hero h3,
body.lag-blank-template.lagb-hero-split .lag-hero p,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-buttons {
  max-width: min(760px, 100%) !important;
}

@media (max-width: 782px) {
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-cover__inner-container,
  body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
  body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container {
    max-width: calc(100% - 24px) !important;
  }
}


/* ===========================================================================
   3.2.20.4 — Design Controls Hero Center & Color Uniformity Pass
   Experimental follow-up for the Diseño branch.
   Goals: center Premium visual hero content after removing the empty right
   panel, unify card/section accents with the selected design colors, and center
   the footer.
   ========================================================================== */

/* 1) Premium visual / split hero: with the empty right panel removed, the hero
   should read as a centered premium cover instead of a left-only layout. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-style-premium_visual .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-hero-split .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero.wp-block-cover {
  align-items: center !important;
  justify-content: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-cover__inner-container,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .lag-hero-content,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .lag-hero-content,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .lag-hero-content,
body.lag-blank-template.lagb-style-premium_visual .lag-hero .lag-hero-content,
body.lag-blank-template.lagb-hero-split .lag-hero .lag-hero-content,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .lag-hero-content {
  width: min(820px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .lag-multi-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .lag-multi-cta,
body.lag-blank-template.lagb-style-premium_visual .lag-hero h1,
body.lag-blank-template.lagb-style-premium_visual .lag-hero h2,
body.lag-blank-template.lagb-style-premium_visual .lag-hero h3,
body.lag-blank-template.lagb-style-premium_visual .lag-hero p,
body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-style-premium_visual .lag-hero .lag-multi-cta,
body.lag-blank-template.lagb-hero-split .lag-hero h1,
body.lag-blank-template.lagb-hero-split .lag-hero h2,
body.lag-blank-template.lagb-hero-split .lag-hero h3,
body.lag-blank-template.lagb-hero-split .lag-hero p,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-hero-split .lag-hero .lag-multi-cta {
  max-width: min(820px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  justify-content: center !important;
}

/* 2) Color uniformity: avoid isolated bright top bars on service/product cards
   and other sections. Use a soft token derived from the selected design colors. */
body.lag-landing-generated.lagb-design-controls-enabled,
body.lag-blank-template {
  --lagb-design-accent-soft: color-mix(in srgb, var(--lagb-premium-accent, #38bdf8) 22%, var(--lagb-premium-primary, #0f172a) 18%, var(--lagb-premium-border, #e5e7eb) 60%);
  --lagb-design-accent-line: color-mix(in srgb, var(--lagb-premium-accent, #38bdf8) 28%, var(--lagb-premium-primary, #0f172a) 16%, #ffffff 56%);
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-featured-grid .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-showcase-cards .lag-product-card,
body.lag-blank-template.lagb-style-premium_visual .lag-service-card,
body.lag-blank-template.lagb-style-premium_visual .lag-product-card,
body.lag-blank-template.lagb-style-premium_visual .lag-faq-item,
body.lag-blank-template.lagb-style-premium_visual .lag-testimonial,
body.lag-blank-template .lagb-variant-services-featured-grid .lag-service-card,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-card {
  border-top-width: 1px !important;
  border-top-color: var(--lagb-design-accent-soft, var(--lagb-premium-border, #e5e7eb)) !important;
  border-color: var(--lagb-design-accent-soft, var(--lagb-premium-border, #e5e7eb)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card .lag-service-image,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card .lag-product-image,
body.lag-blank-template .lag-service-card .lag-service-image,
body.lag-blank-template .lag-product-card .lag-product-image {
  border-top: 0 !important;
  border-color: transparent !important;
  box-shadow: none !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-section-location .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-location .lag-location-map,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map,
body.lag-blank-template .lag-section-location .lag-location-text,
body.lag-blank-template .lag-section-location .lag-location-map,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map {
  border-color: var(--lagb-design-accent-soft, var(--lagb-premium-border, #e5e7eb)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-location-map,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-location-clean-card .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-location-clean-card .lag-location-map,
body.lag-blank-template.lagb-style-local_business .lag-location-text,
body.lag-blank-template.lagb-style-local_business .lag-location-map,
body.lag-blank-template .lagb-variant-location-clean-card .lag-location-text,
body.lag-blank-template .lagb-variant-location-clean-card .lag-location-map {
  border-left-color: var(--lagb-design-accent-line, var(--lagb-premium-accent, #38bdf8)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial:first-of-type,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type,
body.lag-blank-template .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial:first-of-type {
  border-left-color: var(--lagb-design-accent-line, var(--lagb-premium-accent, #38bdf8)) !important;
  border-top-color: var(--lagb-design-accent-soft, var(--lagb-premium-border, #e5e7eb)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-section-faqs .lag-faq-item,
body.lag-blank-template .lag-section-faqs .lag-faq-item {
  border-color: var(--lagb-design-accent-soft, var(--lagb-premium-border, #e5e7eb)) !important;
}

/* 3) Footer: center the generated footer and the blank-template footer so the
   closing area feels aligned with the rest of the landing. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-blank-footer,
body.lag-landing-generated.lagb-design-controls-enabled .site-footer,
body.lag-landing-generated.lagb-design-controls-enabled footer,
body.lag-blank-template .lag-blank-footer,
body.lag-blank-template .site-footer,
body.lag-blank-template footer {
  text-align: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-blank-footer-inner,
body.lag-blank-template .lag-blank-footer-inner {
  justify-content: center !important;
  flex-direction: column !important;
  text-align: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-blank-footer-brand,
body.lag-landing-generated.lagb-design-controls-enabled .lag-blank-footer-copy,
body.lag-blank-template .lag-blank-footer-brand,
body.lag-blank-template .lag-blank-footer-copy {
  text-align: center !important;
}


/* ===========================================================================
   3.2.20.5 — Design Controls Hero Center & Accent Lines Pass
   Experimental follow-up for the Diseño branch.
   Goals: make hero centering actually win in Premium visual / Split, and revert
   the extra full-border boxes introduced in 3.2.20.4 while preserving only
   soft accent lines that match the preset colors.
   ========================================================================== */

/* 1) Premium visual / split hero — stronger centering pass.
   Match the earlier selector specificity so the old left alignment no longer wins. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container > *,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-cover__inner-container > *,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-cover__inner-container > *,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-cover__inner-container > * {
  margin-left: auto !important;
  margin-right: auto !important;
  align-self: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .lag-hero-content,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .lag-hero-content,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .lag-hero-content,
body.lag-blank-template.lagb-hero-split .lag-hero .lag-hero-content {
  width: min(820px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .lag-multi-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero h3,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .lag-multi-cta,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h1,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h2,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero h3,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero p,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .lag-multi-cta,
body.lag-blank-template.lagb-hero-split .lag-hero h1,
body.lag-blank-template.lagb-hero-split .lag-hero h2,
body.lag-blank-template.lagb-hero-split .lag-hero h3,
body.lag-blank-template.lagb-hero-split .lag-hero p,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-hero-split .lag-hero .lag-multi-cta {
  max-width: min(820px, 100%) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
  justify-content: center !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-hero-split .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-hero-auto.lagb-style-premium_visual .lag-hero .wp-block-buttons,
body.lag-blank-template.lagb-hero-split .lag-hero .wp-block-buttons {
  justify-content: center !important;
}

/* 2) Accent lines only — revert the extra full-border look from 3.2.20.4.
   Restore normal borders and keep only soft top/side accent cues. */
body.lag-landing-generated.lagb-design-controls-enabled,
body.lag-blank-template {
  --lagb-design-accent-soft: color-mix(in srgb, var(--lagb-premium-accent, #38bdf8) 18%, var(--lagb-premium-primary, #0f172a) 10%, #ffffff 72%);
  --lagb-design-accent-line: color-mix(in srgb, var(--lagb-premium-accent, #38bdf8) 24%, var(--lagb-premium-primary, #0f172a) 18%, #ffffff 58%);
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map,
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map {
  border-color: var(--lagb-premium-border, #e5e7eb) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card {
  border-top-width: 2px !important;
  border-top-style: solid !important;
  border-top-color: var(--lagb-design-accent-line, var(--lagb-premium-accent, #38bdf8)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template .lag-faq-item {
  border-top-width: 2px !important;
  border-top-style: solid !important;
  border-top-color: var(--lagb-design-accent-soft, var(--lagb-premium-border, #e5e7eb)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map {
  border-left-width: 3px !important;
  border-left-style: solid !important;
  border-left-color: var(--lagb-design-accent-line, var(--lagb-premium-accent, #38bdf8)) !important;
}

/* Keep image wrappers neutral so only the intended accent lines remain. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-service-image,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-image,
body.lag-blank-template .lag-service-image,
body.lag-blank-template .lag-product-image {
  border-top: 0 !important;
  box-shadow: none !important;
}


/* ===========================================================================
   3.2.20.6 — Design Controls Border Cleanup & Accent Tone Pass
   Experimental follow-up for the Diseño branch.
   Goal: remove black/heavy frames from section cards while keeping only subtle
   visual separation, and replace cyan/light-green accents with tones derived
   from the selected design preset.
   ========================================================================== */

body.lag-landing-generated.lagb-design-controls-enabled,
body.lag-blank-template {
  --lagb-design-frame-neutral: color-mix(in srgb, var(--lagb-premium-border, #e5e7eb) 76%, #ffffff 24%);
  --lagb-design-frame-transparent: rgba(15, 23, 42, 0.06);
  --lagb-design-tone: var(--lagb-premium-primary, #0f172a);
  --lagb-design-tone-soft: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 12%, #ffffff 88%);
  --lagb-design-tone-line: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 42%, var(--lagb-premium-border, #e5e7eb) 58%);
  --lagb-design-tone-pill: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 8%, #ffffff 92%);
  --lagb-design-tone-pill-border: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 18%, #ffffff 82%);
}

/* 1) Remove heavy black/full-frame borders from the main generated sections. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map,
body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled blockquote.lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled .lag-cta,
body.lag-landing-generated.lagb-design-controls-enabled .lag-mid-cta,
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template blockquote.lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-cta,
body.lag-blank-template .lag-mid-cta {
  border-color: transparent !important;
  outline: none !important;
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card--interactive:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map:hover,
body.lag-blank-template .lag-service-card:hover,
body.lag-blank-template .lag-product-card:hover,
body.lag-blank-template .lag-product-card--interactive:hover,
body.lag-blank-template .lag-location-text:hover,
body.lag-blank-template .lag-location-map:hover {
  border-color: transparent !important;
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.075) !important;
}

/* 2) Keep only a subtle preset-colored accent line where useful, never a full
   dark outline. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card {
  border-top: 2px solid var(--lagb-design-tone-line, var(--lagb-premium-border, #e5e7eb)) !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled blockquote.lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template blockquote.lag-testimonial,
body.lag-blank-template .lag-faq-item {
  border-top: 1px solid var(--lagb-design-frame-neutral, #e5e7eb) !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
}

/* 3) Ubicación: remove the black frame and retone the left line, bullets and
   contact pills to the design palette. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map {
  border: 1px solid transparent !important;
  border-left: 3px solid var(--lagb-design-tone-line, var(--lagb-premium-primary, #0f172a)) !important;
  background: #ffffff !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text::before,
body.lag-blank-template .lag-location-text::before {
  background: linear-gradient(
    180deg,
    var(--lagb-design-tone, var(--lagb-premium-primary, #0f172a)),
    color-mix(in srgb, var(--lagb-design-tone, var(--lagb-premium-primary, #0f172a)) 24%, transparent)
  ) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-location-subheading::before,
body.lag-blank-template .lag-location-subheading::before,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-location .lag-location-subheading::before,
body.lag-blank-template .lag-section-location .lag-location-subheading::before {
  background: var(--lagb-design-tone, var(--lagb-premium-primary, #0f172a)) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lagb-design-tone, var(--lagb-premium-primary, #0f172a)) 12%, transparent) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-location-contact-text a,
body.lag-blank-template .lag-location-contact-text a,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-location .lag-location-contact-text a,
body.lag-blank-template .lag-section-location .lag-location-contact-text a {
  border-color: var(--lagb-design-tone-pill-border, #e5e7eb) !important;
  background: var(--lagb-design-tone-pill, #f8fafc) !important;
  color: var(--lagb-design-tone, var(--lagb-premium-primary, #0f172a)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-location-contact-text a:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-contact-text a:focus,
body.lag-blank-template .lag-location-contact-text a:hover,
body.lag-blank-template .lag-location-contact-text a:focus,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-location .lag-location-contact-text a:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-location .lag-location-contact-text a:focus,
body.lag-blank-template .lag-section-location .lag-location-contact-text a:hover,
body.lag-blank-template .lag-section-location .lag-location-contact-text a:focus {
  border-color: color-mix(in srgb, var(--lagb-design-tone, var(--lagb-premium-primary, #0f172a)) 28%, #ffffff 72%) !important;
  background: color-mix(in srgb, var(--lagb-design-tone, var(--lagb-premium-primary, #0f172a)) 12%, #ffffff 88%) !important;
}

/* 4) Remove residual colored frames created by earlier design-control passes. */
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial:first-of-type,
body.lag-blank-template .lagb-variant-testimonials-featured-quote .lag-testimonial:first-of-type,
body.lag-blank-template .lagb-variant-testimonials-featured-quote blockquote.lag-testimonial:first-of-type {
  border-left-color: transparent !important;
  border-top-color: var(--lagb-design-frame-neutral, #e5e7eb) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-section-faqs .lag-faq-item,
body.lag-blank-template .lag-section-faqs .lag-faq-item {
  border-color: transparent !important;
  border-top-color: var(--lagb-design-frame-neutral, #e5e7eb) !important;
}


/* ===========================================================================
   3.2.20.7 — Design Controls Frame Removal Pass
   Experimental follow-up for the Diseño branch.
   Goal: remove the remaining visible black/heavy frames by zeroing the actual
   borders and using only shadows + subtle internal accent lines.
   ========================================================================== */

body.lag-landing-generated.lagb-design-controls-enabled,
body.lag-blank-template {
  --lagb-design-surface-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
  --lagb-design-surface-shadow-hover: 0 16px 38px rgba(15, 23, 42, 0.072);
  --lagb-design-accent-softline: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 18%, #ffffff 82%);
  --lagb-design-accent-strongline: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 34%, var(--lagb-premium-border, #e5e7eb) 66%);
}

/* 1) Remove full borders/outlines from the main section cards and blocks. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map,
body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled blockquote.lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled .lag-cta,
body.lag-landing-generated.lagb-design-controls-enabled .lag-mid-cta,
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template blockquote.lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-cta,
body.lag-blank-template .lag-mid-cta {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: var(--lagb-design-surface-shadow) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card--interactive:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item[open],
body.lag-blank-template .lag-service-card:hover,
body.lag-blank-template .lag-product-card:hover,
body.lag-blank-template .lag-product-card--interactive:hover,
body.lag-blank-template .lag-location-text:hover,
body.lag-blank-template .lag-location-map:hover,
body.lag-blank-template .lag-testimonial:hover,
body.lag-blank-template .lag-faq-item[open] {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: var(--lagb-design-surface-shadow-hover) !important;
}

/* 2) Add only internal accent hints, never full frames. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card {
  box-shadow: inset 0 2px 0 var(--lagb-design-accent-strongline), var(--lagb-design-surface-shadow) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled blockquote.lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled .lag-cta,
body.lag-landing-generated.lagb-design-controls-enabled .lag-mid-cta,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template blockquote.lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-cta,
body.lag-blank-template .lag-mid-cta {
  box-shadow: inset 0 1px 0 var(--lagb-design-accent-softline), var(--lagb-design-surface-shadow) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map {
  box-shadow: inset 3px 0 0 var(--lagb-design-accent-strongline), var(--lagb-design-surface-shadow) !important;
  background: #ffffff !important;
}

/* 3) Neutralize any previously assigned border side values from prior passes. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled blockquote.lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-map,
body.lag-blank-template .lag-service-card,
body.lag-blank-template .lag-product-card,
body.lag-blank-template .lag-testimonial,
body.lag-blank-template blockquote.lag-testimonial,
body.lag-blank-template .lag-faq-item,
body.lag-blank-template .lag-location-text,
body.lag-blank-template .lag-location-map {
  border-top: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-left: 0 !important;
}

/* 4) Keep location/contact accent tones aligned with the preset. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-location-subheading::before,
body.lag-blank-template .lag-location-subheading::before,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-location .lag-location-subheading::before,
body.lag-blank-template .lag-section-location .lag-location-subheading::before {
  background: var(--lagb-premium-primary, #0f172a) !important;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 10%, transparent) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lag-location-contact-text a,
body.lag-blank-template .lag-location-contact-text a,
body.lag-landing-generated.lagb-design-controls-enabled .lag-section-location .lag-location-contact-text a,
body.lag-blank-template .lag-section-location .lag-location-contact-text a {
  border-color: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 16%, #ffffff 84%) !important;
  background: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 8%, #ffffff 92%) !important;
  color: var(--lagb-premium-primary, #0f172a) !important;
}


/* ===========================================================================
   3.2.20.8 — Design Controls Services/Products Border Fix Pass
   Experimental follow-up for the Diseño branch.
   Goal: explicitly neutralize variant-specific borders that still persisted only
   in Services and Products after the general frame cleanup.
   ========================================================================== */

/* 1) Services & Products variants — remove residual full borders and top bars. */
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-card-grid .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-featured-grid .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-compact-list .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-clean-grid .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-showcase-cards .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-minimal .lag-product-card,
body.lag-blank-template .lagb-variant-services-card-grid .lag-service-card,
body.lag-blank-template .lagb-variant-services-featured-grid .lag-service-card,
body.lag-blank-template .lagb-variant-services-compact-list .lag-service-card,
body.lag-blank-template .lagb-variant-products-clean-grid .lag-product-card,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-card,
body.lag-blank-template .lagb-variant-products-minimal .lag-product-card {
  border: 0 !important;
  border-top: 0 !important;
  outline: 0 !important;
  box-shadow: inset 0 2px 0 var(--lagb-design-accent-strongline, color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 34%, var(--lagb-premium-border, #e5e7eb) 66%)), var(--lagb-design-surface-shadow, 0 14px 34px rgba(15,23,42,0.055)) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-card-grid .lag-service-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-featured-grid .lag-service-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-compact-list .lag-service-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-clean-grid .lag-product-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-showcase-cards .lag-product-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-minimal .lag-product-card:hover,
body.lag-blank-template .lagb-variant-services-card-grid .lag-service-card:hover,
body.lag-blank-template .lagb-variant-services-featured-grid .lag-service-card:hover,
body.lag-blank-template .lagb-variant-services-compact-list .lag-service-card:hover,
body.lag-blank-template .lagb-variant-products-clean-grid .lag-product-card:hover,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-card:hover,
body.lag-blank-template .lagb-variant-products-minimal .lag-product-card:hover {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: inset 0 2px 0 var(--lagb-design-accent-strongline, color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 34%, var(--lagb-premium-border, #e5e7eb) 66%)), var(--lagb-design-surface-shadow-hover, 0 16px 38px rgba(15,23,42,0.072)) !important;
}

/* 2) Kill decorative pseudo-elements that read like dark frames/top bars. */
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-services-featured-grid .lag-service-card::before,
body.lag-landing-generated.lagb-design-controls-enabled .lagb-variant-products-showcase-cards .lag-product-card::before,
body.lag-blank-template .lagb-variant-services-featured-grid .lag-service-card::before,
body.lag-blank-template .lagb-variant-products-showcase-cards .lag-product-card::before {
  content: none !important;
  display: none !important;
}

/* 3) Neutralize any row/column wrapper borders that could still outline cards. */
body.lag-landing-generated.lagb-design-controls-enabled .lag-services .wp-block-column,
body.lag-landing-generated.lagb-design-controls-enabled .lag-products .wp-block-column,
body.lag-blank-template .lag-services .wp-block-column,
body.lag-blank-template .lag-products .wp-block-column {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}


/* ===========================================================================
   3.2.20.9 — Design Controls Compact Density Optimization Pass
   Experimental follow-up for the Diseño branch.
   Goal: make Diseño / Densidad visual / Compacta visibly reduce vertical air,
   section height, gaps and card padding without touching IA/generation logic.
   ========================================================================== */

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact,
body.lag-blank-template.lagb-density-compact {
  --lag-enterprise-section-y: 34px;
  --lag-enterprise-section-y-mobile: 26px;
  --lagb-hero-min: 330px;
  --lagb-hero-pad: 42px;
  --lagb-card-pad: 14px;
  --lagb-density-section-gap: 34px;
  --lagb-density-section-gap-mobile: 26px;
  --lagb-density-row-gap: 16px;
  --lagb-density-heading-gap: 12px;
}

/* 1) Reduce section vertical air. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-services,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-products,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section-about,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section-location,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section-testimonials,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section-faqs,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section-cta,
body.lag-blank-template.lagb-density-compact .lag-section,
body.lag-blank-template.lagb-density-compact .lag-services,
body.lag-blank-template.lagb-density-compact .lag-products,
body.lag-blank-template.lagb-density-compact .lag-section-about,
body.lag-blank-template.lagb-density-compact .lag-section-location,
body.lag-blank-template.lagb-density-compact .lag-section-testimonials,
body.lag-blank-template.lagb-density-compact .lag-section-faqs,
body.lag-blank-template.lagb-density-compact .lag-section-cta {
  padding-top: var(--lagb-density-section-gap, 34px) !important;
  padding-bottom: var(--lagb-density-section-gap, 34px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* 2) Reduce native Gutenberg block spacing between adjacent generated sections. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .entry-content > .lag-section + .lag-section,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .entry-content > .lag-section + .lag-services,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .entry-content > .lag-services + .lag-section,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .entry-content > .lag-products + .lag-section,
body.lag-blank-template.lagb-density-compact .entry-content > .lag-section + .lag-section,
body.lag-blank-template.lagb-density-compact .entry-content > .lag-section + .lag-services,
body.lag-blank-template.lagb-density-compact .entry-content > .lag-services + .lag-section,
body.lag-blank-template.lagb-density-compact .entry-content > .lag-products + .lag-section {
  margin-top: 0 !important;
}

/* 3) Reduce heading/subheading air. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-services > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-products > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-testimonials > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-faqs > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section h2:first-child,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section h3:first-child,
body.lag-blank-template.lagb-density-compact .lag-section > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-services > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-products > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-testimonials > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-faqs > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-section h2:first-child,
body.lag-blank-template.lagb-density-compact .lag-section h3:first-child {
  margin-top: 0 !important;
  margin-bottom: var(--lagb-density-heading-gap, 12px) !important;
}

/* 4) Reduce row/column gaps. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .wp-block-columns,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-services-row,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-products-row,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-location-columns,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-about-columns,
body.lag-blank-template.lagb-density-compact .wp-block-columns,
body.lag-blank-template.lagb-density-compact .lag-services-row,
body.lag-blank-template.lagb-density-compact .lag-products-row,
body.lag-blank-template.lagb-density-compact .lag-location-columns,
body.lag-blank-template.lagb-density-compact .lag-about-columns {
  gap: var(--lagb-density-row-gap, 16px) !important;
}

/* 5) Reduce card/block internal padding. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-location-text,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-location-map,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact blockquote.lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-mid-cta,
body.lag-blank-template.lagb-density-compact .lag-service-card,
body.lag-blank-template.lagb-density-compact .lag-product-card,
body.lag-blank-template.lagb-density-compact .lag-location-text,
body.lag-blank-template.lagb-density-compact .lag-location-map,
body.lag-blank-template.lagb-density-compact .lag-testimonial,
body.lag-blank-template.lagb-density-compact blockquote.lag-testimonial,
body.lag-blank-template.lagb-density-compact .lag-faq-item,
body.lag-blank-template.lagb-density-compact .lag-cta,
body.lag-blank-template.lagb-density-compact .lag-mid-cta {
  padding: var(--lagb-card-pad, 14px) !important;
}

/* 6) Reduce image/card inner air without cropping too aggressively. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-service-image,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-product-image,
body.lag-blank-template.lagb-density-compact .lag-service-image,
body.lag-blank-template.lagb-density-compact .lag-product-image {
  margin-bottom: 10px !important;
}

/* 7) CTA and button groups: tighter but still tappable. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-multi-cta,
body.lag-blank-template.lagb-density-compact .wp-block-buttons,
body.lag-blank-template.lagb-density-compact .lag-multi-cta {
  gap: 8px !important;
  margin-top: 12px !important;
  margin-bottom: 0 !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-multi-cta-link,
body.lag-blank-template.lagb-density-compact .wp-block-button__link,
body.lag-blank-template.lagb-density-compact .lag-multi-cta-link {
  min-height: 40px !important;
  padding-top: 9px !important;
  padding-bottom: 9px !important;
}

/* 8) Hero compact density: reduce height but preserve readability. */
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero.wp-block-cover,
body.lag-blank-template.lagb-density-compact .lag-hero.wp-block-cover {
  min-height: clamp(330px, 46vh, 500px) !important;
  padding-top: var(--lagb-hero-pad, 42px) !important;
  padding-bottom: var(--lagb-hero-pad, 42px) !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero h2,
body.lag-blank-template.lagb-density-compact .lag-hero h1,
body.lag-blank-template.lagb-density-compact .lag-hero h2 {
  margin-bottom: 12px !important;
}

body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero p,
body.lag-blank-template.lagb-density-compact .lag-hero p {
  margin-bottom: 10px !important;
}

/* 9) Mobile compact density: reduce further while keeping touch comfort. */
@media (max-width: 782px) {
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact,
  body.lag-blank-template.lagb-density-compact {
    --lagb-density-section-gap: var(--lagb-density-section-gap-mobile, 26px);
    --lagb-density-row-gap: 12px;
    --lagb-density-heading-gap: 10px;
    --lagb-card-pad: 12px;
    --lagb-hero-pad: 34px;
  }

  body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero.wp-block-cover,
  body.lag-blank-template.lagb-density-compact .lag-hero.wp-block-cover {
    min-height: clamp(300px, 42vh, 430px) !important;
  }
}

/* ===========================================================================
   3.2.40 — Design Presets Differentiation Pass
   Objetivo: premium + limpio + conversión. Diferenciar los 6 presets.
   Alcance: plantilla en blanco + landings generadas con design-controls.
   No toca: IA, parser, imágenes, seguridad, JS metabox.
   =========================================================================== */

/* Shared premium-clean baseline when design controls are active on blank. */
body.lag-blank-template.lagb-style-enterprise,
body.lag-blank-template.lagb-style-minimal,
body.lag-blank-template.lagb-style-local_business,
body.lag-blank-template.lagb-style-premium_visual,
body.lag-blank-template.lagb-style-beauty_elegant,
body.lag-blank-template.lagb-style-no_images,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images {
  --lagb-p40-card-radius: 14px;
  --lagb-p40-btn-radius: 10px;
  --lagb-p40-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  --lagb-p40-shadow-hover: 0 16px 36px rgba(15, 23, 42, 0.12);
  --lagb-p40-border: color-mix(in srgb, var(--lagb-premium-primary, #0f172a) 10%, #e5e7eb 90%);
}

/* --- Enterprise: corporativo confiable, CTA fuerte --- */
body.lag-blank-template.lagb-style-enterprise,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise {
  --lagb-card-radius: 12px;
  --lagb-button-radius: 8px;
  --lagb-premium-shadow: 0 12px 32px rgba(15, 23, 42, 0.10);
  --lagb-premium-shadow-hover: 0 18px 40px rgba(15, 23, 42, 0.14);
}

body.lag-blank-template.lagb-style-enterprise .lag-service-card,
body.lag-blank-template.lagb-style-enterprise .lag-product-card,
body.lag-blank-template.lagb-style-enterprise .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise .lag-testimonial {
  border: 1px solid var(--lagb-p40-border) !important;
  box-shadow: var(--lagb-premium-shadow, var(--lagb-p40-shadow)) !important;
  border-radius: var(--lagb-card-radius, 12px) !important;
}

body.lag-blank-template.lagb-style-enterprise .lag-hero .wp-block-button__link,
body.lag-blank-template.lagb-style-enterprise .lag-section-cta .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise .lag-hero .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-enterprise .lag-section-cta .wp-block-button__link {
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.16) !important;
}

/* --- Minimal: máxima limpieza, tipografía clara --- */
body.lag-blank-template.lagb-style-minimal,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal {
  --lagb-card-radius: 8px;
  --lagb-button-radius: 6px;
  --lagb-premium-shadow: none;
  --lagb-premium-shadow-hover: 0 6px 16px rgba(15, 23, 42, 0.06);
}

body.lag-blank-template.lagb-style-minimal .lag-service-card,
body.lag-blank-template.lagb-style-minimal .lag-product-card,
body.lag-blank-template.lagb-style-minimal .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-testimonial {
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
  background: #fff !important;
}

body.lag-blank-template.lagb-style-minimal .lag-hero h1,
body.lag-blank-template.lagb-style-minimal .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero h2 {
  letter-spacing: -0.02em !important;
  font-weight: 700 !important;
}

body.lag-blank-template.lagb-style-minimal .lag-hero .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero .wp-block-button__link {
  border-radius: 6px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}

/* --- Local Business: conversión y contacto --- */
body.lag-blank-template.lagb-style-local_business,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business {
  --lagb-card-radius: 12px;
  --lagb-button-radius: 999px;
  --lagb-premium-shadow: 0 10px 26px rgba(15, 23, 42, 0.09);
}

body.lag-blank-template.lagb-style-local_business .lag-hero .wp-block-button__link,
body.lag-blank-template.lagb-style-local_business .lag-section-cta .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-section-cta .wp-block-button__link {
  border-radius: 999px !important;
  font-weight: 700 !important;
  padding-left: 1.35em !important;
  padding-right: 1.35em !important;
  box-shadow: 0 10px 22px rgba(14, 165, 233, 0.22) !important;
}

body.lag-blank-template.lagb-style-local_business .lag-section-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-section-cta {
  border: 1px solid color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 22%, #e5e7eb 78%) !important;
}

body.lag-blank-template.lagb-style-local_business .lag-service-card,
body.lag-blank-template.lagb-style-local_business .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-product-card {
  border-top: 3px solid var(--lagb-premium-accent, #0ea5e9) !important;
}

/* --- Premium visual: más marca y peso visual --- */
body.lag-blank-template.lagb-style-premium_visual,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual {
  --lagb-card-radius: 16px;
  --lagb-button-radius: 10px;
  --lagb-premium-shadow: 0 14px 36px rgba(15, 23, 42, 0.11);
  --lagb-premium-shadow-hover: 0 20px 48px rgba(15, 23, 42, 0.16);
}

body.lag-blank-template.lagb-style-premium_visual .lag-service-card,
body.lag-blank-template.lagb-style-premium_visual .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-product-card {
  border: 0 !important;
  box-shadow: var(--lagb-premium-shadow) !important;
  border-radius: var(--lagb-card-radius) !important;
  overflow: hidden;
}

body.lag-blank-template.lagb-style-premium_visual .lag-hero h1,
body.lag-blank-template.lagb-style-premium_visual .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero h2 {
  letter-spacing: -0.025em !important;
  font-weight: 800 !important;
}

body.lag-blank-template.lagb-style-premium_visual .lag-hero .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-premium_visual .lag-hero .wp-block-button__link {
  font-weight: 700 !important;
  box-shadow: 0 12px 28px rgba(2, 6, 23, 0.2) !important;
}

/* --- Beauty elegant: suave, redondo, premium cálido --- */
body.lag-blank-template.lagb-style-beauty_elegant,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant {
  --lagb-card-radius: 20px;
  --lagb-button-radius: 999px;
  --lagb-premium-shadow: 0 12px 30px rgba(74, 47, 53, 0.10);
  --lagb-premium-shadow-hover: 0 18px 40px rgba(74, 47, 53, 0.14);
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-service-card,
body.lag-blank-template.lagb-style-beauty_elegant .lag-product-card,
body.lag-blank-template.lagb-style-beauty_elegant .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-testimonial {
  border: 1px solid var(--lagb-premium-border, #eadbd4) !important;
  border-radius: var(--lagb-card-radius) !important;
  box-shadow: var(--lagb-premium-shadow) !important;
  background: var(--lagb-premium-surface, #fffdfb) !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero .wp-block-button__link,
body.lag-blank-template.lagb-style-beauty_elegant .lag-section-cta .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-hero .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-section-cta .wp-block-button__link {
  border-radius: 999px !important;
  font-weight: 600 !important;
  letter-spacing: 0.02em !important;
}

body.lag-blank-template.lagb-style-beauty_elegant .lag-hero h1,
body.lag-blank-template.lagb-style-beauty_elegant .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-beauty_elegant .lag-hero h2 {
  font-weight: 600 !important;
  letter-spacing: -0.01em !important;
}

/* --- No images: tipográfico, limpio, CTA claro --- */
body.lag-blank-template.lagb-style-no_images,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images {
  --lagb-card-radius: 10px;
  --lagb-button-radius: 8px;
  --lagb-premium-shadow: none;
  --lagb-premium-shadow-hover: none;
}

body.lag-blank-template.lagb-style-no_images .lag-service-card,
body.lag-blank-template.lagb-style-no_images .lag-product-card,
body.lag-blank-template.lagb-style-no_images .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-testimonial {
  border: 1px solid #e5e7eb !important;
  box-shadow: none !important;
  background: #fff !important;
}

body.lag-blank-template.lagb-style-no_images .lag-hero .wp-block-button__link,
body.lag-blank-template.lagb-style-no_images .lag-section-cta .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-section-cta .wp-block-button__link {
  font-weight: 700 !important;
  border-radius: 8px !important;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12) !important;
}

body.lag-blank-template.lagb-style-no_images .lag-hero h1,
body.lag-blank-template.lagb-style-no_images .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-no_images .lag-hero h2 {
  max-width: 18ch;
  letter-spacing: -0.02em !important;
}

/* ===========================================================================
   3.2.42 — Minimal (limpio) + Local Business (conversión) polish
   Solo CSS. No toca IA, parser, imágenes, seguridad ni JS metabox.
   =========================================================================== */

/* ---------- Minimal: más limpio ---------- */
body.lag-blank-template.lagb-style-minimal,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal {
  --lagb-card-radius: 6px;
  --lagb-button-radius: 6px;
  --lagb-premium-shadow: none;
  --lagb-premium-shadow-hover: none;
}

body.lag-blank-template.lagb-style-minimal .lag-section:not(.lag-section-hero):not(.lag-section-cta),
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-section:not(.lag-section-hero):not(.lag-section-cta) {
  background: transparent !important;
}

body.lag-blank-template.lagb-style-minimal .lag-service-card,
body.lag-blank-template.lagb-style-minimal .lag-product-card,
body.lag-blank-template.lagb-style-minimal .lag-testimonial,
body.lag-blank-template.lagb-style-minimal .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-faq-item {
  border: 1px solid #e8eaed !important;
  border-radius: 6px !important;
  box-shadow: none !important;
  background: #fff !important;
}

body.lag-blank-template.lagb-style-minimal .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero.wp-block-cover {
  min-height: clamp(320px, 48vh, 520px) !important;
}

body.lag-blank-template.lagb-style-minimal .lag-hero .wp-block-cover__background,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero .wp-block-cover__background {
  opacity: 0.42 !important;
}

body.lag-blank-template.lagb-style-minimal .lag-hero h1,
body.lag-blank-template.lagb-style-minimal .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero h2 {
  letter-spacing: -0.03em !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  max-width: 16ch;
}

body.lag-blank-template.lagb-style-minimal .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero p {
  max-width: 36ch;
  color: color-mix(in srgb, currentColor 88%, transparent) !important;
}

body.lag-blank-template.lagb-style-minimal .lag-hero .wp-block-button__link,
body.lag-blank-template.lagb-style-minimal .lag-section-cta .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-section-cta .wp-block-button__link {
  border-radius: 6px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
  border-width: 1.5px !important;
}

body.lag-blank-template.lagb-style-minimal .lag-section-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-section-cta {
  border: 1px solid #e5e7eb !important;
  background: #fafafa !important;
  box-shadow: none !important;
}

body.lag-blank-template.lagb-style-minimal .lag-navbar,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-navbar {
  box-shadow: none !important;
  border-bottom: 1px solid #e5e7eb !important;
}

/* ---------- Local Business: más conversión ---------- */
body.lag-blank-template.lagb-style-local_business,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business {
  --lagb-button-radius: 999px;
  --lagb-card-radius: 12px;
}

body.lag-blank-template.lagb-style-local_business .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero.wp-block-cover {
  min-height: clamp(300px, 44vh, 480px) !important;
}

body.lag-blank-template.lagb-style-local_business .lag-hero h1,
body.lag-blank-template.lagb-style-local_business .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero h2 {
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  line-height: 1.12 !important;
  max-width: 18ch;
}

body.lag-blank-template.lagb-style-local_business .lag-hero .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero .wp-block-buttons {
  margin-top: 8px !important;
}

body.lag-blank-template.lagb-style-local_business .lag-hero .wp-block-button__link,
body.lag-blank-template.lagb-style-local_business .lag-section-cta .wp-block-button__link,
body.lag-blank-template.lagb-style-local_business .lag-navbar__cta,
body.lag-blank-template.lagb-style-local_business .lag-sticky-cta__btn,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-section-cta .wp-block-button__link,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-navbar__cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-sticky-cta__btn {
  border-radius: 999px !important;
  font-weight: 700 !important;
  letter-spacing: 0.01em !important;
  padding-left: 1.4em !important;
  padding-right: 1.4em !important;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 28%, transparent) !important;
}

body.lag-blank-template.lagb-style-local_business .lag-hero .wp-block-button__link:hover,
body.lag-blank-template.lagb-style-local_business .lag-section-cta .wp-block-button__link:hover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero .wp-block-button__link:hover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-section-cta .wp-block-button__link:hover {
  transform: translateY(-1px);
}

body.lag-blank-template.lagb-style-local_business .lag-section-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-section-cta {
  border: 1px solid color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 28%, #e5e7eb 72%) !important;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 6%, #ffffff 94%) 0%,
    #ffffff 100%
  ) !important;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06) !important;
  border-radius: 16px !important;
}

body.lag-blank-template.lagb-style-local_business .lag-service-card,
body.lag-blank-template.lagb-style-local_business .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-product-card {
  border: 1px solid #e5e7eb !important;
  border-top: 3px solid var(--lagb-premium-accent, #0ea5e9) !important;
  border-radius: 12px !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05) !important;
}

body.lag-blank-template.lagb-style-local_business .lag-service-card:hover,
body.lag-blank-template.lagb-style-local_business .lag-product-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-service-card:hover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-product-card:hover {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.09) !important;
  border-top-color: color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 80%, #0f172a 20%) !important;
}

/* Local: bloque ubicación un poco más presente (confianza local). */
body.lag-blank-template.lagb-style-local_business .lag-section-location,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-section-location {
  border-top: 1px solid color-mix(in srgb, var(--lagb-premium-accent, #0ea5e9) 16%, #e5e7eb 84%);
}

@media (max-width: 782px) {
  body.lag-blank-template.lagb-style-minimal .lag-hero h1,
  body.lag-blank-template.lagb-style-minimal .lag-hero h2,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero h1,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-minimal .lag-hero h2,
  body.lag-blank-template.lagb-style-local_business .lag-hero h1,
  body.lag-blank-template.lagb-style-local_business .lag-hero h2,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero h1,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero h2 {
    max-width: none;
  }

  body.lag-blank-template.lagb-style-local_business .lag-hero .wp-block-button__link,
  body.lag-blank-template.lagb-style-local_business .lag-section-cta .wp-block-button__link,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-hero .wp-block-button__link,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-style-local_business .lag-section-cta .wp-block-button__link {
    width: 100%;
    justify-content: center;
  }
}

/* ===========================================================================
   3.2.43 — Visual Density Differentiation Pass
   compact = más junta | normal = ancla | spacious = más aire
   Blank + landings con design-controls. No toca IA ni JS metabox.
   =========================================================================== */

body.lag-blank-template.lagb-density-compact,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact {
  --lagb-density-section-gap: 36px;
  --lagb-density-section-gap-mobile: 26px;
  --lagb-density-row-gap: 14px;
  --lagb-density-heading-gap: 12px;
  --lagb-card-pad: 14px;
  --lagb-hero-pad: 40px;
  --lagb-hero-min: 340px;
}

body.lag-blank-template.lagb-density-normal,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-normal {
  --lagb-density-section-gap: 56px;
  --lagb-density-section-gap-mobile: 36px;
  --lagb-density-row-gap: 20px;
  --lagb-density-heading-gap: 18px;
  --lagb-card-pad: 20px;
  --lagb-hero-pad: 64px;
  --lagb-hero-min: 420px;
}

body.lag-blank-template.lagb-density-spacious,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious {
  --lagb-density-section-gap: 80px;
  --lagb-density-section-gap-mobile: 48px;
  --lagb-density-row-gap: 28px;
  --lagb-density-heading-gap: 26px;
  --lagb-card-pad: 26px;
  --lagb-hero-pad: 88px;
  --lagb-hero-min: 520px;
}

/* Section vertical rhythm */
body.lag-blank-template.lagb-density-compact .lag-section,
body.lag-blank-template.lagb-density-compact .lag-services,
body.lag-blank-template.lagb-density-compact .lag-products,
body.lag-blank-template.lagb-density-compact .lag-testimonials,
body.lag-blank-template.lagb-density-compact .lag-faqs,
body.lag-blank-template.lagb-density-compact .lag-section-cta,
body.lag-blank-template.lagb-density-compact .lag-section-location,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-services,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-products,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-testimonials,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-faqs,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section-location {
  padding-top: var(--lagb-density-section-gap, 36px) !important;
  padding-bottom: var(--lagb-density-section-gap, 36px) !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.lag-blank-template.lagb-density-spacious .lag-section,
body.lag-blank-template.lagb-density-spacious .lag-services,
body.lag-blank-template.lagb-density-spacious .lag-products,
body.lag-blank-template.lagb-density-spacious .lag-testimonials,
body.lag-blank-template.lagb-density-spacious .lag-faqs,
body.lag-blank-template.lagb-density-spacious .lag-section-cta,
body.lag-blank-template.lagb-density-spacious .lag-section-location,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-section,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-services,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-products,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-testimonials,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-faqs,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-section-cta,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-section-location {
  padding-top: var(--lagb-density-section-gap, 80px) !important;
  padding-bottom: var(--lagb-density-section-gap, 80px) !important;
}

/* Headings under section */
body.lag-blank-template.lagb-density-compact .lag-section > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-services > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-products > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-testimonials > .wp-block-heading,
body.lag-blank-template.lagb-density-compact .lag-faqs > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-services > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-products > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-testimonials > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-faqs > .wp-block-heading {
  margin-top: 0 !important;
  margin-bottom: var(--lagb-density-heading-gap, 12px) !important;
}

body.lag-blank-template.lagb-density-spacious .lag-section > .wp-block-heading,
body.lag-blank-template.lagb-density-spacious .lag-services > .wp-block-heading,
body.lag-blank-template.lagb-density-spacious .lag-products > .wp-block-heading,
body.lag-blank-template.lagb-density-spacious .lag-testimonials > .wp-block-heading,
body.lag-blank-template.lagb-density-spacious .lag-faqs > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-section > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-services > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-products > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-testimonials > .wp-block-heading,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-faqs > .wp-block-heading {
  margin-bottom: var(--lagb-density-heading-gap, 26px) !important;
}

/* Cards padding */
body.lag-blank-template.lagb-density-compact .lag-service-card,
body.lag-blank-template.lagb-density-compact .lag-product-card,
body.lag-blank-template.lagb-density-compact .lag-testimonial,
body.lag-blank-template.lagb-density-compact .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-faq-item {
  padding: var(--lagb-card-pad, 14px) !important;
}

body.lag-blank-template.lagb-density-spacious .lag-service-card,
body.lag-blank-template.lagb-density-spacious .lag-product-card,
body.lag-blank-template.lagb-density-spacious .lag-testimonial,
body.lag-blank-template.lagb-density-spacious .lag-faq-item,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-service-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-product-card,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-testimonial,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-faq-item {
  padding: var(--lagb-card-pad, 26px) !important;
}

/* Grid / columns gaps */
body.lag-blank-template.lagb-density-compact .wp-block-columns,
body.lag-blank-template.lagb-density-compact .lag-services-row,
body.lag-blank-template.lagb-density-compact .lag-products-row,
body.lag-blank-template.lagb-density-compact .lag-location-columns,
body.lag-blank-template.lagb-density-compact .lag-about-columns,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .wp-block-columns,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-services-row,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-products-row,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-location-columns,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-about-columns {
  gap: var(--lagb-density-row-gap, 14px) !important;
}

body.lag-blank-template.lagb-density-spacious .wp-block-columns,
body.lag-blank-template.lagb-density-spacious .lag-services-row,
body.lag-blank-template.lagb-density-spacious .lag-products-row,
body.lag-blank-template.lagb-density-spacious .lag-location-columns,
body.lag-blank-template.lagb-density-spacious .lag-about-columns,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .wp-block-columns,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-services-row,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-products-row,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-location-columns,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-about-columns {
  gap: var(--lagb-density-row-gap, 28px) !important;
}

/* Hero */
body.lag-blank-template.lagb-density-compact .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero.wp-block-cover {
  min-height: var(--lagb-hero-min, 340px) !important;
  padding-top: var(--lagb-hero-pad, 40px) !important;
  padding-bottom: var(--lagb-hero-pad, 40px) !important;
}

body.lag-blank-template.lagb-density-spacious .lag-hero.wp-block-cover,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-hero.wp-block-cover {
  min-height: var(--lagb-hero-min, 520px) !important;
  padding-top: var(--lagb-hero-pad, 88px) !important;
  padding-bottom: var(--lagb-hero-pad, 88px) !important;
}

body.lag-blank-template.lagb-density-compact .lag-hero h1,
body.lag-blank-template.lagb-density-compact .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero h2 {
  margin-bottom: 10px !important;
}

body.lag-blank-template.lagb-density-compact .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-hero p {
  margin-bottom: 12px !important;
}

body.lag-blank-template.lagb-density-spacious .lag-hero h1,
body.lag-blank-template.lagb-density-spacious .lag-hero h2,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-hero h1,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-hero h2 {
  margin-bottom: 18px !important;
}

body.lag-blank-template.lagb-density-spacious .lag-hero p,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-hero p {
  margin-bottom: 20px !important;
}

/* CTA block breathing */
body.lag-blank-template.lagb-density-compact .lag-section-cta .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact .lag-section-cta .wp-block-buttons {
  margin-top: 10px !important;
}

body.lag-blank-template.lagb-density-spacious .lag-section-cta .wp-block-buttons,
body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious .lag-section-cta .wp-block-buttons {
  margin-top: 20px !important;
}

@media (max-width: 782px) {
  body.lag-blank-template.lagb-density-compact,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-compact {
    --lagb-density-section-gap: var(--lagb-density-section-gap-mobile, 26px);
    --lagb-density-row-gap: 12px;
    --lagb-density-heading-gap: 10px;
    --lagb-card-pad: 12px;
    --lagb-hero-pad: 32px;
    --lagb-hero-min: 300px;
  }

  body.lag-blank-template.lagb-density-spacious,
  body.lag-landing-generated.lagb-design-controls-enabled.lagb-density-spacious {
    --lagb-density-section-gap: var(--lagb-density-section-gap-mobile, 48px);
    --lagb-density-row-gap: 18px;
    --lagb-density-heading-gap: 18px;
    --lagb-card-pad: 18px;
    --lagb-hero-pad: 48px;
    --lagb-hero-min: 360px;
  }
}
