/* Shared responsive balance layer */
:root {
  --rb-page-x: clamp(16px, 3.6vw, 64px);
  --rb-section-y: clamp(52px, 6vw, 88px);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

.site-header-inner {
  min-height: clamp(68px, 4.7vw, 86px) !important;
  padding: clamp(11px, 0.9vw, 18px) var(--rb-page-x) !important;
}

.site-header .site-brand-link img {
  width: auto !important;
  height: clamp(36px, 2.45vw, 48px) !important;
  max-width: 46vw;
}

.site-header .desktop-nav-link,
.site-header .desktop-nav-link.dropdown-toggle {
  font-size: clamp(14px, 0.78vw, 16px) !important;
  line-height: 1.35 !important;
}

.site-header .hidden.md\:flex > .flex {
  gap: clamp(18px, 1.5vw, 28px) !important;
}

.header-socials {
  gap: clamp(8px, 0.7vw, 12px) !important;
  margin-left: clamp(12px, 1.2vw, 22px) !important;
}

.site-header .header-social-svg {
  width: clamp(20px, 1.1vw, 23px) !important;
  height: clamp(20px, 1.1vw, 23px) !important;
}

#mobileNav {
  max-height: calc(100svh - 68px);
  overflow-y: auto;
}

.transnoa-hero {
  min-height: clamp(600px, 82svh, 760px) !important;
}

.hero-reference-card {
  left: auto !important;
  right: clamp(44px, 5vw, 96px) !important;
  bottom: clamp(76px, 8.5svh, 108px) !important;
  width: clamp(420px, 24vw, 470px) !important;
  padding: clamp(14px, 1.05vw, 18px) clamp(16px, 1.25vw, 20px) clamp(15px, 1.15vw, 19px) !important;
  border-radius: clamp(17px, 1.15vw, 20px) !important;
}

.hero-reference-eyebrow {
  gap: clamp(9px, 0.8vw, 12px) !important;
  margin-bottom: 6px !important;
  font-size: clamp(13.5px, 0.86vw, 16px) !important;
}

.hero-reference-icon {
  width: clamp(37px, 2.35vw, 41px) !important;
  height: clamp(37px, 2.35vw, 41px) !important;
}

.hero-reference-icon svg {
  width: clamp(21px, 1.35vw, 24px) !important;
  height: clamp(21px, 1.35vw, 24px) !important;
}

.hero-reference-top-line {
  width: clamp(78px, 5.4vw, 96px) !important;
  margin: 6px 0 10px !important;
}

.hero-reference-title {
  font-size: clamp(27px, 1.75vw, 32px) !important;
  line-height: 1.09 !important;
}

.hero-reference-bottom-line {
  width: clamp(52px, 3.6vw, 62px) !important;
  margin-top: 13px !important;
}

.hero-scroll-cue {
  bottom: clamp(28px, 4.5svh, 42px) !important;
  gap: 7px !important;
  font-size: clamp(13px, 0.9vw, 15px) !important;
}

.hero-scroll-cue-icon {
  width: clamp(36px, 2.4vw, 40px) !important;
  height: clamp(36px, 2.4vw, 40px) !important;
}

#cadena-electrica {
  padding-top: clamp(64px, 7vw, 92px) !important;
  padding-bottom: clamp(72px, 8vw, 108px) !important;
}

#cadena-electrica.hero-next-section {
  width: min(1560px, calc(100% - clamp(24px, 4vw, 48px))) !important;
}

.chain-intro {
  margin-bottom: clamp(36px, 5vw, 64px) !important;
}

.que-hacemos-title {
  font-size: clamp(30px, 3vw, 44px) !important;
}

.chain-intro .font-headline-md {
  font-size: clamp(26px, 2.4vw, 36px) !important;
  line-height: 1.16 !important;
}

.chain-intro .font-body-md,
.value-flow-shell .text-body-md {
  font-size: clamp(14.5px, 1vw, 16px) !important;
  line-height: 1.55 !important;
}

.value-flow-shell .text-headline-sm {
  font-size: clamp(21px, 1.6vw, 25px) !important;
  line-height: 1.22 !important;
}

.value-flow-shell .p-6 {
  padding: clamp(20px, 2vw, 24px) !important;
}

.value-flow-shell .p-7 {
  padding: clamp(22px, 2.2vw, 28px) !important;
}

.network-section {
  min-height: clamp(560px, 66svh, 650px) !important;
  padding-top: clamp(96px, 8vw, 132px) !important;
  padding-bottom: clamp(62px, 6vw, 86px) !important;
}

.network-content {
  gap: clamp(32px, 4vw, 64px) !important;
}

.network-title-panel {
  padding: clamp(18px, 1.7vw, 26px) !important;
  border-radius: 16px !important;
}

.network-title {
  font-size: clamp(30px, 2.8vw, 44px) !important;
}

.network-right {
  padding: clamp(16px, 1.7vw, 24px) !important;
  border-radius: 24px !important;
  background: rgba(255, 255, 255, 0.96) !important;
}

.network-map-frame {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  width: min(104%, 700px) !important;
  max-width: none !important;
  max-height: none !important;
  height: auto !important;
  margin: 0 -2% 0 !important;
  border-radius: 30px !important;
  overflow: hidden !important;
  transform: translateZ(0);
}

.network-map-frame .network-map-image {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  max-height: none !important;
  height: auto !important;
  margin: 0 !important;
  border-radius: 0 !important;
  clip-path: none !important;
  object-fit: contain !important;
}

.network-metric {
  grid-template-columns: clamp(54px, 4vw, 62px) minmax(0, 1fr) !important;
  gap: clamp(12px, 1.25vw, 16px) !important;
  padding: clamp(14px, 1.25vw, 19px) !important;
  border-radius: 18px !important;
}

.network-metric-value {
  font-size: clamp(1.75rem, 2.3vw, 2.45rem) !important;
}

.network-metric-label {
  font-size: clamp(0.9rem, 0.95vw, 1rem) !important;
}

.commitment-section {
  padding: clamp(52px, 6vw, 68px) 0 clamp(62px, 7vw, 82px) !important;
}

.commitment-hero {
  gap: clamp(30px, 3.5vw, 48px) !important;
  margin-bottom: clamp(42px, 5vw, 60px) !important;
}

.commitment-visual {
  min-height: clamp(260px, 22vw, 305px) !important;
  padding: clamp(24px, 2.55vw, 36px) !important;
  border-radius: 22px !important;
}

.commitment-main-icon {
  width: clamp(76px, 6vw, 96px) !important;
  height: clamp(76px, 6vw, 96px) !important;
  margin-bottom: clamp(18px, 1.8vw, 24px) !important;
}

.commitment-title {
  font-size: clamp(27px, 2.45vw, 36px) !important;
}

.commitment-intro,
.commitment-stat-text {
  font-size: clamp(14.5px, 1vw, 16px) !important;
}

.commitment-stat {
  grid-template-columns: clamp(60px, 5vw, 72px) minmax(160px, 0.36fr) minmax(0, 1fr) !important;
  gap: clamp(16px, 2vw, 24px) !important;
  padding: clamp(18px, 1.8vw, 22px) 0 !important;
}

.commitment-stat-icon {
  width: clamp(58px, 4.6vw, 66px) !important;
  height: clamp(58px, 4.6vw, 66px) !important;
}

.commitment-stat-icon--large img,
.commitment-stat-icon--drone img {
  transform: scale(1.30) !important;
}

.commitment-stat-title-main {
  font-size: clamp(22px, 1.65vw, 28px) !important;
}

.operational-card-media {
  height: clamp(200px, 16vw, 270px) !important;
}

.operational-card-body {
  padding: clamp(20px, 1.7vw, 24px) !important;
}

.operational-card-body h3 {
  font-size: clamp(21px, 1.35vw, 25px) !important;
}

.next-page-cta {
  padding: clamp(52px, 6.2vw, 82px) 20px !important;
}

.next-page-cta__inner {
  padding: clamp(24px, 3vw, 38px) !important;
  border-radius: 22px !important;
}

.next-page-cta h2 {
  font-size: clamp(28px, 2.7vw, 40px) !important;
}

.next-page-cta__button {
  justify-content: space-between !important;
  gap: 18px !important;
  min-width: 286px !important;
  padding: 15px 22px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-hover) 100%) !important;
  color: #ffffff !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  box-shadow: 0 12px 26px rgba(var(--brand-primary-rgb), 0.20) !important;
}

.next-page-cta__button:hover,
.next-page-cta__button:focus-visible {
  background: linear-gradient(135deg, var(--brand-secondary) 0%, var(--brand-hover) 100%) !important;
  box-shadow: 0 18px 34px rgba(var(--brand-primary-rgb), 0.28) !important;
}

.next-page-cta__button span {
  flex: 0 0 auto;
  font-size: 1.15em;
  line-height: 1;
}

.about-hero,
.contact-hero,
.people-hero {
  min-height: clamp(440px, 58svh, 540px) !important;
  padding-top: clamp(118px, 13svh, 154px) !important;
  padding-bottom: clamp(76px, 10svh, 108px) !important;
}

.about-hero h1,
.contact-hero h1 {
  font-size: clamp(44px, 4.6vw, 68px) !important;
  line-height: 1.03 !important;
}

.people-hero h1 {
  font-size: clamp(40px, 4vw, 56px) !important;
  line-height: 1.05 !important;
}

.contact-hero h2,
.people-hero h2 {
  font-size: clamp(19px, 1.7vw, 25px) !important;
}

.about-hero p,
.contact-hero p {
  font-size: clamp(15px, 1vw, 17px) !important;
  line-height: 1.58 !important;
}

.profile-section {
  padding-top: clamp(56px, 6.2vw, 82px) !important;
  padding-bottom: clamp(56px, 6.2vw, 82px) !important;
}

.people-card,
.contact-channels {
  margin-top: 0 !important;
}

.people-card {
  opacity: 1 !important;
  transform: none !important;
}

@media (min-width: 761px) {
  .people-hero h2 {
    width: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    opacity: 0 !important;
    transform: translateY(12px) !important;
    animation: none !important;
    transition: opacity 620ms cubic-bezier(0.16, 1, 0.3, 1), transform 620ms cubic-bezier(0.16, 1, 0.3, 1) !important;
  }

  .people-hero h2.is-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

.profile-page h2,
.contact-page h2,
.people-page h2,
.about-company-heading,
.mission-values-title {
  text-wrap: balance;
}

@media (min-width: 761px) and (max-height: 920px) {
  .hero-reference-card {
    bottom: clamp(62px, 7svh, 78px) !important;
    width: clamp(390px, 23vw, 430px) !important;
    padding: 13px 16px 14px !important;
  }

  .hero-reference-title {
    font-size: clamp(25px, 1.55vw, 29px) !important;
  }

  .hero-reference-eyebrow {
    font-size: clamp(13px, 0.82vw, 15px) !important;
  }

  .hero-reference-icon {
    width: 36px !important;
    height: 36px !important;
  }

  .hero-reference-icon svg {
    width: 21px !important;
    height: 21px !important;
  }

  .hero-reference-bottom-line {
    margin-top: 12px !important;
  }

  .hero-scroll-cue {
    bottom: 22px !important;
  }

  .network-section {
    min-height: 560px !important;
    padding-top: 86px !important;
    padding-bottom: 58px !important;
  }

  .about-hero,
  .contact-hero,
  .people-hero {
    min-height: 480px !important;
    padding-top: 122px !important;
    padding-bottom: 78px !important;
  }
}

@media (min-width: 761px) {
  .contact-hero,
  .people-hero {
    height: calc(clamp(440px, 58svh, 540px) - 48px) !important;
    min-height: calc(clamp(440px, 58svh, 540px) - 48px) !important;
    padding-top: clamp(106px, 11.5svh, 142px) !important;
    padding-bottom: clamp(56px, 7.5svh, 90px) !important;
  }
}

@media (min-width: 761px) and (max-height: 920px) {
  .contact-hero,
  .people-hero {
    height: 432px !important;
    min-height: 432px !important;
    padding-top: 100px !important;
    padding-bottom: 56px !important;
  }
}

@media (max-width: 1024px) {
  .network-content {
    grid-template-columns: 1fr !important;
  }

  .network-map-image {
    max-height: none !important;
  }

  .commitment-stat {
    grid-template-columns: 66px minmax(0, 1fr) !important;
  }

  .commitment-stat-text {
    grid-column: 2 !important;
  }
}

@media (max-width: 760px) {
  :root {
    --rb-page-x: clamp(16px, 5vw, 22px);
    --rb-mobile-card-width: min(660px, calc(100vw - 64px));
  }

  .site-header-inner {
    min-height: 64px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }

  .site-header .site-brand-link img {
    height: clamp(32px, 8.5vw, 36px) !important;
    max-width: 58vw;
  }

  #mobileNav {
    padding: 14px var(--rb-page-x) 16px !important;
  }

  #mobileNav .mobile-socials {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 4px calc(var(--rb-page-x) * -1) -16px !important;
    padding: 14px var(--rb-page-x) 15px !important;
    background: linear-gradient(100deg, rgba(var(--brand-dark-rgb), 0.78) 0%, rgba(var(--brand-hover-rgb), 0.74) 38%, rgba(93, 104, 122, 0.68) 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 -8px 22px rgba(23, 43, 85, 0.08) !important;
    backdrop-filter: blur(16px) saturate(1.12) !important;
    -webkit-backdrop-filter: blur(16px) saturate(1.12) !important;
  }

  #mobileNav .mobile-socials .social-link {
    width: 34px !important;
    height: 34px !important;
    color: rgba(255, 255, 255, 0.96) !important;
  }

  #mobileNav .mobile-socials .header-social-svg {
    width: 22px !important;
    height: 22px !important;
    color: currentColor !important;
  }

  #mobileNav .nav-link,
  #mobileNav .dropdown-menu a {
    font-size: 15px !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
  }

  .transnoa-hero {
    height: 100svh !important;
    min-height: clamp(540px, 100svh, 680px) !important;
    padding: 0 !important;
    overflow: hidden !important;
    background: var(--brand-dark) !important;
  }

  .hero-reference-card {
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    bottom: 0 !important;
    width: var(--rb-mobile-card-width) !important;
    max-height: calc(100svh - 150px);
    margin: 0 !important;
    padding: clamp(12px, 3.1vw, 15px) clamp(13px, 3.4vw, 15px) !important;
    border-radius: 18px 18px 0 0 !important;
    overflow-wrap: anywhere;
    transform: translateX(-50%) !important;
  }

  .hero-reference-eyebrow {
    gap: 9px !important;
    margin-bottom: 4px !important;
    font-size: clamp(12.5px, 3.3vw, 14px) !important;
  }

  .hero-reference-icon {
    width: 34px !important;
    height: 34px !important;
  }

  .hero-reference-icon svg {
    width: 20px !important;
    height: 20px !important;
  }

  .hero-reference-top-line {
    width: 74px !important;
    margin: 6px 0 9px !important;
  }

  .hero-reference-title {
    /* Maximo tamano que mantiene "Transportamos la energia" en 1 renglon
       (titulo en 2 renglones) para la card del hero en 421-760px */
    font-size: clamp(18px, 5.5vw, 23px) !important;
    line-height: 1.1 !important;
  }

  .hero-reference-title-line,
  .dynamic-phrase {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }

  .hero-reference-bottom-line {
    display: none !important;
  }

  .hero-scroll-cue {
    left: 50% !important;
    right: auto !important;
    bottom: clamp(128px, 20svh, 158px) !important;
    z-index: 8 !important;
    display: inline-flex !important;
    transform: translateX(-50%) !important;
  }

  .hero-scroll-cue > span:first-child {
    display: inline !important;
  }

  .hero-scroll-cue-icon {
    width: 42px !important;
    height: 42px !important;
    border: 2px solid currentColor !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    background: transparent !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.28), inset 0 0 8px rgba(255, 255, 255, 0.1) !important;
  }

  .network-card,
  .network-left,
  .network-title-panel,
  .network-metrics,
  .network-metric,
  .network-right,
  .commitment-container,
  .commitment-visual,
  .operational-card,
  .next-page-cta__inner,
  .about-company-shell,
  .history-image-card,
  .history-card,
  .objectives-grid,
  .objective-card,
  .foundation-card,
  .people-card,
  .contact-channels,
  .contact-cards-grid,
  .contact-card {
    box-sizing: border-box !important;
    width: var(--rb-mobile-card-width) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .about-company-card-section > .profile-container,
  .profile-history-section > .profile-container,
  .mission-values-section > .profile-container,
  #objetivos > .profile-container,
  .foundation-highlight > .profile-container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .contact-channels {
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .contact-cards-grid,
  .contact-card {
    width: 100% !important;
  }

  .contact-cards-grid {
    gap: 0 !important;
  }

  #cadena-electrica .chain-step-1 > div:first-child,
  #cadena-electrica .chain-step-3 > div:first-child,
  #cadena-electrica .chain-step-5 > div:first-child {
    box-sizing: border-box !important;
    width: var(--rb-mobile-card-width) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #cadena-electrica {
    padding-top: 56px !important;
    padding-bottom: 64px !important;
    scroll-margin-top: 20px !important;
  }

  #cadena-electrica.hero-next-section {
    width: calc(100% - 20px) !important;
    margin-top: 0 !important;
  }

  .chain-intro {
    margin-bottom: 28px !important;
  }

  .que-hacemos-title {
    font-size: clamp(28px, 8.5vw, 36px) !important;
  }

  .chain-intro .font-headline-md {
    font-size: clamp(24px, 7vw, 31px) !important;
  }

  .chain-title-line {
    margin: 6px 0 8px !important;
  }

  .chain-section-heading {
    margin-bottom: 6px !important;
  }

  .value-flow-shell .grid {
    gap: 10px !important;
  }

  /* Raíz del problema: las cards usan h-full + justify-center (pensado para
     las columnas iguales de desktop). En mobile eso estira la card y centra
     el texto generando espacios desiguales. Lo anulamos: altura segun contenido
     y texto desde arriba, con padding uniforme en las 3 cards. */
  #cadena-electrica .chain-step-1 > div:first-child,
  #cadena-electrica .chain-step-3 > div:first-child,
  #cadena-electrica .chain-step-5 > div:first-child {
    height: auto !important;
    justify-content: flex-start !important;
    padding: 18px 16px !important;
  }

  /* Transporte traia mb-4 en el titulo y mb-5 en el parrafo: los igualamos
     a Generacion y Demanda (mb-3 / sin margen) */
  #cadena-electrica .transport-card h3 {
    margin-bottom: 12px !important;
  }

  #cadena-electrica .transport-card p {
    margin-bottom: 0 !important;
  }

  /* Espacio texto -> iconos, uniforme en las 3 cards (era mt-6 = 24px) */
  #cadena-electrica .value-flow-shell .mt-6 {
    margin-top: 14px !important;
  }

  /* Flecha entre cards: centrada (anula el translateX(-12px) de la animacion)
     y visible (azul de marca, tamano mayor) */
  #cadena-electrica .chain-arrow-step {
    margin-top: 6px !important;
    margin-bottom: 6px !important;
    transform: none !important;
  }

  #cadena-electrica .chain-arrow-step .material-symbols-outlined {
    font-size: 34px !important;
    color: var(--brand-primary) !important;
    opacity: 0.6 !important;
  }

  .network-section {
    min-height: auto !important;
    padding: 58px 16px 48px !important;
  }

  .network-section::before {
    background-size: auto 102% !important;
    background-position: 54% center !important;
    background-attachment: scroll !important;
  }

  .network-left {
    padding: 24px 0 12px !important;
  }

  .network-title-panel {
    padding: 20px 18px !important;
  }

  .network-title {
    /* Coherente con el titulo de la card del hero (.hero-reference-title) */
    font-size: clamp(18px, 5.5vw, 23px) !important;
  }

  .network-right {
    padding: 0 0 16px !important;
    border-radius: 20px !important;
    background: rgba(255, 255, 255, 0.96) !important;
  }

  .network-map-frame {
    width: 108% !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    margin: -1.2% -4% -2.4% !important;
    border-radius: 0 !important;
    overflow: hidden !important;
  }

  .network-map-frame .network-map-image {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;
    margin: 0 !important;
    border-radius: 0 !important;
    clip-path: none !important;
    object-fit: contain !important;
  }

  .network-map-action {
    box-sizing: border-box !important;
    width: 100% !important;
    margin-top: 12px !important;
    padding: 0 12px !important;
  }

  .network-metrics {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    margin-top: 24px !important;
  }

  .network-metric {
    grid-template-columns: 50px minmax(0, 1fr) !important;
    padding: 16px !important;
  }

  .network-metric-icon {
    width: 50px !important;
    height: 50px !important;
  }

  .network-metric-value {
    font-size: clamp(1.45rem, 7vw, 1.85rem) !important;
  }

  .commitment-section {
    padding: 46px 0 58px !important;
  }

  .commitment-container {
    width: var(--rb-mobile-card-width) !important;
  }

  .commitment-visual {
    padding: 28px 20px !important;
    border-radius: 20px !important;
  }

  .commitment-title {
    /* Coherente con el titulo de la card del hero (.hero-reference-title) */
    font-size: clamp(18px, 5.5vw, 23px) !important;
  }

  .commitment-title-note,
  .commitment-intro,
  .commitment-stat-text {
    font-size: 14.5px !important;
    line-height: 1.55 !important;
  }

  .commitment-stat {
    grid-template-columns: 56px minmax(0, 1fr) !important;
    gap: 10px 14px !important;
  }

  .commitment-stat-icon {
    width: 54px !important;
    height: 54px !important;
    grid-row: span 2;
  }

  .commitment-stat-title-main {
    font-size: clamp(21px, 6.2vw, 26px) !important;
  }

  .operational-card-media {
    height: clamp(210px, 56vw, 280px) !important;
  }

  .operational-card-body {
    padding: 22px 20px 24px !important;
  }

  .about-hero,
  .contact-hero,
  .people-hero {
    min-height: clamp(430px, 72svh, 500px) !important;
    padding-top: 100px !important;
    padding-bottom: 70px !important;
  }

  .contact-hero,
  .people-hero {
    height: calc(clamp(430px, 72svh, 500px) - 30px) !important;
    min-height: calc(clamp(430px, 72svh, 500px) - 30px) !important;
    padding-top: 92px !important;
    padding-bottom: 52px !important;
  }

  .about-hero-copy,
  .contact-hero-copy,
  .people-hero-copy {
    width: min(360px, calc(100vw - 32px)) !important;
    max-width: 100% !important;
  }

  .people-hero .people-container {
    justify-content: flex-start !important;
  }

  .about-hero h1,
  .contact-hero h1 {
    font-size: clamp(34px, 10vw, 46px) !important;
  }

  .people-hero h1 {
    font-size: clamp(32px, 9vw, 44px) !important;
    white-space: normal !important;
  }

  .people-brand-title,
  .people-brand-rest {
    flex-wrap: wrap !important;
    white-space: normal !important;
  }

  .people-dynamic-word {
    min-width: 0 !important;
  }

  .contact-hero h2,
  .people-hero h2 {
    font-size: clamp(18px, 5.4vw, 23px) !important;
    white-space: normal !important;
    width: auto !important;
  }

  .people-description,
  .people-description-strong {
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .people-description-strong {
    width: min(100%, 30ch) !important;
    max-width: 100% !important;
    text-align: left !important;
  }

  .people-apply-card,
  .people-apply-card > div {
    min-width: 0 !important;
  }

  .people-apply-card a {
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }

  .about-hero p,
  .contact-hero p {
    font-size: 14.5px !important;
    line-height: 1.56 !important;
  }

  .about-eyebrow,
  .contact-eyebrow,
  .people-eyebrow {
    gap: 10px !important;
    font-size: 13px !important;
  }

  .about-eyebrow-icon,
  .contact-eyebrow-icon,
  .people-eyebrow-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .about-title-line,
  .contact-title-line,
  .people-title-line {
    margin-left: 50px !important;
  }

  .profile-section {
    padding-top: 52px !important;
    padding-bottom: 52px !important;
  }

  .profile-history-section > .profile-container,
  .mission-values-section > .profile-container {
    box-sizing: border-box !important;
    width: var(--rb-mobile-card-width) !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 24px 18px !important;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.12) !important;
    border-radius: 22px !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 16px 38px rgba(var(--brand-dark-rgb), 0.075) !important;
  }

  .profile-history-section {
    background: var(--brand-surface) !important;
  }

  .mission-scroll-section {
    display: none !important;
  }

  .history-content,
  .mission-values-header {
    min-width: 0 !important;
  }

  .history-intro,
  .history-card p,
  .mission-values-lead,
  .energy-line-item p {
    font-size: 14.5px !important;
    line-height: 1.56 !important;
  }

  .history-cards,
  .energy-line-system {
    width: 100% !important;
    max-width: 100% !important;
  }

  .history-image-card,
  .history-card {
    width: 100% !important;
  }

  .about-company-heading,
  .history-heading,
  .mission-values-heading,
  .profile-section-heading {
    font-size: clamp(26px, 7.6vw, 34px) !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
  }

  /* Cards de contenido de otras paginas (Fundacion en perfil,
     "Contactanos" en personas): titulo coherente con
     la card del hero (~21px), igual que .hero-reference-title/.network-title */
  .foundation-card-title,
  .people-apply-card h2 {
    font-size: clamp(18px, 5.5vw, 23px) !important;
    line-height: 1.15 !important;
    letter-spacing: 0 !important;
    overflow-wrap: anywhere;
  }

  .contact-card {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    min-height: 0 !important;
    padding: 24px 18px !important;
  }

  .contact-card > .contact-card-icon {
    display: none !important;
  }

  .contact-card > div {
    width: 100% !important;
    min-width: 0 !important;
  }

  .contact-card h2 {
    margin-bottom: 6px !important;
    color: #173b57 !important;
    font-size: clamp(26px, 7.6vw, 34px) !important;
    font-weight: 800 !important;
    line-height: 1.12 !important;
    letter-spacing: 0 !important;
  }

  .contact-card p {
    margin-bottom: 16px !important;
    font-size: 14.5px !important;
    line-height: 1.56 !important;
    white-space: normal !important;
  }

  .contact-info-list {
    margin-top: 16px !important;
    padding-top: 16px !important;
  }

  .about-company-step p,
  .contact-card p,
  .contact-card a,
  .people-card-copy p,
  .people-apply-card a {
    overflow-wrap: anywhere;
  }

  .people-card-copy .people-description,
  .people-card-copy .people-description-strong {
    overflow-wrap: normal !important;
    word-break: normal !important;
    hyphens: none !important;
  }

  .next-page-cta {
    padding: 48px 0 !important;
  }

  .next-page-cta__inner {
    padding: 26px 20px !important;
  }

  .next-page-cta__button {
    width: min(100%, 360px) !important;
    min-width: 0 !important;
    padding: 16px 22px !important;
    border-radius: 14px !important;
    font-size: 16px !important;
  }

}

@media (max-width: 520px) {
  .about-company-shell,
  .people-card {
    width: var(--rb-mobile-card-width) !important;
    max-width: 100% !important;
  }

  .people-card {
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .contact-card > div,
  .people-card-grid {
    min-width: 0;
  }

  .people-card-grid {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .people-description-strong {
    text-align: left !important;
  }

  .people-apply-card {
    grid-template-columns: 48px minmax(0, 1fr) !important;
    gap: 13px !important;
    padding: 18px !important;
  }

  .people-apply-icon {
    width: 48px !important;
    height: 48px !important;
  }

  .people-apply-card h2 {
    /* Coherente con la card del hero (~21px) */
    font-size: clamp(17px, 5.5vw, 23px) !important;
  }

  .people-apply-card a {
    font-size: 15px !important;
    line-height: 1.35 !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
  }
}

@media (max-width: 420px) {
  .hero-reference-card {
    left: 50% !important;
    right: auto !important;
    width: var(--rb-mobile-card-width) !important;
    padding: 12px 13px !important;
  }

  /* Titulos de cards del mismo estilo: tamano coherente y maximizado a 2
     renglones en el hero. Card del hero mas angosta aca (300px) -> tope 21px,
     el maximo que mantiene "Transportamos la energia" en 1 renglon */
  .hero-reference-title,
  .network-title,
  .commitment-title,
  .foundation-card-title,
  .people-apply-card h2 {
    font-size: clamp(17px, 5.5vw, 23px) !important;
  }

  .hero-scroll-cue-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .about-hero h1,
  .contact-hero h1 {
    font-size: clamp(32px, 11vw, 42px) !important;
  }

  .people-hero h1 {
    font-size: clamp(30px, 9.5vw, 40px) !important;
  }

  .network-title,
  .commitment-title,
  .next-page-cta h2 {
    text-wrap: balance;
  }
}

@media (min-width: 761px) {
  .about-hero,
  .contact-hero,
  .people-hero {
    height: calc(clamp(440px, 58svh, 540px) - 48px) !important;
    min-height: calc(clamp(440px, 58svh, 540px) - 48px) !important;
    padding-top: clamp(106px, 11.5svh, 142px) !important;
    padding-bottom: clamp(56px, 7.5svh, 90px) !important;
  }

  .about-hero .profile-container,
  .contact-hero .contact-container,
  .people-hero .people-container {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    align-items: flex-start !important;
    width: min(1240px, calc(100% - 48px)) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .about-hero .profile-container,
  .contact-hero .contact-container {
    justify-content: flex-start !important;
  }

  .people-hero .people-container {
    justify-content: flex-end !important;
  }

  .about-hero-copy,
  .contact-hero-copy {
    width: min(640px, 100%) !important;
    max-width: 640px !important;
  }

  .people-hero-copy {
    width: min(590px, 100%) !important;
    max-width: 590px !important;
  }

  .about-company-shell {
    margin-top: 0 !important;
  }

  .about-title-line,
  .contact-title-line,
  .people-title-line {
    margin: 14px 0 20px 62px !important;
  }

  .about-hero p,
  .contact-hero h2,
  .people-hero h2 {
    max-width: 620px !important;
    margin: 14px 0 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: clamp(18px, 1.45vw, 22px) !important;
    font-weight: 650 !important;
    line-height: 1.35 !important;
    letter-spacing: 0 !important;
  }
}

@media (min-width: 761px) and (max-height: 920px) {
  .about-hero,
  .contact-hero,
  .people-hero {
    height: 432px !important;
    min-height: 432px !important;
    padding-top: 100px !important;
    padding-bottom: 56px !important;
  }
}

@media (max-width: 760px) {
  .about-hero,
  .contact-hero,
  .people-hero {
    padding-top: 100px !important;
    padding-bottom: 52px !important;
  }

  .about-hero .profile-container,
  .contact-hero .contact-container,
  .people-hero .people-container {
    position: relative !important;
    z-index: 2 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: flex-start !important;
    width: var(--rb-mobile-card-width) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .about-hero-copy,
  .contact-hero-copy,
  .people-hero-copy {
    width: 100% !important;
    max-width: 100% !important;
  }

  .about-eyebrow,
  .contact-eyebrow,
  .people-eyebrow {
    min-height: 40px !important;
    gap: 10px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
  }

  .about-eyebrow-icon,
  .contact-eyebrow-icon,
  .people-eyebrow-icon {
    width: 40px !important;
    height: 40px !important;
  }

  .about-eyebrow-icon svg,
  .contact-eyebrow-icon svg,
  .people-eyebrow-icon svg {
    width: 22px !important;
    height: 22px !important;
  }

  .about-title-line,
  .contact-title-line,
  .people-title-line {
    width: 46px !important;
    height: 3px !important;
    margin: 12px 0 18px 50px !important;
  }

  .about-hero h1,
  .contact-hero h1,
  .people-hero h1 {
    font-size: clamp(34px, 9.6vw, 42px) !important;
    line-height: 1.05 !important;
    letter-spacing: 0 !important;
  }

  .people-brand-title,
  .people-brand-rest {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    white-space: normal !important;
  }

  .people-hero h1 {
    font-size: clamp(30px, 8.3vw, 36px) !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  .people-brand-title {
    display: block !important;
    width: 100% !important;
  }

  .people-brand-rest {
    max-width: 100% !important;
    row-gap: 0.03em !important;
  }

  .people-dynamic-word {
    flex-basis: 100% !important;
  }

  .about-hero p,
  .contact-hero h2,
  .people-hero h2 {
    width: auto !important;
    max-width: min(100%, 30ch) !important;
    margin: 12px 0 0 !important;
    color: rgba(255, 255, 255, 0.92) !important;
    font-size: clamp(15.5px, 4vw, 16.5px) !important;
    font-weight: 650 !important;
    line-height: 1.45 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22) !important;
  }

  .people-title-line,
  .people-hero h1,
  .people-brand-title,
  .people-brand-rest,
  .people-hero h2 {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }

  .people-title-line,
  .people-hero h1,
  .people-brand-title,
  .people-hero h2 {
    animation: none !important;
  }
}
