/* =========================================================
   ANDES CERT — Landing
   ========================================================= */
:root {
  --navy: #123b5e;
  --green: #40a45d;
  --text: #5c5c5c;
  --soft: #f9f9f9;
  --white: #ffffff;
  --border: #dcdcdc;
  --container: 1200px;
  --shade: linear-gradient(0deg, rgb(18 59 94) 0%, rgba(18 59 94 / .85) 46.154%, rgba(18 59 94 / .5) 77.404%, rgba(18 59 94 / 0) 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; }

.container {
  width: min(var(--container), 100% - 32px);
  margin-inline: auto;
}
.bg-soft { background: var(--soft); }
.center { display: flex; justify-content: center; }

.title {
  font-weight: 700;
  font-size: 40px;
  line-height: 45px;
  color: var(--navy);
}
.title--center { text-align: center; }

.section-head { text-align: center; }
.section-head__sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 45px;
  padding: 0 26px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
  transition: filter .2s ease, transform .2s ease;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn--green { background: var(--green); color: var(--white); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--lg { height: 50px; }
.btn--w255 { width: 255px; justify-content: center; }
.btn .arrow { width: 17.4px; height: 14px; transform: scaleX(-1); flex: none; }

/* ---------- Round arrows (hero + slider) ---------- */
.round-arrow {
  position: absolute;
  width: 50px;
  height: 50px;
  z-index: 3;
}
.round-arrow img {
  position: absolute;
  left: -4px;
  top: 0;
  width: 58px;
  height: 58px;
  max-width: none;
}
.round-arrow--next { transform: rotate(180deg); }

/* =========================================================
   HEADER
   ========================================================= */
.header {
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  z-index: 50;
}
.header__bar {
  position: relative;
  width: min(1260px, 100% - 32px);
  height: 80px;
  margin-inline: auto;
  padding: 0 34px 0 53px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  border-bottom: .2px solid #9c9c9c;
  border-radius: 100px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
}
.brand {
  position: relative;
  width: 106px;
  height: 59px;
  flex: none;
}
.brand__mark { position: absolute; left: 15px; top: 0; width: 77px; height: 37.5px; }
.brand__mark img { width: 100%; height: 100%; }
.brand__name { position: absolute; left: 0; top: 47px; width: 106px; height: 12px; }
.brand__name img { position: absolute; top: 0; height: 11.7px; }
.brand__name img:first-child { left: 0; width: 56.3px; }
.brand__name img:last-child { left: 63.3px; width: 42.7px; }

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: 16px;
  color: var(--navy);
}
.nav > a, .nav__toggle { color: var(--navy); font-weight: 600; transition: color .2s; }
.nav > a:hover, .nav__toggle:hover { color: var(--green); }
.nav__dropdown { position: relative; }
.nav__toggle { display: inline-flex; align-items: center; gap: 8px; }
.nav__chevron { width: 8.4px; height: 14px; transform: rotate(-90deg) scaleY(-1); transition: transform .2s; }
.nav__dropdown.is-open .nav__chevron { transform: rotate(90deg) scaleY(-1); }
.nav__menu {
  position: absolute;
  top: calc(100% + 16px);
  left: -16px;
  min-width: 210px;
  padding: 10px 0;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(18, 59, 94, .14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav__menu a { display: block; padding: 8px 20px; font-weight: 500; font-size: 15px; }
.nav__menu a:hover { background: var(--soft); color: var(--green); }
.nav__dropdown.is-open .nav__menu,
.nav__dropdown:hover .nav__menu { opacity: 1; visibility: visible; transform: none; }

.btn--cotizar {
  width: 174px;
  justify-content: center;
  padding: 0;
  gap: 8px;
  font-weight: 600;
}
.btn--cotizar .arrow { width: 15px; height: 12px; }

.burger { display: none; width: 44px; height: 44px; flex-direction: column; justify-content: center; gap: 5px; align-items: center; }
.burger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: transform .2s, opacity .2s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  height: 665px;
  overflow: hidden;
  color: var(--white);
}
.hero__bg, .hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__bg { object-fit: cover; }
.hero__overlay {
  mix-blend-mode: multiply;
  background: linear-gradient(89.73deg, rgba(18, 59, 94, .9) 0%, rgba(18, 59, 94, .7) 40.87%, rgba(38, 123, 196, 0) 99.877%);
}
.hero__person {
  position: absolute;
  left: calc(50% + 50px);
  bottom: 0;
  width: 529px;
  height: 524px;
  object-fit: cover;
}
.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 233px;
  padding-left: 11px;
}
.hero__title {
  font-weight: 700;
  font-size: 55px;
  line-height: 65px;
  text-transform: uppercase;
}
.hero__hl {
  display: inline-block;
  margin-left: -4px;
  padding: 0 16px;
  line-height: 55px;
  transform: translateY(-1px);
  background: url("../img/hero-highlight.svg") center / 100% 100% no-repeat;
}
.hero__text {
  max-width: 439px;
  margin-top: 15px;
  font-weight: 500;
  font-size: 18px;
  line-height: 27px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 49px; }
.hero__actions .btn--green { min-width: 255px; justify-content: center; }
.hero__actions .btn--white { min-width: 180px; justify-content: center; }
.hero__prev { left: 46px; top: 350px; }
.hero__next { right: 45px; top: 350px; }

/* ---------- Features bar ---------- */
.features {
  position: relative;
  z-index: 5;
  margin: 35px 2px 0 10px;
  height: 104px;
  padding: 0 30px;
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  border: 1px solid #e8e8e8;
  border-radius: 20px;
}
.feature { display: flex; align-items: center; gap: 14px; }
.feature img { flex: none; }
.feature strong { display: block; font-weight: 700; font-size: 17px; color: var(--navy); line-height: 26px; }
.feature span { display: block; font-weight: 500; font-size: 15px; line-height: 18px; color: var(--text); }

/* =========================================================
   SERVICIOS
   ========================================================= */
.services { padding: 68px 0 50px; }
.services__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-left: 0;
}
.services__head .title { max-width: 676px; margin-left: -1px; }

.slider {
  position: relative;
  width: calc(100% + 9px);
  margin: 40px 0 0 -8px;
}
.slider__track {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
.slider__track::-webkit-scrollbar { display: none; }
.slider__prev { left: -25px; top: 198px; }
.slider__next { right: -24px; top: 198px; }

.srv-card {
  position: relative;
  flex: 0 0 280px;
  height: 430px;
  border-radius: 20px;
  overflow: hidden;
  scroll-snap-align: start;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0;
  padding: 0 16px 24px 18px;
}
.srv-card:first-child { height: 427px; }
.srv-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.srv-card:hover .srv-card__img { transform: scale(1.05); }
.srv-card__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 133px; background: var(--shade); }
.srv-card__title { position: relative; flex: 0 1 220px; font-weight: 700; font-size: 20px; line-height: 23px; color: var(--white); }
.srv-card__icon { position: relative; flex: none; width: 26.19px; height: 26.19px; margin-bottom: -2px; }

/* =========================================================
   QUIÉNES SOMOS
   ========================================================= */
.about { padding: 77px 0 69px; }
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 628px) minmax(0, 548px);
  justify-content: space-between;
  align-items: start;
  padding-left: 4px;
  padding-right: 5px;
}
.about .title { line-height: 60px; }
.about__lead { margin-top: 5px; font-weight: 600; font-size: 18px; line-height: 27px; color: var(--navy); }
.about__body { max-width: 598px; margin-top: 23px; font-size: 16px; line-height: 25px; }
.about__body p + p { margin-top: 8px; }
.about .btn { margin-top: 23px; width: 255px; justify-content: center; }
.about__img { width: 548px; height: 411px; object-fit: cover; border-radius: 20px; margin-top: 1px; }

/* =========================================================
   CERTIFICACIÓN
   ========================================================= */
.cert { padding: 39px 0 36px; }
.cert__sub { max-width: 675px; margin-top: 10px; font-size: 16px; line-height: 24px; }
.iso-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px 20px;
  margin: 32px -2px 36px 2px;
}
.iso-card {
  position: relative;
  height: 192px;
  border-radius: 20px;
  overflow: hidden;
  color: var(--white);
}
.iso-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.iso-card:hover .iso-card__img { transform: scale(1.05); }
.iso-card__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 111px; background: var(--shade); }
.iso-card__txt { position: absolute; left: 18px; right: 40px; bottom: 13px; }
.iso-card__txt strong { display: block; font-weight: 700; font-size: 20px; line-height: 30px; }
.iso-card__txt span { display: block; font-size: 15px; line-height: 18px; }
.iso-card__icon { position: absolute; right: 23px; bottom: 15px; }

/* =========================================================
   VALORES
   ========================================================= */
.values { padding: 32px 0 29px; }
.values__title { line-height: 50px; }
.values__grid {
  display: grid;
  grid-template-columns: repeat(4, 260px);
  justify-content: center;
  gap: 25px 30px;
  margin: 35px 0 28px;
}
.value {
  min-height: 268px;
  padding: 18px 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: box-shadow .25s, transform .25s;
}
.value:hover { box-shadow: 0 12px 30px rgba(18, 59, 94, .1); transform: translateY(-3px); }
.value img { margin: 0 auto 14px; height: 125px; width: auto; }
.value h3 { margin-right: -12px; font-weight: 700; font-size: 16px; line-height: 18px; color: var(--navy); }
.value p { margin-top: 12px; font-size: 14px; line-height: 21px; }

/* =========================================================
   ALIADOS
   ========================================================= */
.allies { padding: 83px 0 69px; }
.allies__grid {
  display: grid;
  grid-template-columns: minmax(0, 600px) auto;
  justify-content: space-between;
  align-items: center;
  padding-left: 4px;
  padding-right: 41px;
}
.allies__text { max-width: 572px; margin-top: 22px; font-size: 20px; line-height: 30px; }
.allies__logos { display: flex; align-items: center; gap: 66px; }
.allies__qro { width: 257px; height: 196px; object-fit: cover; margin-top: 19px; }
.allies__qfs { width: 176px; height: 231px; object-fit: cover; }

/* =========================================================
   SECTORES
   ========================================================= */
.sectors { padding: 43px 0; }
.sectors__title { max-width: 569px; margin-inline: auto; }
.sectors__sub { max-width: 568px; margin-top: 10px; font-size: 18px; line-height: 27px; }
.sector-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  margin: 28px 6px 39px 7px;
}
.sector {
  position: relative;
  height: 216.5px;
  border-radius: 20px;
  overflow: hidden;
}
.sector img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sector:hover img { transform: scale(1.05); }
.sector::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; background: var(--shade); }
.sector figcaption {
  position: absolute;
  z-index: 1;
  left: 18px;
  bottom: 13px;
  font-weight: 700;
  font-size: 20px;
  line-height: 30px;
  color: var(--white);
}

/* =========================================================
   CASOS DE ÉXITO
   ========================================================= */
.cases { padding: 39px 0 51px; }
.cases__title { font-size: 45px; line-height: 68px; }
.cases__sub { max-width: 844px; margin-top: 7px; font-size: 18px; line-height: 27px; }

.case {
  display: grid;
  grid-template-columns: 587px minmax(0, 1fr);
  column-gap: 58px;
  align-items: start;
  margin-top: 66px;
}
.case + .case { margin-top: 79px; }
.case__media { position: relative; padding-left: 73px; }
.case__photo { width: 514px; height: 456px; object-fit: cover; border-radius: 20px; }
.case__badges {
  position: absolute;
  top: 53px;
  left: 4px;
  width: 80px;
  height: 349px;
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  background: #fffefe;
  border: 1px solid #ececec;
  border-radius: 20px;
}
.case__name { font-weight: 700; font-size: 30px; line-height: 45px; color: var(--navy); }
.case__name--wrap { max-width: 575px; line-height: 40px; }
.case__tag { margin-top: 16px; font-weight: 600; font-size: 16px; line-height: 24px; color: var(--navy); }
.case__desc { max-width: 549px; margin-top: 15px; font-size: 16px; line-height: 24px; }
.case__list-title { margin: 23px 0 0 6px; font-weight: 700; font-size: 16px; line-height: 24px; color: var(--navy); }
.case__list { margin: 14px 0 0 7px; font-size: 16px; line-height: 24px; }
.case__list li { position: relative; padding-left: 25px; }
@media (min-width: 1241px) { .case__list li { white-space: nowrap; } }
.case__list li::before {
  content: "";
  position: absolute;
  left: -.8px;
  top: 3.2px;
  width: 17.6px;
  height: 17.6px;
  background: url("../img/case-check.svg") center / contain no-repeat;
}
.case__list strong { font-weight: 600; }
.case__partner { display: flex; align-items: center; margin: 45px 0 0 4px; }
.case__partner > img:first-child { width: 100px; height: 76px; object-fit: cover; }
.case__partner > img:nth-child(2) { margin: 0 32px 0 37px; height: 70px; width: 1px; }
.case__partner p { max-width: 399px; font-size: 16px; line-height: 24px; }
.case__partner strong { display: block; font-weight: 600; color: var(--navy); }

.case--reverse { grid-template-columns: minmax(0, 1fr) 574px; column-gap: 46px; }
.case--reverse .case__media { order: 2; padding-left: 0; }
.case--reverse .case__body { order: 1; margin-left: -2px; padding-top: 4px; }
.case--reverse .case__badges { left: auto; right: 0; }

.cases .center { margin-top: 51px; }
.cases .center .btn { width: 303px; justify-content: center; }

/* =========================================================
   CTA
   ========================================================= */
.cta-wrap { padding-bottom: 51px; }
.cta {
  position: relative;
  height: 450px;
  border-radius: 20px 30px 30px 20px;
  overflow: hidden;
}
.cta__photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 645px;
  height: 100%;
  object-fit: cover;
  border-radius: 0 30px 30px 0;
}
.cta__panel { position: absolute; left: 0; top: 0; width: 683px; height: 450px; max-width: none; }
.cta__content { position: relative; z-index: 1; padding: 71px 0 0 56px; color: var(--white); }
.cta__title { max-width: 434px; font-weight: 800; font-size: 40px; line-height: 45px; }
.cta__text { max-width: 363px; margin-top: 28px; font-size: 18px; line-height: 27px; }
.cta .hero__actions { margin-top: 38px; }

/* =========================================================
   CLIENTES + MAPA
   ========================================================= */
.clients__title { text-align: center; font-weight: 700; font-size: 25px; line-height: 50px; color: var(--navy); }
.clients__logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin: 17px 0 0 -9px;
}
.clients__energia { width: 82px; height: 88px; object-fit: cover; }
.clients__eos { width: 88px; height: 88px; object-fit: cover; margin-right: 15px; }
.clients__os {
  position: relative;
  width: 222.4px;
  height: 50.4px;
  overflow: hidden;
  background: #263139;
}
.clients__os img {
  position: absolute;
  left: calc(4.5px - 15.82% * .955);
  top: calc(6.3px - 53.49% * .768);
  width: calc(212.5px * 1.3165);
  height: calc(38.7px * 2.0698);
  max-width: none;
}
.clients__conecsa { width: 249px; height: 66px; object-fit: cover; }

.map { padding: 54px 0 93px; }
.map__link { display: block; border-radius: 20px; overflow: hidden; }
.map__link img { width: 100%; height: 582px; object-fit: cover; transition: transform .6s ease; }
.map__link:hover img { transform: scale(1.02); }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--navy); color: var(--white); }
.footer__grid {
  display: grid;
  grid-template-columns: 294px 203px 405px 1fr;
  padding: 34px 0 31px;
}
.footer__brand { margin-left: -11px; }
.footer__logo { position: relative; display: block; width: 204px; height: 113px; margin-left: 9px; }
.footer__logo-mark { position: absolute; left: 29px; top: 0; width: 147.6px; height: 71.8px; }
.footer__logo-name { position: absolute; left: 0; top: 90.4px; width: 204px; height: 22.6px; }
.footer__logo-name img { position: absolute; top: 0; }
.footer__logo-name img:first-child { left: 0; width: 108.4px; height: 22.3px; }
.footer__logo-name img:last-child { left: 121.9px; width: 82.1px; height: 22.6px; }
.footer__brand p { max-width: 287px; margin-top: 36px; font-size: 16px; line-height: 24px; }

.footer__title, .footer__col h4 { font-weight: 700; font-size: 18px; line-height: 20px; margin-top: 11px; }
.footer__links { display: flex; flex-direction: column; gap: 6px; margin-top: 20px; font-size: 16px; line-height: 24px; }
.footer__links a:hover, .footer__contact a:hover, .footer__legal:hover { color: #9fd8ae; }

.footer__contact { margin-top: 20px; font-size: 16px; line-height: 24px; }
.footer__contact li { display: grid; grid-template-columns: 22.5px 1fr; column-gap: 8px; align-items: start; }
.footer__contact li + li { margin-top: 11px; }
.footer__contact li:nth-child(3) { margin-top: 11px; }
.footer__contact img { margin-top: 1px; }

.footer__legal { display: block; margin-top: 15px; font-size: 16px; line-height: 24px; margin-left: -1px; }
.footer__book { display: block; width: 110px; height: 64px; margin-top: 15px; margin-left: -1px; border-radius: 10px; overflow: hidden; }
.footer__book img { width: 100%; height: 100%; object-fit: cover; }
.footer__allies-title { margin-top: 20px !important; }
.footer__allies { display: flex; align-items: flex-start; gap: 27px; margin-top: 10px; }
.footer__qfs { width: 69px; height: 90px; object-fit: cover; }
.footer__qro { position: relative; width: 106px; height: 81px; margin-top: 10px; overflow: hidden; }
.footer__qro img { position: absolute; left: 0; top: .84%; width: 100%; height: 99.48%; max-width: none; }

.footer__bottom { border-top: 1px solid #d9d9d9; }
.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0 19px;
}
.footer__bottom p {
  margin-left: -16px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  line-height: 24px;
  color: #d9dbe1;
}
.footer__bottom strong { font-weight: 700; }
.footer__social { display: flex; gap: 10px; margin-right: 21px; }
.footer__social a { transition: transform .2s; }
.footer__social a:hover { transform: translateY(-2px); }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed;
  right: max(16px, calc(50vw - 614px));
  bottom: 24px;
  z-index: 60;
  width: 92px;
  height: 92px;
  transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.06); }
.wa-float__bg { position: absolute; inset: 0; width: 92px; height: 92px; }
.wa-float__icon { position: absolute; left: 6px; top: 6px; width: 80px; height: 80px; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1240px) {
  .header__bar { padding: 0 20px 0 32px; }
  .nav { gap: 14px; font-size: 15px; }
  .features { padding: 0 20px; gap: 12px; }
  .feature strong { font-size: 15px; }
  .feature span { font-size: 13px; }
  .about__grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .about__img { width: 100%; height: auto; aspect-ratio: 548 / 411; }
  .values__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
  .case, .case--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 40px; }
  .case__photo { width: 100%; height: auto; aspect-ratio: 514 / 456; }
  .cta__photo { width: 54%; }
  .cta__panel { width: 57%; }
  .footer__grid { grid-template-columns: 1.3fr 1fr 1.7fr 1.2fr; gap: 24px; }
  .footer__brand { margin-left: 0; }
}

@media (max-width: 1024px) {
  .burger { display: flex; }
  .btn--cotizar { display: none; }
  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 12px 30px rgba(18, 59, 94, .16);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s, transform .2s, visibility .2s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav > a, .nav__toggle { padding: 12px 14px; width: 100%; }
  .nav__menu { position: static; box-shadow: none; padding: 0 0 6px 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .nav__dropdown.is-open .nav__menu { display: block; }
  .nav__dropdown:hover .nav__menu { display: none; }
  .nav__dropdown.is-open:hover .nav__menu { display: block; }

  .hero { height: auto; min-height: 0; padding-bottom: 0; }
  .hero__slide { min-height: 600px; }
  .hero__person { width: 420px; height: auto; left: auto; right: -40px; opacity: .55; }
  .hero__content { padding-top: 160px; padding-left: 0; }
  .hero__prev, .hero__next { display: none; }

  .features { height: auto; padding: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-inline: 0; }

  .services__head { flex-direction: column; align-items: flex-start; }
  .slider { width: 100%; margin-left: 0; }
  .slider__prev { left: -10px; }
  .slider__next { right: -10px; }

  .about__grid { grid-template-columns: 1fr; padding: 0; }
  .iso-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 0; }
  .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .allies__grid { grid-template-columns: 1fr; gap: 40px; padding: 0; }
  .allies__logos { justify-content: center; flex-wrap: wrap; gap: 40px; }
  .sector-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-inline: 0; }

  .case, .case--reverse { grid-template-columns: 1fr; row-gap: 32px; }
  .case__media, .case--reverse .case__media { order: 0; padding: 0 0 0 60px; }
  .case--reverse .case__badges { left: 4px; right: auto; }
  .case--reverse .case__body { order: 1; margin: 0; padding: 0; }

  .cta { height: auto; background: var(--navy); border-radius: 20px; }
  .cta__panel { display: none; }
  .cta__photo { position: relative; width: 100%; height: 280px; border-radius: 0; }
  .cta__content { padding: 40px 28px; }

  .map__link img { height: 420px; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 640px) {
  .header { top: 12px; }
  .header__bar { height: 68px; padding: 0 12px 0 20px; }
  .title { font-size: 30px; line-height: 36px; }
  .about .title { line-height: 44px; }
  .values__title { line-height: 38px; }
  .cases__title { font-size: 34px; line-height: 48px; }

  .hero__title { font-size: 36px; line-height: 46px; }
  .hero__hl { line-height: 42px; padding: 0 10px; margin-left: 0; }
  .hero__text { font-size: 16px; line-height: 24px; }
  .hero__actions { margin-top: 32px; gap: 12px; }
  .hero__person { display: none; }

  .features { grid-template-columns: 1fr; }
  .btn { white-space: normal; height: auto; min-height: 45px; padding-block: 10px; text-align: center; }
  .btn--lg { min-height: 50px; }
  .srv-card { flex-basis: 78%; }
  .iso-grid, .values__grid, .sector-grid { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sector { height: 160px; }
  .sector figcaption { font-size: 16px; left: 12px; }
  .allies__text { font-size: 17px; line-height: 27px; }
  .allies__qro { width: 200px; height: auto; margin: 0; }
  .allies__qfs { width: 130px; height: auto; }

  .case__name { font-size: 24px; line-height: 32px; }
  .case__media, .case--reverse .case__media { padding-left: 0; padding-bottom: 96px; }
  .case__badges, .case--reverse .case__badges {
    top: auto; bottom: 0; left: 0; right: 0;
    width: auto; height: 80px; padding: 0;
    flex-direction: row; justify-content: center;
  }
  .case__partner { flex-wrap: wrap; row-gap: 12px; }
  .case__partner > img:nth-child(2) { margin: 0 20px; }

  .cta__title { font-size: 30px; line-height: 36px; }
  .clients__logos { justify-content: center; margin-left: 0; }
  .map__link img { height: 300px; }

  .footer__grid { grid-template-columns: 1fr; }
  .footer__bottom-inner { flex-direction: column; text-align: center; }
  .footer__bottom p { margin: 0; }
  .footer__social { margin: 0; }
  .wa-float { width: 64px; height: 64px; bottom: 16px; }
  .wa-float__bg { width: 64px; height: 64px; }
  .wa-float__icon { left: 4px; top: 4px; width: 56px; height: 56px; }
}

/* =========================================================
   GLOBAL — accesibilidad y navegación (compartido)
   ========================================================= */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; border-radius: 6px; }
.btn:focus-visible { border-radius: 999px; }

/* Estado activo del header */
.nav > a.is-active,
.nav__dropdown.is-current .nav__toggle { color: var(--green); }
.nav > a.is-active,
.nav__dropdown.is-current .nav__toggle { position: relative; }
.nav > a.is-active::after,
.nav__dropdown.is-current .nav__toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--green);
}
.nav__dropdown.is-current .nav__toggle::after { right: 16px; }
.nav__menu { width: max-content; }
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }
.nav__menu a[aria-current="page"] { color: var(--green); font-weight: 600; }
.nav__menu a:first-child { font-weight: 600; color: var(--navy); }
.nav > .nav__cta { display: none; }
.btn--cotizar[aria-current="page"] { box-shadow: 0 0 0 3px rgba(64, 164, 93, .25); }

/* Animación de entrada discreta */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* =========================================================
   PÁGINAS INTERNAS
   ========================================================= */
.eyebrow {
  margin-bottom: 10px;
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--green);
}
.text-green { color: var(--green); }
.page-section { padding: 80px 0; }
.page-section .section-head,
.related .section-head { margin-bottom: 40px; }
.section-head--left { text-align: left; }
.page-section .section-head__sub {
  max-width: 720px;
  margin: 12px auto 0;
  font-size: 18px;
  line-height: 27px;
}
.section-cta { margin-top: 40px; }
.ruc { margin-top: 20px; font-weight: 600; font-size: 14px; color: var(--navy); letter-spacing: .02em; }

/* ---------- InternalHero ---------- */
.ihero {
  position: relative;
  min-height: 475px;
  padding: 165px 0 72px;
  overflow: hidden;
  color: var(--white);
  background: var(--navy);
}
.ihero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ihero .hero__overlay { position: absolute; inset: 0; }
.ihero__side {
  position: absolute;
  top: 107px;
  right: max(0px, calc(50% - 633px));
  width: min(721px, 52vw);
  height: 361px;
  object-fit: contain;
  object-position: right center;
}
.ihero__content { position: relative; z-index: 2; }
.breadcrumb ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; padding: 0; margin: 0; list-style: none; }
.breadcrumb li { font-weight: 700; font-size: 14px; line-height: 20px; text-transform: uppercase; letter-spacing: .02em; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; opacity: .7; }
.breadcrumb a { opacity: .85; transition: opacity .2s, color .2s; }
.breadcrumb a:hover { opacity: 1; color: #9fd8ae; }
.ihero__title {
  max-width: 760px;
  margin-top: 14px;
  font-weight: 700;
  font-size: 50px;
  line-height: 62px;
}
.ihero--side .ihero__title,
.ihero--side .ihero__text { max-width: 520px; }
.ihero .hero__hl { margin-left: 0; padding: 0 14px; line-height: 58px; }
.hero__hl--short { background-image: url("../img/hl-short.svg"); }
.ihero__text { max-width: 580px; margin-top: 16px; font-size: 18px; line-height: 27px; }
.ihero .hero__actions { margin-top: 32px; }

/* ---------- Servicios (ServiceCard) ---------- */
.srv-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.srv-grid .srv-card { flex: 0 0 calc((100% - 40px) / 3); height: 430px; }
.srv-card__body { position: relative; display: block; flex: 0 1 240px; }
.srv-card__body .srv-card__title { display: block; }
.srv-card--detail { padding-bottom: 26px; }
.srv-card--detail .srv-card__shade { height: 72%; }
.srv-card__text { display: block; margin-top: 10px; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, .9); }
.srv-card__more { display: inline-block; margin-top: 14px; font-weight: 600; font-size: 14px; color: #9fd8ae; border-bottom: 1px solid currentColor; }
.srv-card:focus-visible { border-radius: 20px; }

.related { padding: 80px 0; }
.related .services__head { margin-bottom: 36px; }
.related__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.related__grid .srv-card { flex: none; height: 380px; }

/* ---------- ServiceProcess ---------- */
.process {
  display: grid;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.process--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.process--9 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.process__step {
  position: relative;
  padding: 24px 20px 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: box-shadow .25s, transform .25s;
}
.process__step:hover { box-shadow: 0 12px 30px rgba(18, 59, 94, .1); transform: translateY(-3px); }
.process__num {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #f4f8fd;
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}
.process__step:last-child .process__num { background: var(--green); color: var(--white); }
.process__title { margin-top: 16px; font-weight: 700; font-size: 16px; line-height: 21px; color: var(--navy); }
.process__text { margin-top: 8px; font-size: 14px; line-height: 21px; }
.process--5 .process__step:not(:last-child)::after,
.process--6 .process__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 46px;
  right: -15px;
  z-index: 1;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  transform: rotate(45deg);
}
.process--6 .process__step { padding-inline: 16px; }

/* ---------- BenefitCard ---------- */
.benefit-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.benefit {
  padding: 26px 24px 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: box-shadow .25s, transform .25s;
}
.benefit:hover { box-shadow: 0 12px 30px rgba(18, 59, 94, .1); transform: translateY(-3px); }
.benefit__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #f4f8fd; }
.benefit__icon img { width: 22px; height: 22px; }
.benefit__title { margin-top: 16px; font-weight: 700; font-size: 17px; line-height: 23px; color: var(--navy); }
.benefit__text { margin-top: 8px; font-size: 14px; line-height: 21px; }

/* ---------- ISOCard (componente) ---------- */
.iso-grid--page { margin: 0; }
.iso-card--c { height: auto; overflow: visible; border-radius: 20px; }
.iso-card__media { position: relative; height: 192px; border-radius: 20px; overflow: hidden; }
.iso-card--detail { background: var(--white); border: 1px solid var(--border); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.iso-card--detail:hover { box-shadow: 0 12px 30px rgba(18, 59, 94, .1); transform: translateY(-3px); }
.iso-card--detail .iso-card__media { border-radius: 19px 19px 0 0; }
.iso-card__benefit { padding: 16px 18px 20px; color: var(--text); font-size: 14px; line-height: 21px; }

/* ---------- Split (texto + imagen) ---------- */
.split { padding: 80px 0; }
.split__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}
.split__grid--reverse .split__img { order: -1; }
.split__p { margin-top: 16px; font-size: 16px; line-height: 26px; }
.split .title + .split__p { margin-top: 22px; }
.split__p--lg { font-size: 18px; line-height: 29px; }
.split__list { margin: 22px 0 0; }
.split__list li { white-space: normal !important; }
.split__list li + li { margin-top: 6px; }
.split__cta { margin-top: 30px; }
.split__img { width: 100%; height: 470px; object-fit: cover; border-radius: 20px; }
.split__img--portrait { max-width: 460px; height: 560px; justify-self: end; }
.split__img--wide { height: 360px; }

/* ---------- Casos (CaseStudyCard) ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.case-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.case-card:hover { box-shadow: 0 14px 34px rgba(18, 59, 94, .12); transform: translateY(-3px); }
.case-card__media { position: relative; height: 260px; overflow: hidden; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card:hover .case-card__media img { transform: scale(1.04); }
.case-card__tag {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
}
.case-card__body { display: flex; flex: 1; flex-direction: column; padding: 22px 24px 22px; }
.case-card__name { font-weight: 700; font-size: 20px; line-height: 26px; color: var(--navy); }
.case-card__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.case-card__chips li { padding: 5px 12px; border-radius: 999px; background: #f4f8fd; color: var(--navy); font-weight: 600; font-size: 13px; }
.case-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid #ececec;
}
.case-card__body .case-card__chips { margin-bottom: 20px; }
.case-card__foot img { width: 64px; height: 49px; object-fit: contain; }
.case-card__link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--navy); }
.case-card__link .arrow { width: 15px; height: 12px; transform: scaleX(-1); transition: transform .2s; }
.case-card__link:hover { color: var(--green); }
.case-card__link:hover .arrow { transform: scaleX(-1) translateX(-3px); }
.cases--page { padding: 80px 0; }
.cases--page .case:first-of-type { margin-top: 0; }
.cases--page .case { scroll-margin-top: 40px; }

/* ---------- Nosotros ---------- */
.pillar-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.pillar { position: relative; height: 423px; border-radius: 20px; overflow: hidden; color: var(--white); }
.pillar__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.pillar:hover .pillar__img { transform: scale(1.04); }
.pillar__shade { position: absolute; left: 0; right: 0; bottom: 0; height: 60%; background: var(--shade); }
.pillar__body { position: absolute; left: 28px; right: 28px; bottom: 28px; }
.pillar__title { font-weight: 700; font-size: 20px; line-height: 26px; }
.pillar__body p { margin-top: 8px; font-size: 15px; line-height: 23px; }

.mv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; max-width: 1126px; margin: 60px auto 0; }
.mv-card { padding: 28px 44px 36px; background: var(--white); border: 1px solid #e4e4e4; border-radius: 20px; }
.mv-card__icon { position: relative; display: block; width: 70px; height: 70px; }
.mv-card__glyph { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.mv-card__title { margin-top: 12px; font-weight: 700; font-size: 20px; color: var(--navy); }
.mv-card p { margin-top: 10px; font-size: 16px; line-height: 25px; }

.valor-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; max-width: 1200px; margin: 0 auto; padding: 0; list-style: none; }
.valor {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 272px;
  padding: 22px 16px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}
.valor:hover { box-shadow: 0 12px 30px rgba(18, 59, 94, .1); transform: translateY(-3px); }
.valor__icon { position: relative; display: block; width: 106px; height: 106px; border-radius: 50%; background: #f4f8fd; }
.valor__icon img { position: absolute; left: 0; top: 0; }
.valor__icon .valor__overlay { left: 50%; top: 50%; transform: translate(-50%, -50%); }
.valor__title { margin-top: 18px; font-weight: 700; font-size: 18px; line-height: 23px; color: var(--navy); }

.team { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 50px; }
.team__grid { display: flex; gap: 30px; padding: 0; list-style: none; }
.member { width: 272px; background: var(--white); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.member__photo { width: 100%; height: 258px; object-fit: cover; object-position: center top; }
.member__body { padding: 16px 24px 22px; }
.member__name { font-weight: 700; font-size: 18px; line-height: 24px; color: var(--navy); }
.member__role { margin-top: 4px; font-size: 15px; }

/* ---------- Homologación / Capacitaciones ---------- */
.entity-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; padding: 0; list-style: none; }
.entity {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 140px;
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  text-align: center;
}
.entity__name { font-weight: 700; font-size: 24px; line-height: 30px; color: var(--navy); }
.entity__label { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; }
.note { max-width: 760px; margin: 24px auto 0; text-align: center; font-size: 13px; line-height: 20px; color: #7a7a7a; }
.chip-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 0; list-style: none; }
.chip-list li { padding: 12px 20px; border: 1px solid var(--border); border-radius: 999px; background: var(--white); font-size: 15px; }
.chip-list strong { color: var(--navy); font-weight: 700; }

.cta-wrap--page { padding: 80px 0; }
.page-section + .cta-wrap--page,
.related + .cta-wrap--page { padding-top: 0; }

/* ---------- Contacto / Cotizar (ContactForm) ---------- */
.contact__grid,
.quote__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); align-items: start; gap: 56px; }
.info-list { display: grid; gap: 14px; margin-top: 28px; padding: 0; list-style: none; }
.info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.info__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); }
.info__label { margin-bottom: 4px; font-weight: 600; font-size: 15px; color: var(--navy); }
.info a, .info p, .info__phones { display: block; font-size: 16px; line-height: 24px; }
.info__phones a { display: inline; }
.info a:hover { color: var(--green); }

.form-card {
  padding: 40px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(18, 59, 94, .08);
  scroll-margin-top: 30px;
}
.form-card__title { font-weight: 700; font-size: 26px; line-height: 34px; color: var(--navy); }
.form-card__sub { margin-top: 6px; font-size: 14px; }
.form__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; margin-top: 26px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14px; color: var(--navy); }
.field__req { color: var(--green); }
.field__opt { font-weight: 400; font-size: 12px; color: #8a8a8a; }
.field input:not([type="checkbox"]),
.field select,
.field textarea {
  width: 100%;
  height: 50px;
  padding: 0 16px;
  border: 1px solid #d7dde5;
  border-radius: 12px;
  background: #fbfcfe;
  font: 400 15px/1.4 "Poppins", sans-serif;
  color: #1f2a37;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { height: auto; min-height: 140px; padding: 14px 16px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 44px;
  background-image: linear-gradient(45deg, transparent 50%, var(--navy) 50%), linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 22px) 22px, calc(100% - 16px) 22px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #b9c4d2; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(64, 164, 93, .18);
}
.field [aria-invalid="true"] { border-color: #c0392b !important; }
.field__error { margin-top: 6px; font-size: 13px; color: #c0392b; }
.field--full { grid-column: 1 / -1; }
.field--check { display: grid; grid-template-columns: 22px 1fr; gap: 4px 12px; align-items: start; margin-top: 20px; }
.field--check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); }
.field--check label { margin: 0; font-weight: 400; font-size: 14px; line-height: 22px; color: var(--text); }
.field--check .field__error { grid-column: 2; margin: 0; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { margin-top: 26px; min-width: 255px; justify-content: center; border: 0; cursor: pointer; }
.form-alert { margin-top: 18px; padding: 14px 18px; border-radius: 12px; font-size: 14px; line-height: 21px; }
.form-alert--error { background: #fdecea; border: 1px solid #f5c2bc; color: #8a1f11; }
.form-alert--warn { background: #fff8e6; border: 1px solid #f2d58a; color: #6b4e00; }
.form-alert__btn { display: inline-flex; margin-top: 12px; }
.form-success { padding: 24px 0; text-align: center; }
.form-success__icon { display: inline-grid; place-items: center; width: 76px; height: 76px; margin-bottom: 18px; border-radius: 50%; background: #f4f8fd; }
.form-success p { max-width: 420px; margin: 10px auto 0; font-size: 16px; line-height: 25px; }
.form-success .hero__actions { justify-content: center; margin-top: 26px; }

.quote__steps-title { margin-top: 32px; font-weight: 700; font-size: 18px; color: var(--navy); }
.quote__steps { display: grid; gap: 16px; margin: 16px 0 0; padding: 0; list-style: none; }
.quote__steps li { display: flex; gap: 16px; font-size: 15px; line-height: 22px; }
.quote__steps span { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 700; font-size: 15px; }
.quote__steps strong { display: block; color: var(--navy); font-size: 16px; }
.quote__direct { margin-top: 32px; padding: 22px 24px; border-radius: 20px; background: var(--soft); }
.quote__direct p { margin-bottom: 12px; font-size: 15px; }
.quote__wa { border: 1px solid var(--border); }

/* ---------- Responsive páginas internas ---------- */
@media (max-width: 1240px) {
  .process--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process--6 .process__step::after { display: none; }
  .valor-grid { gap: 24px; }
  .team { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .nav > .nav__cta {
    display: block;
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: 999px;
    background: var(--green);
    color: var(--white);
    text-align: center;
  }
  .nav > a.is-active::after, .nav__dropdown.is-current .nav__toggle::after { display: none; }
  .nav__menu::before { display: none; }
  .nav__menu { width: auto; }

  .page-section, .split, .related, .cases--page, .cta-wrap--page { padding: 64px 0; }
  .ihero { min-height: 0; padding: 140px 0 60px; }
  .ihero__side { opacity: .25; width: 70vw; right: -10vw; }
  .ihero--side .ihero__title, .ihero--side .ihero__text { max-width: 640px; }
  .ihero__title { font-size: 40px; line-height: 50px; }
  .ihero .hero__hl { line-height: 48px; }

  .srv-grid .srv-card { flex-basis: calc((100% - 20px) / 2); }
  .related__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process--5 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .process--5 .process__step::after { display: none; }
  .benefit-grid, .benefit-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split__grid { grid-template-columns: 1fr; gap: 36px; }
  .split__grid--reverse .split__img { order: 0; }
  .split__img, .split__img--portrait { max-width: none; height: 420px; justify-self: stretch; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .pillar-grid .pillar:last-child { grid-column: 1 / -1; }
  .mv-grid { grid-template-columns: 1fr; margin-top: 40px; }
  .entity-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__grid, .quote__grid { grid-template-columns: 1fr; gap: 40px; }
  .form-card { padding: 32px 28px; }
  .team__grid { justify-content: center; }
}

@media (max-width: 640px) {
  .page-section, .split, .related, .cases--page, .cta-wrap--page { padding: 52px 0; }
  .page-section .section-head, .related .section-head { margin-bottom: 28px; }
  .page-section .section-head__sub { font-size: 16px; line-height: 25px; }
  .ihero { padding: 118px 0 48px; }
  .ihero__side { display: none; }
  .ihero__title { font-size: 31px; line-height: 40px; }
  .ihero .hero__hl { line-height: 38px; padding: 0 10px; }
  .ihero__text { font-size: 16px; line-height: 24px; }
  .breadcrumb li { font-size: 12px; }

  .srv-grid .srv-card { flex-basis: 100%; height: 400px; }
  .related__grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 78%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 6px;
  }
  .related__grid .srv-card { height: 340px; scroll-snap-align: start; }
  .related .services__head { margin-bottom: 24px; }

  .process--5, .process--6, .process--9 { grid-template-columns: 1fr; gap: 12px; }
  .process__step { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; padding: 18px; }
  .process__num { grid-row: span 2; width: 48px; height: 48px; font-size: 16px; }
  .process__title { margin-top: 0; align-self: center; }
  .process__text { margin-top: 4px; }

  .benefit-grid, .benefit-grid--3, .case-grid, .pillar-grid { grid-template-columns: 1fr; }
  .benefit { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; padding: 20px; }
  .benefit__icon { grid-row: span 2; width: 44px; height: 44px; }
  .benefit__title { margin-top: 0; font-size: 16px; }
  .benefit__text { margin-top: 4px; }
  .pillar { height: 360px; }
  .pillar-grid .pillar:last-child { grid-column: auto; }
  .mv-card { padding: 24px 22px 28px; }
  .valor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .valor { width: auto; padding: 18px 10px 20px; }
  .valor__icon { transform: scale(.8); margin: -10px 0; }
  .valor__title { font-size: 15px; line-height: 20px; margin-top: 12px; }
  .team__grid { flex-direction: column; align-items: center; gap: 16px; }
  .member { width: 100%; max-width: 340px; }
  .split__img, .split__img--portrait { height: 300px; }
  .entity__name { font-size: 20px; }
  .entity { min-height: 110px; padding: 16px 10px; }
  .chip-list li { font-size: 14px; padding: 10px 16px; }
  .case-card__media { height: 220px; }

  .form-card { padding: 26px 18px; }
  .form-card__title { font-size: 22px; line-height: 30px; }
  .form__grid { grid-template-columns: 1fr; }
  .form__submit { width: 100%; }
  .info { padding: 16px; }
}

@media (max-width: 640px) {
  .related .services__head .btn { width: auto; }
  .iso-grid--page { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .iso-grid--page .iso-card__media { height: 150px; }
  .iso-grid--page .iso-card__txt { left: 12px; right: 12px; bottom: 10px; }
  .iso-grid--page .iso-card__txt strong { font-size: 16px; line-height: 22px; }
  .iso-grid--page .iso-card__txt span { font-size: 12px; line-height: 15px; }
  .iso-grid--page .iso-card__icon { display: none; }
  .iso-grid--page .iso-card__benefit { padding: 10px 12px 14px; font-size: 13px; line-height: 19px; }
}

/* =========================================================
   HERO SLIDER (Home)
   ========================================================= */
.hero { --hero-duration: 7s; --hero-ease: cubic-bezier(.22, 1, .36, 1); }
.hero__slides { display: grid; height: 100%; touch-action: pan-y; }
.hero__slide {
  position: relative;
  grid-area: 1 / 1;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  z-index: 0;
  transition: opacity .9s ease, visibility 0s linear .9s;
}
.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
  transition: opacity .9s ease, visibility 0s;
}

/* Fondo: zoom lento (Ken Burns) */
.hero__slide .hero__bg { transform: scale(1.08); transition: transform 1.2s ease; will-change: transform; }
.hero__slide.is-active .hero__bg { transform: scale(1); transition: transform var(--hero-duration) linear; }

/* Recorte de Certificación ISO */
.hero__objects {
  position: absolute;
  top: 170px;
  right: max(0px, calc(50% - 633px));
  width: min(721px, 50vw);
  height: 361px;
  object-fit: contain;
  object-position: right center;
}

/* Entrada escalonada del contenido */
@keyframes heroUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes heroIn { from { opacity: 0; transform: translateX(48px); } to { opacity: 1; transform: none; } }
@keyframes heroSweep { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes heroFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero__slide .hero__title,
.hero__slide .hero__text,
.hero__slide .hero__actions,
.hero__slide .hero__person,
.hero__slide .hero__objects { opacity: 0; }
.hero__slide.is-active .hero__title   { animation: heroUp .8s var(--hero-ease) .2s both; }
.hero__slide.is-active .hero__hl      { animation: heroSweep .7s var(--hero-ease) .65s both; }
.hero__slide.is-active .hero__text    { animation: heroUp .8s var(--hero-ease) .38s both; }
.hero__slide.is-active .hero__actions { animation: heroUp .8s var(--hero-ease) .52s both; }
.hero__slide.is-active .hero__person,
.hero__slide.is-active .hero__objects { animation: heroIn 1s var(--hero-ease) .15s both; }

/* Flechas */
.hero .round-arrow { z-index: 5; }
.hero .round-arrow img { transition: transform .25s var(--hero-ease); }
.hero .round-arrow:hover img { transform: scale(1.08); }
.hero .round-arrow:active img { transform: scale(.96); }

/* Indicadores + pausa */
.hero__nav {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 16px;
  transform: translateX(-50%);
}
.hero__dots { display: flex; align-items: center; gap: 10px; }
.hero__dot {
  position: relative;
  width: 34px;
  height: 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, .45);
  overflow: hidden;
  transition: width .4s var(--hero-ease), background .3s;
}
.hero__dot::before { content: ""; position: absolute; inset: -12px -4px; }
.hero__dot:hover { background: rgba(255, 255, 255, .75); }
.hero__dot.is-active { width: 64px; background: rgba(255, 255, 255, .35); }
.hero__dot-fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left center;
}
.hero__dot.is-active .hero__dot-fill { animation: heroFill var(--hero-duration) linear forwards; }
.hero.is-paused .hero__dot.is-active .hero__dot-fill,
.hero.is-hovered .hero__dot.is-active .hero__dot-fill { animation-play-state: paused; }
.hero.is-stopped .hero__dot.is-active .hero__dot-fill { animation: none; transform: scaleX(1); }
.hero__dot:focus-visible { outline-offset: 6px; overflow: visible; }

.hero__pause {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 50%;
  background: rgba(18, 59, 94, .35);
  transition: background .2s;
}
.hero__pause:hover { background: rgba(18, 59, 94, .65); }
.hero__pause-icon { position: relative; width: 10px; height: 10px; }
.hero__pause-icon::before,
.hero__pause-icon::after { content: ""; position: absolute; top: 0; width: 3px; height: 10px; border-radius: 1px; background: var(--white); }
.hero__pause-icon::before { left: 1px; }
.hero__pause-icon::after { right: 1px; }
.hero.is-stopped .hero__pause-icon::before {
  left: 2px;
  width: 0;
  height: 0;
  border-radius: 0;
  background: none;
  border-style: solid;
  border-width: 5px 0 5px 8px;
  border-color: transparent transparent transparent var(--white);
}
.hero.is-stopped .hero__pause-icon::after { display: none; }

@media (max-width: 1024px) {
  .hero { padding-bottom: 0; }
  .hero__content { padding-bottom: 110px; }
  .hero__objects { top: auto; bottom: 70px; width: 62vw; height: auto; opacity: .3; }
  .hero__slide.is-active .hero__objects { animation: none; opacity: .3; }
  .hero__nav { bottom: 34px; }
}
@media (max-width: 640px) {
  .hero__objects { display: none; }
  .hero__content { padding-bottom: 96px; }
  .hero__nav { bottom: 28px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__slide, .hero__slide.is-active { transition: opacity .01ms, visibility 0s; }
  .hero__slide .hero__bg, .hero__slide.is-active .hero__bg { transform: none; transition: none; }
  .hero__slide.is-active .hero__title,
  .hero__slide.is-active .hero__text,
  .hero__slide.is-active .hero__actions,
  .hero__slide.is-active .hero__hl,
  .hero__slide.is-active .hero__person,
  .hero__slide.is-active .hero__objects { animation: none; opacity: 1; }
}

/* Slider de servicios: arrastre */
.slider__track { cursor: grab; scroll-padding-left: 0; }
.slider__track.is-dragging { cursor: grabbing; scroll-snap-type: none; scroll-behavior: auto; user-select: none; }
.slider__track.is-dragging .srv-card { pointer-events: none; }
.slider__track.is-dragging .srv-card__img { transform: none; }
.slider__track img { -webkit-user-drag: none; user-select: none; }
.slider__track:focus-visible { outline-offset: 6px; border-radius: 22px; }
.slider .round-arrow { transition: opacity .25s ease; }
.slider .round-arrow.is-disabled { opacity: .45; }
.slider .round-arrow img { transition: transform .25s ease; }
.slider .round-arrow:hover img { transform: scale(1.08); }

/* =========================================================
   REFINAMIENTO DE MOVIMIENTO E INTERACCIÓN
   (emil-design-eng + taste-skill, sin cambiar estructura)
   ========================================================= */
:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
}

/* Sin destello azul al tocar: cada control ya tiene su propio estado activo */
.btn, .srv-card, .iso-card, .case-card, .round-arrow, .hero__dot, .hero__pause,
.burger, .nav a, .nav__toggle, .wa-float, .footer__social a { -webkit-tap-highlight-color: transparent; }

/* ---------- Botones: respuesta inmediata al presionar ---------- */
.btn { transition: transform 160ms var(--ease-out), filter 200ms ease, box-shadow 200ms ease; }
.btn:hover { transform: none; filter: none; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
}
.btn:active { transform: scale(.97); transition-duration: 100ms; }

.round-arrow img, .hero .round-arrow img, .slider .round-arrow img { transition: transform 160ms var(--ease-out); }
.hero .round-arrow:hover img, .slider .round-arrow:hover img { transform: none; }
@media (hover: hover) and (pointer: fine) {
  .hero .round-arrow:hover img, .slider .round-arrow:hover img { transform: scale(1.06); }
}
.hero .round-arrow:active img, .slider .round-arrow:not(.is-disabled):active img { transform: scale(.94); }
.slider .round-arrow.is-disabled { cursor: default; }

.wa-float { transition: transform 160ms var(--ease-out); }
.wa-float:hover { transform: none; }
@media (hover: hover) and (pointer: fine) { .wa-float:hover { transform: scale(1.05); } }
.wa-float:active { transform: scale(.95); }

.hero__dot:hover { background: rgba(255, 255, 255, .45); }
@media (hover: hover) and (pointer: fine) { .hero__dot:not(.is-active):hover { background: rgba(255, 255, 255, .75); } }
.hero__pause:active, .burger:active { transform: scale(.94); }
.hero__pause, .burger { transition: transform 120ms var(--ease-out), background .2s ease; }

.footer__social a { transition: transform 160ms var(--ease-out), opacity .2s ease; }
.footer__social a:hover { transform: none; }
@media (hover: hover) and (pointer: fine) { .footer__social a:hover { transform: translateY(-2px); } }

/* ---------- Tarjetas: solo lo clicable reacciona al hover ---------- */
/* Tarjetas informativas (no son enlaces): sin elevación para no simular un clic */
.value:hover, .process__step:hover, .benefit:hover, .valor:hover { transform: none; box-shadow: none; }
.sector:hover img, .pillar:hover .pillar__img { transform: none; }

/* Imágenes de tarjetas clicables: zoom sutil solo con puntero fino */
.srv-card:hover .srv-card__img, .iso-card:hover .iso-card__img, .case-card:hover .case-card__media img,
.map__link:hover img { transform: none; }
.srv-card__img, .iso-card__img, .case-card__media img, .map__link img { transition: transform .6s var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .srv-card:hover .srv-card__img, a.iso-card:hover .iso-card__img, .case-card:hover .case-card__media img { transform: scale(1.04); }
  .map__link:hover img { transform: scale(1.015); }
}
.srv-card, a.iso-card { transition: transform 160ms var(--ease-out); }
.srv-card:active, a.iso-card:active { transform: scale(.985); }

/* Tarjeta de caso: toda la tarjeta es clicable (enlace extendido) */
.case-card { position: relative; transition: box-shadow .3s ease, transform 160ms var(--ease-out); }
.case-card:hover { transform: none; box-shadow: none; }
.case-card__link::after { content: ""; position: absolute; inset: 0; border-radius: 20px; }
@media (hover: hover) and (pointer: fine) {
  .case-card:hover { box-shadow: 0 14px 34px rgba(18, 59, 94, .12); }
}
.case-card:active { transform: scale(.99); }
.iso-card--detail:hover { transform: none; box-shadow: none; }

/* ---------- Menú desplegable: crece desde su disparador ---------- */
@media (min-width: 1025px) {
  .nav__menu {
    transform-origin: top left;
    transform: translateY(-4px) scale(.97);
    transition: opacity 120ms ease, transform 120ms var(--ease-out), visibility 0s linear 120ms;
  }
  .nav__dropdown.is-open .nav__menu,
  .nav__dropdown:hover .nav__menu {
    transform: none;
    transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 0s;
  }
}
.nav__chevron { transition: transform 180ms var(--ease-out); }

/* Menú móvil: entra un poco más lento de lo que sale */
@media (max-width: 1024px) {
  .nav { transform-origin: top center; transition: opacity 140ms ease, transform 140ms var(--ease-out), visibility 0s linear 140ms; }
  .nav.is-open { transition: opacity 200ms ease, transform 200ms var(--ease-out), visibility 0s; }
}

/* ---------- Revelado al hacer scroll + escalonado ---------- */
.js .reveal { transform: translateY(16px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out); }
.js .reveal.is-visible { transform: none; }

.js .reveal :is(.srv-grid, .process, .benefit-grid, .iso-grid--page, .valor-grid, .values__grid,
  .case-grid, .pillar-grid, .entity-grid, .related__grid, .mv-grid, .team__grid) > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.js .reveal.is-visible :is(.srv-grid, .process, .benefit-grid, .iso-grid--page, .valor-grid, .values__grid,
  .case-grid, .pillar-grid, .entity-grid, .related__grid, .mv-grid, .team__grid) > * { opacity: 1; transform: none; }
/* Retrasos escalonados (50 ms) solo durante la entrada; luego se quitan para no frenar el hover */
.js .reveal.is-visible:not(.is-settled) :is(.srv-grid, .process, .benefit-grid, .iso-grid--page, .valor-grid,
  .values__grid, .case-grid, .pillar-grid, .entity-grid, .related__grid, .mv-grid, .team__grid) > * {
  transition-delay: calc(var(--i, 0) * 50ms);
}

/* ---------- Hero slider: pausa con la pestaña oculta ---------- */
.hero.is-tab-hidden .hero__dot.is-active .hero__dot-fill { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .js .reveal, .js .reveal :is(.srv-grid, .process, .benefit-grid, .iso-grid--page, .valor-grid, .values__grid,
    .case-grid, .pillar-grid, .entity-grid, .related__grid, .mv-grid, .team__grid) > * { opacity: 1; transform: none; transition: none; }
  .btn:active, .srv-card:active, a.iso-card:active, .case-card:active, .wa-float:active { transform: none; }
}

/* =========================================================
   HEADER MEJORADO (misma estructura y modelo de píldora)
   ========================================================= */
html { scroll-padding-top: 110px; }

/* Siempre visible: se compacta al hacer scroll */
.header {
  position: fixed;
  transition: top 280ms var(--ease-out);
}
.header__bar {
  transition: height 280ms var(--ease-out), box-shadow 280ms ease, background-color 280ms ease;
}
.brand { transform-origin: left center; transition: transform 280ms var(--ease-out); }
.btn--cotizar { transition: transform 160ms var(--ease-out), filter 200ms ease, height 280ms var(--ease-out); }

.header.is-scrolled { top: 12px; }
.header.is-scrolled .header__bar {
  height: 64px;
  background-color: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  box-shadow: 0 10px 30px rgba(18, 59, 94, .12), 0 1px 0 rgba(18, 59, 94, .04);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header.is-scrolled .header__bar { background-color: var(--white); }
}
.header.is-scrolled .brand { transform: scale(.84); }
.header.is-scrolled .btn--cotizar { height: 40px; }

/* ---------- Escritorio: enlaces y desplegable ---------- */
@media (min-width: 1025px) {
  .nav > a:not(.nav__cta), .nav__toggle { position: relative; }
  .nav > a:not(.nav__cta)::after,
  .nav__toggle::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform 220ms var(--ease-out);
  }
  .nav__toggle::after { right: 16px; }
  .nav > a.is-active::after,
  .nav__dropdown.is-current .nav__toggle::after,
  .nav__dropdown.is-open .nav__toggle::after { transform: scaleX(1); transform-origin: left center; }
  .nav__dropdown.is-open .nav__toggle { color: var(--green); }
  .nav__dropdown.is-open .nav__chevron { transform: rotate(90deg) scaleY(-1); }

  .nav__menu {
    top: calc(100% + 18px);
    left: -20px;
    min-width: 310px;
    padding: 8px;
    border: 1px solid rgba(18, 59, 94, .08);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(18, 59, 94, .14);
  }
  .nav__menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 500;
    font-size: 15px;
    color: var(--navy);
    transition: background-color 150ms ease, color 150ms ease;
  }
  .nav__menu a::after {
    content: "";
    flex: none;
    width: 7px;
    height: 7px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    opacity: 0;
    transform: translateX(-4px) rotate(45deg);
    transition: opacity 150ms ease, transform 150ms var(--ease-out);
  }
  .nav__menu a:hover, .nav__menu a:focus-visible { background: #f4f8fd; color: var(--green); outline: none; }
  .nav__menu a:hover::after, .nav__menu a:focus-visible::after { opacity: 1; transform: translateX(0) rotate(45deg); }
  .nav__menu a:first-child {
    margin-bottom: 6px;
    border-bottom: 1px solid #eef1f5;
    border-radius: 10px 10px 4px 4px;
    font-weight: 600;
  }
  .nav__dropdown:has(:focus-visible) .nav__menu { opacity: 1; visibility: visible; transform: none; }

  /* Flecha del botón COTIZAR: pequeño avance al pasar el mouse */
  .btn--cotizar .arrow { transition: transform 200ms var(--ease-out); }
}
@media (min-width: 1025px) and (hover: hover) and (pointer: fine) {
  .nav > a:not(.nav__cta):hover::after,
  .nav__toggle:hover::after,
  .nav__dropdown:hover .nav__toggle::after { transform: scaleX(1); transform-origin: left center; }
  .btn--cotizar:hover .arrow { transform: scaleX(-1) translateX(-3px); }
}

/* ---------- Móvil y tablet: panel del menú ---------- */
@media (max-width: 1024px) {
  .header.is-scrolled .header__bar { height: 62px; }
  .nav {
    top: calc(100% + 10px);
    max-height: calc(100dvh - 110px);
    padding: 10px;
    overflow-y: auto;
    overscroll-behavior: contain;
    border: 1px solid rgba(18, 59, 94, .08);
    box-shadow: 0 20px 50px rgba(18, 59, 94, .2);
  }
  .nav > a, .nav__toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    letter-spacing: .01em;
  }
  .nav > a:not(.nav__cta):active, .nav__toggle:active { background: #f4f8fd; }
  .nav > a.is-active, .nav__dropdown.is-current .nav__toggle { background: #f4f8fd; }
  .nav > a:not(.nav__cta), .nav__dropdown { position: relative; }
  .nav > a:not(.nav__cta) + a:not(.nav__cta)::before,
  .nav__dropdown + a:not(.nav__cta)::before,
  .nav > a + .nav__dropdown::before {
    content: "";
    position: absolute;
    top: 0;
    left: 16px;
    right: 16px;
    height: 1px;
    background: #eef1f5;
  }
  .nav > a.is-active + a::before, .nav > a + a.is-active::before,
  .nav__dropdown.is-current + a::before, .nav > a.is-active + .nav__dropdown::before { opacity: 0; }
  .nav__menu { margin: 2px 0 8px 16px; padding: 0 0 0 12px; border-left: 2px solid #e6edf5; }
  .nav__menu a { padding: 10px 12px; border-radius: 10px; font-size: 15px; }
  .nav__menu a:active { background: #f4f8fd; }
  .nav > .nav__cta { min-height: 52px; justify-content: center; margin-top: 10px; border-top: 0; }

  /* Entrada escalonada de los elementos */
  @keyframes navItemIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
  .nav.is-open > * { animation: navItemIn 260ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 30ms); }

  /* Fondo atenuado y página bloqueada mientras el menú está abierto */
  html.menu-open { overflow: hidden; }
  html.menu-open body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 40;
    background: rgba(18, 59, 94, .28);
    animation: navScrim 200ms ease both;
  }
  @keyframes navScrim { from { opacity: 0; } to { opacity: 1; } }
  html.menu-open .wa-float { opacity: 0; pointer-events: none; }
  .wa-float { transition: transform 160ms var(--ease-out), opacity 200ms ease; }
}

@media (prefers-reduced-motion: reduce) {
  .header, .header__bar, .brand, .btn--cotizar { transition: none; }
  .nav.is-open > * { animation: none; }
}

/* =========================================================
   BARRA DE DIFERENCIALES (bajo el hero de la Home)
   ========================================================= */
.features--pro {
  height: auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #e6ebf1;
  box-shadow: 0 14px 40px rgba(18, 59, 94, .08);
}
.features--pro > li { position: relative; display: flex; }
.features--pro > li + li::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 0;
  width: 1px;
  background: #e9eef4;
}
.features--pro .feature {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 26px 24px;
  transition: background-color 200ms ease;
}
.features--pro .feature__icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f4f8fd;
  transition: transform 200ms var(--ease-out);
}
.features--pro .feature__icon img { width: auto; height: 32px; }
.features--pro .feature__body { min-width: 0; }
.features--pro .feature strong {
  display: block;
  font-weight: 700;
  font-size: 16px;
  line-height: 22px;
  color: var(--navy);
}
.features--pro .feature__body > span {
  display: block;
  margin-top: 3px;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
}
/* Flecha que aparece al pasar el mouse: indica que es un enlace */
.features--pro .feature::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--green);
  border-right: 2px solid var(--green);
  opacity: 0;
  transform: translate(-4px, -50%) rotate(45deg);
  transition: opacity 180ms ease, transform 180ms var(--ease-out);
}
.features--pro .feature:focus-visible { outline-offset: -4px; border-radius: 20px; }
@media (hover: hover) and (pointer: fine) {
  .features--pro .feature:hover { background-color: #f9fbfe; }
  .features--pro .feature:hover .feature__icon { transform: scale(1.06); }
  .features--pro .feature:hover::after { opacity: 1; transform: translate(0, -50%) rotate(45deg); }
  .features--pro .feature:hover strong { color: var(--green); }
}
.features--pro .feature strong { transition: color 180ms ease; }
.features--pro .feature:active .feature__icon { transform: scale(.96); }

@media (max-width: 1240px) {
  .features--pro .feature { padding: 22px 16px; gap: 12px; }
  .features--pro .feature__icon { width: 52px; height: 52px; }
  .features--pro .feature__icon img { height: 28px; }
  .features--pro .feature strong { font-size: 15px; }
  .features--pro .feature__body > span { font-size: 13px; line-height: 18px; }
  .features--pro .feature::after { display: none; }
}
@media (max-width: 1024px) {
  .features--pro { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; margin-inline: 0; }
  .features--pro > li::before { display: none; }
  .features--pro > li:nth-child(even) { border-left: 1px solid #e9eef4; }
  .features--pro > li:nth-child(n+3) { border-top: 1px solid #e9eef4; }
  .features--pro .feature { padding: 20px; }
}
@media (max-width: 640px) {
  .features--pro { grid-template-columns: 1fr; }
  .features--pro > li:nth-child(even) { border-left: 0; }
  .features--pro > li + li { border-top: 1px solid #e9eef4; }
  .features--pro .feature { padding: 16px 18px; }
  .features--pro .feature__icon { width: 48px; height: 48px; }
  .features--pro .feature__icon img { height: 26px; }
  .features--pro .feature::after { display: block; opacity: 1; right: 18px; transform: translate(0, -50%) rotate(45deg); }
}

/* Ajuste fino: títulos en una sola línea en escritorio */
@media (min-width: 1025px) {
  .features--pro .feature { padding: 24px 18px; gap: 12px; }
  .features--pro .feature__icon { width: 52px; height: 52px; }
  .features--pro .feature__icon img { height: 28px; }
  .features--pro .feature strong { font-size: 15px; letter-spacing: -.005em; }
  .features--pro .feature::after { display: none; }
}
@media (min-width: 1241px) {
  .features--pro { grid-template-columns: 1fr .9fr 1.16fr 1fr; }
  .features--pro .feature { padding: 24px 20px; }
  .features--pro .feature strong { font-size: 16px; white-space: nowrap; }
}
/* CTA "Ver todos los servicios" sin partirse en móvil */
@media (max-width: 640px) {
  .services__head .btn--w255 { width: auto; white-space: nowrap; }
}

/* =========================================================
   FOOTER MEJORADO (mismo modelo: fondo azul, logo, columnas)
   ========================================================= */
.footer { position: relative; }
.footer::before {
  /* Línea superior sutil con el verde de marca */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green) 0%, var(--green) 30%, rgba(64, 164, 93, 0) 100%);
}
.footer__grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(0, .8fr) minmax(0, .95fr) minmax(0, 1.55fr) minmax(0, 1fr);
  gap: 36px;
  padding: 64px 0 52px;
}
.footer__brand { margin-left: 0; }
.footer__logo { width: 204px; height: 113px; margin-left: 0; transition: opacity .2s ease; }
.footer__logo:hover { opacity: .9; }
.footer__slogan { max-width: 290px; margin-top: 22px; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .88); }
.footer__ruc { margin-top: 10px; font-size: 13px; letter-spacing: .02em; color: rgba(255, 255, 255, .6); }
.footer__brand .footer__social { margin: 22px 0 0; gap: 10px; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  transition: background-color 200ms ease, border-color 200ms ease, transform 160ms var(--ease-out);
}
.footer__social a img { width: 30px; height: 30px; }
@media (hover: hover) and (pointer: fine) {
  .footer__social a:hover { background-color: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .4); }
}

.footer__title, .footer__col h4 {
  margin-top: 0;
  margin-bottom: 18px;
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: .01em;
  color: var(--white);
}
.footer__links { gap: 10px; margin-top: 0; font-size: 15px; line-height: 22px; }
.footer__links a, .footer__contact a, .footer__legal-links a {
  color: rgba(255, 255, 255, .82);
  background-image: linear-gradient(currentColor, currentColor);
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 1px;
  transition: color 180ms ease, background-size 220ms var(--ease-out);
}
.footer__links a:hover, .footer__contact a:hover, .footer__legal-links a:hover { color: var(--white); background-size: 100% 1px; }
.footer__links a:focus-visible, .footer__contact a:focus-visible { color: var(--white); }

.footer__contact { margin-top: 0; font-size: 15px; line-height: 22px; color: rgba(255, 255, 255, .82); }
.footer__contact li { grid-template-columns: 22px 1fr; column-gap: 12px; }
.footer__contact li + li, .footer__contact li:nth-child(3) { margin-top: 14px; }
.footer__contact img { width: 20px; height: 20px; margin-top: 1px; object-fit: contain; }
.footer__contact span { display: block; }
.footer__phones { margin-top: 2px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.footer__phones a { display: inline; }

.footer__allies { align-items: center; gap: 10px; margin-top: 0; }
.footer__chip {
  display: grid;
  place-items: center;
  width: 86px;
  height: 72px;
  padding: 8px;
  border-radius: 14px;
  background: var(--white);
}
.footer__chip img { width: auto; max-width: 100%; height: 100%; max-height: 56px; object-fit: contain; }
.footer__book { width: 182px; height: auto; margin: 14px 0 0; border-radius: 12px; overflow: hidden; transition: transform 160ms var(--ease-out); }
.footer__book img { width: 100%; height: auto; aspect-ratio: 110 / 64; object-fit: contain; background: var(--white); }
.footer__book:active { transform: scale(.98); }

.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__bottom-inner { padding: 20px 0; gap: 24px; }
.footer__bottom p { margin-left: 0; font-family: "Poppins", sans-serif; font-size: 13px; color: rgba(255, 255, 255, .65); }
.footer__legal-links { display: flex; align-items: center; gap: 24px; margin-left: auto; font-size: 13px; color: rgba(255, 255, 255, .65); }
.footer__legal-links strong { color: var(--white); font-weight: 600; }
.footer__top {
  display: grid;
  place-items: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  transition: background-color 200ms ease, transform 160ms var(--ease-out);
}
.footer__top span {
  width: 9px;
  height: 9px;
  margin-top: 4px;
  border-top: 2px solid var(--white);
  border-left: 2px solid var(--white);
  transform: rotate(45deg);
}
@media (hover: hover) and (pointer: fine) { .footer__top:hover { background-color: var(--green); border-color: var(--green); } }
.footer__top:active { transform: scale(.94); }

@media (max-width: 1240px) {
  .footer__grid { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr) minmax(0, 1fr) minmax(0, 1.6fr); gap: 32px; }
  .footer__grid > .footer__col:last-child { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
  .footer__grid > .footer__col:last-child .footer__title { width: 100%; margin-bottom: 0; }
  .footer__grid > .footer__col:last-child .footer__book { margin: 0; width: 150px; }
}
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; padding: 52px 0 40px; }
  .footer__brand { grid-column: 1 / -1; }
  .footer__slogan { max-width: 420px; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; padding: 44px 0 32px; }
  .footer__grid > .footer__col:nth-child(4) { grid-column: 1 / -1; }
  .footer__bottom-inner { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 22px 0 26px; }
  .footer__legal-links { flex-direction: column; gap: 6px; margin: 0; }
  .footer__top { order: -1; }
  .footer__bottom p { order: 2; }
}
.footer__ruc span { display: block; }
.footer__ruc span + span { margin-top: 2px; }

/* =========================================================
   HEADER: AJUSTES FINOS DE PROPORCIÓN (misma estructura)
   ========================================================= */
/* Borde y sombra coherentes con el resto del sitio (sombras teñidas de azul) */
.header__bar {
  border: 1px solid rgba(18, 59, 94, .06);
  box-shadow: 0 1px 2px rgba(18, 59, 94, .05), 0 10px 28px rgba(18, 59, 94, .1);
  contain: layout;
}

/* Compactar con transform (no con top/height del botón) */
.header { transition: transform 280ms var(--ease-out); }
.header.is-scrolled { top: 27px; transform: translateY(-15px); }
.btn--cotizar { transform-origin: right center; transition: transform 160ms var(--ease-out), filter 200ms ease; }
.header.is-scrolled .btn--cotizar { height: 45px; transform: scale(.88); }
.header.is-scrolled .btn--cotizar:active { transform: scale(.86); }

@media (min-width: 1025px) {
  /* Menú centrado de verdad: tres columnas, el centro siempre al centro */
  .header__bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 17px 0 40px; /* derecha = margen vertical del botón: píldora concéntrica */
  }
  .brand { justify-self: start; }
  .btn--cotizar { justify-self: end; }

  /* Tipografía del menú más ligera y con aire */
  .nav { gap: 34px; }
  .nav > a, .nav__toggle { font-size: 14px; font-weight: 600; letter-spacing: .06em; }
  .nav__toggle { gap: 7px; }
  .nav__chevron { width: 7px; height: 12px; }
  .nav > a:not(.nav__cta)::after, .nav__toggle::after { bottom: -9px; }
  .nav__toggle::after { right: 14px; }

  /* Botón COTIZAR proporcionado a la barra */
  .btn--cotizar {
    width: auto;
    min-width: 160px;
    height: 46px;
    padding: 0 26px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .06em;
  }
  .header.is-scrolled .btn--cotizar { height: 46px; transform: scale(.87); }
  .header.is-scrolled .brand { transform: scale(.8); }

  /* Desplegable: abre con intención (80 ms) y no se cierra por un desliz (100 ms) */
  .nav__dropdown:hover:not(.is-open) .nav__menu {
    transition: opacity 180ms ease 80ms, transform 180ms var(--ease-out) 80ms, visibility 0s linear 80ms;
  }
  .nav__menu { transition: opacity 120ms ease 100ms, transform 120ms var(--ease-out) 100ms, visibility 0s linear 220ms; }
  .nav__dropdown.is-open .nav__menu { transition: opacity 180ms ease, transform 180ms var(--ease-out), visibility 0s; }
  /* Abierto con teclado: sin animación */
  .nav__dropdown.is-instant .nav__menu { transition: none; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .header__bar { padding: 0 14px 0 28px; }
  .nav { gap: 22px; }
  .nav > a, .nav__toggle { font-size: 13px; letter-spacing: .04em; }
  .btn--cotizar { min-width: 140px; padding: 0 20px; font-size: 13px; }
}

/* Celular y tablet: logo con aire dentro de la barra */
@media (max-width: 1024px) {
  .brand { transform: scale(.82); }
  .header.is-scrolled .brand { transform: scale(.76); }
  .header__bar { padding-left: 22px; }
}
@media (max-width: 640px) {
  .header__bar { padding: 0 12px 0 16px; }
  .header.is-scrolled { top: 12px; transform: none; }
}

/* Hover solo con puntero real (en celular el color quedaba "pegado") */
.nav > a:hover, .nav__toggle:hover { color: var(--navy); }
.nav > a.is-active:hover, .nav__dropdown.is-current .nav__toggle:hover { color: var(--green); }
@media (hover: hover) and (pointer: fine) {
  .nav > a:hover, .nav__toggle:hover { color: var(--green); }
}
.nav > .nav__cta, .nav > .nav__cta:hover { color: var(--white); }

/* Icono ☰ → ✕ con la curva del sitio */
.burger span { transition: transform 200ms var(--ease-out), opacity 150ms ease; }

/* Toque nativo: sin retraso de 300 ms ni selección de texto en controles */
.nav a, .nav__toggle, .burger, .btn--cotizar {
  touch-action: manipulation;
}
.nav__toggle, .burger, .btn--cotizar {
  -webkit-user-select: none;
  user-select: none;
}

@media (prefers-reduced-motion: reduce) {
  .header { transition: none; }
}
/* Centrado exacto: relleno simétrico; el aire extra del logo va en el propio logo */
@media (min-width: 1025px) {
  .header__bar { padding: 0 17px; }
  .brand { margin-left: 23px; }
}
@media (min-width: 1025px) and (max-width: 1240px) {
  .header__bar { padding: 0 14px; }
  .brand { margin-left: 14px; }
}
@media (min-width: 1025px) {
  .nav__dropdown { display: flex; align-items: center; }
  .nav__toggle { line-height: inherit; }
}

/* =========================================================
   INDICADORES DE CONFIANZA (bajo el hero de la Home)
   ========================================================= */
.trust {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  margin: 35px 2px 0 10px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid #e6ebf1;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(18, 59, 94, .04), 0 16px 40px rgba(18, 59, 94, .08);
}
.trust__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; margin: 0; list-style: none; }
.trust__stats > li { position: relative; display: flex; }
.trust__stats > li + li::before {
  content: "";
  position: absolute;
  top: 26px;
  bottom: 26px;
  left: 0;
  width: 1px;
  background: #e9eef4;
}
.trust__stat {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 26px 28px;
  transition: background-color 200ms ease;
}
.trust__num {
  flex: none;
  min-width: 1.4em;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--navy);
  transition: color 200ms ease;
}
.trust__label {
  max-width: 170px;
  font-weight: 500;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
}

/* Panel de aliados: el sello de confianza más fuerte del sitio */
.trust__allies {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 22px 28px;
  background: var(--navy);
  color: var(--white);
  transition: background-color 200ms ease;
}
.trust__allies-label { font-weight: 600; font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .85); }
.trust__logos { display: flex; gap: 12px; }
.trust__logo {
  display: grid;
  place-items: center;
  width: 92px;
  height: 64px;
  padding: 8px 10px;
  border-radius: 12px;
  background: var(--white);
  transition: transform 200ms var(--ease-out);
}
.trust__logo img { width: auto; max-width: 100%; height: 100%; max-height: 50px; object-fit: contain; }

@media (hover: hover) and (pointer: fine) {
  .trust__stat:hover { background-color: #f9fbfe; }
  .trust__stat:hover .trust__num { color: var(--green); }
  .trust__allies:hover { background-color: #164a74; }
  .trust__allies:hover .trust__logo { transform: translateY(-2px); }
}
.trust__stat:active .trust__num, .trust__allies:active .trust__logo { transform: scale(.97); }
.trust__num { display: inline-block; }
.trust__stat:focus-visible, .trust__allies:focus-visible { outline-offset: -4px; }

@media (max-width: 1240px) {
  .trust { grid-template-columns: minmax(0, 1fr) 280px; }
  .trust__stat { padding: 22px 20px; gap: 12px; }
  .trust__num { font-size: 40px; }
  .trust__label { font-size: 13px; line-height: 18px; }
  .trust__allies { padding: 20px 22px; }
  .trust__logo { width: 80px; height: 58px; }
}
@media (max-width: 1024px) {
  .trust { grid-template-columns: 1fr; margin-inline: 0; }
  .trust__allies { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (max-width: 640px) {
  .trust__stat { flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px 14px; }
  .trust__stats > li + li::before { top: 18px; bottom: 18px; }
  .trust__num { font-size: 32px; }
  .trust__label { font-size: 12px; line-height: 16px; }
  .trust__allies { padding: 16px 16px; gap: 12px; }
  .trust__allies-label { font-size: 13px; max-width: 120px; }
  .trust__logo { width: 72px; height: 52px; }
}
.trust__num { min-width: 0; }
.trust__stat { gap: 14px; }
.trust__label { max-width: 150px; }
@media (max-width: 640px) { .trust__label { max-width: none; } }

/* =========================================================
   HOME: RITMO UNIFORME Y PULIDO (sin fondos grises)
   ========================================================= */
/* Un solo ritmo vertical: 56px por lado = 112px entre secciones */
.page-home .services   { padding: 88px 0 56px; }
.page-home .about      { padding: 56px 0; }
.page-home .cert       { padding: 56px 0; }
.page-home .values     { padding: 56px 0; }
.page-home .sectors    { padding: 56px 0; }
.page-home .cases--home { padding: 56px 0; }
.page-home .cta-wrap   { padding: 56px 0; }
.page-home .clients    { padding: 56px 0 0; }
.page-home .map--home  { padding: 48px 0 112px; }

/* Encabezados de sección con la misma separación hacia su contenido */
.page-home .cert .iso-grid,
.page-home .values__grid,
.page-home .sector-grid { margin-top: 40px; }
.page-home .values__grid { margin-bottom: 0; }
.page-home .sector-grid { margin-bottom: 0; }
.page-home .cert .iso-grid { margin-bottom: 36px; }
.page-home .sectors__sub, .page-home .cert__sub { margin-top: 12px; }

/* Tarjetas sobre fondo blanco: borde y sombra suaves para que no "floten" sin límite */
.page-home .value { border-color: #e6ebf1; box-shadow: 0 1px 2px rgba(18, 59, 94, .04); }
.page-home .about__img { box-shadow: 0 20px 50px rgba(18, 59, 94, .12); }

/* Casos de éxito en tarjetas */
.cases--home .case-grid { margin-top: 40px; }
.cases--home .center { margin-top: 40px; }

/* Muro de clientes: centrado, misma altura óptica */
.page-home .clients__title { font-size: 22px; line-height: 32px; }
.page-home .clients__logos {
  justify-content: center;
  align-items: center;
  gap: 24px 56px;
  margin: 28px 0 0;
}
.page-home .clients__energia { width: auto; height: 64px; object-fit: contain; }
.page-home .clients__eos { width: auto; height: 60px; margin-right: 0; object-fit: contain; }
.page-home .clients__os { transform: scale(.9); }
.page-home .clients__conecsa { width: auto; height: 52px; object-fit: contain; }

/* Mapa con tarjeta de ubicación */
.map__wrap { position: relative; }
.map--home .map__link { pointer-events: auto; }
.map--home .map__link img { height: 520px; }
.map__card {
  position: absolute;
  top: 50%;
  left: 48px;
  width: 340px;
  padding: 28px;
  background: var(--white);
  border: 1px solid #e6ebf1;
  border-radius: 20px;
  box-shadow: 0 24px 60px rgba(18, 59, 94, .18);
  transform: translateY(-50%);
}
.map__title { font-weight: 700; font-size: 22px; line-height: 28px; color: var(--navy); }
.map__info { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 14px; font-size: 15px; line-height: 22px; color: var(--text); }
.map__label { display: block; margin-bottom: 2px; font-weight: 600; font-size: 13px; color: var(--navy); }
.map__info a { color: var(--text); transition: color 180ms ease; }
.map__info a:hover { color: var(--green); }

@media (max-width: 1024px) {
  .page-home .services, .page-home .about, .page-home .cert, .page-home .values,
  .page-home .sectors, .page-home .cases--home, .page-home .cta-wrap { padding: 44px 0; }
  .page-home .services { padding-top: 64px; }
  .page-home .clients { padding-top: 44px; }
  .page-home .map--home { padding: 40px 0 80px; }
  .map--home .map__link img { height: 380px; }
  .map__card { left: 24px; width: 300px; padding: 22px; }
}
@media (max-width: 640px) {
  .page-home .services, .page-home .about, .page-home .cert, .page-home .values,
  .page-home .sectors, .page-home .cases--home, .page-home .cta-wrap { padding: 36px 0; }
  .page-home .services { padding-top: 48px; }
  .page-home .clients__logos { gap: 20px 32px; }
  .page-home .clients__energia { height: 52px; }
  .page-home .clients__eos { height: 48px; }
  .page-home .clients__conecsa { height: 40px; }
  .map--home .map__link img { height: 260px; }
  .map__card { position: static; width: auto; margin-top: -40px; margin-inline: 12px; transform: none; padding: 20px; }
}
@media (max-width: 640px) {
  .page-home .values__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .page-home .value { min-height: 0; padding: 16px 12px; text-align: center; }
  .page-home .value img { height: 64px; margin-bottom: 10px; }
  .page-home .value h3 { margin-right: 0; font-size: 14px; line-height: 18px; }
  .page-home .value p { margin-top: 6px; font-size: 12px; line-height: 17px; }
}

/* Mapa interactivo (Google Maps embebido) */
.map__link { position: relative; background: #e9eef4; }
.map__frame { display: block; width: 100%; height: 582px; border: 0; }
.map--home .map__frame { height: 520px; }
.map__open { margin-top: 12px; text-align: right; font-size: 14px; }
.map__open a { color: var(--navy); font-weight: 600; }
.map__open a:hover { color: var(--green); }
@media (max-width: 1024px) {
  .map__frame, .map--home .map__frame { height: 420px; }
}
@media (max-width: 640px) {
  .map__frame, .map--home .map__frame { height: 320px; }
}

/* =========================================================
   HOME: ESPACIADO FINO (medido a 1440px)
   ========================================================= */
.page-home .trust { margin-top: 40px; }                 /* antes 8px pegado al slider */
.page-home .services { padding-top: 112px; }            /* ritmo 112px como el resto */
.page-home .clients { padding-bottom: 0; }
.page-home .map--home { padding-top: 112px; }           /* antes 44px */
.page-home .clients__logos { margin-top: 32px; }
.page-home .cert .iso-grid { margin-bottom: 40px; }     /* contenido → botón = 40px en todas */
@media (max-width: 1024px) {
  .page-home .trust { margin-top: 32px; }
  .page-home .services { padding-top: 80px; }
  .page-home .map--home { padding-top: 80px; }
}
@media (max-width: 640px) {
  .page-home .trust { margin-top: 24px; }
  .page-home .services { padding-top: 56px; }
  .page-home .map--home { padding-top: 56px; }
}

/* =========================================================
   WHATSAPP FLOTANTE (rediseño)
   ========================================================= */
.wa-float {
  position: fixed;
  right: max(24px, env(safe-area-inset-right, 0px) + 16px);
  bottom: max(24px, env(safe-area-inset-bottom, 0px) + 16px);
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  width: auto;
  height: auto;
  opacity: 1;
  transform: none;
  transition: opacity 220ms ease, transform 220ms var(--ease-out), visibility 0s;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.wa-float:hover { transform: none; }
/* Oculto sobre el hero (ya tiene sus CTA) y sobre el footer (ya tiene WhatsApp) */
.wa-float.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(12px) scale(.94);
  transition: opacity 160ms ease, transform 160ms var(--ease-out), visibility 0s linear 160ms;
}
.wa-float__btn {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(41, 167, 26, .35), 0 2px 6px rgba(18, 59, 94, .12);
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.wa-float .wa-float__bg { position: absolute; inset: 0; width: 100%; height: 100%; }
.wa-float .wa-float__icon { position: relative; left: auto; top: auto; width: 52px; height: 52px; }
.wa-float:active .wa-float__btn { transform: scale(.94); }

/* Etiqueta: aparece al pasar el mouse, crece desde el botón */
.wa-float__label {
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid #e6ebf1;
  box-shadow: 0 10px 28px rgba(18, 59, 94, .14);
  font-size: 14px;
  line-height: 18px;
  color: var(--text);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px) scale(.96);
  transform-origin: right center;
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms var(--ease-out);
}
.wa-float__label strong { color: var(--navy); font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .wa-float:hover .wa-float__btn { transform: scale(1.05); box-shadow: 0 12px 28px rgba(41, 167, 26, .42), 0 2px 6px rgba(18, 59, 94, .12); }
  .wa-float:hover .wa-float__label { opacity: 1; transform: none; transition-duration: 200ms; }
}
.wa-float:focus-visible { outline: none; }
.wa-float:focus-visible .wa-float__btn { outline: 3px solid var(--navy); outline-offset: 3px; }
.wa-float:focus-visible .wa-float__label { opacity: 1; transform: none; }

@media (max-width: 640px) {
  .wa-float { right: max(16px, env(safe-area-inset-right, 0px) + 12px); bottom: max(16px, env(safe-area-inset-bottom, 0px) + 12px); }
  .wa-float__btn { width: 54px; height: 54px; }
  .wa-float .wa-float__icon { width: 46px; height: 46px; }
  .wa-float__label { display: none; }
}
html.menu-open .wa-float { opacity: 0; visibility: hidden; pointer-events: none; }
@media (prefers-reduced-motion: reduce) {
  .wa-float, .wa-float.is-hidden, .wa-float__label, .wa-float__btn { transition-duration: .01ms; }
  .wa-float.is-hidden { transform: none; }
}
.wa-float .wa-float__icon { grid-area: 1 / 1; }
.wa-float__btn { grid-template-areas: "a"; }
.wa-float .wa-float__bg { grid-area: 1 / 1; }

/* =========================================================
   HOME: RITMO DE SECCIONES (escala 88 / 72 / 56)
   - 88px entre temas distintos
   - 72px entre bloques de cierre (casos → CTA → clientes)
   - 56px entre bloques que van juntos (clientes → mapa)
   ========================================================= */
.page-home .services     { padding: 80px 0 44px; }
.page-home .about        { padding: 44px 0; }
.page-home .cert         { padding: 44px 0; }
.page-home .values       { padding: 44px 0; }
.page-home .sectors      { padding: 44px 0; }
.page-home .cases--home  { padding: 44px 0 36px; }
.page-home .cta-wrap     { padding: 36px 0; }
.page-home .clients      { padding: 36px 0 0; }
.page-home .map--home    { padding: 56px 0 88px; }

@media (max-width: 1024px) {
  .page-home .services     { padding: 64px 0 36px; }
  .page-home .about, .page-home .cert, .page-home .values, .page-home .sectors { padding: 36px 0; }
  .page-home .cases--home  { padding: 36px 0 28px; }
  .page-home .cta-wrap     { padding: 28px 0; }
  .page-home .clients      { padding: 28px 0 0; }
  .page-home .map--home    { padding: 44px 0 72px; }
}
@media (max-width: 640px) {
  .page-home .services     { padding: 48px 0 28px; }
  .page-home .about, .page-home .cert, .page-home .values, .page-home .sectors { padding: 28px 0; }
  .page-home .cases--home  { padding: 28px 0 24px; }
  .page-home .cta-wrap     { padding: 24px 0; }
  .page-home .clients      { padding: 24px 0 0; }
  .page-home .map--home    { padding: 36px 0 56px; }
}

/* =========================================================
   HOME: DENSIDAD FINAL (sin fondos, el blanco se percibe mayor)
   Escala: 72 entre temas · 56 bloques de cierre · 40 grupo
           32 título→contenido · 32 contenido→botón
   ========================================================= */
.page-home .services     { padding: 72px 0 36px; }
.page-home .about        { padding: 36px 0; }
.page-home .cert         { padding: 36px 0; }
.page-home .values       { padding: 36px 0; }
.page-home .sectors      { padding: 36px 0; }
.page-home .cases--home  { padding: 36px 0 28px; }
.page-home .cta-wrap     { padding: 28px 0; }
.page-home .clients      { padding: 28px 0 0; }
.page-home .map--home    { padding: 40px 0 72px; }

/* Título → contenido y contenido → botón */
.page-home .slider { margin-top: 32px; }
.page-home .cert .iso-grid,
.page-home .values__grid,
.page-home .sector-grid,
.cases--home .case-grid { margin-top: 32px; }
.page-home .cert .iso-grid { margin-bottom: 32px; }
.cases--home .center { margin-top: 32px; }
.page-home .clients__logos { margin-top: 24px; }

/* Títulos de dos líneas con el mismo interlineado que el resto */
.page-home .values__title { line-height: 45px; }
.page-home .section-head__sub, .page-home .cert__sub, .page-home .sectors__sub, .page-home .cases__sub { margin-top: 10px; }
.page-home .cases__title { line-height: 54px; }

@media (max-width: 1024px) {
  .page-home .services     { padding: 56px 0 28px; }
  .page-home .about, .page-home .cert, .page-home .values, .page-home .sectors { padding: 28px 0; }
  .page-home .cases--home  { padding: 28px 0 24px; }
  .page-home .cta-wrap     { padding: 24px 0; }
  .page-home .clients      { padding: 24px 0 0; }
  .page-home .map--home    { padding: 32px 0 56px; }
  .page-home .slider, .page-home .cert .iso-grid, .page-home .values__grid,
  .page-home .sector-grid, .cases--home .case-grid { margin-top: 28px; }
}
@media (max-width: 640px) {
  .page-home .services     { padding: 40px 0 24px; }
  .page-home .about, .page-home .cert, .page-home .values, .page-home .sectors { padding: 24px 0; }
  .page-home .cases--home  { padding: 24px 0 20px; }
  .page-home .cta-wrap     { padding: 20px 0; }
  .page-home .clients      { padding: 20px 0 0; }
  .page-home .map--home    { padding: 28px 0 48px; }
  .page-home .slider, .page-home .cert .iso-grid, .page-home .values__grid,
  .page-home .sector-grid, .cases--home .case-grid { margin-top: 24px; }
  .page-home .values__title { line-height: 38px; }
}

/* =========================================================
   HOME: ESCALA TIPOGRÁFICA UNIFICADA (Poppins)
   Display 56 · H2 40 · Título menor 22 · H3 20 · Lead 18
   Cuerpo 16 · Secundario 14 · Etiqueta 13 · Cifras 46/800
   Pesos: 700 títulos · 600 etiquetas/acciones · 500 botones · 400 texto
   ========================================================= */
/* Display (hero) */
.page-home .hero__title { font-size: 56px; line-height: 64px; letter-spacing: -.01em; }
.page-home .hero__hl { line-height: 56px; }
.page-home .hero__text { font-size: 18px; line-height: 28px; font-weight: 500; }

/* H2: todos los títulos de sección iguales */
.page-home .title,
.page-home .cases__title,
.page-home .about .title,
.page-home .values__title,
.page-home .cta__title {
  font-size: 40px;
  line-height: 48px;
  font-weight: 700;
  letter-spacing: -.015em;
}

/* Lead / subtítulos de sección */
.page-home .section-head__sub,
.page-home .cert__sub,
.page-home .sectors__sub,
.page-home .cases__sub,
.page-home .cta__text { font-size: 18px; line-height: 28px; font-weight: 400; }
.page-home .about__lead { font-size: 18px; line-height: 28px; font-weight: 600; margin-top: 8px; }

/* Título menor (bloques secundarios) */
.page-home .clients__title,
.page-home .map__title { font-size: 22px; line-height: 30px; font-weight: 700; letter-spacing: -.01em; }

/* H3: títulos de tarjeta */
.page-home .srv-card__title { font-size: 20px; line-height: 26px; letter-spacing: -.005em; }
.page-home .iso-card__txt strong { font-size: 20px; line-height: 26px; }
.page-home .case-card__name { font-size: 20px; line-height: 26px; }
.page-home .value h3 { font-size: 16px; line-height: 22px; font-weight: 700; }
.page-home .sector figcaption { font-size: 20px; line-height: 26px; }

/* Cuerpo */
.page-home .about__body { font-size: 16px; line-height: 26px; }
.page-home .map__info { font-size: 15px; line-height: 24px; }

/* Secundario */
.page-home .value p,
.page-home .iso-card__txt span,
.page-home .trust__label { font-size: 14px; line-height: 22px; }
.page-home .iso-card__txt span { line-height: 18px; }

/* Etiquetas */
.page-home .map__label,
.page-home .case-card__chips li,
.page-home .case-card__tag { font-size: 13px; font-weight: 600; letter-spacing: .01em; }

/* Cifras: el único lugar con peso 800 */
.page-home .trust__num { font-size: 46px; font-weight: 800; letter-spacing: -.02em; }

/* Botones: un solo estilo de texto */
.page-home .btn { font-size: 16px; font-weight: 500; letter-spacing: 0; }

@media (max-width: 1024px) {
  .page-home .hero__title { font-size: 44px; line-height: 52px; }
  .page-home .hero__hl { line-height: 46px; }
  .page-home .title, .page-home .cases__title, .page-home .about .title,
  .page-home .values__title, .page-home .cta__title { font-size: 34px; line-height: 42px; }
}
@media (max-width: 640px) {
  .page-home .hero__title { font-size: 34px; line-height: 42px; }
  .page-home .hero__hl { line-height: 38px; }
  .page-home .hero__text { font-size: 16px; line-height: 24px; }
  .page-home .title, .page-home .cases__title, .page-home .about .title,
  .page-home .values__title, .page-home .cta__title { font-size: 28px; line-height: 36px; letter-spacing: -.01em; }
  .page-home .section-head__sub, .page-home .cert__sub, .page-home .sectors__sub,
  .page-home .cases__sub, .page-home .cta__text, .page-home .about__lead { font-size: 16px; line-height: 25px; }
  .page-home .srv-card__title, .page-home .case-card__name { font-size: 18px; line-height: 24px; }
  .page-home .sector figcaption { font-size: 16px; line-height: 22px; }
  .page-home .trust__num { font-size: 32px; }
  .page-home .trust__label { font-size: 12px; line-height: 16px; }
  .page-home .value h3 { font-size: 14px; line-height: 19px; }
  .page-home .value p { font-size: 12px; line-height: 17px; }
}
.page-home .map__info { font-size: 16px; line-height: 24px; }
.page-home .about .btn { width: auto; min-width: 255px; padding: 0 28px; }

/* =========================================================
   TARJETAS DE CASOS DE ÉXITO (rediseño)
   ========================================================= */
.case-card {
  border: 1px solid #e6ebf1;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(18, 59, 94, .04);
  transition: box-shadow 250ms ease, transform 160ms var(--ease-out), border-color 250ms ease;
}
.case-card__media { height: auto; aspect-ratio: 16 / 10; background: #eef2f6; }
.case-card__media img { transition: transform 600ms var(--ease-out); }
.case-card__body { padding: 22px 24px 20px; }

.case-card__kicker {
  font-weight: 600;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: .02em;
  color: var(--green);
}
.case-card__name {
  margin-top: 6px;
  min-height: 52px;               /* 2 líneas: alinea el resto de la tarjeta */
  font-weight: 700;
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -.005em;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.case-card__norms { margin-top: 18px; }
.case-card__norms-label { display: block; font-size: 12px; line-height: 16px; font-weight: 500; color: #7a8796; }
.case-card__body .case-card__chips {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}
.case-card__body .case-card__chips li {
  padding: 7px 0;
  border-radius: 8px;
  background: #f4f8fd;
  border: 1px solid #e3ebf5;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
  line-height: 16px;
  letter-spacing: .01em;
  color: var(--navy);
  font-variant-numeric: tabular-nums;
}

.case-card__foot { margin-top: 20px; padding-top: 16px; border-top: 1px solid #eef1f5; }
.case-card__issuer { display: flex; align-items: center; gap: 10px; }
.case-card__issuer img { width: 44px; height: 34px; object-fit: contain; }
.case-card__issuer > span { font-size: 12px; line-height: 15px; color: #7a8796; }
.case-card__issuer strong { display: block; font-size: 13px; font-weight: 600; color: var(--navy); }
.case-card__foot img[width="64"] { display: none; }
.case-card__link { font-size: 15px; font-weight: 600; }

@media (hover: hover) and (pointer: fine) {
  .case-card:hover { border-color: #d6e0eb; box-shadow: 0 18px 40px rgba(18, 59, 94, .12); transform: translateY(-3px); }
  .case-card:hover .case-card__media img { transform: scale(1.04); }
  .case-card:hover .case-card__link { color: var(--green); }
}
.case-card:active { transform: scale(.99); }

@media (max-width: 640px) {
  .case-card__body { padding: 18px 18px 16px; }
  .case-card__name { min-height: 0; font-size: 18px; line-height: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .case-card, .case-card__media img { transition: none; }
  .case-card:hover { transform: none; }
}

/* =========================================================
   CASOS DE ÉXITO · formato editorial (Home)
   Sin píldoras, sin chips de color, sin iconos decorativos:
   jerarquía tipográfica + líneas finas + foto como evidencia
   ========================================================= */
.cs__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e3e9f0;
}
.cs__head .title { text-align: left; }
.cs__intro { max-width: 520px; margin-top: 10px; font-size: 18px; line-height: 28px; color: var(--text); }

.cs-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  white-space: nowrap;
}
.cs-link .arrow { width: 15px; height: 12px; transform: scaleX(-1); transition: transform 200ms var(--ease-out); }
.cs-link--head { padding-bottom: 6px; }
@media (hover: hover) and (pointer: fine) {
  .cs-link:hover { color: var(--green); }
  .cs-link:hover .arrow { transform: scaleX(-1) translateX(-4px); }
}

/* Caso destacado */
.cs-feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 56px;
  align-items: center;
  padding: 40px 0;
  border-bottom: 1px solid #e3e9f0;
}
.cs-feature__media { display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; background: #eef2f6; }
.cs-feature__media img, .cs-compact__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.cs-feature__name { font-weight: 700; font-size: 32px; line-height: 38px; letter-spacing: -.015em; color: var(--navy); }
.cs-feature__name a, .cs-compact__name a { color: inherit; }
.cs-feature__desc { margin-top: 14px; font-size: 16px; line-height: 26px; color: var(--text); }

.cs-result { display: flex; align-items: center; gap: 16px; margin-top: 28px; }
.cs-result__num { font-weight: 800; font-size: 64px; line-height: 1; letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.cs-result__label { font-weight: 600; font-size: 15px; line-height: 21px; color: var(--navy); }

.cs-norms { margin: 24px 0 0; padding: 0; border-top: 1px solid #e3e9f0; }
.cs-norms__row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid #eef2f6;
  font-size: 14px;
  line-height: 20px;
}
.cs-norms dt { font-weight: 700; color: var(--navy); font-variant-numeric: tabular-nums; }
.cs-norms dt span { font-weight: 400; color: #8a96a3; }
.cs-norms dd { margin: 0; color: var(--text); }

.cs-feature__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; }
.cs-issuer { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; line-height: 18px; color: #6b7785; }
.cs-issuer img { width: 40px; height: 30px; object-fit: contain; }

/* Casos compactos */
.cs__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cs-compact {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: 32px 0;
}
.cs-compact + .cs-compact { padding-left: 40px; border-left: 1px solid #e3e9f0; }
.cs-compact:first-child { padding-right: 40px; }
.cs-compact__media { display: block; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden; background: #eef2f6; }
.cs-compact__name { font-weight: 700; font-size: 20px; line-height: 26px; letter-spacing: -.005em; color: var(--navy); }
.cs-compact__result { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--text); }
.cs-compact__norms { margin: 6px 0 14px; font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: .02em; color: var(--navy); font-variant-numeric: tabular-nums; }

@media (hover: hover) and (pointer: fine) {
  .cs-feature:hover .cs-feature__media img, .cs-compact:hover .cs-compact__media img { transform: scale(1.03); }
  .cs-feature__name a:hover, .cs-compact__name a:hover { color: var(--green); }
}

/* Espaciado de la sección */
.page-home .cs { padding-bottom: 36px; }

@media (max-width: 1024px) {
  .cs-feature { grid-template-columns: 1fr; gap: 28px; }
  .cs__more { grid-template-columns: 1fr; }
  .cs-compact + .cs-compact { padding-left: 0; border-left: 0; border-top: 1px solid #e3e9f0; }
  .cs-compact:first-child { padding-right: 0; }
}
@media (max-width: 640px) {
  .cs__head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .cs__intro { font-size: 16px; line-height: 25px; }
  .cs-feature { padding: 28px 0; }
  .cs-feature__name { font-size: 24px; line-height: 30px; }
  .cs-result__num { font-size: 52px; }
  .cs-norms__row { grid-template-columns: 112px 1fr; gap: 10px; font-size: 13px; }
  .cs-feature__foot { flex-direction: column; align-items: flex-start; }
  .cs-compact { grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 24px 0; }
  .cs-compact__name { font-size: 17px; line-height: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .cs-feature__media img, .cs-compact__media img { transition: none; }
}

/* Casos: soporte para homologación + 3 casos compactos */
.cs-feature__kicker { margin-bottom: 8px; font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: .02em; color: var(--green); }
.cs-feature--homologacion .cs-feature__media { aspect-ratio: 4 / 3; }
.cs-feature--homologacion .cs-feature__media img { object-position: center 30%; }
.cs-steps__title { margin-top: 24px; padding-top: 16px; border-top: 1px solid #e3e9f0; font-weight: 600; font-size: 14px; color: var(--navy); }
.cs-steps { margin: 10px 0 0; padding: 0; list-style: none; counter-reset: step; }
.cs-steps li {
  position: relative;
  padding: 8px 0 8px 34px;
  border-bottom: 1px solid #eef2f6;
  font-size: 14px;
  line-height: 20px;
  color: var(--text);
  counter-increment: step;
}
.cs-steps li::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 8px;
  font-weight: 700;
  font-size: 13px;
  color: var(--green);
  font-variant-numeric: tabular-nums;
}
.cs__more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cs-compact { grid-template-columns: 112px minmax(0, 1fr); gap: 18px; padding: 32px 0; align-items: start; }
.cs-compact + .cs-compact { padding-left: 28px; border-left: 1px solid #e3e9f0; }
.cs-compact:not(:last-child) { padding-right: 28px; }
.cs-compact__name { font-size: 17px; line-height: 22px; }
.cs-compact__media { aspect-ratio: 1 / 1; }
.cs--embed .cs-feature { border-bottom: 0; padding-bottom: 0; }
.case__result { margin-top: 14px; font-weight: 600; font-size: 16px; color: var(--navy); }
.case__result span { font-weight: 800; font-size: 28px; color: var(--green); }
.case--homologacion .case__photo { object-fit: cover; object-position: center 30%; }
.case-card__chips--3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
@media (max-width: 1024px) {
  .cs__more { grid-template-columns: 1fr; }
  .cs-compact + .cs-compact { padding-left: 0; border-left: 0; border-top: 1px solid #e3e9f0; }
  .cs-compact:not(:last-child) { padding-right: 0; }
}

/* =========================================================
   CASOS DE ÉXITO · tarjetas "story" (escalables)
   ========================================================= */
.stories__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
}
.stories__head .title { text-align: left; }
.stories__intro { max-width: 560px; margin-top: 10px; font-size: 18px; line-height: 28px; color: var(--text); }
.stories__controls { display: flex; align-items: center; gap: 10px; flex: none; }
.stories__controls .cs-link { margin-right: 14px; }
.stories__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #d6e0eb;
  border-radius: 50%;
  background: var(--white);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease, opacity 200ms ease, transform 140ms var(--ease-out);
}
.stories__arrow .arrow { width: 15px; height: 12px; }
.stories__arrow--next .arrow { transform: scaleX(-1); }
.stories__arrow.is-disabled { opacity: .35; cursor: default; }
.stories__arrow:not(.is-disabled):active { transform: scale(.94); }
@media (hover: hover) and (pointer: fine) {
  .stories__arrow:not(.is-disabled):hover { background: var(--navy); border-color: var(--navy); }
  .stories__arrow:not(.is-disabled):hover .arrow { filter: brightness(0) invert(1); }
}

.stories__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  margin-top: 32px;
  padding-bottom: 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.stories__track::-webkit-scrollbar { display: none; }
.stories__track > .story { scroll-snap-align: start; }

/* Tarjeta */
.story { position: relative; }
.story__link {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
  transition: transform 160ms var(--ease-out), box-shadow 300ms ease;
}
.story__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.story[data-type="homologacion"] .story__img { object-position: center 28%; }
.story__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 59, 94, 0) 30%, rgba(18, 59, 94, .72) 58%, rgba(13, 44, 71, .97) 100%);
}
.story__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
}
.story__kicker { font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: .02em; color: #8fdca3; }
.story__name {
  margin-top: 6px;
  font-weight: 700;
  font-size: 22px;
  line-height: 28px;
  letter-spacing: -.01em;
  color: var(--white);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story__result { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.story__num { font-weight: 800; font-size: 44px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.story__label { max-width: 160px; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .85); }
.story__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, .2);
}
.story__issuer { font-size: 13px; color: rgba(255, 255, 255, .75); }
.story__issuer strong { color: var(--white); font-weight: 600; }
.story__go {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--green);
  transition: transform 200ms var(--ease-out);
}
.story__go .arrow { width: 14px; height: 11px; transform: scaleX(-1); }
.story__link:active { transform: scale(.985); }
.story__link:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .story__link:hover { box-shadow: 0 22px 46px rgba(18, 59, 94, .22); }
  .story__link:hover .story__img { transform: scale(1.05); }
  .story__link:hover .story__go { transform: translateX(3px); }
}

/* Filtro y grilla (página Casos de éxito) */
.story-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 32px; }
.story-filter__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border: 1px solid #d6e0eb;
  border-radius: 999px;
  background: var(--white);
  font: 600 14px/1 "Poppins", sans-serif;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}
.story-filter__btn span { font-weight: 500; font-size: 12px; color: #7a8796; }
.story-filter__btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
.story-filter__btn.is-active span { color: rgba(255, 255, 255, .7); }
.story-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.story-grid .story[hidden] { display: none; }

@media (max-width: 1024px) {
  .stories__track { grid-auto-columns: calc((100% - 24px) / 2); }
  .story-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .stories__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .stories__intro { font-size: 16px; line-height: 25px; }
  .stories__controls { width: 100%; }
  .stories__controls .cs-link { margin-right: auto; }
  .stories__track { grid-auto-columns: 84%; gap: 14px; margin-right: -16px; padding-right: 16px; }
  .story-grid { grid-template-columns: 1fr; }
  .story__body { padding: 20px; }
  .story__name { font-size: 20px; line-height: 26px; }
  .story__num { font-size: 38px; }
}
@media (prefers-reduced-motion: reduce) {
  .story__img, .story__link, .story__go { transition: none; }
}
.slider__track.is-dragging .story__link { pointer-events: none; }
.stories__track .story__img { -webkit-user-drag: none; user-select: none; }
.story__shade { background: linear-gradient(180deg, rgba(18, 59, 94, 0) 22%, rgba(18, 59, 94, .78) 52%, rgba(13, 44, 71, .98) 100%); }
.story[data-type="homologacion"] .story__shade { background: linear-gradient(180deg, rgba(13, 44, 71, .15) 0%, rgba(13, 44, 71, .82) 45%, rgba(13, 44, 71, .98) 100%); }

/* =========================================================
   CASOS DE ÉXITO · propuesta B "visor" (índice + panel)
   ========================================================= */
.spot {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: 32px;
  margin-top: 32px;
  align-items: start;
}
.spot__index {
  display: flex;
  flex-direction: column;
  max-height: 560px;
  overflow-y: auto;
  scrollbar-width: thin;
  border-top: 1px solid #e3e9f0;
}
.spot__tab {
  position: relative;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 18px 16px 18px 18px;
  border: 0;
  border-bottom: 1px solid #e3e9f0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 180ms ease;
}
.spot__tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12px;
  bottom: 12px;
  width: 3px;
  border-radius: 3px;
  background: var(--green);
  transform: scaleY(0);
  transition: transform 220ms var(--ease-out);
}
.spot__no { font-weight: 700; font-size: 13px; color: #9aa6b3; font-variant-numeric: tabular-nums; }
.spot__tab-kicker { display: block; font-size: 12px; line-height: 16px; color: #7a8796; }
.spot__tab-name {
  display: block;
  margin-top: 2px;
  font-weight: 700;
  font-size: 16px;
  line-height: 21px;
  color: var(--navy);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.spot__tab-num { font-weight: 800; font-size: 22px; letter-spacing: -.02em; color: #b6c2cf; font-variant-numeric: tabular-nums; transition: color 180ms ease; }
.spot__tab.is-active { background: #f6f9fc; }
.spot__tab.is-active::before { transform: scaleY(1); }
.spot__tab.is-active .spot__no, .spot__tab.is-active .spot__tab-num { color: var(--green); }
.spot__tab:focus-visible { outline: 3px solid var(--green); outline-offset: -3px; }
@media (hover: hover) and (pointer: fine) {
  .spot__tab:not(.is-active):hover { background: #fafcfe; }
  .spot__tab:not(.is-active):hover .spot__tab-num { color: var(--navy); }
}

.spot__stage { position: relative; }
.spot__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  border: 1px solid #e6ebf1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 59, 94, .08);
}
.spot__panel.is-active { animation: spotIn 260ms var(--ease-out); }
@keyframes spotIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.spot__media { position: relative; min-height: 100%; background: #eef2f6; }
.spot__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.spot__badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: calc(100% - 36px);
  padding: 10px 16px 10px 12px;
  border-radius: 14px;
  background: rgba(13, 44, 71, .92);
  color: rgba(255, 255, 255, .9);
  font-size: 13px;
  line-height: 17px;
}
.spot__badge strong { font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.02em; color: var(--white); }
.spot__content { display: flex; flex-direction: column; padding: 32px 32px 26px; }
.spot__kicker { font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: .02em; color: var(--green); }
.spot__name { margin-top: 6px; font-weight: 700; font-size: 26px; line-height: 32px; letter-spacing: -.015em; color: var(--navy); }
.spot__desc { margin-top: 12px; font-size: 15px; line-height: 24px; color: var(--text); }
.spot__facts { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; }
.spot__facts li { padding: 9px 0; border-bottom: 1px solid #eef2f6; font-size: 14px; line-height: 20px; color: var(--text); }
.spot__facts strong { display: inline-block; min-width: 88px; color: var(--navy); font-weight: 700; }
.spot__facts--list { counter-reset: s; }
.spot__facts--list li { position: relative; padding-left: 30px; counter-increment: s; }
.spot__facts--list li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 0; font-weight: 700; font-size: 13px; color: var(--green); }
.spot__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 20px; }

@media (max-width: 1024px) {
  .spot { grid-template-columns: 1fr; gap: 20px; }
  .spot__index {
    flex-direction: row;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    border-top: 0;
    gap: 8px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }
  .spot__index::-webkit-scrollbar { display: none; }
  .spot__tab { flex: 0 0 auto; width: auto; max-width: 260px; grid-template-columns: auto minmax(0, 1fr); padding: 12px 16px; border: 1px solid #e3e9f0; border-radius: 14px; scroll-snap-align: start; }
  .spot__tab::before { display: none; }
  .spot__tab-num { display: none; }
  .spot__tab.is-active { background: var(--navy); border-color: var(--navy); }
  .spot__tab.is-active .spot__tab-name { color: var(--white); }
  .spot__tab.is-active .spot__tab-kicker { color: rgba(255, 255, 255, .7); }
  .spot__tab-name { -webkit-line-clamp: 1; white-space: nowrap; }
}
@media (max-width: 640px) {
  .spot__panel { grid-template-columns: 1fr; }
  .spot__media { aspect-ratio: 4 / 3; min-height: 0; }
  .spot__content { padding: 22px 20px 20px; }
  .spot__name { font-size: 22px; line-height: 28px; }
  .spot__foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { .spot__panel.is-active { animation: none; } }
.spot__panel[hidden] { display: none; }
.spot__panel { min-height: 520px; }
@media (max-width: 640px) { .spot__panel { min-height: 0; } }

/* =========================================================
   CASOS DE ÉXITO · propuesta C "lista" (fácil de usar)
   ========================================================= */
.clist { margin: 32px 0 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.clist__item[hidden] { display: none; }
.clist__row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) 210px 150px auto;
  align-items: center;
  gap: 28px;
  padding: 14px 20px 14px 14px;
  background: var(--white);
  border: 1px solid #e3e9f0;
  border-radius: 18px;
  transition: border-color 200ms ease, box-shadow 250ms ease, transform 140ms var(--ease-out);
}
.clist__thumb { display: block; width: 120px; height: 90px; border-radius: 12px; overflow: hidden; background: #eef2f6; }
.clist__thumb img { width: 100%; height: 100%; object-fit: cover; }
.clist__type { display: block; font-weight: 600; font-size: 13px; line-height: 18px; color: var(--green); }
.clist__name { display: block; margin-top: 2px; font-weight: 700; font-size: 18px; line-height: 24px; color: var(--navy); }
.clist__meta { display: block; margin-top: 4px; font-size: 13px; line-height: 18px; color: #7a8796; font-variant-numeric: tabular-nums; }
.clist__result { display: flex; align-items: center; gap: 10px; }
.clist__num { font-weight: 800; font-size: 34px; line-height: 1; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.clist__label { font-size: 13px; line-height: 17px; color: var(--text); }
.clist__issuer { font-size: 12px; line-height: 16px; color: #7a8796; }
.clist__issuer strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); }
.clist__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
}
.clist__cta .arrow { width: 14px; height: 11px; transform: scaleX(-1); transition: transform 200ms var(--ease-out); }
.clist__row:active { transform: scale(.995); }
.clist__row:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
  .clist__row:hover { border-color: #cfdbe7; box-shadow: 0 12px 30px rgba(18, 59, 94, .1); }
  .clist__row:hover .clist__num { color: var(--green); }
  .clist__row:hover .clist__cta .arrow { transform: scaleX(-1) translateX(-3px); }
}
.clist__more { display: flex; justify-content: center; margin-top: 24px; }
.clist__more-btn { border: 1px solid #d6e0eb; cursor: pointer; }

@media (max-width: 1240px) {
  .clist__row { grid-template-columns: 110px minmax(0, 1fr) 190px auto; gap: 20px; }
  .clist__issuer { display: none; }
}
@media (max-width: 1024px) {
  .clist__row { grid-template-columns: 100px minmax(0, 1fr) auto; }
  .clist__thumb { width: 100px; height: 80px; }
  .clist__result { grid-column: 2; grid-row: 2; }
  .clist__cta { grid-column: 3; grid-row: 1 / span 2; }
}
@media (max-width: 640px) {
  .clist__row { grid-template-columns: 84px minmax(0, 1fr); gap: 6px 14px; padding: 12px; }
  .clist__thumb { width: 84px; height: 84px; grid-row: 1 / span 2; }
  .clist__name { font-size: 16px; line-height: 21px; }
  .clist__meta { display: none; }
  .clist__result { grid-column: 2; grid-row: 2; }
  .clist__num { font-size: 26px; }
  .clist__label { font-size: 12px; line-height: 15px; }
  .clist__cta { grid-column: 1 / -1; grid-row: 3; justify-content: center; margin-top: 6px; height: 40px; }
}

/* =========================================================
   CASOS DE ÉXITO · propuesta D "portafolio"
   Foto grande + categoría + cliente + resultado visible
   ========================================================= */
.folio-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.folio-filter__btn {
  height: 40px;
  padding: 0 18px;
  border: 1px solid #d6e0eb;
  border-radius: 999px;
  background: var(--white);
  font: 600 14px/1 "Poppins", sans-serif;
  color: var(--navy);
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 140ms var(--ease-out);
}
.folio-filter__btn:active { transform: scale(.97); }
.folio-filter__btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--white); }
@media (hover: hover) and (pointer: fine) { .folio-filter__btn:not(.is-active):hover { border-color: var(--navy); } }

.folio { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 32px; margin-top: 28px; }
.folio__item[hidden] { display: none; }
.folio__card { display: block; color: inherit; }
.folio__card:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; border-radius: 22px; }
.folio__media { position: relative; display: block; aspect-ratio: 16 / 10; border-radius: 20px; overflow: hidden; background: #eef2f6; isolation: isolate; }
.folio__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.folio__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(13, 44, 71, .35);
  opacity: 0;
  transition: opacity 260ms ease;
}
.folio__view {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  background: var(--white);
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  opacity: 0;
  transform: translate(-50%, -50%) scale(.94);
  transition: opacity 220ms ease, transform 220ms var(--ease-out);
}
.folio__view .arrow { width: 14px; height: 11px; transform: scaleX(-1); }

.folio__info { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: 20px 4px 0; }
.folio__text { min-width: 0; }
.folio__cat { display: block; font-weight: 600; font-size: 13px; line-height: 18px; letter-spacing: .02em; color: var(--green); }
.folio__name { margin-top: 6px; font-weight: 700; font-size: 22px; line-height: 28px; letter-spacing: -.01em; color: var(--navy); transition: color 180ms ease; }
.folio__sub { display: block; margin-top: 4px; font-size: 14px; line-height: 20px; color: #7a8796; }
.folio__metric { flex: none; display: flex; flex-direction: column; align-items: flex-end; text-align: right; padding-left: 20px; border-left: 1px solid #e3e9f0; }
.folio__num { font-weight: 800; font-size: 36px; line-height: 1; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.folio__lbl { max-width: 150px; margin-top: 6px; font-size: 12px; line-height: 16px; color: var(--text); }

@media (hover: hover) and (pointer: fine) {
  .folio__card:hover .folio__media img { transform: scale(1.04); }
  .folio__card:hover .folio__media::after { opacity: 1; }
  .folio__card:hover .folio__view { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  .folio__card:hover .folio__name { color: var(--green); }
}
.folio__more { display: flex; justify-content: center; margin-top: 36px; }
.folio__more-btn { border: 1px solid #d6e0eb; cursor: pointer; }

@media (max-width: 640px) {
  .folio { grid-template-columns: 1fr; gap: 32px; }
  .folio__info { padding-top: 16px; gap: 16px; }
  .folio__name { font-size: 19px; line-height: 25px; }
  .folio__num { font-size: 28px; }
  .folio__metric { padding-left: 14px; }
  .folio__lbl { max-width: 110px; }
}
@media (prefers-reduced-motion: reduce) {
  .folio__media img, .folio__view, .folio__media::after { transition: none; }
}
/* Botón "Ver todos los casos": mismo estilo que "Ver todos los servicios" */
.stories__all { min-width: 255px; justify-content: center; }
.stories__controls .stories__all { margin-right: 6px; }
@media (max-width: 640px) {
  .stories__all { min-width: 0; }
  .stories__controls .stories__all { margin-right: auto; }
}

/* =========================================================
   PORTAFOLIO DE CASOS · tarjeta completa
   ========================================================= */
.folio__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid #e3e9f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(18, 59, 94, .04);
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 160ms var(--ease-out);
}
.folio__item { display: flex; }
.folio__media { border-radius: 0; aspect-ratio: 16 / 9; }
.folio__media::after, .folio__view { display: none; }
.folio__body { display: flex; flex: 1; flex-direction: column; padding: 24px 26px 0; }
.folio__cat { font-size: 13px; }
.folio__name { margin-top: 6px; font-size: 22px; line-height: 28px; }
.folio__legal { display: block; margin-top: 2px; font-size: 12px; line-height: 17px; letter-spacing: .01em; color: #8a96a3; }
.folio__summary { display: block; margin-top: 10px; font-size: 15px; line-height: 23px; color: var(--text); }

.folio__data {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  margin-top: 20px;
  padding: 18px 0;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
}
.folio__metric { padding: 0 22px 0 0; border-left: 0; border-right: 1px solid #e3e9f0; align-items: flex-start; text-align: left; }
.folio__num { font-size: 40px; color: var(--green); }
.folio__lbl { max-width: 130px; margin-top: 6px; }
.folio__facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
.folio__fact { display: block; min-width: 0; }
.folio__fact strong { display: block; font-weight: 700; font-size: 13px; line-height: 18px; color: var(--navy); font-variant-numeric: tabular-nums; }
.folio__fact span { display: block; font-size: 12px; line-height: 16px; color: #8a96a3; }
.folio__item[data-type="homologacion"] .folio__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.folio__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding: 16px 0 20px; }
.folio__issuer { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; line-height: 15px; color: #7a8796; }
.folio__issuer img { width: 42px; height: 32px; object-fit: contain; }
.folio__issuer strong { display: block; font-size: 14px; font-weight: 600; color: var(--navy); }
.folio__go { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--navy); white-space: nowrap; transition: color 180ms ease; }
.folio__go .arrow { width: 15px; height: 12px; transform: scaleX(-1); transition: transform 200ms var(--ease-out); }

@media (hover: hover) and (pointer: fine) {
  .folio__card:hover { border-color: #cfdbe7; box-shadow: 0 20px 44px rgba(18, 59, 94, .12); transform: translateY(-3px); }
  .folio__card:hover .folio__media img { transform: scale(1.04); }
  .folio__card:hover .folio__name { color: var(--navy); }
  .folio__card:hover .folio__go { color: var(--green); }
  .folio__card:hover .folio__go .arrow { transform: scaleX(-1) translateX(-4px); }
}
.folio__card:active { transform: scale(.995); }

@media (max-width: 640px) {
  .folio__body { padding: 18px 18px 0; }
  .folio__name { font-size: 19px; line-height: 25px; }
  .folio__summary { font-size: 14px; line-height: 21px; }
  .folio__data { grid-template-columns: 1fr; gap: 14px; }
  .folio__metric { flex-direction: row; align-items: center; gap: 10px; padding: 0 0 14px; border-right: 0; border-bottom: 1px solid #eef2f6; }
  .folio__lbl { margin-top: 0; max-width: none; }
  .folio__num { font-size: 32px; }
  .folio__foot { padding: 14px 0 16px; }
}
@media (prefers-reduced-motion: reduce) { .folio__card { transition: none; } .folio__card:hover { transform: none; } }

/* Portafolio de casos: tarjetas más compactas (3 por fila) */
.folio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.folio__media { aspect-ratio: 16 / 10; }
.folio__body { padding: 18px 20px 0; }
.folio__cat { font-size: 12px; line-height: 16px; }
.folio__name { margin-top: 4px; font-size: 18px; line-height: 24px; }
.folio__legal { font-size: 11px; line-height: 15px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.folio__summary { margin-top: 8px; font-size: 14px; line-height: 21px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.folio__data { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; padding: 12px 0; }
.folio__metric { flex-direction: row; align-items: center; gap: 10px; padding: 0; border-right: 0; }
.folio__num { font-size: 30px; }
.folio__lbl { margin-top: 0; max-width: none; font-size: 12px; line-height: 16px; }
.folio__facts { grid-template-columns: repeat(4, minmax(0, auto)); justify-content: start; gap: 4px 16px; }
.folio__fact span { display: none; }
.folio__fact strong { font-size: 12px; line-height: 16px; font-weight: 600; color: #6b7785; }
.folio__item[data-type="homologacion"] .folio__facts { grid-template-columns: repeat(3, minmax(0, auto)); }
.folio__foot { padding: 12px 0 14px; }
.folio__issuer img { width: 34px; height: 26px; }
.folio__issuer { font-size: 11px; }
.folio__issuer strong { font-size: 13px; }
.folio__go { font-size: 14px; }

@media (max-width: 1024px) { .folio { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .folio { grid-template-columns: 1fr; gap: 20px; }
  .folio__body { padding: 16px 16px 0; }
  .folio__facts { grid-template-columns: repeat(2, minmax(0, auto)); }
}

/* =========================================================
   PORTAFOLIO DE CASOS · versión simple, foto protagonista
   ========================================================= */
.folio__card { border: 0; box-shadow: none; background: transparent; border-radius: 0; overflow: visible; }
.folio__media {
  aspect-ratio: 4 / 3;
  border-radius: 18px;
  box-shadow: 0 1px 2px rgba(18, 59, 94, .06);
}
.folio__body { padding: 16px 2px 0; }
.folio__cat { font-size: 12px; line-height: 16px; letter-spacing: .03em; color: #7a8796; font-weight: 600; }
.folio__name { margin-top: 4px; font-size: 19px; line-height: 25px; color: var(--navy); }
.folio__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 0; border: 0; }
.folio__seals { display: flex; align-items: center; gap: 10px; }
.folio__seals img { width: auto; height: 34px; }
.folio__score { font-size: 14px; font-weight: 600; color: var(--navy); }
.folio__score strong { margin-right: 4px; font-weight: 800; font-size: 26px; letter-spacing: -.02em; color: var(--green); vertical-align: -2px; }
.folio__go {
  display: grid;
  place-items: center;
  flex: none;
  width: 38px;
  height: 38px;
  border: 1px solid #d6e0eb;
  border-radius: 50%;
  transition: background-color 180ms ease, border-color 180ms ease;
}
.folio__go .arrow { width: 14px; height: 11px; transform: scaleX(-1); transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .folio__card:hover { box-shadow: none; transform: none; }
  .folio__card:hover .folio__media { box-shadow: 0 18px 40px rgba(18, 59, 94, .16); }
  .folio__card:hover .folio__media img { transform: scale(1.05); }
  .folio__card:hover .folio__name { color: var(--green); }
  .folio__card:hover .folio__go { background: var(--navy); border-color: var(--navy); }
  .folio__card:hover .folio__go .arrow { filter: brightness(0) invert(1); }
}
.folio__media { transition: box-shadow 300ms ease; }
.folio { gap: 32px 24px; }
@media (max-width: 640px) {
  .folio__name { font-size: 18px; line-height: 24px; }
  .folio__seals img { height: 30px; }
}
.folio__seals { gap: 12px; }
.folio__seals img { height: 44px; }
@media (max-width: 640px) { .folio__seals img { height: 38px; } }

/* Portafolio: línea de datos en lugar de sellos */
.folio__seals, .folio__score { display: none; }
.folio__body { padding-top: 18px; }
.folio__foot { margin-top: 14px; padding-top: 14px; border-top: 1px solid #e8edf3; }
.folio__meta { display: flex; align-items: baseline; gap: 12px; min-width: 0; }
.folio__stat { flex: none; font-size: 14px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.folio__stat strong { margin-right: 3px; font-weight: 800; font-size: 20px; letter-spacing: -.01em; color: var(--green); }
.folio__codes {
  min-width: 0;
  padding-left: 12px;
  border-left: 1px solid #dfe6ee;
  font-size: 13px;
  font-weight: 500;
  color: #7a8796;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Portafolio de casos como slider (3 visibles, el resto se desliza) */
.folio--slider {
  display: grid;
  grid-template-columns: none;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 48px) / 3);
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 6px;
  cursor: grab;
}
.folio--slider::-webkit-scrollbar { display: none; }
.folio--slider > .folio__item { scroll-snap-align: start; }
.folio--slider.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.folio--slider.is-dragging .folio__card { pointer-events: none; }
.folio--slider img { -webkit-user-drag: none; }
.folio--slider:focus-visible { outline: 3px solid var(--green); outline-offset: 6px; border-radius: 20px; }
.folio__more { display: none !important; }
@media (max-width: 1024px) { .folio--slider { grid-auto-columns: calc((100% - 24px) / 2); grid-template-columns: none; } }
@media (max-width: 640px) {
  .folio--slider { grid-auto-columns: 84%; grid-template-columns: none; gap: 16px; margin-right: -16px; padding-right: 16px; }
}

/* Flechas del slider de casos a los costados (como el slider de servicios) */
.folio-wrap { position: relative; }
.folio-wrap .round-arrow { position: absolute; top: calc((100% - 120px) / 2); z-index: 3; transform: translateY(-50%); transition: opacity 250ms ease; }
.folio-wrap .round-arrow--next { transform: translateY(-50%) rotate(180deg); }
.folio-wrap__prev { left: -25px; }
.folio-wrap__next { right: -25px; }
.folio-wrap .round-arrow.is-disabled { opacity: 0; pointer-events: none; }
.folio-wrap .round-arrow img { transition: transform 160ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .folio-wrap .round-arrow:hover img { transform: scale(1.06); } }
.folio-wrap .round-arrow:active img { transform: scale(.94); }
@media (max-width: 1024px) { .folio-wrap__prev { left: -10px; } .folio-wrap__next { right: -10px; } }
@media (max-width: 640px) { .folio-wrap .round-arrow { display: none; } }
/* centradas sobre la foto (4:3): mitad del alto de la imagen */
.folio-wrap .round-arrow { top: calc((min(1200px, 100vw - 32px) - 48px) / 3 * .375); }
@media (max-width: 1024px) { .folio-wrap .round-arrow { top: calc((100vw - 32px - 24px) / 2 * .375); } }

/* =========================================================
   CASOS DE ÉXITO · propuesta "flotante"
   Foto completa + panel blanco que se monta sobre la foto
   ========================================================= */
.folio--float { padding-bottom: 28px; }
.folio--float .folio__card { position: relative; display: block; }
.folio--float .folio__media {
  aspect-ratio: 4 / 4.4;
  border-radius: 22px;
  box-shadow: none;
}
.folio--float .folio__media::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  opacity: 1;
  background: linear-gradient(180deg, rgba(13, 44, 71, 0) 45%, rgba(13, 44, 71, .35) 100%);
}
.folio--float .folio__body {
  position: relative;
  z-index: 1;
  margin: -112px 16px 0;
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(18, 59, 94, .06);
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(18, 59, 94, .14);
  transition: transform 260ms var(--ease-out), box-shadow 260ms ease;
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .folio--float .folio__body { background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: saturate(160%) blur(12px); backdrop-filter: saturate(160%) blur(12px); }
}
.folio--float .folio__cat { display: inline-flex; align-items: center; gap: 6px; color: var(--green); }
.folio--float .folio__cat::before { content: ""; width: 14px; height: 2px; border-radius: 2px; background: currentColor; }
.folio--float .folio__name { margin-top: 6px; font-size: 18px; line-height: 24px; }
.folio--float .folio__foot { margin-top: 12px; padding-top: 12px; }
.folio--float .folio__go { background: var(--navy); border-color: var(--navy); }
.folio--float .folio__go .arrow { filter: brightness(0) invert(1); }
@media (hover: hover) and (pointer: fine) {
  .folio--float .folio__card:hover .folio__media { box-shadow: none; }
  .folio--float .folio__card:hover .folio__body { transform: translateY(-6px); box-shadow: 0 24px 48px rgba(18, 59, 94, .2); }
  .folio--float .folio__card:hover .folio__go { background: var(--green); border-color: var(--green); }
}
.folio-wrap:has(.folio--float) .round-arrow { top: calc((min(1200px, 100vw - 32px) - 48px) / 3 * .55 - 40px); }
@media (max-width: 640px) {
  .folio--float .folio__body { margin: -96px 12px 0; padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .folio--float .folio__body { transition: none; } }
.folio__item { min-width: 0; }
.folio__card, .folio__body, .folio__foot { min-width: 0; width: 100%; }
.folio--float .folio__body { width: auto; }
.folio--float .folio__meta { flex-direction: column; align-items: flex-start; gap: 2px; }
.folio--float .folio__codes { padding-left: 0; border-left: 0; font-size: 12px; }

/* =========================================================
   CASOS DE ÉXITO · propuesta "resultado primero" (tarjeta azul)
   ========================================================= */
.folio--result .folio__card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(160deg, #164a74 0%, var(--navy) 55%, #0d2c47 100%);
  color: var(--white);
  overflow: hidden;
  transition: transform 220ms var(--ease-out), box-shadow 260ms ease;
}
.folio--result .folio__body { display: flex; flex-direction: column; flex: 1; padding: 0; order: 1; }
.folio--result .folio__media { order: 2; aspect-ratio: 16 / 10; margin-top: 20px; border-radius: 14px; box-shadow: none; }
.folio--result .folio__media::after { display: none; }

/* La cifra va arriba */
.folio--result .folio__foot { order: -1; margin: 0 0 18px; padding: 0 0 18px; border-top: 0; border-bottom: 1px solid rgba(255, 255, 255, .14); align-items: flex-start; }
.folio--result .folio__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
.folio--result .folio__stat { font-size: 15px; font-weight: 500; color: rgba(255, 255, 255, .85); }
.folio--result .folio__stat strong { display: block; margin: 0 0 2px; font-size: 52px; line-height: 1; letter-spacing: -.03em; color: #8fdca3; }
.folio--result .folio__codes { padding: 0; border: 0; font-size: 12px; letter-spacing: .02em; color: rgba(255, 255, 255, .55); white-space: normal; }
.folio--result .folio__go { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.folio--result .folio__go .arrow { filter: brightness(0) invert(1); }

.folio--result .folio__cat { color: rgba(255, 255, 255, .6); }
.folio--result .folio__name { margin-top: 4px; font-size: 19px; line-height: 25px; color: var(--white); }

@media (hover: hover) and (pointer: fine) {
  .folio--result .folio__card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(18, 59, 94, .28); }
  .folio--result .folio__card:hover .folio__name { color: var(--white); }
  .folio--result .folio__card:hover .folio__media { box-shadow: none; }
  .folio--result .folio__card:hover .folio__go { background: var(--green); border-color: var(--green); }
}
.folio-wrap:has(.folio--result) .round-arrow { top: 50%; }
@media (max-width: 640px) {
  .folio--result .folio__card { padding: 20px; }
  .folio--result .folio__stat strong { font-size: 44px; }
}
@media (prefers-reduced-motion: reduce) { .folio--result .folio__card { transition: none; } }
.folio--result .folio__body { flex: none; }
.folio--result .folio__name { min-height: 50px; }
.folio--result .folio__media { margin-top: 16px; }
.folio--result .folio__name { min-height: 0; }
.folio--result .folio__media { margin-top: auto; }
.folio--result .folio__body { margin-bottom: 18px; }
/* La foto ocupa el espacio restante: sin huecos aunque los nombres tengan distinto largo */
.folio--result .folio__media { flex: 1 1 auto; aspect-ratio: auto; min-height: 210px; margin-top: 0; }
.folio--result .folio__media { position: relative; }
.folio--result .folio__media img { position: absolute; inset: 0; width: 100%; height: 100%; }

/* =========================================================
   CASOS DE ÉXITO · propuesta "clara" (resultado primero, fondo blanco)
   ========================================================= */
.folio--light .folio__card {
  background: var(--white);
  border: 1px solid #e3e9f0;
  box-shadow: 0 1px 2px rgba(18, 59, 94, .04);
  color: var(--navy);
}
.folio--light .folio__foot { border-bottom-color: #eef2f6; }
.folio--light .folio__stat { color: var(--navy); font-weight: 600; }
.folio--light .folio__stat strong { color: var(--green); }
.folio--light .folio__codes { color: #8a96a3; }
.folio--light .folio__cat { color: #7a8796; }
.folio--light .folio__name { color: var(--navy); }
.folio--light .folio__go { background: var(--white); border-color: #d6e0eb; }
.folio--light .folio__go .arrow { filter: none; }
.folio--light .folio__media { background: #eef2f6; }
@media (hover: hover) and (pointer: fine) {
  .folio--light .folio__card:hover { border-color: #cfdbe7; box-shadow: 0 20px 44px rgba(18, 59, 94, .12); }
  .folio--light .folio__card:hover .folio__name { color: var(--navy); }
  .folio--light .folio__card:hover .folio__go { background: var(--green); border-color: var(--green); }
  .folio--light .folio__card:hover .folio__go .arrow { filter: brightness(0) invert(1); }
}
.cases--home .folio--slider { margin-top: 32px; }

/* Encabezado de Casos de Éxito: título + texto (2 líneas) a la izquierda, botón alineado a la base */
.stories__head { align-items: flex-end; gap: 40px; }
.stories__head > div:first-child { max-width: 620px; }
.stories__intro { max-width: 560px; margin-top: 12px; font-size: 18px; line-height: 28px; }
.stories__controls { padding-bottom: 2px; }
.stories__controls .stories__all { margin-right: 0; }
@media (max-width: 640px) {
  .stories__head { gap: 20px; }
  .stories__intro { font-size: 16px; line-height: 25px; }
}

/* =========================================================
   CASOS DE ÉXITO · propuesta "ficha" (horizontal: foto + datos)
   ========================================================= */
.folio--split.folio--slider { grid-auto-columns: calc((100% - 24px) / 2); }
.folio--split .folio__card {
  display: grid;
  grid-template-columns: 44% 1fr;
  height: 100%;
  background: var(--white);
  border: 1px solid #e3e9f0;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(18, 59, 94, .04);
  transition: border-color 220ms ease, box-shadow 260ms ease;
}
.folio--split .folio__media { position: relative; aspect-ratio: auto; min-height: 280px; height: 100%; border-radius: 0; box-shadow: none; }
.folio--split .folio__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.folio--split .folio__body { display: flex; flex-direction: column; padding: 26px 26px 22px; }
.folio--split .folio__cat { color: var(--green); }
.folio--split .folio__name { margin-top: 6px; font-size: 20px; line-height: 26px; }
.folio--split .folio__foot {
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid #eef2f6;
}
.folio--split .folio__meta { flex-direction: column; align-items: flex-start; gap: 4px; }
.folio--split .folio__stat { font-size: 15px; font-weight: 600; color: var(--navy); }
.folio--split .folio__stat strong { display: block; margin: 0 0 4px; font-size: 48px; line-height: 1; letter-spacing: -.03em; color: var(--green); }
.folio--split .folio__codes { padding: 0; border: 0; font-size: 12px; color: #8a96a3; white-space: normal; }
.folio--split .folio__go {
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  gap: 8px;
  display: inline-flex;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
}
.folio--split .folio__go::before { content: "Ver caso"; }
.folio--split .folio__go .arrow { filter: none; }
@media (hover: hover) and (pointer: fine) {
  .folio--split .folio__card:hover { border-color: #cfdbe7; box-shadow: 0 20px 44px rgba(18, 59, 94, .12); transform: none; }
  .folio--split .folio__card:hover .folio__media { box-shadow: none; }
  .folio--split .folio__card:hover .folio__name, .folio--split .folio__card:hover .folio__go { color: var(--green); }
  .folio--split .folio__card:hover .folio__go { background: none; }
  .folio--split .folio__card:hover .folio__go .arrow { filter: none; transform: scaleX(-1) translateX(-4px); }
}
.folio-wrap:has(.folio--split) .round-arrow { top: 50%; }
@media (max-width: 1024px) { .folio--split.folio--slider { grid-auto-columns: 86%; } }
@media (max-width: 640px) {
  .folio--split.folio--slider { grid-auto-columns: 86%; }
  .folio--split .folio__card { grid-template-columns: 1fr; }
  .folio--split .folio__media { min-height: 0; height: auto; aspect-ratio: 4 / 3; }
  .folio--split .folio__body { padding: 18px; }
  .folio--split .folio__stat strong { font-size: 40px; }
}

/* =========================================================
   CASOS DE ÉXITO · propuesta "bento"
   ========================================================= */
.bento {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 20px;
  margin-top: 32px;
}
.bento__tile {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  isolation: isolate;
  background: var(--navy);
  color: var(--white);
}
.bento__tile--main { grid-row: 1 / span 2; }
.bento__tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.bento__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13, 44, 71, 0) 35%, rgba(13, 44, 71, .55) 62%, rgba(13, 44, 71, .95) 100%); }
.bento__body { position: absolute; left: 22px; right: 70px; bottom: 20px; display: flex; flex-direction: column; }
.bento__cat { font-weight: 600; font-size: 12px; line-height: 16px; letter-spacing: .02em; color: #8fdca3; }
.bento__name { margin-top: 4px; font-weight: 700; font-size: 17px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bento__result { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.bento__result strong { font-weight: 800; font-size: 26px; line-height: 1; letter-spacing: -.02em; }
.bento__result span { font-size: 13px; color: rgba(255, 255, 255, .8); }
.bento__go {
  position: absolute;
  right: 18px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .35);
  transition: background-color 200ms ease, border-color 200ms ease;
}
.bento__go .arrow { width: 14px; height: 11px; transform: scaleX(-1); }

/* Destacado */
.bento__tile--main .bento__body { left: 32px; right: 90px; bottom: 30px; }
.bento__tile--main .bento__cat { font-size: 13px; }
.bento__tile--main .bento__name { font-size: 28px; line-height: 34px; }
.bento__tile--main .bento__result { margin-top: 14px; }
.bento__tile--main .bento__result strong { font-size: 52px; color: #8fdca3; }
.bento__tile--main .bento__result span { font-size: 15px; }
.bento__tile--main .bento__go { right: 28px; bottom: 30px; width: 46px; height: 46px; }

/* Bloque resumen */
.bento__tile--stat {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: 24px 26px;
  background: #f4f8fd;
  border: 1px solid #e3e9f0;
  color: var(--navy);
}
.bento__stat-row { display: flex; align-items: baseline; gap: 10px; }
.bento__stat-row strong { min-width: 44px; font-weight: 800; font-size: 32px; line-height: 1; letter-spacing: -.02em; color: var(--green); font-variant-numeric: tabular-nums; }
.bento__stat-row span { font-size: 14px; line-height: 18px; color: var(--navy); }
.bento__all {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 8px;
  margin-top: 6px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green);
  color: var(--white);
  font-weight: 500;
  font-size: 14px;
  transition: filter 200ms ease, transform 140ms var(--ease-out);
}
.bento__all .arrow { width: 14px; height: 11px; transform: scaleX(-1); }
.bento__all:active { transform: scale(.97); }

@media (hover: hover) and (pointer: fine) {
  a.bento__tile:hover > img { transform: scale(1.05); }
  a.bento__tile:hover .bento__go { background: var(--green); border-color: var(--green); }
  .bento__all:hover { filter: brightness(1.06); }
}
a.bento__tile:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }

/* La sección ya no necesita el botón del encabezado: el bloque resumen lo incluye */
.cases--home:has(.bento) .stories__controls { display: none; }

@media (max-width: 1024px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 240px 240px; }
  .bento__tile--main { grid-column: 1 / -1; grid-row: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 240px; gap: 14px; }
  .bento__tile--main { grid-column: auto; height: 320px; }
  .bento__tile--main .bento__name { font-size: 22px; line-height: 28px; }
  .bento__tile--main .bento__result strong { font-size: 40px; }
  .bento__tile--main .bento__body { left: 20px; right: 70px; bottom: 20px; }
  .bento__tile--main .bento__go { right: 18px; bottom: 20px; }
  .bento__tile--stat { height: auto; }
}
@media (prefers-reduced-motion: reduce) { .bento__tile > img { transition: none; } }

/* =========================================================
   CASOS DE ÉXITO · tarjeta "ficha de certificación" (slider)
   ========================================================= */
.folio--doc .folio__item { display: flex; }
.doc {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 14px 14px 16px;
  background: var(--white);
  border: 1px solid #e3e9f0;
  border-radius: 20px;
  box-shadow: 0 1px 2px rgba(18, 59, 94, .04);
  color: var(--navy);
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 160ms var(--ease-out);
}
.doc__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 40px; padding: 0 6px 12px; }
.doc__type { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; color: var(--navy); }
.doc__type::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }
.doc__issuer { display: inline-flex; align-items: center; font-weight: 700; font-size: 13px; letter-spacing: .02em; color: #6b7785; }
.doc__issuer img { width: auto; height: 28px; }
.doc__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #eef2f6; }
.doc__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.doc__name {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 50px;
  margin: 16px 6px 0;
  font-weight: 700;
  font-size: 19px;
  line-height: 25px;
  letter-spacing: -.005em;
}
.doc__data {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 14px 6px 0;
  border-top: 1px solid #e8edf3;
  border-bottom: 1px solid #e8edf3;
}
.doc__cell { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; }
.doc__cell + .doc__cell { padding-left: 14px; border-left: 1px solid #e8edf3; }
.doc__label { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #8a96a3; }
.doc__value { font-size: 14px; font-weight: 600; line-height: 20px; color: var(--navy); font-variant-numeric: tabular-nums; }
.doc__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 44px;
  margin: 16px 6px 0;
  border: 1px solid #d6e0eb;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease;
}
.doc__btn .arrow { width: 14px; height: 11px; transform: scaleX(-1); transition: filter 200ms ease; }
.doc:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.doc:active { transform: scale(.99); }
@media (hover: hover) and (pointer: fine) {
  .doc:hover { border-color: #cfdbe7; box-shadow: 0 20px 44px rgba(18, 59, 94, .12); }
  .doc:hover .doc__media img { transform: scale(1.04); }
  .doc:hover .doc__btn { background: var(--green); border-color: var(--green); color: var(--white); }
  .doc:hover .doc__btn .arrow { filter: brightness(0) invert(1); }
}
.folio-wrap:has(.folio--doc) .round-arrow { top: calc(54px + (min(1200px, 100vw - 32px) - 48px) / 3 * .36); }
.folio--doc.is-dragging .doc { pointer-events: none; }
@media (max-width: 1024px) { .folio-wrap:has(.folio--doc) .round-arrow { top: 40%; } }
@media (prefers-reduced-motion: reduce) { .doc, .doc__media img { transition: none; } }
.doc__data { grid-template-columns: auto 1fr; }
.doc__cell:first-child { padding-right: 16px; }
.doc__value { font-size: 13px; white-space: nowrap; }
.doc__btn { margin-top: auto; }
.doc__data { margin-bottom: 16px; }

/* =========================================================
   CASOS DE ÉXITO · tarjeta "sello" (simple, logo del certificador)
   ========================================================= */
.folio--seal .folio__item { display: flex; }
.seal { position: relative; display: flex; flex-direction: column; width: 100%; color: var(--navy); }
.seal__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 20px; overflow: hidden; background: #eef2f6; transition: box-shadow 300ms ease; }
.seal__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.seal__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  margin: -26px 0 0 18px;
  padding: 7px 16px 7px 8px;
  background: var(--white);
  border: 1px solid #e6ebf1;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(18, 59, 94, .12);
}
.seal__badge img { width: 44px; height: 34px; object-fit: contain; }
.seal__bv {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: .02em;
}
.seal__badge-text { font-size: 11px; line-height: 14px; color: #7a8796; }
.seal__badge-text strong { display: block; font-size: 13px; font-weight: 700; color: var(--navy); }
.seal__body { display: flex; flex-direction: column; gap: 6px; padding: 14px 52px 0 4px; }
.seal__name { font-weight: 700; font-size: 19px; line-height: 25px; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 180ms ease; }
.seal__result { font-size: 13px; line-height: 19px; color: var(--text); font-variant-numeric: tabular-nums; }
.seal__go {
  position: absolute;
  right: 2px;
  bottom: 2px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d6e0eb;
  border-radius: 50%;
  transition: background-color 200ms ease, border-color 200ms ease;
}
.seal__go .arrow { width: 14px; height: 11px; transform: scaleX(-1); }
.seal:focus-visible { outline: 3px solid var(--green); outline-offset: 4px; border-radius: 20px; }
@media (hover: hover) and (pointer: fine) {
  .seal:hover .seal__media { box-shadow: 0 18px 40px rgba(18, 59, 94, .16); }
  .seal:hover .seal__media img { transform: scale(1.05); }
  .seal:hover .seal__name { color: var(--green); }
  .seal:hover .seal__go { background: var(--green); border-color: var(--green); }
  .seal:hover .seal__go .arrow { filter: brightness(0) invert(1); }
}
.folio--seal.is-dragging .seal { pointer-events: none; }
.folio-wrap:has(.folio--seal) .round-arrow { top: calc((min(1200px, 100vw - 32px) - 48px) / 3 * .375); }
@media (max-width: 1024px) { .folio-wrap:has(.folio--seal) .round-arrow { top: calc((100vw - 32px - 24px) / 2 * .375); } }
@media (prefers-reduced-motion: reduce) { .seal__media, .seal__media img { transition: none; } }

/* =========================================================
   CASOS DE ÉXITO · tarjeta "panel" (foto + panel navy con logo)
   ========================================================= */
.folio--panel .folio__item { display: flex; }
.pcard { display: flex; flex-direction: column; width: 100%; border-radius: 20px; overflow: hidden; background: var(--navy); color: var(--white); transition: transform 300ms var(--ease-out), box-shadow 300ms ease; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #e9eef4; }
.pcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pcard__body { flex: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 18px; }
.pcard__main { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pcard__type { font-size: 11px; line-height: 16px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #7fd197; }
.pcard__name { font-weight: 700; font-size: 18px; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__result { font-size: 13px; line-height: 19px; color: rgba(255,255,255,.72); font-variant-numeric: tabular-nums; }
.pcard__logo { flex: none; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--white); }
.pcard__logo img { width: 50px; height: 38px; object-fit: contain; }
.pcard__bv { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--navy); color: var(--white); font-weight: 800; font-size: 14px; }
.pcard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 20px; padding: 14px 0 16px; border-top: 1px solid rgba(255,255,255,.14); font-size: 13px; color: rgba(255,255,255,.8); }
.pcard__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background-color 200ms ease; }
.pcard__go .arrow { width: 13px; height: 10px; transform: scaleX(-1); }
.pcard:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.pcard:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .pcard:hover { box-shadow: 0 20px 44px rgba(18, 59, 94, .22); }
  .pcard:hover .pcard__media img { transform: scale(1.05); }
  .pcard:hover .pcard__go { background: var(--green); }
}
.folio--panel.is-dragging .pcard { pointer-events: none; }
.folio-wrap:has(.folio--panel) .round-arrow { top: calc((min(1200px, 100vw - 32px) - 48px) / 3 * .375); }
@media (max-width: 1024px) { .folio-wrap:has(.folio--panel) .round-arrow { top: calc((100vw - 32px - 24px) / 2 * .375); } }
@media (prefers-reduced-motion: reduce) { .pcard, .pcard__media img { transition: none; } .pcard:active { transform: none; } }

/* =========================================================
   CASOS DE ÉXITO · tarjeta "light" (clara, logo QRO)
   ========================================================= */
.folio--light .folio__item { display: flex; }
.lcard { display: flex; flex-direction: column; width: 100%; padding: 10px; border-radius: 22px; background: #f5f8fb; border: 1px solid #e6edf3; color: var(--navy); transition: background-color 250ms ease, box-shadow 300ms ease, transform 160ms var(--ease-out); }
.lcard__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; background: #e6edf3; }
.lcard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.lcard__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; margin: 16px 10px 6px; }
.lcard__type { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--green); }
.lcard__type::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.lcard__logo { width: auto; height: 40px; object-fit: contain; }
.lcard__stat { font-weight: 800; font-size: 26px; line-height: 1; color: var(--green); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.lcard__name { margin: 0 10px; font-weight: 700; font-size: 18px; line-height: 24px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lcard__result { margin: 4px 10px 0; font-size: 13px; line-height: 19px; color: var(--text); font-variant-numeric: tabular-nums; }
.lcard__foot { display: flex; align-items: center; justify-content: space-between; margin: auto 10px 0; padding: 14px 0 6px; border-top: 1px solid #e1e8ef; font-size: 14px; font-weight: 600; transition: color 180ms ease; }
.folio--light .lcard__result { margin-bottom: 16px; }
.lcard__go { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--white); border: 1px solid #dbe4ed; transition: background-color 200ms ease, border-color 200ms ease; }
.lcard__go .arrow { width: 13px; height: 10px; transform: scaleX(-1); }
.lcard:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.lcard:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .lcard:hover { background: var(--white); box-shadow: 0 18px 40px rgba(18, 59, 94, .1); }
  .lcard:hover .lcard__media img { transform: scale(1.05); }
  .lcard:hover .lcard__foot { color: var(--green); }
  .lcard:hover .lcard__go { background: var(--green); border-color: var(--green); }
  .lcard:hover .lcard__go .arrow { filter: brightness(0) invert(1); }
}
.folio--light.is-dragging .lcard { pointer-events: none; }
.folio-wrap:has(.folio--light) .round-arrow { top: calc(11px + ((min(1200px, 100vw - 32px) - 48px) / 3 - 22px) * .375); }
@media (max-width: 1024px) { .folio-wrap:has(.folio--light) .round-arrow { top: calc(11px + ((100vw - 56px) / 2 - 22px) * .375); } }
@media (prefers-reduced-motion: reduce) { .lcard, .lcard__media img { transition: none; } .lcard:active { transform: none; } }

/* =========================================================
   CASOS DE ÉXITO · tarjeta "issuer" (foto, datos y firma AndesCert + certificador)
   ========================================================= */
.folio--issuer .folio__item { display: flex; }
.icard { display: flex; flex-direction: column; width: 100%; border-radius: 18px; overflow: hidden; background: var(--white); border: 1px solid #e3e9f0; color: var(--navy); transition: box-shadow 300ms ease, border-color 250ms ease, transform 160ms var(--ease-out); }
.icard__media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #edf2f7; }
.icard__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.icard__body { flex: 1; display: flex; flex-direction: column; padding: 20px 22px 18px; }
.icard__kind { font-size: 12px; line-height: 16px; font-weight: 500; color: #8592a0; }
.icard__name { margin-top: 4px; font-weight: 700; font-size: 19px; line-height: 25px; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color 180ms ease; }
.icard__desc { margin-top: 8px; font-size: 13.5px; line-height: 21px; color: var(--text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.icard__facts { display: grid; grid-template-columns: auto 1fr; gap: 24px; margin-top: auto; padding-top: 18px; }
.icard__fact { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.icard__label { font-size: 12px; line-height: 16px; color: #8592a0; }
.icard__value { font-size: 15px; line-height: 22px; font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.icard__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 22px; padding: 14px 0 16px; border-top: 1px solid #e9eef4; }
.icard__lockup { display: flex; align-items: center; gap: 12px; min-width: 0; }
.icard__andes { display: flex; flex-direction: column; align-items: center; gap: 4px; flex: none; }
.icard__andes > img { width: 40px; height: auto; }
.icard__andes span { display: flex; gap: 3px; }
.icard__andes span img { height: 6px; width: auto; }
.icard__plus { font-size: 15px; font-weight: 400; line-height: 1; color: #a3aeba; }
.icard__issuer { height: 34px; width: auto; flex: none; }
.icard__issuer--bv { height: 40px; }
.icard__go { flex: none; display: block; width: 26px; height: 26px; }
.icard__go svg { display: block; width: 100%; height: 100%; }
.icard__go circle { fill: var(--navy); transition: fill 200ms ease; }
.icard__go path { stroke: var(--white); transition: transform 250ms var(--ease-out); }
.icard:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.icard:active { transform: scale(.985); }
@media (hover: hover) and (pointer: fine) {
  .icard:hover { border-color: #d3dde8; box-shadow: 0 18px 40px rgba(18, 59, 94, .1); }
  .icard:hover .icard__media img { transform: scale(1.05); }
  .icard:hover .icard__name { color: var(--green); }
  .icard:hover .icard__go circle { fill: var(--green); }
  .icard:hover .icard__go path { transform: translateX(1.5px); }
}
.folio--issuer.is-dragging .icard { pointer-events: none; }
.folio-wrap:has(.folio--issuer) .round-arrow { top: calc((min(1200px, 100vw - 32px) - 48px) / 3 * .375); }
@media (max-width: 1024px) { .folio-wrap:has(.folio--issuer) .round-arrow { top: calc((100vw - 56px) / 2 * .375); } }
@media (max-width: 480px) { .icard__body { padding: 18px 18px 20px; } .icard__foot { margin: 0 18px; } .icard__name { font-size: 18px; line-height: 24px; } }
@media (prefers-reduced-motion: reduce) { .icard, .icard__media img { transition: none; } .icard:active { transform: none; } }
@media (prefers-reduced-motion: reduce) { .icard__go circle, .icard__go path { transition: none; } }
.icard__lockup { height: 40px; }
@media (max-width: 480px) { .icard__facts { gap: 16px; } .icard__value { white-space: normal; font-size: 14px; } }

/* issuer v3: menos carga, enlace extendido y tooltip de normas */
.icard { position: relative; }
.icard__body { padding: 20px 22px 20px; }
.icard__kind, .icard__name, .icard__label, .icard__value { margin: 0; }
.icard__name { margin-top: 4px; }
.icard__link { color: inherit; text-decoration: none; }
.icard__link::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.icard__link:focus-visible { outline: none; }
.icard:has(.icard__link:focus-visible) { outline: 3px solid var(--green); outline-offset: 3px; }
.icard__facts { position: relative; z-index: 2; display: block; margin-top: auto; padding-top: 16px; }
.icard__label { font-size: 12px; line-height: 16px; color: #8592a0; }
.icard__value { margin-top: 6px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.icard__norms { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.icard__norm {
  font: inherit;
  font-size: 12.5px;
  line-height: 18px;
  font-weight: 600;
  color: var(--navy);
  padding: 4px 9px;
  background: var(--white);
  border: 1px solid #dfe6ee;
  border-radius: 8px;
  cursor: help;
  font-variant-numeric: tabular-nums;
  transition: border-color 160ms ease, color 160ms ease;
}
.icard__norm:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; }
.icard__tip {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% - 8px);
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--navy);
  color: rgba(255, 255, 255, .85);
  font-size: 12.5px;
  line-height: 18px;
  box-shadow: 0 10px 24px rgba(18, 59, 94, .22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 160ms ease, transform 200ms var(--ease-out), visibility 0s linear 200ms;
  pointer-events: none;
}
.icard__tip strong { display: block; color: var(--white); font-weight: 600; }
.icard__norm:focus-visible + .icard__tip, .icard__norm:focus + .icard__tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
@media (hover: hover) and (pointer: fine) {
  .icard__norm:hover { border-color: var(--green); color: var(--green); }
  .icard__norm:hover + .icard__tip { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
}
.icard { overflow: visible; }
.icard__media { border-radius: 18px 18px 0 0; }
.folio--issuer.is-dragging .icard__norm { pointer-events: none; }
@media (max-width: 480px) { .icard__norm { font-size: 12px; padding: 4px 8px; } }
@media (prefers-reduced-motion: reduce) { .icard__tip, .icard__norm { transition: none; } }
.icard__tip { bottom: auto; top: calc(100% + 8px); transform: translateY(-4px); }
.icard__foot { justify-content: flex-start; gap: 12px; }
.icard__lockup { gap: 9px; }
.icard__andes > img { width: 34px; }
.icard__andes span img { height: 5px; }
.icard__issuer { height: 30px; }
.icard__issuer--bv { height: 36px; }
.icard__partners { min-width: 0; padding-left: 12px; border-left: 1px solid #e3e9f0; font-size: 12.5px; line-height: 17px; font-weight: 600; color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.icard__partners span { margin: 0 5px; font-weight: 400; color: #a3aeba; }
.icard__go { margin-left: auto; }
.icard__sign { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.icard__partners { padding-left: 0; border-left: 0; font-size: 12px; line-height: 16px; }
.icard__foot { align-items: center; }

/* Casos (issuer): espacio para la sombra del hover y flechas centradas como el slider de servicios */
.cases--home .folio--issuer.folio--slider,
.folio--issuer.folio--slider {
  margin: 12px -24px -48px;
  padding: 20px 24px 48px;
  scroll-padding-inline: 24px;
}
.folio--issuer .icard { box-shadow: 0 0 0 rgba(18, 59, 94, 0); }
@media (hover: hover) and (pointer: fine) {
  .folio--issuer .icard:hover { box-shadow: 0 14px 30px rgba(18, 59, 94, .1); }
}
.folio-wrap:has(.folio--issuer) .round-arrow { top: calc(50% - 14px); }
.folio-wrap:has(.folio--issuer) .round-arrow.is-disabled { opacity: .45; pointer-events: auto; cursor: default; }
.folio-wrap:has(.folio--issuer) .round-arrow.is-disabled:active img { transform: none; }
@media (max-width: 1024px) {
  .cases--home .folio--issuer.folio--slider,
  .folio--issuer.folio--slider { margin: 12px -16px -48px; padding: 20px 16px 48px; scroll-padding-inline: 16px; }
  .folio-wrap:has(.folio--issuer) .round-arrow { top: calc(50% - 14px); }
}
/* oculta tarjetas parcialmente visibles en los márgenes laterales del carrusel */
.folio--issuer.folio--slider { clip-path: inset(0 12px); }
@media (max-width: 1024px) { .folio--issuer.folio--slider { clip-path: inset(0 8px); } }
@media (max-width: 640px) { .folio--issuer.folio--slider { clip-path: inset(0 0 0 8px); } }
.icard__lockup { height: 40px; }

/* =========================================================
   QUIÉNES SOMOS · versión con etapas y placa institucional
   ========================================================= */
.page-home .about__grid { align-items: center; }
.page-home .about__body { margin-top: 20px; max-width: 590px; }
.about__path { margin-top: 28px; max-width: 610px; }
.about__path-title { margin: 0 0 14px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); }
.about__steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.about__steps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 14px 12px 0 0;
  border-top: 2px solid #e2e8ef;
  font-size: 14px;
  line-height: 19px;
  font-weight: 600;
  color: var(--navy);
}
.about__steps li::before { content: ""; position: absolute; left: 0; top: -5px; width: 8px; height: 8px; border-radius: 50%; background: var(--white); border: 2px solid var(--green); }
.about__steps li:last-child::before { background: var(--green); }
.about__step-num { font-size: 12px; line-height: 16px; font-weight: 500; color: #8592a0; font-variant-numeric: tabular-nums; }
.about__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 28px; margin-top: 30px; }
.page-home .about .about__actions .btn { margin-top: 0; }
.about__link { position: relative; font-size: 15px; font-weight: 600; color: var(--navy); padding: 6px 0; }
.about__link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform-origin: left; transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .about__link:hover { color: var(--green); }
  .about__link:hover::after { transform: scaleX(.4); }
}
.about__figure { position: relative; margin: 0; }
.about__figure .about__img { display: block; }
.about__plate {
  position: absolute;
  left: -36px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 16px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(18, 59, 94, .14);
}
.about__plate-mark { width: 52px; height: auto; flex: none; }
.about__plate-text { display: flex; flex-direction: column; padding-left: 14px; border-left: 1px solid #e3e9f0; font-size: 12.5px; line-height: 18px; color: var(--text); }
.about__plate-text strong { font-size: 14px; line-height: 20px; font-weight: 700; color: var(--navy); }
.about__plate-ruc { color: #8592a0; font-variant-numeric: tabular-nums; }
@media (max-width: 1024px) {
  .about__plate { left: 16px; bottom: 16px; }
  .about__steps li { font-size: 13px; padding-right: 8px; }
}
@media (max-width: 640px) {
  .about__steps { grid-template-columns: 1fr; }
  .about__steps li { flex-direction: row; align-items: baseline; gap: 12px; padding: 10px 0 10px 20px; border-top: 0; border-left: 2px solid #e2e8ef; }
  .about__steps li::before { left: -5px; top: 15px; }
  .about__plate { position: static; margin-top: -28px; margin-left: 16px; margin-right: 16px; }
  .about__figure { display: flex; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .about__link::after { transition: none; } }
.about__steps { position: relative; display: flex; justify-content: space-between; gap: 20px; }
.about__steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: #e2e8ef; }
.about__steps li { border-top: 0; padding: 16px 0 0; white-space: nowrap; }
.about__steps li::before { top: -3px; }
.about__step-num { display: inline-block; min-width: 20px; }
@media (max-width: 1024px) and (min-width: 641px) { .about__steps { flex-wrap: wrap; } }
@media (max-width: 640px) {
  .about__steps { flex-direction: column; gap: 0; }
  .about__steps::before { top: 0; bottom: 0; left: 0; right: auto; width: 2px; height: auto; }
  .about__steps li { border-left: 0; padding: 10px 0 10px 20px; }
  .about__steps li::before { left: -3px; top: 15px; }
}
.about__path { max-width: 570px; }
.about__steps { gap: 16px; }
@media (min-width: 1025px) { .about__plate { left: -28px; } }

/* =========================================================
   BOTÓN SECUNDARIO (contorno) · reutilizable en páginas internas
   uso: button_secondary('Texto', url) o class="btn btn--outline"
   ========================================================= */
.btn--outline {
  background: transparent;
  color: var(--navy);
  box-shadow: inset 0 0 0 1.5px var(--navy);
  transition: background-color 200ms ease, color 200ms ease, box-shadow 200ms ease, transform 160ms var(--ease-out);
}
.btn--outline .arrow { transition: filter 200ms ease, transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .btn--outline:hover { background: var(--navy); color: var(--white); }
  .btn--outline:hover .arrow { filter: brightness(0) invert(1); transform: scaleX(-1) translateX(-3px); }
}
.btn--outline:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
/* sobre fondos oscuros */
.btn--outline.btn--on-dark { color: var(--white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.btn--outline.btn--on-dark .arrow { filter: brightness(0) invert(1); }
@media (hover: hover) and (pointer: fine) {
  .btn--outline.btn--on-dark:hover { background: var(--white); color: var(--navy); box-shadow: inset 0 0 0 1.5px var(--white); }
  .btn--outline.btn--on-dark:hover .arrow { filter: none; }
}
@media (prefers-reduced-motion: reduce) { .btn--outline, .btn--outline .arrow { transition: none; } }

.about__actions { gap: 14px; }
.page-home .about .about__actions .btn--outline { width: auto; min-width: 0; padding: 0 26px; }
.about__plate-note { color: var(--green); font-weight: 500; }

/* =========================================================
   CERTIFICACIÓN ISO (home) · cabecera dividida y nota final
   ========================================================= */
.cert__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); align-items: end; gap: 24px 56px; margin-bottom: 32px; }
.page-home .cert .cert__title { text-align: left; margin: 0; }
.cert__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.page-home .cert .cert__sub { max-width: none; margin: 0; text-align: left; }
.page-home .cert .iso-grid { margin-bottom: 0; }
.cert__note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  margin-top: 24px;
  padding: 18px 20px 18px 24px;
  border: 1px solid #e3e9f0;
  border-radius: 16px;
  background: #f7f9fc;
}
.cert__note p { margin: 0; font-size: 15px; line-height: 23px; color: var(--text); }
.cert__note strong { color: var(--navy); font-weight: 600; }
.cert__note .btn { flex: none; }
@media (max-width: 900px) {
  .cert__head { grid-template-columns: 1fr; align-items: start; margin-bottom: 24px; }
  .cert__note { flex-direction: column; align-items: flex-start; }
}
.page-home .cert .cert__head + .iso-grid { margin-top: 0; margin-bottom: 0; }
.cert__head { align-items: end; }
.cert__head { grid-template-columns: minmax(0, 1fr) auto; gap: 20px 40px; }
.cert__intro { align-items: flex-end; padding-bottom: 6px; }
.cert__note { padding: 16px 16px 16px 24px; }
@media (max-width: 900px) { .cert__intro { align-items: flex-start; padding-bottom: 0; } }
@media (max-width: 900px) { .cert__head { grid-template-columns: 1fr; gap: 18px; } }

/* =========================================================
   ALIADO ESTRATÉGICO (home) · intro a la izquierda + lista en dos columnas
   ========================================================= */
.ally__grid { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.ally__head { position: sticky; top: 120px; display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.page-home .ally .ally__title { margin: 0; text-align: left; }
.ally__lead { margin: 0; font-size: 16px; line-height: 26px; color: var(--text); }
.ally__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; }
.ally__item { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid #e3e9f0; }
.ally__icon { width: 56px; height: 56px; object-fit: contain; }
.ally__name { margin: 2px 0 0; font-size: 16px; line-height: 22px; font-weight: 600; color: var(--navy); }
.ally__text { margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--text); }
@media (max-width: 1024px) {
  .ally__grid { grid-template-columns: 1fr; }
  .ally__head { position: static; }
}
@media (max-width: 640px) {
  .ally__list { grid-template-columns: 1fr; }
  .ally__item { grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 16px 0; }
  .ally__icon { width: 48px; height: 48px; }
}
.ally__grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 40px 64px; }
@media (max-width: 1024px) { .ally__grid { grid-template-columns: 1fr; } }

/* =========================================================
   SECTORES (home) · cabecera dividida + mosaico
   ========================================================= */
.sectors__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 16px 56px; }
.page-home .sectors .sectors__title { max-width: none; margin: 0; text-align: left; }
.page-home .sectors .sectors__sub { max-width: none; margin: 0; font-size: 16px; line-height: 26px; text-align: left; color: var(--text); }
.page-home .sector-grid--bento {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 168px;
  grid-auto-flow: dense;
  gap: 16px;
  margin: 32px 0 0;
}
.sector-grid--bento .sector { height: auto; }
.sector-grid--bento .sector:nth-child(1),
.sector-grid--bento .sector:nth-child(8) { grid-column: span 2; grid-row: span 2; }
.sector-grid--bento .sector:nth-child(1)::after,
.sector-grid--bento .sector:nth-child(8)::after { height: 110px; }
.page-home .sector-grid--bento .sector:nth-child(1) figcaption,
.page-home .sector-grid--bento .sector:nth-child(8) figcaption { left: 24px; bottom: 20px; font-size: 26px; line-height: 32px; }
@media (max-width: 900px) {
  .sectors__head { grid-template-columns: 1fr; align-items: start; }
}
@media (max-width: 640px) {
  .page-home .sector-grid--bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 140px; gap: 12px; margin-top: 24px; }
  .sector-grid--bento .sector:nth-child(1),
  .sector-grid--bento .sector:nth-child(8) { grid-column: span 2; grid-row: span 1; }
  .page-home .sector-grid--bento .sector:nth-child(1) figcaption,
  .page-home .sector-grid--bento .sector:nth-child(8) figcaption { left: 14px; bottom: 12px; font-size: 18px; line-height: 24px; }
}
.sectors__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }

/* Sectores · mosaico con la introducción integrada */
.page-home .sector-grid--mosaic { margin-top: 0; grid-template-rows: auto; grid-auto-rows: 168px; }
.sector-grid--mosaic .sectors__lead { grid-column: span 2; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 14px; padding: 0 32px 8px 0; min-height: 168px; }
.page-home .sector-grid--mosaic .sectors__title { margin: 0; max-width: 520px; text-align: left; }
.page-home .sector-grid--mosaic .sectors__sub { margin: 0; max-width: 470px; font-size: 16px; line-height: 26px; text-align: left; color: var(--text); }
.sector-grid--mosaic .sectors__lead .btn { margin-top: 4px; }
/* reset del mosaico anterior y nueva distribución */
.sector-grid--mosaic .sector:nth-child(n) { grid-column: auto; grid-row: auto; }
.sector-grid--mosaic .sector::after { height: 64px; }
.page-home .sector-grid--mosaic .sector figcaption { left: 18px; bottom: 13px; font-size: 20px; line-height: 26px; }
.sector-grid--mosaic .sector:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.sector-grid--mosaic .sector:nth-child(10) { grid-column: span 2; }
.sector-grid--mosaic .sector:nth-child(2)::after { height: 110px; }
.page-home .sector-grid--mosaic .sector:nth-child(2) figcaption { left: 24px; bottom: 20px; font-size: 26px; line-height: 32px; }
@media (max-width: 900px) {
  .page-home .sector-grid--mosaic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-grid--mosaic .sectors__lead { grid-column: 1 / -1; padding: 0 0 8px; min-height: 0; }
  .sector-grid--mosaic .sector:nth-child(2) { grid-row: span 1; }
}
@media (max-width: 640px) {
  .page-home .sector-grid--mosaic { grid-auto-rows: 140px; }
  .page-home .sector-grid--mosaic .sector:nth-child(2) figcaption { left: 14px; bottom: 12px; font-size: 18px; line-height: 24px; }
  .page-home .sector-grid--mosaic .sector figcaption { font-size: 16px; left: 12px; bottom: 10px; }
}
.page-home .sector-grid--mosaic .sector:nth-child(n) { grid-column: auto; grid-row: auto; }
.page-home .sector-grid--mosaic .sector:nth-child(n)::after { height: 64px; }
.page-home .sector-grid--mosaic .sector:nth-child(n) figcaption { left: 18px; bottom: 13px; font-size: 20px; line-height: 26px; }
.page-home .sector-grid--mosaic .sector:nth-child(2) { grid-column: span 2; grid-row: span 2; }
.page-home .sector-grid--mosaic .sector:nth-child(9) { grid-column: span 2; }
.page-home .sector-grid--mosaic .sector:nth-child(2)::after { height: 110px; }
.page-home .sector-grid--mosaic .sector:nth-child(2) figcaption { left: 24px; bottom: 20px; font-size: 26px; line-height: 32px; }
@media (max-width: 900px) {
  .page-home .sector-grid--mosaic .sector:nth-child(2) { grid-row: span 1; }
}
@media (max-width: 640px) {
  .page-home .sector-grid--mosaic .sector:nth-child(n) figcaption { left: 12px; bottom: 10px; font-size: 16px; line-height: 22px; }
  .page-home .sector-grid--mosaic .sector:nth-child(2) figcaption { left: 14px; bottom: 12px; font-size: 18px; line-height: 24px; }
}
.page-home .sector-grid--mosaic .sector:nth-child(9) img { object-position: center 30%; }

/* =========================================================
   SECTORES · selector (lista a la izquierda + foto grande)
   ========================================================= */
.secsel { display: grid; grid-template-columns: minmax(0, 460px) minmax(0, 1fr); gap: 32px 56px; align-items: stretch; }
.secsel__intro { display: flex; flex-direction: column; }
.page-home .secsel__title { margin: 0; max-width: none; text-align: left; }
.secsel__sub { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.secsel__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; }
.secsel__item {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 12px;
  width: 100%;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid #e3e9f0;
  background: none;
  font: inherit;
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
  color: #6b7a8a;
  text-align: left;
  cursor: pointer;
  transition: color 180ms ease;
}
.secsel__item::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 300ms var(--ease-out); }
.secsel__num { font-size: 12px; font-weight: 500; color: #a3aeba; font-variant-numeric: tabular-nums; }
.secsel__item.is-active { color: var(--navy); }
.secsel__item.is-active::after { transform: scaleX(1); }
.secsel__item.is-active .secsel__num { color: var(--green); }
.secsel__item:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) { .secsel__item:hover { color: var(--navy); } }
.secsel__stage { position: relative; min-height: 460px; border-radius: 22px; overflow: hidden; background: #e9eef4; }
.secsel__slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 450ms ease, visibility 0s linear 450ms; }
.secsel__slide.is-active { opacity: 1; visibility: visible; transition: opacity 450ms ease, visibility 0s; }
.secsel__slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1200ms var(--ease-out); }
.secsel__slide.is-active img { transform: scale(1); }
.secsel__slide::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(18, 59, 94, .92), rgba(18, 59, 94, 0)); pointer-events: none; }
.secsel__caption { position: absolute; z-index: 1; left: 32px; right: 32px; bottom: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.secsel__name { font-weight: 700; font-size: 34px; line-height: 40px; color: var(--white); }
@media (max-width: 1024px) {
  .secsel { grid-template-columns: 1fr; }
  .secsel__stage { min-height: 0; aspect-ratio: 16 / 10; order: 2; }
}
@media (max-width: 640px) {
  .secsel__list { column-gap: 16px; margin-top: 20px; }
  .secsel__item { font-size: 15px; padding: 11px 0; gap: 8px; }
  .secsel__stage { aspect-ratio: 4 / 3; border-radius: 18px; }
  .secsel__caption { left: 18px; right: 18px; bottom: 16px; }
  .secsel__name { font-size: 24px; line-height: 30px; }
  .secsel__caption .btn { height: 40px; padding: 0 16px; font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) { .secsel__slide, .secsel__slide img, .secsel__item::after { transition: none; } .secsel__slide img { transform: none; } }
.secsel__caption .btn .arrow { transform: scaleX(-1); }


/* Quiénes somos · ajustes sutiles */
.page-home .about__body p:first-child { font-size: 17px; line-height: 27px; color: var(--navy); }
.page-home .about__body p + p { margin-top: 12px; }
.page-home .about__lead { color: var(--green); }
@media (min-width: 641px) {
  .about__figure { margin-bottom: 24px; }
  .about__plate { bottom: -24px; box-shadow: 0 12px 30px rgba(18, 59, 94, .12); }
}
.about__plate-mark { width: 46px; }

/* =========================================================
   SECTORES · grilla navegable (todos visibles, tarjeta = consulta)
   ========================================================= */
.secg__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 48px; margin-bottom: 28px; }
.page-home .secg__title { margin: 0; text-align: left; }
.secg__sub { margin: 10px 0 0; max-width: 560px; font-size: 16px; line-height: 26px; color: var(--text); }
.secg__cta { flex: none; }
.secg__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.secg__card { display: flex; flex-direction: column; height: 100%; border: 1px solid #e3e9f0; border-radius: 16px; overflow: hidden; background: var(--white); color: var(--navy); transition: box-shadow 250ms ease, border-color 200ms ease, transform 160ms var(--ease-out); }
.secg__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #edf2f7; }
.secg__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.secg__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 14px 14px 16px; }
.secg__name { font-size: 16px; line-height: 22px; font-weight: 600; }
.secg__go { flex: none; width: 26px; height: 26px; }
.secg__go svg { display: block; width: 100%; height: 100%; }
.secg__go circle { fill: var(--navy); transition: fill 200ms ease; }
.secg__go path { stroke: var(--white); transition: transform 250ms var(--ease-out); }
.secg__card:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.secg__card:active { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  .secg__card:hover { border-color: #d3dde8; box-shadow: 0 14px 30px rgba(18, 59, 94, .1); }
  .secg__card:hover .secg__media img { transform: scale(1.05); }
  .secg__card:hover .secg__name { color: var(--green); }
  .secg__card:hover .secg__go circle { fill: var(--green); }
  .secg__card:hover .secg__go path { transform: translateX(1.5px); }
}
@media (max-width: 1024px) { .secg__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .secg__head { flex-direction: column; align-items: flex-start; }
  .secg__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .secg__foot { padding: 10px 10px 10px 12px; }
  .secg__name { font-size: 14px; line-height: 19px; }
  .secg__go { width: 22px; height: 22px; }
}
@media (prefers-reduced-motion: reduce) { .secg__card, .secg__media img, .secg__go circle, .secg__go path { transition: none; } .secg__card:active { transform: none; } }

/* Sectores (grilla) · tarjeta con foto completa y nombre sobre degradado */
.secg__card { position: relative; display: block; aspect-ratio: 1 / .97; border: 0; border-radius: 20px; background: #edf2f7; }
.secg__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.secg__card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: var(--shade); pointer-events: none; }
.secg__card .secg__name { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 14px; font-size: 18px; line-height: 24px; font-weight: 700; color: var(--white); transition: none; }
@media (hover: hover) and (pointer: fine) {
  .secg__card:hover { box-shadow: 0 14px 30px rgba(18, 59, 94, .16); }
  .secg__card:hover .secg__img { transform: scale(1.05); }
  .secg__card:hover .secg__name { color: var(--white); }
}
@media (max-width: 760px) { .secg__card .secg__name { left: 12px; bottom: 10px; font-size: 16px; line-height: 22px; } }
@media (prefers-reduced-motion: reduce) { .secg__img { transition: none; } }

/* =========================================================
   QUIÉNES SOMOS · versión minimalista
   ========================================================= */
.about--min .about__grid { align-items: center; }
.page-home .about--min .about__lead { margin-top: 10px; font-size: 17px; line-height: 26px; font-weight: 500; color: var(--green); }
.page-home .about--min .about__body { margin-top: 28px; max-width: 560px; }
.page-home .about--min .about__body p:first-child { font-size: 20px; line-height: 31px; font-weight: 400; color: var(--navy); letter-spacing: -.005em; }
.page-home .about--min .about__body p + p { margin-top: 14px; font-size: 15.5px; line-height: 25px; color: var(--text); }
.page-home .about--min .about__body p:nth-child(2) { margin-top: 24px; padding-top: 24px; border-top: 1px solid #e6ebf1; }
.about--min .about__actions { margin-top: 34px; }
.about--min .about__figure { margin: 0; }
.page-home .about--min .about__img { box-shadow: none; border-radius: 20px; }
.about__caption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 14px; font-size: 13px; line-height: 18px; color: #7a8796; }
.about__caption strong { font-weight: 600; color: var(--navy); }
@media (max-width: 640px) {
  .page-home .about--min .about__body p:first-child { font-size: 18px; line-height: 28px; }
  .about__caption { flex-direction: column; gap: 2px; }
}

/* =========================================================
   QUIÉNES SOMOS · editorial (declaración, foto panorámica, cierre en columnas)
   ========================================================= */
.abed__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 20px 64px; align-items: end; }
.page-home .abed__title { margin: 0; text-align: left; }
.abed__lead { margin: 10px 0 0; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--green); }
.abed__statement { margin: 0; font-size: 24px; line-height: 36px; font-weight: 400; color: var(--navy); letter-spacing: -.01em; }
.abed__figure { margin: 36px 0 0; border-radius: 20px; overflow: hidden; aspect-ratio: 1200 / 440; background: #edf2f7; }
.abed__figure img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; }
.abed__bottom { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)) auto; gap: 24px 48px; align-items: start; margin-top: 32px; }
.abed__bottom p { margin: 0; font-size: 15.5px; line-height: 25px; color: var(--text); }
.abed__actions { display: flex; flex-direction: column; align-items: stretch; gap: 12px; }
.abed__actions .btn { justify-content: center; }
@media (max-width: 1024px) {
  .abed__top { grid-template-columns: 1fr; }
  .abed__bottom { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .abed__actions { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 640px) {
  .abed__statement { font-size: 19px; line-height: 29px; }
  .abed__figure { margin-top: 24px; aspect-ratio: 4 / 3; }
  .abed__bottom { grid-template-columns: 1fr; gap: 16px; margin-top: 24px; }
  .abed__actions { flex-direction: column; align-items: flex-start; margin-top: 8px; }
}
.abed__main { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px 64px; align-items: center; margin-top: 40px; padding-top: 40px; border-top: 1px solid #e6ebf1; }
.abed__main .abed__figure { margin: 0; aspect-ratio: 4 / 3; }
.abed__main .abed__figure img { object-position: center; }
.abed__main .abed__bottom { display: flex; flex-direction: column; gap: 16px; margin: 0; }
.abed__main .abed__bottom p { font-size: 16px; line-height: 26px; }
.abed__main .abed__actions { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 16px; }
@media (max-width: 1024px) { .abed__main { grid-template-columns: 1fr; } .abed__main .abed__figure { max-width: 620px; } }
@media (max-width: 640px) {
  .abed__main { margin-top: 24px; padding-top: 24px; }
  .abed__main .abed__actions { flex-direction: column; align-items: flex-start; }
  .abed__main .abed__actions .btn { width: auto; }
}
.page-home .about--editorial .abed__actions .btn { width: auto; min-width: 0; margin-top: 0; padding: 0 26px; }
.abed__top { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); }
.abed__main .abed__bottom p { max-width: 600px; }

/* =========================================================
   QUIÉNES SOMOS · clásico (foto + texto con lista de servicios)
   ========================================================= */
.abcl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.abcl__figure { margin: 0; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3.4; background: #edf2f7; }
.abcl__figure img { width: 100%; height: 100%; object-fit: cover; }
.page-home .abcl__title { margin: 0; text-align: left; }
.abcl__lead { margin: 10px 0 0; font-size: 17px; line-height: 26px; font-weight: 500; color: var(--green); }
.abcl__body { margin: 18px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.abcl__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; margin: 22px 0 0; padding: 0; list-style: none; }
.abcl__list li { position: relative; padding-left: 28px; font-size: 15px; line-height: 22px; font-weight: 500; color: var(--navy); }
.abcl__list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.2l2.4 2.4 5.2-5.2' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.abcl__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }
.page-home .about--classic .abcl__actions .btn { width: auto; min-width: 0; margin-top: 0; padding: 0 26px; }
@media (max-width: 1024px) { .abcl { grid-template-columns: 1fr; } .abcl__figure { order: 2; max-width: 620px; aspect-ratio: 4 / 3; } }
@media (max-width: 640px) { .abcl__list { grid-template-columns: 1fr; } .abcl__actions { flex-direction: column; align-items: flex-start; } }
.abcl__body + .abcl__body { margin-top: 12px; }

/* =========================================================
   CTA · mensaje + canales directos (sin foto)
   ========================================================= */
.ctac {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 40px 64px;
  align-items: center;
  padding: 56px 64px;
  border-radius: 24px;
  background: var(--navy);
  color: var(--white);
}
.ctac__title { margin: 0; font-size: 36px; line-height: 44px; font-weight: 700; letter-spacing: -.01em; color: var(--white); max-width: 560px; }
.ctac__text { margin: 16px 0 0; max-width: 480px; font-size: 16px; line-height: 26px; color: rgba(255, 255, 255, .78); }
.ctac__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }
.ctac__channels { margin: 0; padding: 0 0 0 48px; list-style: none; border-left: 1px solid rgba(255, 255, 255, .16); }
.ctac__channels li { display: flex; flex-direction: column; gap: 3px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.ctac__channels li:first-child { padding-top: 0; }
.ctac__channels li:last-child { padding-bottom: 0; border-bottom: 0; }
.ctac__label { font-size: 12px; line-height: 16px; color: rgba(255, 255, 255, .6); }
.ctac__value { font-size: 16px; line-height: 23px; font-weight: 500; color: var(--white); font-variant-numeric: tabular-nums; }
.ctac__value a, a.ctac__value { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 250ms var(--ease-out), color 180ms ease; }
@media (hover: hover) and (pointer: fine) {
  .ctac__value a:hover, a.ctac__value:hover { color: #9fd8ae; background-size: 100% 1px; }
}
.ctac a:focus-visible { outline: 2px solid #9fd8ae; outline-offset: 3px; border-radius: 4px; }
@media (max-width: 1024px) {
  .ctac { grid-template-columns: 1fr; padding: 44px 40px; }
  .ctac__channels { padding: 28px 0 0; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .16); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .ctac__channels li, .ctac__channels li:first-child, .ctac__channels li:last-child { padding: 12px 0; border-bottom: 0; }
}
@media (max-width: 640px) {
  .ctac { padding: 32px 22px; border-radius: 20px; }
  .ctac__title { font-size: 26px; line-height: 33px; }
  .ctac__actions { flex-direction: column; align-items: flex-start; }
  .ctac__channels { grid-template-columns: 1fr; }
  .ctac__value { font-size: 15px; word-break: break-word; }
}
@media (prefers-reduced-motion: reduce) { .ctac__value a, a.ctac__value { transition: none; } }

/* =========================================================
   CTA · foto de fondo + formulario rápido a WhatsApp
   ========================================================= */
.ctal { position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 40px 64px; align-items: center; padding: 56px 56px 56px 64px; border-radius: 24px; overflow: hidden; background: var(--navy); color: var(--white); }
.ctal__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.ctal::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(18, 59, 94, .97) 0%, rgba(18, 59, 94, .9) 42%, rgba(18, 59, 94, .55) 100%); }
.ctal__title { margin: 0; max-width: 540px; font-size: 38px; line-height: 46px; font-weight: 700; letter-spacing: -.01em; color: var(--white); }
.ctal__text { margin: 16px 0 0; max-width: 470px; font-size: 16px; line-height: 26px; color: rgba(255, 255, 255, .82); }
.ctal__points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 26px 0 0; padding: 0; list-style: none; }
.ctal__points li { position: relative; padding-left: 26px; font-size: 15px; line-height: 22px; font-weight: 500; }
.ctal__points li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.2l2.4 2.4 5.2-5.2' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.ctal__direct { margin: 30px 0 0; font-size: 15px; color: rgba(255, 255, 255, .75); }
.ctal__direct a { margin-left: 4px; font-weight: 600; color: var(--white); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(255, 255, 255, .4); }
.ctal__form { display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 18px; background: var(--white); color: var(--navy); box-shadow: 0 24px 50px rgba(0, 0, 0, .22); }
.ctal__form-title { margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; }
.ctal__form-sub { margin: -10px 0 4px; font-size: 13.5px; color: #7a8796; }
.ctal__field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; }
.ctal__field em { font-style: normal; font-weight: 400; color: #8592a0; }
.ctal__field input, .ctal__field select { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d8e1ea; border-radius: 10px; background: #f8fafc; font: inherit; font-size: 15px; font-weight: 400; color: var(--navy); transition: border-color 160ms ease, background-color 160ms ease; }
.ctal__field select { appearance: none; padding-right: 38px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23123b5e' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; }
.ctal__field input:focus, .ctal__field select:focus { outline: none; border-color: var(--green); background-color: var(--white); box-shadow: 0 0 0 3px rgba(64, 164, 93, .18); }
.ctal__field [aria-invalid="true"] { border-color: #d64545; }
.ctal__error { margin: -4px 0 0; font-size: 13px; color: #c23b3b; }
.ctal__submit { justify-content: center; width: 100%; margin-top: 4px; }
.ctal__alt { align-self: center; font-size: 13px; color: #7a8796; text-decoration: underline; text-underline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .ctal__alt:hover { color: var(--navy); } }
@media (max-width: 1024px) {
  .ctal { grid-template-columns: 1fr; padding: 44px 40px; }
  .ctal::before { background: linear-gradient(180deg, rgba(18, 59, 94, .95), rgba(18, 59, 94, .88)); }
  .ctal__form { max-width: 480px; }
}
@media (max-width: 640px) {
  .ctal { padding: 32px 18px 18px; border-radius: 20px; }
  .ctal__title { font-size: 27px; line-height: 34px; }
  .ctal__points { flex-direction: column; gap: 10px; }
  .ctal__form { padding: 22px 18px; }
  .ctal__field input, .ctal__field select { font-size: 16px; }
}
.ctal__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ctal__form { gap: 12px; }
.ctal__field textarea { width: 100%; min-height: 76px; padding: 11px 14px; border: 1px solid #d8e1ea; border-radius: 10px; background: #f8fafc; font: inherit; font-size: 15px; font-weight: 400; line-height: 22px; color: var(--navy); resize: vertical; transition: border-color 160ms ease, background-color 160ms ease; }
.ctal__field textarea:focus { outline: none; border-color: var(--green); background-color: var(--white); box-shadow: 0 0 0 3px rgba(64, 164, 93, .18); }
.ctal__field input, .ctal__field select { height: 44px; }
.ctal { grid-template-columns: minmax(0, 1fr) minmax(0, 430px); }
@media (max-width: 640px) { .ctal__field textarea { font-size: 16px; } }
/* CTA impulso sin formulario: texto a la izquierda, foto visible a la derecha */
.ctal { grid-template-columns: minmax(0, 600px); min-height: 440px; padding: 64px; }
.ctal::before { background: linear-gradient(90deg, rgba(18, 59, 94, .97) 0%, rgba(18, 59, 94, .9) 45%, rgba(18, 59, 94, .25) 80%, rgba(18, 59, 94, .1) 100%); }
.ctal__bg { object-position: right center; }
.ctal__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 32px; }
.ctal__direct { margin-top: 22px; }
@media (max-width: 1024px) {
  .ctal { grid-template-columns: 1fr; min-height: 0; padding: 48px 40px; }
  .ctal::before { background: linear-gradient(180deg, rgba(18, 59, 94, .93), rgba(18, 59, 94, .85)); }
}
@media (max-width: 640px) {
  .ctal { padding: 36px 22px; }
  .ctal__actions { flex-direction: column; align-items: flex-start; }
}
/* CTA impulso · tres atributos en columnas */
.ctal { grid-template-columns: minmax(0, 660px); }
.ctal__feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin: 30px 0 0; padding: 0; list-style: none; }
.ctal__feats li { display: flex; flex-direction: column; gap: 6px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .22); position: relative; }
.ctal__feats li::before { content: ""; position: absolute; left: 0; top: -1px; width: 32px; height: 2px; background: var(--green); }
.ctal__feats strong { font-size: 15px; line-height: 21px; font-weight: 600; color: var(--white); }
.ctal__feats span { font-size: 13.5px; line-height: 20px; color: rgba(255, 255, 255, .7); }
.ctal__actions { margin-top: 36px; }
@media (max-width: 640px) {
  .ctal__feats { grid-template-columns: 1fr; gap: 16px; }
}
/* CTA impulso · foto solo en la mitad derecha, fundida con el panel */
.ctal { min-height: 400px; grid-template-columns: minmax(0, 520px); }
.ctal__bg { left: auto; right: 0; width: 60%; object-position: 65% center; }
.ctal::before { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 40%, rgba(18, 59, 94, .85) 50%, rgba(18, 59, 94, .25) 68%, rgba(18, 59, 94, 0) 85%); }
.ctal__actions { margin-top: 32px; }
@media (max-width: 1024px) {
  .ctal { min-height: 0; padding-bottom: 260px; }
  .ctal__bg { top: auto; width: 100%; height: 300px; object-position: center 35%; }
  .ctal::before { background: linear-gradient(180deg, var(--navy) 0%, var(--navy) calc(100% - 300px), rgba(18, 59, 94, .35) calc(100% - 120px), rgba(18, 59, 94, .1) 100%); }
}
@media (max-width: 640px) {
  .ctal { padding-bottom: 210px; }
  .ctal__bg { height: 240px; }
  .ctal::before { background: linear-gradient(180deg, var(--navy) 0%, var(--navy) calc(100% - 240px), rgba(18, 59, 94, .35) calc(100% - 90px), rgba(18, 59, 94, .1) 100%); }
}
@media (min-width: 1025px) {
  .ctal { grid-template-columns: minmax(0, 600px); }
  .ctal__title, .ctal__text { max-width: 480px; }
  .ctal__bg { width: 56%; }
  .ctal::before { background: linear-gradient(90deg, var(--navy) 0%, var(--navy) 44%, rgba(18, 59, 94, .8) 52%, rgba(18, 59, 94, .2) 68%, rgba(18, 59, 94, 0) 82%); }
  .ctal__actions { flex-wrap: nowrap; }
}

/* =========================================================
   CLIENTES · cabecera + franja de logos en celdas iguales
   ========================================================= */
.page-home .clients--strip { padding: 56px 0; }
.clist__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 28px; }
.page-home .clist__title { margin: 0; text-align: left; font-size: 32px; line-height: 40px; }
.clist__sub { margin: 8px 0 0; font-size: 16px; line-height: 25px; color: var(--text); }
.clist__head .btn { flex: none; }
.clist__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border: 1px solid #e3e9f0; border-radius: 18px; overflow: hidden; }
.clist__logos li { display: grid; place-items: center; height: 140px; padding: 24px; background: var(--white); }
.clist__logos li + li { border-left: 1px solid #e3e9f0; }
.clist__logo { max-width: 190px; max-height: 52px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .75; transition: filter 250ms ease, opacity 250ms ease; }
.clist__logo--tall { max-height: 76px; }
@media (hover: hover) and (pointer: fine) { .clist__logos li:hover .clist__logo { filter: none; opacity: 1; } }
@media (hover: none) { .clist__logo { filter: none; opacity: 1; } }
@media (max-width: 760px) {
  .clist__head { flex-direction: column; align-items: flex-start; }
  .page-home .clist__title { font-size: 26px; line-height: 33px; }
  .clist__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clist__logos li { height: 112px; padding: 18px; }
  .clist__logos li:nth-child(3) { border-left: 0; }
  .clist__logos li:nth-child(n+3) { border-top: 1px solid #e3e9f0; }
  .clist__logo { max-width: 130px; max-height: 42px; }
  .clist__logo--tall { max-height: 60px; }
}
@media (prefers-reduced-motion: reduce) { .clist__logo { transition: none; } }
/* Clientes · celdas separadas por gap (escala a cualquier cantidad) */
.clist__logos { gap: 1px; background: #e3e9f0; }
.clist__logos li + li, .clist__logos li:nth-child(n+3) { border: 0; }
.clist__logos li { height: 124px; }
@media (max-width: 760px) { .clist__logos li { height: 104px; } }

/* =========================================================
   CLIENTES · carrusel continuo de logos
   ========================================================= */
.cmarq {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  border-top: 1px solid #e3e9f0;
  border-bottom: 1px solid #e3e9f0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.cmarq__track { display: flex; width: max-content; animation: cmarq 40s linear infinite; }
.cmarq__group { display: flex; align-items: center; gap: 72px; margin: 0; padding: 0 36px; list-style: none; }
.cmarq__group li { flex: none; display: grid; place-items: center; height: 72px; }
.cmarq__logo { max-width: 180px; max-height: 44px; width: auto; height: auto; object-fit: contain; filter: grayscale(1); opacity: .7; transition: filter 250ms ease, opacity 250ms ease; }
.cmarq__logo--tall { max-height: 68px; }
@keyframes cmarq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) {
  .cmarq:hover .cmarq__track { animation-play-state: paused; }
  .cmarq__group li:hover .cmarq__logo { filter: none; opacity: 1; }
}
@media (hover: none) { .cmarq__logo { filter: none; opacity: 1; } }
@media (max-width: 760px) {
  .cmarq { padding: 20px 0; }
  .cmarq__group { gap: 44px; padding: 0 22px; }
  .cmarq__logo { max-width: 130px; max-height: 36px; }
  .cmarq__logo--tall { max-height: 54px; }
  .cmarq__track { animation-duration: 30s; }
}
@media (prefers-reduced-motion: reduce) {
  .cmarq { -webkit-mask-image: none; mask-image: none; overflow-x: auto; }
  .cmarq__track { animation: none; }
  .cmarq__group[aria-hidden="true"] { display: none; }
}

/* =========================================================
   CLIENTES · dividida (intro a la izquierda + mosaico de logos)
   ========================================================= */
.page-home .clients--split { padding: 64px 0; }
.csplit { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px 64px; align-items: center; }
.csplit__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.page-home .csplit__title { margin: 0; text-align: left; font-size: 32px; line-height: 40px; }
.csplit__sub { margin: 0; font-size: 16px; line-height: 26px; color: var(--text); }
.csplit__intro .btn { margin-top: 6px; }
.csplit__logos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.csplit__logos li { display: grid; place-items: center; height: 112px; padding: 18px; border-radius: 16px; background: #f5f8fb; transition: background-color 200ms ease, box-shadow 250ms ease; }
.csplit__logo { max-width: 150px; max-height: 40px; width: auto; height: auto; object-fit: contain; }
.csplit__logo--tall { max-height: 62px; }
@media (hover: hover) and (pointer: fine) {
  .csplit__logos li:hover { background: var(--white); box-shadow: 0 0 0 1px #e3e9f0, 0 10px 24px rgba(18, 59, 94, .08); }
}
@media (max-width: 1024px) { .csplit { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .page-home .csplit__title { font-size: 26px; line-height: 33px; }
  .csplit__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .csplit__logos li { height: 96px; }
  .csplit__logo { max-width: 120px; max-height: 34px; }
  .csplit__logo--tall { max-height: 52px; }
}
@media (prefers-reduced-motion: reduce) { .csplit__logos li { transition: none; } }

/* =========================================================
   CLIENTES · filas en movimiento (escalable)
   ========================================================= */
.page-home .clients--rows { padding: 64px 0; overflow: hidden; }
.crows__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 32px; }
.page-home .crows__title { margin: 0; text-align: left; font-size: 32px; line-height: 40px; }
.crows__sub { margin: 8px 0 0; font-size: 16px; line-height: 25px; color: var(--text); }
.crows__head .btn { flex: none; }
.crows { display: flex; flex-direction: column; gap: 14px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.crows__row { overflow: hidden; }
.crows__track { display: flex; width: max-content; animation: crows var(--dur, 40s) linear infinite; }
.crows__row--rev .crows__track { animation-direction: reverse; }
.crows__group { display: flex; gap: 14px; margin: 0; padding: 0 7px; list-style: none; }
.crows__group li { flex: none; display: grid; place-items: center; width: 200px; height: 100px; padding: 18px; border-radius: 16px; background: #f5f8fb; transition: background-color 200ms ease, box-shadow 250ms ease; }
.crows__logo { max-width: 140px; max-height: 38px; width: auto; height: auto; object-fit: contain; }
.crows__logo--tall { max-height: 60px; }
/* Tamaños ópticos según el formato del logotipo, sin deformar su proporción. */
.crows__logo--portrait { max-width: 100px; max-height: 64px; }
.crows__logo--balanced { max-width: 128px; max-height: 64px; }
.crows__logo--landscape { max-width: 150px; max-height: 64px; }
@keyframes crows { from { transform: translateX(0); } to { transform: translateX(calc(-100% / var(--reps, 2))); } }
@media (hover: hover) and (pointer: fine) {
  .crows:hover .crows__track { animation-play-state: paused; }
  .crows__group li:hover { background: var(--white); box-shadow: 0 0 0 1px #e3e9f0, 0 10px 24px rgba(18, 59, 94, .08); }
}
@media (max-width: 760px) {
  .crows__head { flex-direction: column; align-items: flex-start; }
  .page-home .crows__title { font-size: 26px; line-height: 33px; }
  .crows__group li { width: 150px; height: 84px; padding: 14px; }
  .crows__logo { max-width: 110px; max-height: 32px; }
  .crows__logo--tall { max-height: 50px; }
  .crows__logo--portrait { max-width: 74px; max-height: 54px; }
  .crows__logo--balanced { max-width: 94px; max-height: 54px; }
  .crows__logo--landscape { max-width: 110px; max-height: 54px; }
}
@media (prefers-reduced-motion: reduce) {
  .crows { -webkit-mask-image: none; mask-image: none; }
  .crows__row { overflow-x: auto; }
  .crows__track { animation: none; }
  .crows__group[aria-hidden="true"] { display: none; }
}
/* =========================================================
   MAPA · dividido (datos de contacto + mapa)
   ========================================================= */
.page-home .map--split { padding: 64px 0 72px; }
.msplit { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 40px 64px; align-items: stretch; }
.page-home .msplit__title { margin: 0; text-align: left; font-size: 32px; line-height: 40px; }
.msplit__sub { margin: 10px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.msplit__list { margin: 28px 0 0; border-top: 1px solid #e3e9f0; }
.msplit__list > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid #e3e9f0; }
.msplit__list dt { font-size: 13px; line-height: 22px; font-weight: 600; color: var(--navy); }
.msplit__list dd { margin: 0; font-size: 15px; line-height: 22px; color: var(--text); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.msplit__list a { color: var(--navy); text-decoration: underline; text-decoration-color: #c9d4df; text-underline-offset: 3px; transition: color 180ms ease, text-decoration-color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .msplit__list a:hover { color: var(--green); text-decoration-color: currentColor; } }
.msplit__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.msplit__map { min-height: 440px; border-radius: 20px; overflow: hidden; background: #e9eef4; }
.msplit__map iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; }
@media (max-width: 1024px) { .msplit { grid-template-columns: 1fr; } .msplit__map, .msplit__map iframe { min-height: 360px; } }
@media (max-width: 640px) {
  .page-home .msplit__title { font-size: 26px; line-height: 33px; }
  .msplit__list > div { grid-template-columns: 1fr; gap: 2px; }
  .msplit__actions { flex-direction: column; align-items: flex-start; }
  .msplit__map, .msplit__map iframe { min-height: 300px; }
}
@media (min-width: 1025px) { .msplit { grid-template-columns: minmax(0, 490px) minmax(0, 1fr); } .msplit__actions { flex-wrap: nowrap; } }

/* =========================================================
   MAPA · ancho completo con datos encima
   ========================================================= */
.page-home .map--wide { padding: 64px 0 72px; }
.mwide__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.page-home .mwide__title { margin: 0; text-align: left; font-size: 32px; line-height: 40px; }
.mwide__sub { margin: 8px 0 0; font-size: 16px; line-height: 25px; color: var(--text); }
.mwide__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.mwide__info { display: grid; grid-template-columns: 1.3fr 1.1fr .8fr 1.2fr; margin: 28px 0 24px; border-top: 1px solid #e3e9f0; border-bottom: 1px solid #e3e9f0; }
.mwide__info > div { padding: 18px 24px; }
.mwide__info > div:first-child { padding-left: 0; }
.mwide__info > div + div { border-left: 1px solid #e3e9f0; }
.mwide__info dt { margin-bottom: 6px; font-size: 12.5px; line-height: 18px; font-weight: 600; color: #8592a0; }
.mwide__info dd { margin: 0; font-size: 15px; line-height: 23px; font-weight: 500; color: var(--navy); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.mwide__info a { color: inherit; text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size 250ms var(--ease-out), color 180ms ease; }
@media (hover: hover) and (pointer: fine) { .mwide__info a:hover { color: var(--green); background-size: 100% 1px; } }
.mwide__map { height: 440px; border-radius: 20px; overflow: hidden; background: #e9eef4; }
.mwide__map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (max-width: 1024px) {
  .mwide__head { flex-direction: column; align-items: flex-start; }
  .mwide__info { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mwide__info > div:nth-child(3) { border-left: 0; padding-left: 0; }
  .mwide__info > div:nth-child(n+3) { border-top: 1px solid #e3e9f0; }
  .mwide__map { height: 380px; }
}
@media (max-width: 640px) {
  .page-home .mwide__title { font-size: 26px; line-height: 33px; }
  .mwide__actions { flex-direction: column; align-items: flex-start; }
  .mwide__info { grid-template-columns: 1fr; }
  .mwide__info > div, .mwide__info > div:first-child { padding: 14px 0; border-left: 0; }
  .mwide__info > div + div { border-top: 1px solid #e3e9f0; }
  .mwide__map { height: 320px; border-radius: 16px; }
}
@media (prefers-reduced-motion: reduce) { .mwide__info a { transition: none; } }
@media (max-width: 640px) { .mwide__info > div:nth-child(n) { border-left: 0; padding-left: 0; } }

/* =========================================================
   MAPA · barra de datos sobre el mapa
   ========================================================= */
.page-home .map--bar { padding: 64px 0 72px; }
.mbar { position: relative; height: 520px; border-radius: 22px; overflow: hidden; background: #e9eef4; }
.mbar__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.mbar__panel {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px 32px;
  padding: 20px 20px 20px 28px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 16px 40px rgba(18, 59, 94, .18);
}
.mbar__item p { margin: 4px 0 0; font-size: 14.5px; line-height: 21px; color: var(--text); }
.mbar__item + .mbar__item { padding-left: 32px; border-left: 1px solid #e3e9f0; }
.mbar__title { margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; color: var(--navy); }
.mbar__label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--navy); }
.mbar__btn { flex: none; }
@media (max-width: 1024px) {
  .mbar__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mbar__btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 640px) {
  .mbar { height: auto; display: flex; flex-direction: column; overflow: visible; background: none; border-radius: 0; }
  .mbar__frame { position: static; height: 300px; border-radius: 16px; }
  .mbar__panel { position: relative; left: auto; right: auto; bottom: auto; margin: -36px 12px 0; grid-template-columns: 1fr; padding: 20px; }
  .mbar__item + .mbar__item { padding: 14px 0 0; border-left: 0; border-top: 1px solid #e3e9f0; }
}
.mbar__nw { white-space: nowrap; }
.mbar__panel { grid-template-columns: minmax(0, 1fr) auto auto; }
@media (max-width: 1024px) { .mbar__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 640px) { .mbar__panel { grid-template-columns: 1fr; } }

/* Footer · aliados solos; libro de reclamaciones en franja legal propia */
.footer__grid > .footer__col:last-child { align-self: start; }
.footer__allies { flex-wrap: wrap; }
.footer__claims { margin-top: 0; font-size: inherit; line-height: inherit; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.footer__claims-text { margin: 0; font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, .65); }
.footer .footer__book {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 6px 16px 6px 6px;
  border-radius: 12px;
  background: var(--white);
  color: var(--navy);
  font-size: 14px;
  font-weight: 600;
  overflow: visible;
  transition: transform 160ms var(--ease-out), box-shadow 200ms ease;
}
.footer .footer__book img { width: 62px; height: 36px; aspect-ratio: auto; object-fit: contain; border-radius: 6px; background: none; }
.footer .footer__book:focus-visible { outline: 2px solid #9fd8ae; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .footer .footer__book:hover { box-shadow: 0 0 0 3px rgba(255, 255, 255, .2); } }
@media (max-width: 1100px) {
  .footer__grid > .footer__col:last-child { display: block; }
}
@media (max-width: 640px) {
  .footer__claims { flex-direction: column; align-items: flex-start; }
}
/* Footer · libro de reclamaciones discreto bajo aliados */
.footer__claims-link { display: block; width: 96px; margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); box-sizing: content-box; }
.footer__claims-link img { display: block; width: 96px; height: auto; border-radius: 8px; background: var(--white); }
.footer__claims-link:focus-visible { outline: 2px solid #9fd8ae; outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .footer__claims-link img { opacity: .92; transition: opacity 200ms ease; } .footer__claims-link:hover img { opacity: 1; } }
.footer__claims-link { width: auto; max-width: 182px; }

/* =========================================================
   FOOTER · refinamiento tipográfico y de espaciado
   ========================================================= */
.footer::before { display: none; }
.footer__grid { padding: 72px 0 56px; gap: 40px; }
.footer__slogan { margin-top: 24px; max-width: 280px; font-size: 15px; line-height: 24px; font-weight: 400; color: rgba(255, 255, 255, .78); }
.footer__ruc { margin-top: 16px; font-size: 12.5px; line-height: 20px; letter-spacing: 0; color: rgba(255, 255, 255, .5); }
.footer__brand .footer__social { margin-top: 24px; }
.footer__social a { width: 36px; height: 36px; border-color: rgba(255, 255, 255, .16); }
.footer__social a img { width: 28px; height: 28px; opacity: .85; }
.footer__title, .footer__col h4 { margin-bottom: 20px; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
/* Reserva espacio para los ascendentes de las mayúsculas y evita recortes ópticos. */
.footer__title { display: block; min-height: 22px; padding: 1px 0; overflow: visible; }
.footer__links { gap: 12px; font-size: 14.5px; line-height: 21px; }
.footer__links a, .footer__contact a { color: rgba(255, 255, 255, .85); }
.footer__email { justify-self: start; width: max-content; }
.footer__contact { font-size: 14.5px; line-height: 22px; color: rgba(255, 255, 255, .85); }
.footer__contact li + li, .footer__contact li:nth-child(3) { margin-top: 16px; }
.footer__contact img { width: 18px; height: 18px; margin-top: 2px; opacity: .7; }
.footer__phones { margin-top: 3px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.footer__chip { width: 80px; height: 64px; border-radius: 12px; }
.footer__chip img { max-height: 48px; }
.footer__bottom { border-top-color: rgba(255, 255, 255, .1); }
.footer__bottom-inner { padding: 22px 0; }
.footer__bottom p, .footer__legal-links { font-size: 12.5px; color: rgba(255, 255, 255, .55); }
.footer__legal-links a { color: rgba(255, 255, 255, .7); }
.footer__legal-links strong { font-weight: 500; color: rgba(255, 255, 255, .85); }
.footer__top { width: 36px; height: 36px; border-color: rgba(255, 255, 255, .16); }
@media (max-width: 1024px) { .footer__grid { padding: 56px 0 44px; } }
@media (max-width: 640px) { .footer__grid { padding: 48px 0 36px; gap: 36px 20px; } }
.footer .footer__ruc, .footer .footer__ruc span { font-size: 13px; line-height: 20px; color: rgba(255, 255, 255, .5); letter-spacing: 0; }
@media (max-width: 1240px) {
  .footer__grid > .footer__col:last-child { display: block; }
  .footer__grid > .footer__col:last-child .footer__title { margin-bottom: 20px; }
}
.footer__legal-links .footer__dev { font-weight: 500; color: rgba(255, 255, 255, .85); }
/* =========================================================
   INICIO · ritmo vertical por jerarquía
   Cada sección define solo el espacio que la precede (padding-top).
   - 96px  entre secciones de contenido con título (lectura normal)
   - 72px  junto a bloques con borde propio (panel CTA, mapa): su borde ya separa
   - 40px  del encabezado de sección a su contenido
   La escala se reduce con --k en tablet y móvil.
   ========================================================= */
.page-home { --k: 1; --s-xl: calc(96px * var(--k)); --s-lg: calc(72px * var(--k)); --s-head: calc(40px * var(--k)); }
@media (max-width: 1024px) { .page-home { --k: .75; } }
@media (max-width: 640px) { .page-home { --k: .6; } }
.page-home main > section:not(.hero) { padding-top: var(--s-xl) !important; padding-bottom: 0 !important; }
.page-home main > .services:not(.hero) { padding-top: var(--s-lg) !important; }
.page-home main > .cta-wrap:not(.hero) { padding-top: var(--s-lg) !important; }
.page-home main > .cta-wrap + section:not(.hero) { padding-top: var(--s-lg) !important; }
.page-home main > .map:not(.hero) { padding-top: var(--s-lg) !important; padding-bottom: var(--s-xl) !important; }
/* encabezado → contenido */
.page-home .services .slider,
.page-home .cert__head + .iso-grid,
.page-home .secg__grid,
.page-home .crows { margin-top: 0 !important; }
.page-home .services .services__head,
.page-home .cert__head,
.page-home .secg__head,
.page-home .crows__head { margin-bottom: var(--s-head) !important; }
.page-home .stories__head { margin-bottom: calc(var(--s-head) - 20px) !important; }
@media (max-width: 1024px) { .page-home .stories__head { margin-bottom: calc(var(--s-head) - 32px) !important; } }
.page-home .cert__note { margin-top: 20px; }

/* =========================================================
   INDICADORES · franja que se monta sobre el borde del hero
   ========================================================= */
.tband-wrap { position: relative; z-index: 4; margin-top: -52px; }
.tband {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px 40px;
  padding: 26px 32px 26px 40px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(18, 59, 94, .12), 0 1px 2px rgba(18, 59, 94, .06);
}
.tband__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; }
.tband__stats li { display: flex; align-items: center; gap: 14px; padding: 0 24px; }
.tband__stats li:first-child { padding-left: 0; }
.tband__stats li + li { border-left: 1px solid #e3e9f0; }
.tband__num { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.tband__label { font-size: 13.5px; line-height: 19px; color: var(--text); }
.tband__allies { display: flex; align-items: center; gap: 14px; padding-left: 32px; border-left: 1px solid #e3e9f0; }
.tband__allies-label { margin-right: 4px; font-size: 12.5px; line-height: 17px; font-weight: 600; color: var(--navy); }
.tband__allies img { width: auto; height: 46px; object-fit: contain; }
@media (max-width: 1100px) {
  .tband { grid-template-columns: 1fr; padding: 24px 28px; }
  .tband__allies { padding: 20px 0 0; border-left: 0; border-top: 1px solid #e3e9f0; }
}
@media (max-width: 640px) {
  .tband-wrap { margin-top: -36px; }
  .tband { padding: 20px; gap: 18px; }
  .tband__stats li { flex-direction: column; align-items: flex-start; gap: 6px; padding: 0 12px; }
  .tband__num { font-size: 30px; }
  .tband__label { font-size: 12px; line-height: 16px; }
  .tband__label br { display: none; }
  .tband__allies { padding-top: 16px; }
  .tband__allies img { height: 38px; }
}
/* hero: controles por encima de la franja de indicadores */
.page-home:has(.tband) .hero__nav { bottom: 76px; }
@media (max-width: 640px) { .page-home:has(.tband) .hero__nav { bottom: 56px; } }
@media (max-width: 640px) { .tband__stats li { padding: 0 10px; } .tband__label br { display: inline; } }

/* =========================================================
   HERO + FRANJA · espaciado y usabilidad
   Contenido centrado en el área libre (entre menú y franja);
   controles del slider alineados a la derecha, lejos de los botones.
   ========================================================= */
@media (min-width: 1025px) {
  .page-home:has(.tband) .hero { height: 700px; }
  .page-home:has(.tband) .hero__slide { display: flex; align-items: center; }
  .page-home:has(.tband) .hero__content { padding-top: 72px; padding-bottom: 96px; }
  .page-home:has(.tband) .hero__nav { left: auto; right: max(16px, calc((100% - 1200px) / 2)); bottom: 84px; transform: none; }
}
@media (max-width: 1024px) {
  .page-home:has(.tband) .hero__content { padding-bottom: 150px; }
  .page-home:has(.tband) .hero__nav { bottom: 72px; }
}
@media (max-width: 640px) {
  .page-home:has(.tband) .hero__content { padding-bottom: 130px; }
  .page-home:has(.tband) .hero__nav { bottom: 56px; }
}

/* íconos de la franja */
.tband__stats li { gap: 14px; }
.tband__icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #eef7f1; color: var(--green); }
.tband__icon svg { width: 24px; height: 24px; }
.tband__stats li > .tband__num { margin-left: 2px; }
.tband { padding: 22px 32px; }
@media (max-width: 1240px) and (min-width: 1101px) { .tband__icon { width: 42px; height: 42px; } .tband__num { font-size: 34px; } }
@media (max-width: 640px) {
  .tband__icon { width: 36px; height: 36px; border-radius: 10px; }
  .tband__icon svg { width: 19px; height: 19px; }
}
@media (min-width: 1025px) {
  .page-home:has(.tband) .hero { height: 690px; }
  .page-home:has(.tband) .hero__content { padding-top: 104px; padding-bottom: 84px; }
}
@media (min-width: 1101px) {
  .tband__stats li { gap: 12px; padding: 0 20px; }
  .tband__icon { width: 44px; height: 44px; border-radius: 12px; }
  .tband__icon svg { width: 22px; height: 22px; }
  .tband__num { font-size: 36px; }
  .tband__label { font-size: 13px; line-height: 18px; white-space: nowrap; }
  .tband { gap: 24px 28px; padding: 22px 28px; }
  .tband__allies { padding-left: 28px; }
}
/* franja · íconos con el estilo de "Aliado Estratégico" */
.tband__icon, img.tband__icon { width: 52px; height: 52px; padding: 0; border-radius: 0; background: none; object-fit: contain; }
@media (min-width: 1101px) { img.tband__icon { width: 50px; height: 50px; } }
@media (max-width: 640px) { img.tband__icon { width: 40px; height: 40px; } }
/* Aliados en el Inicio: misma sección que en internas, escala acorde al ritmo de la home */
.page-home .allies--home .title { text-align: left; }
.page-home .allies--home .allies__text { font-size: 16px; line-height: 26px; color: var(--text); }
.page-home .allies--home .allies__logos { gap: 56px; }
.page-home .allies--home .allies__qro { width: 220px; height: auto; margin-top: 12px; }
.page-home .allies--home .allies__qfs { width: 150px; height: auto; }
@media (max-width: 640px) {
  .page-home .allies--home .allies__qro { width: 170px; }
  .page-home .allies--home .allies__qfs { width: 118px; }
  .page-home .allies--home .allies__logos { gap: 32px; }
}

/* Casos · normas certificadas: celdas iguales con check, más legibles */
.icard__label { display: flex; align-items: center; gap: 8px; }
.icard__count { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: #eef7f1; font-size: 11.5px; font-weight: 600; color: var(--green); }
.icard__norms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.icard__norms li { position: static; }
.icard__norm {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
  width: 100%; height: 52px; padding: 0 4px;
  border: 1px solid #e3ede7; border-radius: 10px; background: #f6faf7;
  font-size: 15px; line-height: 18px; font-weight: 700; color: var(--navy);
  position: relative;
}
.icard__norm::after { content: ""; position: absolute; top: -5px; right: -5px; width: 15px; height: 15px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5.2 9.2l2.4 2.4 5.2-5.2' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat; box-shadow: 0 0 0 2px var(--white); }
.icard__norm-iso { font-size: 10px; line-height: 12px; font-weight: 600; letter-spacing: .06em; color: #7a8796; }
@media (hover: hover) and (pointer: fine) {
  .icard__norm:hover { border-color: var(--green); background: var(--white); color: var(--navy); }
  .icard__norm:hover .icard__norm-iso { color: var(--green); }
}
@media (max-width: 480px) { .icard__norm { height: 48px; font-size: 14px; } }

/* Casos · normas: versión simple (números separados por líneas finas) */
.icard__label { display: block; }
.icard__norms { display: flex; flex-wrap: wrap; gap: 0; margin-top: 6px; }
.icard__norms li + li { border-left: 1px solid #dfe6ee; }
.icard__norm {
  display: inline-block; width: auto; height: auto; padding: 2px 14px; margin: 0;
  border: 0; border-radius: 0; background: none;
  font-size: 16px; line-height: 22px; font-weight: 600; color: var(--navy); letter-spacing: 0;
}
.icard__norms li:first-child .icard__norm { padding-left: 0; }
.icard__norm::after { display: none; }
.icard__norm:focus-visible { outline: 2px solid var(--green); outline-offset: 2px; border-radius: 4px; }
@media (hover: hover) and (pointer: fine) {
  .icard__norm:hover { background: none; color: var(--green); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
}
@media (max-width: 480px) { .icard__norm { height: auto; padding: 2px 10px; font-size: 15px; } }

/* Casos · normas: lista 2×2 con check (propuesta "lista") */
.icard__norms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin-top: 10px; }
.icard__norms li + li { border-left: 0; }
.icard__norm, .icard__norms li:first-child .icard__norm {
  display: inline-flex; align-items: center; gap: 8px; padding: 0;
  font-size: 14.5px; line-height: 20px; font-weight: 500; color: var(--navy);
}
.icard__norm::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; background: #e8f5ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.2l2.2 2.2 4.6-4.6' fill='none' stroke='%2340a45d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (hover: hover) and (pointer: fine) { .icard__norm:hover { color: var(--green); text-decoration: none; } }
@media (max-width: 480px) { .icard__norm, .icard__norms li:first-child .icard__norm { padding: 0; font-size: 14px; } }
.icard__norm, .icard__norms li:first-child .icard__norm { flex-direction: row; justify-content: flex-start; width: auto; height: auto; border: 0; background: none; }
/* Casos · normas en una sola fila en PC */
@media (min-width: 1025px) {
  .icard__norms { display: flex; flex-wrap: nowrap; justify-content: space-between; gap: 8px; }
  .icard__norm, .icard__norms li:first-child .icard__norm { gap: 5px; font-size: 13.5px; white-space: nowrap; }
  .icard__norm::before { width: 14px; height: 14px; background-size: 14px; }
}
.icard__norm-iso { font: inherit; letter-spacing: inherit; color: inherit; }
@media (min-width: 1025px) {
  .icard__norm-iso { display: none; }
  .icard__norm, .icard__norms li:first-child .icard__norm { gap: 6px; font-size: 15px; font-weight: 600; }
  .icard__norm::before { width: 16px; height: 16px; background-size: 16px; }
}

.footer__wa-label { display: block; font-size: 13px; line-height: 18px; color: rgba(255, 255, 255, .6); }
.footer__wa-nums { display: block; margin-top: 2px; }
.footer__wa-nums { white-space: nowrap; font-size: 14px; }
.footer__wa-nums a, .footer__wa-nums span { display: inline; }

/* =========================================================
   PÁGINAS INTERNAS · misma línea gráfica del Inicio
   - fondos blancos (sin franjas grises), ritmo 96/72/40
   - encabezados alineados a la izquierda, sin eyebrow
   - misma tipografía de títulos que el Inicio
   ========================================================= */
.page-inner { --k: 1; --s-xl: calc(96px * var(--k)); --s-lg: calc(72px * var(--k)); --s-head: calc(40px * var(--k)); }
@media (max-width: 1024px) { .page-inner { --k: .75; } }
@media (max-width: 640px) { .page-inner { --k: .6; } }

/* fondos */
.page-inner main .bg-soft { background: transparent; }

/* ritmo vertical: cada sección define solo el espacio que la precede */
.page-inner main > section:not(.ihero) { padding-top: var(--s-xl) !important; padding-bottom: 0 !important; }
.page-inner main > section.cta-wrap:not(.ihero) { padding-top: var(--s-lg) !important; padding-bottom: var(--s-xl) !important; }
.page-inner main > section.map:not(.ihero) { padding-top: var(--s-lg) !important; padding-bottom: var(--s-xl) !important; }
.page-inner main > section:last-child:not(.cta-wrap):not(.map) { padding-bottom: var(--s-xl) !important; }

/* tipografía de títulos igual al Inicio */
.page-inner .title, .page-inner .values__title {
  font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -.015em;
}
@media (max-width: 1024px) { .page-inner .title, .page-inner .values__title { font-size: 34px; line-height: 42px; } }
@media (max-width: 640px) { .page-inner .title, .page-inner .values__title { font-size: 28px; line-height: 35px; } }

/* encabezados de sección: título a la izquierda, descripción a la derecha */
.page-inner .eyebrow { display: none; }
.page-inner .section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px); align-items: end; gap: 12px 56px; text-align: left; margin-bottom: var(--s-head) !important; }
.page-inner .section-head .title { margin: 0; }
.page-inner .section-head__sub { margin: 0 !important; max-width: none; font-size: 16px; line-height: 26px; color: var(--text); text-align: left; }
.page-inner .section-head:not(:has(.section-head__sub)) { grid-template-columns: 1fr; }
@media (max-width: 900px) { .page-inner .section-head { grid-template-columns: 1fr; align-items: start; } }
.page-inner .title--center, .page-inner .values__title { text-align: left; }
.page-inner .center.section-cta { justify-content: flex-start; margin-top: 32px; }

/* bloques reutilizados del Inicio */
.page-inner .ally .ally__title { margin: 0; text-align: left; }
.page-inner .stories__head { margin-bottom: calc(var(--s-head) - 20px) !important; }
@media (max-width: 1024px) { .page-inner .stories__head { margin-bottom: calc(var(--s-head) - 32px) !important; } }
.page-inner .stories__head .title { text-align: left; }

/* casos en grilla (página Casos de Éxito) */
.page-inner .folio--issuer:not(.folio--slider) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.page-inner .folio--issuer:not(.folio--slider) .folio__item { display: flex; }
@media (max-width: 1024px) { .page-inner .folio--issuer:not(.folio--slider) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .page-inner .folio--issuer:not(.folio--slider) { grid-template-columns: 1fr; } }
.page-inner .folio-filter { margin-top: 0; }

/* tarjetas de detalle y separadores con el mismo trazo fino */
.page-inner .split__img, .page-inner .member__photo { border-radius: 20px; }
/* internas: slider de servicios igual al Inicio */
.page-inner .services__head { margin-bottom: var(--s-head); }
.page-inner .services .slider { margin-top: 0; }
.page-inner .services__head .title { margin: 0; text-align: left; }

/* internas · listas de beneficios / tipos con el estilo de la lista "Aliado Estratégico" del Inicio */
.page-inner .benefit-grid, .page-inner .benefit-grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; border-top: 1px solid #e3e9f0; }
.page-inner .benefit {
  display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; align-items: start;
  padding: 20px 0; border: 0; border-bottom: 1px solid #e3e9f0; border-radius: 0; background: none; box-shadow: none; transform: none;
}
.page-inner .benefit:hover { box-shadow: none; transform: none; }
.page-inner .benefit__icon { grid-row: span 2; width: 40px; height: 40px; background: #f4f8fd; }
.page-inner .benefit__icon img { width: 18px; height: 18px; }
.page-inner .benefit__title { margin: 2px 0 0; font-size: 16px; line-height: 22px; font-weight: 600; }
.page-inner .benefit__text { margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--text); }
@media (min-width: 1025px) { .page-inner .benefit-grid:not(.benefit-grid--3) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .page-inner .benefit-grid, .page-inner .benefit-grid--3 { grid-template-columns: 1fr; } }
/* normas: misma tarjeta y grilla del Inicio */
.page-inner .iso-grid--page { margin: 0; }
.page-inner .cert__note { margin-top: 20px; }

/* =========================================================
   INTERNAS · tarjetas de servicio del Inicio en grilla
   5 → 3 arriba + 2 anchas abajo · 4 → una fila
   ========================================================= */
.srv-cards { display: grid; gap: 20px; }
.srv-cards .srv-card { flex: none; width: auto; height: 400px; }
.srv-cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.srv-cards--5 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.srv-cards--5 .srv-card { grid-column: span 2; }
.srv-cards--5 .srv-card:nth-child(n+4) { grid-column: span 3; height: 340px; }
@media (max-width: 1024px) {
  .srv-cards--4, .srv-cards--5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .srv-cards--5 .srv-card, .srv-cards--5 .srv-card:nth-child(n+4) { grid-column: auto; height: 340px; }
  .srv-cards--5 .srv-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .srv-cards--4, .srv-cards--5 { grid-template-columns: 1fr; }
  .srv-cards .srv-card, .srv-cards--5 .srv-card:nth-child(n+4) { height: 260px; }
}

/* =========================================================
   INTERNAS · cabecera dividida (fondo claro + foto)
   ========================================================= */
.ihero.ihero--split { min-height: 0; height: auto; padding: 150px 0 72px; background: #f4f8fd; color: var(--navy); }
.ihero--split .ihero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 40px 64px; align-items: center; }
.ihero--split .breadcrumb li { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: #7a8796; }
.ihero--split .breadcrumb a { opacity: 1; color: #7a8796; }
.ihero--split .breadcrumb a:hover { color: var(--green); }
.ihero--split .breadcrumb [aria-current] { color: var(--navy); }
.ihero--split .ihero__title { max-width: 620px; margin-top: 14px; font-size: 46px; line-height: 56px; letter-spacing: -.015em; color: var(--navy); }
.ihero--split .hero__hl { color: var(--white); line-height: 52px; }
.ihero--split .ihero__text { max-width: 560px; margin-top: 18px; font-size: 17px; line-height: 27px; color: var(--text); }
.ihero--split .hero__actions { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }
.ihero--split .hero__actions .btn { min-width: 0; }
.ihero__media { position: relative; margin: 0; aspect-ratio: 5 / 4; border-radius: 24px; overflow: hidden; background: #e3e9f0; box-shadow: 0 24px 50px rgba(18, 59, 94, .14); }
.ihero__media img { width: 100%; height: 100%; object-fit: cover; }
.ihero__media::after { content: ""; position: absolute; left: 0; bottom: 0; width: 38%; height: 6px; background: var(--green); }
@media (max-width: 1024px) {
  .ihero.ihero--split { padding: 130px 0 56px; }
  .ihero--split .ihero__grid { grid-template-columns: 1fr; }
  .ihero__media { aspect-ratio: 16 / 9; }
  .ihero--split .ihero__title { font-size: 38px; line-height: 48px; }
}
@media (max-width: 640px) {
  .ihero.ihero--split { padding: 112px 0 40px; }
  .ihero--split .ihero__title { font-size: 30px; line-height: 40px; }
  .ihero--split .hero__hl { line-height: 38px; }
  .ihero--split .ihero__text { font-size: 16px; line-height: 25px; }
  .ihero--split .hero__actions { flex-direction: column; align-items: flex-start; }
  .ihero__media { border-radius: 18px; }
}

/* =========================================================
   INTERNAS · cabecera banner (foto + ruta + nombre + descripción breve)
   ========================================================= */
.ihero.ihero--banner { position: relative; display: flex; align-items: flex-end; min-height: 0; height: 440px; padding: 0 0 64px; overflow: hidden; background: var(--navy); color: var(--white); }
.ihero--banner .ihero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ihero--banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(18, 59, 94, .94) 0%, rgba(18, 59, 94, .8) 38%, rgba(18, 59, 94, .35) 75%, rgba(18, 59, 94, .2) 100%), linear-gradient(0deg, rgba(18, 59, 94, .45), rgba(18, 59, 94, 0) 45%); }
.ihero--banner .ihero__content { position: relative; z-index: 2; width: min(var(--container), 100% - 32px); }
.ihero--banner .breadcrumb li { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: rgba(255, 255, 255, .7); }
.ihero--banner .breadcrumb a { opacity: 1; color: rgba(255, 255, 255, .7); }
.ihero--banner .breadcrumb a:hover { color: #9fd8ae; }
.ihero--banner .breadcrumb [aria-current] { color: var(--white); }
.ihero--banner .ihero__title { position: relative; max-width: 720px; margin-top: 12px; padding-bottom: 18px; font-size: 48px; line-height: 56px; font-weight: 700; letter-spacing: -.015em; color: var(--white); }
.ihero--banner .ihero__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: var(--green); }
.ihero--banner .ihero__text { max-width: 560px; margin-top: 18px; font-size: 17px; line-height: 27px; color: rgba(255, 255, 255, .85); }
@media (max-width: 1024px) { .ihero.ihero--banner { height: 380px; padding-bottom: 48px; } .ihero--banner .ihero__title { font-size: 40px; line-height: 48px; } }
@media (max-width: 640px) {
  .ihero.ihero--banner { height: auto; min-height: 340px; padding: 120px 0 36px; }
  .ihero--banner::before { background: linear-gradient(0deg, rgba(18, 59, 94, .95) 10%, rgba(18, 59, 94, .65) 100%); }
  .ihero--banner .ihero__title { font-size: 32px; line-height: 40px; padding-bottom: 14px; }
  .ihero--banner .ihero__text { font-size: 15.5px; line-height: 24px; }
}
/* banner interno sin línea verde */
.ihero--banner .ihero__title { padding-bottom: 0; }
.ihero--banner .ihero__title::after { display: none; }
.ihero--banner .ihero__text { margin-top: 14px; }
/* menú: sin subrayado verde en el elemento activo (se mantiene el color) */
.nav > a.is-active::after, .nav__dropdown.is-current .nav__toggle::after,
.nav > a:not(.nav__cta)::after, .nav__toggle::after { display: none !important; }
/* encabezado de servicios con descripción */
.services__intro .title { margin: 0; }
.services__sub { margin: 10px 0 0; max-width: 620px; font-size: 16px; line-height: 26px; color: var(--text); }
.page-inner .ihero + .services:has(> .container > h2.visually-hidden) { padding-top: var(--s-lg) !important; }

/* =========================================================
   INTERNAS · proceso como línea de tiempo (sin cajas)
   ========================================================= */
.page-inner .process { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0 24px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.page-inner .process--4 { --n: 4; } .page-inner .process--5 { --n: 5; } .page-inner .process--6 { --n: 6; } .page-inner .process--9 { --n: 3; row-gap: 40px; }
.page-inner .process::before { content: ""; position: absolute; left: 24px; right: 24px; top: 23px; height: 2px; background: #e3e9f0; }
.page-inner .process--9::before { display: none; }
.page-inner .process__step { position: relative; display: block; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; min-height: 0; }
.page-inner .process__step::before, .page-inner .process__step::after { display: none !important; }
.page-inner .process__num { position: relative; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; margin: 0; border-radius: 50%; background: var(--white); border: 2px solid #d6e0ea; font-size: 15px; font-weight: 700; color: var(--navy); }
.page-inner .process__step:last-child .process__num { background: var(--green); border-color: var(--green); color: var(--white); }
.page-inner .process__title { margin: 20px 0 0; font-size: 17px; line-height: 23px; font-weight: 700; color: var(--navy); }
.page-inner .process__text { margin: 6px 0 0; max-width: 240px; font-size: 14.5px; line-height: 22px; color: var(--text); }
.steps-sec .services__head { margin-bottom: calc(var(--s-head) + 8px); }
@media (max-width: 1024px) {
  .page-inner .process, .page-inner .process--9 { grid-template-columns: 1fr; gap: 0; }
  .page-inner .process::before { display: block; left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
  .page-inner .process__step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 20px; padding-bottom: 28px; }
  .page-inner .process__step:last-child { padding-bottom: 0; }
  .page-inner .process__num { grid-row: span 2; }
  .page-inner .process__title { margin-top: 12px; }
  .page-inner .process__text { max-width: none; }
}

/* =========================================================
   INTERNAS · detalle de servicio (línea gráfica del Inicio)
   ========================================================= */
/* intro: foto a la izquierda, texto a la derecha (como "Quiénes somos") */
.page-inner .split__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.page-inner .split__img, .page-inner .split__img--portrait { max-width: none; width: 100%; height: auto; aspect-ratio: 4 / 3.4; justify-self: stretch; border-radius: 20px; }
.page-inner .split .title { margin: 0; text-wrap: balance; }
.page-inner .split .title + .split__p { margin-top: 20px; }
.page-inner .split__p { max-width: 560px; font-size: 16px; line-height: 26px; color: var(--text); }
.page-inner .split__cta { display: flex; flex-wrap: wrap; gap: 12px 14px; margin-top: 30px; }
.page-inner .split__cta .btn { min-width: 0; width: auto; }
/* encabezados con botón */
.page-inner .services__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: var(--s-head); }
.page-inner .services__head .btn { flex: none; }
.page-inner .services__intro .title { text-wrap: balance; }
@media (max-width: 760px) { .page-inner .services__head { flex-direction: column; align-items: flex-start; } }
/* casas homologadoras: celdas como la franja de clientes */
.page-inner .entity-grid { gap: 1px; margin: 0; background: #e3e9f0; border: 1px solid #e3e9f0; border-radius: 18px; overflow: hidden; }
.page-inner .entity { align-items: center; justify-content: center; gap: 4px; min-height: 120px; padding: 20px; border: 0; border-radius: 0; background: var(--white); box-shadow: none; text-align: center; }
.page-inner .entity__name { font-size: 22px; line-height: 28px; }
.page-inner .entity__label { font-size: 12px; letter-spacing: 0; text-transform: none; color: #8592a0; }
.page-inner .note { max-width: none; margin: 16px 0 0; text-align: left; font-size: 12.5px; color: #8592a0; }
/* proceso de 9 pasos: 3 filas de 3 con línea por fila */
@media (min-width: 1025px) {
  .page-inner .process--9 { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .page-inner .process--9 .process__step { padding-top: 0; }
  .page-inner .process--9 .process__text { max-width: 320px; }
}
@media (max-width: 640px) { .page-inner .split__cta { flex-direction: column; align-items: flex-start; } }

/* subservicio ISO · beneficios con check (lista del Inicio) */
.ally__item--check { grid-template-columns: 28px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 0; }
.ally__check { width: 24px; height: 24px; border-radius: 50%; background: #e8f5ec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.6 8.2l2.2 2.2 4.6-4.6' fill='none' stroke='%2340a45d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 24px no-repeat; }
.ally__item--check .ally__name { margin: 0; font-weight: 500; }
@media (max-width: 640px) { .page-inner .ally__list { grid-template-columns: 1fr; } }

/* =========================================================
   CHECK ÚNICO DEL SITIO
   círculo azul claro + ícono de check de contorno navy (case-check.svg)
   ========================================================= */
.case__list li::before,
.abcl__list li::before,
.ctal__points li::before,
.icard__norm::before,
.ally__check,
.benefit__icon,
.form-success__icon {
  background: #f4f8fd url("../img/case-check.svg") center / 50% no-repeat !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}
.benefit__icon img, .form-success__icon img { display: none; }
.case__list li::before { width: 24px; height: 24px; top: 0; left: -3px; }
.case__list li { padding-left: 32px; }
.ally__check { width: 32px; height: 32px; }
.ally__item--check { grid-template-columns: 32px minmax(0, 1fr); }
.icard__norm::before { width: 22px !important; height: 22px !important; }
.abcl__list li::before, .ctal__points li::before { width: 22px; height: 22px; top: -1px; }
.abcl__list li, .ctal__points li { padding-left: 30px; }
.icard__norm::after { display: none !important; }

/* Homologación · experiencia con Bureau Veritas */
.hbv { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px 64px; align-items: center; }
.hbv .title { margin: 0; text-wrap: balance; }
.hbv__sub { margin: 16px 0 0; max-width: 560px; font-size: 16px; line-height: 26px; color: var(--text); }
.hbv .note { margin-top: 20px; max-width: 560px; }
.hbv__logo { display: grid; place-items: center; height: 240px; margin: 0; border: 1px solid #e3e9f0; border-radius: 20px; background: var(--white); }
.hbv__logo img { width: auto; height: 160px; object-fit: contain; }
@media (max-width: 900px) { .hbv { grid-template-columns: 1fr; } .hbv__logo { height: 200px; } .hbv__logo img { height: 130px; } }
/* Footer · título sobre el libro de reclamaciones */
.footer__title--claims { margin: 20px 0 12px !important; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .14); max-width: 182px; }
.footer__claims-link { margin-top: 0; padding-top: 0; border-top: 0; }

/* =========================================================
   NOSOTROS · misión/visión, valores, equipo, compromiso
   ========================================================= */
.mvx { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mvx__card { padding: 32px; border: 1px solid #e3e9f0; border-radius: 20px; background: var(--white); }
.mvx__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: #f4f8fd; }
.mvx__icon img { width: 28px; height: 28px; object-fit: contain; }
.mvx__title { margin: 20px 0 0; font-size: 20px; line-height: 26px; font-weight: 700; color: var(--navy); }
.mvx__card p { margin: 10px 0 0; font-size: 15.5px; line-height: 25px; color: var(--text); }
.vlist__icon { position: relative; display: grid; place-items: center; width: 56px; height: 56px; }
.vlist__icon img { width: 56px; height: 56px; object-fit: contain; }
.vlist__icon .vlist__overlay { position: absolute; width: 34px; height: 34px; }
.tm { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.tm__card { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; align-items: start; padding: 20px; border: 1px solid #e3e9f0; border-radius: 20px; background: var(--white); }
.tm__photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; border-radius: 14px; background: #f4f8fd; }
.tm__name { margin: 6px 0 0; font-size: 19px; line-height: 25px; font-weight: 700; color: var(--navy); }
.tm__role { margin: 4px 0 0; font-size: 14px; font-weight: 600; color: var(--green); }
.tm__profile { margin: 2px 0 0; font-size: 13px; line-height: 19px; color: #7a8796; }
.tm__bio { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid #e9eef4; font-size: 14.5px; line-height: 23px; color: var(--text); }
.pledge { margin: 0; padding: 48px 56px; border-radius: 24px; background: #f4f8fd; border-left: 4px solid var(--green); }
.pledge__quote { margin: 0; max-width: 900px; font-size: 24px; line-height: 36px; font-weight: 500; letter-spacing: -.01em; color: var(--navy); text-wrap: pretty; }
.pledge__by { margin-top: 18px; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: #7a8796; }
@media (max-width: 1024px) {
  .tm { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .mvx { grid-template-columns: 1fr; }
  .mvx__card { padding: 24px; }
  .tm__card { grid-template-columns: 1fr; }
  .tm__photo { aspect-ratio: 4 / 3; }
  .pledge { padding: 28px 22px; }
  .pledge__quote { font-size: 19px; line-height: 29px; }
}

/* Nosotros v2 · textos breves, cifras, valores en grilla */
.nfacts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin: 28px 0 0; padding: 20px 0 0; list-style: none; border-top: 1px solid #e3e9f0; }
.nfacts li { display: flex; flex-direction: column; gap: 4px; padding-right: 16px; }
.nfacts li + li { padding-left: 20px; border-left: 1px solid #e3e9f0; }
.nfacts strong { font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.nfacts span { font-size: 13.5px; line-height: 19px; color: var(--text); }
.mvx__card { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; align-items: start; padding: 28px; }
.mvx__title { margin: 4px 0 0; }
.vgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; border-left: 1px solid #e3e9f0; }
.vgrid__item { padding: 28px 24px; border-right: 1px solid #e3e9f0; border-bottom: 1px solid #e3e9f0; }
.vgrid__title { margin: 16px 0 0; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--navy); }
.vgrid__text { margin: 6px 0 0; font-size: 14px; line-height: 21px; color: var(--text); }
.vgrid__item:last-child { grid-column: span 2; }
.tm__card { grid-template-columns: 160px minmax(0, 1fr); align-items: center; }
.tm__role { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.tm__name { margin: 4px 0 0; }
.tm__bio { margin-top: 10px; padding-top: 0; border-top: 0; }
@media (max-width: 1024px) { .vgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .vgrid__item:last-child { grid-column: span 2; } }
@media (max-width: 640px) {
  .nfacts strong { font-size: 28px; }
  .nfacts li + li { padding-left: 12px; }
  .vgrid { grid-template-columns: 1fr 1fr; }
  .vgrid__item { padding: 20px 16px; }
  .tm__card { grid-template-columns: 1fr; }
}
.page-inner .allies__text { font-size: 16px; line-height: 26px; color: var(--text); max-width: 480px; }
.page-inner .allies .title { margin: 0; }
/* Nosotros: equipo con feature_split */
.split__kicker { margin: 0 0 8px; font-size: 13px; line-height: 19px; font-weight: 600; color: var(--green); }
.page-inner main > section.split + section.split { padding-top: calc(56px * var(--k)) !important; }
.page-inner .split .split__img[src*="team-"] { aspect-ratio: 4 / 4.2; object-position: top; background: #f4f8fd; max-width: 440px; justify-self: center; }
.page-inner section[aria-labelledby="team-title"] .services__head { margin-bottom: 0; }
.page-inner .split .split__img[src*="team-"] { border: 1px solid #e3e9f0; border-radius: 20px; }
.page-inner section[aria-labelledby="team-title"] + section.split { padding-top: var(--s-head) !important; }

/* Internas · bloque de presentación (feature_split) más equilibrado */
@media (min-width: 1025px) {
  .page-inner .split__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 64px; align-items: stretch; }
  .page-inner .split__grid .split__img { height: 100%; min-height: 420px; aspect-ratio: auto; }
  .page-inner .split__text { align-self: center; }
  .page-inner .split__cta { flex-wrap: nowrap; }
}
.split__lead { margin: 10px 0 0; font-size: 18px; line-height: 27px; font-weight: 500; color: var(--green); }
.page-inner .split .title + .split__lead + .split__p { margin-top: 18px; }
.page-inner .split__p + .split__p { margin-top: 12px; }
.page-inner .split__lead + .split__p, .page-inner .split .title + .split__p { color: var(--navy); font-size: 17px; line-height: 27px; }
.page-inner .split__cta { padding-top: 28px; margin-top: 28px; border-top: 1px solid #e3e9f0; }
.page-inner .split__cta { padding-top: 0; border-top: 0; margin-top: 28px; }

/* Nosotros · misión (clara) y visión (azul marca) como paneles */
.mvp { gap: 24px; border-top: 0; }
.mvp .ally__item { grid-template-columns: 1fr; gap: 0; align-content: start; padding: 36px; border: 1px solid #e3e9f0; border-radius: 22px; background: var(--white); }
.mvp .ally__icon { width: 64px; height: 64px; }
.mvp .ally__name { margin: 22px 0 0; font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -.01em; }
.mvp .ally__text { margin: 12px 0 0; font-size: 16px; line-height: 27px; }
.mvp .ally__item:last-child { border-color: var(--navy); background: var(--navy); }
.mvp .ally__item:last-child .ally__name { color: var(--white); }
.mvp .ally__item:last-child .ally__text { color: rgba(255, 255, 255, .8); }
.mvp .ally__item:last-child .ally__icon { border-radius: 50%; background: var(--white); }
@media (max-width: 640px) { .mvp .ally__item { padding: 26px 22px; } .mvp .ally__name { font-size: 21px; } }

/* Nosotros · misión y visión con fotografía */
.mvf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 64px; align-items: stretch; }
.mvf__media { margin: 0; min-height: 440px; border-radius: 22px; overflow: hidden; background: #e9eef4; }
.mvf__media img { width: 100%; height: 100%; object-fit: cover; }
.mvf__text { align-self: center; }
.mvf__text .title { margin: 0 0 8px; }
.mvf__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid #e3e9f0; }
.mvf__item:last-child { border-bottom: 0; padding-bottom: 0; }
.mvf__icon { width: 52px; height: 52px; }
.mvf__label { margin: 0; font-size: 13px; line-height: 18px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.mvf__p { margin: 8px 0 0; font-size: 18px; line-height: 29px; font-weight: 500; color: var(--navy); text-wrap: pretty; }
@media (max-width: 1024px) { .mvf { grid-template-columns: 1fr; } .mvf__media { min-height: 0; aspect-ratio: 16 / 9; } }
@media (max-width: 640px) { .mvf__item { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; } .mvf__icon { width: 44px; height: 44px; } .mvf__p { font-size: 16px; line-height: 26px; } }

/* Nosotros · valores: grilla 4×2 con introducción en la primera celda */
.vbox { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; margin: 0; padding: 0; list-style: none; background: #e3e9f0; border: 1px solid #e3e9f0; border-radius: 22px; overflow: hidden; }
.vbox > li { padding: 32px 28px; background: var(--white); transition: background-color 200ms ease; }
.vbox__intro { display: flex; flex-direction: column; justify-content: flex-end; background: var(--navy) !important; }
.vbox__intro .title { margin: 0; color: var(--white); font-size: 32px; line-height: 40px; }
.vbox__intro p { margin: 12px 0 0; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .78); }
.vbox .vlist__icon { width: 56px; height: 56px; border-radius: 50%; background: #f4f8fd; }
.vbox .vlist__icon img { width: 56px; height: 56px; }
.vbox .vlist__icon .vlist__overlay { width: 32px; height: 32px; }
.vbox__title { margin: 20px 0 0; font-size: 17px; line-height: 23px; font-weight: 700; color: var(--navy); }
.vbox__text { margin: 8px 0 0; font-size: 14.5px; line-height: 23px; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .vbox__item:hover { background: #f8fafc; } }
@media (max-width: 1024px) { .vbox { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .vbox { grid-template-columns: 1fr; } .vbox > li { padding: 24px 22px; } .vbox__intro .title { font-size: 26px; line-height: 33px; } }

/* Nosotros · valores en filas numeradas con introducción fija */
.vtab { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.vtab__head { position: sticky; top: 130px; }
.vtab__head .title { margin: 0; }
.vtab__head p { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.vtab__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; }
.vtab__row { display: grid; grid-template-columns: 36px 52px minmax(0, 200px) minmax(0, 1fr); gap: 20px; align-items: center; padding: 20px 0; border-bottom: 1px solid #e3e9f0; transition: background-color 200ms ease; }
.vtab__num { font-size: 13px; font-weight: 600; color: #a3aeba; font-variant-numeric: tabular-nums; }
.vtab .vlist__icon { width: 52px; height: 52px; border-radius: 50%; background: #f4f8fd; }
.vtab .vlist__icon img { width: 52px; height: 52px; }
.vtab .vlist__icon .vlist__overlay { width: 30px; height: 30px; }
.vtab__title { margin: 0; font-size: 17px; line-height: 23px; font-weight: 700; color: var(--navy); }
.vtab__text { margin: 0; font-size: 15px; line-height: 24px; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .vtab__row:hover .vtab__num { color: var(--green); } }
@media (max-width: 1024px) { .vtab { grid-template-columns: 1fr; } .vtab__head { position: static; } }
@media (max-width: 640px) {
  .vtab__row { grid-template-columns: 44px minmax(0, 1fr); gap: 6px 14px; align-items: start; }
  .vtab__num { display: none; }
  .vtab .vlist__icon { grid-row: span 2; width: 44px; height: 44px; }
  .vtab .vlist__icon img { width: 44px; height: 44px; }
  .vtab__text { font-size: 14.5px; }
}

/* Nosotros · valores en tarjetas centradas (4 + 3) */
.vcards__head { max-width: 640px; margin: 0 auto var(--s-head); text-align: center; }
.vcards__head .title { margin: 0; text-align: center; }
.vcards__head p { margin: 12px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.vcards { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin: 0; padding: 0; list-style: none; }
.vcards__item { flex: 0 0 calc((100% - 60px) / 4); display: flex; flex-direction: column; align-items: center; padding: 32px 24px; border: 1px solid #e3e9f0; border-radius: 20px; background: var(--white); text-align: center; transition: transform 250ms var(--ease-out), box-shadow 250ms ease, border-color 200ms ease; }
.vcards .vlist__icon { width: 64px; height: 64px; border-radius: 50%; background: #f4f8fd; }
.vcards .vlist__icon img { width: 64px; height: 64px; }
.vcards .vlist__icon .vlist__overlay { width: 36px; height: 36px; }
.vcards__title { margin: 18px 0 0; font-size: 17px; line-height: 23px; font-weight: 700; color: var(--navy); }
.vcards__text { margin: 8px 0 0; font-size: 14.5px; line-height: 23px; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .vcards__item:hover { transform: translateY(-4px); border-color: #d3dde8; box-shadow: 0 16px 34px rgba(18, 59, 94, .1); } }
@media (max-width: 1024px) { .vcards__item { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 560px) { .vcards__item { flex-basis: 100%; padding: 26px 20px; } }
@media (prefers-reduced-motion: reduce) { .vcards__item { transition: none; } }

/* Nosotros · valores en panel azul de marca */
.vpanel { display: grid; grid-template-columns: minmax(0, 320px) minmax(0, 1fr); gap: 40px 64px; padding: 56px; border-radius: 24px; background: linear-gradient(160deg, #1a4a73 0%, var(--navy) 60%); color: var(--white); }
.vpanel__head { align-self: start; position: sticky; top: 130px; }
.vpanel__head .title { margin: 0; color: var(--white); }
.vpanel__head p { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: rgba(255, 255, 255, .75); }
.vpanel__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; margin: 0; padding: 0; list-style: none; }
.vpanel__item { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.vpanel .vlist__icon { width: 48px; height: 48px; border-radius: 50%; background: var(--white); }
.vpanel .vlist__icon img { width: 48px; height: 48px; }
.vpanel .vlist__icon .vlist__overlay { width: 28px; height: 28px; }
.vpanel__title { margin: 2px 0 0; font-size: 16px; line-height: 22px; font-weight: 700; color: var(--white); }
.vpanel__text { margin: 4px 0 0; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .72); }
@media (max-width: 1024px) { .vpanel { grid-template-columns: 1fr; padding: 40px 32px; } .vpanel__head { position: static; } }
@media (max-width: 640px) { .vpanel { padding: 32px 20px; border-radius: 20px; } .vpanel__list { grid-template-columns: 1fr; } }

/* Nosotros · valores con fotografía y lista */
.vphoto { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px 64px; align-items: start; }
.vphoto__media { position: sticky; top: 120px; margin: 0; aspect-ratio: 4 / 5; border-radius: 22px; overflow: hidden; background: #e9eef4; }
.vphoto__media img { width: 100%; height: 100%; object-fit: cover; }
.vphoto__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(18, 59, 94, .92) 0%, rgba(18, 59, 94, .55) 35%, rgba(18, 59, 94, 0) 65%); }
.vphoto__cap { position: absolute; left: 32px; right: 32px; bottom: 32px; z-index: 1; color: var(--white); }
.vphoto__cap .title { margin: 0; color: var(--white); }
.vphoto__cap p { margin: 10px 0 0; font-size: 15.5px; line-height: 25px; color: rgba(255, 255, 255, .82); }
.vphoto__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; }
.vphoto__item { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid #e3e9f0; }
.vphoto .vlist__icon { width: 52px; height: 52px; border-radius: 50%; background: #f4f8fd; }
.vphoto .vlist__icon img { width: 52px; height: 52px; }
.vphoto .vlist__icon .vlist__overlay { width: 30px; height: 30px; }
.vphoto__title { margin: 2px 0 0; font-size: 17px; line-height: 23px; font-weight: 700; color: var(--navy); }
.vphoto__text { margin: 4px 0 0; font-size: 15px; line-height: 24px; color: var(--text); }
@media (max-width: 1024px) { .vphoto { grid-template-columns: 1fr; } .vphoto__media { position: relative; top: auto; aspect-ratio: 16 / 10; } }
@media (max-width: 640px) { .vphoto__media { aspect-ratio: 4 / 3.4; } .vphoto__cap { left: 20px; right: 20px; bottom: 20px; } .vphoto__item { grid-template-columns: 44px minmax(0, 1fr); gap: 14px; } .vphoto .vlist__icon, .vphoto .vlist__icon img { width: 44px; height: 44px; } }

/* Nosotros · equipo en tarjetas de perfil */
.tprof { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.tprof__card { display: flex; flex-direction: column; padding: 32px; border: 1px solid #e3e9f0; border-radius: 22px; background: var(--white); transition: box-shadow 250ms ease, border-color 200ms ease; }
.tprof__top { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 22px; align-items: center; padding-bottom: 24px; margin-bottom: 22px; border-bottom: 1px solid #e9eef4; }
.tprof__photo { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: top; background: #f4f8fd; box-shadow: 0 0 0 4px #f4f8fd; }
.tprof__role { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green); }
.tprof__name { margin: 6px 0 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.tprof__profile { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: #7a8796; }
.tprof__bio { margin: 0; font-size: 15px; line-height: 25px; color: var(--text); }
.tprof__bio + .tprof__bio { margin-top: 10px; }
.tprof__norms { margin-top: auto; padding-top: 22px; }
.tprof__label { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.tprof__norms .case__list { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 8px 18px; margin: 0; padding: 0; list-style: none; }
.tprof__norms .case__list li { white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .tprof__card:hover { border-color: #d3dde8; box-shadow: 0 16px 34px rgba(18, 59, 94, .08); } }
@media (max-width: 1024px) { .tprof { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .tprof__card { padding: 24px 20px; } .tprof__top { grid-template-columns: 84px minmax(0, 1fr); gap: 16px; } .tprof__photo { width: 84px; height: 84px; } .tprof__name { font-size: 19px; line-height: 25px; } .tprof__norms .case__list { grid-template-columns: repeat(2, auto); } }
.page-inner section[aria-labelledby="team-title"]:has(.tprof) .services__head { margin-bottom: var(--s-head); }

/* Nosotros · equipo en ficha (foto + datos clave) */
.page-inner section[aria-labelledby="team-title"]:has(.tfile) .services__head { margin-bottom: var(--s-head); }
.tfile { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.tfile__card { display: grid; grid-template-columns: 220px minmax(0, 1fr); overflow: hidden; border: 1px solid #e3e9f0; border-radius: 22px; background: var(--white); transition: box-shadow 250ms ease, border-color 200ms ease; }
.tfile__media { display: flex; align-items: flex-end; justify-content: center; background: linear-gradient(180deg, #f4f8fd 0%, #e8eff7 100%); }
.tfile__media img { width: 100%; height: 100%; max-height: 420px; object-fit: cover; object-position: top center; mix-blend-mode: multiply; }
.tfile__body { padding: 28px 28px 30px; }
.tfile__role { margin: 0; font-size: 12.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--green); }
.tfile__name { margin: 6px 0 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.tfile__profile { margin: 2px 0 0; font-size: 13.5px; line-height: 20px; color: #7a8796; }
.tfile__summary { margin: 14px 0 0; font-size: 15px; line-height: 24px; color: var(--text); }
.tfile__block { margin-top: 18px; padding-top: 16px; border-top: 1px solid #e9eef4; }
.tfile__label { display: block; margin-bottom: 10px; font-size: 12.5px; font-weight: 600; color: var(--navy); }
.tfile__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.tfile__list li { white-space: normal !important; font-size: 14px; line-height: 22px; color: var(--navy); }
.tfile__norms { margin: 0; font-size: 14px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
@media (hover: hover) and (pointer: fine) { .tfile__card:hover { border-color: #d3dde8; box-shadow: 0 16px 34px rgba(18, 59, 94, .08); } }
@media (max-width: 1100px) { .tfile { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .tfile__card { grid-template-columns: 1fr; } .tfile__media { height: 260px; } .tfile__body { padding: 22px 20px 24px; } }

/* Nosotros · equipo en retratos con introducción */
.tport { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 24px 32px; align-items: stretch; }
.tport__intro { align-self: center; padding-right: 16px; }
.tport__intro .title { margin: 0; }
.tport__intro p { margin: 14px 0 24px; font-size: 16px; line-height: 26px; color: var(--text); }
.tport__card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid #e3e9f0; border-radius: 22px; background: var(--white); transition: box-shadow 250ms ease, transform 250ms var(--ease-out); }
.tport__media { position: relative; aspect-ratio: 4 / 4.4; overflow: hidden; background: linear-gradient(180deg, #f4f8fd, #e8eff7); }
.tport__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; mix-blend-mode: multiply; transition: transform 600ms var(--ease-out); }
.tport__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; background: var(--shade); }
.tport__cap { position: absolute; z-index: 1; left: 22px; right: 22px; bottom: 18px; color: var(--white); }
.tport__name { margin: 0; font-size: 20px; line-height: 26px; font-weight: 700; color: var(--white); }
.tport__role { margin: 2px 0 0; font-size: 13px; font-weight: 600; color: #9fd8ae; }
.tport__body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.tport__profile { margin: 0; font-size: 13px; line-height: 19px; color: #7a8796; }
.tport__summary { margin: 10px 0 0; font-size: 14.5px; line-height: 23px; color: var(--text); }
.tport__norms { margin: auto 0 0; padding-top: 16px; font-size: 13.5px; font-weight: 600; color: var(--navy); }
.tport__norms span { display: block; margin-bottom: 2px; font-size: 12px; font-weight: 500; color: #7a8796; }
@media (hover: hover) and (pointer: fine) { .tport__card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(18, 59, 94, .1); } .tport__card:hover .tport__media img { transform: scale(1.03); } }
@media (max-width: 1024px) { .tport { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tport__intro { grid-column: 1 / -1; padding: 0; } }
@media (max-width: 600px) { .tport { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .tport__card, .tport__media img { transition: none; } }
/* Equipo retratos · ajustes sutiles */
.tport__media::after { height: 60%; background: linear-gradient(0deg, rgba(18, 59, 94, .95) 0%, rgba(18, 59, 94, .7) 35%, rgba(18, 59, 94, 0) 100%); }
.tport__cap { bottom: 20px; }
.tport__name { font-size: 21px; letter-spacing: -.01em; }
.tport__body { padding: 22px 24px 24px; }
.tport__profile { font-size: 12.5px; letter-spacing: .01em; }
.tport__summary { color: var(--navy); font-size: 15px; line-height: 24px; }
.tport__norms { margin-top: auto; padding-top: 18px; border-top: 1px solid #e9eef4; margin-top: max(18px, auto); }
.tport__body > .tport__summary { margin-bottom: 18px; }
.tport__label { display: block; margin-bottom: 10px; font-size: 12px; font-weight: 500; color: #7a8796; }
.tport__tags { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.tport__tags li { padding: 6px 4px; border-radius: 8px; background: #f4f8fd; text-align: center; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--navy); white-space: nowrap; font-variant-numeric: tabular-nums; }
.tport__intro .title { letter-spacing: -.015em; }
@media (max-width: 380px) { .tport__tags { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Nosotros · equipo en tarjetas centradas */
.tcen { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 28px; margin: 0; padding: 0; list-style: none; }
.tcen__card { position: relative; display: flex; flex-direction: column; align-items: center; padding: 0 32px 32px; margin-top: 72px; border: 1px solid #e3e9f0; border-radius: 22px; background: var(--white); text-align: center; transition: box-shadow 250ms ease, transform 250ms var(--ease-out); }
.tcen__photo { width: 144px; height: 144px; margin-top: -72px; border-radius: 50%; overflow: hidden; background: linear-gradient(180deg, #f4f8fd, #e3ebf4); box-shadow: 0 0 0 6px var(--white), 0 12px 28px rgba(18, 59, 94, .14); }
.tcen__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; mix-blend-mode: multiply; }
.tcen__role { margin: 22px 0 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--green); }
.tcen__name { margin: 6px 0 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.tcen__profile { margin: 4px 0 0; font-size: 13px; line-height: 19px; color: #7a8796; }
.tcen__summary { margin: 16px 0 0; font-size: 15px; line-height: 24px; color: var(--text); }
.tcen__norms { width: 100%; margin-top: auto; padding-top: 20px; }
.tcen__card > .tcen__summary { margin-bottom: 22px; }
.tcen__norms { border-top: 1px solid #e9eef4; }
@media (hover: hover) and (pointer: fine) { .tcen__card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(18, 59, 94, .1); } }
@media (max-width: 900px) { .tcen { grid-template-columns: minmax(0, 480px); } }
@media (max-width: 480px) { .tcen__card { padding: 0 20px 24px; } }
@media (prefers-reduced-motion: reduce) { .tcen__card { transition: none; } }

/* Nosotros · equipo en filas horizontales */
.page-inner section[aria-labelledby="team-title"]:has(.trow) .services__head { margin-bottom: var(--s-head); }
.trow { margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; }
.trow__item { display: grid; grid-template-columns: 132px minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(0, 1.2fr); gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid #e3e9f0; }
.trow__photo { width: 132px; height: 132px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, #f4f8fd, #e3ebf4); }
.trow__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; mix-blend-mode: multiply; transition: transform 500ms var(--ease-out); }
.trow__who .tcen__role { margin: 0; }
.trow__summary { margin: 0; font-size: 15px; line-height: 25px; color: var(--text); }
@media (hover: hover) and (pointer: fine) { .trow__item:hover .trow__photo img { transform: scale(1.05); } }
@media (max-width: 1100px) {
  .trow__item { grid-template-columns: 112px minmax(0, 1fr); gap: 16px 24px; }
  .trow__photo { width: 112px; height: 112px; grid-row: span 3; align-self: start; }
}
@media (max-width: 560px) {
  .trow__item { grid-template-columns: 1fr; }
  .trow__photo { grid-row: auto; }
}
@media (prefers-reduced-motion: reduce) { .trow__photo img { transition: none; } }

/* Nosotros · equipo en bloque azul de marca */
.tband2 { padding: 56px; border-radius: 24px; background: linear-gradient(160deg, #1a4a73 0%, var(--navy) 60%); }
.tband2__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; margin-bottom: 36px; }
.tband2__head .title { margin: 0; color: var(--white); }
.tband2__head p { margin: 10px 0 0; max-width: 560px; font-size: 16px; line-height: 26px; color: rgba(255, 255, 255, .75); }
.tband2__head .btn { flex: none; }
.tband2__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.tband2__card { display: grid; grid-template-columns: 170px minmax(0, 1fr); overflow: hidden; border-radius: 18px; background: var(--white); }
.tband2__photo { background: linear-gradient(180deg, #f4f8fd, #e3ebf4); }
.tband2__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; mix-blend-mode: multiply; }
.tband2__body { padding: 24px 24px 22px; }
.tband2__body .tcen__role { margin: 0; }
.tband2__summary { margin: 12px 0 16px; font-size: 14.5px; line-height: 23px; color: var(--text); }
@media (max-width: 1100px) { .tband2__list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .tband2 { padding: 32px 20px; } .tband2__head { flex-direction: column; align-items: flex-start; } }
@media (max-width: 520px) { .tband2__card { grid-template-columns: 1fr; } .tband2__photo { height: 240px; } }
.tband2__body { display: flex; flex-direction: column; } .tband2__body .tport__tags { margin-top: auto; }

/* Nosotros · equipo editorial (retrato grande, sin tarjeta) */
.page-inner section[aria-labelledby="team-title"]:has(.ted) .services__head { margin-bottom: var(--s-head); }
.ted { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 40px; margin: 0; padding: 0; list-style: none; }
.ted__item { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 28px; align-items: start; }
.ted__photo { aspect-ratio: 4 / 5; border-radius: 20px; overflow: hidden; background: linear-gradient(180deg, #f4f8fd, #e3ebf4); }
.ted__photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; mix-blend-mode: multiply; transition: transform 600ms var(--ease-out); }
.ted__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding-bottom: 14px; border-bottom: 2px solid var(--green); }
.ted__name { margin: 0; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.ted__role { margin: 0; font-size: 13px; font-weight: 600; color: var(--green); }
.ted__profile { margin: 14px 0 0; font-size: 13.5px; line-height: 20px; font-weight: 500; color: var(--navy); }
.ted__summary { margin: 10px 0 0; font-size: 14.5px; line-height: 24px; color: var(--text); }
.ted__skills { margin: 14px 0 0; font-size: 13px; line-height: 21px; color: #7a8796; }
@media (hover: hover) and (pointer: fine) { .ted__item:hover .ted__photo img { transform: scale(1.04); } }
@media (max-width: 1100px) { .ted { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .ted__item { grid-template-columns: 1fr; } .ted__photo { max-width: 280px; } }
@media (prefers-reduced-motion: reduce) { .ted__photo img { transition: none; } }
.ted__who { display: block; } .ted__role { margin-top: 4px; }

/* Nosotros · equipo minimal con la tarjeta de servicios del Inicio */
.page-inner section[aria-labelledby="team-title"]:has(.tmin) .services__head { margin-bottom: var(--s-head); }
.tmin { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tmin__card { flex: none; width: auto; height: 520px; padding: 0 28px 28px; background: linear-gradient(180deg, #eef3f9, #dfe8f2); }
.tmin__card .srv-card__img { object-fit: cover; object-position: center 15%; mix-blend-mode: multiply; }
.tmin__card .srv-card__shade { height: 45%; }
.tmin__txt { position: relative; display: flex; flex-direction: column; gap: 6px; }
.tmin__card .srv-card__title { flex: none; font-size: 24px; line-height: 30px; }
.tmin__role { font-size: 14px; line-height: 20px; color: rgba(255, 255, 255, .82); }
@media (max-width: 760px) { .tmin { grid-template-columns: 1fr; } .tmin__card { height: 420px; padding: 0 20px 22px; } }
.tmin .tmin__card, .tmin .tmin__card:first-child { height: 500px; }
.tmin__card .srv-card__shade { height: 55%; background: linear-gradient(0deg, rgba(18, 59, 94, .95) 0%, rgba(18, 59, 94, .65) 40%, rgba(18, 59, 94, 0) 100%); }
@media (max-width: 760px) { .tmin .tmin__card, .tmin .tmin__card:first-child { height: 420px; } }
/* equipo minimal · información breve bajo la tarjeta */
.tmin__item { display: flex; flex-direction: column; }
.tmin .tmin__card, .tmin .tmin__card:first-child { height: 460px; }
.tmin__info { padding: 20px 4px 0; }
.tmin__summary { margin: 0; font-size: 15.5px; line-height: 25px; font-weight: 500; color: var(--navy); }
.tmin__skills { margin: 8px 0 0; font-size: 13.5px; line-height: 21px; color: #7a8796; }
@media (max-width: 760px) { .tmin .tmin__card, .tmin .tmin__card:first-child { height: 400px; } }

/* Nosotros · equipo estilo firma consultora (retrato limpio, datos en ficha) */
.tpro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 40px; align-items: start; }
.tpro__intro { padding-right: 24px; }
.tpro__intro .title { margin: 0; }
.tpro__intro p { margin: 16px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.tpro__photo { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #edf1f6; }
.tpro__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; mix-blend-mode: multiply; filter: saturate(.92); transition: filter 400ms ease, transform 600ms var(--ease-out); }
.tpro__name { margin: 22px 0 0; font-size: 20px; line-height: 26px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.tpro__role { margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--green); font-weight: 500; }
.tpro__summary { margin: 14px 0 0; font-size: 15px; line-height: 24px; color: var(--text); }
.tpro__meta { margin: 18px 0 0; border-top: 1px solid #e3e9f0; }
.tpro__meta > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid #e3e9f0; }
.tpro__meta dt { font-size: 12.5px; line-height: 20px; color: #8592a0; }
.tpro__meta dd { margin: 0; font-size: 13.5px; line-height: 20px; font-weight: 500; color: var(--navy); }
@media (hover: hover) and (pointer: fine) { .tpro__person:hover .tpro__photo img { filter: saturate(1); transform: scale(1.02); } }
@media (max-width: 1024px) { .tpro { grid-template-columns: repeat(2, minmax(0, 1fr)); } .tpro__intro { grid-column: 1 / -1; padding: 0; } }
@media (max-width: 600px) { .tpro { grid-template-columns: 1fr; } .tpro__photo { aspect-ratio: 4 / 4.4; } }
@media (prefers-reduced-motion: reduce) { .tpro__photo img { transition: none; } }
.tpro__intro { position: sticky; top: 130px; }
@media (max-width: 1024px) { .tpro__intro { position: static; } }
/* equipo consultora · refinamiento */
.tpro { gap: 40px 48px; }
.tpro__intro .btn { margin-top: 24px; }
.tpro__note { margin-top: 18px !important; padding-top: 18px; border-top: 1px solid #e3e9f0; font-size: 14px !important; line-height: 22px !important; color: var(--navy) !important; }
.tpro__photo { position: relative; aspect-ratio: 4 / 4.6; border-radius: 18px; }
.tpro__photo::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--green); transform: scaleX(0); transform-origin: left; transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tpro__person:hover .tpro__photo::after { transform: scaleX(1); } }
.tpro__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: baseline; margin-top: 22px; }
.tpro__idx { font-size: 13px; font-weight: 600; color: #a3aeba; font-variant-numeric: tabular-nums; }
.tpro__name { margin: 0; font-size: 21px; line-height: 27px; }
.tpro__role { margin-top: 2px; }
.tpro__summary { min-height: 72px; }
.tpro__meta > div { grid-template-columns: 104px minmax(0, 1fr); padding: 11px 0; }
@media (prefers-reduced-motion: reduce) { .tpro__photo::after { transition: none; } }
.tpro__photo::after { display: none; }
.tpro__head { display: block; }

/* =========================================================
   CASOS DE ÉXITO · listado y página individual
   ========================================================= */
.cstats { display: flex; gap: 0; margin: 0; flex: none; }
.cstats > div { padding: 0 0 0 28px; margin-left: 28px; border-left: 1px solid #e3e9f0; }
.cstats > div:first-child { margin-left: 0; padding-left: 0; border-left: 0; }
.cstats dt { font-size: 36px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--navy); font-variant-numeric: tabular-nums; }
.cstats dd { margin: 6px 0 0; font-size: 13px; color: var(--text); }
.page-inner .folio-filter { margin: 0 0 24px; }
/* detalle */
.cdet { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px 64px; align-items: center; }
.cdet__media { margin: 0; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 3.2; background: #edf2f7; }
.cdet__media img { width: 100%; height: 100%; object-fit: cover; }
.cdet__text .title { margin: 0; text-wrap: balance; }
.cdet__lead { margin: 16px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.cdet__facts { display: flex; flex-wrap: wrap; gap: 0; margin: 24px 0 0; border-top: 1px solid #e3e9f0; border-bottom: 1px solid #e3e9f0; }
.cdet__facts > div { flex: 1; min-width: 120px; padding: 14px 16px 14px 0; }
.cdet__facts > div + div { padding-left: 16px; border-left: 1px solid #e3e9f0; }
.cdet__facts dt { font-size: 12px; color: #8592a0; }
.cdet__facts dd { margin: 4px 0 0; font-size: 20px; line-height: 26px; font-weight: 700; color: var(--navy); }
.cdet__partner { display: grid; grid-template-columns: auto auto auto; justify-content: start; align-items: center; gap: 10px 14px; margin-top: 24px; }
.cdet__issuer { height: 40px; width: auto; }
.cdet__partner p { grid-column: 1 / -1; margin: 4px 0 0; font-size: 14px; line-height: 21px; color: var(--text); }
.cdet__partner strong { display: block; color: var(--navy); }
.cdet__result { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 40px; align-items: center; padding: 40px 48px; border-radius: 22px; background: #f4f8fd; }
.cdet__num { font-size: 72px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.cdet__result p { margin: 0; max-width: 720px; font-size: 20px; line-height: 31px; font-weight: 500; color: var(--navy); }
@media (max-width: 1024px) { .cdet { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cstats > div { padding-left: 18px; margin-left: 18px; } .cstats dt { font-size: 28px; } }
@media (max-width: 640px) { .cdet__result { grid-template-columns: 1fr; padding: 28px 22px; } .cdet__num { font-size: 56px; } .cdet__result p { font-size: 17px; line-height: 27px; } }

/* Caso de éxito · certificaciones con logo ISO */
.cseal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.cseal__card { display: flex; flex-direction: column; align-items: center; height: 100%; padding: 32px 24px 26px; border: 1px solid #e3e9f0; border-radius: 20px; background: var(--white); text-align: center; color: var(--navy); transition: transform 250ms var(--ease-out), box-shadow 250ms ease, border-color 200ms ease; }
.cseal__logo { display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: #f4f8fd; }
.cseal__logo img { width: 92px; height: auto; }
.cseal__code { margin-top: 20px; font-size: 18px; line-height: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }
.cseal__name { margin-top: 6px; font-size: 14px; line-height: 21px; color: var(--text); }
.cseal__by { margin-top: auto; padding-top: 16px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green); }
.cseal__card:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) { .cseal__card:hover { transform: translateY(-4px); border-color: #d3dde8; box-shadow: 0 16px 34px rgba(18, 59, 94, .1); } }
@media (max-width: 1024px) { .cseal { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .cseal { gap: 12px; } .cseal__card { padding: 22px 14px 18px; } .cseal__logo { width: 96px; height: 96px; } .cseal__logo img { width: 66px; } .cseal__code { font-size: 15px; } }
@media (prefers-reduced-motion: reduce) { .cseal__card { transition: none; } }

/* Caso · resumen con ficha del proyecto */
.cdet { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
.cdet__media { aspect-ratio: 4 / 3.4; position: sticky; top: 120px; }
.cdet__lead { font-size: 17px; line-height: 28px; color: var(--navy); }
.cfile { margin: 28px 0 0; border-top: 1px solid #e3e9f0; }
.cfile > div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid #e3e9f0; }
.cfile dt { font-size: 13px; line-height: 21px; color: #8592a0; }
.cfile dd { margin: 0; font-size: 14.5px; line-height: 21px; font-weight: 600; color: var(--navy); font-variant-numeric: tabular-nums; }
.cfile__sign { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 26px; }
.cfile__sign .cdet__issuer { height: 38px; width: auto; }
.cfile__sign p { flex-basis: 100%; margin: 4px 0 0; font-size: 13.5px; line-height: 21px; color: var(--text); }
@media (max-width: 1024px) { .cdet__media { position: static; order: -1; } }
@media (max-width: 560px) { .cfile > div { grid-template-columns: 1fr; gap: 2px; } }
.cfile__sign .icard__andes > img { width: 48px; } .cfile__sign .icard__andes span img { height: 7px; } .cfile__sign .cdet__issuer { height: 48px; }

/* Caso · versión minimalista */
.cmin__media { margin: 0; aspect-ratio: 21 / 9; border-radius: 22px; overflow: hidden; background: #edf2f7; }
.cmin__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cmin { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 72px; margin-top: 40px; align-items: start; }
.cmin__lead { margin: 0; font-size: 22px; line-height: 34px; font-weight: 500; letter-spacing: -.005em; color: var(--navy); text-wrap: pretty; }
.cmin__facts { margin: 0; }
.cmin__facts > div { padding: 0 0 16px; }
.cmin__facts > div + div { padding-top: 16px; border-top: 1px solid #e3e9f0; }
.cmin__facts dt { font-size: 12.5px; color: #8592a0; }
.cmin__facts dd { margin: 4px 0 0; font-size: 16px; line-height: 23px; font-weight: 600; color: var(--navy); }
@media (max-width: 900px) { .cmin { grid-template-columns: 1fr; } .cmin__media { aspect-ratio: 16 / 10; } .cmin__lead { font-size: 18px; line-height: 29px; } }

/* Caso · estudio (ficha lateral + desarrollo) */
.cst { display: grid; grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 40px 72px; align-items: start; }
.cst__aside { position: sticky; top: 120px; padding: 28px; border: 1px solid #e3e9f0; border-radius: 20px; background: #f8fafc; }
.cst__file { margin: 0; }
.cst__file > div { padding: 12px 0; border-bottom: 1px solid #e3e9f0; }
.cst__file > div:first-child { padding-top: 0; }
.cst__file dt { font-size: 12px; color: #8592a0; }
.cst__file dd { margin: 4px 0 0; font-size: 14.5px; line-height: 21px; font-weight: 600; color: var(--navy); }
.cst__sign { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.cst__sign .icard__andes > img { width: 44px; } .cst__sign .icard__andes span img { height: 6px; }
.cst__sign .cdet__issuer { height: 44px; width: auto; }
.cst__btn { width: 100%; justify-content: center; margin-top: 22px; }
.cst__media { margin: 0 0 40px; aspect-ratio: 16 / 9; border-radius: 22px; overflow: hidden; background: #edf2f7; }
.cst__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.cst__block + .cst__block { margin-top: 36px; padding-top: 36px; border-top: 1px solid #e3e9f0; }
.cst__h { margin: 0 0 14px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.cst__p { margin: 0; font-size: 17px; line-height: 28px; color: var(--text); }
.cst__isos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.cst__isos li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 14px; align-items: center; padding: 14px; border: 1px solid #e3e9f0; border-radius: 14px; }
.cst__isos img { width: 56px; height: auto; }
.cst__isos span { font-size: 13.5px; line-height: 19px; color: var(--text); }
.cst__isos strong { display: block; font-size: 15px; color: var(--navy); }
.cst__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.cst__list li { white-space: normal !important; font-size: 15.5px; line-height: 24px; color: var(--navy); }
.cst__result p { margin: 0; font-size: 18px; line-height: 29px; font-weight: 500; color: var(--navy); }
.cst__num { display: block; margin-bottom: 8px; font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -.03em; color: var(--green); font-variant-numeric: tabular-nums; }
.cst__result .cst__tag { margin-top: 14px; font-size: 13.5px; line-height: 21px; font-weight: 400; color: #7a8796; }
@media (max-width: 1024px) { .cst { grid-template-columns: 1fr; } .cst__aside { position: static; order: 2; } }
@media (max-width: 600px) { .cst__isos { grid-template-columns: 1fr; } .cst__num { font-size: 44px; } }

/* Caso · editorial */
.ced__top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 32px 72px; align-items: end; }
.ced__title { margin: 0; text-wrap: balance; }
.ced__lead { margin: 16px 0 0; max-width: 640px; font-size: 17px; line-height: 28px; color: var(--text); }
.ced__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; border-left: 1px solid #e3e9f0; }
.ced__stats > div { padding: 4px 0 4px 24px; }
.ced__stats dt { font-size: 40px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--green); font-variant-numeric: tabular-nums; }
.ced__stats dd { margin: 8px 0 0; font-size: 13.5px; line-height: 19px; color: var(--text); }
.ced__media { margin: 40px 0 0; aspect-ratio: 21 / 9; border-radius: 22px; overflow: hidden; background: #edf2f7; }
.ced__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ced__scope { margin-top: 48px; }
.ced__h { margin: 0 0 20px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.ced__isos { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; border-bottom: 1px solid #e3e9f0; }
.ced__isos li { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 24px 24px 24px 0; }
.ced__isos li + li { padding-left: 24px; border-left: 1px solid #e3e9f0; }
.ced__isos img { width: 64px; height: auto; margin-bottom: 12px; }
.ced__isos strong { font-size: 16px; color: var(--navy); }
.ced__isos span { font-size: 13.5px; line-height: 20px; color: var(--text); }
.ced__list { margin: 0; padding: 20px 0 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 40px; border-top: 1px solid #e3e9f0; }
.ced__list li { white-space: normal !important; font-size: 15.5px; line-height: 24px; color: var(--navy); }
.ced__sign { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 36px; }
.ced__sign .cdet__issuer { height: 44px; width: auto; }
.ced__sign .icard__andes > img { width: 44px; } .ced__sign .icard__andes span img { height: 6px; }
.ced__sign p { margin: 0 0 0 12px; padding-left: 20px; border-left: 1px solid #e3e9f0; font-size: 14px; line-height: 21px; color: var(--text); }
.ced__sign strong { display: block; color: var(--navy); }
@media (max-width: 1024px) { .ced__top { grid-template-columns: 1fr; } .ced__stats { border-left: 0; border-top: 1px solid #e3e9f0; padding-top: 20px; } .ced__stats > div:first-child { padding-left: 0; } .ced__isos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ced__isos li:nth-child(3) { border-left: 0; padding-left: 0; } .ced__isos li:nth-child(n+3) { border-top: 1px solid #e3e9f0; } }
@media (max-width: 600px) { .ced__media { aspect-ratio: 4 / 3; } .ced__list { grid-template-columns: 1fr; } .ced__stats dt { font-size: 32px; } .ced__sign p { flex-basis: 100%; margin: 6px 0 0; padding: 0; border: 0; } }
/* Caso · versión original restaurada */
.cdet--orig { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; }
.cdet--orig .cdet__media { position: static; aspect-ratio: 4 / 3.2; }
.cdet--orig .cdet__lead { font-size: 16px; line-height: 26px; color: var(--text); }
@media (max-width: 1024px) { .cdet--orig .cdet__media { order: 0; } }
/* Caso original · más información y firma compacta */
.cdet--orig .cdet__lead--2 { margin-top: 12px; color: var(--navy); }
.cdet__keys { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 24px 0 0; padding: 0; list-style: none; border-top: 1px solid #e3e9f0; border-bottom: 1px solid #e3e9f0; }
.cdet__keys li { display: flex; flex-direction: column; gap: 4px; padding: 16px 16px 16px 0; font-size: 13px; line-height: 19px; color: var(--text); }
.cdet__keys li + li { padding-left: 20px; border-left: 1px solid #e3e9f0; }
.cdet__keys strong { font-size: 26px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--green); font-variant-numeric: tabular-nums; }
.cdet--orig .cdet__partner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 24px; }
.cdet--orig .cdet__partner .icard__andes > img { width: 46px; }
.cdet--orig .cdet__partner .icard__andes span img { height: 6px; }
.cdet--orig .cdet__issuer { height: 46px; width: auto; }
.cdet--orig .cdet__partner p { flex: 1; min-width: 220px; margin: 0 0 0 8px; padding-left: 18px; border-left: 1px solid #e3e9f0; font-size: 13.5px; line-height: 20px; }
@media (max-width: 560px) { .cdet--orig .cdet__partner p { flex-basis: 100%; margin: 4px 0 0; padding: 0; border: 0; } }

/* Equipo · ficha de datos refinada (etiqueta sobre el valor, Formación junto a Experiencia) */
.tpro__meta { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); margin-top: 22px; border-top: 1px solid #e3e9f0; border-bottom: 1px solid #e3e9f0; }
.tpro__meta > div { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; border-bottom: 0; }
.tpro__meta > div:nth-child(2) { grid-column: 1 / -1; order: 3; border-top: 1px solid #e3e9f0; }
.tpro__meta > div:nth-child(3) { order: 2; padding-left: 20px; border-left: 1px solid #e3e9f0; }
.tpro__meta > div:nth-child(1) { order: 1; padding-right: 20px; }
.tpro__meta dt { font-size: 12px; line-height: 16px; color: #8592a0; }
.tpro__meta dd { font-size: 14.5px; line-height: 21px; font-weight: 600; color: var(--navy); }
@media (max-width: 480px) { .tpro__meta { grid-template-columns: 1fr; } .tpro__meta > div:nth-child(3) { padding-left: 0; border-left: 0; border-top: 1px solid #e3e9f0; } }
.tpro__meta { grid-template-columns: max-content minmax(0, 1fr); }
.tpro__meta > div:nth-child(1) dd { white-space: nowrap; }
.tpro__meta dd { font-size: 14px; }
.tpro__meta > div:nth-child(3) dd { font-weight: 500; }
.tpro__meta { grid-template-columns: 168px minmax(0, 1fr); } @media (max-width: 480px) { .tpro__meta { grid-template-columns: 1fr; } }

/* Equipo · ficha como notas de perfil (etiqueta en línea, sin tabla) */
.tpro__meta { display: block; margin-top: 20px; padding: 18px 0 0; border-top: 1px solid #e3e9f0; border-bottom: 0; }
.tpro__meta > div, .tpro__meta > div:nth-child(n) { display: block; order: 0; padding: 0; border: 0; grid-column: auto; }
.tpro__meta > div + div { margin-top: 10px; }
.tpro__meta dt, .tpro__meta dd { display: inline; }
.tpro__meta dt { font-size: 14px; line-height: 22px; font-weight: 600; color: var(--navy); }
.tpro__meta dt::after { content: ":"; }
.tpro__meta dd, .tpro__meta > div:nth-child(n) dd { margin: 0 0 0 4px; font-size: 14px; line-height: 22px; font-weight: 400; color: var(--text); white-space: normal; }

/* Equipo · tarjeta de persona refinada */
.tpro__person { display: flex; flex-direction: column; height: 100%; padding: 12px 12px 26px; border: 1px solid #e6ecf2; border-radius: 22px; background: var(--white); transition: box-shadow 300ms ease, border-color 200ms ease; }
.tpro__photo { aspect-ratio: 4 / 4.2; border-radius: 14px; }
.tpro__person > :not(.tpro__photo) { margin-left: 14px; margin-right: 14px; }
.tpro__head { margin-top: 22px; }
.tpro__name { font-size: 21px; line-height: 27px; }
.tpro__role { margin-top: 3px; font-size: 14px; }
.tpro__summary { min-height: 0; margin-top: 12px; font-size: 15px; line-height: 24px; }
.tpro__meta { margin-top: auto; padding-top: 18px; }
.tpro__summary { margin-bottom: 18px; }
@media (hover: hover) and (pointer: fine) { .tpro__person:hover { border-color: #d7e0ea; box-shadow: 0 18px 40px rgba(18, 59, 94, .08); } }
.tpro { align-items: stretch; }
.tpro__intro { align-self: start; }
@media (prefers-reduced-motion: reduce) { .tpro__person { transition: none; } }
/* Caso · certificaciones obtenidas compacta */
.page-inner main > section.case-det { padding-top: calc(64px * var(--k)) !important; }
.case-det .services__head { align-items: baseline; margin-bottom: 24px !important; }
.case-det .services__intro { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; width: 100%; }
.case-det .services__intro .title { font-size: 28px; line-height: 34px; }
.case-det .services__sub { margin: 0; font-size: 15px; color: #7a8796; }
.case-det .cseal__card { padding: 24px 20px 20px; }
.case-det .cseal__logo { width: 104px; height: 104px; }
.case-det .cseal__logo img { width: 74px; }
.case-det .cseal__code { margin-top: 16px; font-size: 17px; }
.case-det .cseal__by { padding-top: 12px; }
@media (max-width: 640px) { .case-det .services__intro .title { font-size: 24px; line-height: 30px; } }
.case-det .cseal__card { padding-bottom: 24px; }

/* =========================================================
   CONTACTO · información + formulario
   ========================================================= */
.cnt { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 64px; align-items: start; }
.cnt__info { position: sticky; top: 120px; }
.cnt__info .title { margin: 0; text-wrap: balance; }
.cnt__lead { margin: 14px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.cnt__list { margin-top: 28px; }
.cnt__list > div { grid-template-columns: 90px minmax(0, 1fr); }
.cnt__wa { margin-top: 24px; }
.page-inner .cnt .form-card { padding: 36px; border: 1px solid #e3e9f0; border-radius: 22px; background: var(--white); box-shadow: 0 18px 44px rgba(18, 59, 94, .06); }
.page-inner .cnt .form-card__title { font-size: 22px; line-height: 28px; }
.page-inner .cnt .form__grid { gap: 18px 20px; }
.page-inner .cnt .field label { font-size: 13.5px; font-weight: 600; color: var(--navy); }
.page-inner .cnt .field input, .page-inner .cnt .field select, .page-inner .cnt .field textarea { border-radius: 10px; border-color: #d8e1ea; background: #f8fafc; font-size: 15px; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.page-inner .cnt .field input:focus, .page-inner .cnt .field select:focus, .page-inner .cnt .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(64, 164, 93, .16); }
.page-inner .cnt .field input::placeholder, .page-inner .cnt .field textarea::placeholder { color: #a3aeba; }
.page-inner .cnt .form__submit { width: 100%; justify-content: center; }
.page-inner main > section.map--bar { padding-top: var(--s-lg) !important; }
@media (max-width: 1024px) { .cnt { grid-template-columns: 1fr; } .cnt__info { position: static; } }
@media (max-width: 640px) { .page-inner .cnt .form-card { padding: 24px 18px; } .page-inner .cnt .field input, .page-inner .cnt .field select, .page-inner .cnt .field textarea { font-size: 16px; } }
.page-inner .cnt .form-card__title { font-size: 28px; line-height: 34px; letter-spacing: -.01em; }
.page-inner .cnt .form-card__sub { margin-top: 8px; margin-bottom: 26px; font-size: 14.5px; line-height: 22px; color: var(--text); }
@media (max-width: 640px) { .page-inner .cnt .form-card__title { font-size: 24px; line-height: 30px; } }

/* Contacto · canales con ícono */
.cch { display: grid; gap: 12px; margin: 28px 0 0; padding: 0; list-style: none; }
.cch__item { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 16px; border: 1px solid #e3e9f0; border-radius: 14px; background: var(--white); transition: border-color 200ms ease; }
.cch__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--navy); }
.cch__icon img { width: 20px; height: 20px; object-fit: contain; }
.cch__label { display: block; font-size: 12px; line-height: 16px; color: #8592a0; }
.cch__value { display: block; margin-top: 2px; font-size: 15px; line-height: 22px; font-weight: 600; color: var(--navy); overflow-wrap: anywhere; }
.cch__value a, a.cch__value { color: inherit; text-decoration: none; transition: color 160ms ease; }
.cch__sep { margin: 0 8px; font-weight: 400; color: #a3aeba; }
@media (hover: hover) and (pointer: fine) { .cch__item:hover { border-color: #cfd9e4; } .cch__value a:hover, a.cch__value:hover { color: var(--green); } }
.cch__cta { margin-top: 24px; padding: 20px; border-radius: 16px; background: #f4f8fd; }
.cch__cta p { margin: 0 0 14px; font-size: 14px; line-height: 21px; color: var(--text); }
.cch__cta strong { display: block; margin-bottom: 2px; font-size: 15px; color: var(--navy); }
.cch__sub { display: block; font-size: 13.5px; line-height: 20px; color: var(--text); }

/* =========================================================
   LIBRO DE RECLAMACIONES
   ========================================================= */
.lr { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px 56px; align-items: start; }
.lr__aside { position: sticky; top: 120px; }
.lr__aside .title { margin: 0; font-size: 30px; line-height: 38px; }
.lr__provider { margin: 22px 0 0; padding: 18px 20px; border: 1px solid #e3e9f0; border-radius: 16px; background: #f8fafc; }
.lr__provider > div { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 10px; padding: 6px 0; }
.lr__provider dt { font-size: 12.5px; color: #8592a0; }
.lr__provider dd { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--navy); }
.lr__defs { margin-top: 22px; }
.lr__defs p { margin: 0 0 10px; font-size: 14px; line-height: 22px; color: var(--text); }
.lr__defs strong { color: var(--navy); }
.lr__notes { margin: 18px 0 0; padding: 18px 0 0; list-style: none; border-top: 1px solid #e3e9f0; display: grid; gap: 10px; }
.lr__notes li { position: relative; padding-left: 30px; font-size: 13.5px; line-height: 21px; color: var(--text); }
.lr__notes li::before { content: ""; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 50%; background: #f4f8fd url("../img/case-check.svg") center / 50% no-repeat; }
.lr__form { padding: 36px; border: 1px solid #e3e9f0; border-radius: 22px; background: var(--white); box-shadow: 0 18px 44px rgba(18, 59, 94, .06); }
.lr__set { margin: 0 0 28px; padding: 0 0 28px; border: 0; border-bottom: 1px solid #e3e9f0; min-width: 0; }
.lr__set legend { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 0; font-size: 18px; line-height: 24px; font-weight: 700; color: var(--navy); }
.lr__set legend span { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--white); font-size: 14px; }
.lr .field label, .lr__lbl { display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.lr .field input, .lr .field select, .lr .field textarea { width: 100%; border: 1px solid #d8e1ea; border-radius: 10px; background: #f8fafc; font: inherit; font-size: 15px; transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease; }
.lr .field input:focus, .lr .field select:focus, .lr .field textarea:focus { outline: none; border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(64, 164, 93, .16); }
.lr__radios { display: flex; gap: 10px; }
.lr__radios label, .lr__toggle { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; padding: 10px 16px; border: 1px solid #d8e1ea; border-radius: 10px; font-weight: 500 !important; cursor: pointer; }
.lr__radios input, .lr__toggle input { width: auto !important; accent-color: var(--green); }
.lr__radios label:has(input:checked) { border-color: var(--green); background: #f3f9f5; }
.lr__guardian { margin-top: 14px; }
.lr .form__submit { width: 100%; justify-content: center; }
.lr__done { grid-column: 1 / -1; max-width: 820px; margin: 0 auto; }
.lr__done .title { margin: 0; }
.lr__done-sub { margin: 12px 0 0; font-size: 16px; line-height: 26px; color: var(--text); }
.lr__copy { margin: 24px 0 0; padding: 28px; border: 1px solid #e3e9f0; border-radius: 16px; background: #f8fafc; font-family: inherit; font-size: 14px; line-height: 22px; color: var(--navy); white-space: pre-wrap; }
.lr__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 1024px) { .lr { grid-template-columns: 1fr; } .lr__aside { position: static; } }
@media (max-width: 640px) { .lr__form { padding: 24px 18px; } .lr .field input, .lr .field select, .lr .field textarea { font-size: 16px; } }
@media print { .header, .footer, .ihero, .wa-float, .lr__actions { display: none !important; } .lr__copy { border: 0; padding: 0; background: none; } }
.lr__radios label, .lr__toggle { height: 44px; padding: 0 16px !important; line-height: 1; font-size: 14.5px !important; } .lr__radios input, .lr__toggle input { height: auto !important; margin: 0 !important; padding: 0 !important; }
/* Libro de reclamaciones · columna lateral refinada */
.lr__intro { margin: 12px 0 0; font-size: 15.5px; line-height: 25px; color: var(--text); }
.lr__card { margin-top: 24px; padding: 22px 24px; border-radius: 18px; background: var(--navy); color: var(--white); }
.lr__card-title { display: block; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.lr__company { margin: 8px 0 0; font-size: 19px; line-height: 25px; font-weight: 700; color: var(--white); }
.lr__meta { margin: 4px 0 0; font-size: 13.5px; line-height: 21px; color: rgba(255, 255, 255, .78); }
.lr__date { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 13.5px; color: rgba(255, 255, 255, .78); }
.lr__date strong { color: var(--white); }
.lr__types { display: grid; gap: 10px; margin-top: 20px; }
.lr__type { display: grid; gap: 4px; padding: 16px 18px; border: 1px solid #e3e9f0; border-radius: 14px; }
.lr__type strong { font-size: 15px; color: var(--navy); }
.lr__type span { font-size: 13.5px; line-height: 21px; color: var(--text); }
.lr__legal { margin: 20px 0 0; font-size: 12.5px; line-height: 19px; color: #8592a0; }

/* =========================================================
   CASOS · tarjeta v2 (foto, servicio, cliente, resultado, enlace)
   ========================================================= */
.icard--v2 { border-color: #e6ecf2; border-radius: 18px; }
.icard--v2 .icard__media { aspect-ratio: 4 / 3; }
.icard--v2 .icard__body { display: flex; flex-direction: column; flex: 1; padding: 22px 24px 24px; }
.icard--v2 .icard__kind { margin: 0; font-size: 12.5px; line-height: 18px; font-weight: 500; color: var(--green); }
.icard--v2 .icard__name { margin: 6px 0 0; font-size: 19px; line-height: 25px; font-weight: 700; letter-spacing: -.01em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.icard__outcome { margin: 10px 0 0; font-size: 15px; line-height: 23px; color: var(--text); }
.icard__more { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 20px; font-size: 14px; font-weight: 600; color: var(--navy); transition: color 180ms ease; }
.icard__more .arrow { width: 13px; height: 10px; transform: scaleX(-1); transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .icard--v2:hover { border-color: #d3dde8; box-shadow: 0 16px 34px rgba(18, 59, 94, .08); }
  .icard--v2:hover .icard__name, .icard--v2:hover .icard__more { color: var(--green); }
  .icard--v2:hover .icard__more .arrow { transform: scaleX(-1) translateX(-4px); }
  .icard--v2:hover .icard__more .arrow { filter: none; }
}
@media (prefers-reduced-motion: reduce) { .icard__more .arrow { transition: none; } }
/* Casos v2 · pie con certificadora y botón */
.icard--v2 .icard__outcome { margin-top: 10px; font-size: 14.5px; line-height: 23px; color: var(--text); }
.icard__bottom { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 18px; border-top: 1px solid #e9eef4; }
.icard--v2 .icard__body > .icard__outcome { margin-bottom: 20px; }
.icard__by { display: flex; align-items: center; gap: 10px; }
.icard__by-label { font-size: 11.5px; line-height: 15px; color: #8592a0; max-width: 64px; }
.icard__by img { height: 34px; width: auto; }
.icard__cta { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--navy); font-size: 13.5px; font-weight: 600; color: var(--navy); white-space: nowrap; transition: background-color 220ms ease, color 220ms ease, box-shadow 220ms ease; }
.icard__cta .arrow { width: 13px; height: 10px; transform: scaleX(-1); transition: transform 250ms var(--ease-out), filter 220ms ease; }
.icard--v2 { transition: transform 300ms var(--ease-out), box-shadow 300ms ease, border-color 220ms ease; }
.icard--v2 .icard__media img { transition: transform 700ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .icard--v2:hover { transform: translateY(-4px); border-color: #d3dde8; box-shadow: 0 20px 44px rgba(18, 59, 94, .12); }
  .icard--v2:hover .icard__media img { transform: scale(1.05); }
  .icard--v2:hover .icard__name { color: var(--navy); }
  .icard--v2:hover .icard__cta { background: var(--green); box-shadow: inset 0 0 0 1.5px var(--green); color: var(--white); }
  .icard--v2:hover .icard__cta .arrow { filter: brightness(0) invert(1); transform: scaleX(-1) translateX(-3px); }
}
.icard--v2:has(.icard__link:focus-visible) .icard__cta { background: var(--green); color: var(--white); }
@media (prefers-reduced-motion: reduce) { .icard--v2, .icard--v2 .icard__media img, .icard__cta, .icard__cta .arrow { transition: none; } .icard--v2:hover { transform: none; } }
.icard__by-label { max-width: none; white-space: nowrap; }
.icard__by img { height: 40px; }
.icard--v2 .icard__by img[src*="bureau"] { height: 42px; }
/* Casos v2 · espacio compacto y distintivo sobre la foto */
.icard--v2 .icard__media { position: relative; }
.icard__badge { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px 6px 10px; border-radius: 999px; background: var(--green); box-shadow: 0 6px 16px rgba(18, 59, 94, .25); font-size: 12.5px; line-height: 16px; font-weight: 600; color: var(--white); }
.icard__badge strong { font-size: 15px; font-weight: 800; }
.icard--v2 .icard__body { padding: 20px 22px 20px; }
.icard--v2 .icard__body > .icard__outcome { margin: 8px 0 0; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.icard__bottom { margin-top: auto; padding-top: 16px; }
.icard--v2 .icard__outcome + .icard__bottom { margin-top: max(16px, auto); }
.icard--v2 .icard__body { gap: 0; }
.icard--v2 .icard__body .icard__bottom { margin-top: auto; }
.icard--v2 .icard__body .icard__outcome { margin-bottom: 16px; }
/* Casos v2 · etiqueta de servicio sobria (sin verde) */
.icard--v2 .icard__kind { display: flex; align-items: center; gap: 8px; font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: .02em; color: #7a8796; }
.icard--v2 .icard__kind::before { content: ""; width: 14px; height: 1px; background: #b7c2ce; }
.icard--v2 .icard__name { margin-top: 8px; }
/* Casos v2 · servicio en el pie junto al logo */
.icard--v2 .icard__name { margin-top: 0; }
.icard--v2 .icard__by { gap: 12px; }
.icard--v2 .icard__by-label { display: flex; flex-direction: column; font-size: 12px; line-height: 16px; color: #7a8796; white-space: nowrap; order: 2; }
.icard--v2 .icard__by-label strong { font-size: 13px; font-weight: 600; color: var(--navy); }
.icard--v2 .icard__by img { order: 1; height: 38px; }
.page-inner main > section.casos-list { padding-top: calc(64px * var(--k)) !important; }
.folio__item[hidden] { display: none !important; }

/* Caso · bloque de resultado (homologación) */
.cres { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 28px 56px; align-items: center; padding: 40px 48px; border-radius: 22px; background: linear-gradient(160deg, #1a4a73 0%, var(--navy) 60%); color: var(--white); }
.cres__title { margin: 0; font-size: 26px; line-height: 32px; font-weight: 700; color: var(--white); }
.cres__intro p { margin: 10px 0 0; font-size: 15px; line-height: 24px; color: rgba(255, 255, 255, .78); }
.cres__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.cres__stats > div { padding: 4px 24px; border-left: 1px solid rgba(255, 255, 255, .16); }
.cres__stats dt { font-size: 12.5px; line-height: 18px; color: rgba(255, 255, 255, .65); }
.cres__stats dd { margin: 8px 0 0; font-size: 44px; line-height: 1; font-weight: 700; letter-spacing: -.02em; color: var(--white); font-variant-numeric: tabular-nums; }
.cres__stats > div:first-child dd { color: #7fd197; }
.cres__logo { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 14px; background: var(--white); }
.cres__logo img { height: 46px; width: auto; }
@media (max-width: 1024px) { .cres { grid-template-columns: 1fr; } .cres__stats > div:first-child { padding-left: 0; border-left: 0; } }
@media (max-width: 600px) { .cres { padding: 28px 22px; } .cres__stats { grid-template-columns: 1fr 1fr; row-gap: 20px; } .cres__stats > div { padding: 0 0 0 16px; } .cres__stats > div:nth-child(odd) { padding-left: 0; border-left: 0; } .cres__stats dd { font-size: 34px; } }

/* =========================================================
   PÁGINAS LEGALES
   ========================================================= */
.legal { display: grid; grid-template-columns: minmax(0, 280px) minmax(0, 760px); gap: 40px 72px; align-items: start; }
.legal__toc { position: sticky; top: 120px; padding: 24px; border: 1px solid #e3e9f0; border-radius: 18px; background: #f8fafc; }
.legal__toc-title { margin: 0 0 12px; font-size: 13px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: #7a8796; }
.legal__toc ol { margin: 0; padding: 0 0 0 20px; display: grid; gap: 8px; font-size: 14px; line-height: 20px; color: #a3aeba; }
.legal__toc a { color: var(--navy); transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) { .legal__toc a:hover { color: var(--green); } }
.legal__updated { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #e3e9f0; font-size: 12.5px; color: #7a8796; }
.legal__body section { scroll-margin-top: 120px; }
.legal__body section + section { margin-top: 36px; padding-top: 36px; border-top: 1px solid #e9eef4; }
.legal__body h2 { margin: 0 0 14px; font-size: 22px; line-height: 28px; font-weight: 700; letter-spacing: -.01em; color: var(--navy); }
.legal__body p { margin: 0 0 12px; font-size: 16px; line-height: 27px; color: var(--text); }
.legal__body strong { color: var(--navy); }
.legal__body a { color: var(--navy); font-weight: 600; text-decoration: underline; text-decoration-color: #c9d4df; text-underline-offset: 3px; }
.legal__body ul { margin: 0 0 12px; padding: 0; list-style: none; display: grid; gap: 10px; }
.legal__body li { position: relative; padding-left: 30px; font-size: 16px; line-height: 26px; color: var(--text); }
.legal__body li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: #f4f8fd url("../img/case-check.svg") center / 50% no-repeat; }
@media (max-width: 1024px) { .legal { grid-template-columns: 1fr; } .legal__toc { position: static; } }
/* Legal · índice con indicador de sección activa */
.legal__toc { padding: 0; border: 0; background: none; }
.legal__toc-title { margin: 0 0 14px; font-size: 12px; letter-spacing: .06em; color: #8592a0; }
.legal__toc ol { display: block; padding: 0; list-style: none; border-left: 1px solid #e3e9f0; }
.legal__toc li { margin: 0; }
.legal__toc a { position: relative; display: grid; grid-template-columns: 26px minmax(0, 1fr); padding: 8px 0 8px 18px; font-size: 14px; line-height: 20px; color: #5f6b78; transition: color 180ms ease; }
.legal__toc a span { font-size: 12px; font-weight: 600; color: #a3aeba; font-variant-numeric: tabular-nums; transition: color 180ms ease; }
.legal__toc a::before { content: ""; position: absolute; left: -1px; top: 6px; bottom: 6px; width: 2px; background: var(--green); transform: scaleY(0); transition: transform 250ms var(--ease-out); }
.legal__toc a.is-active { color: var(--navy); font-weight: 600; }
.legal__toc a.is-active span { color: var(--green); }
.legal__toc a.is-active::before { transform: scaleY(1); }
@media (hover: hover) and (pointer: fine) { .legal__toc a:hover { color: var(--navy); } }
.legal__updated { margin-top: 16px; padding-top: 0; border-top: 0; padding-left: 18px; }
@media (max-width: 1024px) { .legal__toc { padding: 20px; border: 1px solid #e3e9f0; border-radius: 16px; } }
@media (prefers-reduced-motion: reduce) { .legal__toc a::before { transition: none; } }

/* Detalle de servicio · presentación equilibrada (foto proporcional al texto) */
@media (min-width: 1025px) {
  .page-inner .split__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
  .page-inner .split__grid .split__img { height: auto; min-height: 0; aspect-ratio: 5 / 4.4; }
}
.page-inner .split .title { font-size: 36px; line-height: 44px; }
.page-inner .split .title + .split__p { margin-top: 18px; }
.page-inner .split__lead + .split__p, .page-inner .split .title + .split__p { font-size: 17px; line-height: 28px; }
.page-inner .split__p + .split__p { padding-top: 12px; border-top: 1px solid #e9eef4; margin-top: 14px; font-size: 15px; line-height: 25px; }
.page-inner .split__cta { margin-top: 28px; }
@media (max-width: 640px) { .page-inner .split .title { font-size: 28px; line-height: 35px; } }
.page-inner .split__p + .split__p + .split__p { padding-top: 0; border-top: 0; margin-top: 10px; }

/* Proceso de 9 etapas · introducción fija + línea de tiempo vertical */
@media (min-width: 1025px) {
  .steps-sec .container:has(.process--9) { display: grid; grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 40px 80px; align-items: start; }
  .steps-sec .container:has(.process--9) .services__head { position: sticky; top: 130px; display: block; margin: 0 !important; }
  .steps-sec .container:has(.process--9) .services__head .title { font-size: 36px; line-height: 44px; }
  .page-inner .process--9 { grid-template-columns: 1fr; row-gap: 0; }
}
.page-inner .process--9 { display: grid; grid-template-columns: 1fr; gap: 0; }
.page-inner .process--9::before { display: block; left: 23px; right: auto; top: 24px; bottom: 24px; width: 2px; height: auto; }
.page-inner .process--9 .process__step { display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 24px; align-items: start; padding: 0 0 28px; }
.page-inner .process--9 .process__step:last-child { padding-bottom: 0; }
.page-inner .process--9 .process__num { grid-row: span 2; }
.page-inner .process--9 .process__title { margin: 12px 0 0; font-size: 17px; }
.page-inner .process--9 .process__text { margin-top: 4px; max-width: none; }
.page-inner .process--9 .process__step:hover .process__num { border-color: var(--green); color: var(--green); }
.page-inner .process--9 .process__step:last-child:hover .process__num { color: var(--white); }
.page-inner .process--9 .process__num { transition: border-color 180ms ease, color 180ms ease; }

/* =========================================================
   DETALLE DE SERVICIO · estandarización de títulos y ritmo
   Títulos de sección: 40/48 (34/42 tablet, 28/35 móvil)
   Encabezado → contenido: 40px · Entre secciones: 96px · Antes del CTA: 72px
   ========================================================= */
.page-inner main > section:not(.ihero) .title,
.page-inner .split .title,
.page-inner .steps-sec .container:has(.process--9) .services__head .title,
.page-inner .allies .title { font-size: 40px; line-height: 48px; letter-spacing: -.015em; }
@media (max-width: 1024px) { .page-inner main > section:not(.ihero) .title, .page-inner .split .title, .page-inner .allies .title { font-size: 34px; line-height: 42px; } }
@media (max-width: 640px) { .page-inner main > section:not(.ihero) .title, .page-inner .split .title, .page-inner .allies .title { font-size: 28px; line-height: 35px; } }
.page-inner .services__head { margin-bottom: var(--s-head) !important; }
.page-inner .services__sub { margin-top: 12px; font-size: 16px; line-height: 26px; }
.page-inner .process { margin-bottom: 0; }
.page-inner .process__step { margin-bottom: 0; }
.page-inner .allies__grid { align-items: center; }
.page-inner .allies__text { margin-top: 12px; }
/* Responsive fixes (auditoría) */
.cdet--orig .cdet__partner p { min-width: 0; }
@media (max-width: 640px) { .cdet--orig .cdet__partner { display: flex; flex-wrap: wrap; } .cdet--orig .cdet__partner p { flex: 1 1 100%; margin: 6px 0 0; padding: 0; border: 0; } }
.services__intro { min-width: 0; }
.page-inner .services__intro .title { overflow-wrap: break-word; }
@media (max-width: 1024px) { .cdet--orig { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .page-inner .services__head { align-items: stretch; } .page-inner .services__head > * { max-width: 100%; } .page-inner .services__head .btn { align-self: flex-start; } }
@media (max-width: 1024px) {
  .page-inner .split__grid { grid-template-columns: 1fr; gap: 28px; }
  .page-inner .split__grid .split__img { order: -1; width: 100%; height: auto; aspect-ratio: 16 / 10; max-width: none; }
}
@media (max-width: 640px) { .page-inner .split__cta { flex-direction: column; align-items: stretch; } .page-inner .split__cta .btn { justify-content: center; } }
@media (max-width: 1024px) { .page-inner .steps-sec .container:has(.process--9) .services__head .title { font-size: 34px; line-height: 42px; } } @media (max-width: 640px) { .page-inner .steps-sec .container:has(.process--9) .services__head .title { font-size: 28px; line-height: 35px; } }

/* =========================================================
   RITMO VERTICAL GLOBAL (auditoría de espaciado)
   Banner → primera sección: 72px (el banner ya separa visualmente)
   Entre secciones de contenido: 96px · Antes/después de bloques con fondo (CTA, mapa): 72px
   ========================================================= */
.page-inner main > .ihero + section:not(.ihero) { padding-top: var(--s-lg) !important; }
.page-inner main > section.casos-list,
.page-inner main > section.case-det { padding-top: var(--s-lg) !important; }
.page-inner .split__text > :first-child,
.page-inner .split .title { margin-top: 0; }
.page-inner .split__text > :last-child { margin-bottom: 0; }
.legal__body section:last-child p:last-child { margin-bottom: 0; }

/* =========================================================
   FLECHAS DE SLIDERS · tamaño y posición por dispositivo
   Escritorio 50px · tablet 44px · móvil 40px
   ========================================================= */
@media (max-width: 1024px) {
  .round-arrow { width: 44px; height: 44px; }
  .round-arrow img { width: 51px; height: 51px; left: -3.5px; }
}
@media (max-width: 640px) {
  .round-arrow { width: 40px; height: 40px; }
  .round-arrow img { width: 46px; height: 46px; left: -3px; }
}

/* 1. Hero: flechas visibles en tablet y móvil, a ambos lados de los indicadores */
@media (max-width: 1024px) {
  .hero__prev, .hero__next { display: block; top: auto; transform: none; z-index: 6; }
  .page-home:has(.tband) .hero__prev { left: 16px; bottom: 65px; }
  .page-home:has(.tband) .hero__next { left: auto; right: 16px; bottom: 65px; transform: rotate(180deg); }
}
@media (max-width: 640px) {
  .page-home:has(.tband) .hero__prev { bottom: 51px; }
  .page-home:has(.tband) .hero__next { bottom: 51px; }
}

/* 2. Servicios: flechas dentro del borde de las tarjetas, centradas en altura */
@media (max-width: 1024px) {
  .slider__prev { left: -6px; }
  .slider__next { right: -6px; }
}
@media (max-width: 640px) {
  .slider__prev, .slider__next { top: 50%; margin-top: -20px; }
  .slider__prev { left: -4px; }
  .slider__next { right: -4px; }
}

/* 3. Casos de éxito: flechas también en móvil, centradas en la foto */
@media (max-width: 640px) {
  .folio-wrap .round-arrow { display: block; }
  .folio-wrap:has(.folio--issuer) .round-arrow { top: calc(50% - 14px); }
  .folio-wrap__prev { left: -4px; }
  .folio-wrap__next { right: -4px; }
  .folio-wrap .round-arrow.is-disabled { opacity: .45; }
}
@media (max-width: 480px) { .icard__bottom { flex-wrap: wrap; row-gap: 12px; } .icard--v2 .icard__by-label { white-space: normal; } .icard__cta { margin-left: auto; } }

/* Inicio · normas ISO en dos columnas en móvil (igual que las páginas internas) */
@media (max-width: 640px) {
  .page-home .cert .iso-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .page-home .cert .iso-card { height: 150px; border-radius: 16px; }
  .page-home .cert .iso-card__txt { left: 12px; right: 12px; bottom: 10px; }
  .page-home .cert .iso-card__txt strong { font-size: 16px; line-height: 22px; }
  .page-home .cert .iso-card__txt span { font-size: 12px; line-height: 15px; }
  .page-home .cert .iso-card__icon { display: none; }
}

/* ==========================================================================
   Revisión móvil · tamaños, áreas táctiles (mín. 44px) y densidad
   ========================================================================== */
@media (max-width: 640px) {
  /* Títulos de sección: una sola escala (28/35) */
  .ctal__title, .page-home .crows__title { font-size: 28px; line-height: 35px; }
  .hero__pause::after { content: ""; position: absolute; inset: -7px; }
  .cch__value a { display: inline-block; padding: 10px 0; margin: -10px 0; }

  /* Migas: área táctil sin cambiar el tamaño visual */
  .breadcrumb a { display: inline-block; padding: 12px 0; margin: -12px 0; }

  /* Footer: enlaces con alto táctil de 40px+ */
  .footer__links { gap: 0; }
  .footer__links a { display: inline-block; padding: 9px 0; }
  .footer__contact a, .footer__wa-nums a { display: inline-block; padding: 8px 0; margin: -8px 0; }
  .footer__legal-links a { display: inline-block; padding: 8px 4px; margin: -8px -4px; }
  .footer__social a { width: 44px; height: 44px; display: grid; place-items: center; }

  /* Casas certificadoras: logos lado a lado, no apilados a ancho completo */
  .allies__logos, .page-home .allies--home .allies__logos { flex-wrap: nowrap; justify-content: center; align-items: center; gap: 28px; }
  .allies__qro, .page-home .allies--home .allies__qro { width: min(44vw, 170px); height: auto; margin: 0; }
  .allies__qfs, .page-home .allies--home .allies__qfs { width: min(30vw, 116px); height: auto; }

  /* Inicio · lista de diferenciadores más compacta */
  .ally__item { padding: 14px 0; }
  .secg__card { aspect-ratio: 4 / 3.3; border-radius: 16px; }

  /* Casos · filtro en una sola fila desplazable */
  .folio-filter { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 2px 16px; }
  .folio-filter::-webkit-scrollbar { display: none; }
  .folio-filter__btn { flex: none; min-height: 44px; padding: 0 12px; font-size: 14px; }
  .page-inner .folio-filter { gap: 6px; margin: 0 -16px 20px; }

  /* Nosotros · fotos del equipo menos altas, encuadre en el rostro */
  .tpro__photo { aspect-ratio: 1 / 1; }
  .tpro__photo img { object-position: center 15%; }
}
@media (max-width: 1024px) { .cnt, .lr, .quote__grid { grid-template-columns: minmax(0, 1fr); } }

/* ==========================================================================
   Ritmo vertical compacto (todas las páginas y dispositivos)
   Secciones 72 / adyacentes a bloques enmarcados 56 / título → contenido 32
   ========================================================================== */
.page-home, .page-inner { --k: 1; --s-xl: calc(72px * var(--k)); --s-lg: calc(56px * var(--k)); --s-head: calc(32px * var(--k)); }
@media (max-width: 1024px) { .page-home, .page-inner { --k: .83; } }
@media (max-width: 640px) { .page-home, .page-inner { --k: .72; } }
/* Bloques apilados en móvil: encabezado → contenido con el mismo ritmo de --s-head */
@media (max-width: 1024px) {
  .allies__grid, .ally__grid, .split__grid, .cdet, .tpro, .vphoto, .cnt, .lr, .quote__grid, .legal { row-gap: calc(var(--s-head) + 4px) !important; }
}
@media (max-width: 640px) {
  .lr__set legend { margin-bottom: 14px; }
}
.ihero--banner .ihero__bg[src*="nosotros-equipo"] { object-position: center 18%; }
/* Ancla de COTIZAR: el formulario queda justo bajo el header fijo */
#formulario { scroll-margin-top: -12px; } /* suma con scroll-padding-top: 110px del html */
/* Footer · lema + descripción breve de la empresa */
.footer .footer__slogan { max-width: 300px; margin-top: 24px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--white); }
.footer .footer__brand .footer__about { max-width: 300px; text-wrap: pretty; margin-top: 10px; font-size: 14px; line-height: 22px; color: rgba(255, 255, 255, .7); }
.footer .footer__ruc { margin-top: 18px; }
@media (max-width: 1024px) { .footer .footer__slogan, .footer .footer__brand .footer__about { max-width: 460px; } }
/* Footer · descripción directamente bajo el logo; razón social y RUC junto al Libro de Reclamaciones */
.footer .footer__brand .footer__about { margin-top: 24px; }
.footer .footer__brand .footer__social { margin-top: 22px; }
.footer .footer__ruc--legal { margin-top: 14px; }
/* Clientes · hover sin recorte: la fila deja aire para la sombra y el borde va por dentro */
.crows__row { padding-block: 14px; margin-block: -14px; }
.crows__logo { transition: transform 250ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .crows__group li:hover { background: var(--white); box-shadow: inset 0 0 0 1px #e3e9f0, 0 8px 20px rgba(18, 59, 94, .07); }
  .crows__group li:hover .crows__logo { transform: scale(1.04); }
}
