/* Misma identidad de los sistemas en la portada, la demo y las páginas legales. */
:root body :is(h1, h2, h3, h4, h5, h6),
.button, .top-nav a, .service-body a, .bsv-details summary,
.service summary, .questions summary, .bsx-tabs label, .bsx button,
.bsx-measure strong, .bsx-previous strong, .bsx-amounts dd, .legal-action, .quick-contact a {
  font-family: var(--mono);
  font-feature-settings: "ss04" 1;
  font-weight: 500;
}

.hero h1 {
  font-size: clamp(3rem, 6.1vw, 6.8rem);
  line-height: 1.08;
  letter-spacing: -.055em;
}
.section-light h2, .contact h2, .bsv-heading h2 {
  font-size: clamp(2rem, 3.8vw, 4.3rem);
  line-height: 1.1;
}
@media (max-width:680px) {
  .hero h1 { font-size: clamp(2.12rem, 9.6vw, 3.9rem); }
  .top-nav .button { font-size: clamp(.7rem, 2.05vw, .85rem); padding-inline: .48em; }
  .hero .button { font-size: .85rem; }
}
@media (max-width: 375px) {
  .top-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Reflejo lila común en los controles de acción. */
:is(.button, .legal-copy .legal-action, .bsx-actions .bsx-primary, .bsx-actions .bsx-secondary, .viewer-bar button, .layer summary) {
  --reflejo: inset 0 1px 0 #f8eaff29, 0 0 0 1px #cab3f51b, 0 .25rem .85rem #0a08174d;
  --reflejo-activo: inset 0 1px 0 #faf0ff74, 0 0 0 1px #e0c9ff87, 0 .3rem 1.15rem #a685e75e;
  border: 1px solid #9f86be86;
  box-shadow: var(--reflejo);
  transition: box-shadow .19s ease-out, background-color .19s ease-out, border-color .19s ease-out;
}
.button:not(.primary):not(.map-button), .legal-copy .legal-action {
  background: linear-gradient(155deg, #3c3349, #221d2c 76%);
  color: #f0e4fb;
}
.top-nav .button.contact-nav { background: linear-gradient(155deg, #534462, #302739 76%) }
:is(.button.primary, .bsx-actions .bsx-primary) { border-color: #e2d1ffd6 }
.legal-copy .legal-action { border-radius: 999px; padding: .55rem 1rem; margin-block: .25rem; text-decoration: none }
.layer[open] summary { box-shadow: var(--reflejo-activo) }
@media (hover: hover) {
  :is(.button, .legal-copy .legal-action, .bsx-actions .bsx-primary, .bsx-actions .bsx-secondary, .viewer-bar button, .layer summary):hover {
    border-color: #e5d0ff; box-shadow: var(--reflejo-activo);
  }
  .button.primary:hover { transform: none }
}
:is(.button, .legal-copy .legal-action, .bsx-actions .bsx-primary, .bsx-actions .bsx-secondary, .viewer-bar button, .layer summary):active {
  box-shadow: inset 0 2px 6px #0a081768, 0 0 0 1px #e0c9ff74;
}

.idea-assistant {
  min-width: 0; margin-block: .4rem; padding-inline: .85rem;
  border: 1px solid #806e95; border-radius: .75rem;
  background: linear-gradient(145deg, #3c2e52, #241e32 75%);
}
.idea-assistant summary {
  min-height: 44px; padding-block: .7rem; cursor: pointer;
  color: #efdeff; font: 500 .85rem/1.5 var(--mono);
}
.idea-assistant[open] { padding-bottom: 1rem }
.idea-assistant :is(form, fieldset, #idea-resultado) {
  display: grid; gap: .55rem; min-width: 0;
}
.idea-assistant fieldset {
  margin: .3rem 0; padding: .7rem;
  border: 1px solid #7c6a8e; border-radius: .55rem;
}
.idea-assistant legend { padding-inline: .35rem; color: #ead8ff; font: 500 .8rem/1.6 var(--mono) }
.idea-assistant textarea {
  width: 100%; resize: vertical; color: #f8edff; background: #211a30;
  border: 1px solid #837197; border-radius: .55rem; padding: .65rem .75rem;
  font: inherit;
}
.idea-assistant textarea::placeholder { color: #bfb1ce }
.idea-assistant .button { margin: .25rem 0 0; justify-self: start; min-height: 44px; font-size: .8rem; cursor: pointer }
.idea-assistant .button:disabled { opacity: .65; cursor: wait }
.idea-assistant p { color: #dfd4e8; font-size: .86rem; overflow-wrap: anywhere }
#idea-estado:not(:empty) { margin-block: .6rem }
#mensaje-cotizacion { white-space: pre-wrap }

@media screen {
  :is(.service-body a, .bsv-section-link, .bsv-consult, .bsv-capture span,
      .bsv-review-content a, .questions a, .contact-claims, .contact-note a, .idea-assistant p a,
      .office-map figcaption a, .foot nav a, .legal-bar a:last-child, .legal-footer a, .legal-copy a, .legal-hero a[download]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    padding: .45rem .85rem;
    border: 1px solid #9f86be86;
    border-radius: 999px;
    background: linear-gradient(155deg, #3c3349, #221d2c 76%);
    box-shadow: inset 0 1px #f8eaff29, 0 .25rem .85rem #0a08174d;
    color: #f0e4fb;
    font: 500 .84rem/1.4 var(--mono);
    overflow-wrap: anywhere;
    text-align: center;
    text-decoration: none;
    transition: border-color .19s, box-shadow .19s;

    &:is(:hover, :focus-visible),
    .bsv-capture:is(:hover, :focus-visible) & {
      border-color: #e5d0ff;
      box-shadow: inset 0 1px #faf0ff74, 0 .3rem 1.15rem #a685e75e;
    }
  }

  :is(.bsv-capture span, .bsv-review-content a, .questions a, .contact-note a, .idea-assistant p a,
      .office-map figcaption a, .legal-copy a:not(.legal-action), .legal-hero a[download]) {
    min-height: 28px;
    margin-block: .12em;
    padding: .22em .65em;
    font-size: .77rem;
    vertical-align: baseline;
  }
}
