/* ==========================================================================
   Morris & Opazo — site.css
   Medidas tomadas del sitio actual (estilos calculados en 1440 y 390 px).
   Orden: tokens → base → layout → header → footer → componentes → post → utilidades
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --f-sys: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --f-title: "Raleway", sans-serif;
  --f-body: "Archivo", sans-serif;
  --f-alt: "Plus Jakarta Sans", sans-serif;
  --f-mono: "IBM Plex Mono", monospace;
  --f-foot: "Roboto", sans-serif;
  --f-space: "Space Grotesk", sans-serif;
  --f-jost: "Jost", sans-serif;

  --c-text: #333;
  --c-black: #000;
  --c-white: #fff;
  --c-gray: #54595f;
  --c-muted: #7a7a7a;
  --c-link: #cc3366;
  --c-link-hover: #336699;
  --c-bg-soft: #fafafa;
  --c-footer: #212121;
  --c-footer-line: #545454;
  --grad: linear-gradient(90deg, #e30cc9 0%, #8638eb 50%, #2aeac3 100%);

  --radius: 10px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-sys); font-size: 16px; line-height: 1.5; color: var(--c-text); background: #fff; -webkit-font-smoothing: antialiased; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; vertical-align: middle; border: 0; }
a { color: var(--c-link); text-decoration: none; }
a:hover { color: var(--c-link-hover); }
h1, h2, h3, h4, h5, h6 { margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #8638eb; outline-offset: 2px; }
.ico { width: 1em; height: 1em; fill: currentColor; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 0 0 10px; }

/* ---------- Header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; background-color: rgba(0, 0, 0, 0); transition: background-color .2s linear, box-shadow .2s linear; }
.hdr.is-solid { box-shadow: 0 2px 12px rgba(0, 0, 0, .08); }
.hdr__bar { position: relative; display: flex; align-items: center; justify-content: space-between; max-width: 1120px; height: 64px; margin: 10px auto; padding: 8px; border-radius: 5px; }
.hdr__logo { display: block; line-height: 0; }
.hdr__logo img { width: 166px; height: 24px; }

.nav__list { display: flex; align-items: center; }
.nav__item > .nav__link:not(.nav__cta) { top: -1px; }
.nav__item { margin: 0 5px; }
.nav__link { position: relative; display: inline-flex; align-items: center; gap: 7px; padding: 2px 5px; border: 0; background: none; font-family: var(--f-sys); font-size: 12px; line-height: 12px; font-weight: 400; text-transform: uppercase; color: var(--hdr-fg); }
.nav__link:hover { color: var(--hdr-fg); }
.nav__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--hdr-pointer); opacity: 0; transition: opacity .2s; }
.nav__link:hover::after, .nav__item--mega:hover > .nav__link::after { opacity: 1; }
.nav__chev { width: 10px; height: 12px; fill: currentColor; }
.nav__cta { margin-left: 20px; padding: 8px 16px; border-radius: 5px; background: #000; color: #fff; }
.nav__cta::after { display: none; }
.nav__cta:hover { color: #fff; background: #00000085; }

.hdr--light { --hdr-fg: #000; --hdr-pointer: var(--grad); }
.hdr--light .hdr__logo img { filter: invert(100%); }
.hdr--dark { --hdr-fg: #fff; --hdr-pointer: #fff; }
.hdr--dark .hdr__bar { max-width: 1140px; height: 66px; padding: 8px 18px; }
.hdr--dark .nav__cta:hover { background: #fff; color: #000; }
.hdr--dark .nav__link:not(.nav__cta) { text-shadow: 0 1px 3px rgba(0, 0, 0, .55); }
.hdr--dark .nav__chev { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .55)); }
.hdr--third .hdr__bar { background: transparent; }
.hdr--third .nav__link:not(.nav__cta), .hdr--third .nav__chev { text-shadow: none; filter: none; }

/* Megamenú */
.mega { position: fixed; left: 0; right: 0; top: 66px; padding: 10px 20px 0; visibility: hidden; opacity: 0; transition: opacity .25s, visibility .25s; }
.nav__item--mega:hover .mega, .nav__item--mega:focus-within .mega, .nav__item--mega.is-open .mega { visibility: visible; opacity: 1; }
.mega__inner { position: relative; max-width: 1140px; height: 305px; margin: 0 auto; padding: 70px 0 0 45px; border-radius: 15px; background: #f2f2f2d1; border: 1px solid #b1b1b124; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); }
.mega__list { display: grid; grid-template-rows: repeat(4, auto); grid-auto-flow: column; grid-auto-columns: 305px; gap: 15px 20px; width: 652px; }
.mega__list a { position: relative; display: inline-block; padding: 2px 5px; font-family: var(--f-sys); font-size: 14px; line-height: 26px; font-weight: 600; text-transform: uppercase; color: #000; }
.mega__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: #000; opacity: 0; transition: opacity .2s; }
.mega__list a:hover::after, .mega__list a:focus-visible::after { opacity: 1; }
.mega__imgs img { position: absolute; top: 30px; right: 29px; width: 391px; height: 224px; object-fit: contain; display: none; }
.mega__imgs img.is-on { display: block; }

.hdr__burger { display: none; }
.mnav { display: none; }

@media (max-width: 1024px) {
  .hdr { padding: 0 10px; }
  .hdr__bar { height: 74px; padding: 8px 25px 8px 8px; }
  .hdr--light .hdr__bar, .hdr--dark .hdr__bar { padding-left: 8px; }
  .hdr__logo { margin: 1px 0 0 10px; }
  .hdr__logo img { width: 157px; height: 23px; }
  .nav { display: none; }
  .hdr__burger { display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none; }
  .hdr__burger span { display: block; width: 36px; height: 4px; background: var(--hdr-fg); transition: transform .2s, opacity .2s; }
  .hdr__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(10px) rotate(45deg); }
  .hdr__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .hdr__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10px) rotate(-45deg); }
  .mnav { display: block; }
}

/* ---------- Footer ---------- */
.ftr { background: var(--c-footer); color: #fff; }
.ftr a { color: #fff; }
.ftr__top { border-bottom: 1px solid var(--c-footer-line); padding: 40px 0 4px; }
.ftr__top-in { display: flex; justify-content: space-between; align-items: flex-start; }
.ftr__brand { width: 261px; }
.ftr__brand img { width: 261px; height: 38px; }
.ftr__brand p { margin-top: 20px; font-family: var(--f-foot); font-size: 12px; line-height: 18px; color: var(--c-muted); }
.ftr__social { display: flex; gap: 5px; margin-top: 35px; }
.ftr__social a { display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; color: #767676; }
.ftr__social a:hover { color: #fff; }
.ftr__social .ico { width: 25px; height: 25px; }
.ftr__nav { display: flex; flex-wrap: wrap; gap: 10px; width: 668px; margin: 15px 0 0; }
.ftr__nav li { flex: 1 0 30%; display: flex; align-items: flex-start; }
.ftr__cols li { display: flex; align-items: flex-start; }
.ftr__nav a, .ftr__cols a { display: inline-block; padding: 2px 5px 4px; font-family: var(--f-sys); line-height: 26px; text-transform: uppercase; }
.ftr__nav a { font-size: 17px; }
.ftr__band { min-height: 143px; padding-top: 24px; border-bottom: 1px solid var(--c-footer-line); }
.ftr__title { position: relative; display: inline-block; font-family: var(--f-foot); font-size: 15px; line-height: 18px; font-weight: 600; margin-bottom: 22px; }
.ftr__title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; background: var(--grad); }
.ftr__cols { display: grid; grid-template-columns: repeat(6, 1fr); }
.ftr__cols a { font-size: 14px; }
.ftr__bottom-in { display: flex; justify-content: space-between; align-items: center; min-height: 131px; }
.ftr__copy, .ftr__partner span { font-family: var(--f-foot); font-size: 12px; line-height: 12px; color: #6d6d6d; text-transform: uppercase; }
.ftr__partner { display: flex; align-items: center; margin-right: 20px; }
.ftr__partner img:nth-of-type(1) { width: 123px; height: auto; margin-left: 20px; }
.ftr__partner img:nth-of-type(2) { width: 71px; height: 71px; margin-left: 71px; }

@media (max-width: 767px) {
  .ftr__top .wrap { padding: 0 10px; }
  .ftr__band .wrap, .ftr__bottom .wrap { padding: 0 20px; }
  .ftr__top { padding: 40px 0 14px; }
  .ftr__top-in { flex-direction: column; align-items: stretch; }
  .ftr__brand { width: 100%; }
  .ftr__brand img { width: 100%; height: auto; }
  .ftr__brand p { margin-top: 19px; }
  .ftr__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; width: auto; margin: 50px 10px 0; }
  .ftr__nav a, .ftr__cols a { font-size: 13px; line-height: 14px; }
  .ftr__band { min-height: 163px; }
  .ftr__cols { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .ftr__bottom .ftr__bottom-in { flex-direction: column; align-items: flex-start; gap: 50px; min-height: 0; padding: 20px 20px 31px; }
  .ftr__partner { padding-left: 10px; }
  .ftr__partner img:nth-of-type(1) { width: 97px; }
  .ftr__partner img:nth-of-type(2) { margin-left: 32px; }
}

/* ---------- Botón flotante del brochure ---------- */
.brochure { position: fixed; right: 10px; bottom: 10px; z-index: 90; display: flex; height: 32px; border-radius: 5px; background: var(--grad); color: #fff; font-family: var(--f-sys); font-size: 12px; line-height: 18px; }
.brochure:hover { color: #fff; }
.brochure span { padding: 7px 15px; }
.brochure i { display: flex; align-items: center; justify-content: center; width: 32px; border-left: 1px solid #ffffff80; }
.brochure .ico { width: 8px; height: 9px; }

/* ---------- Modal de contacto ---------- */
.modal { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; background: rgba(0, 0, 0, .7); padding: 16px; }
.modal.is-closed { visibility: hidden; opacity: 0; pointer-events: none; }
.modal { transition: opacity .25s, visibility .25s; }
.modal__box { position: relative; width: 980px; max-width: 100%; max-height: 100%; padding: 15px; background: var(--grad); overflow: auto; }
.modal__body { display: flex; align-items: center; gap: 40px; min-height: 630px; padding: 20px; background: #fff; }
.modal__close { position: absolute; top: 22px; right: 26px; z-index: 2; width: 24px; height: 24px; padding: 0; border: 0; background: none; font-size: 30px; line-height: 20px; font-weight: 700; color: #000; }
.modal__side { flex: 0 0 344px; }
.modal__talento { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.modal__talento p { font-family: var(--f-body); font-size: 16px; line-height: 16px; color: #000; width: 152px; }
.btn-outline { display: inline-block; width: 152px; padding: 6px 10px; border: 1px solid #000; font-family: var(--f-mono); font-size: 14px; line-height: 14px; font-weight: 500; text-align: center; text-transform: uppercase; color: #000; }
.btn-outline:hover { background: #000; color: #fff; }
.grad-line { display: block; height: 4px; margin: 30px 0 20px; background: var(--grad); }
.modal__side img { width: 344px; height: 320px; border-radius: var(--radius); object-fit: cover; }
.modal__form { flex: 1; min-height: 590px; }
.modal__form iframe { display: block; width: 100%; border: 0; }

@media (max-width: 767px) {
  .modal__body { flex-direction: column; min-height: 0; gap: 20px; padding: 16px; }
  .modal__side { flex: none; width: 100%; }
  .modal__side img { display: none; }
  .modal__form { width: 100%; }
}

/* ---------- Compartir ---------- */
/* Compartir: un solo botón redondo (menú nativo del dispositivo o copiar enlace) */
.share { display: inline-flex; }
.share__one { position: relative; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #111;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .18); cursor: pointer; transition: transform .15s, box-shadow .15s; }
.share__one:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0, 0, 0, .22); }
.share__one .ico { width: 20px; height: 20px; fill: currentColor; }
.share__ok { position: absolute; left: calc(100% + 8px); top: 50%; transform: translateY(-50%); padding: 5px 10px; border-radius: 999px; background: #111; color: #fff;
  font-size: 12px; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s; }
.share__ok.is-on { opacity: 1; }
.post-hero { position: relative; }
.share--overlay { position: absolute; right: 16px; bottom: 16px; }
.share--overlay .share__ok { left: auto; right: calc(100% + 8px); }
@media (max-width: 767px) { .share__one { width: 40px; height: 40px; } .share--overlay { right: 10px; bottom: 10px; } }

/* ---------- Prosa (cuerpo de los posts) ---------- */
.prose { font-family: var(--f-body); font-size: 16px; line-height: 24px; color: #000; overflow-wrap: break-word; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose figure, .prose table { margin: 0 0 .9rem; }
.prose h2, .prose h3, .prose h4, .prose h5 { margin: .5rem 0 1rem; font-family: var(--f-body); font-weight: 500; color: #000; }
.prose h2 { font-size: 32px; line-height: 1.2; }
.prose h3 { font-size: 28px; line-height: 1.2; }
.prose h4 { font-size: 22px; line-height: 1.2; }
.prose h5 { font-size: 18px; line-height: 1.2; }
.prose ul, .prose ol { padding-left: 2em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: .25rem; }
.prose img { border-radius: var(--radius); }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figcaption { font-size: 13px; color: var(--c-muted); margin-top: 6px; }
.prose blockquote { margin-left: 0; padding-left: 20px; border-left: 4px solid; border-image: var(--grad) 1; font-style: italic; }
.prose table { width: 100%; border-collapse: collapse; }
.prose td, .prose th { padding: 8px; border: 1px solid #ddd; }
.prose iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
.prose a { color: var(--c-link); }

/* ---------- Post: noticia ---------- */
.post-sec { background: var(--c-bg-soft); padding: 114px 0 64px; }
.post-grid { display: grid; grid-template-columns: minmax(0, 1fr) 256px; gap: 30px; align-items: start; width: min(1280px, 100% - 40px); margin: 0 auto; padding-right: 34px; }
.post-box { background: #fff; padding: 24px; }
.post-head { padding: 10px 10px 0; }
.post-title { font-family: var(--f-title); font-size: 45px; line-height: 1.3; font-weight: 600; color: #000; }
.post-head .share { margin-top: 20px; }
.post-hero { margin: 40px 0 0; }
.post-hero img { width: 100%; height: auto; border-radius: var(--radius); object-fit: cover; }
.post-meta { display: flex; align-items: center; margin-top: 30px; font-family: var(--f-body); font-size: 16px; line-height: 24px; color: var(--c-gray); }
.post-meta time { margin-left: 12px; padding-left: 12px; border-left: 1px solid #d5d8dc; }
.post-box .prose { margin-top: 30px; }
.post-video { margin-top: 30px; }
.post-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }

.recent__title { font-family: var(--f-alt); font-size: 32px; line-height: 32px; font-weight: 600; color: #000; }
.recent__card { margin-top: 20px; padding: 19.2px 19.2px 47px; border-radius: var(--radius); background: #fff; }
.recent__card + .recent__card { margin-top: 35px; }
.recent__card img { display: block; width: 100%; height: auto; }
.recent__card h3 { margin-top: 21px; font-family: var(--f-title); font-size: 25px; line-height: 32.5px; font-weight: 600; }
.recent__card h3 a { color: #000; }
.recent__more { display: block; margin: 5.5px 0 0; font-family: var(--f-mono); font-size: 12px; line-height: 18px; font-weight: 500; color: var(--c-gray); }

@media (max-width: 1024px) {
  .post-grid { grid-template-columns: 1fr; padding-right: 0; }
}
@media (max-width: 767px) {
  .post-sec { padding: 100px 0 52px; }
  .post-grid { width: calc(100% - 30px); gap: 30px; }
  .post-box { padding: 19.2px; }
  .post-title { font-size: 26px; line-height: 33.8px; }
  .post-hero img { height: auto; aspect-ratio: 1200 / 630; }
  .post-meta { font-size: 13px; line-height: 19.5px; }
  .recent__card { margin-top: 20px; padding: 15px 19.2px 47px; }
  .recent__card img { width: calc(100% + 4px); max-width: none; margin-left: -2px; height: 170px; object-fit: cover; }
  .recent__card h3 { margin-top: 16px; font-size: 20px; line-height: 26px; }
}

/* ---------- Post: caso de éxito ---------- */
.prose--muted, .prose--muted h2, .prose--muted h3, .prose--muted h4 { color: var(--c-muted); }
.caso-sec { padding: 106px 0 110px; }
.caso-grid { display: grid; grid-template-columns: 384px minmax(0, 1fr); grid-template-rows: auto 1fr; grid-template-areas: "side box" "about box"; column-gap: 10px; align-items: start; width: min(1280px, 100% - 40px); margin: 0 auto; padding-right: 10px; }
.caso-side { grid-area: side; }
.caso-box { grid-area: box; margin-top: 4px; padding: 16px; border-radius: 6px; background: #fff; }
.caso-about { grid-area: about; padding-top: 29px; }
.caso-side .share { align-self: flex-start; }
.caso-line { height: 0; margin: 29px 0 0; border: 0; border-top: 1px solid #000; }
.caso-kicker { margin-top: 29px; font-family: var(--f-body); font-size: 16px; line-height: 24px; color: var(--c-muted); }
.caso-title { margin-top: 18px; font-family: var(--f-title); font-size: 33px; line-height: 39.6px; font-weight: 600; color: #000; }
.caso-material { display: inline-block; margin-top: 21px; padding: 12px 24px; border-radius: 3px; background: #fff; font-family: var(--f-mono); font-size: 15px; line-height: 15px; font-weight: 500; text-transform: uppercase; color: var(--c-text); }
.caso-detalles { margin-top: 20px; font-family: var(--f-title); font-size: 16px; line-height: 19.2px; color: var(--c-muted); }
.caso-fuente { display: inline-flex; align-items: center; gap: 10px; margin-top: 29px; font-family: var(--f-body); font-size: 28px; line-height: 33.6px; color: #000; }
.caso-fuente:hover { color: #000; text-decoration: underline; }
.caso-fuente .ico { width: 19px; height: 19px; }
.caso-side .caso-line:last-child { margin-top: 36px; }
.caso-hero { margin: 0; }
.caso-hero img { width: 100%; height: auto; border-radius: 5px; }
.caso-box .prose { margin-top: 10px; }
.caso-box .post-video { margin-top: 20px; }
.caso-box > .caso-fuente { margin-top: 30px; }
.caso-logo img { width: 75px; height: 75px; object-fit: contain; }
.caso-about__t { margin-top: 20px; font-family: var(--f-alt); font-size: 32px; line-height: 32px; font-weight: 600; color: #000; }
.caso-about > :first-child { margin-top: 0; }
.caso-about__d { margin-top: 20px; font-family: var(--f-title); font-size: 16px; line-height: 19.2px; color: var(--c-muted); }
.caso-about__d p + p { margin-top: 14.4px; }

@media (max-width: 1024px) {
  .caso-grid { grid-template-columns: 1fr; grid-template-areas: "side" "box" "about"; padding-right: 0; }
}
@media (max-width: 767px) {
  .caso-sec { padding: 94px 0 52px; }
  .caso-grid { width: calc(100% - 30px); }
  .caso-title { font-size: 25px; line-height: 30px; }
  .caso-box { margin-top: 36px; padding: 0; }
  .caso-about { padding-top: 40px; }
  .caso-logo img { width: 150px; height: auto; }
  .caso-about__t:last-of-type { font-size: 28px; line-height: 28px; }
}

/* ---------- Post: ebook / whitepaper ---------- */
.ebook-sec { padding: 100px 0 100px; }
.ebook-hero { width: min(1280px, 100% - 40px); margin: 0 auto; }
.ebook-hero img { display: block; width: 100%; height: 350px; object-fit: cover; }
.ebook-grid { display: grid; grid-template-columns: 381px minmax(0, 1fr); gap: 60px; align-items: start; width: min(1280px, 100% - 40px); margin: 60px auto 0; padding: 0 32px; }
.ebook-side .caso-kicker { margin-top: 20px; }
.ebook-title { margin-top: 18px; font-family: var(--f-alt); font-size: 40px; line-height: 40px; font-weight: 600; color: #000; }
.ebook-box { padding: 16px; border-radius: 6px; background: #ececec; }
.ebook-box__t { font-family: var(--f-alt); font-size: 32px; line-height: 32px; font-weight: 600; color: #000; }
.ebook-box .prose { margin-top: 30px; }
.ebook-form { margin-top: 68px; min-height: 391px; }

@media (max-width: 1024px) {
  .ebook-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 767px) {
  .ebook-sec { padding: 100px 0 50px; }
  .ebook-hero, .ebook-grid { width: calc(100% - 30px); }
  .ebook-hero img { height: 160px; }
  .ebook-grid { margin-top: 20px; padding: 0; }
}

/* ---------- Utilidades ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Ítem de menú de la página actual */
.nav__link.is-current::after { opacity: 1; }
.ftr__nav a.is-current { text-decoration: underline; text-decoration-color: #8638eb; text-underline-offset: 6px; text-decoration-thickness: 2px; }

/* ---------- Sección: título de página ---------- */
.s-ptitle { padding: 170px 0 100px; background: #fff; }
.s-ptitle__in { max-width: 1120px; margin: 0 auto; padding-left: 10px; }
.s-ptitle h1 { font-family: var(--f-alt); font-size: 43px; line-height: 43px; font-weight: 400; color: #000; }
.s-ptitle--intro { padding: 170px 0 115px; }
.s-ptitle--intro .s-ptitle__in { display: flex; align-items: center; gap: 40px; }
.s-ptitle--intro h1 { flex: 0 0 420px; }
.s-ptitle__intro { width: 640px; font-family: var(--f-body); font-size: 16px; line-height: 24px; color: #000; }
.s-ptitle__intro p + p { margin-top: 14.4px; }
@media (max-width: 767px) {
  .s-ptitle--intro { padding: 170px 0 52px; }
  .s-ptitle--intro .s-ptitle__in { flex-direction: column; align-items: flex-start; gap: 0; }
  .s-ptitle--intro h1 { flex: none; }
  .s-ptitle__intro { width: 100%; margin-top: 43px; }
}

/* ---------- Sección: barra degradada ---------- */
.grad-bar { height: 20px; background: #000 url('/wp-content/uploads/2026/07/gradiente.svg') center / cover no-repeat; }

/* ---------- Sección: listado de posts ---------- */
.s-list { padding: 30px 0 75px; background: #fff; }
.s-list__in { max-width: 1120px; margin: 0 auto; }
.s-list__filters { display: flex; justify-content: flex-end; gap: 20px; padding-right: 20px; }
.s-list__filters input, .s-list__filters select { width: 180px; height: 42px; padding: 8px 16px; border: 1px solid #666; border-radius: 3px; background: #fff; font-family: var(--f-sys); font-size: 16px; color: var(--c-text); }
.s-list__filters input { padding-right: 32px; }
.s-list__filters select { height: 41px; }
.s-list__empty { margin-top: 40px; text-align: center; font-family: var(--f-body); }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px; margin-top: 40px; }
.card-post { display: flex; flex-direction: column; border: 1px solid #000; border-radius: 5px; }
.card-post__img img { display: block; width: 100%; height: 150px; object-fit: cover; border-radius: 5px 5px 0 0; }
.card-post__img { min-height: 150px; }
.card-post h3 { margin-top: 25px; padding: 0 15px; font-family: var(--f-sys); font-size: 14px; line-height: 16.8px; font-weight: 600; color: #000; }
.card-post__more { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin: 18px 0 20px; padding: 0 15px; border: 1px solid transparent; border-radius: 2px; font-family: var(--f-sys); font-size: 13px; line-height: 19.5px; color: #000; text-decoration: underline; }
.card-post__more:hover { color: #8638eb; }
.card-post__more::after { content: ""; position: absolute; inset: 0; }
.card-post { position: relative; }
.card-post__more .ico { width: 8px; height: 9px; }

.pager { margin-top: 44px; }
.pager ul { display: flex; justify-content: center; align-items: center; gap: 10px; }
.pager a { display: inline-block; min-width: 24px; padding: 3px 8px; border: 1px solid #000; border-radius: 50%; font-family: var(--f-sys); font-size: 12px; line-height: 18px; text-align: center; color: #000; }
.pager a:hover, .pager a.is-active { background: #000; color: #fff; }
.pager__dots { font-size: 16px; line-height: 24px; color: var(--c-text); }
.pager__arrow a { width: 35px; height: 35px; padding: 4px 0; font-size: 16px; line-height: 24px; }

/* ---------- Sección: CTA con certificaciones AWS ---------- */
.s-cta { position: relative; background: #fff; }
.s-cta::after { content: ""; position: absolute; inset: 0; background: var(--cta-bg) center / cover no-repeat; }
.s-cta__panel::before { content: ""; position: absolute; top: 0; bottom: 0; right: 100%; width: 50vw; background: #fff; }
.s-cta__panel { position: relative; z-index: 1; width: 741px; max-width: 100%; margin-left: max(0px, calc(50% - 570px)); padding: 80px 10px 96px; background: #fff; }
.s-cta__t { max-width: 601px; font-family: var(--f-body); font-size: 42px; line-height: 42px; font-weight: 400; color: #000; }
.s-cta__p { max-width: 601px; margin-top: 20px; font-family: var(--f-body); font-size: 24px; line-height: 24px; color: #000; }
.btn-dark { display: inline-flex; align-items: center; gap: 5px; margin-top: 20px; padding: 12px 24px; border-radius: 3px; background: rgba(0, 0, 0, .78); font-family: var(--f-mono); font-size: 14px; line-height: 14px; color: #fff; }
.btn-dark:hover { background: #000; color: #fff; }
.btn-dark .ico { width: 14px; height: 14px; }
.s-cta__logos { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 30px; padding-left: 20px; }
.s-cta__logos img { width: 68px; height: 68px; }

.s-cta__logos li.is-dup { display: none; }

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s-cta::after { display: none; }
  .s-cta__panel { width: auto; margin: 0; }
}
@media (max-width: 767px) {
  .s-ptitle { padding-bottom: 140px; }
  .s-ptitle--intro { padding-bottom: 112px; }
  .s-ptitle__in { padding: 0 20px; }
  .s-list__in { padding: 0 10px; }
  .s-list__filters { flex-direction: column; align-items: flex-end; gap: 10px; padding-right: 20px; }
  .cards { gap: 15px; }
  .s-cta__panel { padding: 80px 10px 96px; overflow: hidden; }
  .s-cta__t { font-size: 32px; line-height: 32px; }
  .s-cta__p { max-width: 250px; font-size: 24px; line-height: 24px; }
  .slug-blog .s-cta__p { font-size: 18px; line-height: 18px; }
  .s-cta__logos { flex-wrap: nowrap; width: max-content; gap: 20px; padding: 0; animation: logos-marquee 30s linear infinite; }
  .s-cta__logos li.is-dup { display: block; }
  .s-cta__logos img { width: 97px; height: 97px; }
}
@keyframes logos-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .s-cta__logos { animation: none; } }

/* ==========================================================================
   Portada
   ========================================================================== */
.page-home main { background: #000; }

/* Puntos de navegación de sliders */
.dots { display: flex; gap: 10px; margin: 0; padding: 0; list-style: none; }
.dots button { display: block; width: 30px; height: 5px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .52); }
.dots button[aria-current="true"] { background: #fff; }

/* ---------- Hero ---------- */
.s-hero { position: relative; height: 100vh; min-height: 600px; overflow: hidden; background: #000; }
.s-hero__track { display: flex; height: 100%; transition: transform .8s ease; }
.s-hero__slide { flex: 0 0 100%; height: 100%; padding: 0 10px; background: var(--bg) center / cover no-repeat; }
.s-hero__in { display: flex; align-items: center; height: 100%; max-width: 1140px; margin: 0 auto; }
.s-hero__in--split { gap: 20px; }
.s-hero__in--split > * { flex: 1 1 0; min-width: 0; }
.s-hero__badge { display: block; width: 108px; height: 108px; margin-bottom: 20px; }
.s-hero__t { font-family: var(--f-alt); font-size: 48px; line-height: 48px; font-weight: 400; color: #fff; }
.s-hero__sub { margin-top: 20px; font-family: var(--f-mono); font-size: 24px; line-height: 24px; color: #fff; }
.s-hero__t, .s-hero__sub { text-shadow: 0 2px 14px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .35); }
.btn-outline-w { display: inline-block; margin-top: 20px; padding: 12px 24px; border: 1px solid #fff; border-radius: 3px; font-family: var(--f-mono); font-size: 15px; line-height: 15px; font-weight: 500; color: #fff; }
.btn-outline-w:hover { background: #fff; color: #000; }
.s-hero__text .btn-outline-w { margin-left: 1px; }
.s-hero__img { display: flex; justify-content: center; align-self: center; }
.s-hero__img--bottom { align-self: flex-end; justify-content: flex-end; }
.s-hero__img img { display: block; max-height: 100%; }
.s-hero__dots { position: absolute; left: max(15px, calc(50% - 565px)); top: calc(50% + 259px); }
.s-hero__arrow { position: absolute; top: 50%; z-index: 2; display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; margin-top: -24px; padding: 0;
  border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(0, 0, 0, .25); color: #fff; cursor: pointer; transition: background-color .2s, border-color .2s; }
.s-hero__arrow:hover, .s-hero__arrow:focus-visible { background: rgba(0, 0, 0, .55); border-color: #fff; }
.s-hero__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.s-hero__arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.s-hero__arrow--prev { left: 20px; }
.s-hero__arrow--next { right: 20px; }

/* ---------- Logos de clientes ---------- */
.s-logos { padding: 30px 0; background: #000; overflow: hidden; }
.marquee { overflow: hidden; }
.marquee__track { display: flex; width: max-content; animation: marquee 220s linear infinite; }
.marquee__track img { display: block; width: 190px; height: 115px; object-fit: contain; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- 360° ---------- */
.s-360 { padding: 0 0 29.6px; background: #000; color: #fff; }
.s-360__in { display: grid; grid-template-columns: 328px 328px 304px; column-gap: 40px; align-items: start; max-width: 1120px; margin: 0 auto; }
.s-360__k { padding-top: 65px; }
.s-360__p { padding-top: 60px; }
.s-360__img { margin-left: 40px; width: 304px; height: 239px; }
.s-360__k { text-align: center; font-family: var(--f-mono); }
.s-360__label { font-size: 16px; line-height: 16px; }
.s-360__big { margin-top: 20px; font-size: 72px; line-height: 72px; font-weight: 500; }
.s-360__p { font-family: "Jost", sans-serif; font-size: 23px; line-height: 34.5px; text-align: center; }

/* ---------- Encabezado de carruseles oscuros (Expertos / Customer stories) ---------- */
.s-dark-carousel { background: #000; color: #fff; overflow: hidden; }
.s-stories .s-head { padding-left: 0; }
.s-stories .s-head__t { min-width: 169px; }
.s-head { display: flex; align-items: center; gap: 31px; max-width: 1120px; margin: 0 auto; padding-left: 10px; }
.s-head__t { flex: 0 0 auto; min-width: 166px; font-family: var(--f-alt); font-size: 16px; line-height: 16px; font-weight: 600; text-align: right; color: #fff; }
.s-head__line { flex: 1; height: 5px; background: url('/wp-content/uploads/2026/07/separator-title.svg') center / 100% 100% no-repeat; }

/* Carrusel genérico (avance de a una tarjeta, bucle infinito) */
.carousel { overflow: hidden; }
.carousel__track { display: flex; width: max-content; }
.carousel__track.is-animating { transition: transform .6s ease; }
.carousel__track, [data-slider] [class*="__track"] { touch-action: pan-y; cursor: grab; }
[data-slider].is-dragging [class*="__track"] { cursor: grabbing; user-select: none; }
[data-slider] [class*="__track"] img { -webkit-user-drag: none; }
.carousel.is-dragging .carousel__track { cursor: grabbing; user-select: none; }
.carousel__track img { -webkit-user-drag: none; user-select: none; }

/* ---------- Expertos en ---------- */
.s-experts { padding: 20px 0 69px; }
.s-experts__view { max-width: 1120px; margin: 60px auto 0; }
.s-experts .carousel__track { gap: 20px; }
.exp-card { position: relative; flex: 0 0 406px; }
.exp-card img { display: block; width: 406px; height: 370px; }
.exp-card__btn { position: absolute; left: 40px; top: 270px; padding: 12px 24px; background: #000; font-family: var(--f-mono); font-size: 15px; line-height: 15px; font-weight: 500; text-transform: uppercase; text-align: center; color: #fff; }
.exp-card__btn span { display: block; max-width: 76px; }
.exp-card__btn:hover { color: #fff; background: #222; }

/* ---------- Cifras ---------- */
.s-stats { padding: 41px 0 40px; background: #000; border-bottom: 1px solid #b3b3b3; color: #fff; }
.s-stats__in { display: grid; grid-template-columns: repeat(4, 250px); column-gap: 40px; max-width: 1120px; margin: 0 auto; }
.s-stats__it { text-align: center; }
.s-stats__it dt { font-family: var(--f-mono); font-size: 13px; line-height: 13px; text-transform: uppercase; }
.s-stats__it dd { margin: 20px 0 0; font-family: "Space Grotesk", sans-serif; font-size: 64px; line-height: 64px; font-weight: 500; }

/* ---------- Testimonios ---------- */
.s-testi { padding: 60px 0 45px; background: #000; }
.s-testi__view { overflow: hidden; max-width: 1080px; margin: 0 auto; }
.s-testi__track { display: flex; transition: transform .8s ease; }
.testi { display: flex; gap: 20px; flex: 0 0 100%; margin: 0; }
.testi__card { display: flex; flex-direction: column; justify-content: center; flex: 0 0 636px; min-height: 401px; padding: 10px; border-radius: 12px; background: #fff; }
.testi__logo { align-self: flex-start; max-width: 100%; height: auto; }
.testi__q { margin: 20px 0 0; padding: 0 30px; font-family: var(--f-alt); font-size: 16px; line-height: 24px; color: #000; }
.testi__who { margin: 14px 0 18px; padding: 0 30px; font-family: var(--f-alt); font-size: 16px; line-height: 24px; color: #000; }
.testi__photo { flex: 0 0 424px; width: 424px; height: 401px; object-fit: cover; }
.s-testi__dots { justify-content: center; margin-top: 34px; }

/* ---------- Customer stories ---------- */
.s-stories { padding: 20px 0 40px; }
.s-stories__view { margin-top: 50px; }
.s-stories .carousel__track { gap: 20px; align-items: flex-start; }
.story { flex: 0 0 254px; }
.story__img img { display: block; width: 254px; height: 190px; object-fit: cover; border-radius: 5px; }
.story h3 { margin-top: 25px; font-family: var(--f-sys); font-size: 14px; line-height: 16.8px; font-weight: 600; color: #fff; }
.story__more { display: inline-flex; align-items: center; gap: 5px; margin-top: 16px; padding: 2px 15px; border: 1px solid #fff; border-radius: 2px; font-family: var(--f-sys); font-size: 13px; line-height: 19.5px; color: #fff; }
.story__more:hover { background: #fff; color: #000; }
.story__more .ico { width: 8px; height: 9px; }

/* ---------- Formulario final ---------- */
.s-formcta { padding: 50px 10px; background: #000 var(--bg) top center / cover no-repeat; }
.s-formcta__in { display: flex; gap: 20px; max-width: 1140px; margin: 0 auto; }
.s-formcta__text { display: flex; flex-direction: column; justify-content: center; flex: 0 0 600px; min-height: 650px; padding: 0 100px; color: #fff; font-family: var(--f-alt); }
.s-formcta__text h2 { font-size: 54px; line-height: 54px; font-weight: 400; }
.s-formcta__text p { margin-top: 20px; font-size: 19px; line-height: 19px; }
.s-formcta__panel { flex: 0 0 520px; padding: 30px; border-radius: 15px; background: linear-gradient(rgba(0, 0, 0, .51) 0%, rgba(255, 255, 255, 0) 100%); }
.s-formcta__panel iframe { display: block; width: 100%; border: 0; }

/* ---------- Portada: tablet / móvil ---------- */
@media (max-width: 1024px) {
  .hdr--dark .hdr__bar { max-width: none; height: 76px; padding: 8px 25px 8px 18px; }
  .hdr--dark .hdr__logo { margin-left: 0; }
  .s-360__in, .s-stats__in { max-width: none; padding: 0 20px; }
  /* Columnas fluidas: con ancho fijo (4×250 + 3×40 = 1120 px) la página desbordaba en horizontal entre 768 y 1160 px. */
  .s-stats__in { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 20px; }
  .s-360__in { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 20px; }
  .s-360__img { justify-self: end; margin-left: 0; width: 100%; max-width: 304px; height: auto; aspect-ratio: 304 / 239; object-fit: contain; }
  .s-formcta__in { flex-direction: column; }
  .s-formcta__text { flex: none; min-height: 0; padding: 0; }
}
@media (max-width: 767px) {
  .s-hero__slide { padding: 0 10px; }
  .s-hero__in--split { flex-direction: column; justify-content: flex-end; align-items: stretch; padding-bottom: 60px; }
  .s-hero__in--split > * { flex: none; }
  .s-hero__img img { max-height: 40vh; }
  .s-hero__t { font-size: 32px; line-height: 32px; }
  .s-hero__sub { font-size: 18px; line-height: 18px; }
  .s-hero__dots { left: 5px; top: auto; bottom: 175px; }
  .s-hero__arrow { width: 38px; height: 38px; margin-top: -19px; }
  .s-hero__arrow--prev { left: 8px; } .s-hero__arrow--next { right: 8px; }

  .marquee__track img { width: 195px; height: 118px; }

  .s-360 { padding: 10px 0 31px; }
  .s-360__in { grid-template-columns: 156px 156px; column-gap: 39px; row-gap: 44px; }
  .s-360__k { padding-top: 20px; }
  .s-360__p { padding-top: 0; font-size: 18px; line-height: 27px; }
  .s-360__img { grid-column: 1 / -1; justify-self: center; margin: 0; width: 290px; height: 227px; }

  .s-experts { padding: 20px 0 69px; }
  .s-head, .s-stories .s-head { flex-direction: column; align-items: stretch; gap: 40px; padding: 0 10px; }
  .s-head__t, .s-stories .s-head__t { min-width: 0; padding: 0 10px; text-align: center; }
  .s-head__line { flex: none; }
  .s-experts__view { margin-top: 55px; padding-left: 64px; }
  .exp-card { flex-basis: 121px; overflow: hidden; }
  .exp-card img { width: 121px; height: 110px; }
  .exp-card__btn { top: 11px; }

  .s-stats { padding: 41px 0 40px; }
  .s-stats__in { grid-template-columns: 156px 156px; column-gap: 39px; row-gap: 40px; }

  .s-testi { padding: 30px 0 16px; }
  .s-testi__view { max-width: none; }
  .testi { flex-direction: column; align-items: center; gap: 19px; }
  .testi__card { flex: none; width: 330px; height: 333px; min-height: 0; }
  .testi__logo { width: 112px !important; height: auto !important; }
  .testi__q { margin-top: -8px; padding: 0 30px; }
  .testi__who { margin-bottom: 15px; padding: 0 30px; }
  .testi__photo { flex: none; width: 330px; height: 313px; }
  .s-testi__dots { margin-top: 57px; }

  .s-stories__view { margin-top: 45px; padding-left: 10px; }
  .story { flex-basis: 175px; }
  .story__img img { width: 175px; }

  .s-formcta { padding: 50px 10px 80px; }
  .s-formcta__text h2 { font-size: 42px; line-height: 42px; }
  .s-formcta__panel { flex: none; margin-top: 30px; padding: 0; background: none; }
}

/* ==========================================================================
   Servicios e industrias (plantilla común)
   ========================================================================== */
.s-lphero { padding: 175px 10px 125px; background: #fff var(--bg) left bottom / auto no-repeat; }
.s-lphero__in { display: flex; align-items: center; gap: 20px; max-width: 1140px; margin: 0 auto; padding: 10px; }
.s-lphero__t, .s-lphero__p { flex: 1 1 0; padding: 10px; }
.s-lphero__t h1 { max-width: 380px; margin-left: auto; font-family: var(--f-alt); font-size: 43px; line-height: 43px; font-weight: 400; color: #000; }
.s-lphero__p { padding-bottom: 24px; font-family: var(--f-body); font-size: 16px; line-height: 24px; color: #000; }
.s-lphero__p p + p { margin-top: 14.4px; }

.s-anchors { padding: 16px 0; background: #000 url('/wp-content/uploads/2026/07/gradiente.svg') center / cover no-repeat; }
.s-anchors ul { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1160px; margin: 0 auto; text-align: center; }
.s-anchors a { font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 36px; color: #fff; text-decoration: underline; }
.s-anchors a:hover { color: #fff; opacity: .85; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

.s-vquote { position: relative; overflow: hidden; padding: 70px 10px 80px; background: #000 var(--bg) center / cover no-repeat; }
.s-vquote::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .3); }
.s-vquote__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-vquote__in { position: relative; z-index: 1; max-width: 1140px; margin: 0 auto; padding-left: 20px; }
.s-vquote__logo { display: block; width: auto; max-width: 300px; height: 75px; object-fit: contain; object-position: left center; }
.s-vquote__q { max-width: 530px; margin-top: 20px; font-family: var(--f-body); font-size: 15px; line-height: 22.5px; color: #fff; }
.s-vquote__q p + p { margin-top: 17px; }

.s-ssplit { padding: 60px 0 40px; background: #000; color: #fff; }
.s-ssplit__in { display: flex; align-items: center; justify-content: space-between; max-width: 1120px; margin: 0 auto; }
.s-ssplit__h { max-width: 518px; font-family: var(--f-body); font-size: 36px; line-height: 36px; font-weight: 400; }
.s-ssplit__list { display: flex; flex-direction: column; gap: 60px; margin: 0 20px 0 0; }
.s-ssplit__it { display: flex; align-items: center; gap: 40px; }
.s-ssplit__it dt { order: 2; width: 226px; font-family: var(--f-mono); font-size: 13px; line-height: 13px; text-transform: uppercase; }
.s-ssplit__it dd { order: 1; width: 226px; margin: 0; text-align: right; font-family: "Space Grotesk", sans-serif; font-size: 48px; line-height: 48px; font-weight: 500; }

.s-quotes { display: flex; flex-direction: column; padding: 30px 50px 35px; background: #000; color: #fff; }
.s-quotes__view { width: 100%; }
.s-quotes__view { max-width: 1140px; margin: 0 auto; overflow: hidden; }
.s-quotes__track { display: flex; transition: transform .8s ease; }
.quote { flex: 0 0 100%; margin: 0; padding: 10px 10px 0; }
.quote__logo { display: flex; align-items: center; justify-content: center; width: 336px; padding: 40px; background: url('/wp-content/uploads/2026/07/separator-vertical.svg') right center / 6px 100% no-repeat; }
.quote__logo img { max-width: 100%; height: auto; }
.quote__body { max-width: 664px; margin: 60px 0 0 60px; font-family: var(--f-body); font-size: 14px; line-height: 21px; }
.quote__body h4 { margin: 14px 0 0; font-size: 24px; line-height: 28.8px; font-weight: 500; }
.quote__body h4 + p { margin-top: 16px; }
.s-quotes__dots { justify-content: center; margin: auto 0 0; padding-top: 30px; }

.s-expg { background-color: #fff; }
.s-expg__panel { padding: 50px 10px; }
.s-expg__h { max-width: 721px; font-family: var(--f-body); font-size: 53px; line-height: 53px; font-weight: 400; color: #000; }
.s-expg__grid { display: grid; grid-template-columns: 351px 351px; gap: 46px 20px; margin-top: 28px; }
.s-expg__ico { display: block; width: 16px; height: 16px; margin: 1px 0 27px 1px; border-radius: 2px; }
.s-expg__it h4 { font-family: var(--f-body); font-size: 24px; line-height: 28.8px; font-weight: 500; color: #000; }
.s-expg__it p { margin-top: 15px; font-family: var(--f-body); font-size: 14px; line-height: 21px; color: #000; }

.s-casesg { padding: 30px 0 30px; background: #000; color: #fff; }
.s-casesg__in { max-width: 1120px; margin: 0 auto; }
.s-casesg__h { font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 28px; font-weight: 600; }
.s-casesg__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; margin-top: 40px; }
.case-card__img img { display: block; width: 100%; height: auto; border-radius: 20px; }
.case-card__cat { margin-top: 25px; font-family: var(--f-mono); font-size: 12px; line-height: 18px; text-transform: uppercase; }
.case-card h3 { margin-top: 15px; font-family: var(--f-body); font-size: 15px; line-height: 18px; font-weight: 600; }
.case-card__more { display: inline-flex; align-items: center; gap: 4px; margin-top: 15px; padding: 6px 10px 6px 12px; border-radius: 3px; background: #fff; font-family: var(--f-body); font-size: 14px; line-height: 14px; font-weight: 500; color: #000; }
.case-card__more:hover { color: #000; opacity: .85; }
.case-card__more .ico { width: 10px; height: 10px; }

.s-stories--grad { padding: 30px 0 30px; background: #000 url('/wp-content/uploads/2026/07/gradiente.svg') center / cover no-repeat; }
.s-stories__h { max-width: 1140px; margin: 0 auto; font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 28px; font-weight: 600; color: #fff; }
.s-stories--grad .s-stories__view { margin-top: 40px; }
.s-stories--grad .story__more { border-color: transparent; background: rgba(0, 0, 0, .52); }

.s-awsp { padding: 60px 0 75px; background: #000 var(--bg) center / cover no-repeat; color: #fff; }
.s-awsp__in { display: flex; align-items: center; gap: 40px; max-width: 1120px; margin: 0 auto; }
.s-awsp__h { flex: 0 0 310px; font-family: "Space Grotesk", sans-serif; font-size: 28px; line-height: 28px; font-weight: 400; }
.s-awsp__p { flex: 0 0 475px; font-family: "Space Grotesk", sans-serif; font-size: 14px; line-height: 21px; }
.s-awsp__p p + p { margin-top: 14px; }
.btn-outline-w--mono { margin: 0; font-size: 14px; line-height: 14px; font-weight: 400; }

.s-cta--boxed { background: #000; }
.s-cta--boxed::after { left: calc(50% + 171px); right: max(0px, calc(50% - 570px)); }

/* Industrias: misma estructura que servicios, con ajustes propios de su plantilla */
.page-industria .s-lphero__p { font-size: 14px; line-height: 21px; }
.page-industria .s-vquote { padding-top: 60px; }
.page-industria .s-vquote__in { padding-left: 10px; }
.page-industria .s-vquote__q { max-width: 540px; }
.page-industria .s-ssplit { padding: 40px 0; }
.page-industria .s-ssplit__h { font-family: var(--f-alt); }
.page-industria .s-quotes__view { padding: 30px 50px 0; }
.page-industria .quote__logo { width: 326px; }
.page-industria .quote__body { max-width: 594px; margin: 62px 0 0 70px; }

/* ---------- Servicios e industrias: tablet / móvil ---------- */
@media (max-width: 1024px) {
  .s-lphero__in, .s-ssplit__in, .s-awsp__in { flex-direction: column; align-items: stretch; }
  .s-ssplit__in, .s-awsp__in, .s-casesg__in { padding: 0 20px; }
  .s-expg::after { display: none; }
  .s-expg .s-cta__panel { width: auto; margin: 0; }
}
@media (max-width: 767px) {
  .s-lphero { padding: 185px 10px 169px; }
  .s-lphero__in { gap: 40px; padding: 0; }
  .s-lphero__t, .s-lphero__p { padding: 0 10px; }
  .s-lphero__t h1 { max-width: none; margin: 0; }

  .s-anchors { padding: 16px 0 17px; }
  .s-anchors a { font-size: 18px; line-height: 23px; }

  .s-vquote { padding: 70px 10px 122px; }
  .s-vquote__in { padding-left: 10px; }

  .s-ssplit { padding: 70px 0 40px; }
  .s-ssplit__in { padding: 0 40px; gap: 90px; }
  .s-ssplit__h { font-size: 24px; line-height: 24px; }
  .s-ssplit__list { margin: 0 -10px; gap: 60px; }
  .s-ssplit__it dd, .s-ssplit__it dt { width: 138px; }

  .s-quotes { padding: 34px 0 6px; }
  .quote { padding: 10px; }
  .quote__logo { display: none; }
  .quote__body, .page-industria .quote__body { max-width: 222px; margin: 0; }

  .s-expg__panel { padding: 50px 10px; }
  .s-expg__h { font-size: 42px; line-height: 42px; }
  .s-expg__grid { grid-template-columns: 1fr; gap: 24px; }

  .s-casesg { padding: 30px 10px; }
  .s-casesg__in { padding: 0; }
  .s-casesg__grid { grid-template-columns: 1fr; }

  .s-awsp__in { gap: 30px; }
  .s-awsp__h, .s-awsp__p { flex: none; }
}

/* ==========================================================================
   Layout (páginas con diseño propio): base de contenedores y bloques.
   Las reglas por elemento se generan en <style> desde la sección.
   ========================================================================== */
/* Contenedores con los valores por defecto de Elementor; cada página solo agrega lo que difiere (#ly-id). */
.ly-c { position: relative; width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 20px; padding: 10px; }
.ly-c.ly-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); }
.ly-c.ly-boxed { display: block; }
.ly-boxed > .ly-in { display: flex; flex-direction: column; gap: 20px; }
.ly-boxed.ly-grid > .ly-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, 1fr); }
@media (max-width: 767px) {
  .ly-c, .ly-boxed > .ly-in { flex-wrap: wrap; }
  .ly-c.ly-grid, .ly-boxed.ly-grid > .ly-in { grid-template-columns: minmax(0, 1fr); }
}
.ly-in { width: 100%; max-width: min(100%, 1140px); margin: 0 auto; }
.ly-w { position: relative; min-width: 0; max-width: 100%; }
.ly-anchor { position: absolute; top: 0; }
.ly-hasbg > .ly-bgvideo, .ly-hasbg > .ly-overlay { border-radius: inherit; }   /* el contenido puede sobresalir, el fondo no */
.ly-hasbg > :not(.ly-overlay):not(.ly-bgvideo) { position: relative; z-index: 1; }
.ly-overlay { position: absolute; inset: 0; pointer-events: none; }
.ly-bgvideo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ly-t { margin: 0; padding: 0; line-height: 1; }
/* Tamaños por defecto de títulos del tema Hello (cuando el bloque no fija tipografía) */
h1.ly-t { font-size: 2.5rem; } h2.ly-t { font-size: 2rem; } h3.ly-t { font-size: 1.75rem; }
h4.ly-t { font-size: 1.5rem; } h5.ly-t { font-size: 1.25rem; } h6.ly-t { font-size: 1rem; }
.ly-t { font-weight: 500; }
.ly-w a:has(.ly-t) { color: inherit; }
.ly-text-editor { font-family: var(--f-body); }
.ly-rich p, .ly-rich ul, .ly-rich ol { margin: 0 0 .9rem; }
.ly-rich small { font-size: 80%; }
.ly-rich ul { padding-left: 1.5em; list-style: disc; }
.ly-rich ol { padding-left: 1.5em; list-style: decimal; }
.ly-rich h1, .ly-rich h2, .ly-rich h3, .ly-rich h4, .ly-rich h5 { margin: .5rem 0 1rem; line-height: 1.2; font-weight: 500; }
.ly-rich h1 { font-size: 2.5rem; } .ly-rich h2 { font-size: 2rem; } .ly-rich h3 { font-size: 1.75rem; } .ly-rich h4 { font-size: 1.5rem; } .ly-rich h5 { font-size: 1.25rem; }
.ly-rich a { color: var(--c-link); }
.ly-image { text-align: center; line-height: 0; }
.ly-image img { display: inline-block; max-width: 100%; height: auto; }
.ly-btn { display: inline-flex; align-items: center; gap: 5px; padding: 12px 24px; border-radius: 3px; font-size: 15px; line-height: 1; transition: background-color .2s, color .2s; }
.ly-btn:hover { color: inherit; background-color: var(--hover-bg, inherit); }
.ly-btn .ico { width: 1em; height: 1em; }
.ly-icon { text-align: center; }
.ly-ico { display: inline-flex; align-items: center; justify-content: center; }
.ly-ico .ico { width: 100%; height: 100%; }
.ly-sq { display: block; width: 100%; height: 100%; background: currentColor; }
.ly-hr { border: 0; }
.ly-video iframe { display: block; width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }
/* Acordeón anidado con los valores por defecto de Elementor */
.ly-acc > summary { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid #d5d8dc; color: #1f2124; font-family: var(--f-sys); font-size: 16px; line-height: 24px; list-style: none; cursor: pointer; }
.ly-acc > summary::-webkit-details-marker { display: none; }
.ly-acc__ico { display: flex; flex: none; }
.ly-acc__ico svg { height: 15px; width: auto; fill: currentColor; }
.ly-acc .ly-acc__minus, .ly-acc[open] .ly-acc__plus { display: none; }
.ly-acc[open] .ly-acc__minus { display: block; }
.ly-acc > .ly-c { border: 1px solid #d5d8dc; }
/* Pestañas anidadas (valores por defecto de Elementor) */
.ly-tabs { display: flex; flex-direction: column; gap: 10px; }
.ly-tabs__head { display: flex; justify-content: center; gap: 10px; }
.ly-tabs [role="tab"] { display: flex; align-items: center; justify-content: center; padding: 15px 35px; border: 0; background: none; color: #54595f; font: inherit; line-height: 24px; cursor: pointer; }
.ly-tabs [role="tabpanel"][hidden] { display: none; }
@media (max-width: 767px) {
  .ly-tabs { gap: 0; }
  .ly-tabs__head, .ly-tabs__body { display: contents; }
  .ly-tabs [role="tab"], .ly-tabs [role="tabpanel"] { order: var(--o); }
  .ly-tabs [role="tab"] { width: 100%; margin-top: 10px; }
  .ly-tabs [role="tab"][aria-selected="true"] { margin: 0 0 10px; }
}

/* Layout: sliders del tema (slick) */
.ly-slider { display: block !important; }
.ly-in--slider { display: block !important; }
.ly-slider__view { overflow: hidden; width: 100%; }
.ly-slider__track { display: flex !important; flex-direction: row !important; align-items: flex-start; gap: 0 !important; transition: transform .8s ease; }
.ly-slider__track > * { flex: 0 0 100% !important; max-width: 100%; display: block !important; }
/* slick envuelve cada slide en inline-block: su contenido se apila a ancho completo */
.ly-slider__track > * > * { width: 100% !important; }
.ly-slider__track--3 > * { flex-basis: 33.3333% !important; }
.ly-dots { justify-content: center; margin-top: 20px; }
.ly-dots--dark button { background: rgba(0, 0, 0, .52); }
.ly-dots--dark button[aria-current="true"] { background: #000; }
@media (max-width: 767px) { .ly-slider__track--3 > * { flex-basis: 100% !important; } }

/* Layout: clases propias del tema */
/* Reconocimientos (Nosotros): 7 insignias, la primera más ancha (combina 2022–2024). El original declaraba
   8 columnas y la última quedaba vacía, corriendo la fila a la izquierda. */
.premios-2026 { grid-template-columns: 1.2fr repeat(6, 1fr) !important; align-items: center; justify-items: center; }
.premios-2026 > .ly-w { width: 100%; }
.about-footer::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #e30cc9 0%, #8638eb 50%, #2aeac3 100%); }
.about-footer > * { position: relative; z-index: 1; }
.mh-img { display: flex; align-items: center; }
.w100 img { width: 100% !important; }
.link a, .board-cards a { text-decoration: none !important; }
.board-cards .ly-t a { display: inline-block; margin-bottom: 10px; }
.title-menu h3 { position: relative; display: inline; }
.title-menu h3::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 3px; background: var(--grad); }
.logos-convenios figure { padding: 0 15px; }
/* .tab-custom (tema): línea negra bajo los títulos, fondo degradado en el activo y el texto bajo la línea */
.tab-custom .ly-tabs__head { border-bottom: 2px solid #000; margin-bottom: 50px; }
.tab-custom [role="tab"] > span { margin-bottom: -100px; }
.tab-custom [role="tab"], .tab-custom [role="tab"]:hover { background: none !important; }
.tab-custom [role="tab"][aria-selected="true"] { background: url('/wp-content/uploads/2026/09/title-cap-bg.svg') center / cover no-repeat !important; }
@media (max-width: 767px) { .tab-custom [role="tab"] > span { margin-bottom: 0; } .tab-custom .ly-tabs__head { margin-bottom: 0; } }
@media (max-width: 767px) {
  .premios-2026 { display: flex !important; flex-direction: row !important; flex-wrap: wrap; justify-content: center; gap: 12px 8px !important; }
  .premios-2026 > .ly-w { flex: 0 0 calc(33.333% - 8px); }
}

/* Grilla fija de posts (shortcode posts_blog css="post-talento") */
.pcard { padding: 10px; }
.pcard__img { height: 190px; overflow: hidden; border-radius: 7px; margin-bottom: 25px; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; }
.pcard h3 { font-size: 14px; font-weight: 600; line-height: 1.2; color: #fff; margin: .5rem 0 1rem; }
.pcard__more { display: inline-block; font-size: 13px; color: #fff; border: 1px solid #fff; padding: 2px 15px; border-radius: 2px; text-decoration: none; }
.pcard__more .ico { width: 8px; height: auto; fill: currentColor; }
.post-talento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.post-talento .pcard { padding: 0 0 10px; background: #fff; }
.post-talento .pcard__img { border-radius: 0; }
.post-talento h3 { color: #000; margin: 10px 15px; }
.post-talento .pcard__more { color: #000; border: 0; border-bottom: 2px solid #000; border-radius: 0; padding: 0; margin: 0 15px; }
@media (max-width: 767px) { .post-talento { grid-template-columns: 1fr; } }

/* Grilla de casos embebida por shortcode (posts_blog_cases): sin márgenes de sección */
.s-casesg.s-casesg--bare { padding: 0; background: none; }
.s-casesg--bare .s-casesg__grid { margin-top: 0; }
@media (max-width: 767px) { .s-casesg.s-casesg--bare { padding: 0; } }

/* Layout: carrusel de logos (slick del tema: 8 / 5 / 3 por vista, márgenes de 10px) */
.ly-logos { display: block !important; }
.ly-logos__view { overflow: hidden; }
.ly-logos .carousel__track { display: flex; width: 100%; }
.ly-logos .carousel__track > * { flex: 0 0 12.5%; padding: 0 10px; box-sizing: border-box; }
@media (max-width: 1023px) { .ly-logos .carousel__track > * { flex-basis: 20%; } }
@media (max-width: 767px) { .ly-logos .carousel__track > * { flex-basis: 33.3333%; } }

/* Layout: carrusel de imágenes (swiper de Elementor): N por vista según breakpoint, sin separación */
.ly-icar { overflow: hidden; }
.ly-icar .carousel__track { display: flex; align-items: center; width: 100%; margin: 0; padding: 0; list-style: none; }
.ly-icar li { flex: 0 0 calc(100% / var(--pd)); }
.ly-icar figure { margin: 0; text-align: center; }
.ly-icar img { max-width: 100%; height: auto; vertical-align: middle; }
@media (max-width: 1024px) { .ly-icar li { flex-basis: calc(100% / var(--pt)); } }
@media (max-width: 767px) { .ly-icar li { flex-basis: calc(100% / var(--pm)); } }

/* ---------- Slider del blog en el inicio (máx. 3 noticias) ---------- */
.s-blog { position: relative; padding: 55px 10px 60px; color: #fff; overflow: hidden;
  background: radial-gradient(ellipse 60% 90% at 12% 0%, rgba(134, 56, 235, .5) 0%, transparent 70%),
    radial-gradient(ellipse 55% 80% at 95% 100%, rgba(42, 234, 195, .28) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 60% 10%, rgba(227, 12, 201, .22) 0%, transparent 70%), #07040f; }
.s-blog::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.s-blog .s-head__t { color: #fff; }
.s-blog__view { max-width: 1120px; margin: 40px auto 0; overflow: hidden; }
.s-blog__track { display: flex; transition: transform .6s ease; }
.s-blog__slide { flex: 0 0 100%; display: flex; align-items: center; gap: 40px; min-width: 0; padding: 0 10px; }
.s-blog__img { flex: 0 0 48%; height: 300px; overflow: hidden; border-radius: 7px; background: rgba(255, 255, 255, .08); }
.s-blog__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s-blog__text { flex: 1 1 0; min-width: 0; }
.s-blog__text h3 { font-family: var(--f-alt); font-size: 28px; line-height: 32px; font-weight: 400; color: #fff; }
.s-blog__text p { margin-top: 16px; font-family: var(--f-body); font-size: 16px; line-height: 24px; color: #e2e0ec; }
.s-blog__more { display: inline-flex; align-items: center; gap: 8px; margin-top: 20px; font-family: var(--f-mono); font-size: 15px; font-weight: 500; color: #fff; }
.s-blog__more:hover { text-decoration: underline; }
.s-blog__dots { justify-content: center; margin-top: 28px; }
.s-blog__cta { margin: 28px 0 0; text-align: center; }
.s-blog__cta .btn-outline-w { margin-top: 0; }
@media (max-width: 767px) {
  .s-blog { padding: 40px 10px 50px; }
  .s-blog__slide { flex-direction: column; align-items: stretch; gap: 20px; }
  .s-blog__img { flex: none; height: 200px; }
  .s-blog__text h3 { font-size: 22px; line-height: 26px; }
}

/* ==========================================================================
   Mejoras móviles del inicio (≤ 767 px): sin desbordes, controles que no tapan el contenido
   ========================================================================== */
@media (max-width: 767px) {
  /* Hero: altura acotada, flechas y puntos en una franja inferior (ya no tapan el botón ni el texto) */
  .s-hero { height: 88vh; height: 88svh; min-height: 520px; max-height: 760px; }
  .s-hero__in { padding-bottom: 84px; }
  .s-hero__in--split { padding-bottom: 84px; }
  .s-hero__arrow { top: auto; bottom: 22px; margin-top: 0; width: 40px; height: 40px; }
  .s-hero__arrow--prev { left: auto; right: 62px; }
  .s-hero__arrow--next { right: 12px; }
  .s-hero__dots { left: 20px; top: auto; bottom: 36px; }
  .s-hero .btn-outline-w { display: inline-block; padding: 12px 20px; }

  /* Cifras y banda 360: columnas fluidas y cifras que caben (+1.5k, +300) */
  .s-stats { padding: 32px 0 32px; }
  .s-stats__in { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; row-gap: 32px; padding: 0 16px; }
  .s-stats__it dd { margin-top: 14px; font-size: clamp(38px, 13vw, 54px); line-height: 1.05; }
  .s-360__in { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; padding: 0 16px; }
  .s-360__img { width: 100%; max-width: 290px; height: auto; aspect-ratio: 290 / 227; }
  .s-360__big { font-size: clamp(52px, 17vw, 72px); line-height: 1; }

  /* Expertos: tarjetas más grandes con la etiqueta completa dentro de la imagen */
  .s-experts { padding: 20px 0 40px; }
  .s-experts__view { padding-left: 16px; }
  .exp-card { flex-basis: 220px; overflow: hidden; border-radius: 6px; }
  .exp-card img { width: 220px; height: 200px; object-fit: cover; }
  .exp-card__btn { left: 0; right: auto; top: auto; bottom: 14px; max-width: calc(100% - 14px); padding: 9px 12px; font-size: 13px; line-height: 15px; }
  .exp-card__btn span { max-width: none; }

  /* Testimonios: la tarjeta y la foto se adaptan al ancho y la foto no domina la pantalla */
  .testi__card { width: min(330px, calc(100% - 20px)); height: auto; min-height: 0; padding-bottom: 8px; }
  .testi__photo { width: min(330px, calc(100% - 20px)); height: 240px; }
  .s-testi__dots { margin-top: 28px; }

  /* Customer stories: títulos con el mismo alto máximo para que los botones queden alineados */
  .story h3 { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; line-clamp: 4; overflow: hidden; }

  /* Formulario final y pie */
  .s-formcta__text h2 { font-size: 34px; line-height: 38px; }
  .ftr { padding-bottom: 64px; }
  .brochure { right: 8px; bottom: 8px; height: 36px; font-size: 12px; }
  .brochure span { padding: 9px 12px; }
  .brochure i { width: 36px; }
}

/* ---------- Footer: grupos <details>. En escritorio siempre abiertos; en móvil, acordeón apilado ---------- */
.ftr__grp > summary { list-style: none; pointer-events: none; cursor: default; }
.ftr__grp > summary::-webkit-details-marker { display: none; }
.ftr__grp--nav > summary { display: none; }
@media (max-width: 767px) {
  .ftr__top-in { gap: 8px; }
  .ftr__brand img { width: 220px; height: auto; }
  .ftr__social { margin-top: 20px; }
  .ftr__top { padding-bottom: 0; }
  .ftr__band { min-height: 0; padding-top: 0; }
  .ftr__grp { border-top: 1px solid var(--c-footer-line); }
  .ftr__grp > summary, .ftr__grp--nav > summary { pointer-events: auto; cursor: pointer; display: flex; align-items: center; justify-content: space-between;
    width: 100%; min-height: 52px; margin: 0; font-size: 15px; letter-spacing: .04em; }
  .ftr__grp > summary::after { position: static; left: auto; right: auto; bottom: auto; width: auto; height: auto; background: none;
    content: "+"; font-size: 24px; line-height: 1; font-weight: 400; color: #fff; }
  .ftr__grp[open] > summary::after { content: "\2013"; }
  .ftr__grp > summary:focus-visible { outline: 2px solid #8638eb; outline-offset: 2px; }
  .ftr__nav, .ftr__cols { display: block; width: auto; margin: 0; padding: 0 0 12px; }
  .ftr__nav li, .ftr__cols li { display: block; }
  .ftr__nav a, .ftr__cols a { display: block; padding: 11px 0; font-size: 14px; line-height: 20px; }
  .ftr__bottom .ftr__bottom-in { gap: 24px; }
}

/* ---------- Margen lateral único en móvil: 20 px (el del formulario) para todo el sitio ---------- */
@media (max-width: 767px) {
  :root { --gutter: 20px; }
  .wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
  .hdr { padding: 0 10px; }
  .post-head, .s-list__in { padding-left: var(--gutter); padding-right: var(--gutter); }
  .s-ptitle__in { padding-left: var(--gutter); padding-right: var(--gutter); }
  .s-hero__slide { padding: 0 var(--gutter); }
  .s-head, .s-stories .s-head { padding: 0 var(--gutter); }
  .s-head__t, .s-stories .s-head__t { padding: 0; }
  .s-stats__in, .s-360__in { padding: 0 var(--gutter); }
  .s-experts__view, .s-stories__view { padding-left: var(--gutter); }
  .quote { padding: 10px var(--gutter) 0; }
  .s-vquote__in, .page-industria .s-vquote__in { padding-left: var(--gutter); padding-right: var(--gutter); }
  .s-lphero__t, .s-lphero__p { padding: 0 var(--gutter); }
  .s-blog { padding-left: 10px; padding-right: 10px; }
  .s-formcta__text { padding: 0 10px; }
  .ftr__top .wrap, .ftr__band .wrap, .ftr__bottom .wrap { padding: 0 var(--gutter); }
  .ftr__nav { margin: 0; }
  .ftr__partner { padding-left: 0; }
}
@media (max-width: 767px) { .ftr__bottom .ftr__bottom-in { padding-top: 28px; } .ftr__brand p { margin-top: 16px; } }

/* ---------- Hero móvil: las diapositivas con imagen caben en el banner (nada sube bajo el header) ---------- */
@media (max-width: 767px) {
  .s-hero { min-height: 640px; }
  .s-hero__in, .s-hero__in--split { padding-top: 88px; padding-bottom: 88px; box-sizing: border-box; }
  .s-hero__in--split { justify-content: center; gap: 16px; }
  .s-hero__in--split .s-hero__text { flex: 0 0 auto; }
  .s-hero__in--split .s-hero__t { font-size: 28px; line-height: 31px; }
  .s-hero__img { flex: 0 1 auto; min-height: 0; overflow: hidden; }
  .s-hero__img img { max-height: min(200px, 26svh); width: auto; max-width: 100%; object-fit: contain; }
  .s-hero__badge { width: 84px; height: 84px; margin-bottom: 14px; }
}
@media (max-width: 767px) { .s-hero__img--bottom { align-self: center; justify-content: center; } }

/* Hero móvil más bajo */
@media (max-width: 767px) {
  .s-hero { height: 72vh; height: 72svh; min-height: 500px; max-height: 600px; }
  .s-hero__in, .s-hero__in--split { padding-top: 80px; padding-bottom: 76px; }
  .s-hero__img img { max-height: min(150px, 20svh); }
  .s-hero__arrow { bottom: 18px; }
  .s-hero__dots { bottom: 31px; }
}

/* Hero móvil +10 % de alto */
@media (max-width: 767px) {
  .s-hero { height: 79vh; height: 79svh; min-height: 550px; max-height: 660px; }
}

/* Footer móvil: una sola línea entre grupos (se quitan los bordes de las bandas que duplicaban) */
@media (max-width: 767px) {
  .ftr__top, .ftr__band { border-bottom: 0; }
  .ftr__bottom .ftr__bottom-in { border-top: 1px solid var(--c-footer-line); }
}

/* ---------- Menú móvil: panel a pantalla, tipografía única, submenús colapsables, íconos y efectos hover ---------- */
@media (max-width: 1024px) {
  .mnav { position: absolute; left: 0; right: 0; top: 100%; max-height: calc(100vh - 84px); max-height: calc(100svh - 84px); overflow-y: auto; overscroll-behavior: contain;
    padding: 8px 20px 28px; background: rgba(10, 6, 20, .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, .12); box-shadow: 0 24px 40px rgba(0, 0, 0, .45); font-family: var(--f-alt); }
  .mnav[hidden] { display: none; }
  .mnav__list, .mnav__sub { margin: 0; padding: 0; list-style: none; }
  .mnav__item { border-bottom: 1px solid rgba(255, 255, 255, .09); }
  .mnav__item--cta { border-bottom: 0; margin-top: 18px; }
  .mnav__row { position: relative; display: flex; align-items: center; gap: 14px; width: 100%; min-height: 54px; padding: 8px 10px 8px 14px; border: 0; background: none;
    font: 600 16px/1.2 var(--f-alt); letter-spacing: .01em; text-align: left; text-transform: none; color: #fff; cursor: pointer;
    transition: background-color .2s, padding-left .2s, color .2s; -webkit-tap-highlight-color: transparent; }
  .mnav__row::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--grad); opacity: 0; transform: scaleY(.4); transition: opacity .2s, transform .2s; }
  .mnav__row:hover, .mnav__row:focus-visible, .mnav__row:active, .mnav__row[aria-expanded="true"], .mnav__row[aria-current="page"] { background: rgba(255, 255, 255, .07); padding-left: 20px; }
  .mnav__row:hover::before, .mnav__row:focus-visible::before, .mnav__row:active::before, .mnav__row[aria-expanded="true"]::before, .mnav__row[aria-current="page"]::before { opacity: 1; transform: none; }
  .mnav__row:focus-visible { outline: 2px solid #8638eb; outline-offset: -2px; }
  .mnav__ico { display: flex; flex: 0 0 auto; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 10px; background: rgba(255, 255, 255, .08); transition: background .2s, transform .2s; }
  .mnav__ico svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .mnav__row:hover .mnav__ico, .mnav__row:focus-visible .mnav__ico, .mnav__row:active .mnav__ico, .mnav__row[aria-expanded="true"] .mnav__ico { background: var(--grad); transform: scale(1.06); }
  .mnav__label { flex: 1 1 auto; }
  .mnav__chev { flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: rgba(255, 255, 255, .75); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s; }
  .mnav__row[aria-expanded="true"] .mnav__chev { transform: rotate(180deg); }
  .mnav__chev--ext { width: 16px; height: 16px; }
  .mnav__row--cta { justify-content: center; min-height: 52px; border-radius: 8px; background: var(--grad); padding: 8px 16px; font-weight: 700; }
  .mnav__row--cta:hover, .mnav__row--cta:focus-visible, .mnav__row--cta:active { padding-left: 16px; background: var(--grad); filter: brightness(1.12); }
  .mnav__row--cta::before { display: none; }
  .mnav__row--cta .mnav__ico { background: rgba(255, 255, 255, .22); }
  .mnav__row--cta .mnav__label { flex: 0 1 auto; }
  /* Submenús colapsables (alto animado) */
  .mnav__subwrap { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
  .mnav__row[aria-expanded="true"] + .mnav__subwrap { grid-template-rows: 1fr; }
  .mnav__sub { min-height: 0; overflow: hidden; }
  .mnav__sub li:last-child { padding-bottom: 8px; }
  .mnav__sub a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 8px 10px 8px 62px; font: 500 15px/1.25 var(--f-alt); color: rgba(255, 255, 255, .88); transition: background-color .2s, color .2s, padding-left .2s; -webkit-tap-highlight-color: transparent; }
  .mnav__dot { flex: 0 0 auto; width: 6px; height: 6px; margin-left: -18px; border-radius: 50%; background: var(--grad); opacity: .55; transition: opacity .2s, transform .2s; }
  .mnav__sub a:hover, .mnav__sub a:focus-visible, .mnav__sub a:active { background: rgba(255, 255, 255, .06); color: #fff; padding-left: 68px; }
  .mnav__sub a:hover .mnav__dot, .mnav__sub a:focus-visible .mnav__dot, .mnav__sub a:active .mnav__dot { opacity: 1; transform: scale(1.5); }
  .mnav__sub a:focus-visible { outline: 2px solid #8638eb; outline-offset: -2px; }
}
@media (prefers-reduced-motion: reduce) { .mnav *, .mnav *::before { transition: none !important; } }

/* ==========================================================================
   Páginas de diseño propio (.ly) en móvil: jerarquía tipográfica y alineación a la izquierda
   ========================================================================== */
@media (max-width: 767px) {
  .ly .ly-heading h1.ly-t { text-align: left !important; font-weight: 700 !important; font-size: clamp(27px, 7.6vw, 33px) !important; line-height: 1.15 !important; letter-spacing: -.012em; text-shadow: 0 1px 14px rgba(0, 0, 0, .28); }
  .ly .ly-heading h2.ly-t, .ly .ly-heading h3.ly-t { font-weight: 700; line-height: 1.18; letter-spacing: -.008em; }
  .ly .ly-rich p { line-height: 1.6; }
}

/* ---------- /nosotros/ (móvil) ---------- */
@media (max-width: 767px) {
  .slug-nosotros #ly-28c5588 { padding: 112px 20px 22px; justify-content: flex-start; }
  .slug-nosotros #ly-28c5588::before { content: ""; display: block; width: 56px; height: 4px; margin-bottom: 18px; border-radius: 2px; background: #fff; }
  .slug-nosotros #ly-de5fbef { padding: 0 20px 34px; }
  .slug-nosotros #ly-3ce2de0 { width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: center; }
  .slug-nosotros #ly-3ce2de0 .ly-c { margin: 0; padding: 0; }
  .slug-nosotros #ly-3ce2de0 img { width: 100% !important; max-width: 112px; height: auto; margin: 0 auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .25)); }

  .slug-nosotros #ly-4193847 { flex-direction: row; flex-wrap: wrap; gap: 14px; padding: 30px 20px 52px; border-top-width: 0; background: #fff; }
  .slug-nosotros #ly-070917d { width: 100%; }
  .slug-nosotros #ly-14db28b { padding: 0 0 8px; font-size: 22px; line-height: 1.38; font-weight: 600; letter-spacing: -.005em; }
  .slug-nosotros #ly-9f1276f, .slug-nosotros #ly-e4b9a5f { width: calc(50% - 7px); box-sizing: border-box; justify-content: flex-start; padding: 16px 14px; border-radius: 10px; border-left: 3px solid #8638eb; background: #f4f5fa; }
  .slug-nosotros #ly-9f1276f .ly-t { font-size: 16px; line-height: 1.3; font-weight: 600; }
  .slug-nosotros #ly-e4b9a5f .e-counter .ly-t { font-size: 40px; line-height: 1; font-weight: 700; }
  .slug-nosotros #ly-e4b9a5f .ly-t { font-size: 15px; line-height: 1.3; }

  .slug-nosotros #ly-bb6eb5f > .ly-t { font-size: 30px; line-height: 1.15; }
  .slug-nosotros #ly-2a6c4f8 { padding: 0; font-size: 16px; }
}
@media (max-width: 767px) {
  /* /nosotros/: los contenedores internos ya suman 10 px, así que el margen total queda en 20 px */
  .slug-nosotros #ly-28c5588 { padding-left: 10px; padding-right: 10px; }
  .slug-nosotros #ly-de5fbef { padding-left: 10px; padding-right: 10px; }
  .slug-nosotros #ly-4193847 { padding-left: 10px; padding-right: 10px; }
  .slug-nosotros #ly-070917d { padding: 0; }
}
@media (max-width: 767px) {
  /* /nosotros/: una insignia por línea, centradas y más grandes */
  .slug-nosotros #ly-3ce2de0 { grid-template-columns: 1fr; gap: 22px; justify-items: center; }
  .slug-nosotros #ly-3ce2de0 img { max-width: 210px; }
}

/* ==========================================================================
   /nosotros/ · «Lo que dicen nuestros clientes»: tarjetas con logo, cita y autor
   ========================================================================== */
.slug-nosotros #ly-711bd32 .ly-t::after { content: ""; display: block; width: 64px; height: 4px; margin-top: 14px; border-radius: 2px; background: var(--grad); }
.slug-nosotros #ly-9e3d941 { gap: 24px; align-items: stretch; margin-top: 36px; }
.slug-nosotros #ly-9e3d941 > .ly-c { position: relative; display: flex; flex-direction: column; box-sizing: border-box; padding: 26px 24px 24px; border: 1px solid #e5e7f0; border-radius: 16px; background: #fff;
  box-shadow: 0 2px 10px rgba(20, 16, 40, .05); overflow: hidden; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.slug-nosotros #ly-9e3d941 > .ly-c::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); transform: scaleX(.18); transform-origin: left; transition: transform .35s ease; }
.slug-nosotros #ly-9e3d941 > .ly-c:hover, .slug-nosotros #ly-9e3d941 > .ly-c:focus-within { transform: translateY(-5px); border-color: #d6c9f5; box-shadow: 0 16px 34px rgba(80, 40, 160, .16); }
.slug-nosotros #ly-9e3d941 > .ly-c:hover::before, .slug-nosotros #ly-9e3d941 > .ly-c:focus-within::before { transform: scaleX(1); }

/* Logo: caja de alto fijo, alineado a la izquierda */
.slug-nosotros #ly-9e3d941 .mh-div { justify-content: flex-start; align-items: center; height: 76px; margin: 0 0 18px; padding: 0; }
.slug-nosotros #ly-9e3d941 .mh-div .ly-image { margin: 0; align-self: center; text-align: left; }
.slug-nosotros #ly-9e3d941 .mh-div img { width: auto !important; height: auto; max-width: 150px; max-height: 60px; object-fit: contain; }

/* Cita con comilla decorativa */
.slug-nosotros #ly-9e3d941 .mh-about { position: relative; flex: 1 1 auto; margin: 0 0 20px; padding: 28px 0 0; }
.slug-nosotros #ly-9e3d941 .mh-about::before { content: "\201C"; position: absolute; left: -2px; top: -14px; font: 700 64px/1 Georgia, serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.slug-nosotros #ly-9e3d941 .mh-about .ly-rich, .slug-nosotros #ly-9e3d941 .mh-about p { font-size: 16px; line-height: 1.6; color: #25222f; }

/* Autor: separador, nombre en negrita, cargo y país en etiqueta */
.slug-nosotros #ly-9e3d941 > .ly-c > .ly-text-editor:last-child { padding-top: 16px; border-top: 1px solid #ececf3; }
.slug-nosotros #ly-9e3d941 > .ly-c > .ly-text-editor:last-child .ly-rich, .slug-nosotros #ly-9e3d941 > .ly-c > .ly-text-editor:last-child p { font-size: 14px; line-height: 1.45; color: #5a5668; }
.slug-nosotros #ly-9e3d941 > .ly-c > .ly-text-editor:last-child strong { font-size: 15px; color: #14101f; font-weight: 700; }
.slug-nosotros #ly-9e3d941 > .ly-c > .ly-text-editor:last-child strong small { display: inline-block; margin-top: 10px; padding: 3px 11px; border-radius: 999px; background: #f1ecfd; color: #5b21b6; font-size: 11px; font-weight: 700; letter-spacing: .07em; }

/* Móvil: carrusel horizontal con encaje (se asoma la siguiente tarjeta) */
@media (max-width: 767px) {
  .slug-nosotros #ly-9e3d941 { display: flex; flex-wrap: nowrap; gap: 14px; margin: 24px -20px 0; padding: 6px 20px 22px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 20px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .slug-nosotros #ly-9e3d941::-webkit-scrollbar { display: none; }
  .slug-nosotros #ly-9e3d941 > .ly-c { flex: 0 0 82%; width: 82%; scroll-snap-align: start; }
}
@media (hover: none) { .slug-nosotros #ly-9e3d941 > .ly-c:hover { transform: none; box-shadow: 0 2px 10px rgba(20, 16, 40, .05); } }
@media (prefers-reduced-motion: reduce) { .slug-nosotros #ly-9e3d941 > .ly-c, .slug-nosotros #ly-9e3d941 > .ly-c::before { transition: none; } }
/* Testimonios de /nosotros/: logos más grandes y carrusel en fila en móvil */
.slug-nosotros #ly-9e3d941 .mh-div { height: 88px; }
.slug-nosotros #ly-9e3d941 .mh-div img { max-width: 200px; max-height: 84px; }
@media (max-width: 767px) {
  .slug-nosotros #ly-9e3d941 { flex-direction: row; }
}
/* Testimonios de /nosotros/: más compactos (el alto lo define el contenido, no el igualador de alturas del tema) */
.slug-nosotros #ly-9e3d941 .mh-div, .slug-nosotros #ly-9e3d941 .mh-about { min-height: 0 !important; }
.slug-nosotros #ly-9e3d941 { gap: 18px; margin-top: 22px; }
.slug-nosotros #ly-9e3d941 > .ly-c { padding: 20px 20px 18px; }
.slug-nosotros #ly-9e3d941 .mh-div { height: 60px; margin-bottom: 4px; }
.slug-nosotros #ly-9e3d941 .mh-div img { max-width: 170px; max-height: 54px; }
.slug-nosotros #ly-9e3d941 .mh-about { margin-bottom: 14px; padding-top: 24px; }
.slug-nosotros #ly-9e3d941 .mh-about::before { top: -12px; font-size: 52px; }
.slug-nosotros #ly-9e3d941 .mh-about .ly-rich, .slug-nosotros #ly-9e3d941 .mh-about p { font-size: 15px; line-height: 1.55; }
.slug-nosotros #ly-9e3d941 > .ly-c > .ly-text-editor:last-child { padding-top: 12px; }
.slug-nosotros #ly-9e3d941 > .ly-c > .ly-text-editor:last-child strong small { margin-top: 8px; }
.slug-nosotros #ly-711bd32 .ly-t::after { margin-top: 10px; }
/* Testimonios de /nosotros/: logos más grandes (la caja crece lo justo; el resto sigue compacto) */
.slug-nosotros #ly-9e3d941 .mh-div { height: 84px; margin-bottom: 0; }
.slug-nosotros #ly-9e3d941 .mh-div img { max-width: 230px; max-height: 80px; }
.slug-nosotros #ly-9e3d941 .mh-div { height: 100px; }
.slug-nosotros #ly-9e3d941 .mh-div img { max-width: 260px; max-height: 100px; }
.slug-nosotros #ly-9e3d941 .mh-div .ly-image { width: auto; max-width: 100%; }
/* /nosotros/: imágenes de las tarjetas (partners, ubicaciones, visión) con menos alto */
.slug-nosotros #ly-9d6d316, .slug-nosotros #ly-3f76805, .slug-nosotros #ly-6d7766d { height: 240px; overflow: hidden; }
.slug-nosotros #ly-9d6d316 img, .slug-nosotros #ly-3f76805 img, .slug-nosotros #ly-6d7766d img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; }
@media (max-width: 767px) {
  .slug-nosotros #ly-9d6d316, .slug-nosotros #ly-3f76805, .slug-nosotros #ly-6d7766d { height: 190px; }
}
/* Menú móvil: panel flotante con aire a los lados (ya no ocupa el 100 % del ancho) */
@media (max-width: 1024px) {
  .mnav { left: 14px; right: 14px; top: calc(100% + 4px); max-height: calc(100vh - 100px); max-height: calc(100svh - 100px);
    border: 1px solid rgba(255, 255, 255, .14); border-radius: 18px; padding: 6px 14px 18px; box-shadow: 0 18px 44px rgba(0, 0, 0, .5); }
}
@media (max-width: 380px) { .mnav { left: 10px; right: 10px; } }
@media (max-width: 767px) {
  /* /nosotros/: títulos, tarjetas e insignias de estas secciones quedan a 20 px del borde, como el resto */
  .slug-nosotros #ly-fee2843 > .ly-in, .slug-nosotros #ly-5a24c20 > .ly-in, .slug-nosotros #ly-ce4cbfc > .ly-in, .slug-nosotros #ly-4f12e87 > .ly-in { padding-left: 10px; padding-right: 10px; }
}

/* ==========================================================================
   /nosotros/ · Banda final «Lleva tus datos y tu infraestructura…»: centrada, con jerarquía y botón en píldora
   ========================================================================== */
.slug-nosotros .about-footer { overflow: hidden; }
.slug-nosotros .about-footer::before { background: radial-gradient(ellipse 55% 90% at 12% 10%, rgba(255, 255, 255, .22) 0%, transparent 70%), radial-gradient(ellipse 50% 80% at 92% 95%, rgba(255, 255, 255, .18) 0%, transparent 70%), linear-gradient(100deg, #e30cc9 0%, #8638eb 50%, #2aeac3 100%); }
.slug-nosotros .about-footer::after { content: ""; position: absolute; inset: 22px; z-index: 0; border: 1px solid rgba(255, 255, 255, .22); border-radius: 22px; pointer-events: none; }
.slug-nosotros #ly-5f85e23 { padding: 112px 24px; }
.slug-nosotros #ly-5f85e23 > .ly-in { flex-direction: column; align-items: center; justify-content: center; max-width: 860px; margin: 0 auto; text-align: center; }
.slug-nosotros #ly-d6aeb3e { display: none; }
.slug-nosotros #ly-d5438b8 { width: 100%; max-width: 780px; align-items: center; padding: 0; }
.slug-nosotros #ly-d5438b8::before { content: ""; display: block; width: 56px; height: 4px; margin: 0 auto 26px; border-radius: 2px; background: #fff; }
.slug-nosotros #ly-5e5b4ff .ly-t { font-size: 46px; line-height: 1.12; font-weight: 700; letter-spacing: -.015em; text-wrap: balance; text-shadow: 0 2px 20px rgba(60, 10, 110, .25); }
.slug-nosotros #ly-d716b02 { margin-top: 20px; }
.slug-nosotros #ly-d716b02 .ly-t { max-width: 660px; margin: 0 auto; font-size: 20px; line-height: 1.55; font-weight: 400; color: rgba(255, 255, 255, .94); text-wrap: pretty; }
.slug-nosotros #ly-f65927c { margin-top: 38px; }
.slug-nosotros #ly-f65927c .ly-btn { gap: 12px; padding: 17px 34px; border-radius: 999px; font: 700 16px/1 var(--f-alt); color: #1a1030; background: #fff;
  box-shadow: 0 10px 28px rgba(40, 8, 90, .3); transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.slug-nosotros #ly-f65927c .ly-btn .ico { width: 16px; height: 16px; transition: transform .2s ease; }
.slug-nosotros #ly-f65927c .ly-btn:hover, .slug-nosotros #ly-f65927c .ly-btn:focus-visible { background: #fff; color: #1a1030; transform: translateY(-3px); box-shadow: 0 16px 34px rgba(40, 8, 90, .38); }
.slug-nosotros #ly-f65927c .ly-btn:hover .ico, .slug-nosotros #ly-f65927c .ly-btn:focus-visible .ico { transform: translateX(5px); }
.slug-nosotros #ly-f65927c .ly-btn:focus-visible { outline: 3px solid rgba(255, 255, 255, .7); outline-offset: 3px; }
@media (max-width: 767px) {
  .slug-nosotros #ly-5f85e23 { padding: 72px 20px; }
  .slug-nosotros .about-footer::after { inset: 12px; border-radius: 16px; }
  .slug-nosotros #ly-5e5b4ff .ly-t { font-size: 30px; }
  .slug-nosotros #ly-d716b02 .ly-t { font-size: 16.5px; line-height: 1.6; }
  .slug-nosotros #ly-f65927c { margin-top: 30px; width: 100%; }
  .slug-nosotros #ly-f65927c .ly-btn { justify-content: center; width: 100%; max-width: 320px; box-sizing: border-box; }
}
@media (prefers-reduced-motion: reduce) { .slug-nosotros #ly-f65927c .ly-btn, .slug-nosotros #ly-f65927c .ly-btn .ico { transition: none; } }

/* ==========================================================================
   Footer: rejilla de 4 columnas (marca · Compañía · Soluciones · Industrias), interlineado compacto
   ========================================================================== */
.ftr { position: relative; background: radial-gradient(ellipse 50% 70% at 8% 0%, rgba(134, 56, 235, .22) 0%, transparent 70%), radial-gradient(ellipse 45% 60% at 100% 100%, rgba(42, 234, 195, .12) 0%, transparent 70%), #0d0a16; }
.ftr::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.ftr__grid { display: grid; grid-template-columns: 1.35fr 1fr 1.1fr 1fr; gap: 48px; align-items: start; padding: 60px 10px 44px; }
.ftr__brand { width: auto; }
.ftr__brand img { width: 220px; height: auto; }
.ftr__brand p { max-width: 34ch; margin: 18px 0 0; font: 400 14px/1.55 var(--f-body); color: #b9b6c6; }
.ftr__social { display: flex; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
.ftr__social a { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255, 255, 255, .16); border-radius: 50%; color: #d8d5e4; transition: background .2s, border-color .2s, color .2s, transform .2s; }
.ftr__social a:hover, .ftr__social a:focus-visible { background: var(--grad); border-color: transparent; color: #fff; transform: translateY(-3px); }
.ftr__social .ico { width: 17px; height: 17px; }
.ftr__cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 24px; padding: 12px 24px; border-radius: 999px; background: #fff; color: #1a1030; font: 700 14px/1 var(--f-alt); box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: transform .2s, box-shadow .2s; }
.ftr a.ftr__cta { color: #1a1030; }
.ftr__cta .ico { width: 13px; height: 13px; transition: transform .2s; }
.ftr__cta:hover, .ftr__cta:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(0, 0, 0, .45); }
.ftr__cta:hover .ico, .ftr__cta:focus-visible .ico { transform: translateX(4px); }

.ftr__grp > summary.ftr__title { display: inline-block; margin: 4px 0 18px; font: 700 13px/1 var(--f-alt); letter-spacing: .12em; }
.ftr__grp--nav > summary { display: inline-block; }
.ftr__grid .ftr__title::after { right: auto; bottom: -9px; width: 36px; border-radius: 2px; }
.ftr__grid .ftr__nav, .ftr__grid .ftr__cols { display: block; width: auto; margin: 0; padding: 0; }
.ftr__grid .ftr__nav li, .ftr__grid .ftr__cols li { display: block; flex: none; }
.ftr__grid .ftr__nav a, .ftr__grid .ftr__cols a { position: relative; display: inline-block; padding: 3px 0; font: 400 14.5px/1.3 var(--f-body); text-transform: none; color: #b9b6c6; transition: color .2s, padding-left .2s; }
.ftr__grid .ftr__nav a::before, .ftr__grid .ftr__cols a::before { content: ""; position: absolute; left: 0; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: var(--grad); opacity: 0; transform: scale(.4); transition: opacity .2s, transform .2s; }
.ftr__grid .ftr__nav a:hover, .ftr__grid .ftr__cols a:hover, .ftr__grid .ftr__nav a:focus-visible, .ftr__grid .ftr__cols a:focus-visible { color: #fff; padding-left: 15px; }
.ftr__grid .ftr__nav a:hover::before, .ftr__grid .ftr__cols a:hover::before, .ftr__grid .ftr__nav a:focus-visible::before, .ftr__grid .ftr__cols a:focus-visible::before { opacity: 1; transform: scale(1); }
.ftr__grid .ftr__nav a.is-current { color: #fff; text-decoration: none; }

.ftr__bottom .wrap { padding: 0 10px; }
.ftr__bottom .ftr__bottom-in { min-height: 0; padding: 20px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); }
.ftr__copy, .ftr__partner span { color: #8d8aa0; }

@media (max-width: 1024px) {
  .ftr__grid { grid-template-columns: 1fr 1fr; gap: 36px 40px; }
  .ftr__brand { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .ftr__grid { display: block; padding: 40px 20px 8px; }
  .ftr__brand { margin-bottom: 26px; }
  .ftr__brand p { max-width: none; }
  .ftr__cta { width: 100%; justify-content: center; max-width: 320px; box-sizing: border-box; }
  .ftr__grid .ftr__nav a, .ftr__grid .ftr__cols a { padding: 11px 0; font-size: 14.5px; line-height: 20px; }
  .ftr__grid .ftr__nav a:hover, .ftr__grid .ftr__cols a:hover, .ftr__grid .ftr__nav a:focus-visible, .ftr__grid .ftr__cols a:focus-visible { padding-left: 15px; }
  .ftr__grp > summary.ftr__title { display: flex; margin: 0; letter-spacing: .04em; font-size: 15px; }
  .ftr__grid .ftr__title::after { width: auto; border-radius: 0; }
  .ftr__bottom .wrap { padding: 0 20px; }
  .ftr__bottom .ftr__bottom-in { padding: 22px 0 28px; border-top: 0; }
  .ftr__grp:last-of-type { border-bottom: 1px solid var(--c-footer-line); }
}
@media (prefers-reduced-motion: reduce) { .ftr__social a, .ftr__cta, .ftr__cta .ico, .ftr__grid a, .ftr__grid a::before { transition: none; } }
/* Sin scroll horizontal mientras carga: los textos .sr-only (position:absolute) de los carruseles quedaban fuera del recorte
   porque ningún ancestro estaba posicionado; antes de que el JS acomode las pistas ensanchaban el documento (hasta ~5000 px). */
main { position: relative; overflow-x: clip; }
.carousel, .s-dark-carousel, .marquee, .s-logos, .s-testi__view, .s-quotes__view, .ly-slider__view, .ly-logos__view, .ly-icar { position: relative; }

/* Galería de fotos del post + visor */
.post-gallery { margin-top: 40px; }
.post-gallery__t { margin: 0 0 16px; font-family: var(--f-alt); font-size: 24px; font-weight: 500; color: #000; }
.post-gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.post-gallery__item { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 8px; background: #eee; cursor: zoom-in; }
.post-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s; }
.post-gallery__item:hover img { transform: scale(1.04); }
@media (max-width: 767px) { .post-gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 6px; } }
.lb { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 50px 70px; background: rgba(0, 0, 0, .92); }
.lb[hidden] { display: none; }
.lb__img { max-width: 100%; max-height: 100%; border-radius: 6px; object-fit: contain; }
.lb__btn { position: absolute; display: grid; place-items: center; width: 46px; height: 46px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.lb__btn:hover { background: rgba(255, 255, 255, .25); }
.lb__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb__close { top: 14px; right: 14px; }
.lb__count { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #ccc; font-size: 13px; }
@media (max-width: 767px) { .lb { padding: 50px 10px; } .lb__prev, .lb__next { top: auto; bottom: 10px; transform: none; } }

/* Frase destacada y speakers del post */
.post-quote { position: relative; margin: 28px 0; padding: 4px 0 4px 26px; border: 0; }
.post-quote::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; border-radius: 4px; background: linear-gradient(180deg, #d40fd5, #7a3cf0 55%, #20d3c2); }
.post-quote p { margin: 0; font-family: var(--f-alt); font-size: 24px; line-height: 1.4; font-weight: 500; color: #000; }
.post-speakers { margin: 20px 0 8px; }
.post-speakers__t { margin: 0 0 10px; font-family: var(--f-alt); font-size: 18px; font-weight: 500; color: #000; }
.post-speakers__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.post-speaker { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: #f6f6f8; }
.post-speaker__img { flex: none; width: 72px; height: 72px; border-radius: 50%; overflow: hidden; background: #e5e5ea; }
.post-speaker__img img { width: 100%; height: 100%; object-fit: cover; }
.post-speaker__txt { display: grid; gap: 2px; font-size: 14px; line-height: 1.4; color: #555; }
.post-speaker__txt b { font-size: 16px; font-weight: 600; color: #000; }
@media (max-width: 767px) { .post-quote p { font-size: 19px; } }
.post-meta--end { margin-top: 36px; padding-top: 16px; border-top: 1px solid #e6e6ea; }

/* Contenido incrustado (iframe adaptable) y tarjeta de respaldo cuando el sitio no permite incrustarse */
.post-embed { position: relative; margin: 36px 0 0; border-radius: 12px; overflow: hidden; background: #f2f2f5; aspect-ratio: 16 / 10; }
.post-embed--16-9 { aspect-ratio: 16 / 9; }
.post-embed--4-3 { aspect-ratio: 4 / 3; }
.post-embed--1-1 { aspect-ratio: 1 / 1; }
.post-embed--3-4 { aspect-ratio: 3 / 4; max-height: 85vh; margin-left: auto; margin-right: auto; }
.post-embed.is-sized { aspect-ratio: auto; }
.post-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-embed.is-sized iframe { position: static; display: block; }
@media (max-width: 767px) { .post-embed--auto { aspect-ratio: 4 / 5; } }
.post-embed-card { display: grid; gap: 6px; margin: 36px 0 0; padding: 22px 24px; border-radius: 12px; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #2a0a5e 0%, #5b1fa6 55%, #0f7f8a 100%); box-shadow: 0 10px 30px rgba(40, 10, 90, .25); }
.post-embed-card:hover { color: #fff; }
.post-embed-card__host { font-size: 12px; letter-spacing: .06em; text-transform: uppercase; opacity: .75; }
.post-embed-card strong { font-family: var(--f-alt); font-size: 22px; line-height: 1.3; font-weight: 600; }
.post-embed-card__desc { font-size: 15px; line-height: 1.5; opacity: .9; }
.post-embed-card__btn svg { width: 14px; height: 14px; fill: currentColor; }
.post-embed-card__btn { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 8px; padding: 9px 18px; border-radius: 999px; background: #fff; color: #2a0a5e; font-size: 14px; font-weight: 600; }

/* ---------- 404 ---------- */
.nf { padding: 140px 20px 90px; }
.nf__in { max-width: 1140px; margin: 0 auto; text-align: center; }
.nf__code { margin: 0; font-family: var(--f-title); font-size: clamp(90px, 18vw, 170px); line-height: 1; font-weight: 900; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf h1 { margin: 10px 0 12px; font-family: var(--f-title); font-size: clamp(26px, 4vw, 38px); line-height: 1.2; font-weight: 800; color: #000; }
.nf__txt { max-width: 560px; margin: 0 auto; font-family: var(--f-body); color: var(--c-gray); }
.nf__search { display: flex; max-width: 520px; margin: 30px auto 0; border: 1px solid #000; border-radius: 5px; overflow: hidden; }
.nf__search input { flex: 1; min-width: 0; padding: 12px 16px; border: 0; font: inherit; font-family: var(--f-body); }
.nf__search input:focus { outline: none; }
.nf__search:focus-within { box-shadow: 0 0 0 3px rgba(134, 56, 235, .25); }
.nf__search button { padding: 0 22px; border: 0; background: #000; color: #fff; font-family: var(--f-mono); font-size: 14px; text-transform: uppercase; cursor: pointer; }
.nf__search button:hover { background: #8638eb; }
.nf__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 24px; margin: 20px 0 0; font-family: var(--f-mono); font-size: 14px; }
.nf__links a { color: #000; text-decoration: underline; }
.nf__links a:hover { color: #8638eb; }
.nf__h2 { margin: 70px 0 0; font-family: var(--f-title); font-size: 24px; font-weight: 800; color: #000; }
.nf .cards { text-align: left; }
@media (max-width: 767px) { .nf { padding: 110px 16px 60px; } .nf .cards { grid-template-columns: 1fr; } }
