@import url("https://fonts.googleapis.com/css2?family=Red+Hat+Display:ital,wght@0,300..900;1,300..900&display=swap");

:root {
  --blue-900: #0a3a78;    /* titulos */
  --blue-500: #1aa3cf;    /* subtitulos*/
  --text-500: #7a7a7a;    /* Textos */
}

body {
  margin: 0;
  font-family: "Red Hat Display", sans-serif;
  background: #f8f9fa;
}

img {
  display: block;
  /* max-width: 100%; Eliminado para permitir anchos personalizados */
  height: auto;
}

/* Section base (usar en nuevas secciones) */
.page-section {
  position: relative;
  width: 100%;
  min-height: 60vh;
  /* Replaces aspect-ratio */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}


.cover-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 60px 20px;
  /* Reduced from 80px */
}

.brand {
  font-family: "Red Hat Display", sans-serif;
  font-size: 150px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 0.9;
  margin: 0;
}

.brand-dark {
  font-family: "Red Hat Display", sans-serif;
  color: #0a3a78;
}

.brand-light {
  font-family: "Red Hat Display", sans-serif;
  color: #1aa3cf;
}

.brand-sub {
  font-family: "Red Hat Display", sans-serif;
  font-size: 20px;
  color: #7a7a7a;
  line-height: 1.4;
}

.cover-bottom {
  margin-bottom: 40px;
}

.years {
  font-family: "Red Hat Display", sans-serif;
  font-size: 72px;
  font-weight: 800;
  color: #0a3a78;
  margin: 0 0 15px;
}

.subtitle {
  font-family: "Red Hat Display", sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: #1aa3cf;
  line-height: 1.3;
  margin: 0;
}

/* Global styles for all titles and text */
.brand-dark.title {
  font-family: "Red Hat Display", sans-serif;
  color: #0a3a78;
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 25px;
  transition: color 0.3s ease;
}

.brand-light {
  font-family: "Red Hat Display", sans-serif;
  color: #1aa3cf;
  font-size: 18px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.text-kicker {
  font-family: "Red Hat Display", sans-serif;
  color: #1aa3cf;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 20px;
  transition: color 0.3s ease;
}

.text-body-sm {
  font-family: "Red Hat Display", sans-serif;
  color: #7a7a7a;
  font-size: 18px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

.text-heading {
  font-family: "Red Hat Display", sans-serif;
  color: #0a3a78;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 25px;
  transition: color 0.3s ease;
}

.text-body {
  font-family: "Red Hat Display", sans-serif;
  color: #7a7a7a;
  font-size: 18px;
  line-height: 1.6;
  transition: color 0.3s ease;
}

/* Lista de Contenido Estilizada */
.content-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.content-list li {
  font-family: "Red Hat Display", sans-serif;
  color: #1aa3cf;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
  padding: 8px 0;
  border-left: 3px solid #1aa3cf;
  padding-left: 20px;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.content-list li:hover {
  color: #0a3a78;
  border-left-color: #0a3a78;
  transform: translateX(5px);
}

/* Lista Minimalista para Formación */
.formacion-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.formacion-list li {
  font-family: "Red Hat Display", sans-serif;
  color: #7a7a7a;
  font-size: 18px;
  line-height: 1.5;
  padding: 5px 0;
  position: relative;
  padding-left: 20px;
}

.formacion-list li::before {
  content: "•";
  color: #1aa3cf;
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Shared 16:9 sections */
.hero-16x9 {
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
}

.hero-16x9__inner {
  width: min(92%, 1320px);
  /* aspect-ratio removed */
  min-height: 500px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.col-left img {
  max-width: 520px;
  width: 100%;
  height: auto;
}

.col-right h1 {
  font-family: "Red Hat Display", sans-serif;
  font-size: 48px;
  color: #0a3a78;
  line-height: 1.1;
  margin: 0 0 25px;
}

.col-right p {
  font-family: "Red Hat Display", sans-serif;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  line-height: 1.7;
  font-size: 18px;
  color: #7a7a7a;
  /* max-width: 550px; Eliminado para no limitar imágenes */
}

/* Right visual block */
.hero-right {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

/* Left visual block (mirror) */
.hero-left {
  flex: 1;
  position: relative;
  overflow: hidden;
  min-height: 100%;
}

/* === GENERIC UTILITIES === */

/* Animaciones de barrido para secciones */
@keyframes sweepIn {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes sweepInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes sweepInUp {
  0% {
    transform: translateY(50px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Clases para activar animación */
.sweep-in {
  animation: sweepIn 0.8s ease-out forwards;
}

.sweep-in-right {
  animation: sweepInRight 0.8s ease-out forwards;
}

.sweep-in-up {
  animation: sweepInUp 0.8s ease-out forwards;
}

/* Estado inicial antes de animación */
.sweep-hidden {
  opacity: 0;
}

/* Reveal on scroll for sections */
section.section-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

section.section-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  section.section-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Layout Utilities */
.grid-3-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.gap-sm {
  gap: 14px;
}

.gap-md {
  gap: 20px;
}

.gap-lg {
  gap: 30px;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.w-100 {
  width: 100%;
}

.max-w-100 {
  max-width: 100%;
}

/* --- */

.vertical-line {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.vertical-line::before,
.vertical-line::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1.2%;
}

.vertical-line::before {
  background: var(--blue-500);
  width: 355px;
  left: 25%;
}

.vertical-line::after {
  background: var(--blue-500);
  width: 290px;
  left: 30%;
}

.hero-image-wrapper {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 800px; /* Aumentado para permitir imágenes más anchas */
  z-index: 2;
  display: flex;
  flex-direction: column;
}

.hero-left .hero-image-wrapper {
  right: auto;
  left: 0;
}

.hero-img {
  bottom: unset;
  width: auto;
  /* max-width: 100%; Eliminado para permitir anchos personalizados */
  height: auto;
}

/* Contenedor de imágenes con altura fija solo para desktop */
@media (min-width: 1025px) {
  .hero-left .hero-image-wrapper,
  .hero-right .hero-image-wrapper {
    height: 400px; /* Altura fija del contenedor solo para desktop */
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.hero-banner {
  position: absolute;
  bottom: -20px;
  left: -20px;
  right: -20px;
  width: calc(100% + 40px);
  background: #0a3a78;
  color: #ffffff;
  padding: 25px;
  font-size: 18px;
  line-height: 1.5;
  text-align: center;
  z-index: 4;
}

/* Specific banners with rounded corners */
/* Removed - all banners should be square */

.hero-banner strong {
  color: var(--blue-400);
}

/* Numbers Section */
.numbers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* Enforce 2 columns */
  gap: 40px 60px;
  width: 100%;
  margin-top: 40px;
}

.numbers-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  width: 100%;
  padding: 20px;
}

.number-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 25px;
  border: 2px solid #e9ecef;
  border-radius: 16px;
  background: #ffffff;
  transition: all 0.3s ease;
}

.number-card p {
  color: #1aa3cf; /* Color azul para el texto */
  font-family: "Red Hat Display", sans-serif;
  font-size: 18px;
  line-height: 1.6;
  margin: 0;
}

.number-card:hover {
  transform: translateY(-2px);
  border-color: #1aa3cf;
}

.number-icon {
  font-size: 64px;
  color: #1aa3cf;
  line-height: 1;
  margin-bottom: 20px; /* Espacio entre icono y texto */
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  border-radius: 50%;
}

.number-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.number-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.number-text h3 {
  font-size: 42px;
  /* Large number */
  font-weight: 800;
  color: #1aa3cf;
  /* Azul corporativo para números */
  margin: 0;
  line-height: 1;
  text-shadow: 0 2px 4px rgba(26, 163, 207, 0.1);
}

.number-text p {
  font-size: 20px;
  color: #1aa3cf;
  /* Gris para textos descriptivos */
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}


.number-text strong {
  font-weight: 800;
}


.benefits-section .hero-16x9__inner {
  display: block;
  position: relative;
  padding: 36px 54px 28px;
}

.benefits-layout {
  position: relative;
  overflow: hidden;
}

.benefits-headline {
  margin: 0;
  text-align: center;
  color: #0a3a78;
  font-size: 65px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.benefits-content {
  margin-top: 22px;
  display: grid;
  grid-template-columns: minmax(250px, 1fr) minmax(450px, 1.3fr) minmax(250px, 1fr);
  gap: 30px;
  align-items: start;
  position: relative;
  z-index: 2;
  margin-bottom: 20px;
}

.benefits-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
  justify-content: center;
}

.benefits-card {
  text-align: center;
}

.benefits-icon {
  color: #1aa3cf;
  font-size: 64px;
  line-height: 1;
  margin-bottom: 20px;
}

.benefits-card p {
  margin: 0;
  color: #7a7a7a;
  font-size: 16px;
  line-height: 1.4;
  text-align: center;
  font-weight: 400;
}

.benefits-center {
  position: relative;
  padding: 54px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefits-img {
  position: relative;
  z-index: 2;
  width: min(100%, 450px);
  border-radius: 46px 46px 0 46px;
}

.benefits-banner {
  position: absolute;
  z-index: 4;
  margin-top: -2px;
  bottom: -20px;
  left: -20px;
  right: -20px;
  width: calc(100% + 40px);
  text-align: center;
  font-size: 20px;
  line-height: 1.3;
  background: #0a3a78;
  color: #ffffff;
  padding: 20px;
}

.benefits-footer {
  margin: 50px 0 0;
  text-align: center;
  color: #0a3a78;
  font-size: 20px;
  line-height: 1.4;
  font-weight: 400;
  position: relative;
  z-index: 2;
}

.benefits-footer strong {
  color: #0a3a78;
}


/* Formacion Universitaria section */
.formacion-section .formacion-inner {
  align-items: stretch;
  
  margin: 0;
  position: relative;
  overflow: hidden;
}

.formacion-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  text-align: left;
  padding: 16px 8px 8px;
}

img[src="assets/mini-logo.png"] {
  width: 42px;
  max-width: 42px;
  height: auto;
  margin-bottom: 16px;
}

.formacion-kicker {
  margin: 0 0 18px;
  color: #1aa3cf;
  font-size: 32px;
  line-height: 1.18;
  font-weight: 500;
}

.formacion-heading {
  margin: 0 0 20px;
  color: #0a3a78;
  font-size: 42px;
  line-height: 1.08;
}

.formacion-list {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #7a7a7a;
  font-size: 20px;
  line-height: 1.35;
}

.formacion-list li {
  margin-bottom: 6px;
}

.formacion-sign {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 18px;
}

.formacion-sign img {
  width: 48px;
  height: auto;
}

.formacion-sign span {
  color: #0a3a78;
  font-size: 24px;
  font-weight: 700;
}

.formacion-visual {
  position: relative;
   /* Eliminado borde redondeado */
  overflow: hidden;
  padding: 0; /* Eliminado padding */
  display: flex;
  background: transparent; /* Eliminado fondo */
  flex-direction: column;
  justify-content: center;
}

.formacion-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 640px;
  margin: 0 auto;
  right: auto;
  bottom: auto;
  z-index: 2;
}


.contact-section {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  min-height: 100vh;
}

.contact-left {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 50px 26px;
}

.contact-inner {
  max-width: 660px;
  text-align: center;
  color: #0a3a78;
}

.contact-logo {
  width: min(72%, 580px);
  margin: 0 auto 16px;
}

.contact-social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
  font-size: 36px;
  line-height: 1;
}

.contact-social a {
  color: #1aa3cf;
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-social a:hover {
  color: #0a3a78;
  transform: translateY(-2px);
}

.contact-handle {
  margin: 8px 0 22px;
  font-size: 28px;
  line-height: 1.08;
}

.contact-address {
  margin: 0;
  font-size: 28px;
  line-height: 1.1;
}

.contact-mail {
  margin: 22px 0 0;
  font-size: 26px;
  color: #1aa3cf;
  line-height: 1.08;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-mail:hover {
  color: #0a3a78;
  text-decoration: none;
}

.contact-web {
  margin: 2px 0 0;
  font-size: 30px;
  color: #1aa3cf;
  font-weight: 700;
  line-height: 1.08;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-web:hover {
  color: #0a3a78;
  text-decoration: none;
}

.whatsapp {
  width: fit-content;
  max-width: 100%;
  margin: 14px auto 12px;
  padding: 7px 16px 7px 56px;
  border-radius: 999px;
  text-decoration: none;
  display: grid;
  place-items: center;
  position: relative;
  background: linear-gradient(115deg, #1db0de 0%, #12abe0 52%, #0ca3d8 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.whatsapp-icon-wrap {
  width: 24;
  height: 44px;
  border-radius: 50%;
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
}

.whatsapp-icon-wrap::after {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 7px;
  right: -8px;
  width: 1px;
  background: rgba(255, 255, 255, 0.75);
}

.whatsapp-icon-wrap img {
  width: 35px;
  height: auto;
  display: block;
  margin: 0 auto;
  position: relative;
  top: 1px;
  mix-blend-mode: darken;
}

.whatsapp-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.4px;
  line-height: 1;
  color: #ffffff;
  text-align: center;
}

.whatsapp:hover {
  filter: brightness(0.96);
}

.contact-inner .text-body-sm {
  color: var(--text-500);
  margin: 40px 0 0;
}

.contact-right {
  background: #00abe9;
  padding: 72px 50px 64px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  text-align: right;
}

.contact-right img {
  max-width: 100%;
  height: auto;
  
  object-fit: contain;
  width: min(95%, 640px);
}

.contact-right h2 {
  margin: 0 0 28px;
  font-size: 74px;
  line-height: 1;
}

/* Responsive */
/* Responsive */
@media (max-width: 1024px) {
  .brand {
    font-size: 42px;
  }

  .brand-sub {
    font-size: 16px;
  }

  .years {
    font-size: 48px;
  }

  .title {
    font-size: 44px;
  }

  .subtitle {
    font-size: 22px;
  }

  .cover-overlay {
    padding: 60px 20px;
  }

  .hero-16x9__inner {
    aspect-ratio: auto;
    flex-direction: column;
    padding: 50px;
    gap: 40px;
    text-align: center;
  }

  .col-right h1 {
    font-size: 30px;
  }

  .col-right p {
    max-width: 100%;
    text-align: left;
  }

  .hero-right,
  .hero-left {
    width: 100%;
    min-height: 520px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .hero-image-wrapper {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: min(98%, 860px);
    margin: 0 auto;
  }

  .hero-left .hero-image-wrapper {
    left: auto;
    right: auto;
  }

  .hero-img,
  .hero-16x9__inner img,
  .cover-hero img {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
  }

  .hero-title {
    top: -56px;
    font-size: 34px;
  }

  .numbers-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .number-card {
    grid-template-columns: 72px 1fr;
  }

  .number-icon {
    font-size: 50px;
  }

  .number-text p {
    font-size: 21px;
  }

  /* Utility Overrides */
  .text-kicker {
    font-size: 36px;
  }

  .text-heading {
    font-size: 38px;
  }

  .text-body {
    font-size: 25px;
  }

  .text-body-sm {
    font-size: 22px;
  }

  .visual-title {
    font-size: 62px;
    top: -64px !important;
  }

  .visual-title.right {
    right: 0;
  }

  .visual-title.left {
    left: 30px;
    font-size: 58px;
  }

  /* Benefits specific (kept as is) */
  .benefits-section .hero-16x9__inner {
    padding: 34px 34px 24px;
  }

  .benefits-headline {
    font-size: 54px;
  }

  .benefits-content {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .benefits-column {
    flex-direction: row;
    gap: 22px;
  }

  .benefits-card {
    flex: 1;
  }

  .benefits-icon {
    font-size: 62px;
  }

  .benefits-card p {
    font-size: 28px;
  }

  .benefits-banner {
    font-size: 30px;
  }

  .benefits-footer {
    font-size: 38px;
  }

  /* Contact specific */
  .contact-section {
    grid-template-columns: 1fr;
    min-height: auto;
    background: #f8f9fa;
  }

  .contact-left {
    padding: 38px 24px 22px;
  }

  .contact-logo {
    width: min(74%, 420px);
  }

  .contact-social {
    font-size: 44px;
  }

  .contact-handle,
  .contact-address {
    font-size: 36px;
  }

  .contact-mail {
    font-size: 34px;
  }

  .contact-web {
    font-size: 38px;
  }

  .whatsapp {
    width: fit-content;
    max-width: 100%;
    margin: 18px auto 10px;
    padding: 7px 14px 7px 52px;
  }

  .whatsapp-icon-wrap {
    width: 32px;
    height: 32px;
    left: 9px;
  }

  .whatsapp-icon-wrap img {
    width: 18px;
    margin: 0 auto;
    position: relative;
    top: 1px;
  }

  .whatsapp-text {
    font-size: 15px;
  }

  .contact-right {
    padding: 44px 24px;
  }

  .contact-right h2 {
    font-size: 52px;
  }

  .formacion-kicker {
    font-size: 28px;
  }

  .formacion-heading {
    font-size: 36px;
  }

  .formacion-list {
    font-size: 20px;
  }

  .formacion-sign span {
    font-size: 25px;
  }

  .formacion-visual {
    width: 100%;
    min-height: 0;
    padding: 22px 20px;
  }

  .formacion-image-wrapper {
    margin: 0 auto;
    max-width: 520px;
  }
}

/* Eliminada regla conflictiva de tablet - ahora usa estilos individuales */

@media (max-width: 600px) {
  .hero-right,
  .hero-left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
  }
  
  .hero-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  
  /* Eliminadas reglas conflictivas de móvil - mantener comportamiento original */

  /* Numbers cards responsive para móvil */
  .numbers-cards {
    padding: 15px;
    gap: 20px 30px;
  }

  .number-card {
    padding: 15px;
    gap: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .number-icon {
    width: 60px;
    height: 60px;
    font-size: 48px;
  }

  .number-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
  }

  .number-text h3 {
    font-size: 32px;
  }

  .number-text p {
    font-size: 14px;
  }

  .hero-img-minilogo {
    position: static;
    left: auto;
    bottom: auto;
    margin: 16px auto 0;
  }

  .page-section {
    aspect-ratio: auto;
    min-height: 80vh;
  }

  .brand {
    font-size: 32px;
  }

  .years {
    font-size: 36px;
  }

  .subtitle {
    font-size: 18px;
  }

  .hero-16x9 {
    padding: 0;
  }

  .hero-16x9__inner {
    width: 94%;
    padding: 28px;
    gap: 28px;
  }

  .hero-right,
  .hero-left {
    min-height: 420px;
  }

  .hero-title {
    position: static;
    font-size: 28px;
    margin-bottom: 14px;
    text-align: center;
  }

  .hero-banner {
    position: static;
    padding: 16px;
    font-size: 16px;
  }

  .number-card {
    grid-template-columns: 58px 1fr;
  }

  .number-icon {
    font-size: 42px;
  }

  .number-text {
    padding-left: 12px;
  }

  .number-text p {
    font-size: 18px;
    line-height: 1.1;
  }

  /* Utility Overrides */
  .text-kicker {
    font-size: 28px;
    line-height: 1.15;
  }

  .text-heading {
    font-size: 31px;
  }

  .text-body,
  .text-body-sm {
    font-size: 20px;
  }

  .visual-title {
    font-size: 46px;
    text-align: center;
    width: 100%;
    margin: 0 0 14px;
    position: static;
  }

  .visual-title.left {
    left: 0;
    top: 0;
  }

  /* Benefits specific */
  .benefits-section .hero-16x9__inner {
    padding: 24px 18px 18px;
  }

  .benefits-headline {
    font-size: 38px;
    line-height: 1;
  }

  .benefits-content {
    margin-top: 16px;
    gap: 20px;
  }

  .benefits-column {
    flex-direction: column;
    gap: 18px;
  }

  .benefits-center {
    padding-top: 20px;
  }

  .benefits-center::before,
  .benefits-center::after {
    top: 0;
    bottom: -24px;
  }

  .benefits-icon {
    font-size: 52px;
  }

  .benefits-card p {
    font-size: 24px;
  }

  .benefits-banner {
    font-size: 24px;
    padding: 14px;
  }

  .benefits-footer {
    font-size: 30px;
  }

  /* Contact specific */
  .contact-left {
    padding: 28px 18px 18px;
  }

  .contact-logo {
    width: min(84%, 320px);
  }

  .contact-social {
    font-size: 44px;
  }

  .contact-handle {
    font-size: 28px;
    margin-bottom: 14px;
  }

  .contact-address {
    font-size: 28px;
  }

  .contact-mail {
    font-size: 27px;
    margin-top: 16px;
  }

  .contact-web {
    font-size: 30px;
  }

  .whatsapp {
    width: fit-content;
    max-width: 100%;
    padding: 7px 10px 7px 42px;
  }

  .whatsapp-icon-wrap {
    width: 28px;
    height: 28px;
    left: 7px;
  }

  .whatsapp-icon-wrap img {
    width: 15px;
    margin: 0 auto;
    position: relative;
    top: 1px;
  }

  .whatsapp-text {
    font-size: 15px;
  }

  .contact-right {
    padding: 30px 16px 24px;
  }

  .contact-right h2 {
    font-size: 38px;
    margin-bottom: 18px;
  }

  .formacion-kicker {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .formacion-heading {
    font-size: 30px;
    line-height: 1.06;
    margin-bottom: 14px;
  }

  .formacion-list {
    font-size: 17px;
    line-height: 1.3;
  }

  .formacion-sign span {
    font-size: 25px;
  }

  .formacion-visual {
    padding: 16px 14px;
    border-radius: 18px;
  }

  .formacion-image-wrapper {
    max-width: 100%;
  }
}
/* Hero sections: keep side images equal height to content */
@media (min-width: 1025px) {
  .hero-16x9__inner {
    align-items: stretch;
  }

  .hero-right,
  .hero-left {
    display: flex;
    align-items: stretch;
  }

  .hero-right .hero-image-wrapper,
  .hero-left .hero-image-wrapper {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    max-width: none;
    width: 100%;
    height: auto; /* Cambiado a auto para no forzar cuadrado */
  }

  /* Eliminada regla conflictiva - ahora usa estilos individuales con !important */

  /* Imágenes en móvil - mantener proporciones */
  @media (max-width: 1024px) {
    .hero-img-quienes,
    .hero-img-numeros,
    .hero-img-alianza,
    .hero-img-sumate,
    .hero-img-capacitacion,
    .hero-img-formacion1,
    .hero-img-formacion,
    .hero-img-beneficios {
      width: 100% !important;
      height: auto !important;
      object-fit: contain !important;
      object-position: center !important;
      position: relative !important;
      left: auto !important;
      right: auto !important;
    }
  }

  .hero-16x9:nth-child(3) .hero-right .hero-image-wrapper .hero-img-quienes {
    object-fit: contain;
    object-position: center;
  }

  .hero-16x9:nth-child(3) .hero-right .hero-image-wrapper.hero-image-wrapper-center-desktop {
    left: auto;
    right: 0;
    transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

/* Alianza: text scale and color only */
.alianza-section .alianza-kicker {
  color: #1aa3cf;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
}

.alianza-section .alianza-heading {
  color: #0a3a78;
  font-size: 35px;
  font-weight: 700;
  line-height: 1.04;
}

.alianza-section .alianza-body {
  color: #7a7a7a;
  font-size: 22px;
  line-height: 1.35;
}

.alianza-section .alianza-logo-caption {
  color: #1aa3cf;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.2;
  margin: 8px 0 0;
}

@media (max-width: 1024px) {
  .alianza-section .alianza-kicker {
    font-size: 28px;
  }

  .alianza-section .alianza-heading {
    font-size: 35px;
  }

  .alianza-section .alianza-body {
    font-size: 28px;
  }

  .alianza-section .alianza-logo-caption {
    font-size: 24px;
  }
}

@media (max-width: 600px) {
  .alianza-section .alianza-kicker {
    font-size: 28px;
  }

  .alianza-section .alianza-heading {
    font-size: 36px;
  }

  .alianza-section .alianza-body {
    font-size: 20px;
  }

  .alianza-section .alianza-logo-caption {
    font-size: 20px;
  }
}

/* Specific styling for AECAUM section - sin fondos */
.hero-16x9:nth-child(7) {
  
  margin: 0;
  padding: 0;
  position: relative;
}

.hero-16x9:nth-child(7) .col-left {
  padding: 40px;
  background: transparent; /* Eliminado fondo blanco */
  
  position: relative;
  transition: transform 0.3s ease;
}

.hero-16x9:nth-child(7) .col-right {
  padding: 40px;
  background: transparent; /* Eliminado fondo blanco */
  
  position: relative;
  transition: transform 0.3s ease;
}

.hero-16x9:nth-child(7) .brand-light {
  color: #1aa3cf;
  font-size: 25px;
  line-height: 1.6;
  transition: color 0.3s ease;
}


.hero-16x9:nth-child(7) .hero-img-aecaum {
  width: 550px;
  height: 100%;
  object-fit: contain;
  
}

/* Imágenes específicas que necesitan control de tamaño */
.cover-hero img {
  max-width: 100vw; /* No más ancho que la ventana */
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.cover-hero .hero-img {
  max-width: 100vw; /* Control específico para benfe.jpg */
  width: 100%;
  height: auto;
  max-height: 90vh; /* No más alto que la ventana */
  object-fit: contain; /* Cambiado a contain para no cortar */
  object-position: center top; /* Alineada arriba para mostrar la parte superior */
}

.contact-right img {
  max-width: 100%;
  width: auto;
  height: auto;
  max-height: 90vh; /* No más alto que la ventana */
  object-fit: contain;
}

/*Imagenes*/

.hero-img-quienes {
   width: 646px !important; 
   object-fit: cover;
   position: relative; 
   right: 21px;
}

.hero-img-numeros {
  width: 640px!important; 

  object-fit: cover;
  position: relative; 
}

.hero-img-alianza {
  width: 635px !important;  
  object-fit: cover;
  object-position: center;
  position: relative;
  right: 13px;  
}

.hero-img-sumate {
  width: 650px !important;  
  object-fit: cover;
  object-position: center;  
  position: relative;
  right: 12px;
}

.hero-img-capacitacion {
  width: 640px !important;  
  object-fit: cover;
  object-position: center; 
  position: relative;
  left: 6px;  
}

.hero-img-formacion1 {
  width: 655px !important;  
  object-fit: cover;
  object-position: center;
  position: relative;
  right: 16px;
}

.hero-img-formacion {
  width: 637px !important;
  object-fit: cover;
  object-position: center;
  position: relative;
  right: 7px;  
}

.hero-img-beneficios {
  width: 635px !important;
  object-fit: cover;
  object-position: center;
  position: relative;
  right: inherit;
}

/* Estilos para la sección beneficios-kicker */
.beneficios-kicker {
  text-align: center;
  padding: 30px 20px; 
  background: #f8f9fa;
}

.beneficios-kicker h1 {
  color: #0a3a78; 
  font-family: "Red Hat Display", sans-serif;
  font-size: 60px; 
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 25px;
  text-align: center; 
}

.beneficios-kicker h2 {
  color: #0a3a78; 
  font-family: "Red Hat Display", sans-serif;
  font-size: 30px; 
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 25px;
  text-align: center; 
}
