:root {
  --sp-navy: #0b1f3a;
  --sp-navy2: #07172d;
  --sp-ink: #101828;
  --sp-muted: #667085;
  --sp-line: #e6eaf0;
  --sp-soft: #f5f7fa;
  --sp-paper: #fff;
  --sp-tint: #f7f9fc;
  --sp-brand: var(--cms-primario, #1559b7);
  --sp-deep: var(--cms-secundario, #0b1f3a);
  --sp-accent: var(--cms-acento, #9fc8ff);
  --sp-on-dark: #f7fcff;
  --sp-on-dark-muted: #c8d7ea;
  --font: var(--cms-font-cuerpo, "IBM Plex Sans", system-ui, sans-serif);
  --font-display: var(--cms-font-titulos, Fraunces, "Segoe UI", sans-serif);
  --sp-font: var(--font);
  --sp-display: var(--font-display);
  --sp-max: 1180px;
  --sp-radius: 18px;
  --sp-shadow: 0 18px 50px rgba(10, 35, 65, 0.12);
  --sp-contact-band: linear-gradient(
    to right,
    color-mix(in srgb, #0b7bc3 88%, black) 0%,
    color-mix(in srgb, #0b7bc3 70%, black) 52%,
    color-mix(in srgb, #0b7bc3 55%, black) 100%
  );
  --sp-pattern-dot: color-mix(in srgb, var(--sp-navy) 8%, transparent);
  --sp-pattern: radial-gradient(circle at 1px 1px, var(--sp-pattern-dot) 1px, transparent 1.2px);
  --sp-pattern-size: 18px 18px;
  --sp-header-h: 122px;
  --sp-btn-radius: 10px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  overflow-x: clip;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

html.sp-pop-open,
html.innsite-cms-popup-open {
  overflow: hidden !important;
  scrollbar-gutter: auto;
  scroll-behavior: auto;
}

html.sp-pop-open body,
html.innsite-cms-popup-open body {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden !important;
  padding-right: var(--sp-scrollbar-gap, 0);
}

html.sp-pop-open .sp-header,
html.sp-pop-open .sp-float,
html.innsite-cms-popup-open .sp-header,
html.innsite-cms-popup-open .sp-float {
  padding-right: var(--sp-scrollbar-gap, 0);
}

html.site-booting {
  overflow: hidden;
}

.site-boot {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--sp-soft, #f5f7fa);
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.site-boot.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.site-boot-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: min(420px, 62vw);
  height: 80px;
  min-height: 80px;
  --boot-fill: 0%;
  opacity: 0;
}
.site-boot-mark.is-ready { opacity: 1; }

.site-boot-img {
  grid-area: 1 / 1;
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.site-boot-img.is-gray {
  filter: grayscale(1);
  opacity: 0.78;
}

.site-boot-img.is-color {
  clip-path: inset(calc(100% - var(--boot-fill)) 0 0 0);
}

.site-boot-name {
  grid-area: 1 / 1;
  display: block;
  margin: 0;
  font-family: var(--font);
  font-size: clamp(1.15rem, 4vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  color: var(--sp-navy);
}

.site-boot-name.is-gray {
  filter: grayscale(1);
  opacity: 0.45;
}

.site-boot-name.is-color {
  clip-path: inset(calc(100% - var(--boot-fill)) 0 0 0);
}

.site-boot-mark.has-logo .site-boot-name {
  display: none;
}

.site-boot-mark.has-name .site-boot-img {
  display: none;
}

.site-boot-mark.is-isologo {
  width: min(80px, 18vw);
  height: 80px;
  min-height: 80px;
}

.site-boot-mark.is-isologo .site-boot-img {
  width: 100%;
  height: 100%;
  max-height: none;
}

@media (prefers-reduced-motion: reduce) {
  .site-boot {
    transition-duration: 0.01ms;
  }
  .site-boot-img.is-color,
  .site-boot-name.is-color {
    clip-path: none;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--sp-ink);
  background: var(--sp-paper);
  font-size: 1.03rem;
  line-height: 1.55;
  max-width: 100%;
  overflow-x: clip;
}

a { color: inherit; text-decoration: none; }

main {
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; cursor: pointer; }

.sp-anchor { position: absolute; top: 0; }
.sp-wrap { width: min(var(--sp-max), calc(100% - 40px)); margin-inline: auto; }
.sp-band {
  padding: 92px 0;
  background-color: #fff;
  background-image: var(--sp-pattern);
  background-size: var(--sp-pattern-size);
}
.sp-band--soft {
  background-color: #f7f9fc;
  background-image: var(--sp-pattern), linear-gradient(180deg, #f7f9fc 0%, #fff 100%);
  background-size: var(--sp-pattern-size), auto;
}
.sp-eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sp-brand);
  font-weight: 800;
  margin: 0 0 10px;
}
.sp-head [data-cms-field="Titulos.kicker"] {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
  font-weight: 600;
  margin: 0 0 10px;
}
.sp-eyebrow--light { color: #9fc8ff; }
.sp-section-title,
.sp-head h2 {
  font-size: clamp(2rem, 3vw, 3.5rem);
  line-height: 1.05;
  margin: 10px 0 18px;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: var(--sp-navy);
  padding: 0;
  font-family: var(--font-display);
}
.sp-head { margin: 0; }
.sp-head--sub h2 { font-size: clamp(1.35rem, 2vw, 1.85rem); margin: 1.5rem 0 0.75rem; }
.sp-lead {
  color: var(--sp-muted);
  max-width: 780px;
  font-size: 1.03rem;
  margin: 0;
}
.sp-lead:empty { display: none; }
.sp-cms-slot-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 18px;
  border-radius: var(--sp-btn-radius);
  font-weight: 800;
  font-size: 0.9rem;
  border: 1px solid transparent;
  transition: 0.25s ease;
}
.sp-btn--primary {
  background: var(--sp-contact-band);
  color: #fff;
  box-shadow: 0 10px 25px rgba(11, 123, 195, 0.28);
}
.sp-btn--primary:hover { transform: translateY(-2px); }
.sp-btn--ghost {
  border-color: rgba(255, 255, 255, 0.45);
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}
.sp-btn--outline {
  border-color: #c8d5e8;
  color: var(--sp-navy);
  background: #fff;
}
.sp-btn--outline:hover {
  border-color: var(--sp-brand);
  color: var(--sp-brand);
}

/* Topbar */
.sp-topbar {
  background: var(--sp-contact-band);
  color: #f4fbfd;
  font-size: 0.82rem;
  overflow-x: clip;
}
.sp-topbar-inner {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  min-height: 2.85rem;
}
.sp-topbar .sp-social a {
  background: color-mix(in srgb, #fff 12%, transparent);
  color: #fff;
}
.sp-topbar .sp-social a:hover {
  background: var(--sp-brand);
  color: #fff;
}

.sp-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.sp-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.85rem;
  height: 1.85rem;
  border-radius: 999px;
  color: inherit;
  background: color-mix(in srgb, #fff 12%, transparent);
}
.sp-social a:hover { background: var(--sp-brand); color: #fff; }
.sp-social--footer {
  margin-top: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.45rem;
}
.sp-social--footer a {
  background: color-mix(in srgb, #fff 12%, transparent);
  color: #fff;
  width: 2.15rem;
  height: 2.15rem;
}

.sp-float {
  position: fixed;
  right: 0.85rem;
  top: 42%;
  z-index: 35;
  transform: translateY(-50%);
}
.sp-float-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.sp-float-list a {
  display: grid;
  place-items: center;
  width: 2.55rem;
  height: 2.55rem;
  border-radius: 50%;
  background: var(--sp-contact-band);
  color: #fff;
  box-shadow: 0 8px 20px rgba(11, 123, 195, 0.28);
}
.sp-float-list a:hover { filter: brightness(1.08); color: #fff; }

.sp-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(230, 234, 240, 0.9);
}
.sp-header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: var(--sp-header-h);
  height: var(--sp-header-h);
}
.sp-brand { display: flex; align-items: center; gap: 12px; min-width: 190px; }
.sp-brand-logo { height: 38px; width: auto; }
.sp-brand-text strong { display: block; font-size: 1.15rem; letter-spacing: 0.02em; }
.sp-brand-text small { display: block; color: #8a94a6; font-size: 0.73rem; margin-top: -2px; }
.sp-header-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-left: auto;
}
.sp-header-menu-cms {
  display: flex;
  align-items: center;
  gap: 24px;
}
.sp-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #344054;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.sp-nav a:hover { color: var(--sp-brand); }
.sp-pharma {
  padding: 11px 16px;
  border-radius: var(--sp-btn-radius);
  background: var(--sp-contact-band);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  white-space: nowrap;
}
.sp-burger {
  display: none;
  margin-left: auto;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--sp-line);
  border-radius: 0;
  background: #fff;
  padding: 0;
  cursor: pointer;
}
.sp-burger span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 4px auto;
  background: var(--sp-ink);
  border-radius: 1px;
}

.sp-hero {
  position: relative;
  min-height: 650px;
  color: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.sp-hero-stage { position: absolute; inset: 0; }
.sp-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  pointer-events: none;
}
.sp-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.sp-slide-media {
  position: absolute;
  inset: 0;
  background: var(--sp-navy) center/cover no-repeat;
}
.sp-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, transparent 55%, rgba(2, 11, 23, 0.42) 100%),
    linear-gradient(90deg, rgba(5, 16, 33, 0.86) 0%, rgba(5, 16, 33, 0.68) 38%, rgba(5, 16, 33, 0.18) 70%, rgba(5, 16, 33, 0.02) 100%);
  pointer-events: none;
}
.sp-hero-inner {
  position: relative;
  z-index: 3;
  padding: 72px 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}
.sp-hero-copy {
  max-width: 690px;
  width: 100%;
  margin: 0;
  text-align: left;
}
.sp-hero-copy .sp-eyebrow--light {
  color: #9fc8ff;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.sp-hero-copy h1 {
  font-size: clamp(3rem, 4vw, 4rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  margin: 0 0 24px;
  font-weight: 800;
  color: #fff;
}
.sp-hero-lead {
  font-size: 1.08rem;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.55;
  font-weight: 400;
}
.sp-hero-nav {
  position: absolute;
  left: 50%;
  bottom: 1.35rem;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 4;
}
.sp-hero-nav button {
  border: 0;
  background: color-mix(in srgb, #fff 18%, transparent);
  color: #fff;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
}
.sp-hero-dots { display: flex; gap: 0.35rem; }
.sp-hero-dots button {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  padding: 0;
  background: color-mix(in srgb, #fff 45%, transparent);
}
.sp-hero-dots button.is-active { background: #fff; width: 1.3rem; }

.sp-stats-band {
  background-color: #fff;
  background-image: var(--sp-pattern);
  background-size: var(--sp-pattern-size);
  border-bottom: 1px solid var(--sp-line);
}
.sp-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}
.sp-stat {
  padding: 26px 18px;
  border-right: 1px solid var(--sp-line);
  display: flex;
  gap: 13px;
  align-items: center;
}
.sp-stat:last-child { border-right: 0; }
.sp-stat-icon {
  width: 46px;
  height: 46px;
  border: 1px solid #cfe0f4;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: var(--sp-brand);
  font-weight: 900;
  background: #f8fbff;
  flex: 0 0 auto;
  font-size: 0.85rem;
}
.sp-stat-copy { min-width: 0; }
.sp-stat strong {
  display: block;
  font-size: 1.24rem;
  color: var(--sp-navy);
  line-height: 1.1;
  font-weight: 800;
}
.sp-stat span {
  display: block;
  color: var(--sp-muted);
  font-size: 0.78rem;
  margin-top: 4px;
  font-weight: 500;
}

.sp-intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.2fr;
  gap: 70px;
  align-items: center;
  margin-bottom: 58px;
}
.sp-intro-prose {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}
.sp-intro-prose p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 1.03rem;
  max-width: 780px;
}
.sp-intro-photo {
  border-radius: 24px;
  min-height: 430px;
  background: var(--sp-navy) center/cover no-repeat;
  box-shadow: var(--sp-shadow);
}
.sp-identity { padding-top: 38px; }
.sp-identity-grid { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: 45px; }
.sp-identity-note { position: sticky; top: 122px; height: max-content; }
.sp-identity-note h3 {
  font-size: 2rem;
  line-height: 1.08;
  margin: 10px 0 12px;
  color: var(--sp-navy);
  letter-spacing: -0.03em;
}
.sp-identity-note .sp-lead { font-size: 0.95rem; }
.sp-quote-box {
  background: var(--sp-contact-band);
  color: #fff;
  border-radius: 22px;
  padding: 30px;
  margin-top: 22px;
  overflow: hidden;
}
.sp-quote-box small {
  color: #bdd0e8;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.75rem;
}
.sp-quote-box .sp-quote-big {
  font-size: 2.4rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-top: 10px;
}
.sp-quote-box-body { margin-top: 12px; }
.sp-quote-box-body p { margin: 0 0 12px; }
.sp-accordion { border-top: 1px solid var(--sp-line); }
.sp-accordion details { border-bottom: 1px solid var(--sp-line); }
.sp-accordion summary,
.sp-svc-list summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-weight: 600;
  color: var(--sp-navy);
  transition: color 0.2s ease;
}
.sp-accordion summary::-webkit-details-marker,
.sp-svc-list summary::-webkit-details-marker { display: none; }
.sp-accordion summary::after,
.sp-svc-list summary::after {
  content: "+";
  width: 32px;
  height: 32px;
  border: 1px solid #ccd9ea;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--sp-brand);
  flex: 0 0 auto;
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.2s ease, background-color 0.2s ease;
}
.sp-accordion details[open] summary::after,
.sp-svc-list details[open] summary::after {
  content: "–";
  transform: rotate(180deg);
}
.sp-accordion .sp-detail-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}
.sp-accordion details[open] .sp-detail-wrap {
  grid-template-rows: 1fr;
}
.sp-accordion .sp-detail-inner {
  overflow: hidden;
  min-height: 0;
}
.sp-detail-body { padding: 0 48px 26px 0; color: #475467; }
.sp-detail-body p { margin: 0 0 14px; }
.sp-detail-body ul { margin: 12px 0 0 20px; }
.sp-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sp-value {
  border: 1px solid var(--sp-line);
  border-radius: 15px;
  padding: 18px;
  background: #fff;
}
.sp-value b { display: block; color: var(--sp-navy); margin-bottom: 7px; }

#planta .sp-head .sp-lead { display: none; }

.sp-quotes { display: grid; gap: 1.25rem; margin: 0 0 2rem; }
.sp-quote {
  margin: 0;
  padding: 0 0 0 1.15rem;
  border-left: 3px solid var(--sp-brand);
}
.sp-quote p { margin: 0 0 0.75rem; color: #475467; }
.sp-quote figcaption {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sp-muted);
  font-weight: 700;
}

.sp-plant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.sp-plant-card {
  position: relative;
  min-height: 360px;
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  color: #fff;
  box-shadow: 0 12px 35px rgba(12, 31, 58, 0.1);
  transition: 0.3s ease;
  background-size: cover;
  background-position: center;
  text-align: left;
  padding: 0;
  cursor: pointer;
  width: 100%;
}
.sp-plant-card:hover { transform: translateY(-7px); }
.sp-plant-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 11, 22, 0.02) 24%, rgba(3, 11, 22, 0.9) 100%);
}
.sp-plant-card-content {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
  display: grid;
  gap: 0;
}
.sp-plant-tiny { font-size: 0.72rem; opacity: 0.78; margin-bottom: 8px; }
.sp-plant-card h3 {
  font-size: 1rem;
  line-height: 1.15;
  margin: 0 0 8px;
  text-transform: uppercase;
}
.sp-plant-teaser {
  font-size: 0.79rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}
.sp-plant-read { margin-top: 12px; font-weight: 800; font-size: 0.73rem; color: #cfe3ff; }
.sp-plant-meta {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
.sp-meta-box {
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  background: #fff;
  padding: 22px;
}
.sp-meta-box strong {
  font-size: 2rem;
  color: var(--sp-brand);
  display: block;
  line-height: 1;
}
.sp-meta-box span {
  color: var(--sp-muted);
  font-size: 0.86rem;
  display: block;
  margin-top: 8px;
}

.sp-pop {
  border: 0;
  padding: 0;
  margin: auto;
  background: transparent;
  max-width: min(900px, calc(100% - 2rem));
  overflow: hidden;
  opacity: 0;
}
.sp-pop[open] {
  opacity: 1;
  animation: spPopOverlayIn 0.46s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sp-pop.is-closing {
  animation: spPopOverlayOut 0.34s cubic-bezier(0.4, 0, 0.2, 1) both;
}
.sp-pop::backdrop {
  background: rgba(3, 11, 24, 0.74);
  opacity: 0;
}
.sp-pop[open]::backdrop {
  animation: spPopBackdropIn 0.46s ease both;
}
.sp-pop.is-closing::backdrop {
  animation: spPopBackdropOut 0.34s ease both;
}
.sp-pop-panel {
  background: #fff;
  border-radius: 22px;
  max-height: 88vh;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.985);
}
.sp-pop-panel::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.sp-pop[open] .sp-pop-panel {
  animation: spPopPanelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.sp-pop.is-closing .sp-pop-panel {
  animation: spPopPanelOut 0.34s cubic-bezier(0.4, 0, 0.2, 1) both;
}
@keyframes spPopOverlayIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spPopOverlayOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes spPopBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes spPopBackdropOut {
  from { opacity: 1; }
  to { opacity: 0; }
}
@keyframes spPopPanelIn {
  from {
    opacity: 0;
    transform: translate3d(0, 22px, 0) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes spPopPanelOut {
  from {
    opacity: 1;
    transform: none;
  }
  to {
    opacity: 0;
    transform: translate3d(0, 14px, 0) scale(0.985);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sp-pop[open],
  .sp-pop.is-closing,
  .sp-pop[open]::backdrop,
  .sp-pop.is-closing::backdrop,
  .sp-pop[open] .sp-pop-panel,
  .sp-pop.is-closing .sp-pop-panel,
  .sp-accordion .sp-detail-wrap,
  .sp-accordion summary::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}
.sp-pop-top {
  position: relative;
  height: 260px;
  background: var(--sp-navy) center/cover no-repeat;
}
.sp-pop-top::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.55));
}
.sp-pop-close {
  position: absolute;
  right: 18px;
  top: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.92);
}
.sp-pop-title {
  position: absolute;
  left: 28px;
  bottom: 24px;
  z-index: 2;
  color: #fff;
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin: 0;
}
.sp-pop-body { padding: 30px; color: #475467; }
.sp-pop-body p { margin: 0 0 14px; }

.sp-svc-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin: 30px 0; }
.sp-tab {
  border: 1px solid #ccd9ea;
  background: #fff;
  color: var(--sp-navy);
  padding: 12px 18px;
  border-radius: var(--sp-btn-radius);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.sp-tab.is-active {
  background: var(--sp-contact-band);
  color: #fff;
  border-color: transparent;
}
.sp-svc-panel { display: none; }
.sp-svc-panel.is-active { display: block; }
.sp-svc-layout { display: grid; grid-template-columns: 0.65fr 1.35fr; gap: 38px; }
.sp-svc-summary {
  background: var(--sp-contact-band);
  color: #fff;
  border-radius: 22px;
  padding: 30px;
  height: max-content;
  position: sticky;
  top: 122px;
  overflow: hidden;
}
.sp-svc-summary .sp-eyebrow { color: #a8caff; margin-bottom: 4px; }
.sp-svc-summary h3 {
  font-size: 2rem;
  line-height: 1.05;
  margin: 8px 0 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.sp-svc-summary p { color: #c8d7ea; margin: 0; font-size: 0.95rem; }
.sp-svc-list { border-top: 1px solid var(--sp-line); }
.sp-svc-list summary { padding: 22px 0; }
.sp-svc-num { font-size: 0.75rem; color: var(--sp-brand); font-weight: 900; margin-right: 12px; }

.sp-quality {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--sp-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  margin-top: 34px;
}
.sp-qitem { padding: 32px 28px; border-right: 1px solid var(--sp-line); position: relative; }
.sp-qitem:last-child { border-right: 0; }
.sp-qnum { font-size: 2.4rem; font-weight: 900; color: #d6e3f6; line-height: 1; margin-bottom: 12px; }
.sp-qitem h4 { margin: 0 0 7px; color: var(--sp-navy); text-transform: uppercase; letter-spacing: 0.02em; }
.sp-qitem p { margin: 0; color: var(--sp-muted); font-size: 0.86rem; }

.sp-cta {
  padding: 72px 0 96px;
  background: var(--sp-contact-band);
  color: #fff;
  overflow-x: clip;
}
.sp-cta .sp-head {
  margin: 0 0 30px;
}
#trabaja [data-titulos-head].is-titulo-tema-claro h2,
.sp-cta-title,
.sp-cta .sp-head h2 {
  text-align: center;
  font-size: clamp(2rem, 3vw, 3.5rem);
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  font-family: var(--font-display);
}
.sp-cta-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 8px;
}
.sp-cta-card {
  background: #fff;
  color: var(--sp-ink);
  padding: 28px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.sp-cta-round {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  margin: 0 auto 14px;
  background: #f0f5fc;
  color: var(--sp-brand);
  display: grid;
  place-items: center;
  font-size: 1.25rem;
}
.sp-cta-card h3 { margin: 0 0 8px; font-size: 1.05rem; color: var(--sp-navy); }
.sp-cta-card p { margin: 0 0 18px; color: var(--sp-muted); font-size: 0.85rem; }

.sp-fv { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 55px; align-items: start; }
.sp-fv--single { display: block; }
.sp-fv--single .sp-fv-inner { width: 100%; max-width: none; }
.sp-fv--single .sp-fv-copy { position: static; }
#farmacovigilancia .sp-lead,
#farmacovigilancia .sp-section-title { max-width: none; }
.sp-fv-cta {
  margin-top: 28px;
  display: grid;
  gap: 6px;
  justify-items: end;
  text-align: right;
}
.sp-fv-cta .sp-privacy {
  margin: 0;
  max-width: 420px;
}
.sp-fv-copy { position: sticky; top: 122px; }
.sp-notice {
  border-left: 3px solid var(--sp-brand);
  padding: 2px 0 2px 18px;
  color: #475467;
  margin: 22px 0;
}
.sp-contact-strip {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.sp-contact-chip {
  border: 1px solid var(--sp-line);
  border-radius: 14px;
  padding: 16px;
}
.sp-contact-chip b,
.sp-contact-chip-label { display: block; color: var(--sp-navy); font-weight: 700; }
.sp-contact-chip span,
.sp-contact-chip a { font-size: 0.83rem; color: var(--sp-muted); }

.sp-form-card {
  border: 1px solid var(--sp-line);
  border-radius: 22px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.06);
  background: #fff;
}
.sp-form-card h3 { margin: 0 0 8px; color: var(--sp-navy); }
.sp-form-card > p { color: var(--sp-muted); margin: 0 0 8px; }
[data-contact-form-head] p,
.sp-form-card [data-cms-field="Contacto.formulario.intro"] {
  color: var(--sp-ink);
}
.sp-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 18px 0; }
.sp-field { display: grid; gap: 7px; font-size: 0.78rem; font-weight: 800; color: #344054; }
.sp-field--full { grid-column: 1 / -1; }
.sp-field input,
.sp-field textarea,
.sp-field select {
  width: 100%;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  padding: 12px 13px;
  font-weight: 400;
  background: #fff;
}
.sp-field input:focus,
.sp-field textarea:focus,
.sp-field select:focus {
  outline: 0;
  border-color: var(--sp-brand);
  box-shadow: 0 0 0 3px rgba(21, 89, 183, 0.08);
}
.sp-form-footer { display: grid; gap: 16px; margin-top: 4px; }
.sp-captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  padding: 14px 16px;
  border: 1px solid #d8e0ea;
  border-radius: 12px;
  background: #f9fafb;
}
.sp-captcha-label {
  font-size: 0.78rem;
  font-weight: 800;
  color: #344054;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sp-captcha-sum {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--sp-navy);
}
.sp-captcha-eq { font-variant-numeric: tabular-nums; }
.sp-captcha-sum input {
  width: 3rem;
  border: 1px solid #d8e0ea;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: center;
  font-weight: 600;
  background: #fff;
}
.sp-captcha-sum input:focus {
  outline: 0;
  border-color: var(--sp-brand);
  box-shadow: 0 0 0 3px rgba(21, 89, 183, 0.08);
}
.sp-form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}
.sp-form-actions .sp-feedback { margin: 0; width: 100%; text-align: right; }
.sp-form-actions button[type="submit"] {
  border: 0;
  background: var(--sp-contact-band);
  color: #fff;
  font-weight: 800;
  border-radius: var(--sp-btn-radius);
  padding: 13px 18px;
}
.sp-privacy { font-size: 0.78rem; color: #667085; }
.contact-hp { position: absolute; left: -9999px; }

.sp-contact-grid { display: grid; gap: 55px; grid-template-columns: 0.85fr 1.15fr; align-items: start; }
.sp-contact-col { display: grid; gap: 1rem; min-width: 0; }
.sp-contact-forms { display: grid; gap: 16px; }
.sp-contact-list {
  list-style: none;
  margin: 25px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.sp-contact-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  min-height: 0;
  box-shadow: 0 8px 24px rgba(16, 24, 40, 0.04);
}
.sp-contact-box-copy { display: grid; gap: 0.2rem; }
.sp-contact-box-copy strong { color: var(--sp-navy); font-size: 0.9rem; text-transform: none; letter-spacing: 0; }
.sp-contact-box-copy a,
.sp-contact-box-copy span { color: var(--sp-muted); font-size: 0.9rem; }
.sp-contact-list .contact-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #eef5ff;
  color: var(--sp-brand);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.sp-horario-box:empty { display: none; }
.sp-horario-box:not(:empty) {
  padding: 16px;
  border: 1px solid var(--sp-line);
  border-radius: 14px;
}
#contacto.sp-band {
  padding-bottom: 0;
  background: var(--sp-contact-band);
  color: #fff;
  overflow-x: clip;
}
#contacto .sp-block .sp-eyebrow {
  color: rgba(255, 255, 255, 0.92);
}
#contacto .sp-head h2 {
  color: #fff;
}
#contacto .sp-horario-box:not(:empty) {
  background: #fff;
}
#contacto .sp-wrap { padding-bottom: 88px; }
#contacto .sp-map-bleed {
  width: 100%;
  height: min(28rem, 52vh);
  margin-top: 0;
  background: var(--sp-navy);
}
.sp-map-bleed {
  width: 100%;
  height: min(28rem, 52vh);
  margin-top: 3rem;
  background: var(--sp-navy);
}
.sp-map-bleed iframe { width: 100%; height: 100%; border: 0; display: block; }
.sp-feedback { margin: 12px 0 0; font-size: 0.86rem; }
.sp-feedback.is-error { color: #b42318; }
.sp-feedback.is-ok { color: #027a48; }

.sp-footer {
  background: var(--sp-contact-band);
  color: #fff;
  padding: 54px 0 26px;
  overflow-x: clip;
}
.sp-footer > .sp-wrap {
  width: min(1320px, calc(100% - 40px));
}
.sp-footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px 32px;
  align-items: center;
}
.sp-footer-brand {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  justify-self: start;
}
.sp-brand--foot {
  color: #fff;
  margin-bottom: 0;
  align-items: center;
}
.sp-brand--foot .sp-brand-logo {
  filter: brightness(0) invert(1);
}
.sp-brand--foot .sp-brand-text small { color: #b8c4d6; }
.sp-footer-links {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  min-width: 0;
}
.sp-footer-social {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  justify-self: end;
  min-height: 100%;
}
.sp-footer-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 12px 20px;
  font-size: 0.86rem;
  color: #d3dce9;
}
.sp-footer-nav a {
  white-space: nowrap;
}
.sp-footer-nav a:hover { color: #fff; }
.sp-footer-credit {
  margin-top: 38px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}
.sp-credit { margin: 0; font-size: 0.78rem; color: #8da0b9; }
.sp-credit a { color: #b9cae2; }

.is-cms-hidden { display: none !important; }

@media (max-width: 1080px) {
  .sp-header-inner { position: static; }
  .sp-header-menu { display: none; }
  .sp-header.is-nav-open .sp-header-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    top: 100%;
    margin-left: 0;
    background: #fff;
    padding: 0.35rem 1.25rem 1.25rem;
    border-bottom: 1px solid var(--sp-line);
    z-index: 39;
  }
  .sp-header.is-nav-open .sp-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .sp-header.is-nav-open .sp-nav a {
    display: block;
    padding: 0.9rem 0;
    text-align: center;
    border-bottom: 1px solid var(--sp-line);
  }
  .sp-header.is-nav-open .sp-nav a:last-child { border-bottom: 0; }
  .sp-header.is-nav-open .sp-pharma {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    margin-top: 0.85rem;
  }
  .sp-burger { display: flex; flex-direction: column; justify-content: center; }
  .sp-intro-grid,
  .sp-identity-grid,
  .sp-svc-layout,
  .sp-fv,
  .sp-contact-grid { grid-template-columns: 1fr; }
  .sp-identity-note,
  .sp-svc-summary,
  .sp-fv-copy { position: static; }
  .sp-plant-grid { grid-template-columns: 1fr 1fr; }
  .sp-stats { grid-template-columns: 1fr 1fr; }
  .sp-stat {
    border-bottom: 1px solid var(--sp-line);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  .sp-quality { grid-template-columns: 1fr 1fr; }
  .sp-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 20px;
  }
  .sp-footer-brand,
  .sp-footer-links,
  .sp-footer-social {
    justify-self: center;
    width: 100%;
  }
  .sp-footer-brand { align-items: center; }
  .sp-brand--foot { justify-content: center; }
  .sp-footer-links { justify-content: center; }
  .sp-footer-nav { flex-wrap: wrap; justify-content: center; }
  .sp-footer-social,
  .sp-social--footer { justify-content: center; }
  .sp-cta-grid { grid-template-columns: 1fr; }
  .sp-plant-meta { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --sp-header-h: 89px; }
  .sp-wrap { width: min(var(--sp-max), calc(100% - 28px)); }
  .sp-band { padding: 68px 0; }
  .sp-brand { min-width: auto; }
  .sp-brand-text small { display: none; }
  .sp-hero { min-height: 570px; }
  .sp-hero-inner { padding: 64px 0; }
  .sp-stats { grid-template-columns: 1fr; }
  .sp-stat { border-right: 0; }
  .sp-intro-photo { min-height: 290px; }
  .sp-values,
  .sp-quality,
  .sp-cta-grid,
  .sp-form-grid,
  .sp-contact-strip,
  .sp-plant-meta { grid-template-columns: 1fr; }
  .sp-field--full { grid-column: auto; }
  .sp-plant-grid {
    display: flex;
    overflow: auto;
    padding-bottom: 8px;
    scroll-snap-type: x mandatory;
  }
  .sp-plant-card { min-width: 78%; scroll-snap-align: start; }
  .sp-qitem { border-right: 0; border-bottom: 1px solid var(--sp-line); }
  .sp-qitem:last-child { border-bottom: 0; }
  .sp-footer-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 18px;
  }
  .sp-footer-brand,
  .sp-footer-links,
  .sp-footer-social {
    justify-self: center;
    width: 100%;
  }
  .sp-footer-brand { align-items: center; }
  .sp-brand--foot { justify-content: center; }
  .sp-footer-links { justify-content: center; }
  .sp-footer-nav { flex-wrap: wrap; justify-content: center; }
  .sp-footer-social,
  .sp-social--footer { justify-content: center; }
  .sp-quote-box .sp-quote-big { font-size: 1.8rem; }
}

/* INNSITE Audit (?cms-audit=1) */
.cms-audit-form-marker {
  display: none;
}

/* Anclas invisibles: no ocupan espacio ni bloquean clicks del form */
body.cms-audit .cms-audit-form-marker {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: visible;
  pointer-events: none;
  outline: none !important;
}

body.cms-audit .sp-form-card:hover > .cms-audit-form-marker > .cms-audit-cartel,
body.cms-audit .contact-form:hover > .cms-audit-form-marker > .cms-audit-cartel,
body.cms-audit .sp-form-card:focus-within > .cms-audit-form-marker > .cms-audit-cartel,
body.cms-audit .contact-form:focus-within > .cms-audit-form-marker > .cms-audit-cartel {
  opacity: 1;
  visibility: visible;
}

body.cms-audit .sp-form-card {
  position: relative;
}

body.cms-audit
  .cms-audit-form-marker[data-cms-field="Contacto.formulario"]
  > .cms-audit-cartel {
  top: 6px;
  left: 6px;
}

body.cms-audit
  .cms-audit-form-marker[data-cms-field="Contacto.smtp"]
  > .cms-audit-cartel {
  top: 32px;
  left: 6px;
}

body.cms-audit
  .cms-audit-form-marker[data-cms-field="Contacto.envio"]
  > .cms-audit-cartel {
  top: 58px;
  left: 6px;
}

body.cms-audit .sp-form-card[data-cms-form-status="ok"],
body.cms-audit .contact-form[data-cms-form-status="ok"] {
  outline: 1px solid #2f9e6a;
  outline-offset: 2px;
}

body.cms-audit .sp-form-card[data-cms-form-status="map"],
body.cms-audit .contact-form[data-cms-form-status="map"] {
  outline: 1px solid #d4a017;
  outline-offset: 2px;
}

body.cms-audit .sp-form-card[data-cms-form-status="gap"],
body.cms-audit .contact-form[data-cms-form-status="gap"] {
  outline: 1px solid #cc2647;
  outline-offset: 2px;
}

/* INNSITE Audit — only with body.cms-audit (?cms-audit=1) */
body.cms-audit [data-cms-slot],
body.cms-audit [data-cms-field],
body.cms-audit .cms-audit-host {
  position: relative;
}

body.cms-audit .sp-float, body.cms-audit .social-float[data-cms-slot] {
  position: fixed;
}

body.cms-audit span.cms-audit-host,
body.cms-audit strong.cms-audit-host,
body.cms-audit small.cms-audit-host,
body.cms-audit a.cms-audit-host {
  display: inline-block;
  max-width: 100%;
  vertical-align: baseline;
}

body.cms-audit [data-cms-slot][data-cms-status="ok"],
body.cms-audit [data-cms-field][data-cms-status="ok"] {
  outline: 1px solid #2f9e6a;
  outline-offset: 2px;
}

body.cms-audit [data-cms-slot][data-cms-status="map"],
body.cms-audit [data-cms-field][data-cms-status="map"] {
  outline: 1px solid #d4a017;
  outline-offset: 2px;
}

body.cms-audit [data-cms-slot][data-cms-status="gap"],
body.cms-audit [data-cms-field][data-cms-status="gap"] {
  outline: 1px solid #cc2647;
  outline-offset: 2px;
}

/* Carteles reales (JS): ::before fallaba en hero (overflow) y no existía en textos */
body.cms-audit [data-cms-slot]::before,
body.cms-audit [data-cms-field]::before {
  content: none !important;
  display: none !important;
}

body.cms-audit .cms-audit-cartel {
  position: absolute;
  z-index: 90;
  top: 4px;
  left: 4px;
  right: auto;
  bottom: auto;
  box-sizing: border-box;
  width: max-content;
  max-width: min(200px, calc(100% - 8px));
  margin: 0;
  padding: 4px 8px 4px 8px;
  border: 0;
  border-left: 2px solid #666;
  border-radius: 0;
  font-family: Montserrat, system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1.2;
  text-transform: uppercase;
  text-align: left;
  color: #f4f6f8;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  background: rgba(12, 16, 20, 0.98);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.12s ease, visibility 0.12s ease;
}

body.cms-audit .cms-audit-host:hover > .cms-audit-cartel,
body.cms-audit .cms-audit-host:focus-within > .cms-audit-cartel {
  opacity: 1;
  visibility: visible;
}

/* Si hay un hijo con hover, no mostrar el cartel del padre */
body.cms-audit .cms-audit-host:has(.cms-audit-host:hover) > .cms-audit-cartel,
body.cms-audit .cms-audit-host:has(.cms-audit-host:focus-within) > .cms-audit-cartel {
  opacity: 0;
  visibility: hidden;
}

body.cms-audit .cms-audit-cartel[data-status="ok"] {
  border-left-color: #2f9e6a;
}

body.cms-audit .cms-audit-cartel[data-status="map"] {
  border-left-color: #d4a017;
}

body.cms-audit .cms-audit-cartel[data-status="gap"] {
  border-left-color: #cc2647;
}

body.cms-audit .cms-audit-cartel[data-kind="texto"] {
  top: 0;
  left: 0;
  font-size: 0.65rem;
  padding: 3px 6px;
}

body.cms-audit .sp-hero > .cms-audit-cartel, body.cms-audit .hero > .cms-audit-cartel {
  top: 12px;
  left: auto;
  right: 12px;
  z-index: 95;
}

.cms-audit-launcher {
  position: fixed;
  z-index: 10001;
  top: 1rem;
  right: 1rem;
  width: 48px;
  height: 48px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #2f9e6a;
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: background 0.15s ease, opacity 0.15s ease;
}

.cms-audit-launcher:hover,
.cms-audit-launcher:focus-visible {
  background: #278a5c;
  outline: none;
}

.cms-audit-launcher.is-marks-off {
  background: #cc2647;
  opacity: 1;
}

.cms-audit-launcher.is-marks-off:hover,
.cms-audit-launcher.is-marks-off:focus-visible {
  background: #b01f3c;
}

.cms-audit-launcher i {
  font-size: 1.15rem;
  line-height: 1;
}

body.cms-audit-open .cms-audit-launcher {
  z-index: 9997;
  pointer-events: none;
}

.cms-audit-overlay {
  position: fixed;
  z-index: 9998;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.cms-audit-overlay[hidden] {
  display: none;
}

.cms-audit-panel {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  width: min(420px, 92vw);
  height: 100%;
  max-height: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(12, 16, 20, 0.98);
  color: #f4f6f8;
  box-shadow: -8px 0 28px rgba(0, 0, 0, 0.35);
  font-family: Montserrat, system-ui, sans-serif;
  overflow: hidden;
  transform: translateX(100%);
  transition: transform 0.28s ease;
  pointer-events: none;
}

.cms-audit-panel.is-open {
  transform: translateX(0);
  pointer-events: auto;
}

.cms-audit-panel-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 16px 18px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 68px;
  box-sizing: border-box;
}

.cms-audit-panel-bar h2 {
  flex: 0 1 auto;
  min-width: 0;
  display: block;
  margin: 0;
  padding: 0;
  line-height: 1.15;
  height: auto;
  text-align: center;
  width: 100%;
}

.cms-audit-panel-heading {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  max-width: calc(100% - 7.5rem);
  pointer-events: none;
}

.cms-audit-page-scope {
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  text-align: center;
  width: 100%;
}

.cms-audit-panel-bar .cms-audit-marks-toggle,
.cms-audit-panel-bar .cms-audit-panel-close {
  position: relative;
  z-index: 2;
  align-self: center;
  flex-shrink: 0;
}

.cms-audit-marks-toggle {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  margin: 0;
  padding: 4px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #f4f6f8;
  cursor: pointer;
  font: inherit;
}

.cms-audit-marks-toggle:hover,
.cms-audit-marks-toggle:focus-visible {
  outline: none;
}

.cms-audit-marks-toggle:focus-visible .cms-audit-marks-toggle-track {
  box-shadow: 0 0 0 2px rgba(244, 246, 248, 0.45);
}

.cms-audit-marks-toggle-track {
  position: relative;
  width: 34px;
  height: 18px;
  border-radius: 999px;
  background: #cc2647;
  transition: background 0.15s ease;
}

.cms-audit-marks-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #f4f6f8;
  transition: transform 0.15s ease;
}

.cms-audit-marks-toggle.is-on .cms-audit-marks-toggle-track {
  background: #2f9e6a;
}

.cms-audit-marks-toggle.is-on .cms-audit-marks-toggle-thumb {
  transform: translateX(16px);
}

/* OFF: sitio limpio, panel y launcher siguen disponibles */
body.cms-audit:not(.cms-audit-marks) [data-cms-slot]:not(.cms-audit-locate),
body.cms-audit:not(.cms-audit-marks) [data-cms-field]:not(.cms-audit-locate),
body.cms-audit:not(.cms-audit-marks) .sp-form-card[data-cms-form-status]:not(.cms-audit-locate),
body.cms-audit:not(.cms-audit-marks) .contact-form[data-cms-form-status]:not(.cms-audit-locate) {
  outline: none !important;
  box-shadow: none !important;
}

body.cms-audit:not(.cms-audit-marks) .cms-audit-cartel,
body.cms-audit:not(.cms-audit-marks) .cms-audit-form-marker {
  display: none !important;
}

body.cms-audit:not(.cms-audit-marks) .cms-audit-flash:not(.cms-audit-locate) {
  outline: none !important;
  box-shadow: none !important;
}

.cms-audit-panel h2 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  text-align: center;
}

.cms-audit-panel-close {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin: 0;
  padding: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.06);
  color: #f4f6f8;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.cms-audit-panel-close:hover,
.cms-audit-panel-close:focus-visible {
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.cms-audit-panel-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 16px 18px 20px;
  overflow-x: clip;
  overflow-y: auto;
  gap: 18px;
}

.cms-audit-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 0;
  flex-shrink: 0;
  position: relative;
  z-index: 0;
  background: rgba(12, 16, 20, 0.98);
}

.cms-audit-section:last-child {
  flex: 1 1 auto;
  min-height: 12rem;
  overflow: hidden;
  z-index: 1;
}

.cms-audit-section:last-child > .cms-audit-panel-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.cms-audit-section-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 28px 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(244, 246, 248, 0.62);
}

.cms-audit-section-title::before,
.cms-audit-section-title::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.cms-audit-panel-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border-bottom: 0;
  flex-shrink: 0;
}

.cms-audit-summary-item {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  column-gap: 8px;
  row-gap: 2px;
  align-items: center;
  justify-content: start;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.04);
  border-left: 3px solid #666;
}

.cms-audit-summary-item[data-status="ok"] {
  border-left-color: #2f9e6a;
}

.cms-audit-summary-item[data-status="map"] {
  border-left-color: #d4a017;
}

.cms-audit-summary-item[data-status="gap"] {
  border-left-color: #cc2647;
}

.cms-audit-summary-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #666;
  grid-column: 1;
  grid-row: 1 / span 2;
}

.cms-audit-summary-item[data-status="ok"] .cms-audit-summary-dot {
  background: #2f9e6a;
}

.cms-audit-summary-item[data-status="map"] .cms-audit-summary-dot {
  background: #d4a017;
}

.cms-audit-summary-item[data-status="gap"] .cms-audit-summary-dot {
  background: #cc2647;
}

.cms-audit-summary-count {
  grid-column: 2;
  grid-row: 1;
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1;
  color: #fff;
  letter-spacing: 0.02em;
}

.cms-audit-summary-label {
  grid-column: 2;
  grid-row: 2;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(244, 246, 248, 0.7);
}

.cms-audit-panel-legend {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-bottom: 0;
  flex-shrink: 0;
}

.cms-audit-panel-legend li {
  display: grid;
  grid-template-columns: 12px 2.75rem 1fr;
  gap: 10px;
  align-items: center;
  font-size: 0.78rem;
  line-height: 1.4;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.cms-audit-panel-legend li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cms-audit-panel-legend li:first-child {
  padding-top: 0;
}

.cms-audit-swatch {
  width: 10px;
  height: 10px;
  margin: 0;
  border-radius: 50%;
  background: #666;
  flex-shrink: 0;
  justify-self: center;
}

.cms-audit-panel-legend li[data-status="ok"] .cms-audit-swatch {
  background: #2f9e6a;
}

.cms-audit-panel-legend li[data-status="map"] .cms-audit-swatch {
  background: #d4a017;
}

.cms-audit-panel-legend li[data-status="gap"] .cms-audit-swatch {
  background: #cc2647;
}

.cms-audit-legend-term {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
  width: 2.75rem;
}

.cms-audit-legend-text {
  color: rgba(244, 246, 248, 0.78);
}

.cms-audit-panel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  overflow: auto;
  display: grid;
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  max-height: 100%;
  align-content: start;
  overscroll-behavior: contain;
}

.cms-audit-group {
  margin: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.03);
  position: relative;
  z-index: 0;
}

.cms-audit-group:not([open]) {
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cms-audit-group:not([open])[data-status="ok"] {
  border-left: 3px solid #2f9e6a;
}

.cms-audit-group:not([open])[data-status="map"] {
  border-left: 3px solid #d4a017;
}

.cms-audit-group:not([open])[data-status="gap"] {
  border-left: 3px solid #cc2647;
}

.cms-audit-group[open] {
  border: 0;
  border-left: 0;
  background: transparent;
}

.cms-audit-group-summary {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px 10px;
  padding: 10px 12px;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.cms-audit-group-summary::-webkit-details-marker {
  display: none;
}

.cms-audit-group-summary::after {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid rgba(244, 246, 248, 0.7);
  border-bottom: 2px solid rgba(244, 246, 248, 0.7);
  transform: rotate(45deg);
  transition: transform 0.15s ease;
  grid-column: 4;
  grid-row: 1;
  justify-self: end;
}

.cms-audit-group[open] > .cms-audit-group-summary::after {
  transform: rotate(225deg);
  margin-top: 4px;
}

.cms-audit-group-summary .cms-audit-summary-dot {
  margin-top: 0;
  grid-column: 1;
  grid-row: 1;
}

.cms-audit-group-title {
  grid-column: 2;
  grid-row: 1;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
}

.cms-audit-group-count {
  grid-column: 3;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.5rem;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(244, 246, 248, 0.9);
}

.cms-audit-group[data-status="ok"] .cms-audit-summary-dot {
  background: #2f9e6a;
}

.cms-audit-group[data-status="map"] .cms-audit-summary-dot {
  background: #d4a017;
}

.cms-audit-group[data-status="gap"] .cms-audit-summary-dot {
  background: #cc2647;
}

.cms-audit-group-empty {
  margin: 0;
  padding: 8px 12px 12px;
  font-size: 0.72rem;
  color: rgba(244, 246, 248, 0.5);
}

.cms-audit-group-list {
  list-style: none;
  margin: 0;
  padding: 0 8px 8px;
  display: grid;
  gap: 8px;
}

.cms-audit-group-list li {
  padding: 10px;
  border-left: 0;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
}

.cms-audit-group-list li:hover,
.cms-audit-group-list li:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  outline: none;
}

.cms-audit-panel-head {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 8px;
  font-size: 0.8rem;
}

.cms-audit-ref {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.cms-audit-panel-head code {
  font-size: 0.8rem;
  color: #fff;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-audit-panel-head > span:last-child {
  white-space: nowrap;
}

.cms-audit-status {
  display: inline-block;
  width: 10px;
  height: 10px;
  min-width: 10px;
  padding: 0;
  border-radius: 50%;
  background: #666;
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
  color: transparent;
  overflow: hidden;
}

.cms-audit-status[data-status="ok"] {
  background: #2f9e6a;
}

.cms-audit-status[data-status="map"] {
  background: #d4a017;
}

.cms-audit-status[data-status="gap"] {
  background: #cc2647;
}

.cms-audit-panel-src {
  margin: 4px 0 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: rgba(244, 246, 248, 0.88);
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  align-items: baseline;
}

.cms-audit-kind {
  display: inline-flex;
  padding: 1px 6px;
  border: 1px solid rgba(244, 246, 248, 0.28);
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 246, 248, 0.78);
}

.cms-audit-panel-list li[data-kind="texto"] .cms-audit-kind,
.cms-audit-group-list li[data-kind="texto"] .cms-audit-kind {
  border-color: rgba(244, 246, 248, 0.4);
}

.cms-audit-panel-loc {
  color: rgba(244, 246, 248, 0.78);
}

.cms-audit-panel-preview {
  margin: 6px 0 0;
  padding: 6px 8px;
  border-left: 2px solid rgba(244, 246, 248, 0.22);
  font-size: 0.76rem;
  line-height: 1.35;
  color: rgba(244, 246, 248, 0.92);
  font-style: italic;
}

.cms-audit-panel-hint {
  margin: 4px 0 0;
  font-size: 0.68rem;
  line-height: 1.3;
  color: rgba(244, 246, 248, 0.55);
}

body.cms-audit .cms-audit-flash {
  outline: 2px solid #fff !important;
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(204, 38, 71, 0.35);
}

body.cms-audit .cms-audit-locate {
  outline: 2px solid #fff !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(47, 158, 106, 0.45), 0 0 0 1px rgba(12, 16, 20, 0.8) !important;
  position: relative;
  z-index: 70;
}

body.cms-audit p.cms-audit-locate,
body.cms-audit h1.cms-audit-locate,
body.cms-audit h2.cms-audit-locate,
body.cms-audit h3.cms-audit-locate,
body.cms-audit h4.cms-audit-locate,
body.cms-audit .kicker.cms-audit-locate {
  display: inline-block;
  width: max-content;
  max-width: 100%;
}

.cms-audit-locate-ring {
  position: fixed;
  z-index: 99980;
  pointer-events: none;
  box-sizing: border-box;
  border: 2px solid #2f9e6a;
  box-shadow: 0 0 0 4px rgba(47, 158, 106, 0.4);
  border-radius: 2px;
}

.cms-audit-locate-ring[data-status="gap"] {
  border-color: #cc2647;
  box-shadow: 0 0 0 4px rgba(204, 38, 71, 0.45);
}

.cms-audit-locate-ring[data-status="map"] {
  border-color: #d4a017;
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.4);
}

.cms-audit-locate-ring[hidden] {
  display: none !important;
}

body.cms-audit [data-cms-status="gap"].cms-audit-locate,
body.cms-audit [data-cms-field][data-cms-status="gap"].cms-audit-locate,
body.cms-audit [data-cms-slot][data-cms-status="gap"].cms-audit-locate {
  outline: 2px solid #cc2647 !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 5px rgba(204, 38, 71, 0.5), 0 0 0 1px rgba(12, 16, 20, 0.85) !important;
}

body.cms-audit #servicios,
body.cms-audit #equipo {
  overflow: visible;
}

body.cms-audit .cms-audit-locate > .cms-audit-cartel {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 95;
}

body.cms-audit .sp-form-card.cms-audit-locate > .cms-audit-form-marker > .cms-audit-cartel,
body.cms-audit .contact-form.cms-audit-locate > .cms-audit-form-marker > .cms-audit-cartel {
  opacity: 1 !important;
  visibility: visible !important;
}

body.cms-audit-open {
  overflow: hidden;
}

body.cms-audit .sp-topbar,
body.cms-audit .sp-topbar-inner,
body.cms-audit .topbar,
body.cms-audit .topbar-inner,
body.cms-audit .topbar-actions,
body.cms-audit .sp-header,
body.cms-audit .sp-header-inner,
body.cms-audit .site-header,
body.cms-audit .header-inner {
  overflow: visible;
}

body.cms-audit .sp-float, body.cms-audit .social-float > .cms-audit-cartel {
  top: auto;
  bottom: calc(100% + 6px);
  left: auto;
  right: 0;
}

body.cms-audit .sp-topbar .cms-audit-cartel,
body.cms-audit .topbar .cms-audit-cartel,
body.cms-audit .sp-header .cms-audit-cartel,
body.cms-audit .site-header .cms-audit-cartel {
  top: auto;
  bottom: 4px;
  left: 4px;
}

body.cms-audit #servicios > .cms-audit-cartel {
  top: 12px;
  left: auto;
  right: 12px;
}

/* Locale toggle (G6) */
.sp-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.sp-locale[hidden] { display: none !important; }
.sp-locale-toggle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(var(--locale-count, 2), 1fr);
  align-items: center;
  min-width: calc(var(--locale-count, 2) * 34px);
  height: 32px;
  padding: 2px;
  background: #fff;
  box-sizing: border-box;
}
.sp-locale-toggle::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: calc((100% - 4px) / var(--locale-count, 2));
  height: calc(100% - 4px);
  background: var(--sp-brand);
  transform: translateX(calc(var(--locale-index, 0) * 100%));
  transition: transform 0.2s ease;
  pointer-events: none;
  z-index: 0;
}
.sp-locale-option {
  position: relative;
  z-index: 1;
  border: 0;
  background: transparent;
  color: var(--sp-navy);
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
  padding: 0.25rem 0.4rem;
}
.sp-locale-option[aria-pressed="true"] { color: #fff; }

/* Scroll reveal — refuerzo en stylesheet (runtime inyecta #cms-reveal-css al boot) */
main > section.cms-reveal:not(.is-revealed) {
  opacity: 0;
  pointer-events: none;
}
main > section.cms-reveal.is-revealed {
  pointer-events: auto;
}

/* Design debt shells */
.page-debt .debt-banner {
  background: var(--sp-contact-band);
  color: #fff;
  padding: clamp(3.5rem, 8vw, 5.5rem) 0;
}
.page-debt .debt-banner-title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  font-weight: 800;
  color: #fff;
  max-width: 18ch;
}
.page-debt .debt-banner-lead {
  max-width: 46rem;
  margin: 0;
  color: var(--sp-on-dark-muted);
  font-size: 1.02rem;
  line-height: 1.65;
}
.page-debt .debt-banner-lead code {
  font-size: 0.88em;
  padding: 0.12rem 0.4rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
}
.page-debt .debt-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}
.page-debt .sp-block { margin-bottom: 2rem; }
.page-debt .sp-block:last-child { margin-bottom: 0; }

.sp-equipo-grid,
.sp-entradas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.sp-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  align-items: stretch;
}
@media (max-width: 900px) {
  .sp-blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .sp-blog-grid { grid-template-columns: 1fr; }
}
.sp-equipo-card,
.sp-entrada-card,
.sp-blog-card {
  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  overflow: hidden;
  min-width: 0;
  box-shadow: 0 12px 30px rgba(10, 35, 65, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-equipo-card:hover,
.sp-blog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow);
}
.sp-equipo-photo,
.sp-blog-media {
  display: block;
  aspect-ratio: 4 / 3;
  background: var(--sp-soft);
  object-fit: cover;
  width: 100%;
}
.sp-blog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sp-equipo-photo.is-empty,
.sp-blog-media.is-empty { min-height: 140px; }
.sp-equipo-body,
.sp-blog-body,
.sp-entrada-card > div { padding: 1.15rem 1.25rem 1.25rem; }
.sp-equipo-body h3,
.sp-entrada-card h3,
.sp-blog-body h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--sp-navy);
  line-height: 1.2;
}
.sp-blog-body h3 a {
  color: inherit;
  text-decoration: none;
}
.sp-blog-body h3 a:hover { color: var(--sp-brand); }
.sp-equipo-cargo,
.sp-entrada-sub,
.sp-blog-meta {
  color: var(--sp-muted);
  font-size: 0.85rem;
}
.sp-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.55rem;
}
.sp-entrada-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--sp-soft);
}
.sp-equipo-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
}
.sp-equipo-social-link {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--sp-brand) 14%, #fff);
  color: var(--sp-brand);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.sp-equipo-social-link:hover {
  background: var(--sp-brand);
  color: #fff;
}
.sp-logo-carousel {
  --sp-carousel-gap: 1rem;
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
}
.sp-carousel-btn {
  width: 2.65rem;
  height: 2.65rem;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  background: #fff;
  color: var(--sp-navy);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(10, 35, 65, 0.08);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.sp-carousel-btn:hover {
  background: var(--sp-brand);
  color: #fff;
  border-color: var(--sp-brand);
  transform: translateY(-1px);
}
.sp-carousel-viewport {
  overflow: hidden;
  min-width: 0;
}
.sp-carrusel-track {
  display: flex;
  gap: var(--sp-carousel-gap);
  width: max-content;
  will-change: transform;
}
.sp-carousel-slide {
  flex: 0 0 240px;
  width: 240px;
  display: grid;
  gap: 0;
  text-decoration: none;
  color: inherit;
  background: var(--sp-paper);
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(10, 35, 65, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sp-carousel-slide:hover {
  transform: translateY(-4px);
  box-shadow: var(--sp-shadow);
}
.sp-carousel-slide img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  background: var(--sp-soft);
}
.sp-carousel-caption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sp-navy);
  line-height: 1.35;
}
.sp-carousel-fallback {
  display: grid;
  place-items: center;
  gap: 0.35rem;
  height: 150px;
  padding: 0.75rem;
  background: var(--sp-soft);
  color: var(--sp-muted);
  text-align: center;
  font-size: 0.85rem;
}
.sp-ctas-stack { display: grid; gap: 1rem; }
.sp-cta-band {
  background: var(--sp-contact-band);
  color: var(--sp-on-dark);
  padding: 1.75rem 2rem;
  border-radius: 22px;
  box-shadow: 0 18px 50px rgba(10, 35, 65, 0.14);
}
.sp-cta-band h3 {
  margin: 0 0 0.5rem;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: -0.02em;
}
.sp-cta-band p {
  margin: 0 0 1.15rem;
  color: var(--sp-on-dark-muted);
  max-width: 52rem;
}
.sp-cta-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.sp-bloques-host { display: grid; gap: 1rem; }
.sp-bloque-html,
.sp-debt-html-card {
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  padding: 1.35rem 1.5rem;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 35, 65, 0.05);
}
.sp-bloque-html :is(h2, h3, h4) {
  font-family: var(--font-display);
  color: var(--sp-navy);
}
.cms-blog-pager {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 1.5rem;
}
.cms-pager-btn {
  min-width: 2.35rem;
  height: 2.35rem;
  border: 1px solid var(--sp-line);
  border-radius: var(--sp-btn-radius);
  background: #fff;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--sp-navy);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.cms-pager-btn:hover:not(:disabled) {
  border-color: var(--sp-brand);
  color: var(--sp-brand);
}
.cms-pager-btn.is-active {
  background: var(--sp-brand);
  color: #fff;
  border-color: var(--sp-brand);
}
.cms-pager-btn:disabled { opacity: 0.45; cursor: default; }
.cms-pager-ellipsis { padding: 0 0.25rem; color: var(--sp-muted); }

.debt-areas-grid,
.debt-productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.debt-area-card,
.debt-producto-card {
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 30px rgba(10, 35, 65, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.debt-area-card:hover,
.debt-producto-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--sp-shadow);
}
.debt-area-card h3,
.debt-producto-card h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--sp-navy);
  line-height: 1.25;
}
.debt-area-card p,
.debt-producto-card p {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}
.debt-precio {
  margin-top: 0.85rem !important;
  font-weight: 800;
  color: var(--sp-brand) !important;
  font-size: 1rem !important;
}
.debt-plp-mount {
  border: 1px solid var(--sp-line);
  border-radius: 16px;
  background: #fff;
  padding: 1.35rem 1.5rem;
  box-shadow: 0 12px 30px rgba(10, 35, 65, 0.05);
}
.debt-plp-empty {
  margin: 0;
  color: var(--sp-muted);
  font-size: 0.92rem;
}
.debt-plp-ids {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.debt-plp-ids li {
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--sp-line);
  border-radius: 999px;
  background: var(--sp-soft);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--sp-navy);
}

.page-debt .debt-footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.page-debt .debt-footer-grid .sp-footer-links {
  margin-inline: auto;
}
@media (max-width: 1080px) {
  .page-debt .debt-footer-grid {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
  .page-debt .debt-footer-grid .sp-footer-links {
    margin-inline: 0;
    width: 100%;
  }
  .page-debt .debt-footer-grid .sp-footer-nav {
    justify-content: center;
  }
  .page-debt .debt-footer-grid .sp-brand--foot {
    justify-content: center;
  }
}

