:root[data-redesign-theme] {
  color-scheme: dark;
  --night: #0d0f10;
  --chalk: #f4eee5;
  --muted: #c8c6bf;
  --red-panel: #202223;
  --red-deep: #121415;
  --red-rise: #2e3030;
  --red-halo: #655b4b;
  --red-wash: #272724;
  --red-metal: #bda16c;
  --red-metal-light: #e2c895;
  --red-on-metal: #17140f;
  --red-focus: #e9cea0;
  --red-canvas: #33373a;
  --red-particle-low: #5b666b;
  --red-particle-mid: #9eaaab;
  --red-particle-high: #e0cda5;
  --red-action-top: #c7af81;
  --red-action-floor: #ab9060;
  --red-action: linear-gradient(158deg,var(--red-action-top),var(--red-action-floor));
  --red-line: color-mix(in srgb, var(--red-metal) 34%, transparent);
  --red-line-soft: color-mix(in srgb, var(--muted) 23%, transparent);
  --red-glass: linear-gradient(150deg, color-mix(in srgb, var(--red-rise) 77%, transparent), color-mix(in srgb, var(--red-deep) 81%, transparent));
  --lavender: var(--red-metal);
  --superficie: linear-gradient(130deg,var(--red-panel),var(--red-deep) 72%,var(--red-panel));
  --borde-superficie: var(--red-line-soft);
  --fondo-web: radial-gradient(ellipse 76% 44rem at 17% 14%, color-mix(in srgb,var(--red-wash) 60%,transparent),transparent 91%),
    linear-gradient(168deg,var(--night),var(--red-deep) 53%,var(--night));
}
:focus-visible { outline-color: var(--red-focus); }
::selection { background: var(--red-metal-light); color: var(--red-on-metal); }
body { color: var(--chalk); }
@media screen {
  .legal-page { color: var(--chalk); }
  .legal-bar, .legal-footer, .legal-copy section { border-color: var(--red-line-soft); }
  .legal-hero .eyebrow, .legal-hero small, .legal-bar a:last-child, .legal-footer a,
  .legal-copy a, .legal-index h2 { color: var(--red-metal-light); }
  .legal-copy p, .legal-index a, .legal-hero > p:not(.eyebrow) { color: var(--muted); }
  .legal-copy .legal-review { color: var(--chalk); background: var(--red-panel); border-color: var(--red-metal); }
  .legal-page a:hover { color: var(--chalk); }
}

@media screen and (forced-colors: none) {
  :is(.button, .legal-copy .legal-action, .bsx-actions .bsx-primary, .bsx-actions .bsx-secondary, .viewer-bar button) {
    --reflejo: inset 0 1px 0 #fff2, 0 .25rem .85rem #0004;
    --reflejo-activo: inset 0 1px 0 #fff5, 0 0 0 1px var(--red-line), 0 .35rem 1.1rem color-mix(in srgb,var(--red-metal) 25%,transparent);
  }
  :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]) {
    color: var(--chalk);
    background: var(--red-glass);
    border-color: var(--red-line);
    box-shadow: inset 0 1px 0 #fff2, 0 .25rem .85rem #0004;
  }
  :is(.button, .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]):is(:hover,:focus-visible) {
    border-color: var(--red-metal);
    box-shadow: inset 0 1px 0 #fff5, 0 .35rem 1.1rem color-mix(in srgb,var(--red-metal) 25%,transparent);
  }
}
.opening { background: linear-gradient(115deg,var(--red-wash),var(--night) 68%); }
.opening .top {
  width: auto;
  margin-inline: max(clamp(14px,2.65vw,56px),env(safe-area-inset-left)) max(clamp(14px,2.65vw,56px),env(safe-area-inset-right));
  min-height: 80px;
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  gap: .4rem .7rem;
}
.brand-name span { color: var(--red-metal); }
.opening .top .top-nav {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-end;
  width: auto;
  margin-inline-start: auto;
  padding: 0;
  border: 0;
  gap: clamp(.35rem,1vw,.65rem);
  background: transparent;
}
.opening .top .top-nav a.button {
  flex: 0 0 auto;
  min-height: 44px;
  inline-size: clamp(6.35rem,8vw,7.15rem);
  padding-inline: .56rem;
  border: 1px solid var(--red-action-top);
  border-radius: 99px;
  color: var(--red-on-metal);
  white-space: nowrap;
  background: var(--red-action);
  box-shadow: inset 0 1px 0 #fff2, 0 2px 6px #0004;
}
.opening .top .top-nav .button::before { content: none; }
.opening .top .top-nav a.button:is(:hover,:focus-visible) {
  border-color: var(--red-metal-light);
  color: var(--red-on-metal);
  background: var(--red-action);
}

.buso-home .opening {
  position: relative;
  z-index: 1;
  pointer-events: none;
}
.opening :is(.brand, .top-nav) { pointer-events: auto; }
.buso-home .opening-stage {
  /* Share one drawing surface all the way to the top edge, behind the navigation. */
  margin-block-start: calc(-1 * var(--buso-header-height, 80px));
  padding-block-start: var(--buso-header-height, 80px);
}
.opening-stage {
  isolation: isolate;
  overflow: clip;
  background: radial-gradient(ellipse at 50% 85%,var(--red-canvas),transparent 62%),
    radial-gradient(ellipse at 5% 0%,var(--red-wash),transparent 60%),
    linear-gradient(180deg,var(--night) 34%,var(--red-deep));
}
.opening-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background: linear-gradient(180deg,transparent 17%,color-mix(in srgb,var(--night) 54%,transparent) 48%,transparent 73%,var(--red-deep) 100%);
}
.redesign-hero-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
  mask-image: linear-gradient(#000 75%,transparent 100%);
}
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  min-height: max(660px,calc(100svh - 80px));
  padding-block: clamp(4rem,10svh,8rem) 2.15rem;
  padding-inline: 0;
}
.hero-copy { width: min(100%,850px); margin-inline: auto; padding: 0; }
.buso-home .hero-copy { width: min(100%,74rem); }
.hero-tag {
  justify-content: center;
  color: var(--muted);
  font-size: clamp(.66rem,1.2vw,.79rem);
  letter-spacing: .10em;
}
.hero .pulse-mark { background-image: repeating-linear-gradient(100deg,var(--red-metal) 0 3px,transparent 3px 6px); }
.hero h1 {
  margin: .30em 0 .24em;
  font-size: clamp(3.2rem,7.7vw,8rem);
  line-height: .99;
  letter-spacing: -.077em;
  text-wrap: balance;
}
.hero h1.hero-title { font-size: clamp(3.2rem,6.9vw,6.55rem); }
.hero-title > :is(span,em) { display: block; }
.hero h1 em {
  color: var(--red-metal-light);
  text-shadow: 0 .18rem 1.5rem color-mix(in srgb,var(--night) 77%,transparent);
}
.hero .lead {
  font-size: clamp(.99rem,1.65vw,1.22rem);
  max-width: 57ch;
  margin-inline: auto;
  line-height: 1.66;
  color: var(--muted);
  text-wrap: balance;
}
.hero .hero-actions { justify-content: center; gap: .75rem; margin-top: clamp(1.25rem,2.7vw,2.1rem); }
.hero .hero-actions .button { gap: .72rem; padding-inline: 1.25rem; }
.hero .hero-actions span { font-size: 1.1em; }
.button.primary, .bsx-actions .bsx-primary, .quote-actions .quote-whatsapp {
  color: var(--red-on-metal);
  background: var(--red-action);
  border-color: var(--red-action-top);
  box-shadow: inset 0 1px 0 #fff3, 0 .3rem .9rem #0005;
}
.button:not(.primary):not(.map-button), .bsx-actions .bsx-secondary {
  background: var(--red-glass);
  border-color: var(--red-line);
  color: var(--chalk);
  box-shadow: inset 0 1px 0 #fff2, 0 .28rem .85rem #0004;
}
.hero .hero-actions .work-link { backdrop-filter: blur(10px); }
.hero .hero-actions a:hover {
  border-color: var(--red-metal);
  box-shadow: inset 0 1px 0 #fff4,0 .35rem 1rem #0005;
}
.section-light {
  --panel-heading: var(--chalk);
  --panel-copy: var(--muted);
  --panel-accent: var(--red-metal);
  --panel-rule: var(--red-line-soft);
}
.catalog .section-grid {
  display: block;
}
.catalog .section-intro {
  display: grid;
  align-items: end;
  gap: .95rem clamp(1.5rem,5.4vw,5.9rem);
  margin-block-end: clamp(1.35rem,3.5vw,3.4rem);
}
.catalog .section-title h2 {
  margin-block: .75rem 0;
  font-size: clamp(2rem,4.6vw,4.45rem);
  line-height: 1.07;
}
.catalog .section-context {
  max-width: 45ch;
  min-width: 0;
  color: var(--panel-copy);
  font-size: clamp(.92rem,1.2vw,1.08rem);
  line-height: 1.7;
}
.catalog .solution-figure { display: none; }

@media screen and (min-width: 821px) {
  .catalog .section-intro { grid-template-columns: minmax(0,1.13fr) minmax(15rem,.87fr); }
}

@media screen and (forced-colors: none) {
  .catalog .service {
    background: radial-gradient(ellipse at 86% 0%,color-mix(in srgb,var(--red-rise) 50%,transparent),transparent 78%),
      var(--superficie);
    box-shadow: inset 0 1px #fff1;
  }
  .catalog .service-browser.is-tabbed .service {
    background: radial-gradient(ellipse 86% 60% at 94% 0%,color-mix(in srgb,var(--red-halo) 26%,transparent),transparent 85%),
      linear-gradient(145deg,var(--red-panel),var(--red-deep) 82%);
    box-shadow: inset 0 1px #fff1, 0 18px 44px #0004;
  }
  .catalog :is(.service summary, .service-menu [role="tab"]:not([aria-selected="true"]))::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;
    background: radial-gradient(ellipse 70% 76% at 34% 49%,
      color-mix(in srgb,var(--red-particle-mid) 22%,transparent),
      color-mix(in srgb,var(--red-metal) 11%,transparent) 57%,transparent 96%);
    mask-image: linear-gradient(90deg, transparent, #000 11%, #000 78%, transparent),
      linear-gradient(0deg, transparent, #000 18%, #000 83%, transparent);
    mask-composite: intersect;
    opacity: 0;
    pointer-events: none;
    transition: opacity .18s ease-out;
  }
  @media (hover: hover) {
    .catalog :is(.service summary, .service-menu [role="tab"]:not([aria-selected="true"])):hover::before { opacity: .56 }
  }
  .catalog .service[open] summary::before { opacity: 1 }
  .catalog :is(.service[open], .service-menu [aria-selected="true"]) .service-number { color: var(--red-metal-light) }
  .catalog .service[open] .toggle { background: var(--red-rise); border-color: var(--red-metal); }

  .catalog .service-body > .solution-figure {
    display: block;
    grid-area: visual;
    align-self: center;
    justify-self: center;
    width: 100%;
    min-width: 0;
    max-width: 17.5rem;
    height: clamp(6rem,26vw,10rem);
    margin: 0;
    background: radial-gradient(ellipse at 50% 46%,color-mix(in srgb,var(--red-particle-low) 28%,transparent),transparent 71%);
    pointer-events: none;
  }
  .catalog .solution-particles { display: block; width: 100%; height: 100%; }
  .catalog .service-body:has(> .solution-figure:not([hidden])) {
    grid-template-columns: minmax(0,1.8fr) minmax(4.75rem,1fr);
    grid-template-areas: "description visual" "features features" "actions actions";
  }
  @media (min-width: 821px) {
    .catalog .service-menu > .service-glass {
      position: absolute;
      z-index: -1;
      inset: 0 0 auto;
      opacity: 0;
      background:
        radial-gradient(ellipse 64% 88% at 42% 51%,color-mix(in srgb,var(--red-particle-mid) 27%,transparent),color-mix(in srgb,var(--red-particle-mid) 11%,transparent) 49%,transparent 94%),
        radial-gradient(ellipse 42% 80% at 13% 54%,color-mix(in srgb,var(--red-metal) 13%,transparent),transparent 89%);
      mask-image: linear-gradient(90deg,transparent,#000 12%,#000 77%,transparent);
      pointer-events: none;
    }
    .catalog .service-menu > .service-glass.is-positioned { opacity: 1; }

    .catalog .is-tabbed .service-body:has(> .solution-figure:not([hidden])) {
      grid-template-columns: minmax(0,1.36fr) minmax(8rem,1fr);
      grid-template-areas: "heading heading" "description visual" "features visual" "actions actions";
    }
    .catalog .is-tabbed .service-body > .solution-figure {
      height: clamp(9.5rem,18.5vw,16rem);
    }
  }
  @media (max-width: 365px) {
    .catalog .service-body:has(> .solution-figure:not([hidden])) {
      grid-template-columns: minmax(0,1fr);
      grid-template-areas: "visual" "description" "features" "actions";
    }
    .catalog .service-body > .solution-figure { height: 6.35rem; }
  }
}

@media screen and (min-width: 821px) and (forced-colors: none) and (prefers-reduced-motion: no-preference) {
  html:not(.reduce-motion) .catalog .service-menu > .service-glass.is-positioned {
    transition: transform .36s cubic-bezier(.22,.72,.18,1), height .26s ease-out;
  }
}

@media (forced-colors: active) {
  .catalog .service-glass { display: none; }
  .catalog .service-menu [aria-selected="true"] { border-color: Highlight; }
}

.bsv { --bsv-label: var(--red-metal); --bsv-body: var(--muted); --bsv-line: var(--red-line-soft); }
.bsv-demo-section .bsv-heading {
  display: block;
  margin-block: 0 clamp(1.25rem,3vw,2.55rem);
  text-align: center;
}
.bsv-demo-section .bsv-heading h2 {
  margin: 0 auto;
  max-inline-size: 22ch;
}
.bsv-heading em, .bsv-demo-caption, .bsv-discipline, .method .keyline, .quote-intro .eyebrow { color: var(--red-metal); }
.bsv :is(.bsv-feature,.bsv-case), .method .method-content,
.quote-panel, .idea-assistant, .contact .contact-card {
  background: var(--superficie);
  border-color: var(--borde-superficie);
}
.bsv :is(.bsv-card-actions summary,.bsv-capture), .contact :is(.quote-panel input,.quote-panel select,.quote-panel textarea,.map-button) {
  background: var(--red-deep);
  color: var(--chalk);
  border-color: var(--red-line);
}
.contact .contact-icon, .contact .contact-channel-copy strong, .office-copy h3 { color: var(--red-metal-light); }
.bsv-portfolio-section { background: linear-gradient(155deg,var(--red-panel),var(--night)); border-color: var(--red-line-soft); }
.idea-assistant :is(summary,legend) { color: var(--red-metal-light); }
.motion-pref input { accent-color: var(--red-metal); }
.bsx { --bsx-paper: var(--chalk); --bsx-violet: var(--red-metal-light); }
.bsx-tabs, .bsx-toolbar { background: var(--red-deep); border-color: var(--red-line-soft); }
.bsx-panel {
  background: radial-gradient(ellipse at 100% 16%,var(--red-wash),transparent 65%),var(--red-panel);
  border-color: var(--red-line-soft);
}
:is(#bsx-conta:checked ~ .bsx-tabs [for="bsx-conta"],
    #bsx-coop:checked ~ .bsx-tabs [for="bsx-coop"],
    #bsx-inv:checked ~ .bsx-tabs [for="bsx-inv"]) {
  background: var(--red-metal-light);
  color: var(--red-on-metal);
}

@media (max-width: 680px) {
  .opening .top { min-height: 65px; padding-block: .48rem; }
  .brand-art { width: 36px; height: 36px; }
  .opening .top .top-nav .button { font-size: clamp(.75rem,2.3vw,.85rem); }
  .hero {
    min-height: 610px;
    padding-block: 3.6rem 1.4rem;
  }
  .hero h1 { font-size: clamp(2.74rem,10vw,4.45rem); }
  .hero h1.hero-title { font-size: clamp(2.45rem,9.7vw,4.25rem); }
  .hero .hero-actions .button { width: fit-content; min-height: 47px; padding-inline: .9rem; }
}
@media (max-width: 375px) {
  .opening .brand-art { width: 31px; height: 31px; }
  .opening .top .top-nav a.button { inline-size: 5.5rem; padding-inline: .36rem; }
  .hero .hero-actions { gap: .52rem; }
  .hero .hero-actions .button { margin-inline: auto; }
  .hero .hero-tag { gap: .4rem; }
}
