/* ============================================================
   S4 V3 — estilos del rediseño (navbar, footer, home, …)
   Un solo archivo. Buscar secciones con ==========
   ============================================================ */

/* ========== TOKENS / VARIABLES ========== */
:root {
  --s4-brown: #423113;
  --s4-brown-deep: #2f230d;
  --s4-charcoal: #303234;
  --s4-navy: #002035; /* color de refuerzo; coexiste con amarillo primario */
  --s4-yellow: #FFD633;
  --s4-alice: #E2EDF3;
  --s4-bluegray: #8B97A2;
  /* Ancho máximo compartido (prototipo ~1240). Fondos full-bleed; contenido centrado. */
  --s4-content-max: 1240px;
  --s4-content-gutter: 24px;
}

/* ========== TIPOGRAFÍA · SOFIA PRO ========== */
@font-face {
  font-family: "Sofia Pro Medium";
  src: url("https://db.onlinewebfonts.com/t/b11a10b450aefd4d399fb070f7c94bae.eot");
  src: url("https://db.onlinewebfonts.com/t/b11a10b450aefd4d399fb070f7c94bae.eot?#iefix") format("embedded-opentype"),
       url("https://db.onlinewebfonts.com/t/b11a10b450aefd4d399fb070f7c94bae.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/b11a10b450aefd4d399fb070f7c94bae.woff") format("woff"),
       url("https://db.onlinewebfonts.com/t/b11a10b450aefd4d399fb070f7c94bae.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Pro Bold";
  src: url("https://db.onlinewebfonts.com/t/2bddd8cacbb264e5533b00d2513b6ebc.eot");
  src: url("https://db.onlinewebfonts.com/t/2bddd8cacbb264e5533b00d2513b6ebc.eot?#iefix") format("embedded-opentype"),
       url("https://db.onlinewebfonts.com/t/2bddd8cacbb264e5533b00d2513b6ebc.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/2bddd8cacbb264e5533b00d2513b6ebc.woff") format("woff"),
       url("https://db.onlinewebfonts.com/t/2bddd8cacbb264e5533b00d2513b6ebc.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Pro";
  src: url("https://db.onlinewebfonts.com/t/a1f486ff14cc5c4f87a0e3825d152372.eot");
  src: url("https://db.onlinewebfonts.com/t/a1f486ff14cc5c4f87a0e3825d152372.eot?#iefix") format("embedded-opentype"),
       url("https://db.onlinewebfonts.com/t/a1f486ff14cc5c4f87a0e3825d152372.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/a1f486ff14cc5c4f87a0e3825d152372.woff") format("woff"),
       url("https://db.onlinewebfonts.com/t/a1f486ff14cc5c4f87a0e3825d152372.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Sofia Pro Black";
  src: url("https://db.onlinewebfonts.com/t/580c0d9fec098eb15b672ab159a0e6f6.eot");
  src: url("https://db.onlinewebfonts.com/t/580c0d9fec098eb15b672ab159a0e6f6.eot?#iefix") format("embedded-opentype"),
       url("https://db.onlinewebfonts.com/t/580c0d9fec098eb15b672ab159a0e6f6.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/580c0d9fec098eb15b672ab159a0e6f6.woff") format("woff"),
       url("https://db.onlinewebfonts.com/t/580c0d9fec098eb15b672ab159a0e6f6.ttf") format("truetype");
  font-display: swap;
}
@font-face {
  font-family: "Sofia Pro Regular";
  src: url("https://db.onlinewebfonts.com/t/060e116a70e3096c52db16f61aaab194.eot");
  src: url("https://db.onlinewebfonts.com/t/060e116a70e3096c52db16f61aaab194.eot?#iefix") format("embedded-opentype"),
       url("https://db.onlinewebfonts.com/t/060e116a70e3096c52db16f61aaab194.woff2") format("woff2"),
       url("https://db.onlinewebfonts.com/t/060e116a70e3096c52db16f61aaab194.woff") format("woff"),
       url("https://db.onlinewebfonts.com/t/060e116a70e3096c52db16f61aaab194.ttf") format("truetype");
  font-display: swap;
}

/*
  landing-style.css usa `* { font-family: Fira Sans }` — aplica a CADA nodo.
  En v3: contenedor = Sofia; hijos = inherit (pisa Fira y respeta Bold/Medium del padre).
*/
.s4-header-v3,
.s4-footer-v3,
.s4-home-v3,
.s4-about-v3,
.s4-services-v3,
.s4-reports-v3,
.s4-cases-v3,
.s4-contact-v3,
.s4-partners-v3,
.s4-dfe-v3,
.s4-dep-v3,
.s4-gfp-v3,
.s4-gfi-v3,
.s4-gsf-v3,
.s4-spv-v3,
.s4-tyc-v3 {
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
}

.s4-header-v3 *,
.s4-footer-v3 *,
.s4-home-v3 *,
.s4-about-v3 *,
.s4-services-v3 *,
.s4-reports-v3 *,
.s4-cases-v3 *,
.s4-contact-v3 *,
.s4-partners-v3 *,
.s4-dfe-v3 *,
.s4-dep-v3 *,
.s4-gfp-v3 *,
.s4-gfi-v3 *,
.s4-gsf-v3 *,
.s4-spv-v3 *,
.s4-tyc-v3 * {
  font-family: inherit;
}

/* ========== NAVBAR ========== */
.s4-header-v3,
#main-header.s4-header-v3 {
  --s4-charcoal: #303234;
  --s4-navy: #002035;
  --s4-yellow: #FFD633;
  --s4-brown-deep: #2f230d;
  --s4-brown: #423113;
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: var(--s4-charcoal);
  border-bottom: 4px solid var(--s4-yellow);
  color: #fff;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  /* Anula scripts viejos que ocultaban el header en el hero (opacity/display) */
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

.s4-header-v3 * {
  box-sizing: border-box;
}

.s4-header-v3__inner {
  min-height: 84px;
  padding: 12px 2.5%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;
  max-width: var(--s4-content-max);
  margin: 0 auto;
}

.s4-header-v3__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
  margin-right: 8px;
}

.s4-header-v3__brand:hover {
  color: inherit;
  text-decoration: none;
}

.s4-header-v3__logo {
  display: block;
  width: auto;
  height: 46px;
  object-fit: contain;
}

.s4-header-v3__descriptor {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 0.08em;
  line-height: 1.3;
  color: #fff;
  text-transform: uppercase;
}

.s4-header-v3__descriptor span {
  display: block;
}

.s4-header-v3__descriptor span.is-accent {
  color: var(--s4-yellow);
}

.s4-header-v3__nav {
  /* Oculto por defecto; se muestra desde 1025px */
  display: none;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  gap: 14px;
  min-width: 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.s4-header-v3__link {
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  text-decoration: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
  white-space: nowrap;
}

.s4-header-v3__link:hover,
.s4-header-v3__link:focus {
  color: var(--s4-yellow);
  text-decoration: none;
}

.s4-header-v3__access {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 2px;
  padding-left: 16px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  white-space: nowrap;
  flex-shrink: 0;
}

.s4-header-v3__access:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, 0.28);
  transform: translateY(-50%);
}

.s4-header-v3__access:hover {
  color: var(--s4-yellow);
  text-decoration: none;
}

.s4-header-v3__access-icon {
  width: 15px;
  height: 15px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 6px;
  line-height: 1;
  flex-shrink: 0;
}

.s4-header-v3__access-text {
  display: inline-block;
  line-height: 1.15;
  white-space: nowrap;
}

.s4-header-v3__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--s4-yellow);
  color: var(--s4-brown-deep);
  border-radius: 999px;
  padding: 10px 14px;
  margin-left: 4px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-transform: none;
  text-decoration: none;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  box-shadow: none;
  border: 0;
}

.s4-header-v3__cta:hover,
.s4-header-v3__cta:focus {
  background: #fff;
  color: var(--s4-brown);
  text-decoration: none;
}

.s4-header-v3__menu-btn {
  display: block;
  margin-left: auto;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 28px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.s4-header-v3__mobile {
  display: none;
  padding: 8px 20px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.s4-header-v3__mobile.is-open {
  display: block !important;
}

.s4-header-v3__mobile a,
.s4-header-v3__mobile button {
  display: block;
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 12px 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 13px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
}

.s4-header-v3__mobile a:hover,
.s4-header-v3__mobile button:hover {
  color: var(--s4-yellow);
}

.s4-header-v3__mobile a.s4-header-v3__cta,
.s4-header-v3__mobile .s4-header-v3__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--s4-yellow) !important;
  color: var(--s4-brown-deep) !important;
  border-radius: 999px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.01em;
  text-transform: none;
  text-align: center;
  white-space: normal;
  line-height: 1.25;
}

.s4-header-v3__mobile a.s4-header-v3__cta:hover,
.s4-header-v3__mobile .s4-header-v3__cta:hover {
  background: #fff !important;
  color: var(--s4-brown) !important;
}

.s4-header-v3__mobile-label {
  color: rgba(255, 255, 255, 0.55);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 8px;
  padding-bottom: 4px;
}

.s4-header-v3__mobile-sub {
  padding-left: 14px;
  margin-bottom: 4px;
}

.s4-header-v3__mobile-sub a {
  font-family: "Sofia Pro Medium", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  font-weight: normal;
  text-transform: none;
  letter-spacing: 0.02em;
  opacity: 0.92;
  padding: 8px 0;
}

.s4-header-v3__mobile-divider {
  height: 1px;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.15);
}

/* Por defecto (≤1024): hamburguesa. Desktop solo desde 1025px */
.s4-header-v3__nav {
  display: none !important;
}

/* Desktop amplio: un poco más de aire entre ítems */
@media (min-width: 1025px) {
  .s4-header-v3__nav {
    display: flex !important;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    gap: 14px;
    min-width: 0;
    font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
    font-size: 11px;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .s4-header-v3__menu-btn {
    display: none !important;
  }

  .s4-header-v3__mobile,
  .s4-header-v3__mobile.is-open {
    display: none !important;
  }
}

@media (min-width: 1280px) {
  .s4-header-v3__nav {
    gap: 18px;
    font-size: 12px;
  }

  .s4-header-v3__cta {
    padding: 11px 16px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .s4-header-v3__inner {
    min-height: 72px;
    padding-inline: 20px;
    justify-content: space-between;
  }

  .s4-header-v3__logo {
    height: 40px;
    width: auto;
  }
}

@media (max-width: 768px) {
  .s4-header-v3__descriptor {
    font-size: 9px;
  }

  .s4-header-v3__inner {
    padding-inline: 16px;
  }

  .s4-header-v3__mobile {
    padding-inline: 16px;
  }
}

@media (max-width: 480px) {
  .s4-header-v3__brand {
    gap: 8px;
    margin-right: 0;
  }

  .s4-header-v3__logo {
    height: 34px;
    width: auto;
  }
}

/* ========== FOOTER ========== */
.s4-footer-v3 {
  --s4-charcoal: #303234;
  --s4-navy: #002035;
  --s4-yellow: #FFD633;
  --s4-brown-deep: #2f230d;
  --s4-brown: #423113;
  background: var(--s4-charcoal);
  border-top: 5px solid var(--s4-yellow);
  color: #fff;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  position: relative;
  z-index: 1;
}

.s4-footer-v3 * {
  box-sizing: border-box;
}

.s4-footer-v3__main {
  padding: 58px 5% 48px;
  display: grid;
  grid-template-columns: 1.55fr 0.72fr 0.95fr 1.08fr;
  gap: 42px;
  max-width: var(--s4-content-max);
  margin: 0 auto;
}

.s4-footer-v3__column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.s4-footer-v3__column h3 {
  margin: 0 0 8px;
  color: #fff;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.s4-footer-v3__column p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  line-height: 1.65;
  font-size: 14px;
}

.s4-footer-v3__column > a,
.s4-footer-v3__column > span {
  border: 0;
  padding: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.74);
  text-decoration: none;
  text-align: left;
  line-height: 1.5;
  font-size: 14px;
  font-family: inherit;
}

.s4-footer-v3__column > a:hover {
  color: var(--s4-yellow);
}

.s4-footer-v3__brand img {
  display: block;
  width: min(285px, 100%);
  height: auto;
  margin-bottom: 14px;
}

.s4-footer-v3__tagline {
  font-family: "Sofia Pro Medium", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  color: rgba(255, 255, 255, 0.82);
  font-weight: normal;
}

.s4-footer-v3__identity p {
  max-width: 410px;
  margin-top: 3px;
}

.s4-footer-v3__socials {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s4-footer-v3__socials a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 999px;
  padding: 7px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 400;
  transition: 0.2s;
}

.s4-footer-v3__socials a:hover {
  border-color: var(--s4-yellow);
  color: var(--s4-yellow);
  transform: translateY(-1px);
}

.s4-footer-v3__social-mark {
  width: 19px;
  height: 19px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.1);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  font-weight: normal;
  line-height: 1;
}

.s4-footer-v3__access {
  margin-top: 5px !important;
  padding-top: 13px !important;
  border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
  width: 100%;
}

.s4-footer-v3__action {
  padding-left: 25px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.s4-footer-v3__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 9px;
  padding: 14px 28px;
  border-radius: 999px;
  background: var(--s4-yellow);
  color: rgba(255,255,255,.74) !important;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  border: 0;
  cursor: pointer;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  transition: 0.2s;
}

.s4-footer-v3__cta:hover {
  background: #fff;
  color: #111111 !important;
}

.s4-footer-v3__whatsapp {
  margin-top: 4px !important;
  color: var(--s4-yellow) !important;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal !important;
  font-size: 14px;
}

.s4-footer-v3__whatsapp:hover {
  color: #fff !important;
}

.s4-footer-v3__legal {
  padding: 20px 5%;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
  line-height: 1.5;
  max-width: var(--s4-content-max);
  margin: 0 auto;
}

.s4-footer-v3__legal > div span {
  white-space: nowrap;
}

.s4-footer-v3__legal nav {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
}

.s4-footer-v3__legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.s4-footer-v3__legal a:hover {
  color: var(--s4-yellow);
}

@media (max-width: 1050px) {
  .s4-footer-v3__main {
    grid-template-columns: 1.3fr 0.7fr 1fr;
    gap: 32px;
  }

  .s4-footer-v3__action {
    grid-column: 1 / -1;
    padding: 26px 0 0;
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }
}

@media (max-width: 900px) {
  .s4-footer-v3__main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 48px 5% 40px;
  }

  .s4-footer-v3__action {
    grid-column: auto;
    padding: 0;
    border: 0;
  }

  .s4-footer-v3__legal {
    align-items: flex-start;
    flex-direction: column;
  }

  .s4-footer-v3__legal nav {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .s4-footer-v3__main {
    grid-template-columns: 1fr;
    padding: 42px 24px;
    gap: 30px;
  }

  .s4-footer-v3__action {
    padding-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .s4-footer-v3__legal {
    padding: 20px 24px;
  }

  .s4-footer-v3__socials a span:last-child {
    display: none;
  }

  .s4-footer-v3__socials a {
    padding: 7px;
  }
}

/* ========== HOME · HERO ========== */
.s4-home-v3 {
  --s4-brown: #423113;
  --s4-brown-deep: #2f230d;
  --s4-charcoal: #303234;
  --s4-navy: #002035;
  --s4-yellow: #FFD633;
  --s4-alice: #E2EDF3;
  --s4-bluegray: #8B97A2;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  color: #353535;
}

.s4-home-v3 *,
.s4-about-v3 * {
  box-sizing: border-box;
}

/* Anula League Spartan de landing-style.css (h1/h2/h3 y sus span) */
.s4-home-v3 h1,
.s4-home-v3 h2,
.s4-home-v3 h3,
.s4-about-v3 h1,
.s4-about-v3 h2,
.s4-about-v3 h3,
.s4-home-v3 h1 > span,
.s4-home-v3 h2 > span,
.s4-home-v3 h3 > span,
.s4-home-v3 h1 > strong,
.s4-home-v3 h2 > strong,
.s4-home-v3 h3 > strong,
.s4-about-v3 h1 > span,
.s4-about-v3 h2 > span,
.s4-about-v3 h3 > span,
.s4-about-v3 h1 > strong,
.s4-about-v3 h2 > strong,
.s4-about-v3 h3 > strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", "Sofia Pro", sans-serif !important;
}

/* Pesos Bold / Medium / Black (ganan al Regular del * v3) */
.s4-home-v3__eyebrow,
.s4-home-v3__btn,
.s4-home-v3__acc-btn,
.s4-home-v3__section-title,
.s4-home-v3__cta-title,
.s4-home-v3__leadership-name,
.s4-home-v3__leadership-link,
.s4-home-v3__need-link,
.s4-home-v3__case-label,
.s4-home-v3__perspective h3,
.s4-header-v3__link,
.s4-header-v3__cta,
.s4-footer-v3__col h3,
.s4-footer-v3 a {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", "Sofia Pro", sans-serif !important;
}

.s4-home-v3__leadership-role,
.s4-home-v3__perspective small,
.s4-home-v3__trust-lines > div {
  font-family: "Sofia Pro Medium", "Sofia Pro Regular", "Sofia Pro", sans-serif !important;
}

.s4-home-v3__hero {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
}

.s4-home-v3__copy {
  min-height: 560px;
  padding: 84px 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s4-home-v3__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 16px;
  font-weight: normal;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.s4-home-v3__eyebrow:before {
  content: "";
  width: 30px;
  height: 4px;
  background: var(--s4-navy);
  flex-shrink: 0;
}

.s4-home-v3__copy h1 {
  margin: 20px 0 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
  font-weight: normal;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__copy > p {
  max-width: 690px;
  margin: 24px 0 0;
  line-height: 1.72;
  font-size: 17px;
  color: #353535;
}

.s4-home-v3__positioning {
  margin-top: 20px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.s4-home-v3__buttons {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: 30px;
}

.s4-home-v3__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 22px;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.055em;
  text-decoration: none;
  transition: 0.2s;
  border: 1px solid var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  cursor: pointer;
}

.s4-home-v3__btn--primary {
  background: var(--s4-brown);
  color: #fff;
}

.s4-home-v3__btn--primary:hover {
  background: var(--s4-yellow);
  border-color: var(--s4-yellow);
  color: var(--s4-brown-deep);
}

.s4-home-v3__btn--secondary {
  background: #fff;
  color: var(--s4-brown);
}

.s4-home-v3__btn--secondary:hover {
  background: var(--s4-brown);
  color: #fff;
}

.s4-home-v3__microtrust {
  margin-top: 16px;
  font-size: 13px;
  color: rgba(36, 36, 36, 0.68);
  line-height: 1.5;
  max-width: 520px;
}

/* Columna visual / ecosistema */
.s4-home-v3__visual {
  min-height: 560px;
  padding: 40px 32px 34px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 26px;
  background-image:
    linear-gradient(rgba(226, 237, 243, 0.74), rgba(255, 255, 255, 0.83)),
    url("../images/fondo_servicio_empresa.jpg");
  background-size: cover;
  background-position: center;
  color: var(--s4-brown);
}

.s4-home-v3__visual:before {
  content: "GESTIÓN";
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: clamp(72px, 8vw, 120px);
  font-weight: normal;
  letter-spacing: -0.04em;
  color: rgba(69, 48, 12, 0.07);
  z-index: 0;
  text-transform: uppercase;
  pointer-events: none;
}

.s4-home-v3__ecosystem {
  position: relative;
  z-index: 1;
  width: min(100%, 500px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.s4-home-v3__ring,
.s4-home-v3__axis,
.s4-home-v3__dot,
.s4-home-v3__core,
.s4-home-v3__node,
.s4-home-v3__arc {
  position: absolute;
}

.s4-home-v3__ring {
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.s4-home-v3__ring--outer {
  width: 100%;
  height: 100%;
  border: 2px solid rgba(210, 169, 79, 0.72);
}

.s4-home-v3__ring--mid {
  width: 72%;
  height: 72%;
  border: 1.5px dashed rgba(69, 48, 12, 0.18);
}

.s4-home-v3__ring--inner {
  width: 50%;
  height: 50%;
  border: 2px solid rgba(210, 169, 79, 0.38);
}

.s4-home-v3__axis {
  left: 50%;
  top: 50%;
  transform-origin: left center;
  height: 2px;
  background: linear-gradient(90deg, rgba(210, 169, 79, 0.9), rgba(69, 48, 12, 0.18));
  z-index: 1;
}

.s4-home-v3__axis--top {
  width: 118px;
  transform: translate(0, -50%) rotate(-90deg);
}

.s4-home-v3__axis--right {
  width: 136px;
  transform: translate(0, -50%) rotate(0deg);
}

.s4-home-v3__axis--bottom {
  width: 118px;
  transform: translate(0, -50%) rotate(90deg);
}

.s4-home-v3__axis--left {
  width: 136px;
  transform: translate(0, -50%) rotate(180deg);
}

.s4-home-v3__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--s4-yellow);
  box-shadow: 0 0 0 4px rgba(255, 214, 51, 0.18);
  z-index: 2;
}

.s4-home-v3__dot--top {
  left: 50%;
  top: 26%;
  transform: translate(-50%, -50%);
}

.s4-home-v3__dot--right {
  left: 74%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.s4-home-v3__dot--bottom {
  left: 50%;
  top: 74%;
  transform: translate(-50%, -50%);
}

.s4-home-v3__dot--left {
  left: 26%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.s4-home-v3__core {
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 172px;
  height: 172px;
  border-radius: 50%;
  background: radial-gradient(
    circle at 33% 28%,
    rgba(72, 72, 72, 0.92),
    rgba(48, 50, 52, 0.96) 44%,
    rgba(21, 21, 21, 0.98) 100%
  );
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 3;
  border: 2px solid rgba(210, 169, 79, 0.42);
}

.s4-home-v3__core-rule {
  width: 36px;
  height: 5px;
  border-radius: 999px;
  background: var(--s4-yellow);
  margin-top: 12px;
  flex-shrink: 0;
}

.s4-home-v3__core strong {
  display: block;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 18px;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: normal;
}

.s4-home-v3__core strong span {
  display: block;
  font-size: 58px;
  line-height: 0.95;
  margin-top: 6px;
  color: #fff;
}

.s4-home-v3__core small {
  display: block;
  margin-top: 8px;
  color: #ffe28b;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 6px;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  max-width: 88%;
  line-height: 1.25;
}

.s4-home-v3__node {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid rgba(210, 169, 79, 0.58);
  box-shadow: 0 12px 28px rgba(48, 50, 52, 0.13);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 7px;
  color: var(--s4-brown-deep);
  z-index: 4;
}

.s4-home-v3__node--top {
  left: 50%;
  top: 4%;
  transform: translate(-50%, 0);
}

.s4-home-v3__node--right {
  right: 1.5%;
  top: 50%;
  transform: translate(0, -50%);
}

.s4-home-v3__node--bottom {
  left: 50%;
  bottom: 4%;
  transform: translate(-50%, 0);
}

.s4-home-v3__node--left {
  left: 1.5%;
  top: 50%;
  transform: translate(0, -50%);
}

.s4-home-v3__node-icon {
  font-size: 24px;
  line-height: 1;
  color: var(--s4-brown);
}

.s4-home-v3__node-title {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.s4-home-v3__arc {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(48, 50, 52, 0.48);
  z-index: 1;
}

.s4-home-v3__arc--left {
  left: 20%;
  top: 30%;
  transform: rotate(-58deg);
}

.s4-home-v3__arc--right {
  right: 20%;
  top: 28%;
  transform: rotate(45deg);
}


.s4-home-v3__card {
  position: relative;
  z-index: 1;
  align-self: flex-end;
  max-width: 360px;
  width: 100%;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 24px 22px;
  border-left: 5px solid var(--s4-yellow);
  box-shadow: 0 18px 34px rgba(48, 50, 52, 0.09);
}

.s4-home-v3__card small {
  display: block;
  color: #7f8c97;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.s4-home-v3__card p {
  margin: 12px 0 0;
  color: var(--s4-brown-deep);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 22px;
  line-height: 1.12;
  font-weight: normal;
}

@media (max-width: 1050px) {
  /* Stacked: aprovechar el ancho completo — diagrama más grande, no más chico */
  .s4-home-v3__hero {
    grid-template-columns: 1fr;
  }

  .s4-home-v3__copy {
    min-height: auto;
    padding: 56px 7% 40px;
  }

  .s4-home-v3__visual {
    min-height: auto;
    padding: 40px 4% 36px;
    gap: 28px;
  }

  .s4-home-v3__ecosystem {
    width: min(100%, 560px);
  }

  .s4-home-v3__node {
    width: 118px;
    height: 118px;
  }

  .s4-home-v3__node-title {
    font-size: 11px;
  }

  .s4-home-v3__node-icon {
    font-size: 22px;
  }

  .s4-home-v3__core {
    width: 168px;
    height: 168px;
  }

  .s4-home-v3__core strong {
    font-size: 17px;
  }

  .s4-home-v3__core strong span {
    font-size: 54px;
  }

  .s4-home-v3__core small {
    font-size: 8px;
    letter-spacing: 0.06em;
  }

  .s4-home-v3__arc {
    font-size: 11px;
    letter-spacing: 0.12em;
  }

  .s4-home-v3__axis--top,
  .s4-home-v3__axis--bottom {
    width: 128px;
  }

  .s4-home-v3__axis--right,
  .s4-home-v3__axis--left {
    width: 148px;
  }

  .s4-home-v3__card {
    align-self: center;
    max-width: 480px;
  }
}

@media (max-width: 768px) {
  .s4-home-v3__visual {
    padding: 36px 3.5% 30px;
  }

  .s4-home-v3__ecosystem {
    width: min(100%, 520px);
  }

  .s4-home-v3__node {
    width: 112px;
    height: 112px;
  }

  .s4-home-v3__core {
    width: 158px;
    height: 158px;
  }

  .s4-home-v3__core strong span {
    font-size: 50px;
  }

  .s4-home-v3__axis--top,
  .s4-home-v3__axis--bottom {
    width: 118px;
  }

  .s4-home-v3__axis--right,
  .s4-home-v3__axis--left {
    width: 136px;
  }
}

@media (max-width: 620px) {
  .s4-home-v3__copy {
    padding: 40px 24px 28px;
  }

  .s4-home-v3__copy h1 {
    font-size: 32px;
  }

  .s4-home-v3__buttons {
    width: 100%;
  }

  .s4-home-v3__btn {
    width: 100%;
    text-align: center;
  }

  .s4-home-v3__visual {
    padding: 28px 12px 24px;
    gap: 20px;
    min-height: auto;
  }

  .s4-home-v3__ecosystem {
    width: min(100%, 400px);
  }

  .s4-home-v3__node {
    width: 100px;
    height: 100px;
    gap: 5px;
  }

  .s4-home-v3__node-icon {
    font-size: 20px;
  }

  .s4-home-v3__node-title {
    font-size: 10px;
    letter-spacing: 0.05em;
  }

  .s4-home-v3__core {
    width: 140px;
    height: 140px;
  }

  .s4-home-v3__core strong {
    font-size: 14px;
  }

  .s4-home-v3__core strong span {
    font-size: 44px;
  }

  .s4-home-v3__core-rule {
    width: 32px;
    height: 4px;
    margin-top: 10px;
  }

  .s4-home-v3__core small {
    font-size: 7px;
    letter-spacing: 0.05em;
    margin-top: 6px;
  }

  .s4-home-v3__arc {
    font-size: 8px;
    letter-spacing: 0.1em;
  }

  .s4-home-v3__axis--top,
  .s4-home-v3__axis--bottom {
    width: 100px;
  }

  .s4-home-v3__axis--right,
  .s4-home-v3__axis--left {
    width: 116px;
  }

  .s4-home-v3__card {
    align-self: stretch;
    max-width: none;
    padding: 15px 16px;
  }

  .s4-home-v3__card p {
    font-size: 18px;
  }

  .s4-home-v3__visual:before {
    font-size: 64px;
  }
}

/* ========== HOME · (próximas secciones) ========== */

/* ----- Agenda / eventos destacados (entre hero y 01) ----- */
.s4-home-v3__event {
  background: var(--s4-charcoal);
  color: #fff;
  border-bottom: 4px solid var(--s4-yellow);
}

.s4-home-v3__event-shell {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 20px 22px;
  align-items: center;
  width: min(100%, var(--s4-content-max));
  margin: 0 auto;
  padding: 20px var(--s4-content-gutter, 22px);
  box-sizing: border-box;
  overflow: hidden;
}

/* [←] [dots] [AGENDA] [contenido + CTA] [→] */
.s4-home-v3__event--slider .s4-home-v3__event-shell {
  grid-template-columns: auto auto auto minmax(0, 1fr) auto;
  column-gap: 14px;
}

.s4-home-v3__event-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 128px;
  padding-right: 22px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
}

.s4-home-v3__event-badge small {
  color: var(--s4-yellow);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.s4-home-v3__event-badge strong {
  color: #fff;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 13px;
  font-weight: normal;
  line-height: 1.25;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.s4-home-v3__event-main {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.s4-home-v3__event-swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

.s4-home-v3__event-swiper .swiper-wrapper {
  align-items: stretch;
}

.s4-home-v3__event-swiper .swiper-slide {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.s4-home-v3__event-slide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 28px;
  align-items: center;
  min-height: 76px;
  width: 100%;
  box-sizing: border-box;
  padding-left: 8px;
}

.s4-home-v3__event-copy {
  min-width: 0;
  text-align: left;
}

.s4-home-v3__event-title {
  margin: 0;
  color: #fff;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: -0.015em;
  text-align: left;
  text-transform: none;
}

.s4-home-v3__event-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px 10px;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.s4-home-v3__event-meta span:first-child {
  color: #fff;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
}

.s4-home-v3__event-meta-sep {
  color: rgba(255, 255, 255, 0.35);
}

.s4-home-v3__event-description {
  margin: 6px 0 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.s4-home-v3__event-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
}

.s4-home-v3__event-btn {
  margin-top: 0 !important;
  white-space: nowrap;
  padding: 12px 18px;
  font-size: 11px;
}

.s4-home-v3__event-btn--pending {
  cursor: default;
  opacity: 0.9;
  pointer-events: none;
}

.s4-home-v3__event-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.s4-home-v3__event-nav:hover:not(:disabled) {
  border-color: var(--s4-yellow);
  background: var(--s4-yellow);
  color: var(--s4-brown-deep);
}

.s4-home-v3__event-nav:disabled,
.s4-home-v3__event-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

.s4-home-v3__event-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.s4-home-v3__event-dots .swiper-pagination-bullet {
  width: 7px;
  height: 7px;
  margin: 0 !important;
  background: rgba(255, 255, 255, 0.35);
  opacity: 1;
  border-radius: 50%;
}

.s4-home-v3__event-dots .swiper-pagination-bullet-active {
  background: var(--s4-yellow);
}

@media (max-width: 900px) {
  .s4-home-v3__event--slider .s4-home-v3__event-shell {
    grid-template-columns: auto auto minmax(0, 1fr) auto;
    grid-template-areas:
      "prev badge badge next"
      "prev main main next"
      ".    dots .    .";
    column-gap: 12px;
    row-gap: 10px;
  }

  .s4-home-v3__event-nav--prev { grid-area: prev; align-self: center; }
  .s4-home-v3__event-dots { grid-area: dots; }
  .s4-home-v3__event-badge { grid-area: badge; }
  .s4-home-v3__event-main { grid-area: main; }
  .s4-home-v3__event-nav--next { grid-area: next; align-self: center; }

  .s4-home-v3__event-slide {
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
  }

  .s4-home-v3__event-action {
    justify-content: flex-start;
  }
}

@media (max-width: 620px) {
  .s4-home-v3__event-shell,
  .s4-home-v3__event--slider .s4-home-v3__event-shell {
    grid-template-columns: auto 1fr auto;
    grid-template-areas:
      "badge badge badge"
      "main  main  main"
      "prev  dots  next";
    gap: 12px 10px;
    padding: 18px 20px 16px;
  }

  .s4-home-v3__event-nav--prev { grid-area: prev; justify-self: start; }
  .s4-home-v3__event-dots { grid-area: dots; justify-self: center; }
  .s4-home-v3__event-nav--next { grid-area: next; justify-self: end; }
  .s4-home-v3__event-badge {
    grid-area: badge;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    min-width: 0;
    padding: 0 0 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  }
  .s4-home-v3__event-main { grid-area: main; }

  .s4-home-v3__event-title {
    font-size: 1.05rem;
  }

  .s4-home-v3__event-btn {
    width: 100%;
    justify-content: center;
  }
}

/* --- Secciones compartidas (home) --- */
.s4-home-v3__section {
  /* Fondo a todo el ancho; el contenido no crece más allá de --s4-content-max */
  padding:
    82px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  box-sizing: border-box;
}

.s4-home-v3__section--white {
  background: #fff;
  overflow: hidden;
}

.s4-home-v3__section--mist {
  background: var(--s4-alice);
}

.s4-home-v3__section--sand {
  background: #f1eee8;
}

.s4-home-v3__section .s4-home-v3__eyebrow {
  margin: 0;
}

.s4-home-v3__section-title,
.s4-home-v3__section-title span {
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", sans-serif !important;
}

.s4-home-v3__section-title {
  margin: 18px 0 0;
  max-width: 920px;
  font-size: clamp(24px, 3vw, 36px);
  font-weight: normal;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__section-title--compact {
  font-size: clamp(32px, 3.7vw, 42px);
  max-width: none;
}

.s4-home-v3__section-title--compact span {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", sans-serif !important;
}

.s4-home-v3__section-title--compact span + span {
  margin-top: 0.35em;
}

/* --- 01 · Beneficios principales --- */
.s4-home-v3__benefits {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.s4-home-v3__benefit {
  background: #fff;
  border: 0;
  border-radius: 22px;
  border-top: 7px solid var(--s4-yellow);
  box-shadow: 0 10px 30px rgba(48, 50, 52, 0.08);
  padding: 30px;
  overflow: hidden;
}

.s4-home-v3__benefit-icon {
  font-size: 42px;
  line-height: 1;
  color: var(--s4-bluegray);
}

.s4-home-v3__benefit h3 {
  margin: 18px 0 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 20px;
  font-weight: normal;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__benefit p {
  margin: 12px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 15px;
  line-height: 1.65;
  color: #353535;
}

/* --- 02 · El problema --- */
.s4-home-v3__problem {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
  align-items: center;
}

.s4-home-v3__problem-copy p {
  margin: 0 0 16px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
}

.s4-home-v3__problem-copy p:last-child {
  margin-bottom: 0;
}

.s4-home-v3__problem-copy strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
  color: var(--s4-brown);
}

.s4-home-v3__quote {
  margin-top: 34px;
  border-left: 0;
  border-top: 7px solid var(--s4-yellow);
  border-radius: 22px;
  background: var(--s4-alice);
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: normal;
  line-height: 1.35;
  padding: 26px 28px;
}

/* --- 03 · Selector de necesidades --- */
.s4-home-v3__section-lead {
  margin: 16px 0 0;
  max-width: 720px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: #353535;
}

.s4-home-v3__needs {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.s4-home-v3__need {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 330px;
  padding: 34px 28px;
  border: 2px solid transparent;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(226, 237, 243, 0.78)
  );
  box-shadow: 0 12px 34px rgba(48, 50, 52, 0.1);
  transition:
    border-color 0.28s linear,
    box-shadow 0.28s ease-in-out,
    transform 0.28s ease-in-out;
}

.s4-home-v3__need:after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(139, 151, 162, 0.12);
  pointer-events: none;
}

.s4-home-v3__need:hover {
  transform: translateY(-7px);
  border-color: #d2a94f;
  box-shadow: 0 18px 44px rgba(48, 50, 52, 0.16);
  color: inherit;
  text-decoration: none;
}

.s4-home-v3__need-icon {
  position: relative;
  z-index: 1;
  font-size: 42px;
  line-height: 1;
  color: var(--s4-bluegray);
}

.s4-home-v3__need h3 {
  position: relative;
  z-index: 1;
  margin: 18px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", sans-serif !important;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.25;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__need p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #353535;
  flex: 1 1 auto;
}

.s4-home-v3__need-link {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 22px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--s4-brown);
  line-height: 1.4;
}

.s4-home-v3__need-link:after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  background: var(--s4-yellow);
}

@media (max-width: 1100px) {
  .s4-home-v3__needs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .s4-home-v3__benefits {
    grid-template-columns: 1fr;
  }

  .s4-home-v3__problem {
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
  }
}

@media (max-width: 620px) {
  .s4-home-v3__section {
    padding: 64px var(--s4-content-gutter);
  }

  .s4-home-v3__section-title {
    font-size: 22px;
  }

  .s4-home-v3__section-title--compact {
    font-size: 24px;
  }

  .s4-home-v3__benefit-icon {
    font-size: 38px;
  }

  .s4-home-v3__benefit h3 {
    font-size: 18px;
  }

  .s4-home-v3__quote {
    font-size: 19px;
    padding: 22px 20px;
  }

  .s4-home-v3__needs {
    grid-template-columns: 1fr;
  }

  .s4-home-v3__need {
    min-height: 0;
  }

  .s4-home-v3__need-icon {
    font-size: 38px;
  }

  .s4-home-v3__need h3 {
    font-size: 16px;
  }
}

/* --- 04 · Ecosistema financiero --- */
.s4-home-v3__eco {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.s4-home-v3__eco-copy .s4-home-v3__section-title--compact {
  font-size: clamp(22px, 2.6vw, 32px);
}

.s4-home-v3__eco-pills {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.s4-home-v3__eco-pills span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(66, 49, 19, 0.14);
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 13px;
  color: var(--s4-brown);
  box-shadow: 0 2px 8px rgba(48, 50, 52, 0.04);
  cursor: default;
  transition:
    transform 0.22s ease-in-out,
    box-shadow 0.22s ease-in-out,
    border-color 0.22s linear,
    background-color 0.22s ease-in-out;
}

.s4-home-v3__eco-pills span:hover {
  transform: translateY(-2px);
  border-color: #d2a94f;
  box-shadow: 0 6px 16px rgba(48, 50, 52, 0.1);
  background: #fffef8;
}

.s4-home-v3__eco-closing {
  margin: 22px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.55;
  color: var(--s4-brown);
}

.s4-home-v3__eco-closing span {
  display: block;
}

.s4-home-v3__eco-closing span + span {
  margin-top: 0.35em;
}

.s4-home-v3__eco-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}

/* Diagrama circular: núcleo + tags claras + nodos oscuros (pills) */
.s4-home-v3__eco-diagram {
  position: relative;
  width: min(100%, 400px);
  aspect-ratio: 1;
  margin: auto;
  border: 4px solid var(--s4-yellow);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(255, 255, 255, 1) 0%,
    rgba(250, 246, 240, 0.98) 62%,
    rgba(226, 237, 243, 0.92) 100%
  );
  box-shadow: 0 18px 44px rgba(48, 50, 52, 0.11);
  overflow: hidden;
}

.s4-home-v3__eco-diagram:before {
  content: "";
  position: absolute;
  inset: 9.5%;
  border: 1px dashed rgba(69, 48, 12, 0.16);
  border-radius: 50%;
}

.s4-home-v3__eco-diagram:after {
  content: "";
  position: absolute;
  inset: 22%;
  border: 1px solid rgba(69, 48, 12, 0.08);
  border-radius: 50%;
}

.s4-home-v3__eco-diagram-line {
  position: absolute;
  left: 50%;
  top: 50%;
  height: 2px;
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(69, 48, 12, 0.55), rgba(69, 48, 12, 0.15));
  z-index: 1;
}

.s4-home-v3__eco-diagram-line--1 {
  width: 28%;
  transform: translate(0, -50%) rotate(-90deg);
}

.s4-home-v3__eco-diagram-line--2 {
  width: 26%;
  transform: translate(0, -50%) rotate(0deg);
}

.s4-home-v3__eco-diagram-line--3 {
  width: 28%;
  transform: translate(0, -50%) rotate(90deg);
}

.s4-home-v3__eco-diagram-line--4 {
  width: 26%;
  transform: translate(0, -50%) rotate(180deg);
}

.s4-home-v3__eco-diagram-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 38%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    #6b4d12 0%,
    var(--s4-brown) 55%,
    #3e2b08 100%
  );
  box-shadow: 0 14px 30px rgba(48, 50, 52, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  z-index: 3;
  padding: 10px 8px;
  box-sizing: border-box;
}

.s4-home-v3__eco-diagram-core:before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.s4-home-v3__eco-diagram-core:after {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px solid rgba(255, 214, 51, 0.55);
  border-radius: 50%;
  opacity: 0.7;
  pointer-events: none;
}

.s4-home-v3__eco-diagram-core small {
  position: relative;
  z-index: 1;
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: clamp(7px, 1.4vw, 9px);
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 4px;
}

.s4-home-v3__eco-diagram-core strong {
  position: relative;
  z-index: 1;
  display: block;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(14px, 2.4vw, 20px);
  font-weight: normal;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.s4-home-v3__eco-diagram-core span {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 6px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: clamp(6px, 1.2vw, 9px);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffe38b;
}

.s4-home-v3__eco-diagram-node {
  position: absolute;
  z-index: 5;
  background: var(--s4-charcoal);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 14px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: clamp(8px, 1.8vw, 10px);
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  box-shadow: 0 8px 22px rgba(48, 50, 52, 0.17);
  white-space: nowrap;
}

.s4-home-v3__eco-diagram-node--1 {
  left: 50%;
  top: 11%;
  transform: translate(-50%, -50%);
}

.s4-home-v3__eco-diagram-node--2 {
  left: 88%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.s4-home-v3__eco-diagram-node--3 {
  left: 50%;
  top: 89%;
  transform: translate(-50%, -50%);
}

.s4-home-v3__eco-diagram-node--4 {
  left: 12%;
  top: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1050px) {
  .s4-home-v3__eco {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .s4-home-v3__eco-diagram {
    width: min(100%, 360px);
  }
}

@media (max-width: 620px) {
  .s4-home-v3__eco-diagram {
    width: min(100%, 300px);
  }

  .s4-home-v3__eco-diagram-node {
    padding: 7px 11px;
  }

  .s4-home-v3__eco-closing {
    font-size: 15px;
  }
}

/* --- 05 · Método S4 --- */
.s4-home-v3__method {
  position: relative;
  margin-top: 38px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.s4-home-v3__method-swiper {
  width: 100%;
  min-width: 0;
  overflow: visible;
  padding: 12px 6px 18px;
}

.s4-home-v3__method-swiper .swiper-wrapper {
  align-items: stretch;
}

.s4-home-v3__method-swiper .swiper-slide {
  height: auto;
  display: flex;
}

.s4-home-v3__method-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  height: 100%;
  min-height: 240px;
  padding: 26px 18px;
  border: 2px solid transparent;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(48, 50, 52, 0.1);
  box-sizing: border-box;
  transition:
    border-color 0.28s linear,
    box-shadow 0.28s ease-in-out,
    transform 0.28s ease-in-out;
}

.s4-home-v3__method-step:hover {
  transform: translateY(-6px);
  border-color: #d2a94f;
  box-shadow: 0 18px 44px rgba(48, 50, 52, 0.16);
}

.s4-home-v3__method-num {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--s4-navy);
  border: 5px solid var(--s4-yellow);
  color: #fff;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 17px;
  font-weight: normal;
  flex-shrink: 0;
}

.s4-home-v3__method-step h3 {
  margin: 16px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__method-step p {
  margin: 10px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #5a5a5a;
  flex: 1 1 auto;
}

.s4-home-v3__method-nav {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(66, 49, 19, 0.18);
  border-radius: 50%;
  background: #fff;
  color: var(--s4-brown);
  font-size: 28px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(48, 50, 52, 0.08);
  transition:
    background-color 0.22s ease-in-out,
    border-color 0.22s linear,
    color 0.22s ease-in-out,
    opacity 0.22s ease-in-out;
  flex-shrink: 0;
  z-index: 999;
}

.s4-home-v3__method-nav:hover:not(:disabled) {
  background: var(--s4-navy);
  border-color: var(--s4-charcoal);
  color: #fff;
}

.s4-home-v3__method-nav:disabled,
.s4-home-v3__method-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
  pointer-events: none;
}

/* Cuando caben los 5, Swiper oculta las flechas (watchOverflow) */
.s4-home-v3__method-nav.swiper-button-lock {
  display: none;
}

@media (max-width: 620px) {
  .s4-home-v3__method {
    gap: 6px;
  }

  .s4-home-v3__method-nav {
    width: 36px;
    height: 36px;
    font-size: 24px;
  }

  .s4-home-v3__method-step {
    min-height: 220px;
    padding: 22px 14px;
  }
}

/* --- 06 · Confianza --- */
.s4-home-v3__trust {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 40px;
  align-items: start;
}

.s4-home-v3__trust-copy .s4-home-v3__section-title--compact {
  font-size: clamp(28px, 3.4vw, 42px);
}

.s4-home-v3__trust-copy .s4-home-v3__section-lead + .s4-home-v3__section-lead {
  margin-top: 12px;
}

.s4-home-v3__trust-lines {
  margin-top: 24px;
  display: grid;
  gap: 12px;
}

.s4-home-v3__trust-lines div {
  border-left: 4px solid var(--s4-navy);
  padding-left: 14px;
  font-family: "Sofia Pro Medium", "Sofia Pro Bold", sans-serif !important;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  color: var(--s4-brown);
}

.s4-home-v3__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.s4-home-v3__principle {
  position: relative;
  min-height: 340px;
  padding: 28px 18px 24px;
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: var(--s4-brown);
  background-size: cover;
  background-position: center top;
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.1);
}

.s4-home-v3__principle:before {
  content: "";
  position: absolute;
  inset: 0;
  /* Degradé blanco: 45% → 100% de opacidad (arriba → abajo) */
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.45) 0%,
    rgba(255, 255, 255, 1) 60%
  );
  pointer-events: none;
}

.s4-home-v3__principle--1 {
  background-image: url("../images/landing-sinceridad.png");
}

.s4-home-v3__principle--2 {
  background-image: url("../images/landing-seguridad.png");
}

.s4-home-v3__principle--3 {
  background-image: url("../images/landing-sencillez.png");
}

.s4-home-v3__principle > * {
  position: relative;
  z-index: 1;
}

.s4-home-v3__principle small {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7f8c97;
}

.s4-home-v3__principle h3 {
  margin: 10px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(16px, 1.5vw, 20px);
  font-weight: normal;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__principle p {
  margin: 10px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #353535;
}

.s4-home-v3__quote--trust {
  margin-top: 14px;
  font-size: clamp(16px, 1.8vw, 20px);
}

@media (max-width: 1050px) {
  .s4-home-v3__trust {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 700px) {
  .s4-home-v3__principles {
    grid-template-columns: 1fr;
  }

  .s4-home-v3__principle {
    min-height: 280px;
  }
}

/* --- 07 · Ecosistema con el que trabajamos --- */
.s4-home-v3__inst-eco {
  position: relative;
  overflow: hidden;
}

.s4-home-v3__inst-eco:before {
  content: "ECOSISTEMA";
  position: absolute;
  right: max(-22px, calc((100% - var(--s4-content-max)) / 2 - 40px));
  top: 28px;
  z-index: 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: clamp(74px, 10vw, 146px);
  font-weight: normal;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(66, 49, 19, 0.035);
  pointer-events: none;
}

.s4-home-v3__inst-eco-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 46px;
  align-items: end;
}

.s4-home-v3__inst-eco-head .s4-home-v3__section-title {
  max-width: 720px;
}

.s4-home-v3__inst-eco-head .s4-home-v3__section-lead {
  margin: 0;
  max-width: 560px;
}

.s4-home-v3__inst-eco-head .s4-home-v3__section-lead strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
  color: var(--s4-brown);
}

.s4-home-v3__inst-eco-grid {
  position: relative;
  z-index: 1;
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.s4-home-v3__inst-eco-card {
  min-height: 260px;
  padding: 22px;
  border: 1px solid rgba(66, 49, 19, 0.14);
  border-radius: 18px;
  background: linear-gradient(180deg, #fff, #fbfaf7);
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.05);
  box-sizing: border-box;
}

.s4-home-v3__inst-eco-card > small {
  display: block;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--s4-yellow);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__brand-stack {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.s4-home-v3__brand-chip {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 10px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(48, 50, 52, 0.08);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 18px;
  font-weight: normal;
  letter-spacing: -0.02em;
  color: #202020;
  box-sizing: border-box;
}

.s4-home-v3__brand-chip--light {
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
}

.s4-home-v3__brand-chip--serif {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
}

.s4-home-v3__brand-chip--small {
  font-size: 15px;
}

.s4-home-v3__inst-eco-strip {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 0.7fr);
  align-items: stretch;
  overflow: hidden;
  border-radius: 20px;
  border-top: 4px solid var(--s4-yellow);
  background: var(--s4-charcoal);
  color: #fff;
}

.s4-home-v3__inst-eco-main {
  padding: 28px 30px;
}

.s4-home-v3__inst-eco-main small {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  font-weight: normal;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--s4-yellow);
}

.s4-home-v3__inst-eco-main h3 {
  margin: 8px 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(18px, 2vw, 25px);
  font-weight: normal;
  line-height: 1.08;
  color: #fff;
}

.s4-home-v3__inst-eco-main p {
  margin: 0;
  max-width: 520px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
}

.s4-home-v3__inst-eco-point {
  padding: 28px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.s4-home-v3__inst-eco-point b {
  color: var(--s4-yellow);
  font-size: 32px;
  font-weight: normal;
  line-height: 1;
}

.s4-home-v3__inst-eco-point span {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.s4-home-v3__inst-eco-disclaimer {
  position: relative;
  z-index: 1;
  margin: 15px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(36, 36, 36, 0.56);
}

@media (max-width: 1000px) {
  .s4-home-v3__inst-eco-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s4-home-v3__inst-eco-strip {
    grid-template-columns: 1.4fr repeat(2, 0.8fr);
  }

  .s4-home-v3__inst-eco-point:nth-of-type(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 760px) {
  .s4-home-v3__inst-eco-head {
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: start;
  }

  .s4-home-v3__inst-eco-strip {
    grid-template-columns: 1fr 1fr;
  }

  .s4-home-v3__inst-eco-main {
    grid-column: 1 / -1;
  }

  .s4-home-v3__inst-eco-point {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }
}

@media (max-width: 520px) {
  .s4-home-v3__inst-eco-grid,
  .s4-home-v3__inst-eco-strip {
    grid-template-columns: 1fr;
  }

  .s4-home-v3__inst-eco-main {
    grid-column: auto;
  }

  .s4-home-v3__inst-eco-point {
    border-left: 0;
  }

  .s4-home-v3__brand-chip {
    font-size: 16px;
  }

  .s4-home-v3__inst-eco:before {
    right: -12px;
    font-size: 64px;
  }
}

/* --- 08 · Casos y prueba de valor --- */
.s4-home-v3__cases {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.s4-home-v3__case {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 22px;
  border: 1px solid rgba(66, 49, 19, 0.1);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.08);
  box-sizing: border-box;
}

.s4-home-v3__case-label {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s4-bluegray);
}

.s4-home-v3__case h3 {
  margin: 10px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: normal;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__case-row {
  margin: 14px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 14px;
  line-height: 1.55;
  color: #353535;
}

.s4-home-v3__case-row strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
  color: var(--s4-brown);
}

.s4-home-v3__case--link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition:
    border-color 0.28s linear,
    box-shadow 0.28s ease-in-out,
    transform 0.28s ease-in-out;
}

.s4-home-v3__case--link:hover {
  transform: translateY(-6px);
  border-color: #d2a94f;
  box-shadow: 0 18px 44px rgba(48, 50, 52, 0.14);
  color: inherit;
  text-decoration: none;
}

.s4-home-v3__case-link {
  display: block;
  margin-top: auto;
  padding-top: 18px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__case-link:after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  background: var(--s4-yellow);
}

@media (max-width: 900px) {
  .s4-home-v3__cases {
    grid-template-columns: 1fr;
  }

  .s4-home-v3__case {
    min-height: 0;
  }
}

/* --- 09 · Perspectivas S4 --- */
.s4-home-v3__perspectives {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto auto auto;
  gap: 18px;
  align-items: stretch;
}

.s4-home-v3__perspective {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  gap: 0;
  height: 100%;
  padding: 18px;
  border: 2px solid transparent;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.08);
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
  transition:
    border-color 0.28s linear,
    box-shadow 0.28s ease-in-out,
    transform 0.28s ease-in-out;
}

.s4-home-v3__perspective:hover {
  transform: translateY(-6px);
  border-color: #d2a94f;
  box-shadow: 0 18px 44px rgba(48, 50, 52, 0.14);
  color: inherit;
  text-decoration: none;
}

.s4-home-v3__perspective-media {
  height: 175px;
  border-radius: 17px;
  background-color: var(--s4-mist, #e2edf3);
  position: relative;
  overflow: hidden;
}

.s4-home-v3__perspective-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.s4-home-v3__perspective small {
  display: block;
  margin-top: 14px;
  font-family: "Sofia Pro Medium", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(53, 53, 53, 0.62);
}

.s4-home-v3__perspective h3 {
  margin: 8px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: normal;
  line-height: 1.25;
  color: var(--s4-brown);
}

@supports not (grid-template-rows: subgrid) {
  .s4-home-v3__perspectives {
    grid-template-rows: none;
  }

  .s4-home-v3__perspective {
    grid-row: auto;
    grid-template-rows: none;
    display: flex;
    flex-direction: column;
  }

  .s4-home-v3__perspective h3 {
    flex: 1 1 auto;
  }
}

@media (max-width: 900px) {
  .s4-home-v3__perspectives {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
  }

  .s4-home-v3__perspective {
    grid-row: auto;
    grid-template-rows: none;
    display: flex;
    flex-direction: column;
  }

  .s4-home-v3__perspective:last-child {
    grid-column: 1 / -1;
    max-width: 520px;
    justify-self: center;
    width: 100%;
  }
}

@media (max-width: 620px) {
  .s4-home-v3__perspectives {
    grid-template-columns: 1fr;
  }

  .s4-home-v3__perspective:last-child {
    grid-column: auto;
    max-width: none;
  }
}

/* --- 10 · Liderazgo y equipo --- */
.s4-home-v3__leadership {
  display: grid;
  grid-template-columns: 40% 60%;
  background: #fff;
  align-items: stretch;
}

.s4-home-v3__leadership-visual {
  min-height: 430px;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(226, 237, 243, 0.38), rgba(255, 255, 255, 0.55)),
    var(--s4-leadership-photo);
  background-size: cover;
  background-position: center 18%;
  background-repeat: no-repeat;
}

.s4-home-v3__leadership-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 7%;
  background: var(--s4-alice);
}

.s4-home-v3__leadership-copy .s4-home-v3__section-title {
  max-width: 560px;
}

.s4-home-v3__leadership-copy .s4-home-v3__section-lead {
  max-width: 540px;
}

.s4-home-v3__leadership-name {
  margin: 28px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: normal;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-home-v3__leadership-role {
  display: block;
  margin-top: 8px;
  font-family: "Sofia Pro Medium", "Sofia Pro Regular", sans-serif;
  font-size: 14px;
  color: rgba(53, 53, 53, 0.72);
}

.s4-home-v3__leadership-role + .s4-home-v3__section-lead {
  margin-top: 16px;
}

.s4-home-v3__leadership-link {
  display: inline-block;
  margin-top: 26px;
  width: fit-content;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--s4-brown);
  text-decoration: none;
}

.s4-home-v3__leadership-link:after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  background: var(--s4-yellow);
}

.s4-home-v3__leadership-link:hover {
  color: var(--s4-brown-deep);
  text-decoration: none;
}

@media (max-width: 900px) {
  .s4-home-v3__leadership {
    grid-template-columns: 1fr;
  }

  .s4-home-v3__leadership-visual {
    min-height: 360px;
  }

  .s4-home-v3__leadership-copy {
    padding: 54px var(--s4-content-gutter);
  }
}

@media (max-width: 620px) {
  .s4-home-v3__leadership-visual {
    min-height: 300px;
  }

  .s4-home-v3__leadership-copy {
    padding: 48px 24px;
  }
}

/* --- 11 · Preguntas frecuentes --- */
.s4-home-v3__faq {
  margin-top: 30px;
  border-block: 1px solid rgba(66, 49, 19, 0.18);
}

.s4-home-v3__acc + .s4-home-v3__acc {
  border-top: 1px solid rgba(66, 49, 19, 0.18);
}

.s4-home-v3__acc-btn,
.s4-home-v3__acc-btn > span {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", "Sofia Pro", sans-serif !important;
  font-weight: 600;
}

.s4-home-v3__acc-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 0;
  background: transparent;
  padding: 21px 0;
  text-align: left;
  cursor: pointer;
  color: var(--s4-brown);
  font-size: 13px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
}

.s4-home-v3__acc-icon {
  flex-shrink: 0;
  color: var(--s4-yellow);
  font-size: 22px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.s4-home-v3__acc.is-open .s4-home-v3__acc-icon {
  transform: rotate(45deg);
}

.s4-home-v3__acc-answer {
  display: none;
  margin: 0;
  padding: 0 0 18px;
  max-width: 820px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: #353535;
}

.s4-home-v3__acc.is-open .s4-home-v3__acc-answer {
  display: block;
}

/* --- 12 · Llamada final --- */
.s4-home-v3__cta {
  padding:
    74px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(48, 50, 52, 0.9), rgba(48, 50, 52, 0.9)),
    var(--s4-cta-photo, none) center / cover no-repeat;
  border-top: 7px solid var(--s4-yellow);
  box-sizing: border-box;
}

.s4-home-v3__cta-title {
  max-width: 860px;
  margin: 0 auto;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", "Sofia Pro", sans-serif !important;
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
}

.s4-home-v3__cta-text {
  max-width: 720px;
  margin: 20px auto 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif !important;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

.s4-home-v3__cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

.s4-home-v3__cta-actions .s4-home-v3__btn--gold {
  margin-top: 0;
}

.s4-home-v3__btn--gold {
  margin-top: 28px;
  background: var(--s4-yellow);
  border-color: var(--s4-yellow);
  color: var(--s4-brown-deep);
}

.s4-home-v3__btn--gold:hover {
  background: #fff;
  border-color: #fff;
  color: var(--s4-brown);
}

.s4-home-v3__btn--cta-outline {
  margin-top: 0;
  background: transparent;
  border-color: #fff;
  color: #fff;
}

.s4-home-v3__btn--cta-outline:hover {
  background: #fff;
  border-color: #fff;
  color: var(--s4-brown);
}

.s4-home-v3__cta-micro {
  margin-top: 16px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 620px) {
  .s4-home-v3__cta {
    padding: 58px 24px;
  }

  .s4-home-v3__cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .s4-home-v3__cta-actions .s4-home-v3__btn {
    width: 100%;
    justify-content: center;
  }

  .s4-home-v3__btn--gold {
    width: 100%;
  }
}

/* ========== NOSOTROS ========== */

.s4-about-v3 {
  --s4-brown: #423113;
  --s4-brown-deep: #2f230d;
  --s4-charcoal: #303234;
  --s4-navy: #002035;
  --s4-yellow: #FFD633;
  --s4-alice: #E2EDF3;
  --s4-bluegray: #8B97A2;
  width: 100%;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  color: #353535;
}

.s4-about-v3 h1,
.s4-about-v3 h2,
.s4-about-v3 h3 {
  font-weight: normal;
}

.s4-about-v3__hero h1 {
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
}

.s4-about-v3__statement,
.s4-about-v3__animation-caption {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
}

/* --- Hero --- */
.s4-about-v3__hero {
  width: 100%;
  background: #fff;
  overflow-x: clip;
}

.s4-about-v3__hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  width: 100%;
  max-width: var(--s4-content-max);
  margin-inline: auto;
  min-height: 570px;
}

.s4-about-v3__hero-copy,
.s4-about-v3__animation {
  min-width: 0;
}

.s4-about-v3__hero-copy {
  padding: 82px 7%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.s4-about-v3__hero-copy h1 {
  margin: 20px 0 0;
  color: var(--s4-brown);
  font-size: clamp(28px, 3.25vw, 44px);
  line-height: 1.08;
  font-weight: normal;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.s4-about-v3__hero-copy > p {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.72;
  color: #353535;
}

.s4-about-v3__statement {
  margin-top: 22px;
  color: var(--s4-brown);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.045em;
}

.s4-about-v3__hero-copy .s4-home-v3__btn {
  margin-top: 30px;
}

.s4-about-v3__animation {
  position: relative;
  min-height: 570px;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
}

/* Fondo alice full-bleed hacia la derecha; contenido sigue en 1240 */
.s4-about-v3__animation::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% + max(0px, (100vw - var(--s4-content-max)) / 2));
  background-color: #E2EDF3;
  background-color: var(--s4-alice);
  border-left: 1px solid rgba(66, 49, 19, 0.14);
}

.s4-about-v3__animation::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 340px;
  height: 340px;
  border: 2px solid rgba(255, 214, 51, 0.65);
  border-radius: 50%;
  right: -120px;
  top: -120px;
  pointer-events: none;
}

.s4-about-v3__animation-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border-radius: 28px;
  box-shadow: 0 20px 55px rgba(48, 50, 52, 0.14);
  overflow: hidden;
  border-bottom: 7px solid var(--s4-yellow);
}

.s4-about-v3__animation-frame img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.s4-about-v3__animation-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  background-color: #303234;
  background-color: var(--s4-charcoal);
  color: #fff;
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.075em;
}

.s4-about-v3__animation-caption span:last-child {
  color: var(--s4-yellow);
  text-align: right;
}

@media (max-width: 900px) {
  .s4-about-v3__hero-inner {
    grid-template-columns: 1fr;
  }

  .s4-about-v3__animation::before {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(66, 49, 19, 0.14);
  }
}

@media (max-width: 620px) {
  .s4-about-v3__hero-copy {
    padding: 58px 24px;
  }

  .s4-about-v3__animation {
    padding: 24px;
  }

  .s4-about-v3__animation-caption {
    flex-direction: column;
  }

  .s4-about-v3__animation-caption span:last-child {
    text-align: left;
  }
}

/* --- 01 · Nuestra evolución --- */
.s4-about-v3__evolution-card small {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
}

.s4-about-v3__evolution {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.s4-about-v3__evolution-card {
  position: relative;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.14);
  border-radius: 22px;
  padding: 28px;
  overflow: hidden;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.s4-about-v3__evolution-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 18px solid rgba(255, 214, 51, 0.18);
  transition: border-color 0.2s ease;
  pointer-events: none;
}

.s4-about-v3__evolution-card small {
  color: var(--s4-brown);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
}

.s4-about-v3__evolution-card h3 {
  color: var(--s4-brown);
  font-size: 26px;
  line-height: 1.12;
  margin: 14px 0 8px;
  text-transform: none;
}

.s4-about-v3__evolution-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #353535;
}

.s4-about-v3__evolution-card:hover {
  background: var(--s4-brown);
  border-color: var(--s4-yellow);
  color: #fff;
}

.s4-about-v3__evolution-card:hover small,
.s4-about-v3__evolution-card:hover h3,
.s4-about-v3__evolution-card:hover p {
  color: #fff;
}

.s4-about-v3__evolution-card:hover::after {
  border-color: rgba(255, 214, 51, 0.35);
}

@media (max-width: 900px) {
  .s4-about-v3__evolution {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .s4-about-v3__evolution {
    grid-template-columns: 1fr;
  }
}

/* --- 02 · Cómo generamos valor --- */
.s4-about-v3__cap-num {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
}

.s4-about-v3__capabilities {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.s4-about-v3__capability {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  border: 1px solid rgba(66, 49, 19, 0.14);
  border-top: 6px solid var(--s4-yellow);
}

.s4-about-v3__cap-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--s4-charcoal);
  color: #fff;
  font-size: 12px;
}

.s4-about-v3__capability h3 {
  color: var(--s4-brown);
  font-size: 24px;
  line-height: 1.08;
  min-height: calc(1.08em * 2);
  margin: 18px 0 10px;
  text-transform: uppercase;
}

.s4-about-v3__capability p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #353535;
}

@media (max-width: 900px) {
  .s4-about-v3__capabilities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .s4-about-v3__capabilities {
    grid-template-columns: 1fr;
  }
}

/* --- 03–04 · Misión / Propósito --- */
.s4-about-v3__dual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow-x: clip;
}

.s4-about-v3__dual-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding: 62px max(24px, 7%);
}

.s4-about-v3__dual-block--mission {
  background: var(--s4-charcoal);
  color: #fff;
  padding-left: max(var(--s4-content-gutter), calc((100vw - var(--s4-content-max)) / 2));
}

.s4-about-v3__dual-block--purpose {
  background: #f1eee8;
  padding-right: max(var(--s4-content-gutter), calc((100vw - var(--s4-content-max)) / 2));
}

.s4-about-v3__dual-block--mission .s4-home-v3__eyebrow {
  color: var(--s4-yellow);
}

.s4-about-v3__dual-block .s4-home-v3__section-title {
  max-width: none;
  font-size: clamp(26px, 3.2vw, 40px);
}

.s4-about-v3__dual-block--mission .s4-home-v3__section-title {
  color: #fff;
}

.s4-about-v3__dual-block p {
  margin: 18px 0 0;
  max-width: 520px;
  font-size: 16px;
  line-height: 1.7;
}

.s4-about-v3__dual-block--mission p {
  color: rgba(255, 255, 255, 0.88);
}

.s4-about-v3__brochure-btn {
  align-self: flex-start;
  gap: 10px;
  margin-top: 28px;
}

.s4-about-v3__download-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .s4-about-v3__dual {
    grid-template-columns: 1fr;
  }

  .s4-about-v3__dual-block--mission,
  .s4-about-v3__dual-block--purpose {
    padding:
      62px
      max(var(--s4-content-gutter), calc((100vw - var(--s4-content-max)) / 2));
  }
}

@media (max-width: 620px) {
  .s4-about-v3__dual-block {
    padding: 54px 24px;
  }
}

/* --- 05 · Nuestra cultura --- */
.s4-about-v3__harvey-badge,
.s4-about-v3__culture-principle strong,
.s4-about-v3__culture-note {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
}

.s4-about-v3__culture {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 44px;
  align-items: center;
}

.s4-about-v3__harvey {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 46px rgba(48, 50, 52, 0.12);
  border-bottom: 7px solid var(--s4-yellow);
}

.s4-about-v3__harvey img {
  display: block;
  width: 100%;
  height: auto;
}

.s4-about-v3__harvey-badge {
  position: absolute;
  left: 24px;
  bottom: 22px;
  background: var(--s4-charcoal);
  color: #fff;
  border-radius: 999px;
  padding: 11px 16px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.s4-about-v3__culture-copy .s4-home-v3__section-title {
  max-width: 720px;
}

.s4-about-v3__culture-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
  align-items: stretch;
}

.s4-about-v3__culture-principle {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  border: 2px solid var(--s4-yellow);
  box-shadow:
    0 1px 0 rgba(255, 214, 51, 0.9),
    4px 6px 0 rgba(210, 169, 79, 0.35),
    0 14px 28px rgba(48, 50, 52, 0.12);
}

.s4-about-v3__culture-principle strong {
  display: block;
  color: var(--s4-brown);
  font-size: 18px;
  text-transform: uppercase;
  min-height: 1.2em;
}

.s4-about-v3__culture-principle span {
  display: block;
  margin-top: 8px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-weight: normal;
  font-size: 13px;
  line-height: 1.5;
  color: #353535;
}

.s4-about-v3__culture-note {
  margin-top: 20px;
  border-left: 4px solid var(--s4-navy);
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.65);
  color: var(--s4-brown);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .s4-about-v3__culture {
    grid-template-columns: 1fr;
  }

  .s4-about-v3__culture-principles {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .s4-about-v3__culture {
    gap: 28px;
  }
}

/* --- 06 · Liderazgo --- */
.s4-about-v3__steve-role,
.s4-about-v3__achievement strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
}

.s4-about-v3__steve {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  background: #fff;
  overflow-x: clip;
}

.s4-about-v3__steve-visual {
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-width: 0;
  padding:
    54px
    24px
    0
    max(var(--s4-content-gutter), calc((100vw - var(--s4-content-max)) / 2));
  background: linear-gradient(145deg, var(--s4-alice), #fff);
}

.s4-about-v3__steve-visual img {
  display: block;
  width: min(100%, 520px);
  max-height: 650px;
  object-fit: contain;
  object-position: bottom center;
}

.s4-about-v3__steve-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  padding:
    64px
    max(var(--s4-content-gutter), calc((100vw - var(--s4-content-max)) / 2))
    64px
    7%;
}

.s4-about-v3__steve-copy .s4-home-v3__section-title {
  max-width: none;
  font-size: clamp(28px, 3.6vw, 44px);
  margin: 14px 0 5px;
}

.s4-about-v3__steve-role {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-about-v3__steve-copy > p {
  margin: 16px 0 0;
  max-width: 560px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #353535;
}

.s4-about-v3__achievements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin-top: 24px;
}

.s4-about-v3__achievement {
  border-left: 3px solid var(--s4-navy);
  padding: 10px 13px;
  background: #faf6f0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #353535;
}

.s4-about-v3__achievement strong {
  display: block;
  margin-bottom: 2px;
  color: var(--s4-brown);
}

.s4-about-v3__credentials {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

.s4-about-v3__credentials img {
  display: block;
  max-height: 46px;
  max-width: 190px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: saturate(0.85);
}

@media (max-width: 900px) {
  .s4-about-v3__steve {
    grid-template-columns: 1fr;
  }

  .s4-about-v3__steve-visual {
    justify-content: center;
    padding:
      54px
      max(var(--s4-content-gutter), calc((100vw - var(--s4-content-max)) / 2))
      0;
  }

  .s4-about-v3__steve-copy {
    padding:
      54px
      max(var(--s4-content-gutter), calc((100vw - var(--s4-content-max)) / 2));
  }

  .s4-about-v3__achievements {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .s4-about-v3__steve-visual {
    padding: 34px 24px 0;
  }

  .s4-about-v3__steve-copy {
    padding: 54px 24px;
  }
}

/* --- 07 · Equipo y red especializada --- */
.s4-about-v3__specialist-icon,
.s4-about-v3__specialist small {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
}

.s4-about-v3__specialists {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 32px;
  align-items: stretch;
}

.s4-about-v3__specialist {
  display: flex;
  flex-direction: column;
  background: #faf6f0;
  border: 2px solid var(--s4-yellow);
  border-radius: 20px;
  padding: 24px;
  min-height: 205px;
}

.s4-about-v3__specialist-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--s4-brown);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.s4-about-v3__specialist h3 {
  color: var(--s4-brown);
  font-size: 21px;
  line-height: 1.12;
  min-height: calc(1.12em * 2);
  margin: 17px 0 9px;
  text-transform: uppercase;
}

.s4-about-v3__specialist p {
  margin: 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #353535;
}

.s4-about-v3__specialist small {
  display: block;
  margin-top: auto;
  padding-top: 14px;
  color: var(--s4-brown);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 11px;
}

@media (max-width: 900px) {
  .s4-about-v3__specialists {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .s4-about-v3__specialists {
    grid-template-columns: 1fr;
  }

  .s4-about-v3__specialist {
    min-height: 0;
  }
}

/* --- Equipo de consultores (carrusel) --- */
.s4-about-v3__consultants-title {
  margin: 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: normal;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0b2f47;
  background-image: linear-gradient(90deg, #0b2f47, #a77d39);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.s4-about-v3__consultants-kicker {
  margin-top: 10px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
  font-size: 15px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0b2f47;
}

.s4-about-v3__consultants-slider {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.s4-about-v3__consultants-swiper {
  min-width: 0;
  width: 100%;
  overflow: hidden;
}

.s4-about-v3__consultants-swiper .swiper-slide {
  height: auto;
  box-sizing: border-box;
}

.s4-about-v3__consultants-nav {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #000;
  font-size: 32px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.s4-about-v3__consultants-nav:hover {
  color: var(--s4-brown);
}

.s4-about-v3__consultant {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: #f1f5f7;
}

.s4-about-v3__consultant img {
  display: block;
  width: 100%;
  height: auto;
}

.s4-about-v3__consultant-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 45%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: #0b2f47;
  color: #fff;
  text-align: center;
  opacity: 0;
  transform: translateY(50%);
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.s4-about-v3__consultant:hover .s4-about-v3__consultant-info,
.s4-about-v3__consultant:focus-within .s4-about-v3__consultant-info {
  opacity: 1;
  transform: translateY(0);
}

.s4-about-v3__consultant-role {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
  font-size: 15px;
  margin-bottom: 6px;
}

.s4-about-v3__consultant-info p {
  margin: 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 0.8rem;
  line-height: 1.4;
  color: #fff;
}

.s4-about-v3__consultant-linkedin {
  display: inline-flex;
  margin-top: 8px;
}

.s4-about-v3__consultant-linkedin img {
  width: 28px;
  height: 28px;
}

@media (max-width: 620px) {
  .s4-about-v3__consultants-slider {
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    gap: 4px;
  }

  .s4-about-v3__consultants-nav {
    font-size: 26px;
    width: 32px;
  }
}

/* --- 08 · S4 en medios --- */
.s4-about-v3__media-card small,
.s4-about-v3__media-link {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
}

.s4-about-v3__media {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 32px;
  align-items: stretch;
}

.s4-about-v3__media-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(66, 49, 19, 0.14);
  transition:
    transform 0.28s ease,
    box-shadow 0.28s ease,
    border-color 0.28s ease;
}

.s4-about-v3__media-card:hover {
  transform: translateY(-6px);
  border-color: var(--s4-yellow);
  box-shadow: 0 16px 34px rgba(48, 50, 52, 0.12);
}

.s4-about-v3__media-card > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.45s ease;
}

.s4-about-v3__media-card:hover > img {
  transform: scale(1.06);
}

.s4-about-v3__media-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px;
}

.s4-about-v3__media-body small {
  color: var(--s4-brown);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 11px;
}

.s4-about-v3__media-body h3 {
  margin: 12px 0 0;
  font-size: 21px;
  line-height: 1.2;
  color: var(--s4-brown);
  text-transform: none;
}

.s4-about-v3__media-body p {
  margin: 10px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 13px;
  line-height: 1.55;
  color: #353535;
}

.s4-about-v3__media-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 18px;
}

.s4-about-v3__media-footer time {
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 12px;
  color: #6d6d6d;
  white-space: nowrap;
}

.s4-about-v3__media-link {
  color: var(--s4-brown);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  display: inline-block;
  transform: translateX(0);
  transition: color 0.2s ease, transform 0.28s ease;
}

.s4-about-v3__media-card:hover .s4-about-v3__media-link,
.s4-about-v3__media-link:hover {
  color: var(--s4-charcoal);
  text-decoration: none;
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .s4-about-v3__media {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .s4-about-v3__media {
    grid-template-columns: 1fr;
  }
}

/* --- 09 · Hablemos de finanzas --- */
.s4-about-v3__video-item strong,
.s4-about-v3__video-play {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-weight: normal;
}

.s4-about-v3__videos {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 38px;
  align-items: center;
}

.s4-about-v3__videos-intro .s4-home-v3__section-title {
  max-width: 650px;
}

.s4-about-v3__videos-intro .s4-home-v3__btn {
  margin-top: 26px;
}

.s4-about-v3__video-list {
  display: grid;
  gap: 12px;
}

.s4-about-v3__video-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  background: #fff;
  border-radius: 18px;
  padding: 16px;
  border: 1px solid rgba(66, 49, 19, 0.14);
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.s4-about-v3__video-item:hover {
  transform: translateY(-3px);
  border-color: var(--s4-yellow);
  box-shadow: 0 10px 24px rgba(48, 50, 52, 0.08);
  text-decoration: none;
  color: inherit;
}

.s4-about-v3__video-play {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--s4-yellow);
  color: var(--s4-brown);
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.22s ease;
}

.s4-about-v3__video-item:hover .s4-about-v3__video-play {
  transform: scale(1.08);
}

.s4-about-v3__video-item strong {
  display: block;
  color: var(--s4-brown);
  font-size: 15px;
  line-height: 1.3;
}

.s4-about-v3__video-item strong + span {
  display: block;
  margin-top: 4px;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 12px;
  color: #6d6d6d;
}

@media (max-width: 900px) {
  .s4-about-v3__videos {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .s4-about-v3__videos {
    gap: 24px;
  }
}

/* ========== SERVICIOS ========== */

.s4-services-v3 {
  --s4-brown: #423113;
  --s4-brown-deep: #2f230d;
  --s4-charcoal: #303234;
  --s4-navy: #002035;
  --s4-yellow: #FFD633;
  --s4-alice: #E2EDF3;
  --s4-bluegray: #8B97A2;
  width: 100%;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  color: #353535;
}

.s4-services-v3 h1,
.s4-services-v3 h2,
.s4-services-v3 h3 {
  font-weight: normal;
}

.s4-services-v3__hero {
  padding:
    96px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(48, 50, 52, 0.88), rgba(48, 50, 52, 0.88)),
    var(--s4-cta-photo, none) center / cover no-repeat;
  box-sizing: border-box;
}

.s4-services-v3__hero .s4-home-v3__eyebrow {
  color: #fff;
  justify-content: center;
}

.s4-services-v3__hero h1 {
  max-width: 960px;
  margin: 20px auto 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: normal;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
}

.s4-services-v3__hero p {
  max-width: 690px;
  margin: 24px auto 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif !important;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
}

.s4-services-v3__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.s4-services-v3__filter {
  border: 1px solid rgba(66, 49, 19, 0.18);
  background: #fff;
  color: var(--s4-brown);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.s4-services-v3__filter:hover {
  border-color: var(--s4-brown);
}

.s4-services-v3__filter.is-active {
  background: var(--s4-brown);
  border-color: var(--s4-brown);
  color: #fff;
}

.s4-services-v3__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.s4-services-v3__card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  padding: 30px 26px;
  border: 2px solid transparent;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.96),
    rgba(226, 237, 243, 0.78)
  );
  box-shadow: 0 12px 34px rgba(48, 50, 52, 0.1);
  transition:
    border-color 0.28s linear,
    box-shadow 0.28s ease-in-out,
    transform 0.28s ease-in-out;
}

.s4-services-v3__card:after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(139, 151, 162, 0.12);
  pointer-events: none;
}

.s4-services-v3__card:hover {
  transform: translateY(-7px);
  border-color: #d2a94f;
  box-shadow: 0 18px 44px rgba(48, 50, 52, 0.16);
  color: inherit;
  text-decoration: none;
}

.s4-services-v3__card[hidden] {
  display: none;
}

.s4-services-v3__card small {
  position: relative;
  z-index: 1;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-services-v3__card h3 {
  position: relative;
  z-index: 1;
  margin: 16px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", sans-serif !important;
  font-size: 22px;
  font-weight: normal;
  line-height: 1.16;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-services-v3__card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #353535;
  flex: 1 1 auto;
}

.s4-services-v3__card-link {
  position: relative;
  z-index: 1;
  display: block;
  margin-top: 22px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--s4-brown);
  line-height: 1.4;
}

.s4-services-v3__card-link:after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  background: var(--s4-yellow);
}

.s4-services-v3__method-band {
  background: var(--s4-charcoal);
  color: #fff;
}

.s4-services-v3__method-band .s4-home-v3__eyebrow {
  color: #fff;
}

.s4-services-v3__method {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.s4-services-v3__method-step {
  padding: 26px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  border: 2px solid transparent;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background 0.22s ease;
}

.s4-services-v3__method-step:hover {
  transform: translateY(-4px);
  border-color: var(--s4-yellow);
  background: rgba(255, 255, 255, 0.12);
}

.s4-services-v3__method-step strong {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #fff;
}

.s4-services-v3__method-step p {
  margin: 8px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

@media (max-width: 900px) {
  .s4-services-v3__hero {
    padding: 72px 28px;
  }

  .s4-services-v3__grid,
  .s4-services-v3__method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .s4-services-v3__hero {
    padding: 58px 24px;
  }

  .s4-services-v3__hero h1 {
    font-size: 32px;
  }

  .s4-services-v3__grid,
  .s4-services-v3__method {
    grid-template-columns: 1fr;
  }

  .s4-services-v3__card {
    min-height: 0;
  }
}

/* ========== PERSPECTIVAS ========== */

.s4-reports-v3 {
  --s4-brown: #423113;
  --s4-brown-deep: #2f230d;
  --s4-charcoal: #303234;
  --s4-navy: #002035;
  --s4-yellow: #FFD633;
  --s4-alice: #E2EDF3;
  --s4-bluegray: #8B97A2;
  width: 100%;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  color: #353535;
}

.s4-reports-v3 h1,
.s4-reports-v3 h2,
.s4-reports-v3 h3 {
  font-weight: normal;
}

.s4-reports-v3__hero {
  padding:
    96px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(48, 50, 52, 0.88), rgba(48, 50, 52, 0.88)),
    var(--s4-cta-photo, none) center / cover no-repeat;
  box-sizing: border-box;
}

.s4-reports-v3__hero .s4-home-v3__eyebrow {
  color: #fff;
  justify-content: center;
}

.s4-reports-v3__hero h1 {
  max-width: 960px;
  margin: 20px auto 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: normal;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
}

.s4-reports-v3__hero p {
  max-width: 720px;
  margin: 24px auto 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif !important;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
}

.s4-reports-v3__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.s4-reports-v3__filter {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(66, 49, 19, 0.18);
  background: #fff;
  color: var(--s4-brown);
  border-radius: 999px;
  padding: 10px 16px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  font-weight: normal;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.s4-reports-v3__filter:hover {
  border-color: var(--s4-brown);
  color: var(--s4-brown);
  text-decoration: none;
}

.s4-reports-v3__filter.is-active {
  background: var(--s4-brown);
  border-color: var(--s4-brown);
  color: #fff;
}

.s4-reports-v3__filter.is-active:hover {
  color: #fff;
}

.s4-reports-v3__grid {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.s4-reports-v3__card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 18px;
  border: 2px solid transparent;
  border-radius: 22px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.08);
  overflow: hidden;
  transition:
    border-color 0.28s linear,
    box-shadow 0.28s ease-in-out,
    transform 0.28s ease-in-out;
}

.s4-reports-v3__card:hover {
  transform: translateY(-7px);
  border-color: #d2a94f;
  box-shadow: 0 18px 44px rgba(48, 50, 52, 0.16);
  color: inherit;
  text-decoration: none;
}

.s4-reports-v3__card-media {
  height: 175px;
  border-radius: 17px;
  background-color: var(--s4-alice);
  overflow: hidden;
}

.s4-reports-v3__card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.s4-reports-v3__card:hover .s4-reports-v3__card-media img {
  transform: scale(1.06);
}

.s4-reports-v3__card-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 14px;
}

.s4-reports-v3__card-meta small,
.s4-reports-v3__card-meta time {
  font-family: "Sofia Pro Medium", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(53, 53, 53, 0.62);
}

.s4-reports-v3__card h3 {
  margin: 8px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(17px, 1.55vw, 22px);
  font-weight: normal;
  line-height: 1.25;
  color: var(--s4-brown);
}

.s4-reports-v3__card p {
  margin: 10px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: #353535;
  flex: 1 1 auto;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.s4-reports-v3__card-link {
  display: block;
  margin-top: 18px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.045em;
  color: var(--s4-brown);
  line-height: 1.4;
}

.s4-reports-v3__card-link:after {
  content: "";
  display: block;
  width: 42px;
  height: 4px;
  margin-top: 10px;
  background: var(--s4-yellow);
}

.s4-reports-v3__empty {
  margin: 40px 0 0;
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 16px;
  color: #6d6d6d;
}

.s4-reports-v3__pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 42px;
}

.s4-reports-v3__page-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid rgba(66, 49, 19, 0.18);
  border-radius: 999px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--s4-brown);
  background: #fff;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
}

.s4-reports-v3__page-link:hover {
  border-color: var(--s4-brown);
  color: var(--s4-brown);
  text-decoration: none;
}

.s4-reports-v3__page-link--disabled {
  opacity: 0.35;
  pointer-events: none;
}

.s4-reports-v3__page-status {
  font-family: "Sofia Pro Regular", "Sofia Pro", sans-serif;
  font-size: 14px;
  color: #6d6d6d;
}

@media (max-width: 900px) {
  .s4-reports-v3__hero {
    padding: 72px 28px;
  }

  .s4-reports-v3__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .s4-reports-v3__hero {
    padding: 58px 24px;
  }

  .s4-reports-v3__hero h1 {
    font-size: 32px;
  }

  .s4-reports-v3__grid {
    grid-template-columns: 1fr;
  }
}

/* ========== CASOS DE ÉXITO ========== */

.s4-cases-v3 {
  width: 100%;
  color: #353535;
}

.s4-cases-v3 h1,
.s4-cases-v3 h2,
.s4-cases-v3 h3 {
  font-weight: normal;
}

.s4-cases-v3__hero {
  position: relative;
  overflow-x: clip;
  background: #fff;
}

.s4-cases-v3__hero:before {
  content: "CASOS";
  position: absolute;
  left: -0.03em;
  bottom: -0.24em;
  z-index: 0;
  color: rgba(66, 49, 19, 0.026);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: clamp(10rem, 24vw, 24rem);
  font-weight: normal;
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.s4-cases-v3__hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(320px, 0.97fr);
  width: 100%;
  max-width: var(--s4-content-max);
  margin-inline: auto;
  min-height: min(92vh, 860px);
}

.s4-cases-v3__hero-copy,
.s4-cases-v3__hero-visual {
  min-width: 0;
}

.s4-cases-v3__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(78px, 8vw, 116px)
    7%
    clamp(72px, 7vw, 96px);
}

.s4-cases-v3__hero-copy h1 {
  max-width: 760px;
  margin: 20px 0 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif !important;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-cases-v3__hero-copy h1 em {
  display: block;
  font-style: normal;
}

.s4-cases-v3__hero-copy h1 em:after {
  content: "";
  display: block;
  width: 112px;
  height: 7px;
  margin-top: 18px;
  background: var(--s4-yellow);
}

.s4-cases-v3__hero-lead {
  max-width: 660px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(36, 36, 36, 0.75);
}

.s4-cases-v3__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.s4-cases-v3__hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 34px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(36, 36, 36, 0.6);
}

.s4-cases-v3__hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.s4-cases-v3__hero-proof span:before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--s4-yellow);
}

.s4-cases-v3__hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 640px;
  padding: clamp(34px, 5vw, 72px);
  overflow: visible;
  isolation: isolate;
}

/* Fondo alice full-bleed hacia la derecha; contenido sigue en 1240 */
.s4-cases-v3__hero-visual:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% + max(0px, (100vw - var(--s4-content-max)) / 2));
  background: linear-gradient(145deg, var(--s4-alice), #f6f7f7);
  border-left: 1px solid rgba(66, 49, 19, 0.14);
}

.s4-cases-v3__hero-visual:after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 520px;
  height: 520px;
  right: -190px;
  top: -170px;
  border: 1px solid rgba(66, 49, 19, 0.1);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(255, 214, 51, 0.08),
    0 0 0 140px rgba(255, 214, 51, 0.04);
  pointer-events: none;
}

.s4-cases-v3__mini-stack {
  position: relative;
  z-index: 2;
  width: min(520px, 100%);
  display: grid;
  gap: 18px;
}

.s4-cases-v3__mini {
  position: relative;
  padding: 28px;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 22px;
  box-shadow: 0 18px 54px rgba(48, 50, 52, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.s4-cases-v3__mini:hover {
  transform: translateY(-6px);
}

.s4-cases-v3__mini:after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 125px;
  height: 125px;
  border-radius: 50%;
  background: rgba(139, 151, 162, 0.11);
}

.s4-cases-v3__mini-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.s4-cases-v3__mini-num {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  color: #fff;
  background: var(--s4-charcoal);
  border: 5px solid var(--s4-yellow);
  border-radius: 50%;
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 15px;
}

.s4-cases-v3__mini-type {
  color: var(--s4-bluegray);
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 10px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  text-align: right;
}

.s4-cases-v3__mini h2 {
  position: relative;
  z-index: 1;
  margin: 22px 0 10px;
  font-family: "Sofia Pro Bold", sans-serif !important;
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  line-height: 1.2;
  color: var(--s4-brown);
}

.s4-cases-v3__mini p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 13px;
  color: var(--s4-bluegray);
}

.s4-cases-v3__mini-route {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 10px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-cases-v3__mini-route i {
  width: 34px;
  height: 3px;
  background: var(--s4-yellow);
}

.s4-cases-v3__heading {
  max-width: 840px;
  margin-bottom: 46px;
}

.s4-cases-v3__heading--center {
  margin-inline: auto;
  text-align: center;
}

.s4-cases-v3__heading--center .s4-home-v3__eyebrow {
  justify-content: center;
}

.s4-cases-v3__heading--center .s4-home-v3__section-lead {
  margin-inline: auto;
}

.s4-cases-v3__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.s4-cases-v3__principle {
  padding: 30px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(48, 50, 52, 0.08);
}

.s4-cases-v3__principle-num {
  display: block;
  color: var(--s4-bluegray);
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.s4-cases-v3__principle h3 {
  margin: 18px 0 10px;
  font-family: "Sofia Pro Bold", sans-serif !important;
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-cases-v3__principle p {
  margin: 0;
  font-size: 14px;
  color: var(--s4-bluegray);
}

.s4-cases-v3__principle:after {
  content: "";
  display: block;
  width: 46px;
  height: 4px;
  margin-top: 24px;
  background: var(--s4-yellow);
}

.s4-cases-v3__selector {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.s4-cases-v3__selector-card {
  position: relative;
  min-height: 380px;
  padding: 38px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 54px rgba(48, 50, 52, 0.12);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.s4-cases-v3__selector-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 26px 70px rgba(48, 50, 52, 0.18);
}

.s4-cases-v3__selector-card:before {
  content: attr(data-index);
  position: absolute;
  right: 18px;
  bottom: -35px;
  color: rgba(66, 49, 19, 0.045);
  font-family: "Sofia Pro Black", sans-serif;
  font-size: 11rem;
  line-height: 1;
}

.s4-cases-v3__selector-card:after {
  content: "";
  position: absolute;
  left: 38px;
  top: 0;
  width: 76px;
  height: 7px;
  background: var(--s4-yellow);
}

.s4-cases-v3__selector-type {
  color: var(--s4-bluegray);
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.s4-cases-v3__selector-card h3 {
  position: relative;
  z-index: 1;
  margin: 20px 0 18px;
  font-family: "Sofia Pro Bold", sans-serif !important;
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--s4-brown);
}

.s4-cases-v3__selector-card p {
  position: relative;
  z-index: 1;
  max-width: 520px;
  color: var(--s4-bluegray);
}

.s4-cases-v3__selector-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 26px;
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--s4-brown);
}

.s4-cases-v3__story-head {
  position: relative;
  padding:
    88px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  overflow: hidden;
  color: #fff;
  background: var(--s4-charcoal);
  border-top: 7px solid var(--s4-yellow);
}

.s4-cases-v3__story-head:after {
  content: attr(data-index);
  position: absolute;
  right: -0.03em;
  bottom: -0.32em;
  color: rgba(255, 255, 255, 0.035);
  font-family: "Sofia Pro Black", sans-serif;
  font-size: clamp(8rem, 18vw, 20rem);
  line-height: 1;
}

.s4-cases-v3__story-head-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 52px;
  align-items: end;
  max-width: var(--s4-content-max);
  margin: 0 auto;
}

.s4-cases-v3__story-index {
  color: var(--s4-yellow);
  font-family: "Sofia Pro Black", sans-serif;
  font-size: clamp(5rem, 10vw, 8.5rem);
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.s4-cases-v3__story-head .s4-home-v3__eyebrow {
  color: #fff;
}

.s4-cases-v3__story-head h2 {
  max-width: 860px;
  margin: 0 0 20px;
  font-family: "Sofia Pro Bold", sans-serif !important;
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
  color: #fff;
}

.s4-cases-v3__story-head p {
  max-width: 760px;
  margin: 0;
  font-size: 1.06rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
}

.s4-cases-v3__story-body {
  padding:
    88px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  background: #fff;
}

.s4-cases-v3__story-body--soft {
  background: #f6f7f7;
}

.s4-cases-v3__story-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 70px;
  align-items: start;
  max-width: var(--s4-content-max);
  margin: 0 auto;
}

.s4-cases-v3__story-nav {
  position: sticky;
  top: calc(84px + 26px);
}

.s4-cases-v3__story-nav span {
  display: block;
  margin-bottom: 12px;
  color: var(--s4-bluegray);
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.s4-cases-v3__story-nav a {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid rgba(66, 49, 19, 0.14);
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 12px;
  text-decoration: none;
  color: var(--s4-brown);
}

.s4-cases-v3__story-nav a:hover {
  color: var(--s4-bluegray);
}

.s4-cases-v3__story-content {
  max-width: 800px;
}

.s4-cases-v3__block {
  margin-bottom: 66px;
  scroll-margin-top: 110px;
}

.s4-cases-v3__block:last-child {
  margin-bottom: 0;
}

.s4-cases-v3__block h3 {
  margin: 10px 0 20px;
  font-family: "Sofia Pro Bold", sans-serif !important;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--s4-brown);
}

.s4-cases-v3__block p {
  color: var(--s4-bluegray);
  line-height: 1.7;
}

.s4-cases-v3__quote {
  margin: 30px 0 0;
  padding: 26px 28px;
  border-left: 7px solid var(--s4-navy);
  background: #f6f7f7;
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: var(--s4-brown);
  box-shadow: 0 8px 28px rgba(48, 50, 52, 0.06);
}

.s4-cases-v3__sequence {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.s4-cases-v3__step {
  padding: 24px 20px;
  border-radius: 18px;
  background: #f6f7f7;
  box-shadow: 0 7px 20px rgba(48, 50, 52, 0.05);
}

.s4-cases-v3__step b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: #fff;
  background: var(--s4-charcoal);
  border: 4px solid var(--s4-yellow);
  border-radius: 50%;
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 11px;
  font-weight: normal;
}

.s4-cases-v3__step span {
  display: block;
  margin-top: 14px;
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 13px;
  line-height: 1.35;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-cases-v3__deliverables {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.s4-cases-v3__deliverable {
  padding: 22px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.14);
  box-shadow: 0 6px 20px rgba(48, 50, 52, 0.05);
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 13px;
  color: var(--s4-brown);
}

.s4-cases-v3__deliverable:before {
  content: "";
  display: block;
  width: 28px;
  height: 4px;
  margin-bottom: 14px;
  background: var(--s4-yellow);
}

.s4-cases-v3__transform {
  display: grid;
  grid-template-columns: 1fr 66px 1fr;
  gap: 18px;
  align-items: stretch;
}

.s4-cases-v3__transform-col {
  padding: 30px;
  border-radius: 20px;
  background: #f6f7f7;
}

.s4-cases-v3__transform-col--dark {
  color: #fff;
  background: var(--s4-charcoal);
}

.s4-cases-v3__transform-label {
  display: block;
  margin-bottom: 16px;
  color: var(--s4-bluegray);
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.s4-cases-v3__transform-col--dark .s4-cases-v3__transform-label {
  color: var(--s4-yellow);
}

.s4-cases-v3__transform-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.s4-cases-v3__transform-col li {
  padding: 11px 0;
  border-bottom: 1px solid rgba(66, 49, 19, 0.14);
  font-size: 13px;
}

.s4-cases-v3__transform-col--dark li {
  border-color: rgba(255, 255, 255, 0.13);
}

.s4-cases-v3__transform-arrow {
  display: grid;
  place-items: center;
  color: var(--s4-yellow);
  font-size: 2.3rem;
  font-family: "Sofia Pro Bold", sans-serif;
}

.s4-cases-v3__result {
  margin-top: 28px;
  padding: 34px;
  border-radius: 20px;
  border-bottom: 7px solid var(--s4-yellow);
  color: #fff;
  background: linear-gradient(135deg, var(--s4-charcoal), var(--s4-brown));
  box-shadow: 0 18px 54px rgba(48, 50, 52, 0.12);
}

.s4-cases-v3__result h3 {
  margin: 0 0 12px;
  color: #fff;
  font-family: "Sofia Pro Bold", sans-serif !important;
  font-size: 1.6rem;
}

.s4-cases-v3__result p {
  margin: 0 0 17px;
  color: rgba(255, 255, 255, 0.76);
}

.s4-cases-v3__result strong {
  display: block;
  font-family: "Sofia Pro Bold", sans-serif;
  font-size: 12px;
  letter-spacing: 0.035em;
  color: var(--s4-yellow);
}

.s4-cases-v3 .s4-home-v3__cta .s4-home-v3__eyebrow {
  color: #fff;
  justify-content: center;
}

@media (max-width: 1020px) {
  .s4-cases-v3__hero-stage {
    grid-template-columns: 1fr;
  }

  .s4-cases-v3__hero-copy {
    padding: 76px 28px 64px;
  }

  .s4-cases-v3__hero-visual {
    min-height: 570px;
  }

  .s4-cases-v3__hero-visual:before {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(66, 49, 19, 0.14);
  }

  .s4-cases-v3__story-inner {
    grid-template-columns: 1fr;
  }

  .s4-cases-v3__story-nav {
    display: none;
  }
}

@media (max-width: 900px) {
  .s4-home-v3__cases {
    grid-template-columns: 1fr;
  }

  .s4-cases-v3__principles,
  .s4-cases-v3__selector {
    grid-template-columns: 1fr;
  }

  .s4-cases-v3__story-head-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .s4-cases-v3__story-index {
    font-size: 5.2rem;
  }

  .s4-cases-v3__sequence {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s4-cases-v3__deliverables {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .s4-cases-v3__hero-copy {
    padding: 64px 24px 54px;
  }

  .s4-cases-v3__hero-copy h1 {
    font-size: 32px;
  }

  .s4-cases-v3__hero-actions {
    display: grid;
  }

  .s4-cases-v3__hero-actions .s4-home-v3__btn {
    width: 100%;
    justify-content: center;
  }

  .s4-cases-v3__hero-visual {
    min-height: auto;
    padding: 54px 24px;
  }

  .s4-cases-v3__story-head,
  .s4-cases-v3__story-body {
    padding: 68px 24px;
  }

  .s4-cases-v3__selector-card {
    min-height: 0;
    padding: 32px 26px;
  }

  .s4-cases-v3__sequence,
  .s4-cases-v3__deliverables {
    grid-template-columns: 1fr;
  }

  .s4-cases-v3__transform {
    grid-template-columns: 1fr;
  }

  .s4-cases-v3__transform-arrow {
    transform: rotate(90deg);
  }
}

/* ========== CONTACTO / QUIERO SER CLIENTE ========== */

.s4-contact-v3 {
  width: 100%;
  color: #353535;
}

.s4-contact-v3 h1,
.s4-contact-v3 h2,
.s4-contact-v3 h3 {
  font-weight: normal;
}

.s4-contact-v3__hero {
  padding:
    96px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(48, 50, 52, 0.88), rgba(48, 50, 52, 0.88)),
    var(--s4-cta-photo, none) center / cover no-repeat;
  box-sizing: border-box;
}

.s4-contact-v3__hero .s4-home-v3__eyebrow {
  color: #fff;
  justify-content: center;
}

.s4-contact-v3__hero h1 {
  max-width: 960px;
  margin: 20px auto 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(32px, 4.6vw, 56px);
  font-weight: normal;
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: #fff;
}

.s4-contact-v3__hero p {
  max-width: 690px;
  margin: 24px auto 0;
  font-size: 17px;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.88);
}

.s4-contact-v3__presence {
  background: #fff;
  border-bottom: 1px solid rgba(66, 49, 19, 0.12);
  padding:
    26px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  box-sizing: border-box;
}

.s4-contact-v3__presence-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.s4-contact-v3__presence-copy {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}

.s4-contact-v3__presence-mark {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--s4-yellow);
  color: var(--s4-brown-deep);
  font-size: 21px;
  font-weight: normal;
}

.s4-contact-v3__presence-copy small {
  display: block;
  margin-bottom: 5px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-contact-v3__presence-copy strong {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.35;
  color: var(--s4-charcoal);
}

.s4-contact-v3__presence-countries {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 9px;
}

.s4-contact-v3__presence-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 13px;
  border: 1px solid rgba(66, 49, 19, 0.15);
  border-radius: 999px;
  background: #f6f4ef;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-contact-v3__presence-pill.is-active:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--s4-yellow);
  box-shadow: 0 0 0 3px rgba(255, 214, 51, 0.17);
}

.s4-contact-v3__presence-pill.is-soon {
  background: transparent;
  color: rgba(48, 50, 52, 0.58);
}

.s4-contact-v3__layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.s4-contact-v3__form-col .s4-home-v3__eyebrow {
  margin-bottom: 18px;
}

.s4-contact-v3__ghl {
  width: 100%;
  min-height: 720px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.s4-contact-v3__ghl iframe {
  display: block;
  width: 100%;
  min-height: 802px;
  height: 802px;
  border: 0;
  border-radius: 18px;
}

.s4-contact-v3__aside {
  display: grid;
  gap: 20px;
}

.s4-contact-v3__card {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(48, 50, 52, 0.08);
  box-sizing: border-box;
}

.s4-contact-v3__card--dark {
  background: var(--s4-charcoal);
  color: #fff;
  border-top: 7px solid var(--s4-yellow);
}

.s4-contact-v3__card small {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s4-bluegray);
}

.s4-contact-v3__card--dark small {
  color: var(--s4-yellow);
}

.s4-contact-v3__card h3 {
  margin: 12px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", "Sofia Pro Regular", sans-serif !important;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.15;
  color: var(--s4-brown);
}

.s4-contact-v3__card--dark h3 {
  color: #fff;
}

.s4-contact-v3__card p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #353535;
}

.s4-contact-v3__card--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.s4-contact-v3__card .s4-home-v3__btn {
  margin-top: 22px;
}

.s4-contact-v3__steps {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.s4-contact-v3__steps article {
  padding: 26px 22px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.08);
}

.s4-contact-v3__steps strong {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 15px;
  font-weight: normal;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-contact-v3__steps p {
  margin: 10px 0 0;
  font-size: 14px;
  line-height: 1.55;
  color: #353535;
}

.s4-contact-v3__location {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.s4-contact-v3__location-copy .s4-home-v3__section-lead {
  max-width: none;
}

.s4-contact-v3__location-copy .s4-home-v3__section-lead strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
  color: var(--s4-brown);
}

.s4-contact-v3__location-presence {
  margin: 20px 0 4px;
  padding: 16px 18px;
  border-left: 4px solid var(--s4-navy);
  background: #f6f4ef;
  font-size: 13px;
  line-height: 1.55;
  color: var(--s4-charcoal);
}

.s4-contact-v3__location-presence strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
  color: var(--s4-brown);
}

.s4-contact-v3__location-details {
  margin-top: 22px;
  display: grid;
  gap: 12px;
}

.s4-contact-v3__location-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.1);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 6px 18px rgba(48, 50, 52, 0.05);
}

a.s4-contact-v3__location-item:hover {
  border-color: rgba(66, 49, 19, 0.28);
  color: inherit;
  text-decoration: none;
}

.s4-contact-v3__location-icon {
  flex: 0 0 auto;
  width: 28px;
  color: var(--s4-brown);
  font-size: 18px;
  line-height: 1.4;
}

.s4-contact-v3__location-item small {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s4-bluegray);
}

.s4-contact-v3__location-item strong {
  display: block;
  margin-top: 4px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 1.4;
  color: var(--s4-brown);
}

.s4-contact-v3__location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.s4-contact-v3__map {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 12px 34px rgba(48, 50, 52, 0.1);
}

.s4-contact-v3__map iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

.s4-contact-v3__map-caption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  background: var(--s4-charcoal);
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.s4-contact-v3__map-caption span {
  color: var(--s4-yellow);
  text-align: right;
}

.s4-contact-v3__confidentiality {
  padding:
    82px
    max(var(--s4-content-gutter), calc((100% - var(--s4-content-max)) / 2));
  text-align: center;
  color: #fff;
  background: var(--s4-charcoal);
  box-sizing: border-box;
}

.s4-contact-v3__confidentiality .s4-home-v3__eyebrow {
  color: #fff;
  justify-content: center;
}

.s4-contact-v3__confidentiality .s4-home-v3__section-title {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  color: #fff;
}

.s4-contact-v3__confidentiality p {
  max-width: 720px;
  margin: 20px auto 0;
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.82);
}

.s4-contact-v3__confidentiality .s4-home-v3__btn {
  margin-top: 28px;
}

@media (max-width: 900px) {
  .s4-contact-v3__presence-inner,
  .s4-contact-v3__layout,
  .s4-contact-v3__location {
    grid-template-columns: 1fr;
  }

  .s4-contact-v3__presence-countries {
    justify-content: flex-start;
  }

  .s4-contact-v3__steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .s4-contact-v3__hero {
    padding: 58px 24px;
  }

  .s4-contact-v3__hero h1 {
    font-size: 32px;
  }

  .s4-contact-v3__presence {
    padding: 24px;
  }

  .s4-contact-v3__presence-copy {
    align-items: flex-start;
  }

  .s4-contact-v3__ghl,
  .s4-contact-v3__ghl iframe {
    min-height: 920px;
    height: 920px;
  }

  .s4-contact-v3__location-actions {
    flex-direction: column;
  }

  .s4-contact-v3__location-actions .s4-home-v3__btn {
    width: 100%;
    justify-content: center;
  }

  .s4-contact-v3__confidentiality {
    padding: 58px 24px;
  }

  .s4-contact-v3__map-caption {
    flex-direction: column;
  }
}

/* ========== QUIERO SER ASESOR / PARTNERS ========== */

.s4-partners-v3 {
  width: 100%;
  color: #353535;
}

.s4-partners-v3 h1,
.s4-partners-v3 h2,
.s4-partners-v3 h3 {
  font-weight: normal;
}

.s4-partners-v3__hero {
  background: #fff;
  overflow-x: clip;
}

.s4-partners-v3__hero-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  width: 100%;
  max-width: var(--s4-content-max);
  margin-inline: auto;
  min-height: 560px;
}

.s4-partners-v3__hero-copy,
.s4-partners-v3__hero-visual {
  min-width: 0;
}

.s4-partners-v3__hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 82px 7%;
}

.s4-partners-v3__hero-copy h1 {
  max-width: 760px;
  margin: 18px 0 0;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif !important;
  font-size: clamp(36px, 4.6vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-partners-v3__hero-copy > p {
  max-width: 710px;
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.72;
  color: #353535;
}

.s4-partners-v3__positioning {
  margin-top: 20px;
  max-width: 690px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 16px;
  line-height: 1.45;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--s4-brown);
}

.s4-partners-v3__hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.s4-partners-v3__microtrust {
  margin-top: 16px;
  max-width: 620px;
  font-size: 13px;
  line-height: 1.5;
  color: #6d6d6d;
}

.s4-partners-v3__hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 560px;
  padding: 40px 28px;
  overflow: hidden;
  isolation: isolate;
}

.s4-partners-v3__hero-visual:before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: calc(100% + max(0px, (100vw - var(--s4-content-max)) / 2));
  background: linear-gradient(rgba(226, 237, 243, 0.82), rgba(255, 255, 255, 0.9));
  border-left: 1px solid rgba(66, 49, 19, 0.14);
}

.s4-partners-v3__ecosystem {
  width: min(100%, 480px);
}

.s4-partners-v3__core strong {
  font-size: 15px;
  line-height: 1.15;
}

.s4-partners-v3__core-plus {
  display: block;
  margin-top: 6px;
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 28px;
  line-height: 1;
  color: var(--s4-yellow);
}

.s4-partners-v3__core small {
  margin-top: 8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  max-width: 80%;
}

.s4-partners-v3__ecosystem .s4-home-v3__node {
  gap: 0;
  padding: 12px;
}

.s4-partners-v3__ecosystem .s4-home-v3__node-title {
  font-size: 11px;
  line-height: 1.25;
  max-width: 92%;
}

.s4-partners-v3__types {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.s4-partners-v3__type {
  padding: 22px;
  border-radius: 18px;
  background: #fff;
  border-top: 4px solid var(--s4-yellow);
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.08);
}

.s4-partners-v3__type strong {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 15px;
  font-weight: normal;
  color: var(--s4-brown);
}

.s4-partners-v3__type p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #353535;
}

.s4-partners-v3__value {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 44px;
  align-items: start;
}

.s4-partners-v3__principle {
  margin-top: 28px;
  padding: 34px;
  background: var(--s4-navy);
  color: #fff;
  border-left: 6px solid var(--s4-yellow);
  border-radius: 0 18px 18px 0;
}

.s4-partners-v3__principle small {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--s4-yellow);
}

.s4-partners-v3__principle h3 {
  margin: 13px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", sans-serif !important;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.14;
  color: #fff;
}

.s4-partners-v3__principle p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

.s4-partners-v3__benefits {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.s4-partners-v3__benefit {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.13);
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.06);
}

.s4-partners-v3__benefit span {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--s4-yellow);
  color: var(--s4-brown-deep);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
}

.s4-partners-v3__benefit h3 {
  margin: 16px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif !important;
  font-size: 18px;
  line-height: 1.2;
  color: var(--s4-brown);
}

.s4-partners-v3__benefit p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: #353535;
}

.s4-partners-v3__flow {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.s4-partners-v3__step {
  padding: 24px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.1);
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.06);
}

.s4-partners-v3__step b {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #c9a227;
}

.s4-partners-v3__step strong {
  display: block;
  margin-top: 8px;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 18px;
  font-weight: normal;
  color: var(--s4-brown);
}

.s4-partners-v3__step p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.55;
  color: #353535;
}

.s4-partners-v3__note {
  margin: 22px 0 0;
  padding: 14px 18px;
  border-left: 3px solid var(--s4-navy);
  background: rgba(241, 238, 232, 0.7);
  font-size: 13px;
  line-height: 1.55;
  color: #6d6d6d;
}

.s4-partners-v3__note strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
  color: var(--s4-brown);
}

.s4-partners-v3__contact {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}

.s4-partners-v3__contact-copy .s4-home-v3__section-title {
  max-width: 650px;
}

.s4-partners-v3__ghl {
  margin-top: 22px;
  width: 100%;
  min-height: 720px;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.s4-partners-v3__ghl iframe {
  display: block;
  width: 100%;
  min-height: 802px;
  height: 802px;
  border: 0;
  border-radius: 18px;
}

.s4-partners-v3__disclaimer {
  margin: 18px 0 0;
  font-size: 11px;
  line-height: 1.55;
  color: rgba(36, 36, 36, 0.58);
}

.s4-partners-v3__aside {
  display: grid;
  gap: 16px;
}

.s4-partners-v3__side-card {
  padding: 28px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.12);
  border-top: 4px solid var(--s4-yellow);
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.08);
}

.s4-partners-v3__side-card--dark {
  background: var(--s4-charcoal);
  color: #fff;
  border-color: transparent;
}

.s4-partners-v3__side-card small {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s4-bluegray);
}

.s4-partners-v3__side-card--dark small {
  color: var(--s4-yellow);
}

.s4-partners-v3__side-card h3 {
  margin: 10px 0 0;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", sans-serif !important;
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.15;
  color: var(--s4-brown);
}

.s4-partners-v3__side-card--dark h3 {
  color: #fff;
}

.s4-partners-v3__side-card p {
  margin: 12px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #353535;
}

.s4-partners-v3__side-card--dark p {
  color: rgba(255, 255, 255, 0.78);
}

.s4-partners-v3__side-card .s4-home-v3__btn {
  margin-top: 22px;
}

.s4-partners-v3 .s4-home-v3__cta .s4-home-v3__eyebrow {
  color: #fff;
  justify-content: center;
}

@media (max-width: 1020px) {
  .s4-partners-v3__hero-stage,
  .s4-partners-v3__value,
  .s4-partners-v3__contact {
    grid-template-columns: 1fr;
  }

  .s4-partners-v3__types,
  .s4-partners-v3__flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s4-partners-v3__hero-visual {
    min-height: 460px;
  }

  .s4-partners-v3__hero-visual:before {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(66, 49, 19, 0.14);
  }

  .s4-partners-v3__benefits {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .s4-partners-v3__hero-copy {
    padding: 58px 24px;
  }

  .s4-partners-v3__hero-copy h1 {
    font-size: 32px;
  }

  .s4-partners-v3__hero-actions {
    flex-direction: column;
  }

  .s4-partners-v3__hero-actions .s4-home-v3__btn {
    width: 100%;
    justify-content: center;
  }

  .s4-partners-v3__hero-visual {
    min-height: 390px;
    padding: 30px 18px;
  }

  .s4-partners-v3__ecosystem {
    width: min(100%, 340px);
  }

  .s4-partners-v3__types,
  .s4-partners-v3__flow {
    grid-template-columns: 1fr;
  }

  .s4-partners-v3__ghl,
  .s4-partners-v3__ghl iframe {
    min-height: 920px;
    height: 920px;
  }
}

/* ========== DIRECCIÓN FINANCIERA EMPRESARIAL (DFE) ========== */

.s4-dfe-v3 {
  --s4-navy: #002035;
  --s4-gold: #ffd633;
  --s4-ivory: #f6f7f7;
  --s4-brown: #423113;
  --s4-white: #ffffff;
  --s4-text: #242424;
  --s4-gray: #8b97a2;
  --s4-soft: #f6f7f7;
  --alice: #e2edf3;
  --s4-line: rgba(66, 49, 19, 0.14);
  --s4-shadow: 0 18px 54px rgba(48, 50, 52, 0.13);
  --s4-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --s4-nav: 72px;
  width: 100%;
  color: var(--s4-text);
  background: var(--s4-white);
  font-size: 16px;
  line-height: 1.65;
}

.s4-dfe-v3 h1,
.s4-dfe-v3 h2,
.s4-dfe-v3 h3 {
  font-family: "Sofia Pro Black", "Sofia Pro Bold", "Sofia Pro", sans-serif;
  font-weight: normal;
  line-height: 1.08;
  margin-top: 0;
}

.s4-dfe-v3__container {
  width: min(var(--s4-content-max), calc(100% - 48px));
  margin-inline: auto;
}

.s4-dfe-v3__section {
  padding: 96px 0;
}

.s4-dfe-v3__section--soft {
  background: var(--s4-ivory);
}

.s4-dfe-v3__section--navy {
  color: var(--s4-white);
  background: var(--s4-navy);
}

.s4-dfe-v3__heading {
  max-width: 820px;
  margin-bottom: 46px;
}

.s4-dfe-v3__heading h2 {
  margin: 14px 0;
  color: var(--s4-brown);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1.12;
}

.s4-dfe-v3__heading p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 1.08rem;
}

.s4-dfe-v3__section--navy .s4-home-v3__eyebrow,
.s4-dfe-v3__section--navy .s4-dfe-v3__heading h2,
.s4-dfe-v3__difference .s4-home-v3__eyebrow {
  color: var(--s4-white);
}

.s4-dfe-v3__section--navy .s4-home-v3__eyebrow:before,
.s4-dfe-v3__difference .s4-home-v3__eyebrow:before {
  background: var(--s4-gold);
}

.s4-dfe-v3__section--navy .s4-dfe-v3__heading p,
.s4-dfe-v3__difference > div > p {
  color: rgba(255, 255, 255, 0.74);
}

/* ----- Hero ----- */
.s4-dfe-v3__hero {
  position: relative;
  overflow-x: clip;
  background: var(--s4-white);
}

.s4-dfe-v3__hero:before {
  content: "CRITERIO";
  position: absolute;
  left: -0.035em;
  bottom: -0.24em;
  z-index: 0;
  color: rgba(66, 49, 19, 0.025);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: clamp(8rem, 20vw, 20rem);
  letter-spacing: -0.08em;
  line-height: 1;
  pointer-events: none;
}

.s4-dfe-v3__hero-stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.96fr);
  width: 100%;
  max-width: var(--s4-content-max);
  margin-inline: auto;
  min-height: min(72vh, 640px);
}

.s4-dfe-v3__hero-copy,
.s4-dfe-v3__hero-visual {
  min-width: 0;
}

.s4-dfe-v3__hero-copy {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding:
    clamp(56px, 6vw, 84px)
    7%
    clamp(52px, 5.5vw, 72px);
}

.s4-dfe-v3__hero-copy:after {
  content: "";
  position: absolute;
  top: 14%;
  right: 0;
  width: 1px;
  height: 72%;
  background: linear-gradient(transparent, rgba(255, 214, 51, 0.9), transparent);
}

.s4-dfe-v3__hero-copy h1 {
  max-width: 640px;
  margin: 14px 0 0;
  color: var(--s4-brown);
  font-size: clamp(2.1rem, 3.6vw, 3.35rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
  text-transform: none;
}

.s4-dfe-v3__hero-copy h1 span {
  display: block;
}

.s4-dfe-v3__hero-copy h1 em {
  display: block;
  font-style: normal;
  color: var(--s4-brown);
}

.s4-dfe-v3__hero-copy h1 em:after {
  content: "";
  display: block;
  width: 88px;
  height: 5px;
  margin-top: 14px;
  background: var(--s4-gold);
}

.s4-dfe-v3__hero-lead {
  max-width: 620px;
  margin: 22px 0 0;
  color: rgba(36, 36, 36, 0.76);
  font-size: clamp(0.98rem, 1.15vw, 1.1rem);
  line-height: 1.65;
}

.s4-dfe-v3__hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}

.s4-dfe-v3__hero-actions .s4-home-v3__btn {
  margin-top: 0;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  box-sizing: border-box;
  line-height: 1.2;
}

.s4-dfe-v3__hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 36px;
  color: rgba(36, 36, 36, 0.62);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.s4-dfe-v3__hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.s4-dfe-v3__hero-proof span:before {
  content: "";
  width: 18px;
  height: 2px;
  background: var(--s4-gold);
}

.s4-dfe-v3__hero-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  isolation: isolate;
  background: var(--alice);
}

/* Photo bleed toward the right edge beyond content max */
.s4-dfe-v3__hero-visual:before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  width: calc(100% + max(0px, (100vw - var(--s4-content-max)) / 2));
  background: var(--alice);
}

.s4-dfe-v3__hero-photo {
  position: relative;
  z-index: 1;
  display: block;
  width: calc(100% + max(0px, (100vw - var(--s4-content-max)) / 2));
  max-width: none;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 52% 42%;
  filter: saturate(0.88) contrast(1.04);
}

.s4-dfe-v3__hero-visual:after {
  content: "S4  /  DIRECCIÓN FINANCIERA";
  position: absolute;
  top: 38px;
  right: 30px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  pointer-events: none;
}

.s4-dfe-v3__hero-photo-card {
  position: absolute;
  right: clamp(24px, 5vw, 74px);
  bottom: clamp(30px, 5vw, 64px);
  z-index: 3;
  width: min(390px, calc(100% - 48px));
  padding: 24px 26px;
  color: var(--s4-brown);
  background: rgba(255, 255, 255, 0.91);
  border-left: 7px solid var(--s4-gold);
  box-shadow: 0 24px 62px rgba(48, 50, 52, 0.23);
  backdrop-filter: blur(14px);
}

.s4-dfe-v3__hero-photo-card small {
  display: block;
  margin-bottom: 8px;
  color: var(--s4-gray);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.s4-dfe-v3__hero-photo-card strong {
  display: block;
  font-family: "Sofia Pro Bold", "Sofia Pro Black", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.15;
}

.s4-dfe-v3__hero-photo-card p {
  margin: 10px 0 0;
  color: rgba(36, 36, 36, 0.68);
  font-size: 12px;
  line-height: 1.55;
}

/* ----- Pain grid ----- */
.s4-dfe-v3__pain-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--s4-line);
  border: 1px solid var(--s4-line);
}

.s4-dfe-v3__pain {
  padding: 30px;
  background: var(--s4-white);
}

.s4-dfe-v3__pain-number {
  display: block;
  margin-bottom: 30px;
  color: var(--s4-gold);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.s4-dfe-v3__pain h3 {
  margin-bottom: 12px;
  color: var(--s4-navy);
  font-size: 1.18rem;
}

.s4-dfe-v3__pain p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 14px;
}

/* ----- Contact pulse ----- */
.s4-dfe-v3__contact-pulse {
  padding: 31px 0;
  background: linear-gradient(135deg, rgba(226, 237, 243, 0.92), rgba(246, 247, 247, 0.98));
  border-top: 1px solid var(--s4-line);
  border-bottom: 1px solid var(--s4-line);
}

.s4-dfe-v3__contact-pulse-inner {
  width: min(var(--s4-content-max), calc(100% - 48px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
}

.s4-dfe-v3__contact-pulse small {
  display: block;
  margin-bottom: 6px;
  color: var(--s4-gray);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 9.5px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.s4-dfe-v3__contact-pulse strong {
  display: block;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Black", sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.s4-dfe-v3__contact-pulse p {
  max-width: 760px;
  margin: 7px 0 0;
  color: var(--s4-gray);
  font-size: 13px;
}

.s4-dfe-v3__contact-pulse--dark {
  background: #303234;
  border-color: rgba(255, 255, 255, 0.12);
}

.s4-dfe-v3__contact-pulse--dark small {
  color: #ffd633;
}

.s4-dfe-v3__contact-pulse--dark strong {
  color: #fff;
}

.s4-dfe-v3__contact-pulse--dark p {
  color: rgba(255, 255, 255, 0.7);
}

/* ----- Route / phases ----- */
.s4-dfe-v3__route {
  display: grid;
  border-top: 1px solid var(--s4-line);
}

.s4-dfe-v3__phase {
  position: relative;
  display: grid;
  grid-template-columns: 130px minmax(0, 0.85fr) minmax(300px, 1.15fr);
  gap: 26px;
  padding: 38px 0;
  border-bottom: 1px solid var(--s4-line);
}

.s4-dfe-v3__phase-tag {
  grid-row: 1 / 5;
  margin: 0;
  color: var(--s4-gold);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: 2.7rem;
  letter-spacing: -0.06em;
  line-height: 1;
  text-transform: uppercase;
}

.s4-dfe-v3__phase h3 {
  grid-column: 2;
  margin-bottom: 10px;
  color: var(--s4-navy);
  font-size: 1.55rem;
}

.s4-dfe-v3__phase p {
  grid-column: 2;
  margin: 0;
  color: var(--s4-gray);
  font-size: 14px;
}

.s4-dfe-v3__phase ul {
  grid-column: 3;
  grid-row: 1 / 5;
  display: grid;
  align-content: start;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.s4-dfe-v3__phase li {
  position: relative;
  padding-left: 18px;
  color: var(--s4-text);
  font-size: 13px;
}

.s4-dfe-v3__phase li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 7px;
  height: 2px;
  background: var(--s4-gold);
}

.s4-dfe-v3__phase-time {
  grid-column: 2;
  display: block;
  margin-top: 8px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.s4-dfe-v3__route-note {
  margin: 30px 0 0;
  padding: 20px 24px;
  color: var(--s4-text);
  background: rgba(255, 214, 51, 0.16);
  border-left: 4px solid var(--s4-gold);
  font-size: 14px;
}

/* ----- Analysis ----- */
.s4-dfe-v3__analysis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.s4-dfe-v3__analysis {
  padding: 28px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.s4-dfe-v3__analysis strong {
  display: block;
  margin-bottom: 9px;
  color: var(--s4-gold);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.s4-dfe-v3__analysis p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 14px;
}

/* ----- Deliverables ----- */
.s4-dfe-v3__deliver-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.s4-dfe-v3__deliver {
  padding: 30px;
  background: var(--s4-white);
  border: 1px solid var(--s4-line);
  box-shadow: 0 8px 28px rgba(48, 50, 52, 0.07);
}

.s4-dfe-v3__deliver-head {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.s4-dfe-v3__deliver-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  color: var(--s4-navy);
  background: rgba(255, 214, 51, 0.24);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
}

.s4-dfe-v3__deliver h3 {
  margin: 2px 0 9px;
  color: var(--s4-navy);
  font-size: 1.25rem;
}

.s4-dfe-v3__deliver p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 14px;
}

/* ----- Showroom + visual board ----- */
.s4-dfe-v3__showroom-route {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 18px;
  background: var(--s4-line);
  border: 1px solid var(--s4-line);
  align-items: stretch;
}

.s4-dfe-v3__showroom-route article {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 185px;
  padding: 25px 22px;
  background: #fff;
}

.s4-dfe-v3__showroom-route article:not(:last-child):after {
  content: "›";
  position: absolute;
  top: 0;
  right: -10px;
  bottom: 0;
  z-index: 4;
  width: 20px;
  height: 20px;
  margin: auto 0;
  border-radius: 50%;
  background: #ffd633;
  color: #423113;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
}

.s4-dfe-v3__showroom-route span {
  display: block;
  color: var(--s4-gray);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 9px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.s4-dfe-v3__showroom-route strong {
  display: block;
  margin: 14px 0 8px;
  color: var(--s4-brown);
  font-size: 1.03rem;
  line-height: 1.2;
}

.s4-dfe-v3__showroom-route p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 12px;
  line-height: 1.55;
}

.s4-dfe-v3__showroom-principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 26px;
}

.s4-dfe-v3__showroom-principles > div {
  padding: 15px 17px;
  background: #303234;
  border-left: 4px solid #ffd633;
}

.s4-dfe-v3__showroom-principles strong {
  display: block;
  color: #fff;
  font-size: 11.5px;
}

.s4-dfe-v3__showroom-principles span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.67);
  font-size: 10.5px;
}

.s4-dfe-v3__visual-board {
  display: grid;
  gap: 24px;
}

.s4-dfe-v3__visual-lower {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  gap: 24px;
}

.s4-dfe-v3__viz-card {
  position: relative;
  overflow: hidden;
  padding: 32px;
  background: var(--s4-white);
  border: 1px solid var(--s4-line);
  border-radius: 22px;
  box-shadow: 0 14px 42px rgba(48, 50, 52, 0.1);
  transition:
    transform 0.35s var(--s4-ease),
    box-shadow 0.35s var(--s4-ease);
}

.s4-dfe-v3__viz-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 52px rgba(48, 50, 52, 0.15);
}

.s4-dfe-v3__viz-card:after {
  content: "";
  position: absolute;
  right: -58px;
  bottom: -58px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255, 214, 51, 0.48);
  border-radius: 50%;
  pointer-events: none;
}

.s4-dfe-v3__viz-head {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.s4-dfe-v3__viz-head strong {
  display: block;
  color: var(--s4-brown);
  font-size: 1.08rem;
}

.s4-dfe-v3__viz-head span {
  display: block;
  margin-top: 4px;
  color: var(--s4-gray);
  font-size: 11px;
}

.s4-dfe-v3__viz-code {
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s4-dfe-v3__viz-large {
  min-height: 560px;
  border-top: 7px solid var(--s4-gold);
}

.s4-dfe-v3__viz-copy {
  position: relative;
  z-index: 2;
  margin: 22px 0 0;
  color: var(--s4-gray);
  font-size: 12px;
}

.s4-dfe-v3__viz-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 16px;
  color: var(--s4-gray);
  font-size: 11px;
}

.s4-dfe-v3__viz-legend span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.s4-dfe-v3__viz-legend i {
  width: 22px;
  height: 3px;
  background: var(--s4-brown);
}

.s4-dfe-v3__viz-legend .s4-dfe-v3__alt {
  background: var(--s4-gold);
}

.s4-dfe-v3__chart-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: -2px 0 22px;
}

.s4-dfe-v3__chart-control {
  padding: 8px 12px;
  border: 1px solid var(--s4-line);
  border-radius: 999px;
  color: var(--s4-brown);
  background: var(--s4-white);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
}

.s4-dfe-v3__chart-control[aria-pressed="true"] {
  color: var(--s4-white);
  background: var(--s4-brown);
  border-color: var(--s4-brown);
}

.s4-dfe-v3__cash-chart {
  position: relative;
  padding: 18px 14px 4px;
  background: linear-gradient(180deg, rgba(226, 237, 243, 0.62), rgba(255, 255, 255, 0.2));
  border-radius: 16px;
}

.s4-dfe-v3__viz-large svg {
  display: block;
  width: 100%;
  height: 330px;
  overflow: visible;
}

.s4-dfe-v3__axis {
  stroke: rgba(66, 49, 19, 0.13);
  stroke-width: 1;
}

.s4-dfe-v3__axis-label {
  fill: var(--s4-gray);
  font-size: 10px;
  font-weight: 700;
}

.s4-dfe-v3__cash-area {
  fill: url(#s4DfeCashArea);
  opacity: 0;
  transition: opacity 0.8s var(--s4-ease);
}

.s4-dfe-v3__cash-main,
.s4-dfe-v3__cash-alt {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.s4-dfe-v3__cash-main {
  stroke: var(--s4-brown);
  stroke-width: 5;
  stroke-dasharray: 1400;
  stroke-dashoffset: 1400;
}

.s4-dfe-v3__cash-alt {
  stroke: var(--s4-gold);
  stroke-width: 4;
  stroke-dasharray: 10 10;
  opacity: 0.95;
}

.s4-dfe-v3__viz-large.is-visible .s4-dfe-v3__cash-main {
  animation: s4DfeDrawLine 1.5s var(--s4-ease) 0.15s forwards;
}

.s4-dfe-v3__viz-large.is-visible .s4-dfe-v3__cash-area {
  opacity: 1;
}

.s4-dfe-v3__chart-dot {
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transition:
    opacity 0.45s var(--s4-ease),
    transform 0.45s var(--s4-ease);
}

.s4-dfe-v3__viz-large.is-visible .s4-dfe-v3__chart-dot {
  opacity: 1;
  animation: s4DfeDotIn 0.55s var(--s4-ease) 1.2s both;
}

.s4-dfe-v3__viz-large.is-base-muted .s4-dfe-v3__cash-main,
.s4-dfe-v3__viz-large.is-base-muted .s4-dfe-v3__cash-area {
  opacity: 0.12;
}

.s4-dfe-v3__viz-large.is-pressure-muted .s4-dfe-v3__cash-alt {
  opacity: 0.12;
}

@keyframes s4DfeDrawLine {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes s4DfeDotIn {
  0% {
    transform: scale(0.2);
  }
  70% {
    transform: scale(1.25);
  }
  100% {
    transform: scale(1);
  }
}

.s4-dfe-v3__unit-chart {
  display: grid;
  gap: 15px;
  margin-top: 8px;
}

.s4-dfe-v3__unit-row {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  align-items: center;
}

.s4-dfe-v3__unit-row > span {
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.s4-dfe-v3__unit-bars {
  display: grid;
  gap: 5px;
}

.s4-dfe-v3__unit-bar {
  width: 0;
  height: 9px;
  border-radius: 999px;
  background: var(--s4-brown);
  transition: width 1s var(--s4-ease);
}

.s4-dfe-v3__unit-bar--current {
  background: var(--s4-gold);
  transition-delay: 0.16s;
}

.s4-dfe-v3__viz-card.is-visible .s4-dfe-v3__unit-bar {
  width: var(--s4-width);
}

.s4-dfe-v3__signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.s4-dfe-v3__signal {
  position: relative;
  min-height: 102px;
  padding: 16px;
  background: var(--s4-ivory);
  border: 1px solid transparent;
  border-radius: 14px;
  transition:
    transform 0.28s var(--s4-ease),
    background 0.28s var(--s4-ease),
    border-color 0.28s var(--s4-ease);
}

.s4-dfe-v3__signal:hover,
.s4-dfe-v3__signal:focus-within {
  transform: translateY(-4px);
  background: var(--alice);
  border-color: rgba(66, 49, 19, 0.16);
}

.s4-dfe-v3__signal i {
  display: block;
  width: 10px;
  height: 10px;
  margin-bottom: 13px;
  border: 3px solid var(--s4-gold);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 214, 51, 0.16);
}

.s4-dfe-v3__signal strong {
  display: block;
  color: var(--s4-brown);
  font-size: 12px;
}

.s4-dfe-v3__signal span {
  display: block;
  margin-top: 5px;
  color: var(--s4-gray);
  font-size: 10px;
  line-height: 1.4;
}

/* ----- Method / steps ----- */
.s4-dfe-v3__method {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 68px;
  align-items: start;
}

.s4-dfe-v3__method-copy {
  position: sticky;
  top: calc(var(--s4-nav) + 28px);
}

.s4-dfe-v3__method-copy h2 {
  margin: 14px 0;
  color: var(--s4-brown);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1.12;
}

.s4-dfe-v3__method-copy p {
  color: var(--s4-gray);
}

.s4-dfe-v3__steps {
  display: grid;
}

.s4-dfe-v3__step {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  padding: 28px 0;
  border-top: 1px solid var(--s4-line);
}

.s4-dfe-v3__step:last-child {
  border-bottom: 1px solid var(--s4-line);
}

.s4-dfe-v3__step-number {
  color: var(--s4-gold);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.s4-dfe-v3__step h3 {
  margin-bottom: 8px;
  color: var(--s4-navy);
  font-size: 1.15rem;
}

.s4-dfe-v3__step p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 14px;
}

/* ----- Difference / principles ----- */
.s4-dfe-v3__difference {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.s4-dfe-v3__difference h2 {
  margin: 14px 0 18px;
  color: var(--s4-white);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1.12;
}

.s4-dfe-v3__principles {
  display: grid;
  gap: 12px;
}

.s4-dfe-v3__principle {
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.075);
  border-left: 4px solid var(--s4-gold);
}

.s4-dfe-v3__principle strong {
  display: block;
  margin-bottom: 4px;
  color: var(--s4-white);
}

.s4-dfe-v3__principle span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
}

/* ----- Fit ----- */
.s4-dfe-v3__fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.s4-dfe-v3__fit {
  padding: 34px;
  background: var(--s4-white);
  border-top: 5px solid var(--s4-gold);
  box-shadow: var(--s4-shadow);
}

.s4-dfe-v3__fit h3 {
  margin-bottom: 18px;
  color: var(--s4-navy);
  font-size: 1.35rem;
}

.s4-dfe-v3__fit ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.s4-dfe-v3__fit li {
  position: relative;
  padding-left: 20px;
  color: var(--s4-gray);
  font-size: 14px;
}

.s4-dfe-v3__fit li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 3px;
  background: var(--s4-gold);
}

/* ----- Team ----- */
.s4-dfe-v3__team-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 56px;
  align-items: start;
}

.s4-dfe-v3__team-copy h2 {
  margin: 14px 0 16px;
  color: var(--s4-brown);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1.12;
}

.s4-dfe-v3__team-copy p {
  color: var(--s4-gray);
}

.s4-dfe-v3__team-copy .s4-home-v3__btn {
  margin-top: 18px;
}

.s4-dfe-v3__team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.s4-dfe-v3__team-grid article {
  min-height: 155px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--s4-line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(48, 50, 52, 0.06);
}

.s4-dfe-v3__team-grid article strong {
  display: block;
  color: var(--s4-brown);
  font-size: 13px;
}

.s4-dfe-v3__team-grid article span {
  display: block;
  margin-top: 7px;
  color: var(--s4-gray);
  font-size: 12px;
}

.s4-dfe-v3__team-note {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: var(--s4-ivory);
  border-left: 4px solid #ffd633;
  color: var(--s4-gray);
  font-size: 12px;
}

.s4-dfe-v3__team-note strong {
  color: var(--s4-brown);
}

/* ----- FAQ ----- */
.s4-dfe-v3__faq {
  display: grid;
  gap: 12px;
}

.s4-dfe-v3__faq details {
  padding: 0 24px;
  background: var(--s4-white);
  border: 1px solid var(--s4-line);
}

.s4-dfe-v3__faq summary {
  cursor: pointer;
  padding: 22px 36px 22px 0;
  color: var(--s4-navy);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  list-style: none;
  position: relative;
}

.s4-dfe-v3__faq summary::-webkit-details-marker {
  display: none;
}

.s4-dfe-v3__faq summary:after {
  content: "+";
  position: absolute;
  right: 0;
  top: 17px;
  color: var(--s4-gold);
  font-size: 24px;
}

.s4-dfe-v3__faq details[open] summary:after {
  content: "−";
}

.s4-dfe-v3__faq details p {
  padding: 0 0 22px;
  margin: 0;
  color: var(--s4-gray);
  font-size: 14px;
}

/* ----- Contact + GHL ----- */
.s4-dfe-v3__contact {
  padding: 96px 0;
  color: var(--s4-white);
  background: linear-gradient(135deg, var(--s4-navy), rgb(66, 49, 19));
}

.s4-dfe-v3__contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}

.s4-dfe-v3__contact-copy {
  position: sticky;
  top: calc(var(--s4-nav) + 28px);
}

.s4-dfe-v3__contact .s4-home-v3__eyebrow {
  color: #fff;
}

.s4-dfe-v3__contact .s4-home-v3__eyebrow:before {
  background: var(--s4-gold);
}

.s4-dfe-v3__contact h2 {
  margin: 14px 0;
  color: var(--s4-white);
  font-size: clamp(1.85rem, 3.2vw, 2.75rem);
  letter-spacing: -0.035em;
  text-transform: uppercase;
  line-height: 1.12;
}

.s4-dfe-v3__contact-copy > p {
  color: rgba(255, 255, 255, 0.72);
}

.s4-dfe-v3__contact-points {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.s4-dfe-v3__contact-points span {
  display: flex;
  gap: 12px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 14px;
}

.s4-dfe-v3__contact-points span:before {
  content: "";
  width: 16px;
  height: 3px;
  margin-top: 0.72em;
  flex: 0 0 auto;
  background: var(--s4-gold);
}

.s4-dfe-v3__form {
  padding: 34px;
  color: var(--s4-text);
  background: var(--s4-white);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.22);
}

.s4-dfe-v3__ghl-intro .s4-home-v3__eyebrow {
  color: var(--s4-brown);
}

.s4-dfe-v3__ghl-intro .s4-home-v3__eyebrow:before {
  background: var(--s4-navy);
}

.s4-dfe-v3__ghl-intro h3 {
  margin: 12px 0 0;
  color: var(--s4-navy);
  font-size: 1.45rem;
}

.s4-dfe-v3__ghl-intro p {
  margin: 10px 0 0;
  color: var(--s4-gray);
  font-size: 14px;
}

.s4-dfe-v3__ghl {
  margin-top: 22px;
  width: 100%;
  min-height: 1120px;
  border-radius: 8px;
  overflow: visible;
  background: #fff;
}

.s4-dfe-v3__ghl iframe {
  display: block;
  width: 100%;
  min-height: 1120px;
  height: 1120px;
  border: 0;
  border-radius: 8px;
  background: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .s4-dfe-v3__cash-main {
    stroke-dashoffset: 0 !important;
    animation: none !important;
  }

  .s4-dfe-v3__cash-area,
  .s4-dfe-v3__chart-dot {
    opacity: 1 !important;
    animation: none !important;
  }

  .s4-dfe-v3__unit-bar {
    width: var(--s4-width) !important;
    transition: none !important;
  }
}

@media (max-width: 1020px) {
  .s4-dfe-v3__hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .s4-dfe-v3__hero-copy:after {
    display: none;
  }

  .s4-dfe-v3__hero-copy {
    padding: 76px 28px 64px;
  }

  .s4-dfe-v3__hero-visual,
  .s4-dfe-v3__hero-photo {
    min-height: 520px;
  }

  .s4-dfe-v3__hero-photo {
    width: 100%;
  }

  .s4-dfe-v3__hero-visual:before {
    width: 100%;
  }

  .s4-dfe-v3__pain-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s4-dfe-v3__analysis-grid {
    grid-template-columns: 1fr 1fr;
  }

  .s4-dfe-v3__method {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .s4-dfe-v3__method-copy {
    position: static;
  }

  .s4-dfe-v3__contact-copy {
    position: static;
  }

  .s4-dfe-v3__showroom-route {
    grid-template-columns: repeat(2, 1fr);
  }

  .s4-dfe-v3__showroom-route article:nth-child(2):after {
    display: none;
  }

  .s4-dfe-v3__team-layout,
  .s4-dfe-v3__difference,
  .s4-dfe-v3__contact-grid,
  .s4-dfe-v3__visual-lower {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .s4-dfe-v3__section,
  .s4-dfe-v3__contact {
    padding: 68px 0;
  }

  .s4-dfe-v3__container,
  .s4-dfe-v3__contact-pulse-inner {
    width: min(var(--s4-content-max), calc(100% - 40px));
  }

  .s4-dfe-v3__hero-copy {
    padding: 58px 24px 48px;
  }

  .s4-dfe-v3__hero-copy h1 {
    font-size: clamp(1.95rem, 8.5vw, 2.6rem);
  }

  .s4-dfe-v3__hero-actions {
    flex-direction: column;
  }

  .s4-dfe-v3__hero-actions .s4-home-v3__btn {
    width: 100%;
    justify-content: center;
  }

  .s4-dfe-v3__hero-visual,
  .s4-dfe-v3__hero-photo {
    min-height: 380px;
    height: 380px;
  }

  .s4-dfe-v3__hero-photo-card {
    right: 18px;
    bottom: 18px;
    width: calc(100% - 36px);
    padding: 20px 22px;
  }

  .s4-dfe-v3__hero-photo-card p {
    display: none;
  }

  .s4-dfe-v3__hero-visual:after {
    top: 22px;
    right: 16px;
  }

  .s4-dfe-v3__pain-grid,
  .s4-dfe-v3__deliver-grid,
  .s4-dfe-v3__fit-grid,
  .s4-dfe-v3__analysis-grid,
  .s4-dfe-v3__showroom-route,
  .s4-dfe-v3__showroom-principles,
  .s4-dfe-v3__team-grid,
  .s4-dfe-v3__signal-grid {
    grid-template-columns: 1fr;
  }

  .s4-dfe-v3__showroom-route {
    grid-template-columns: 1fr;
  }

  .s4-dfe-v3__showroom-route article:after {
    display: none !important;
  }

  .s4-dfe-v3__phase {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 30px 0;
  }

  .s4-dfe-v3__phase-tag,
  .s4-dfe-v3__phase h3,
  .s4-dfe-v3__phase p,
  .s4-dfe-v3__phase ul,
  .s4-dfe-v3__phase-time {
    grid-column: 1;
    grid-row: auto;
  }

  .s4-dfe-v3__phase-tag {
    font-size: 2rem;
  }

  .s4-dfe-v3__viz-card {
    padding: 24px;
  }

  .s4-dfe-v3__viz-large {
    min-height: 420px;
  }

  .s4-dfe-v3__viz-large svg {
    height: 250px;
  }

  .s4-dfe-v3__unit-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .s4-dfe-v3__contact-pulse {
    padding: 26px 0;
  }

  .s4-dfe-v3__contact-pulse-inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .s4-dfe-v3__contact-pulse .s4-home-v3__btn {
    width: 100%;
    justify-content: center;
  }

  .s4-dfe-v3__team-note {
    grid-column: auto;
  }

  .s4-dfe-v3__form {
    padding: 26px 20px;
  }

  .s4-dfe-v3__ghl,
  .s4-dfe-v3__ghl iframe {
    min-height: 1280px;
    height: 1280px;
  }
}

/* ========== DIRECCIÓN ESTRATÉGICA PATRIMONIAL (DEP)
   Root uses .s4-dfe-v3.s4-dep-v3 — inherits DFE layout.
   Only DEP-unique pieces live here (trust, map, pilot, hero card grid).
   ============================================================ */

.s4-dep-v3.s4-dfe-v3 > .s4-dfe-v3__hero:before {
  content: "PATRIMONIO";
}

.s4-dep-v3__hero-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 14px;
}

.s4-dep-v3__hero-card-grid span {
  padding: 7px 8px;
  background: rgba(255, 214, 51, 0.18);
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-align: center;
  text-transform: uppercase;
}

/* Trust strip */
.s4-dep-v3__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--s4-navy);
  color: #fff;
}

.s4-dep-v3__trust-item {
  padding: 24px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.s4-dep-v3__trust-item:last-child {
  border-right: 0;
}

.s4-dep-v3__trust-item strong {
  display: block;
  color: var(--s4-yellow);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.s4-dep-v3__trust-item span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Situar / mapa patrimonial */
.s4-dep-v3__map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: center;
}

.s4-dep-v3__map-copy h2 {
  margin: 0 0 18px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.s4-dep-v3__map-copy p {
  margin: 0;
  color: rgba(36, 36, 36, 0.66);
  font-size: 1.02rem;
}

.s4-dep-v3__map-copy ul {
  display: grid;
  gap: 10px;
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.s4-dep-v3__map-copy li {
  position: relative;
  padding-left: 19px;
  color: var(--s4-text, #242424);
  font-size: 13.5px;
}

.s4-dep-v3__map-copy li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 8px;
  height: 3px;
  background: var(--s4-yellow);
}

.s4-dep-v3__map {
  position: relative;
  min-height: 470px;
  background: linear-gradient(145deg, #fff, var(--s4-alice));
  box-shadow: 0 16px 48px rgba(48, 50, 52, 0.1);
  overflow: hidden;
}

.s4-dep-v3__map:before,
.s4-dep-v3__map:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(66, 49, 19, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.s4-dep-v3__map:before {
  width: 390px;
  height: 390px;
}

.s4-dep-v3__map:after {
  width: 260px;
  height: 260px;
}

.s4-dep-v3__map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  transform: translate(-50%, -50%);
  border: 7px solid var(--s4-yellow);
  border-radius: 50%;
  background: var(--s4-charcoal);
  color: #fff;
  text-align: center;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.s4-dep-v3__map-node {
  position: absolute;
  z-index: 2;
  width: 120px;
  padding: 11px 9px;
  background: #fff;
  color: var(--s4-brown);
  box-shadow: 0 7px 23px rgba(48, 50, 52, 0.1);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.s4-dep-v3__map-node--1 { left: 8%; top: 15%; }
.s4-dep-v3__map-node--2 { right: 8%; top: 15%; }
.s4-dep-v3__map-node--3 { left: 6%; bottom: 17%; }
.s4-dep-v3__map-node--4 { right: 6%; bottom: 17%; }
.s4-dep-v3__map-node--5 { left: 50%; top: 7%; transform: translateX(-50%); }
.s4-dep-v3__map-node--6 { left: 50%; bottom: 7%; transform: translateX(-50%); }

/* Piloto 4 meses */
.s4-dep-v3__pilot {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.s4-dep-v3__month {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--s4-line, rgba(66, 49, 19, 0.12));
}

.s4-dep-v3__month span {
  color: var(--s4-yellow);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s4-dep-v3__month h3 {
  margin: 15px 0 7px;
  color: var(--s4-brown);
  font-size: 1.08rem;
}

.s4-dep-v3__month p {
  margin: 0;
  color: var(--s4-bluegray);
  font-size: 12.5px;
}

@media (max-width: 980px) {
  .s4-dep-v3__map-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .s4-dep-v3__pilot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .s4-dep-v3__trust {
    grid-template-columns: 1fr;
  }

  .s4-dep-v3__trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .s4-dep-v3__trust-item:last-child {
    border-bottom: 0;
  }

  .s4-dep-v3__map {
    min-height: 410px;
  }

  .s4-dep-v3__map:before {
    width: 335px;
    height: 335px;
  }

  .s4-dep-v3__map:after {
    width: 220px;
    height: 220px;
  }

  .s4-dep-v3__pilot {
    grid-template-columns: 1fr;
  }

  .s4-dep-v3__hero-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ========== GESTIÓN FINANCIERA PERSONAL (GFP)
   Root uses .s4-dfe-v3.s4-gfp-v3 — inherits DFE layout.
   Only GFP-unique pieces live here (trust, map, method, scenarios).
   ============================================================ */

.s4-gfp-v3.s4-dfe-v3 > .s4-dfe-v3__hero:before {
  content: "ORDEN";
}

/* Trust strip — Orden / Anticipación / Autonomía */
.s4-gfp-v3__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--s4-navy);
  color: #fff;
}

.s4-gfp-v3__trust-item {
  padding: 24px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.s4-gfp-v3__trust-item:last-child {
  border-right: 0;
}

.s4-gfp-v3__trust-item strong {
  display: block;
  color: var(--s4-yellow);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
}

.s4-gfp-v3__trust-item span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* Una sola lectura / plan financiero */
.s4-gfp-v3__map-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 58px;
  align-items: center;
}

.s4-gfp-v3__map-copy h2 {
  margin: 0 0 18px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.s4-gfp-v3__map-copy p {
  margin: 0;
  color: rgba(36, 36, 36, 0.66);
  font-size: 1.02rem;
}

.s4-gfp-v3__map {
  position: relative;
  min-height: 470px;
  background: linear-gradient(145deg, #fff, var(--s4-alice));
  box-shadow: 0 16px 48px rgba(48, 50, 52, 0.1);
  overflow: hidden;
}

.s4-gfp-v3__map:before,
.s4-gfp-v3__map:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(66, 49, 19, 0.1);
  border-radius: 50%;
  pointer-events: none;
}

.s4-gfp-v3__map:before {
  width: 390px;
  height: 390px;
}

.s4-gfp-v3__map:after {
  width: 260px;
  height: 260px;
}

.s4-gfp-v3__map-center {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 122px;
  height: 122px;
  transform: translate(-50%, -50%);
  border: 7px solid var(--s4-yellow);
  border-radius: 50%;
  background: var(--s4-charcoal);
  color: #fff;
  text-align: center;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.25;
}

.s4-gfp-v3__map-node {
  position: absolute;
  z-index: 2;
  width: 120px;
  padding: 11px 9px;
  background: #fff;
  color: var(--s4-brown);
  box-shadow: 0 7px 23px rgba(48, 50, 52, 0.1);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 9px;
  letter-spacing: 0.04em;
  text-align: center;
  text-transform: uppercase;
}

.s4-gfp-v3__map-node--1 { left: 8%; top: 15%; }
.s4-gfp-v3__map-node--2 { right: 8%; top: 15%; }
.s4-gfp-v3__map-node--3 { left: 6%; bottom: 17%; }
.s4-gfp-v3__map-node--4 { right: 6%; bottom: 17%; }
.s4-gfp-v3__map-node--5 { left: 50%; top: 7%; transform: translateX(-50%); }
.s4-gfp-v3__map-node--6 { left: 50%; bottom: 7%; transform: translateX(-50%); }

/* Cinco hitos */
.s4-gfp-v3__method {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 13px;
}

.s4-gfp-v3__hito {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--s4-line, rgba(66, 49, 19, 0.12));
}

.s4-gfp-v3__hito span {
  color: var(--s4-yellow);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s4-gfp-v3__hito h3 {
  margin: 15px 0 7px;
  color: var(--s4-brown);
  font-size: 1.08rem;
}

.s4-gfp-v3__hito p {
  margin: 0;
  color: var(--s4-bluegray);
  font-size: 12.5px;
}

/* Antes de decidir / escenarios */
.s4-gfp-v3__compare {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 48px;
  align-items: center;
}

.s4-gfp-v3__compare-copy h2 {
  margin: 0 0 18px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.s4-gfp-v3__compare-copy p {
  margin: 0;
  color: rgba(36, 36, 36, 0.66);
  font-size: 1.02rem;
}

.s4-gfp-v3__scenarios {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.s4-gfp-v3__scenario {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--s4-line, rgba(66, 49, 19, 0.12));
  border-top: 3px solid var(--s4-yellow);
}

.s4-gfp-v3__scenario strong {
  display: block;
  margin-bottom: 8px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 1.05rem;
}

.s4-gfp-v3__scenario span {
  display: block;
  color: var(--s4-bluegray);
  font-size: 13px;
  line-height: 1.45;
}

.s4-gfp-v3 .s4-dfe-v3__difference .s4-home-v3__btn--secondary {
  margin-top: 22px;
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.s4-gfp-v3 .s4-dfe-v3__difference .s4-home-v3__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

@media (max-width: 1100px) {
  .s4-gfp-v3__method {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .s4-gfp-v3__map-layout,
  .s4-gfp-v3__compare {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .s4-gfp-v3__method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .s4-gfp-v3__trust {
    grid-template-columns: 1fr;
  }

  .s4-gfp-v3__trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .s4-gfp-v3__trust-item:last-child {
    border-bottom: 0;
  }

  .s4-gfp-v3__map {
    min-height: 410px;
  }

  .s4-gfp-v3__map:before {
    width: 335px;
    height: 335px;
  }

  .s4-gfp-v3__map:after {
    width: 220px;
    height: 220px;
  }

  .s4-gfp-v3__method,
  .s4-gfp-v3__scenarios {
    grid-template-columns: 1fr;
  }
}



/* ========== GESTION FINANCIERA DE INVERSIONES / Portafolio Institucional Independiente
   Root uses .s4-dfe-v3.s4-gfi-v3 - inherits DFE layout.
   CSS portfolio visual (no photo) + GFI-unique sections.
   ============================================================ */

.s4-gfi-v3.s4-dfe-v3 > .s4-dfe-v3__hero:before {
  content: "PORTAFOLIO";
}

/* Hero: CSS portfolio visual instead of photo */
.s4-gfi-v3 .s4-dfe-v3__hero-visual.s4-gfi-v3__portfolio-visual {
  display: flex;
  align-items: center;
  min-height: 520px;
  padding: 38px;
  background: linear-gradient(145deg, #e2edf3, #f6f7f7 62%, #f1eee8);
  overflow: hidden;
}

.s4-gfi-v3 .s4-dfe-v3__hero-visual.s4-gfi-v3__portfolio-visual:before {
  background: linear-gradient(145deg, #e2edf3, #f6f7f7 62%, #f1eee8);
}

.s4-gfi-v3 .s4-dfe-v3__hero-visual.s4-gfi-v3__portfolio-visual:after {
  content: "S4  /  PORTAFOLIO";
  color: rgba(66, 49, 19, 0.35);
}

.s4-gfi-v3__investment-board {
  position: relative;
  z-index: 2;
  width: 100%;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 12px;
  align-content: center;
}

.s4-gfi-v3__allocation {
  padding: 24px;
  background: #fff;
  border-top: 7px solid var(--s4-gold);
  box-shadow: 0 22px 54px rgba(48, 50, 52, 0.12);
  border-radius: 17px;
}

.s4-gfi-v3__allocation small,
.s4-gfi-v3__port-card small {
  display: block;
  color: var(--s4-gray);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 8.5px;
  font-weight: normal;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.s4-gfi-v3__allocation h3 {
  margin: 10px 0 18px;
  color: var(--s4-brown);
  font-size: 1.3rem;
  text-transform: none;
  letter-spacing: -0.02em;
}

.s4-gfi-v3__ring {
  position: relative;
  width: 190px;
  height: 190px;
  margin: 6px auto 18px;
  border-radius: 50%;
  background: conic-gradient(
    #303234 0 28%,
    #ffd633 28% 49%,
    #8b97a2 49% 71%,
    #e2edf3 71% 100%
  );
}

.s4-gfi-v3__ring:after {
  content: "Portafolio";
  position: absolute;
  inset: 33px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.s4-gfi-v3__allocation-legend {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.s4-gfi-v3__allocation-legend span {
  padding: 8px;
  background: var(--s4-soft);
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 8.5px;
  font-weight: normal;
  text-align: center;
  text-transform: uppercase;
}

.s4-gfi-v3__port-stack {
  display: grid;
  gap: 10px;
}

.s4-gfi-v3__port-card {
  padding: 19px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px rgba(48, 50, 52, 0.08);
  border-radius: 14px;
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.s4-gfi-v3__port-card small {
  transition: color 0.25s ease;
}

.s4-gfi-v3__port-card strong {
  display: block;
  margin-top: 7px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.2;
  transition: color 0.25s ease;
}

.s4-gfi-v3__port-card p {
  margin: 6px 0 0;
  color: var(--s4-gray);
  font-size: 10.5px;
  transition: color 0.25s ease;
}

.s4-gfi-v3__port-card:hover {
  background: #303234;
  box-shadow: 0 14px 34px rgba(48, 50, 52, 0.18);
  transform: translateY(-2px);
}

.s4-gfi-v3__port-card:hover small {
  color: var(--s4-gold);
}

.s4-gfi-v3__port-card:hover strong {
  color: #fff;
}

.s4-gfi-v3__port-card:hover p {
  color: rgba(255, 255, 255, 0.64);
}

/* Trust bar */
.s4-gfi-v3__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--s4-navy, #002035);
  color: #fff;
}

.s4-gfi-v3__trust-item {
  padding: 24px 30px;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.s4-gfi-v3__trust-item:last-child {
  border-right: 0;
}

.s4-gfi-v3__trust-item strong {
  display: block;
  color: var(--s4-gold);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: normal;
}

.s4-gfi-v3__trust-item span {
  display: block;
  margin-top: 7px;
  color: rgba(255, 255, 255, 0.7);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  font-weight: normal;
}

/* Cases grid */
.s4-gfi-v3__cases {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.s4-gfi-v3__case {
  padding: 26px;
  background: #fff;
  border: 1px solid var(--s4-line);
  border-top: 5px solid var(--s4-gold);
}

.s4-gfi-v3__case small {
  color: var(--s4-gray);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 8.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: normal;
}

.s4-gfi-v3__case h3 {
  margin: 14px 0 7px;
  color: var(--s4-brown);
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: -0.02em;
}

.s4-gfi-v3__case p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 12px;
}

/* Method 4-col */
.s4-gfi-v3__method {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--s4-line);
  border: 1px solid var(--s4-line);
}

.s4-gfi-v3__phase {
  position: relative;
  padding: 25px 20px;
  background: #fff;
  min-height: 225px;
}

.s4-gfi-v3__phase:not(:last-child):after {
  content: "�";
  position: absolute;
  right: -10px;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--s4-gold);
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
  font-size: 14px;
  line-height: 1;
}

.s4-gfi-v3__phase span {
  color: var(--s4-gold);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 9px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: normal;
}

.s4-gfi-v3__phase h3 {
  margin: 15px 0 8px;
  color: var(--s4-brown);
  font-size: 1.05rem;
  text-transform: none;
  letter-spacing: -0.02em;
}

.s4-gfi-v3__phase p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 11.5px;
}

.s4-gfi-v3__phase ul {
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 6px;
}

.s4-gfi-v3__phase li {
  position: relative;
  padding-left: 13px;
  color: var(--s4-text);
  font-size: 10.5px;
}

.s4-gfi-v3__phase li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 2px;
  background: var(--s4-gold);
}

/* Roles / dise�o por funci�n */
.s4-gfi-v3__section--alice {
  background: var(--alice, #e2edf3);
}

.s4-gfi-v3__roles-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 54px;
  align-items: center;
}

.s4-gfi-v3__roles-copy h2 {
  margin: 14px 0 16px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: normal;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.s4-gfi-v3__roles-copy p {
  margin: 0;
  color: rgba(36, 36, 36, 0.65);
  font-size: 1.02rem;
}

.s4-gfi-v3__capital-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.s4-gfi-v3__capital-role {
  padding: 23px;
  background: #fff;
  border: 1px solid var(--s4-line);
  box-shadow: 0 8px 22px rgba(48, 50, 52, 0.05);
}

.s4-gfi-v3__capital-role small {
  color: var(--s4-gray);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 8.5px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.s4-gfi-v3__capital-role strong {
  display: block;
  margin-top: 8px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 1.05rem;
  font-weight: normal;
}

.s4-gfi-v3__capital-role p {
  margin: 6px 0 0;
  color: var(--s4-gray);
  font-size: 11.5px;
}

/* Implementation dark */
.s4-gfi-v3__implementation {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 52px;
  align-items: center;
}

.s4-gfi-v3__implementation h2 {
  margin: 14px 0 16px;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.s4-gfi-v3__implementation > div > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.02rem;
}

.s4-gfi-v3__impl-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.s4-gfi-v3__impl-item {
  padding: 18px;
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--s4-gold);
}

.s4-gfi-v3__impl-item strong {
  display: block;
  color: #fff;
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12px;
  font-weight: normal;
}

.s4-gfi-v3__impl-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11px;
}

.s4-gfi-v3__control-note {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: rgba(255, 214, 51, 0.12);
  border: 1px solid rgba(255, 214, 51, 0.28);
  color: #fff;
  font-size: 11.5px;
}

.s4-gfi-v3__control-note strong {
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-weight: normal;
}

/* Deliverables */
.s4-gfi-v3__deliver {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.s4-gfi-v3__deliver-item {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--s4-line);
}

.s4-gfi-v3__deliver-item small {
  color: var(--s4-gold);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 9px;
  letter-spacing: 0.08em;
  font-weight: normal;
}

.s4-gfi-v3__deliver-item h3 {
  margin: 13px 0 6px;
  color: var(--s4-brown);
  font-size: 1rem;
  text-transform: none;
  letter-spacing: -0.02em;
}

.s4-gfi-v3__deliver-item p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 11.5px;
}

/* Team */
.s4-gfi-v3__team {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 54px;
  align-items: start;
}

.s4-gfi-v3__team-copy h2 {
  margin: 14px 0 16px;
  color: var(--s4-brown);
  font-family: "Sofia Pro Black", "Sofia Pro Bold", sans-serif;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: normal;
  letter-spacing: -0.04em;
  line-height: 1.08;
  text-transform: uppercase;
}

.s4-gfi-v3__team-copy p {
  margin: 0 0 22px;
  color: rgba(36, 36, 36, 0.65);
  font-size: 1.02rem;
}

.s4-gfi-v3__team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.s4-gfi-v3__cap {
  padding: 22px;
  background: #fff;
  border: 1px solid var(--s4-line);
  border-radius: 15px;
}

.s4-gfi-v3__cap strong {
  display: block;
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 12.5px;
  font-weight: normal;
}

.s4-gfi-v3__cap span {
  display: block;
  margin-top: 6px;
  color: var(--s4-gray);
  font-size: 11.5px;
}

.s4-gfi-v3__team-note {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: var(--s4-soft);
  border-left: 4px solid var(--s4-gold);
  color: var(--s4-gray);
  font-size: 12px;
}

/* Compare service cards */
.s4-gfi-v3__compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.s4-gfi-v3__service-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--s4-line);
}

.s4-gfi-v3__service-card--current {
  border-top: 6px solid var(--s4-gold);
}

.s4-gfi-v3__service-card--next {
  background: #303234;
  color: #fff;
  border-color: #303234;
}

.s4-gfi-v3__service-card small {
  color: var(--s4-gray);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 8.5px;
  font-weight: normal;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.s4-gfi-v3__service-card--next small {
  color: var(--s4-gold);
}

.s4-gfi-v3__service-card h3 {
  margin: 14px 0 8px;
  color: var(--s4-brown);
  font-size: 1.25rem;
  text-transform: none;
  letter-spacing: -0.02em;
}

.s4-gfi-v3__service-card--next h3 {
  color: #fff;
}

.s4-gfi-v3__service-card p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 12.5px;
}

.s4-gfi-v3__service-card--next p {
  color: rgba(255, 255, 255, 0.67);
}

/* Outline buttons on dark / soft */
.s4-gfi-v3__service-card--next .s4-home-v3__btn--secondary {
  margin-top: 22px;
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.s4-gfi-v3__service-card--next .s4-home-v3__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

.s4-gfi-v3__team-copy .s4-home-v3__btn--secondary {
  background: transparent;
  color: var(--s4-brown);
  border-color: rgba(66, 49, 19, 0.48);
}

.s4-gfi-v3__team-copy .s4-home-v3__btn--secondary:hover {
  background: rgba(66, 49, 19, 0.06);
  color: var(--s4-brown);
  border-color: var(--s4-brown);
}

/* GHL form heights for GFI — overflow hidden evita que el iframe
   sobresalga al footer si GHL reescribe la altura */
.s4-gfi-v3 .s4-dfe-v3__form--ghl {
  overflow: hidden;
}

.s4-gfi-v3__ghl,
.s4-gfi-v3__ghl iframe {
  min-height: 820px;
  height: 820px;
  overflow: hidden;
}

@media (max-width: 1080px) {
  .s4-gfi-v3__cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s4-gfi-v3__method {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s4-gfi-v3__phase:nth-child(2):after {
    display: none;
  }

  .s4-gfi-v3__deliver {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .s4-gfi-v3__roles-layout,
  .s4-gfi-v3__implementation,
  .s4-gfi-v3__team {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .s4-gfi-v3 .s4-dfe-v3__hero-visual.s4-gfi-v3__portfolio-visual {
    min-height: 430px;
  }
}

@media (max-width: 700px) {
  .s4-gfi-v3 .s4-dfe-v3__hero-visual.s4-gfi-v3__portfolio-visual {
    min-height: 360px;
    height: 360px;
    padding: 16px;
  }

  .s4-gfi-v3__investment-board {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .s4-gfi-v3__allocation {
    grid-column: 1 / -1;
    padding: 15px;
  }

  .s4-gfi-v3__allocation h3 {
    font-size: 1rem;
    margin-bottom: 8px;
  }

  .s4-gfi-v3__ring {
    width: 115px;
    height: 115px;
    margin: 4px auto 10px;
  }

  .s4-gfi-v3__ring:after {
    inset: 22px;
    font-size: 7.5px;
  }

  .s4-gfi-v3__allocation-legend {
    display: none;
  }

  .s4-gfi-v3__port-stack {
    display: contents;
  }

  .s4-gfi-v3__port-card {
    padding: 13px;
  }

  .s4-gfi-v3__port-card strong {
    font-size: 0.86rem;
  }

  .s4-gfi-v3__port-card p {
    display: none;
  }

  .s4-gfi-v3__trust {
    grid-template-columns: 1fr;
  }

  .s4-gfi-v3__trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .s4-gfi-v3__trust-item:last-child {
    border-bottom: 0;
  }

  .s4-gfi-v3__cases,
  .s4-gfi-v3__method,
  .s4-gfi-v3__capital-map,
  .s4-gfi-v3__team-grid,
  .s4-gfi-v3__deliver,
  .s4-gfi-v3__compare,
  .s4-gfi-v3__impl-grid {
    grid-template-columns: 1fr;
  }

  .s4-gfi-v3__phase {
    min-height: 0;
  }

  .s4-gfi-v3__phase:after {
    display: none !important;
  }

  .s4-gfi-v3__control-note,
  .s4-gfi-v3__team-note {
    grid-column: auto;
  }

  .s4-gfi-v3__ghl,
  .s4-gfi-v3__ghl iframe {
    min-height: 960px;
    height: 960px;
  }
}

@media (max-width: 390px) {
  .s4-gfi-v3__ghl,
  .s4-gfi-v3__ghl iframe {
    min-height: 1000px;
    height: 1000px;
  }
}

/* ========== GOBERNANZA Y SUCESION FAMILIAR (GSF)
   Root uses .s4-dfe-v3.s4-gsf-v3 - inherits DFE layout.
   ================================================== */

.s4-gsf-v3.s4-dfe-v3 > .s4-dfe-v3__hero:before {
  content: "CONTINUIDAD";
  color: rgba(66, 49, 19, 0.022);
}

.s4-gsf-v3 .s4-dfe-v3__hero-visual.s4-gsf-v3__hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 620px;
  padding: 40px 30px 36px;
  overflow: visible;
  background: linear-gradient(145deg, #e2edf3, #f7f7f2);
}

.s4-gsf-v3 .s4-dfe-v3__hero-visual.s4-gsf-v3__hero-visual:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(255, 214, 51, 0.25), transparent 26%),
    radial-gradient(circle at 15% 84%, rgba(66, 49, 19, 0.07), transparent 28%);
  pointer-events: none;
}

.s4-gsf-v3 .s4-dfe-v3__hero-visual.s4-gsf-v3__hero-visual:after {
  display: none;
}

.s4-gsf-v3__gov-map {
  position: relative;
  width: min(500px, 100%);
  aspect-ratio: 1;
  z-index: 1;
}

.s4-gsf-v3__gov-ring {
  position: absolute;
  inset: 13%;
  border: 1px solid rgba(66, 49, 19, 0.22);
  border-radius: 50%;
}

.s4-gsf-v3__gov-ring:before,
.s4-gsf-v3__gov-ring:after {
  content: "";
  position: absolute;
  background: rgba(66, 49, 19, 0.14);
}

.s4-gsf-v3__gov-ring:before {
  left: 50%;
  top: -13%;
  bottom: -13%;
  width: 1px;
}

.s4-gsf-v3__gov-ring:after {
  top: 50%;
  left: -13%;
  right: -13%;
  height: 1px;
}

.s4-gsf-v3__gov-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  width: 142px;
  height: 142px;
  padding: 19px;
  border: 7px solid var(--s4-gold);
  border-radius: 50%;
  background: var(--s4-charcoal);
  color: #fff;
  text-align: center;
  box-shadow: 0 18px 54px rgba(48, 50, 52, 0.12);
}

.s4-gsf-v3__gov-core small {
  display: block;
  color: var(--s4-gold);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.s4-gsf-v3__gov-core strong {
  display: block;
  margin-top: 4px;
  font-size: 1.05rem;
  line-height: 1.05;
  color: #fff;
}

.s4-gsf-v3__gov-node {
  position: absolute;
  width: 120px;
  min-height: 66px;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(255, 255, 255, 0.94);
  border-top: 4px solid var(--s4-gold);
  box-shadow: 0 12px 30px rgba(48, 50, 52, 0.1);
  color: var(--s4-brown);
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.s4-gsf-v3__gov-node small {
  display: block;
  margin-bottom: 4px;
  color: #8b97a2;
  font-size: 7px;
  letter-spacing: 0.12em;
}

/* Prototype cross positions: n1 top, n2 right, n3 bottom, n4 left */
.s4-gsf-v3__gov-node--n1 {
  left: 50%;
  top: 4%;
  transform: translateX(-50%);
}

.s4-gsf-v3__gov-node--n2 {
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.s4-gsf-v3__gov-node--n3 {
  left: 50%;
  bottom: 4%;
  transform: translateX(-50%);
}

.s4-gsf-v3__gov-node--n4 {
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.s4-gsf-v3__map-caption {
  position: relative;
  z-index: 2;
  width: min(360px, 92%);
  margin: 0;
  padding: 12px 16px;
  color: rgba(36, 36, 36, 0.66);
  background: rgba(255, 255, 255, 0.92);
  border-left: 4px solid var(--s4-gold);
  font-size: 11px;
  line-height: 1.45;
  text-align: center;
  box-shadow: 0 8px 22px rgba(48, 50, 52, 0.06);
}

.s4-gsf-v3__trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--s4-navy);
  color: #fff;
}

.s4-gsf-v3__trust-item {
  padding: 20px 24px;
  border-right: 1px solid rgba(255, 255, 255, 0.14);
}

.s4-gsf-v3__trust-item:last-child {
  border-right: 0;
}

.s4-gsf-v3__trust-item strong {
  display: block;
  color: var(--s4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s4-gsf-v3__trust-item span {
  display: block;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.s4-gsf-v3__callout {
  margin-top: 22px;
  padding: 18px 22px;
  border-left: 5px solid var(--s4-gold);
  background: rgba(255, 214, 51, 0.14);
  color: var(--s4-brown);
  font-weight: 800;
}

.s4-gsf-v3__section--alice {
  background: #e2edf3;
}

.s4-gsf-v3__prediagnostic {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.s4-gsf-v3__prediagnostic-copy h2 {
  margin: 14px 0 17px;
  color: var(--s4-brown);
  font-size: clamp(2.05rem, 3.6vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  line-height: 1.08;
}

.s4-gsf-v3__prediagnostic-copy p {
  color: var(--s4-gray);
}

.s4-gsf-v3__entry-rule {
  margin-top: 23px;
  padding: 17px 19px;
  border-left: 5px solid var(--s4-gold);
  background: #fff;
  color: var(--s4-brown);
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 10px 28px rgba(48, 50, 52, 0.06);
}

.s4-gsf-v3__question-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.s4-gsf-v3__question {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.1);
}

.s4-gsf-v3__question span {
  display: block;
  color: var(--s4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.s4-gsf-v3__question strong {
  display: block;
  margin-top: 7px;
  color: var(--s4-brown);
  font-size: 1rem;
}

.s4-gsf-v3__question p {
  margin: 6px 0 0;
  color: var(--s4-gray);
  font-size: 12px;
  line-height: 1.5;
}

.s4-gsf-v3__phase-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.s4-gsf-v3__phase {
  position: relative;
  padding: 28px 28px 25px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.12);
  box-shadow: 0 10px 30px rgba(48, 50, 52, 0.07);
}

.s4-gsf-v3__phase-top {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.s4-gsf-v3__phase-number {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  color: var(--s4-brown-deep);
  background: var(--s4-gold);
  font-size: 11px;
  font-weight: 900;
}

.s4-gsf-v3__phase h3 {
  margin: 3px 0 8px;
  color: var(--s4-brown);
  font-size: 1.2rem;
  font-weight: 900;
}

.s4-gsf-v3__phase p {
  margin: 0;
  color: var(--s4-gray);
  font-size: 13px;
  line-height: 1.55;
}

.s4-gsf-v3__deliverable {
  display: block;
  margin-top: 18px;
  padding-top: 15px;
  border-top: 1px solid rgba(66, 49, 19, 0.14);
  color: var(--s4-brown);
  font-size: 11px;
  font-weight: 900;
}

.s4-gsf-v3__phase ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: var(--s4-gray);
  font-size: 12px;
  line-height: 1.55;
}

.s4-gsf-v3__phase li {
  margin: 5px 0;
}

.s4-gsf-v3__combine-note {
  margin: 22px 0 0;
  text-align: center;
  color: var(--s4-gray);
  font-size: 13px;
}

.s4-gsf-v3__outcomes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.s4-gsf-v3__outcome {
  padding: 26px;
  background: rgba(255, 255, 255, 0.045);
}

.s4-gsf-v3__outcome small {
  display: block;
  color: var(--s4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s4-gsf-v3__outcome strong {
  display: block;
  margin-top: 10px;
  color: #fff;
  font-size: 1.03rem;
}

.s4-gsf-v3__outcome p {
  margin: 7px 0 0;
  color: rgba(255, 255, 255, 0.67);
  font-size: 12px;
  line-height: 1.5;
}

.s4-gsf-v3 .s4-dfe-v3__difference .s4-home-v3__btn--secondary {
  margin-top: 22px;
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.s4-gsf-v3 .s4-dfe-v3__difference .s4-home-v3__btn--secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: #fff;
}

/* GHL form heights for GSF — overflow hidden evita que el iframe
   sobresalga al footer si GHL reescribe la altura */
.s4-gsf-v3 .s4-dfe-v3__form--ghl {
  overflow: hidden;
}

.s4-gsf-v3__ghl,
.s4-gsf-v3__ghl iframe {
  min-height: 1280px;
  height: 1280px;
  overflow: hidden;
}

@media (max-width: 1100px) {
  .s4-gsf-v3__outcomes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .s4-gsf-v3__prediagnostic {
    grid-template-columns: 1fr;
  }

  .s4-gsf-v3 .s4-dfe-v3__hero-visual.s4-gsf-v3__hero-visual {
    min-height: 500px;
  }
}

@media (max-width: 700px) {
  .s4-gsf-v3__ghl,
  .s4-gsf-v3__ghl iframe {
    min-height: 1450px;
    height: 1450px;
  }
}

@media (max-width: 620px) {
  .s4-gsf-v3 .s4-dfe-v3__hero-visual.s4-gsf-v3__hero-visual {
    min-height: 430px;
    padding: 28px 16px 24px;
    gap: 14px;
  }

  .s4-gsf-v3__gov-map {
    width: min(360px, 100%);
  }

  .s4-gsf-v3__gov-core {
    width: 112px;
    height: 112px;
    border-width: 6px;
    padding: 13px;
  }

  .s4-gsf-v3__gov-core strong {
    font-size: 0.86rem;
  }

  .s4-gsf-v3__gov-node {
    width: 96px;
    min-height: 56px;
    padding: 9px 7px;
    font-size: 8px;
  }

  .s4-gsf-v3__map-caption {
    display: none;
  }

  .s4-gsf-v3__trust,
  .s4-gsf-v3__question-grid,
  .s4-gsf-v3__phase-grid,
  .s4-gsf-v3__outcomes {
    grid-template-columns: 1fr;
  }

  .s4-gsf-v3__trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .s4-gsf-v3__trust-item:last-child {
    border-bottom: 0;
  }
}

/* ========== SEGURO PATRIMONIAL VIDA Y SALUD INTERNACIONAL (SPV)
   Root uses .s4-dfe-v3.s4-spv-v3 - inherits DFE layout.
   ============================================================== */

.s4-spv-v3.s4-dfe-v3 > .s4-dfe-v3__hero:before {
  content: "PROTECCIÓN";
  color: rgba(66, 49, 19, 0.022);
}

.s4-spv-v3 .s4-dfe-v3__hero-visual.s4-spv-v3__hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 620px;
  padding: 40px 30px;
  overflow: hidden;
  background: linear-gradient(145deg, #e2edf3, #f6f7f7 64%, #f1eee8);
}

.s4-spv-v3 .s4-dfe-v3__hero-visual.s4-spv-v3__hero-visual:before,
.s4-spv-v3 .s4-dfe-v3__hero-visual.s4-spv-v3__hero-visual:after {
  content: "";
  position: absolute;
  border: 1px solid rgba(66, 49, 19, 0.09);
  border-radius: 50%;
  pointer-events: none;
}

.s4-spv-v3 .s4-dfe-v3__hero-visual.s4-spv-v3__hero-visual:before {
  width: min(470px, 88%);
  height: min(470px, 88%);
  right: -12%;
  top: 8%;
}

.s4-spv-v3 .s4-dfe-v3__hero-visual.s4-spv-v3__hero-visual:after {
  width: min(330px, 62%);
  height: min(330px, 62%);
  right: -2%;
  top: 18%;
}

.s4-spv-v3__protection-label {
  position: absolute;
  right: 23px;
  top: 30px;
  z-index: 2;
  color: rgba(66, 49, 19, 0.4);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

.s4-spv-v3__protection-map {
  position: relative;
  width: min(520px, 100%);
  min-height: 420px;
  z-index: 1;
}

.s4-spv-v3__shield {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  width: 180px;
  height: 215px;
  transform: translate(-50%, -50%);
  clip-path: polygon(50% 0, 91% 17%, 86% 69%, 50% 100%, 14% 69%, 9% 17%);
  background: var(--s4-charcoal);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(48, 50, 52, 0.22);
}

.s4-spv-v3__shield:before {
  content: "";
  position: absolute;
  inset: 10px;
  clip-path: inherit;
  border: 4px solid var(--s4-gold);
}

.s4-spv-v3__shield span {
  position: relative;
  z-index: 2;
  max-width: 115px;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  line-height: 1.35;
}

.s4-spv-v3__protect-card {
  position: absolute;
  z-index: 4;
  width: 155px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(48, 50, 52, 0.1);
  border-top: 5px solid var(--s4-gold);
}

.s4-spv-v3__protect-card small {
  display: block;
  color: #8b97a2;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s4-spv-v3__protect-card strong {
  display: block;
  margin-top: 7px;
  color: var(--s4-brown);
  font-size: 11px;
  line-height: 1.25;
}

.s4-spv-v3__protect-card--n1 {
  left: 8%;
  top: 15%;
}

.s4-spv-v3__protect-card--n2 {
  right: 8%;
  top: 16%;
}

.s4-spv-v3__protect-card--n3 {
  left: 9%;
  bottom: 15%;
}

.s4-spv-v3__protect-card--n4 {
  right: 9%;
  bottom: 15%;
}

.s4-spv-v3__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--s4-navy);
  color: #fff;
}

.s4-spv-v3__trust-item {
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.s4-spv-v3__trust-item:last-child {
  border-right: 0;
}

.s4-spv-v3__trust-item strong {
  display: block;
  color: var(--s4-gold);
  font-size: 1.05rem;
}

.s4-spv-v3__trust-item span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.065em;
}

.s4-spv-v3__why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(66, 49, 19, 0.14);
  border: 1px solid rgba(66, 49, 19, 0.14);
}

.s4-spv-v3__why {
  padding: 27px;
  background: #fff;
}

.s4-spv-v3__why small {
  color: var(--s4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.s4-spv-v3__why h3 {
  margin: 16px 0 8px;
  color: var(--s4-brown);
  font-size: 1.08rem;
  font-weight: 900;
}

.s4-spv-v3__why p {
  margin: 0;
  color: #8b97a2;
  font-size: 12.5px;
}

.s4-spv-v3__components {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.s4-spv-v3__component {
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.14);
  border-top: 6px solid var(--s4-gold);
  box-shadow: 0 16px 44px rgba(48, 50, 52, 0.11);
}

.s4-spv-v3__component small {
  color: #8b97a2;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.s4-spv-v3__component h3 {
  margin: 14px 0 10px;
  color: var(--s4-brown);
  font-size: 1.35rem;
  font-weight: 900;
}

.s4-spv-v3__component p {
  margin: 0;
  color: rgba(36, 36, 36, 0.65);
  font-size: 13px;
}

.s4-spv-v3__checks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 15px;
}

.s4-spv-v3__check {
  padding: 9px 10px;
  background: var(--s4-soft, #f6f7f7);
  color: var(--s4-brown);
  font-size: 10px;
  font-weight: 800;
}

.s4-spv-v3__saving {
  margin-top: 16px;
  padding: 24px;
  background: var(--s4-charcoal);
  color: #fff;
  border-left: 6px solid var(--s4-gold);
}

.s4-spv-v3__saving h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
  color: #fff;
}

.s4-spv-v3__saving p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.s4-spv-v3__process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  background: rgba(66, 49, 19, 0.14);
  border: 1px solid rgba(66, 49, 19, 0.14);
}

.s4-spv-v3__process-step {
  position: relative;
  padding: 24px 18px;
  background: #fff;
  min-height: 175px;
}

.s4-spv-v3__process-step:not(:last-child):after {
  content: "›";
  position: absolute;
  right: -10px;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--s4-gold);
  color: var(--s4-brown);
  font-weight: 900;
}

.s4-spv-v3__process-step span {
  color: var(--s4-gold);
  font-size: 9px;
  font-weight: 900;
}

.s4-spv-v3__process-step h3 {
  margin: 14px 0 7px;
  color: var(--s4-brown);
  font-size: 1rem;
}

.s4-spv-v3__process-step p {
  margin: 0;
  color: #8b97a2;
  font-size: 11px;
}

.s4-spv-v3__role {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: center;
}

.s4-spv-v3__role h2 {
  margin-bottom: 16px;
  color: #fff;
}

.s4-spv-v3__role p {
  color: rgba(255, 255, 255, 0.7);
}

.s4-spv-v3__role-list {
  display: grid;
  gap: 10px;
}

.s4-spv-v3__role-item {
  padding: 17px 19px;
  background: rgba(255, 255, 255, 0.07);
  border-left: 4px solid var(--s4-gold);
}

.s4-spv-v3__role-item strong {
  display: block;
  color: #fff;
  font-size: 12.5px;
}

.s4-spv-v3__role-item span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 11.5px;
}

.s4-spv-v3__disclaimer {
  margin: 14px 0 0;
  color: #8b97a2;
  font-size: 10.5px;
  line-height: 1.55;
}

.s4-spv-v3 .s4-dfe-v3__form--ghl {
  overflow: hidden;
}

.s4-spv-v3__ghl,
.s4-spv-v3__ghl iframe {
  min-height: 820px;
  height: 820px;
}

@media (max-width: 1080px) {
  .s4-spv-v3__why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s4-spv-v3__process {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .s4-spv-v3__process-step:nth-child(3):after {
    display: none;
  }
}

@media (max-width: 900px) {
  .s4-spv-v3 .s4-dfe-v3__hero-visual.s4-spv-v3__hero-visual {
    min-height: 430px;
  }

  .s4-spv-v3__components,
  .s4-spv-v3__role {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .s4-spv-v3__ghl,
  .s4-spv-v3__ghl iframe {
    min-height: 960px;
    height: 960px;
  }
}

@media (max-width: 620px) {
  .s4-spv-v3 .s4-dfe-v3__hero-visual.s4-spv-v3__hero-visual {
    min-height: 350px;
    padding: 28px 16px;
  }

  .s4-spv-v3__protection-map {
    min-height: 320px;
  }

  .s4-spv-v3__shield {
    width: 140px;
    height: 168px;
  }

  .s4-spv-v3__shield span {
    font-size: 9px;
  }

  .s4-spv-v3__protect-card {
    width: 120px;
    padding: 11px;
  }

  .s4-spv-v3__protect-card strong {
    font-size: 9.5px;
  }

  .s4-spv-v3__protect-card--n1 {
    left: 3%;
    top: 9%;
  }

  .s4-spv-v3__protect-card--n2 {
    right: 3%;
    top: 9%;
  }

  .s4-spv-v3__protect-card--n3 {
    left: 3%;
    bottom: 9%;
  }

  .s4-spv-v3__protect-card--n4 {
    right: 3%;
    bottom: 9%;
  }

  .s4-spv-v3__protection-label {
    display: none;
  }

  .s4-spv-v3__trust {
    grid-template-columns: 1fr;
  }

  .s4-spv-v3__trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .s4-spv-v3__trust-item:last-child {
    border-bottom: 0;
  }

  .s4-spv-v3__why-grid,
  .s4-spv-v3__checks,
  .s4-spv-v3__process {
    grid-template-columns: 1fr;
  }

  .s4-spv-v3__process-step {
    min-height: 0;
  }

  .s4-spv-v3__process-step:after {
    display: none !important;
  }
}

@media (max-width: 390px) {
  .s4-spv-v3__ghl,
  .s4-spv-v3__ghl iframe {
    min-height: 1000px;
    height: 1000px;
  }
}

/* ========== TALLERES Y CONFERENCIAS (TYC)
   Root uses .s4-dfe-v3.s4-tyc-v3 - inherits DFE layout.
   ================================================= */

.s4-tyc-v3.s4-dfe-v3 > .s4-dfe-v3__hero:before {
  content: "APRENDIZAJE";
  color: rgba(66, 49, 19, 0.022);
}

.s4-tyc-v3 .s4-dfe-v3__hero-visual.s4-tyc-v3__hero-photo {
  position: relative;
  min-height: 520px;
  padding: 0;
  overflow: hidden;
  background: var(--s4-charcoal);
}

.s4-tyc-v3 .s4-dfe-v3__hero-visual.s4-tyc-v3__hero-photo:before,
.s4-tyc-v3 .s4-dfe-v3__hero-visual.s4-tyc-v3__hero-photo:after {
  display: none;
}

.s4-tyc-v3__hero-photo img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: 54% 50%;
  filter: saturate(0.88) contrast(1.02);
}

.s4-tyc-v3__hero-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 25%),
    linear-gradient(180deg, rgba(48, 50, 52, 0.02), rgba(48, 50, 52, 0.34));
  pointer-events: none;
}

.s4-tyc-v3__hero-photo::after {
  content: "S4 · TALLERES & CONFERENCIAS";
  position: absolute;
  top: 28px;
  right: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.82);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.15em;
  writing-mode: vertical-rl;
}

.s4-tyc-v3__hero-overlay {
  position: absolute;
  z-index: 3;
  left: 30px;
  bottom: 28px;
  width: min(430px, calc(100% - 60px));
  padding: 22px 23px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 6px solid var(--s4-gold);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(12px);
}

.s4-tyc-v3__hero-overlay small {
  display: block;
  color: #8b97a2;
  font-size: 8.5px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.s4-tyc-v3__hero-overlay strong {
  display: block;
  margin-top: 8px;
  color: var(--s4-brown);
  font-size: 1.12rem;
  line-height: 1.22;
}

.s4-tyc-v3__hero-overlay span {
  display: block;
  margin-top: 9px;
  color: rgba(36, 36, 36, 0.62);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.s4-tyc-v3__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--s4-navy);
  color: #fff;
}

.s4-tyc-v3__trust-item {
  padding: 22px 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.s4-tyc-v3__trust-item:last-child {
  border-right: 0;
}

.s4-tyc-v3__trust-item strong {
  display: block;
  color: var(--s4-gold);
  font-size: 1.1rem;
}

.s4-tyc-v3__trust-item span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 0.065em;
}

.s4-tyc-v3__audience {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px;
}

.s4-tyc-v3__audience-card {
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.14);
  border-top: 6px solid var(--s4-gold);
  box-shadow: 0 16px 44px rgba(48, 50, 52, 0.11);
}

.s4-tyc-v3__audience-card small {
  color: #8b97a2;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.s4-tyc-v3__audience-card h3 {
  margin: 14px 0 9px;
  color: var(--s4-brown);
  font-size: 1.4rem;
  font-weight: 900;
}

.s4-tyc-v3__audience-card p {
  margin: 0;
  color: rgba(36, 36, 36, 0.65);
  font-size: 13px;
}

.s4-tyc-v3__topics {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 16px;
}

.s4-tyc-v3__topic {
  padding: 7px 10px;
  background: var(--s4-soft, #f6f7f7);
  color: var(--s4-brown);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.s4-tyc-v3__method {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: rgba(66, 49, 19, 0.14);
  border: 1px solid rgba(66, 49, 19, 0.14);
  align-items: stretch;
}

.s4-tyc-v3__method-step {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 24px 17px;
  min-height: 190px;
  background: #fff;
}

.s4-tyc-v3__method-step:not(:last-child):after {
  content: "›";
  position: absolute;
  top: 0;
  right: -10px;
  bottom: 0;
  z-index: 2;
  width: 20px;
  height: 20px;
  margin: auto 0;
  border-radius: 50%;
  background: var(--s4-gold);
  color: var(--s4-brown);
  font-family: "Sofia Pro Bold", "Sofia Pro Regular", sans-serif;
  font-size: 14px;
  font-weight: normal;
  line-height: 20px;
  text-align: center;
}

.s4-tyc-v3__method-step span {
  color: var(--s4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
}

.s4-tyc-v3__method-step h3 {
  margin: 14px 0 7px;
  color: var(--s4-brown);
  font-size: 1rem;
  font-weight: 900;
}

.s4-tyc-v3__method-step p {
  margin: 0;
  color: #8b97a2;
  font-size: 11px;
}

.s4-tyc-v3__principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  margin-top: 16px;
}

.s4-tyc-v3__principle {
  padding: 17px 18px;
  background: var(--s4-charcoal);
  border-left: 4px solid var(--s4-gold);
  color: #fff;
}

.s4-tyc-v3__principle strong {
  display: block;
  font-size: 11.5px;
}

.s4-tyc-v3__principle span {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 10.5px;
}

.s4-tyc-v3__photo-story {
  padding: 84px 22px;
  background: #fff;
}

.s4-tyc-v3__photo-story-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
}

.s4-tyc-v3__photo-story-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  min-height: 420px;
  background: var(--s4-charcoal);
}

.s4-tyc-v3__photo-story-media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  object-position: center;
}

.s4-tyc-v3__photo-story-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(48, 50, 52, 0.02), rgba(48, 50, 52, 0.42));
  pointer-events: none;
}

.s4-tyc-v3__photo-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  max-width: 320px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  border-left: 5px solid var(--s4-gold);
}

.s4-tyc-v3__photo-caption small {
  display: block;
  color: #8b97a2;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.s4-tyc-v3__photo-caption strong {
  display: block;
  margin-top: 7px;
  color: var(--s4-brown);
  font-size: 1rem;
  line-height: 1.25;
}

.s4-tyc-v3__photo-story-copy h2 {
  margin-bottom: 14px;
  color: var(--s4-brown);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.s4-tyc-v3__photo-story-copy > p {
  color: rgba(36, 36, 36, 0.65);
}

.s4-tyc-v3__photo-points {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.s4-tyc-v3__photo-points strong {
  display: block;
  color: var(--s4-brown);
  font-size: 12.5px;
}

.s4-tyc-v3__photo-points span {
  display: block;
  margin-top: 4px;
  color: #8b97a2;
  font-size: 11.5px;
}

.s4-tyc-v3__section--alice {
  background: var(--s4-alice, #e2edf3);
}

.s4-tyc-v3__results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.s4-tyc-v3__result {
  padding: 30px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.14);
  text-align: center;
}

.s4-tyc-v3__result-num {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 17px;
  border-radius: 50%;
  background: var(--s4-charcoal);
  color: var(--s4-gold);
  font-size: 10px;
  font-weight: 900;
}

.s4-tyc-v3__result h3 {
  margin-bottom: 8px;
  color: var(--s4-brown);
  font-size: 1.25rem;
}

.s4-tyc-v3__result p {
  margin: 0;
  color: #8b97a2;
  font-size: 12.5px;
}

.s4-tyc-v3__team {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: start;
}

.s4-tyc-v3__team-copy h2 {
  margin-bottom: 16px;
  color: var(--s4-brown);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
}

.s4-tyc-v3__team-copy p {
  color: rgba(36, 36, 36, 0.65);
}

.s4-tyc-v3__team-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.s4-tyc-v3__cap {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.14);
  border-radius: 15px;
}

.s4-tyc-v3__cap strong {
  display: block;
  color: var(--s4-brown);
  font-size: 12.5px;
}

.s4-tyc-v3__cap span {
  display: block;
  margin-top: 6px;
  color: #8b97a2;
  font-size: 11.5px;
}

.s4-tyc-v3__team-note {
  grid-column: 1 / -1;
  padding: 16px 18px;
  background: var(--s4-soft, #f6f7f7);
  border-left: 4px solid var(--s4-gold);
  color: #8b97a2;
  font-size: 12px;
}

.s4-tyc-v3__deliver {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 13px;
}

.s4-tyc-v3__deliver-item {
  padding: 22px;
  background: #fff;
  border: 1px solid rgba(66, 49, 19, 0.14);
}

.s4-tyc-v3__deliver-item small {
  color: var(--s4-gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.s4-tyc-v3__deliver-item h3 {
  margin: 13px 0 6px;
  color: var(--s4-brown);
  font-size: 1rem;
}

.s4-tyc-v3__deliver-item p {
  margin: 0;
  color: #8b97a2;
  font-size: 11.5px;
}

.s4-tyc-v3 .s4-dfe-v3__form--ghl {
  overflow: hidden;
}

.s4-tyc-v3__ghl,
.s4-tyc-v3__ghl iframe {
  min-height: 820px;
  height: 820px;
}

@media (max-width: 1080px) {
  .s4-tyc-v3__method {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .s4-tyc-v3__method-step:nth-child(3):after {
    display: none;
  }

  .s4-tyc-v3__deliver {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .s4-tyc-v3 .s4-dfe-v3__hero-visual.s4-tyc-v3__hero-photo,
  .s4-tyc-v3__hero-photo img {
    min-height: 420px;
  }

  .s4-tyc-v3__audience,
  .s4-tyc-v3__photo-story-grid,
  .s4-tyc-v3__team {
    grid-template-columns: 1fr;
  }

  .s4-tyc-v3__results {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .s4-tyc-v3__ghl,
  .s4-tyc-v3__ghl iframe {
    min-height: 960px;
    height: 960px;
  }
}

@media (max-width: 620px) {
  .s4-tyc-v3 .s4-dfe-v3__hero-visual.s4-tyc-v3__hero-photo,
  .s4-tyc-v3__hero-photo img {
    min-height: 320px;
  }

  .s4-tyc-v3__hero-photo::after {
    display: none;
  }

  .s4-tyc-v3__hero-overlay {
    left: 16px;
    right: 16px;
    bottom: 16px;
    width: auto;
    padding: 16px 18px;
  }

  .s4-tyc-v3__trust {
    grid-template-columns: 1fr;
  }

  .s4-tyc-v3__trust-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .s4-tyc-v3__trust-item:last-child {
    border-bottom: 0;
  }

  .s4-tyc-v3__method,
  .s4-tyc-v3__principles,
  .s4-tyc-v3__team-grid,
  .s4-tyc-v3__deliver {
    grid-template-columns: 1fr;
  }

  .s4-tyc-v3__method-step {
    min-height: 0;
  }

  .s4-tyc-v3__method-step:after {
    display: none !important;
  }

  .s4-tyc-v3__photo-story {
    padding: 62px 18px;
  }

  .s4-tyc-v3__photo-story-media,
  .s4-tyc-v3__photo-story-media img {
    min-height: 280px;
  }
}

@media (max-width: 390px) {
  .s4-tyc-v3__ghl,
  .s4-tyc-v3__ghl iframe {
    min-height: 1000px;
    height: 1000px;
  }
}
