/* Primera pantalla con espacio para el contenido y su próxima acción. */
.opening-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  margin-top: 22px;
}
.opening-actions .button { min-height: 44px; }
.eyebrow::before { content: none; }
#lista-proyectos, #lista-servicios, #conversation, #entender { scroll-margin-top: 100px; }
.service-hero .crumbs { margin-bottom: 18px; }
.service-hero .eyebrow { margin-bottom: 14px; }
.service-hero, .product-detail-head { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.service-hero h1, .product-detail-head h1 { overflow-wrap: anywhere; }
.service-hero .spectra, .product-detail-head .spectra { width: 100%; }
.method-cover-bottom {
  grid-template-columns: minmax(0,1fr);
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}
.method-cover-bottom .button { justify-self: start; }
.method-cover .fullbleed-field { height: 30px !important; margin-top: 22px !important; }

@media (min-width: 761px) {
  .hero-v4 { padding-block: clamp(20px, 3vh, 46px) 18px; }
  .hero-v4 h1 {
    font-size: clamp(46px, min(7.6vw, 10.5vh), 112px);
    margin-block: clamp(18px, 3.3vh, 48px) 16px;
  }
  .hero-offer { line-height: 1.48; margin-bottom: 20px; }
  .hero-v4 .hero-bottomline { margin-top: clamp(14px, 2.8vh, 32px); padding-top: 12px; }
  .pagehero, .service-hero, .product-detail-head, .conversation-head,
  .method-cover, .case-top, .post-head {
    padding-block: clamp(23px, 4vh, 65px) clamp(24px, 4.5vh, 70px);
  }
  .pagehero h1, .conversation-head h1, .post-head h1 {
    font-size: clamp(44px, min(6.4vw, 11vh), 88px);
  }
  .service-hero h1, .product-detail-head h1 {
    font-size: clamp(40px, min(5.1vw, 9.4vh), 82px);
    line-height: 1.06;
  }
  .service-hero p, .product-detail-head p, .pagehero p, .conversation-head p {
    margin-top: clamp(12px, 2.7vh, 25px);
  }
  .service-hero .button, .product-detail-head .button { margin-top: 22px; }
  .service-hero .spectra, .product-detail-head .spectra { max-height: min(52vh, 540px); }
  .method-cover h1 {
    font-size: clamp(53px, min(8.2vw, 11vh), 120px);
    margin-top: clamp(20px, 4vh, 45px);
  }
  .method-cover .method-break { display: none; }
  .method-cover-bottom { grid-template-columns: minmax(0,380px) auto; gap: 28px; }
}

.menu .menu-glyph { display: inline-block; width: 1em; text-align: center; }
.menu[aria-expanded="true"] .menu-glyph { transform: rotate(45deg); }
.menu-glyph { transition: transform .24s ease; }
@media (max-width: 760px) {
  .service-hero, .product-detail-head { grid-template-columns: minmax(0, 1fr); }
  .site-header .nav { position: relative; }
  .site-header .navlinks {
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100dvh - 144px);
    padding: 7px 17px 16px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid #aa819266;
    border-radius: 18px;
    background: linear-gradient(150deg, #32293e, #201e31 72%);
    box-shadow: 0 18px 48px #12101bb0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .24s ease, visibility .24s;
    pointer-events: none;
  }
  .site-header .navlinks.open {
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
  }
  .site-header .navlinks > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 49px;
    padding: 10px 8px;
    border-bottom: 1px solid #fff4ea20;
    font-size: 16px;
  }
  .site-header .navlinks > a:not(.nav-cta)::after { content: none; }
  .site-header .navlinks a[aria-current] { color: var(--z-peach); }
  .site-header .navlinks .nav-cta {
    margin: 11px 0 0;
    padding-inline: 14px;
    border: 0;
    border-radius: 10px;
    background: var(--z-peach);
    color: var(--z-ink);
  }
}

/* Small reusable marks for the five actual services. */
.service-symbol {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border: 1px solid #94677f9c;
  border-radius: 10px;
  color: var(--z-peach);
  background: linear-gradient(145deg,#94677f32,transparent 80%);
}
.service-symbol::before {
  content: "";
  display: block;
  width: 15px;
  height: 13px;
  border: 1px solid currentColor;
  border-radius: 3px;
  transition: transform .25s ease;
}
.symbol-web::before { background: linear-gradient(currentColor,currentColor) 0 3px / 100% 1px no-repeat; }
.symbol-portals::before {
  background: linear-gradient(currentColor,currentColor) center / 1px 100% no-repeat,
              linear-gradient(currentColor,currentColor) center / 100% 1px no-repeat;
}
.symbol-commerce::before { width: 13px; height: 12px; box-shadow: 0 -4px 0 -2px currentColor; }
.symbol-visibility::before { width: 11px; height: 11px; border-radius: 50%; box-shadow: 4px 4px 0 -3px currentColor; }
.symbol-integrations::before { width: 12px; height: 12px; border-radius: 50%; box-shadow: 4px -3px 0 -1px #a47991; }
.offer-index a:hover .service-symbol::before, .offer-index a:focus-visible .service-symbol::before {
  transform: translateY(-2px) rotate(-8deg);
}
@media (max-width: 760px) {
  .offer-index > a { grid-template-columns: 34px minmax(0,1fr) 25px; }
}
.button [aria-hidden="true"], .textlink [aria-hidden="true"] { transition: transform .22s ease; }
.button:hover [aria-hidden="true"], .button:focus-visible [aria-hidden="true"],
.textlink:hover [aria-hidden="true"], .textlink:focus-visible [aria-hidden="true"] { transform: translate(2px,-2px); }
.cta::before {
  width: min(85vw, 1050px);
  height: min(85vw, 1050px);
  top: -68%;
  right: -35%;
  background: radial-gradient(ellipse,#d1897859 0%,#94677f45 32%,transparent 69%);
}
.cta.in-view::before { animation: cta-light 15s ease-in-out infinite alternate; }
@keyframes cta-light {
  from { transform: translate3d(0,0,0); }
  to { transform: translate3d(-28%,18%,0); }
}
.related-service { margin-block: 24px 0; }
[data-motion="paused"] .cta::before, [data-motion="reduced"] .cta::before,
.page-hidden .cta::before { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
  .site-header .navlinks, .menu-glyph, .service-symbol::before,
  .button [aria-hidden="true"], .textlink [aria-hidden="true"] { transition: none; }
  .cta.in-view::before { animation: none; }
}
[data-motion="paused"] .service-symbol::before,
[data-motion="paused"] .button [aria-hidden="true"],
[data-motion="paused"] .textlink [aria-hidden="true"] { transform: none; }

/* Animate the pieces that enter on scroll, without reserving extra space or hiding content. */
@media screen and (prefers-reduced-motion: no-preference) {
  [data-motion="running"] .scroll-enter:not(:focus-within) {
    --scroll-offset: 22px;
    animation: scroll-entrance 610ms cubic-bezier(.18,.65,.28,1);
  }
  [data-motion="running"] .scroll-enter[data-scroll-reveal="feature"]:not(:focus-within) {
    --scroll-offset: 28px;
    animation-duration: 690ms;
  }
}
@keyframes scroll-entrance {
  from { opacity: .48; translate: 0 var(--scroll-offset,22px); }
  to { opacity: 1; translate: 0 0; }
}

/* En escritorio la barra se leía a 11–12px. Los rótulos del mismo tamaño
   (el de «Encuentra lo que necesitas» y el resto de .label) suben un poco. */
@media (min-width: 761px) {
  .site-header .navlinks,
  .site-header .navlinks > a {
    font-size: 16px;
  }
}
@media (min-width: 1100px) {
  .site-header .navlinks,
  .site-header .navlinks > a {
    font-size: 18px;
  }
}
.label,
.hero-topline .label,
.hero-bottomline,
.hero-bottomline a,
.hero-bottomline .label,
.hero-v3 .hero-topline .label,
.hero-v3 .hero-bottomline .label,
.service-index-row .label,
.chapter-top .label,
.case-switch .label,
.footer-bottom,
.top-link,
.motion-control {
  font-size: 15px;
}
.button,
.textlink,
.service-index-row .textlink,
.wizard-actions .button {
  font-size: 16px;
}
@media (min-width: 761px) {
  .site-header .navlinks .nav-cta {
    padding: 12px 22px;
  }
}
@media (max-width: 760px) {
  .label,
  .hero-topline .label,
  .hero-bottomline,
  .hero-bottomline a,
  .hero-bottomline .label,
  .hero-v3 .hero-topline .label,
  .hero-v3 .hero-bottomline .label,
  .service-index-row .label,
  .chapter-top .label,
  .case-switch .label,
  .footer-bottom {
    font-size: 12px;
  }
}
