/* Portada editorial: paleta del logo UpapLegalTech (#102A43, #1769AA, #1C9A8B, #FFFFFF).
 * Por defecto aplica la Opción 4 (fondo #102A43, bloques tricolor y tarjetas #FFFFFF).
 * Con html[data-visual="opcion-1"] (activable desde el botón de tema) cambia a la Opción 1 clara.
 */

:root,
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #102A43;
  --surface: #FFFFFF;
  --surface-2: #EEF5FA;
  --ink: #102A43;
  --muted: #486581;
  --line: rgba(255, 255, 255, 0.18);
  --blue: #1769AA;
  --blue-deep: #102A43;
  --blue-bright: #1C9A8B;
  --green: #1C9A8B;
  --green-pale: #E5F6F3;
  --hero: #102A43;
  --hero-2: #1769AA;
}

html[data-visual="opcion-1"],
html[data-visual="opcion-1"][data-theme="dark"] {
  color-scheme: light;
  --paper: #FFFFFF;
  --surface: #FFFFFF;
  --surface-2: #EEF5FA;
  --ink: #102A43;
  --muted: #486581;
  --line: #D4E2EE;
  --blue: #1769AA;
  --blue-deep: #102A43;
  --blue-bright: #1C9A8B;
  --green: #1C9A8B;
  --green-pale: #E5F6F3;
  --hero: #102A43;
  --hero-2: #1769AA;
}

/* --- Hallazgo 2: muestra sintética legible en #confianza (escritorio y móvil) --- */
.escudo-focus-frame {
  line-height: 1.55;
  padding: 24px;
  background: #F4F8FB;
}
.mask-preview {
  width: 100%;
  padding: 24px 26px;
  border: 1px solid #C8DCEB;
  border-left: 5px solid #1C9A8B;
  border-radius: 10px;
  background: #FFFFFF;
  color: #102A43;
  box-shadow: 0 8px 24px rgba(16, 42, 67, 0.08);
  text-align: left;
  line-height: 1.55;
}
.mask-preview-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #E4F5F2;
  border: 1px solid #9CD8CF;
  color: #0E695E;
  font: 700 10px/1.2 var(--mono);
  letter-spacing: .08em;
  text-transform: uppercase;
}
.mask-preview strong {
  display: block;
  margin-bottom: 8px;
  font: 400 24px/1.2 var(--serif);
  color: #102A43;
}
.mask-preview p {
  margin: 8px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: #365068;
}
.mask-preview p:first-of-type {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 6px;
  background: #EDF4FA;
  border: 1px solid #C8DCEB;
  font: 600 12.5px/1.4 var(--mono);
  color: #102A43;
}

/* --- Estado por defecto: Opción 4 (sobre fondo #102A43) --- */
html:not([data-visual="opcion-1"]) body {
  background: #102A43;
  color: #FFFFFF;
}
html:not([data-visual="opcion-1"]) .topline {
  background: #0A1D30;
  color: #DCEBF7;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
html:not([data-visual="opcion-1"]) .topline strong {
  color: #7FE8DA;
}
html:not([data-visual="opcion-1"]) .site-header {
  background: rgba(16, 42, 67, 0.96);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(5, 16, 28, 0.35);
}
.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 21px;
  font-weight: 760;
  letter-spacing: -.03em;
  text-decoration: none;
}
.site-header .brand img {
  width: 36px;
  height: 44px;
  object-fit: contain;
}
html:not([data-visual="opcion-1"]) .site-header .brand,
html:not([data-visual="opcion-1"]) .site-header .brand strong {
  color: #FFFFFF;
}
html:not([data-visual="opcion-1"]) .site-header .brand small {
  color: #9CC2DF;
}
html:not([data-visual="opcion-1"]) .site-header .brand img,
html:not([data-visual="opcion-1"]) footer .brand-mark,
html:not([data-visual="opcion-1"]) footer .brand img {
  background: #FFFFFF;
  padding: 3px;
  border-radius: 9px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  filter: none;
}
.site-header .nav-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(14px, 2vw, 32px);
  font-size: 15px;
  font-weight: 600;
  width: auto;
  margin-left: auto;
}
.site-header .nav-links > a.nav-cta {
  margin-left: 8px;
}
.site-header .nav-links > a:not(.nav-cta),
.apps-menu summary {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 4px;
  line-height: 1;
}
summary:focus:not(:focus-visible) {
  outline: none;
}
summary:focus-visible,
.site-header .nav-links > a:focus-visible {
  outline: 2px solid #1C9A8B;
  outline-offset: 3px;
  border-radius: 6px;
}
html:not([data-visual="opcion-1"]) .nav-links > a,
html:not([data-visual="opcion-1"]) .apps-menu summary {
  color: #EEF6FC;
}
html:not([data-visual="opcion-1"]) .nav-links > a:hover,
html:not([data-visual="opcion-1"]) .apps-menu summary:hover,
html:not([data-visual="opcion-1"]) .apps-menu summary::after {
  color: #7FE8DA;
}
html:not([data-visual="opcion-1"]) .apps-dropdown {
  background: #FFFFFF;
  border-color: #D4E2EE;
  color: #102A43;
}
html:not([data-visual="opcion-1"]) .app-drop-title { color: #102A43; }
html:not([data-visual="opcion-1"]) .app-drop-sub { color: #486581; }
html:not([data-visual="opcion-1"]) .nav-cta {
  background: #1C9A8B;
  color: #FFFFFF !important;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(28, 154, 139, 0.35);
}
html:not([data-visual="opcion-1"]) .nav-cta:hover {
  background: #1769AA;
  color: #FFFFFF !important;
}
html:not([data-visual="opcion-1"]) .theme-toggle,
html:not([data-visual="opcion-1"]) .mobile-toggle {
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.24);
}
@media (max-width: 1240px) {
  html:not([data-visual="opcion-1"]) .site-header .nav-links {
    background: #102A43;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
}

/* Hero común a ambas variantes con Monitor Interactivo Integrado */
.hero {
  background: linear-gradient(128deg, #102A43 0%, #1769AA 54%, #1C9A8B 100%);
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 0;
  padding-bottom: 24px;
}
.hero::before {
  opacity: .42;
  background:
    radial-gradient(ellipse at 74% 12%, rgba(255, 255, 255, 0.22), transparent 38%),
    linear-gradient(90deg, transparent 49.9%, rgba(255, 255, 255, 0.08) 50%, transparent 50.1%),
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: auto, auto, 46px 46px, 46px 46px;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(24px, 3.8vw, 52px);
  min-height: min(520px, 60vh);
  padding-top: clamp(14px, 2.5vw, 28px);
  padding-bottom: clamp(10px, 1.5vw, 18px);
}
.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}
.hero-copy h1 {
  margin: 0;
  font-size: clamp(2.2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
}
.hero-lede {
  margin: 0;
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.55;
}
.hero-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}
.hero-trust-kicker {
  font: 700 11px/1.3 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #9EF0E5;
}
.hero-trust-triangle {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 14px;
  padding: 8px 16px;
  background: rgba(16, 42, 67, 0.52);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 10px;
  width: fit-content;
}
.hero-trust-triangle .trust-pillar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #FFFFFF;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: .02em;
}
.hero-trust-triangle .trust-pillar b {
  color: #7FE8DA;
  font-size: 12px;
}
.hero-trust-triangle .trust-sep {
  color: rgba(255, 255, 255, 0.38);
  font-weight: 300;
}
.hero-features .hero-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 4px 0 0;
  font-size: 13px;
  color: #EAF4FB;
}
.hero-workstation-stage {
  width: 100%;
  padding-top: 0;
}
.hero-workstation-stage .computer {
  width: 100%;
  max-width: 760px;
  margin: auto;
}
.hero-workstation-stage .screen-window-tabs {
  background: rgba(16, 42, 67, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.28);
  margin-bottom: 6px;
}
.hero-workstation-stage .screen-window-tab {
  min-height: 28px;
  padding: 4px 11px;
  font-size: 11px;
}
.hero-workstation-stage .screen-content {
  aspect-ratio: 16/8.2;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 20px 48px rgba(5, 20, 43, 0.38);
}
.hero-workstation-stage .screen-placeholder {
  min-height: 0;
  padding: 16px 20px;
}
.hero-workstation-stage .screen-placeholder img {
  width: 64px;
  height: 64px;
  margin-bottom: 6px;
  border-radius: 14px;
}
.hero-workstation-stage .screen-placeholder strong {
  margin: 0 0 6px;
  font-size: clamp(26px, 2.8vw, 38px) !important;
  line-height: 1.05;
}
.hero-workstation-stage .screen-placeholder-badge {
  margin-bottom: 8px;
  padding: 3px 10px;
  font-size: 9.5px;
}
.hero-workstation-stage .screen-placeholder-lede {
  max-width: 500px;
  margin: 0 0 10px;
  font-size: 12.5px;
  line-height: 1.4;
}
.hero-workstation-stage .screen-placeholder-chips {
  gap: 6px;
}
.hero-workstation-stage .screen-placeholder-chips span {
  padding: 4px 9px;
  font-size: 10.5px;
  border-radius: 6px;
}
.hero-workstation-stage .computer-neck {
  height: 24px;
}
.hero-workstation-stage .computer-foot {
  width: 220px;
  height: 10px;
}
.hero-suite-wrap {
  margin-top: 14px;
}
.hero-suite-wrap .product-selectors {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.hero-suite-wrap .product-selector {
  min-height: 58px;
  padding: 8px 12px;
  gap: 9px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(7, 28, 60, 0.14);
  transition: transform .18s ease, box-shadow .18s ease;
}
.hero-suite-wrap .product-selector:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(7, 28, 60, 0.22);
}
.hero-suite-wrap .product-selector[aria-pressed="true"] {
  border: 2px solid #1C9A8B;
  box-shadow: 0 0 0 2px rgba(28, 154, 139, 0.35), 0 8px 18px rgba(7, 28, 60, 0.18);
}
.hero-suite-wrap .product-selector img {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  border-radius: 7px;
}
.hero-suite-wrap .product-selector strong {
  color: #102A43;
  font-size: 12px;
  line-height: 1.2;
}
.hero-suite-wrap .product-selector small {
  color: #486581;
  font-size: 10px;
  line-height: 1.2;
}
.hero-suite-wrap .product-selector > b {
  color: #1769AA;
  font-size: 13px;
}

@media (max-width: 980px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero-suite-wrap .product-selectors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .hero-suite-wrap .product-selectors {
    grid-template-columns: 1fr;
  }
}

/* Cred strip en Opción 4 (reubicada tras la sección de Frontera en Azul Marino Institucional Oscuro) */
html:not([data-visual="opcion-1"]) .hero-suite-wrap {
  padding-bottom: 34px;
}
html:not([data-visual="opcion-1"]) .cred-strip {
  background: #0B1E31;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 0;
}
html:not([data-visual="opcion-1"]) .cred-inner {
  background: transparent;
  color: #FFFFFF;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}
html:not([data-visual="opcion-1"]) .cred { border-right-color: rgba(255, 255, 255, 0.14); }
html:not([data-visual="opcion-1"]) .cred:first-child { padding-left: 0; }
html:not([data-visual="opcion-1"]) .cred-icon {
  background: rgba(28, 154, 139, 0.18);
  color: #38D9A9;
  border: 1px solid rgba(28, 154, 139, 0.4);
}
html:not([data-visual="opcion-1"]) .cred:nth-child(2) .cred-icon {
  background: rgba(23, 105, 170, 0.22);
  color: #7FE8DA;
  border: 1px solid rgba(127, 232, 218, 0.4);
}
html:not([data-visual="opcion-1"]) .cred:nth-child(3) .cred-icon {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
html:not([data-visual="opcion-1"]) .cred strong { color: #FFFFFF; font-weight: 700; }
html:not([data-visual="opcion-1"]) .cred small { color: #9FB3C8; }

/* Productos y suite en Opción 4 */
html:not([data-visual="opcion-1"]) .products {
  background: #102A43;
  color: #FFFFFF;
}
html:not([data-visual="opcion-1"]) .products .eyebrow { color: #7FE8DA; }
html:not([data-visual="opcion-1"]) .products .product-intro h2 { color: #FFFFFF; }
html:not([data-visual="opcion-1"]) .products .product-intro h2 em { color: #7FE8DA; }
html:not([data-visual="opcion-1"]) .products .product-intro > p { color: #D5E7F5; }
.suite-card {
  background: #FFFFFF;
  color: #102A43;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-top: 4px solid #1769AA;
  box-shadow: 0 18px 40px -14px rgba(5, 16, 28, 0.48);
}
.suite-card:nth-child(even) {
  border-top-color: #1C9A8B;
}
.suite-card-kicker { color: #1769AA; }
.suite-card:nth-child(even) .suite-card-kicker { color: #12786C; }
.suite-card h3 { color: #102A43; }
.suite-card p { color: #486581; }
.suite-card a { color: #1769AA; }
html:not([data-visual="opcion-1"]) .showcase-intro .eyebrow { color: #7FE8DA; }
html:not([data-visual="opcion-1"]) .showcase-intro h3 { color: #FFFFFF; }
html:not([data-visual="opcion-1"]) .showcase-intro p { color: #D5E7F5; }

/* Escaparate interactivo protagonista (común) */
.products #product-workstation {
  background: linear-gradient(124deg, #102A43 0%, #1769AA 56%, #1C9A8B 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 28px 65px -16px rgba(5, 16, 28, 0.58);
}
.products #product-workstation .showcase-copy .eyebrow { color: #9EF0E5; }
.products #product-workstation .showcase-heading h3 { color: #FFFFFF; }
.products #product-workstation .showcase-copy p { color: #EAF4FB; }
.products #product-workstation .showcase-actions .button {
  background: #FFFFFF;
  color: #102A43;
}
.products #product-workstation .showcase-actions .button:hover {
  background: #EDF6FC;
  color: #102A43;
}
.products #product-workstation .showcase-actions .resource-links a {
  color: #FFFFFF;
}
.products #product-workstation .screen-window-tabs {
  background: rgba(11, 29, 48, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.26);
}
.products #product-workstation .screen-window-tab { color: #DCEBF7; }
.products #product-workstation .screen-window-tab:hover { color: #FFFFFF; background: rgba(255, 255, 255, 0.14); }
.products #product-workstation .screen-window-tab.is-active {
  background: #FFFFFF;
  color: #102A43;
}
.products #product-workstation .screen-content {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 48px rgba(7, 20, 35, 0.34);
}
.products #product-workstation .screen-placeholder {
  background: linear-gradient(145deg, #FFFFFF 0%, #F2F8FC 62%, #E9F7F5 100%);
  color: #102A43;
}
.products #product-workstation .screen-placeholder strong {
  color: #102A43 !important;
}
.products #product-workstation .screen-placeholder-lede,
.products #product-workstation .screen-placeholder span {
  color: #486581;
}
.products #product-workstation .screen-placeholder-badge {
  background: #FFFFFF;
  border-color: #B8D6EC;
  color: #1769AA;
}
.products #product-workstation .screen-placeholder-badge::before {
  background: #1C9A8B;
}
.products #product-workstation .screen-placeholder-chips span {
  background: #FFFFFF;
  border-color: #C7DDF0;
  color: #102A43;
}
.products #product-workstation .product-selector {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #102A43;
  box-shadow: 0 10px 24px rgba(7, 20, 35, 0.22);
}
.products #product-workstation .product-selector[aria-pressed="true"] {
  border-color: #1C9A8B;
  box-shadow: inset 0 0 0 2px #1C9A8B, 0 12px 28px rgba(7, 20, 35, 0.28);
  background: #FFFFFF;
}
.products #product-workstation .product-selector > b { color: #1769AA; }
.products #product-workstation .product-selector > span,
.products #product-workstation .product-selector small { color: #486581; }
.products #product-workstation .product-selector strong { color: #102A43; }

/* Sección #frontera */
.boundary {
  background: linear-gradient(135deg, #102A43 0%, #1769AA 56%, #1C9A8B 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.boundary::before {
  opacity: .38;
  background:
    radial-gradient(ellipse at 85% 15%, rgba(255, 255, 255, 0.2), transparent 45%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 46px 46px, 46px 46px;
}
.boundary .eyebrow { color: #9EF0E5; }
.boundary-lead-card {
  background: rgba(16, 42, 67, 0.56);
  border-color: rgba(255, 255, 255, 0.28);
}
.boundary-lead-card strong { color: #9EF0E5; }
.boundary-lead-card p { color: #E2EFF9; }
.flow-card {
  background: rgba(16, 42, 67, 0.56);
  border-color: rgba(255, 255, 255, 0.26);
}
.flow-card p { color: #DCEBF7; }
.flow-badge { color: #CBE6FA; }
.flow-badge-step { background: #1C9A8B; color: #FFFFFF; }
.flow-card-status {
  color: #9EF0E5;
  border-color: rgba(158, 240, 229, 0.34);
  background: rgba(10, 29, 48, 0.58);
}
.flow-card-status i { background: #1C9A8B; box-shadow: 0 0 8px #1C9A8B; }
.flow-arrow { color: #FFFFFF; }
.boundary-notice {
  background: rgba(16, 42, 67, 0.55);
  border-left-color: #9EF0E5;
}
.boundary-notice strong { color: #9EF0E5; }
.boundary-notice span { color: #DCEBF7; }
.boundary-notice.performance { border-left-color: #FFFFFF; }
.boundary-notice.performance strong { color: #FFFFFF; }
.boundary-slogan::before { background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent); }
.boundary-slogan h3 em { color: #9EF0E5; }

/* Sección #confianza en Opción 4 */
html:not([data-visual="opcion-1"]) #confianza {
  background: #102A43;
  color: #FFFFFF;
  padding-top: 40px;
}
html:not([data-visual="opcion-1"]) .human-copy .eyebrow { color: #7FE8DA; }
html:not([data-visual="opcion-1"]) .human-copy h2 { color: #FFFFFF; }
html:not([data-visual="opcion-1"]) .human-copy > p { color: #D5E7F5; }
.escudo-focus-window {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 48px rgba(5, 16, 28, 0.36);
}
.escudo-focus-titlebar { background: #EEF5FA; border-bottom-color: #D4E2EE; color: #486581; }
.escudo-focus-title { color: #486581; }
html:not([data-visual="opcion-1"]) .escudo-focus-badge,
html[data-visual="opcion-1"] .escudo-focus-badge {
  background: #E4F5F2;
  color: #0E695E;
}
.human-callout-card {
  background: #FFFFFF;
  border: 0;
  border-left: 5px solid #1C9A8B;
  color: #102A43;
  box-shadow: 0 18px 40px rgba(5, 16, 28, 0.3);
}
.human-callout-card strong { color: #102A43; }
.human-callout-card p { color: #486581; }
.guarantee-card {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-left: 4px solid #1769AA;
  color: #102A43;
  box-shadow: 0 14px 32px rgba(5, 16, 28, 0.28);
}
.guarantee-card:nth-child(2) { border-left-color: #1C9A8B; }
.guarantee-card:nth-child(3) { border-left-color: #102A43; }
.guarantee-card strong { color: #102A43; }
.guarantee-card p { color: #486581; }

/* --- Hallazgo 3: bloque #contacto-fundador unificado con colores del logo --- */
html:not([data-visual="opcion-1"]) .collegial {
  background: #102A43;
  padding-top: 24px;
}
html:not([data-visual="opcion-1"]) .collegial-panel,
html[data-visual="opcion-1"] .collegial-panel {
  background: linear-gradient(128deg, #102A43 0%, #1769AA 55%, #1C9A8B 100%);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 28px 65px -16px rgba(5, 16, 28, 0.55);
  padding: 52px;
}
html:not([data-visual="opcion-1"]) .collegial-panel::after,
html[data-visual="opcion-1"] .collegial-panel::after {
  color: rgba(255, 255, 255, 0.08);
}
.collegial-panel .eyebrow { color: #9EF0E5; }
.collegial-panel h2 { color: #FFFFFF; }
.collegial-panel .collegial-lead { color: #EAF4FB; }
html:not([data-visual="opcion-1"]) .corporate-pillar,
html[data-visual="opcion-1"] .corporate-pillar {
  background: rgba(16, 42, 67, 0.45);
  border-color: rgba(255, 255, 255, 0.26);
}
.corporate-pillar strong { color: #FFFFFF; }
.corporate-pillar p { color: #E2F0FA; }
html:not([data-visual="opcion-1"]) .corporate-card,
html[data-visual="opcion-1"] .corporate-card {
  background: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 22px 48px rgba(5, 16, 28, 0.36);
}
.corporate-brand-header { border-bottom-color: #D4E2EE; }
.corporate-brand-name { color: #102A43; }
.corporate-brand-sub, .corporate-card-text, .corporate-direct-email { color: #486581; }
.corporate-direct-email a { color: #102A43; }
html:not([data-visual="opcion-1"]) .button-corporate,
html[data-visual="opcion-1"] .button-corporate {
  background: linear-gradient(135deg, #1769AA 0%, #1C9A8B 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(23, 105, 170, 0.28);
}
html:not([data-visual="opcion-1"]) .button-corporate:hover,
html[data-visual="opcion-1"] .button-corporate:hover {
  background: linear-gradient(135deg, #102A43 0%, #1769AA 100%);
  color: #FFFFFF;
}

/* Pie de página común */
footer {
  background: #0A1D30;
  border-top: 2px solid #1C9A8B;
  color: #F0F6FA;
}
footer .brand, footer .brand strong { color: #FFFFFF; }
footer h2 { color: #8CDED3; }
footer p, footer .brand small { color: #C5D9EB; }
footer a { color: #FFFFFF; }
footer a:hover { color: #8CDED3; }
.footer-bottom { border-top-color: rgba(255, 255, 255, 0.16); color: #B5CCE0; }

/* --- Variante clara: Opción 1 (activable mediante el botón de tema) --- */
html[data-visual="opcion-1"] body {
  background: #FFFFFF;
  color: #102A43;
}
html[data-visual="opcion-1"] .topline {
  background: #102A43;
  color: #FFFFFF;
  border-bottom: 2px solid #1C9A8B;
}
html[data-visual="opcion-1"] .topline strong {
  color: #6FE3D5;
}
html[data-visual="opcion-1"] .site-header {
  background: rgba(255, 255, 255, 0.96);
  color: #102A43;
  border-bottom: 1px solid #D4E2EE;
  box-shadow: none;
}
html[data-visual="opcion-1"] .site-header .brand,
html[data-visual="opcion-1"] .site-header .brand strong { color: #102A43; }
html[data-visual="opcion-1"] .site-header .brand small { color: #486581; }
html[data-visual="opcion-1"] .site-header .brand img {
  background: transparent;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}
html[data-visual="opcion-1"] .nav-links > a,
html[data-visual="opcion-1"] .apps-menu summary { color: #102A43; }
html[data-visual="opcion-1"] .nav-links > a:hover,
html[data-visual="opcion-1"] .apps-menu summary:hover,
html[data-visual="opcion-1"] .apps-menu summary::after { color: #1769AA; }
html[data-visual="opcion-1"] .nav-cta {
  background: linear-gradient(135deg, #1769AA 0%, #1C9A8B 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  border: 0;
  box-shadow: none;
}
html[data-visual="opcion-1"] .nav-cta:hover {
  background: linear-gradient(135deg, #102A43 0%, #1769AA 100%);
  color: #FFFFFF !important;
}
html[data-visual="opcion-1"] .theme-toggle,
html[data-visual="opcion-1"] .mobile-toggle {
  background: #FFFFFF;
  color: #102A43;
  border-color: #D4E2EE;
}
@media (max-width: 1240px) {
  html[data-visual="opcion-1"] .site-header .nav-links {
    background: #FFFFFF;
    border-bottom: 1px solid #D4E2EE;
  }
}
html[data-visual="opcion-1"] .cred-strip {
  background: #E2E8F0;
  border-top: 1px solid #CBD5E1;
  border-bottom: 1px solid #CBD5E1;
  padding: 16px 0;
}
html[data-visual="opcion-1"] .cred-inner {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  color: #102A43;
}
html[data-visual="opcion-1"] .cred {
  border-right-color: #CBD5E1;
}
html[data-visual="opcion-1"] .cred strong {
  color: #102A43;
}
html[data-visual="opcion-1"] .cred small {
  color: #334E68;
}
html[data-visual="opcion-1"] .products {
  background: linear-gradient(165deg, #EDF4FA 0%, #F7FBFE 46%, #E7F5F3 100%);
  color: #102A43;
}
html[data-visual="opcion-1"] .products .eyebrow { color: #1769AA; }
html[data-visual="opcion-1"] .products .product-intro h2 { color: #102A43; }
html[data-visual="opcion-1"] .products .product-intro h2 em { color: #1769AA; }
html[data-visual="opcion-1"] .products .product-intro > p { color: #486581; }
html[data-visual="opcion-1"] .suite-card {
  border: 1px solid #D4E2EE;
  border-top: 3px solid #1769AA;
  box-shadow: 0 12px 30px -18px rgba(16, 42, 67, 0.18);
}
html[data-visual="opcion-1"] .suite-card:nth-child(even) {
  border-top-color: #1C9A8B;
}
html[data-visual="opcion-1"] .showcase-intro .eyebrow { color: #1769AA; }
html[data-visual="opcion-1"] .showcase-intro h3 { color: #102A43; }
html[data-visual="opcion-1"] .showcase-intro p { color: #486581; }
html[data-visual="opcion-1"] .boundary {
  background: linear-gradient(135deg, #102A43 0%, #134A7A 58%, #16766D 100%);
}
html[data-visual="opcion-1"] #confianza {
  background: linear-gradient(175deg, #F4F9FC 0%, #FFFFFF 55%, #ECF7F5 100%);
  color: #102A43;
  padding-top: 40px;
}
html[data-visual="opcion-1"] .human-copy .eyebrow { color: #1769AA; }
html[data-visual="opcion-1"] .human-copy h2 { color: #102A43; }
html[data-visual="opcion-1"] .human-copy > p { color: #486581; }
html[data-visual="opcion-1"] .escudo-focus-window { border-color: #D4E2EE; box-shadow: 0 18px 42px -18px rgba(16, 42, 67, 0.2); }
html[data-visual="opcion-1"] .human-callout-card { border: 1px solid #D4E2EE; border-left: 5px solid #1769AA; box-shadow: 0 8px 24px -12px rgba(16, 42, 67, 0.12); }
html[data-visual="opcion-1"] .guarantee-card { border: 1px solid #D4E2EE; border-left: 4px solid #1769AA; box-shadow: 0 8px 24px -16px rgba(16, 42, 67, 0.14); }
html[data-visual="opcion-1"] .guarantee-card:nth-child(2) { border-left-color: #1C9A8B; }
html[data-visual="opcion-1"] .guarantee-card:nth-child(3) { border-left-color: #102A43; }
html[data-visual="opcion-1"] .collegial {
  background: #FFFFFF;
  padding-top: 72px;
}
html[data-visual="opcion-1"] footer {
  background: #102A43;
  border-top: 3px solid #1C9A8B;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Accesos permanentes a cada producto, también disponibles sin JavaScript. */
.suite-cards { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:16px; margin:0 0 80px; }
.suite-card { grid-column:span 2; min-width:0; min-height:265px; display:flex; flex-direction:column; align-items:flex-start; padding:28px; border-radius:12px; transition:transform .2s,box-shadow .2s; }
.suite-card:nth-child(-n+2) { grid-column:span 3; }
.suite-card:hover { transform:translateY(-3px); box-shadow:0 22px 46px -14px rgba(5,16,28,0.45); }
.suite-card img { width:48px; height:48px; object-fit:contain; border-radius:10px; margin-bottom:22px; }
.suite-card-kicker { font:700 10px/1.4 var(--mono); letter-spacing:.1em; text-transform:uppercase; }
.suite-card h3 { margin:10px 0; font:400 29px/1.1 var(--serif); letter-spacing:-.025em; }
.suite-card p { margin:0 0 22px; font-size:14px; max-width:42ch; }
.suite-card a { margin-top:auto; min-height:44px; display:inline-flex; align-items:center; gap:12px; font-size:13px; font-weight:700; }
.showcase-intro { margin:0 0 26px; }
.showcase-intro h3 { margin:10px 0; font:400 clamp(30px,3vw,42px)/1.1 var(--serif); }
.showcase-intro p { margin:0; }

@media (max-width:800px) {
  .suite-cards { grid-template-columns:repeat(2,minmax(0,1fr)); margin-bottom:56px; }
  .suite-card, .suite-card:nth-child(-n+2) { grid-column:span 1; }
  html:not([data-visual="opcion-1"]) .cred-inner { padding: 4px 18px; }
  html:not([data-visual="opcion-1"]) .cred { border-right: 0; border-bottom: 1px solid #D4E2EE; }
  html:not([data-visual="opcion-1"]) .cred:last-child { border-bottom: 0; }
  html:not([data-visual="opcion-1"]) .collegial-panel,
  html[data-visual="opcion-1"] .collegial-panel { padding: 30px 22px; }
}
@media (max-width:520px) { .suite-cards { grid-template-columns:1fr; } .suite-card { min-height:0; } }

/* Navegación móvil unificada para todas las páginas */
@media (max-width: 1200px) {
  #site-header:not(.is-open) #primary-navigation {
    display: none;
  }
  #site-header.is-open #primary-navigation {
    display: grid;
    gap: 4px;
    max-height: min(70vh, 38rem);
    overflow-y: auto;
    justify-content: stretch;
    margin-left: 0;
  }
  #site-header.is-open #primary-navigation > .nav-cta {
    width: 100%;
    margin-left: 0;
    margin-top: 6px;
  }
}
