/* The company pages in the taste design: /about, /success-stories, /comunidad, /ai-bpo,
   /careers. Scoped by .pg-empresa (on <main>) and the page class. */

/* the hero's picture: a lit frame fills the media column like a photograph does */
.pg-empresa .hero__media > .frame { position: absolute; inset: 0; height: 100%; border-radius: inherit; }

/* about: the flow diagram band and the customers' wall */
.pg-about .about-flow { height: 300px; margin-top: var(--s-7); }
@media (min-width: 640px) and (max-width: 1023px) { .pg-about .about-flow { height: 480px; } }
@media (max-width: 639px) { .pg-about .about-flow { height: 420px; } }
.pg-empresa .dg-narrow { display: none; }
@media (max-width: 639px) { .pg-empresa .dg-wide { display: none; } .pg-empresa .dg-narrow { display: block; } }

.pg-about .about-logos { margin-top: var(--s-7); flex-direction: column; align-items: stretch; gap: var(--s-7); padding: var(--s-8) var(--s-7); background: var(--g-alt, var(--surface)); }
.about-logos__grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: var(--s-7) var(--s-5); align-items: center; justify-items: center; }
.about-logos__grid img { height: 32px; width: auto; max-width: 100%; object-fit: contain; opacity: .78; }
.about-logos__backer { display: flex; align-items: center; justify-content: center; gap: var(--s-3); margin: 0; font-weight: 500; }
.about-logos__backer img { width: 24px; height: 24px; border-radius: 4px; }
@media (max-width: 1023px) { .about-logos__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 639px) { .pg-about .about-logos { padding: var(--s-6) var(--s-4); gap: var(--s-6); } .about-logos__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-6) var(--s-4); } .about-logos__grid img { height: 24px; } }

/* press: one row per article, the outlet and date over the headline */
.press { margin: 0; padding: 0; list-style: none; }
.press li { border-bottom: 1px solid var(--line); }
.press a { display: grid; gap: var(--s-2); padding: var(--s-5) 0; color: inherit; text-decoration: none; }
.press li:first-child a { padding-top: 0; }
.press__meta { font: 500 var(--t-label)/1.3 var(--font-mono); color: var(--muted); }
.press__title { font: 500 var(--t-card)/1.35 var(--font-text); letter-spacing: -0.01em; }
.press a:hover .press__title, .press a:focus-visible .press__title { color: var(--action); }

/* success stories: the story left, its published figures on a lit panel right */
.story__tag { margin: 0; font: 500 var(--t-label)/1.3 var(--font-mono); color: var(--muted); }
.story .frame.story__frame { --ratio: 0px; align-self: stretch; min-height: 420px; padding: clamp(var(--s-5), 4vw, var(--s-8)); align-items: center; justify-content: center; }
.story__panel { width: min(100%, 460px); background: #fff; color: var(--p-ink); border-radius: var(--r-md); padding: var(--s-7);
  box-shadow: 0 1px 2px rgb(10 18 40 / .08), 0 18px 40px -18px rgb(10 18 40 / .3); display: grid; gap: var(--s-3); }
.story__fig { margin: 0; font: 500 clamp(48px, 4.4vw, 64px)/1 var(--font-mono); letter-spacing: -0.03em; color: var(--p-accent); }
.story__cap { margin: 0; font-size: var(--t-body); line-height: 1.5; }
.story__rest { margin: var(--s-4) 0 0; display: grid; }
.story__rest > div { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); padding: var(--s-4) 0; border-top: 1px solid rgb(10 18 40 / .1); }
.story__rest dt { font-size: var(--t-body); line-height: 1.4; }
.story__rest dd { margin: 0; font: 500 var(--t-card)/1.2 var(--font-mono); white-space: nowrap; }
.story .muted { color: var(--p-muted); }
@media (max-width: 1023px) { .story .frame.story__frame { min-height: 0; margin-top: var(--s-6); } }
@media (max-width: 639px) { .story__panel { padding: var(--s-5); } .story__fig { font-size: 40px; } }
.story-index a.rows__name { color: inherit; text-decoration: none; }
.story-index a.rows__name:hover { color: var(--action); }
.story-index li > p { margin: 0; font-size: var(--t-small); }

/* comunidad: lists beside pictures, the webinars as rows, the join band */
.com-rows > li > p { margin: 0; }
.pg-comunidad .section-head { margin-bottom: 0; }
.webinars { margin: 0; padding: 0; list-style: none; }
.webinars > li { display: grid; gap: var(--s-3); justify-items: start; padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.webinars > li:first-child { padding-top: 0; }
.webinars h3 { margin: 0; font: 500 var(--t-card)/1.35 var(--font-text); letter-spacing: -0.01em; }
.webinars p { margin: 0; }
.webinars__meta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); font-size: var(--t-small); color: var(--muted); }
.webinars .badge { font-family: var(--font-mono); }
.webinars .badge.webinars__next { background: var(--p-accent); color: var(--p-accent-ink); border-color: transparent; }
.pg-comunidad .com-join { --ratio: 0px; align-self: stretch; min-height: 420px; align-items: center; justify-content: center; padding: clamp(var(--s-5), 4vw, var(--s-8)); }
.com-join__card { position: relative; z-index: 1; width: min(100%, 460px); background: #fff; color: var(--p-ink); border-radius: var(--r-md); padding: var(--s-7);
  box-shadow: 0 1px 2px rgb(10 18 40 / .08), 0 18px 40px -18px rgb(10 18 40 / .3); }
.com-join__card h3 { margin: 0; font: var(--display-weight) var(--t-h3)/1.15 var(--font-display); letter-spacing: var(--display-tracking); }
.com-join__card p { margin: 0; } .com-join__card .muted { color: var(--p-muted); font-size: var(--t-small); }
@media (max-width: 1023px) { .pg-comunidad .com-cal, .pg-comunidad .com-photo, .pg-comunidad .com-join { margin-top: var(--s-6); } .pg-comunidad .com-join { min-height: 0; } }
@media (max-width: 639px) { .com-join__card { padding: var(--s-5); } .com-join .btn, .com-join .btn-row { width: 100%; } .pg-comunidad #valor, .pg-comunidad #webinars { --hm: 2; } }

/* ai-bpo: the base-under-management board (built from Inerxia's own screen) */
.bpo-board { width: 100%; font: 400 14px/1.4 var(--font-text); color: var(--u-ink, var(--p-ink)); }
.bpo-board__head, .bpo-board__foot { display: flex; justify-content: space-between; gap: 12px; padding: 14px 18px; font: 500 12px/1.3 var(--font-mono); color: var(--u-muted, var(--p-muted)); }
.bpo-board__head { border-bottom: 1px solid var(--u-line, rgb(10 18 40 / .1)); }
.bpo-board__live { display: inline-flex; align-items: center; gap: 6px; }
.bpo-board__live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #12a66a; }
.bpo-board__foot { border-top: 1px solid var(--u-line, rgb(10 18 40 / .1)); }
.bpo-board__rows { margin: 0; padding: 0; list-style: none; }
.bpo-board__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 18px; }
.bpo-board__rows li + li { border-top: 1px solid var(--u-line, rgb(10 18 40 / .08)); }
.bpo-board__name { font-weight: 500; }
.bpo-board__vol { font: 400 13px/1 var(--font-mono); color: var(--u-muted, var(--p-muted)); text-align: right; }
.bpo-board__stat { font: 500 13px/1 var(--font-mono); color: var(--p-accent); text-align: right; min-width: 9ch; }
@media (max-width: 639px) { .bpo-board__vol { display: none; } .bpo-board__head > :last-child { display: none; } }

.bpo-intro { margin: 0; }
.bpo-featured { margin-top: var(--s-7); display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); padding: var(--s-7); border-radius: var(--r-lg); background: var(--surface); }
.bpo-featured h3 { margin: 0 0 var(--s-3); font: 500 var(--t-h3)/1.2 var(--font-display); letter-spacing: var(--display-tracking); }
.bpo-featured p { margin: 0; max-width: 52ch; }
.bpo-featured__figs { margin: 0; display: grid; gap: var(--s-5); align-content: start; padding-left: var(--s-7); border-left: 1px solid var(--line); }
.bpo-featured__figs > div, .bpo-stats > div { display: flex; flex-direction: column-reverse; gap: var(--s-1); }
.bpo-featured__figs dd, .bpo-stats dd { margin: 0; font: 500 var(--t-stat)/1.1 var(--font-mono); letter-spacing: -0.02em; }
.bpo-featured__figs > div:first-child dd { color: var(--p-accent); }
.bpo-featured__figs dt, .bpo-stats dt { font-size: var(--t-small); color: var(--muted); }
.bpo-ops { margin: 0; padding: 0; list-style: none; row-gap: var(--s-5); align-content: start; }
.bpo-ops > li { display: grid; gap: var(--s-2); align-content: start; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.bpo-ops p { margin: 0; }
.bpo-ops__top { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-4); }
.bpo-ops__name { font: 500 var(--t-card)/1.3 var(--font-text); }
.bpo-ops__stat { font: 500 var(--t-small)/1.3 var(--font-mono); color: var(--p-accent); white-space: nowrap; }
.bpo-ops__vol { font: 400 var(--t-small)/1.3 var(--font-mono); color: var(--muted); }
@media (max-width: 1023px) { .bpo-featured { grid-template-columns: 1fr; gap: var(--s-5); padding: var(--s-6); } .bpo-featured__figs { padding-left: 0; border-left: 0; grid-template-columns: 1fr 1fr; }  }
@media (max-width: 639px) { .bpo-ops > li { grid-column: 1 / -1; } .bpo-featured { padding: var(--s-5); } #diferencia, #enterprise, #como-funciona { --hm: 2; } }

.bpo-cmp { width: 100%; border-collapse: collapse; font-size: var(--t-body); }
.bpo-cmp th, .bpo-cmp td { text-align: left; vertical-align: top; padding: var(--s-4) var(--s-4) var(--s-4) 0; border-bottom: 1px solid var(--line); }
.bpo-cmp thead th { font: 500 var(--t-label)/1.3 var(--font-mono); color: var(--muted); padding-top: 0; }
.bpo-cmp thead th:last-child { color: var(--p-accent); }
.bpo-cmp tbody th { font: 500 var(--t-small)/1.4 var(--font-mono); color: var(--muted); width: 26%; }
.bpo-cmp td:first-of-type { color: var(--muted); }
.bpo-cmp td:last-child { font-weight: 500; }
@media (max-width: 639px) { .bpo-cmp { font-size: 15px; } .bpo-cmp tbody th { width: 30%; } }

.pg-bpo .section-head { margin-bottom: 0; }
.bpo-steps { margin: var(--s-8) 0 0; padding: 0; list-style: none; }
.bpo-steps li { display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-5); border-top: 1px solid var(--line); }
.bpo-steps h3 { margin: 0; font: 500 var(--t-card)/1.3 var(--font-text); }
.bpo-steps p { margin: 0; }
.bpo-stats { margin: var(--s-8) 0 0; padding: var(--s-6); border-radius: var(--r-lg); background: var(--surface); }
@media (max-width: 1023px) { .bpo-steps li, .bpo-stats > div { grid-column: auto / span 6; } }
@media (max-width: 639px) { .bpo-steps { margin-top: var(--s-6); } .bpo-stats { margin-top: var(--s-6); padding: var(--s-5); } }

/* careers: the email the page asks for, as a compose window */
.job-mail { width: 100%; font: 400 15px/1.5 var(--font-text); color: var(--u-ink, var(--p-ink)); }
.job-mail__row { display: flex; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--u-line, rgb(10 18 40 / .1)); }
.job-mail__k { width: 56px; flex: none; font: 500 12px/1.9 var(--font-mono); color: var(--u-muted, var(--p-muted)); }
.job-mail__body { padding: 20px; display: grid; gap: 12px; align-content: start; min-height: 260px; }
.job-mail__body p { margin: 0; }

/* every split picture on these pages: one fixed shape, as the home's split frames */
.pg-empresa .grid > .frame--split { aspect-ratio: 5 / 4; align-self: start; }
@media (min-width: 640px) and (max-width: 1023px) { .pg-empresa .grid > .frame--split { aspect-ratio: 16 / 9; } }
@media (max-width: 639px) { .pg-empresa .grid > .frame--split { aspect-ratio: 1 / 1; } }
.pg-about .press__title { font-size: var(--t-body); line-height: 1.45; }
@media (max-width: 639px) { .pg-stories .story .frame.story__frame { padding: var(--s-4); margin-top: var(--s-5); } .pg-stories .story__panel { padding: var(--s-4); gap: var(--s-2); } .pg-stories .story__fig { font-size: 36px; } .story__rest > div { padding: var(--s-3) 0; } .story__rest { margin-top: var(--s-2); } }
@media (min-width: 640px) and (max-width: 1023px) { .story-index > li { padding-block: var(--s-7); } .story-index { margin-top: var(--s-8); } #resumen .muted { font-size: var(--t-lead); } }
.story-index a.rows__name { font-size: var(--t-card); line-height: 1.35; letter-spacing: -0.01em; }
.story-index > li { padding-block: var(--s-5); }
.story-index .rows__value { font-size: var(--t-card); color: var(--p-accent); }
.pg-empresa .section-head > .story__tag { font: 500 var(--t-label)/1.3 var(--font-mono); color: var(--muted); }
.bpo-featured__figs dd { font-size: var(--t-h3); }
.bpo-stats dd { font-size: var(--t-h3); }
.bpo-cmp th, .bpo-cmp td { padding-block: var(--s-5); }
@media (min-width: 1024px) and (max-width: 1279px) { .pg-careers .grid > .frame--split { aspect-ratio: 1 / 1; } }
@media (max-width: 639px) { .bpo-featured { margin-top: var(--s-5); gap: var(--s-4); } .bpo-featured h3 { font-size: var(--t-card); } .bpo-featured__figs { gap: var(--s-3); } .pg-bpo .bpo-featured__figs dd { font-size: var(--t-card); } }
@media (max-width: 639px) { .pg-bpo .bpo-featured__figs dd { font-size: 17px; } .pg-bpo .bpo-featured { padding: var(--s-4); } .pg-bpo #managed .bpo-ops { row-gap: var(--s-4); } }
@media (max-width: 639px) { .pg-bpo #managed > .wrap { grid-template-rows: auto auto; row-gap: var(--s-7); } }
