/* Inicio, Activación B2B y Captación local. Accesibilidad carga su propio tema. */
:is(.page-home, .page-b2b, .page-local) {
  --editorial-ink: #1b1d21;
  --editorial-blue: #112d49;
  --blue: #112d49;
  --navy: #112d49;
  --editorial-white: #ffffff;
  --editorial-on-dark: #e8e1ce;
  --editorial-paper: #fafafa;
  --editorial-cream: #f4e8d8;
  --editorial-secondary: #4b4d53;
  --editorial-line: #d3d5db;
  --editorial-blue-edge: transparent;
  background: var(--editorial-white);
  color: var(--editorial-ink);
}
:is(.page-home, .page-b2b, .page-local) .site-header,
:is(.page-home, .page-b2b, .page-local) .nav.is-open {
  background: #fffbee;
  border-bottom-color: var(--editorial-line);
}
:is(.page-home, .page-b2b, .page-local) .nav a[aria-current="page"] {
  color: var(--editorial-ink);
  box-shadow: inset 0 -3px var(--editorial-blue);
}
:is(.page-home, .page-b2b, .page-local) .nav a:hover {
  color: var(--editorial-ink);
  text-decoration: underline;
  text-underline-offset: .22em;
}
:is(.page-home, .page-b2b, .page-local) main .eyebrow {
  color: inherit;
  margin-bottom: 16px;
}
:is(.page-home, .page-b2b, .page-local) main h2 { text-wrap: balance; }
:is(.page-home, .page-b2b, .page-local) :focus-visible {
  outline: 3px solid var(--editorial-ink);
  outline-offset: 4px;
}
:is(.page-home, .page-b2b, .page-local) .site-footer {
  background: var(--editorial-ink);
  border-top-color: #44464c;
  color: var(--editorial-on-dark);
}
:is(.page-home, .page-b2b, .page-local) .site-footer :focus-visible { outline-color: white; }

:is(.editorial-btn, .editorial-blue-button).btn {
  --editorial-edge: var(--editorial-blue-edge);
  background: var(--editorial-blue);
  border-color: var(--editorial-blue);
  border-radius: 2px;
  color: var(--editorial-on-dark);
  transition: transform .2s ease;
}
:is(.editorial-btn, .editorial-blue-button).btn:is(:hover, :focus-visible) {
  --editorial-edge: transparent;
  background: var(--editorial-white);
  border-color: var(--editorial-ink);
  color: #000;
}
/* A cream action remains distinct against the dark photographic covers. */
:is(.editorial-hero--home, .editorial-hero--b2b) .editorial-btn,
.page-home .site-header.home-nav-over-hero .editorial-blue-button {
  background: var(--editorial-cream);
  border-color: var(--editorial-cream);
  color: var(--editorial-ink);
}
:is(.editorial-hero--home, .editorial-hero--b2b) .editorial-btn:is(:hover, :focus-visible),
.page-home .site-header.home-nav-over-hero .editorial-blue-button:is(:hover, :focus-visible) {
  background: var(--editorial-white);
  border-color: var(--editorial-white);
  color: #000;
}
:is(.page-home, .page-b2b, .page-local) .btn .arrow { transition: transform .22s ease; }
:is(.page-home, .page-b2b, .page-local) .btn:is(:hover, :focus-visible) .arrow { transform: translate(2px, -2px); }

/* The photo moves independently of the readable layer and the copy. */
.editorial-hero {
  --hero-surface: #ffffff;
  --hero-mid: rgb(255 255 255 / .98);
  --hero-edge: rgb(255 255 255 / .81);
  --hero-low: rgb(255 255 255 / .30);
  --hero-photo-position: right 38%;
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  overflow: hidden;
  min-height: clamp(545px, 44vw, 690px);
  background: var(--hero-surface);
}
.editorial-hero--local { --hero-photo-position: right 48%; }
.editorial-hero-photo {
  position: absolute;
  inset: 0 0 0 clamp(100px, 17vw, 350px);
  z-index: -2;
}
.editorial-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-photo-position);
}
.editorial-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, var(--hero-surface) 34%, var(--hero-mid) 42%, var(--hero-edge) 49%, var(--hero-low) 59%, transparent 72%);
  pointer-events: none;
}
.editorial-hero-inner { padding-block: clamp(42px, 5.6vw, 88px); }
.editorial-hero-copy { width: min(48%, 600px); }
.editorial-hero-copy .eyebrow { display: flex; gap: 12px; align-items: baseline; }
.editorial-hero-copy .eyebrow::before {
  content: "";
  flex: 0 0 29px;
  border-top: 3px solid var(--editorial-cream);
  align-self: center;
}
.editorial-hero .editorial-crumb {
  color: var(--editorial-secondary);
  margin-bottom: clamp(24px, 2.7vw, 42px);
  font-size: 13px;
}
.editorial-hero .editorial-crumb a:hover { color: #000; }
.editorial-hero h1 {
  font-size: clamp(43px, 4.25vw, 72px);
  line-height: 1.045;
  text-wrap: balance;
  margin-bottom: 23px;
}
.editorial-hero p { max-width: 52ch; margin-bottom: 14px; line-height: 1.53; }
.editorial-hero .lead { font-size: clamp(18px, 1.55vw, 22px); }
.editorial-hero .actions { margin-top: 23px; column-gap: 23px; }
.editorial-hero .editorial-aside { margin: 18px 0 0; color: var(--editorial-secondary); }
.editorial-jump {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  min-height: 44px;
  color: var(--editorial-ink);
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: .24em;
}
.editorial-jump:hover { text-decoration-thickness: 2px; }

/* Inicio: navy, cream, and charcoal cards on preserved white. */
.page-home .home-needs {
  background: var(--editorial-white);
  color: var(--editorial-ink);
}
.home-needs .section-heading {
  padding-bottom: clamp(18px, 3vw, 31px);
  border-bottom: 1px solid var(--editorial-line);
  margin-bottom: clamp(20px, 3vw, 32px);
}
.home-needs h2 { font-size: clamp(39px, 5vw, 68px); }
.home-needs .home-services { gap: clamp(10px, 1.3vw, 18px); }
.home-service {
  padding: clamp(20px, 2.55vw, 36px);
  border: 1px solid var(--service-fill);
  background: var(--service-fill);
  color: var(--editorial-on-dark);
}
.home-service--web { --service-fill: var(--editorial-blue); --editorial-edge: var(--editorial-blue-edge); }
.home-service--sales { --service-fill: var(--editorial-cream); color: var(--editorial-ink); }
.home-service--access { --service-fill: var(--editorial-ink); }
.home-service-glyph {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: clamp(20px, 2.75vw, 38px);
}
.home-service .home-service-icon {
  box-sizing: content-box;
  width: 34px;
  height: 34px;
  margin: 0;
  color: inherit;
}
.home-service-index {
  font-family: var(--font-editorial);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
}
.home-service h3 {
  color: inherit;
  font: 700 clamp(25px, 2.55vw, 35px)/1.08 var(--font-editorial);
  font-synthesis: none;
  text-wrap: balance;
  -webkit-text-stroke: 0;
  text-shadow: none;
}
.home-service p,
.home-service .home-service-detail,
.home-service .home-service-link { color: inherit; }
.home-service .home-service-detail { font-weight: 500; }
.home-service .home-service-actions {
  border-top-color: currentColor;
  border-top-color: color-mix(in srgb, currentColor 55%, transparent);
}
.home-service .home-service-link span { transition: transform .2s ease; }
.home-service .home-service-link:is(:hover, :focus-visible) span { transform: translate(2px, -2px); }
.page-home .home-service :focus-visible { outline-color: #000; }
.page-home .home-service--access :focus-visible { outline-color: white; }
.home-service--web:focus-within {
  --editorial-edge: transparent;
  color: #000;
  background: var(--editorial-white);
  border-color: var(--editorial-blue);
}
@media (hover: hover) and (pointer: fine) {
  .home-service--web:hover {
    --editorial-edge: transparent;
    color: #000;
    background: var(--editorial-white);
    border-color: var(--editorial-blue);
  }
}

.page-home .home-proof {
  background: #1b1d21;
  color: #e8e1ce;
}
.home-milestones li {
  border-top-color: rgb(232 225 206 / .4);
  position: relative;
  padding-top: 22px;
}
.home-milestones li::before {
  content: "";
  width: 10px;
  height: 10px;
  position: absolute;
  left: 0;
  top: -5px;
  background: #e8e1ce;
}
.milestone-year {
  font-family: var(--font-editorial);
  font-weight: 500;
  font-synthesis: none;
  font-size: clamp(31px, 3.8vw, 50px);
  color: inherit;
  letter-spacing: -.03em;
  line-height: 1;
  margin-bottom: 15px;
}
.home-commercial-thread {
  background: transparent;
  border-left-color: rgb(232 225 206 / .45);
}
.home-proof :is(.home-milestones p, .home-commercial-thread .eyebrow, .home-commercial-thread p) { color: inherit; }
.page-home .home-clients { background: #1B1D21; color: var(--editorial-on-dark); border-top: 0; }
.page-home .home-clients :focus-visible { outline-color: #fff; }
.page-home .home-projects { background: var(--editorial-white); }
.project-media { border-color: var(--editorial-line); background: var(--editorial-paper); border-radius: 0; }
.project-media img { transition: transform .36s cubic-bezier(.2, .65, .25, 1); }
.project-copy { border-top: 2px solid var(--editorial-blue); margin-top: 14px; padding-top: 17px; }
.project-copy .project-category, .project-copy .text-link { color: var(--editorial-ink); }

/* Content rhythm across both commercial services. */
.editorial-split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: clamp(33px, 5.6vw, 88px);
}
.editorial-split > * { min-width: 0; }
.editorial-split p { max-width: 54ch; }
.editorial-core, .editorial-local-steps, .editorial-materials { background: var(--editorial-white); }
.editorial-triad {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.editorial-triad li {
  min-width: 0;
  margin: 0;
  padding: clamp(18px, 2.3vw, 30px);
  border-top: 3px solid var(--editorial-blue);
  background: var(--editorial-paper);
}
.editorial-number {
  display: block;
  margin-bottom: 14px;
  color: var(--editorial-ink);
  font-family: var(--font-editorial);
  font-size: clamp(32px, 3.5vw, 48px);
  line-height: 1;
  font-weight: 500;
  font-synthesis: none;
}
.editorial-triad h3 { font-size: clamp(23px, 2.2vw, 29px); line-height: 1.16; margin-bottom: 10px; }
.editorial-triad p { margin: 0; }
.editorial-section-note { margin: 23px 0 0; color: var(--editorial-secondary); }
.editorial-audience { background: var(--editorial-paper); }
.editorial-list-title { font-size: 18px; line-height: 1.3; letter-spacing: 0; margin: 25px 0 6px; }
.editorial-checklist { padding: 0; list-style: none; margin: 0; }
.editorial-checklist li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  margin: 0;
  border-bottom: 1px solid var(--editorial-line);
}
.editorial-checklist li::before {
  content: "";
  width: 10px;
  height: 6px;
  border-left: 2px solid var(--editorial-blue);
  border-bottom: 2px solid var(--editorial-blue);
  transform: translateY(-2px) rotate(-45deg);
  flex: none;
}
.editorial-audience-photo { margin: 0; background: var(--editorial-ink); color: var(--editorial-on-dark); overflow: hidden; }
.editorial-audience-photo img { width: 100%; height: auto; aspect-ratio: 1.61; object-fit: cover; }
.editorial-audience-photo figcaption { font-size: 14px; padding: 12px 18px; }
.editorial-format-list { margin: 25px 0 0; border-bottom: 1px solid var(--editorial-line); }
.editorial-format-list > div {
  display: grid;
  grid-template-columns: minmax(110px, .75fr) minmax(0, 1.25fr);
  gap: 14px;
  align-items: baseline;
  border-top: 1px solid var(--editorial-line);
  padding: 11px 0;
}
.editorial-format-list dt { font-weight: 500; color: var(--editorial-ink); }
.editorial-format-list dd { margin: 0; font-size: 15px; color: var(--editorial-secondary); }
.editorial-material-photo { margin: 0; }
.editorial-material-photo img { display: block; width: 100%; height: auto; }

.editorial-process { background: var(--editorial-ink); color: var(--editorial-on-dark); }
.editorial-process .section-heading p, .editorial-steps p { color: inherit; }
.editorial-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 12px;
}
.editorial-steps li {
  min-width: 0;
  margin: 0;
  padding: clamp(16px, 2.25vw, 29px);
  border: 1px solid #626570;
  border-top: 2px solid var(--editorial-blue);
  background: var(--editorial-ink);
}
.editorial-steps .editorial-step-handoff {
  --editorial-edge: var(--editorial-blue-edge);
  color: var(--editorial-on-dark);
  background: var(--editorial-blue);
  border-color: var(--editorial-blue);
}
.editorial-step-index {
  display: block;
  color: var(--editorial-on-dark);
  font-family: var(--font-editorial);
  font-weight: 500;
  font-synthesis: none;
  font-size: 39px;
  line-height: 1;
  margin-bottom: 13px;
}
.editorial-step-owner { display: block; font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 10px; }
.editorial-step-handoff .editorial-step-index { color: var(--editorial-on-dark); }
.editorial-steps h3 { font-size: clamp(21px, 1.9vw, 26px); line-height: 1.17; margin-bottom: 11px; }
.editorial-steps p { font-size: 16px; margin: 0; }
.editorial-process-next { display: flex; gap: 18px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 26px; }
.editorial-process-next p { margin: 0; color: inherit; }
.page-b2b .editorial-process :focus-visible { outline-color: white; }
.editorial-alternate, .editorial-faq { background: var(--editorial-paper); }
.editorial-alternate .local-teaser { border-top: 0; }
.editorial-alternate .local-signal {
  border: 1px solid var(--editorial-line);
  border-left: 3px solid var(--editorial-blue);
  background: var(--editorial-white);
  padding: clamp(19px, 2.5vw, 30px);
}
.editorial-alternate .local-signal p { margin: 14px 0 0; color: var(--editorial-secondary); }
.editorial-alternate .sector-tags span { background: var(--editorial-paper); color: var(--editorial-ink); border-color: var(--editorial-line); }
.editorial-faq .faq-list details { border-color: var(--editorial-line); }
.editorial-faq .faq-list summary::after { color: var(--editorial-ink); }

/* Captación local: illustration and native controls. */
.editorial-map-section { background: var(--editorial-paper); }
.local-map {
  margin: 0;
  background: var(--editorial-white);
  border: 1px solid var(--editorial-line);
  overflow: hidden;
}
.local-map > figcaption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 12px;
  padding: 15px clamp(13px, 2vw, 23px);
  background: var(--editorial-ink);
  color: var(--editorial-on-dark);
}
.local-map > figcaption strong { font-weight: 500; }
.local-map-art { display: block; width: 100%; height: auto; }
.local-map-art [data-map-sector] { opacity: 1; transition: opacity .24s ease; }
.local-map-art .map-marker-muted { opacity: .19; }
.local-map-panel { padding: 13px clamp(13px, 2vw, 23px) 16px; }
.local-map-controls { border: 0; min-width: 0; padding: 0; margin: 0; }
.local-map-controls legend { padding: 0; font-size: 15px; font-weight: 500; color: var(--editorial-ink); margin-bottom: 9px; }
.local-map-options { display: flex; flex-wrap: wrap; gap: 6px; }
.local-map-options label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 5px 9px;
  border: 1px solid #9295a0;
  border-radius: 2px;
  background: var(--editorial-white);
  color: var(--editorial-ink);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.local-map-options label:has(input:checked) { border-color: var(--editorial-ink); background: var(--editorial-paper); }
.local-map-options label:hover { border-color: var(--editorial-ink); }
.local-map-options input { width: 16px; height: 16px; margin: 0; accent-color: var(--editorial-ink); flex: none; }
.editorial-local-steps .local-boundary { max-width: 100%; background: var(--editorial-paper); border-left-color: var(--editorial-blue); margin-bottom: 0; }
.editorial-local-steps .local-boundary .text-link { color: var(--editorial-ink); }
.editorial-local-sectors { background: var(--editorial-ink); color: var(--editorial-on-dark); }
.editorial-local-sectors .section-heading p { color: inherit; }
.editorial-local-sectors .sector-tags { padding: 0; list-style: none; margin: 0; gap: 9px; }
.editorial-local-sectors .sector-tags li {
  padding: 8px 14px;
  margin: 0;
  color: var(--editorial-on-dark);
  border: 1px solid #82858d;
  border-radius: 2px;
  font-size: 15px;
}

/* Dark readable type on the shared cream contact field. */
:is(.page-home, .page-b2b, .page-local) .cta-section {
  background: var(--editorial-cream);
  color: var(--editorial-ink);
}
:is(.page-home, .page-b2b, .page-local) .cta-section :is(p, .eyebrow) { color: inherit; }
:is(.page-home, .page-b2b, .page-local) .cta-section h2 { max-width: 15ch; }
:is(.page-home, .page-b2b, .page-local) .cta-section .btn-white {
  background: var(--editorial-white);
  border-color: var(--editorial-ink);
  color: #000;
  -webkit-text-stroke: 0;
  text-shadow: none;
  border-radius: 2px;
}
:is(.page-home, .page-b2b, .page-local) .cta-section .btn-white:is(:hover, :focus-visible) {
  background: var(--editorial-ink);
  border-color: var(--editorial-ink);
  color: white;
}
:is(.page-home, .page-b2b, .page-local) .cta-section .contact-links {
  border: 0;
  border-left: 1px solid rgb(27 29 33 / .3);
  padding: 8px 0 8px clamp(20px, 3.5vw, 48px);
  background: transparent;
  color: var(--editorial-ink);
}
:is(.page-home, .page-b2b, .page-local) .cta-section .contact-links :is(.label, .contact-brand-line) { color: inherit; }
:is(.page-home, .page-b2b, .page-local) .cta-section .contact-links :focus-visible { outline-color: var(--editorial-ink); }
@media (max-width: 680px) {
  :is(.page-home, .page-b2b, .page-local) .cta-section .contact-links {
    border-left: 0;
    border-top: 1px solid rgb(27 29 33 / .3);
    padding: 22px 0 0;
  }
}

/* All scroll effects are progressive; the static document stays complete. */
@media (prefers-reduced-motion: no-preference) {
  .editorial-reveals [data-reveal]:not([data-card-parallax]) {
    transform: translate3d(0, 19px, 0);
    transition: transform .55s cubic-bezier(.21, .74, .28, 1);
    transition-delay: calc(var(--editorial-reveal-order, 0) * 60ms);
  }
  .editorial-reveals [data-reveal]:not([data-card-parallax]):nth-child(2) { --editorial-reveal-order: 1; }
  .editorial-reveals [data-reveal]:not([data-card-parallax]):nth-child(3) { --editorial-reveal-order: 2; }
  .editorial-reveals [data-reveal]:not([data-card-parallax]):is(.editorial-arrived, :focus-within) { transform: none; }
  .editorial-reveals [data-reveal]:not([data-card-parallax]):focus-within { transition: none; }
}
@media (min-width: 801px) and (prefers-reduced-motion: no-preference) {
  .editorial-parallax .editorial-hero-photo {
    top: -45px;
    transform: translate3d(0, calc(var(--editorial-photo-progress, 0) * 45px), 0);
  }
}
@media (min-width: 1020px) {
  .home-projects .wrap {
    display: grid;
    grid-template-columns: minmax(0, .37fr) minmax(0, 1fr);
    align-items: start;
    gap: clamp(34px, 4.7vw, 70px);
  }
  .home-projects .section-heading { display: block; margin: 0; }
  .home-projects .section-heading p { margin-top: 20px; }
  .home-projects .section-heading h2 { text-wrap: pretty; }
  .editorial-process .wrap {
    display: grid;
    grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
    align-items: start;
    gap: 24px clamp(36px, 5.5vw, 82px);
  }
  .editorial-process .section-heading { display: block; grid-area: 1 / 1; margin: 0; }
  .editorial-process .section-heading p { margin-top: 22px; }
  .editorial-process .editorial-steps { grid-area: 1 / 2; grid-template-columns: minmax(0, 1fr); }
  .editorial-process .editorial-process-next { grid-column: 2; margin: 0; }
  .editorial-steps li {
    display: grid;
    grid-template-columns: clamp(53px, 6vw, 85px) minmax(0, 1fr);
    grid-template-areas: "number owner" "number title" "number copy";
    align-content: start;
    column-gap: 13px;
  }
  .editorial-step-index { grid-area: number; font-size: clamp(45px, 4.5vw, 65px); margin: 0; }
  .editorial-step-owner { grid-area: owner; }
  .editorial-steps h3 { grid-area: title; }
  .editorial-steps p { grid-area: copy; }
}
@media (min-width: 1020px) and (min-height: 690px) and (prefers-reduced-motion: no-preference) {
  :is(.home-projects, .editorial-process) .section-heading {
    position: sticky;
    top: 126px;
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .project-media:hover img { transform: scale(1.035); }
}
@media (max-width: 1100px) {
  .editorial-hero-copy { width: 51%; }
  .editorial-hero::after { background: linear-gradient(90deg, var(--hero-surface) 36%, var(--hero-mid) 45%, var(--hero-edge) 52%, var(--hero-low) 63%, transparent 76%); }
}
@media (max-width: 1000px) {
  :is(.page-home, .page-b2b, .page-local) .nav a[aria-current="page"] {
    box-shadow: none;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .26em;
  }
}
@media (max-width: 1019px) {
  .editorial-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
  .editorial-hero { display: block; min-height: 0; }
  .editorial-hero::after { display: none; }
  .editorial-hero-photo {
    position: relative;
    inset: auto;
    display: block;
    z-index: auto;
    height: clamp(205px, 41vw, 334px);
  }
  .editorial-hero-photo img { object-position: center 39%; }
  .editorial-hero--local .editorial-hero-photo img { object-position: center 47%; }
  .editorial-hero-photo::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 25px;
    background: linear-gradient(transparent, var(--hero-surface));
  }
  .editorial-hero-inner { padding-block: 32px 46px; }
  .editorial-hero-copy { width: auto; max-width: 620px; }
  .editorial-hero h1 { font-size: clamp(38px, 7.7vw, 55px); margin-bottom: 18px; }
  .editorial-hero .editorial-crumb { margin-bottom: 20px; }
  .editorial-hero .lead { font-size: 19px; }
  .editorial-split { grid-template-columns: minmax(0, 1fr); gap: 25px; }
  .editorial-split > figure { width: 100%; max-width: 640px; }
}
@media (max-width: 680px) {
  .editorial-hero h1 { max-width: 18ch; }
  .editorial-hero .actions { gap: 9px 19px; }
  .editorial-triad { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 23px; }
  .editorial-triad li { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 13px; align-items: baseline; }
  .editorial-triad .editorial-number { margin: 0; grid-row: span 2; }
  .editorial-triad h3 { margin-bottom: 7px; }
  .editorial-format-list > div { gap: 10px; }
  .editorial-process-next { align-items: flex-start; }
}
@media (max-width: 460px) {
  .editorial-steps { grid-template-columns: minmax(0, 1fr); }
  .local-map-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .editorial-hero .eyebrow { gap: 9px; }
  .editorial-hero .eyebrow::before { flex-basis: 18px; }
}

/* B2B cover: type sits on the photograph's blue wall at desktop sizes. */
.editorial-hero--b2b {
  --hero-surface: #112d49;
  color: var(--editorial-white);
  align-items: start;
  min-height: clamp(570px, 48vw, 800px);
}
.editorial-hero--b2b::after,
.editorial-hero--b2b .editorial-hero-photo::after { display: none; }
.editorial-hero--b2b .editorial-hero-photo {
  inset: 0;
  transform: none;
}
.editorial-hero--b2b .editorial-hero-photo img { object-position: left top; }
.editorial-hero--b2b .editorial-hero-inner {
  padding-block: clamp(29px, 2.8vw, 56px) clamp(128px, 12.4vw, 184px);
}
.editorial-hero--b2b .editorial-hero-copy { width: min(550px, calc(50% - 8.5vw)); }
.editorial-hero--b2b h1 {
  font-size: clamp(40px, 3.45vw, 62px);
  line-height: 1.06;
  margin-bottom: 18px;
}
.editorial-hero--b2b .editorial-crumb {
  margin-bottom: clamp(15px, 1.6vw, 24px);
  color: inherit;
}
.editorial-hero--b2b .editorial-crumb a:hover { color: inherit; }
.editorial-hero--b2b .editorial-aside,
.editorial-hero--b2b .editorial-jump { color: inherit; }
.editorial-hero--b2b .lead { font-size: clamp(18px, 1.4vw, 21px); text-wrap: balance; }
.editorial-hero--b2b .actions { margin-top: 18px; gap: 9px 15px; }
.editorial-hero--b2b .actions .btn {
  font-size: 13px;
  padding-inline: 16px;
  gap: 12px;
}
.editorial-hero--b2b .editorial-jump { font-size: 13px; }
.editorial-hero--b2b .editorial-aside { margin-top: 14px; }
.page-b2b .editorial-hero--b2b :focus-visible { outline-color: #fff; }

/* On smaller screens the same photo is cropped to the people, with the copy below. */
@media (max-width: 1200px) {
  .editorial-hero--b2b {
    display: block;
    min-height: 0;
  }
  .editorial-hero--b2b .editorial-hero-photo {
    position: relative;
    inset: auto;
    display: block;
    z-index: auto;
    height: clamp(185px, 58vw, 410px);
  }
  .editorial-hero--b2b .editorial-hero-photo img { object-position: center 7%; }
  .editorial-hero--b2b .editorial-hero-inner { padding-block: 30px 43px; }
  .editorial-hero--b2b .editorial-hero-copy { width: auto; max-width: 660px; }
  .editorial-hero--b2b h1 { font-size: clamp(34px, 5.8vw, 56px); }
}

@media (max-width: 360px) {
  .editorial-hero--b2b .actions .btn { padding-inline: 10px; gap: 8px; }
}

/* The home navigation overlays the hero, then returns to white. */
.page-home .site-header {
  position: fixed;
  inset: 0 0 auto;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.page-home .site-header:not(.home-nav-over-hero) {
  background: #fffbee;
  border-bottom-color: rgb(27 29 33 / .045);
  box-shadow: 0 4px 18px rgb(27 29 33 / .07);
}
.page-home .site-header:not(.home-nav-over-hero) .nav.is-open {
  background: #fffbee;
}
.page-home .site-header.home-nav-over-hero {
  color: #fff;
  background: transparent;
  border-bottom-color: transparent;
}
.page-home .site-header.home-nav-over-hero .nav a {
  color: #fff;
}
.page-home .site-header.home-nav-over-hero .nav a[aria-current="page"] {
  color: #fff;
  box-shadow: inset 0 -3px #fff;
}
.page-home .site-header.home-nav-over-hero .menu-toggle {
  border-color: #fff;
  background: rgb(27 29 33 / .16);
}
.page-home .site-header.home-nav-over-hero .menu-toggle span { background: #fff; }
.page-home .site-header.home-nav-over-hero :focus-visible { outline-color: #fff; }
.page-home .site-header.home-nav-over-hero .nav.is-open { background: #253138; }

/* Inicio: scroll the copy over a photograph pinned only within its section. */
.editorial-hero--home {
  --hero-surface: #112d49;
  --home-header-height: 95px;
  color: var(--editorial-white);
  display: grid;
  align-items: start;
  min-height: 100svh;
  overflow: visible;
}
.editorial-hero--home::after,
.editorial-hero--home .editorial-hero-photo::after { display: none; }
.editorial-hero--home .home-monitor-scene {
  position: sticky;
  inset: auto;
  top: 0;
  grid-area: 1 / 1;
  align-self: start;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  container-type: size;
  z-index: 0;
  transform: none;
}
.home-monitor-canvas {
  position: absolute;
  left: 0;
  top: 50%;
  width: max(100cqw, 177.577cqh);
  height: max(100cqh, 56.3136cqw);
  transform: translateY(-50%);
}
.home-monitor-frame { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.home-monitor-frame img { width: 100%; height: 100%; }
.home-monitor-screen {
  position: absolute;
  left: 54.39%;
  top: 26.25%;
  width: 32%;
  height: 29.44%;
}
.home-monitor-feed {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #1b1d21;
  pointer-events: none;
}
.editorial-hero--home .editorial-hero-inner {
  position: relative;
  z-index: 1;
  grid-area: 1 / 1;
  padding-block: calc(var(--home-header-height) + clamp(50px, 7svh, 90px)) clamp(60px, 9svh, 120px);
  pointer-events: none;
}
.editorial-hero--home .editorial-hero-copy {
  width: min(480px, 40%);
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 18px;
  pointer-events: auto;
  --home-copy-occlusion: -200px;
  -webkit-mask-image: linear-gradient(to bottom, transparent var(--home-copy-occlusion), #000 calc(var(--home-copy-occlusion) + 44px));
  mask-image: linear-gradient(to bottom, transparent var(--home-copy-occlusion), #000 calc(var(--home-copy-occlusion) + 44px));
}
.editorial-hero--home h1 { font-size: clamp(42px, 3.8vw, 66px); }
.editorial-hero--home .lead { text-wrap: pretty; }
.editorial-hero--home .home-hero-intro > .lead { margin-bottom: 0; }
.page-home .editorial-hero--home :focus-visible { outline-color: #fff; }
.home-monitor-toggle {
  position: absolute;
  z-index: 2;
  left: var(--home-monitor-control-x, 50%);
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: rgb(27 29 33 / .82);
  border: 1px solid #fff;
  padding: 10px;
  cursor: pointer;
  transition: opacity .18s ease;
}
.home-monitor-toggle[hidden] { display: none; }
.home-monitor-toggle svg { display: block; width: 22px; height: 22px; }
.home-monitor-toggle .home-monitor-icon--play,
.home-monitor-toggle[data-paused="true"] .home-monitor-icon--pause { display: none; }
.home-monitor-toggle[data-paused="true"] .home-monitor-icon--play { display: block; }
@media (hover: hover) and (pointer: fine) {
  .home-monitor-toggle { opacity: 0; pointer-events: none; }
  .home-monitor-screen:hover .home-monitor-toggle,
  .home-monitor-toggle:focus-visible { opacity: 1; pointer-events: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .home-monitor-toggle { transition: none; }
}

@media (max-width: 1050px) {
  .page-home .site-header.home-nav-over-hero .nav.is-open {
    background: #1b1d21;
  }
  .editorial-hero--home {
    --hero-surface: #25292c;
    --home-mobile-image-height: calc(clamp(260px, 62vw, 560px) + var(--home-header-height));
    display: grid;
    min-height: 0;
  }
  .editorial-hero--home .home-monitor-scene {
    position: sticky;
    inset: auto;
    top: 0;
    display: block;
    z-index: 0;
    height: var(--home-mobile-image-height);
  }
  .home-monitor-canvas {
    /* Use the uncropped 1671×941 photograph at the former 1101×791 crop's
       scale and horizontal position. Restoring its 150 upper pixels moves
       both the photograph and its screen content down in one composition. */
    --home-compact-cover-height: max(100cqh, 71.8438cqw);
    left: auto;
    right: 0;
    transform: translateY(calc(var(--home-compact-cover-height) * -.5));
    width: calc(var(--home-compact-cover-height) * 1671 / 791);
    height: calc(var(--home-compact-cover-height) * 941 / 791);
  }
  .editorial-hero--home .editorial-hero-inner {
    width: 100%;
    margin-inline: 0;
    margin-top: var(--home-mobile-image-height);
    padding: 33px clamp(16px, 5.1vw, 48px) 43px;
    background: var(--hero-surface);
  }
  .editorial-hero--home .editorial-hero-copy {
    width: auto;
    max-width: 650px;
    margin-inline: auto;
    min-height: 0;
    display: block;
    color: #e8e1ce;
  }
  .editorial-hero--home .editorial-hero-copy :is(h1, .eyebrow, p) { color: #e8e1ce; }
  .editorial-hero--home .editorial-hero-copy .eyebrow::before { border-top-color: currentColor; }
  .home-hero-followup { margin-top: 14px; }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1051px) {
  .editorial-hero--home .home-monitor-scene { position: relative; top: 0; height: 100svh; }
  .editorial-hero--home .editorial-hero-copy { min-height: 0; gap: 18px; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 1050px) {
  .editorial-hero--home { display: block; }
  .editorial-hero--home .home-monitor-scene { position: relative; top: auto; }
  .editorial-hero--home .editorial-hero-inner { margin-top: 0; }
}

/* Depth without changing the approved rectangular geometry. */
.home-service,
.editorial-triad > li,
.editorial-steps > li {
  box-shadow: 0 14px 30px rgb(27 29 33 / .13), 0 3px 7px rgb(27 29 33 / .07);
}
.project-media, .local-map {
  box-shadow: 0 15px 35px rgb(27 29 33 / .12), 0 3px 8px rgb(27 29 33 / .06);
}
.local-map-art [data-map-sector="comercios"] > use { stroke: #1b1d21; }
@media (prefers-reduced-motion: no-preference) {
  .editorial-card-parallax [data-card-parallax] {
    transform: translate3d(0, var(--card-entry-y, 0px), 0);
  }
  .editorial-card-parallax [data-card-parallax]:focus-within { transform: none; }
}

/* Secondary text on charcoal follows the same ivory as its section. */
:is(.page-home, .page-b2b, .page-local) .site-footer :is(.footer-email, .footer-bottom),
:is(.page-home, .page-b2b, .page-local) .site-footer a:hover { color: var(--editorial-on-dark); }
